4cbebb9c5a
Connect events with profiles instead of local users
2018-07-09 13:05:26 +02:00
c7457f6ed1
Add the event_uuid field to the Event model
2018-07-09 13:05:26 +02:00
1c2635045b
Make User.profile a single object instead of a list
...
Because it’s a one-to-one relationship anyway, what’s the use of lists here?
2018-07-09 13:05:26 +02:00
2136546390
Add a __repr__ method to the Profile method
2018-07-09 10:12:14 +02:00
d14d32767c
Make PyLint happy with the models code
2018-07-09 08:15:40 +02:00
531faa1ce7
Add PyLint as a development dependency
...
Use `pylint calsocial` to run the static analysis.
2018-07-09 08:15:40 +02:00
5283599da2
Create the Profile model
...
It is capable of holding both local and remote profiles
2018-07-09 08:15:40 +02:00
2b8e976543
AuditLog model
2018-07-08 23:00:58 +02:00
943021e152
Add the timezone property to app
...
It will make it easier to get a default time zone.
2018-07-08 22:32:41 +02:00
d07e34a182
Display event timestamps in the current user’s time zone
2018-07-03 12:11:38 +02:00
8a7772917c
Add the User.timezone property
...
It either queries the user’s `timezone` setting, uses the app’s default time zone (stored in the
`DEFAULT_TIMEZONE` configuration key), or uses UTC as a final fallback.
2018-07-03 12:11:38 +02:00
60aab91c08
User settings
2018-07-03 12:09:44 +02:00
3cf2c15d3d
[Refactor] Refactor Event.__as_tz() so it accepts a timezone
...
Until now it could only convert to the event’s timezone
2018-07-03 12:09:44 +02:00
2f66fdb83e
[Docs] Add/update docstrings and license text in every file
2018-07-03 09:52:25 +02:00
6e0d50552d
[Code Cleanup] Remove an unused import
2018-07-03 09:52:19 +02:00
8a46f3c66a
Add proper time zone support
...
Until now event timestamps were saved in the server’s time zone. Now they are saved in UTC,
considering the time zone set by the creator of the event.
2018-07-02 17:32:06 +02:00
7846d9017d
[Refactor] Rename the app module to calsocial
...
Just for clarity
2018-07-02 10:41:32 +02:00