Commit Graph

96 Commits

Author SHA1 Message Date
Skia 89979dbf61 com: news list: fix UI for admins 2021-10-03 19:08:14 +02:00
Skia 39bb490257 com: fix weekmail for the case of non-existing email addresses
If an email address is set as destination for the Weekmail, the SMTP may
refuse it, and `smtplib` will throw a `SMTPRecipientsRefused` error,
containing the list of refused addresses. This commit provides an
interface for the weekmail sender to quickly unsubscribe the faulty
users, so that the next try sending the weekmail can be performed
successfully.
2021-10-03 18:16:51 +02:00
Skia 1b688a8aa5 Add a first version of a mobile friendly UI
Although not perfect and with many flaws, this should still allow far
easier navigation on mobile devices.
2021-10-01 18:44:14 +02:00
Cyl 61a40c47d2 [com]: add helper_text for resolution and format of poster 2021-09-29 16:09:05 +02:00
tleb 49a0ade315 core: create TzAwareDateTimeField to replace forms.DateTimeField 2021-09-29 15:24:06 +02:00
Skia a3158253a7 Black update 2021-09-26 13:58:39 +02:00
Skia 64d0cc2fa8 counter: don't display info boxes and navigation menu
This will lighten the pages and make the functionality directly
accessible without ever scrolling the header garbage that is never
needed on those pages.
2021-09-26 13:58:39 +02:00
Antoine Bartuccio 94b029dc9c
cache: fix error 500 with new django version 2020-06-12 20:44:37 +02:00
Antoine Bartuccio 6a153719f9
com: fix 500 error when utbm mail server refuse weekmail 2019-11-25 13:30:47 +01:00
tleb 60c9498a56 Fix 500 on news creation/edition 2019-10-17 10:25:29 +02:00
Antoine Bartuccio 660a3161f5 Merge branch 'new_django' into 'master'
upgrade to django 2.2

See merge request ae/Sith!243
2019-10-12 23:19:26 +02:00
Antoine Bartuccio 25225fc451
com: fix error when editing poster while being admin 2019-10-09 17:43:23 +02:00
Antoine Bartuccio 99c8d95443
django2.2: remove direct assignments to many-to-many fields 2019-10-08 22:46:37 +02:00
Antoine Bartuccio 3cb306bc91
django2.2: add on_delete on migrations for ForeignKey 2019-10-08 22:46:03 +02:00
Antoine Bartuccio 12b6f0d488
django2.2: adapt DateTimeField in forms with the new API 2019-10-08 22:46:02 +02:00
Antoine Bartuccio 4dadb1dbc0
django2.2: add default mandatory on_delete on all ForeignKey 2019-10-08 22:46:01 +02:00
Antoine Bartuccio 2616e8b24c
django2.2: relpace django.core.urlresolvers by django.urls 2019-10-08 22:46:01 +02:00
Antoine Bartuccio be855c6c90
django2.2: migrate url to re_path 2019-10-08 22:46:01 +02:00
Antoine Bartuccio 775413ac7e
documentation: weekmail documentation 2019-10-07 23:58:04 +02:00
Antoine Bartuccio 2da0560ec8
com: fix error 500 when editing poster with com admin 2019-10-02 15:32:33 +02:00
Antoine Bartuccio 9181e77d55
core: add some cache on birthdays and counters_activity 2019-09-09 01:20:15 +02:00
Antoine Bartuccio d7a7613807
com: add basics tests for ComAlert and ComInfo to detect regressions on tabs 2019-08-29 17:29:38 +02:00
Antoine Bartuccio 3fc8688941
com/core: remove links to index edition that caused error 500 2019-08-29 17:23:27 +02:00
Antoine Bartuccio d7b351a1aa Merge branch 'cyl' into 'master'
[COM] Make the news visible for non-authenticated user and birthday visible for subriber only

See merge request ae/Sith!225
2019-08-29 15:07:08 +02:00
Cyl 9e0c4e70d4 [COM] Make the news visible for non-authenticated user and birthday visible for subriber only 2019-08-28 20:40:31 +02:00
Antoine Bartuccio 66d5c71a92
com: add weekmail banner and footer for A19 2019-08-27 18:56:43 +02:00
Antoine Bartuccio dc800b59f4 com: use MarkdownInput for alert_msg, info_msg and index_page editing 2018-12-20 15:13:59 +01:00
Antoine Bartuccio 24dd258d0a com: use MarkdownInput on news 2018-12-20 15:09:44 +01:00
Antoine Bartuccio d2021ecf7e com: use MarkdownInput for weekmail 2018-12-20 15:06:20 +01:00
Antoine Bartuccio cb58b00b6e
All: Apply Black coding rules 2018-10-05 21:52:55 +02:00
Skia be36b7f38a com: fix birthdays query 2018-09-19 11:37:16 +02:00
Antoine Bartuccio afa9bd8735
Fix Poster form 2018-04-26 14:48:29 +02:00
Soldat a84d54accb Change weekmail images and colors 2018-03-26 09:57:40 +02:00
Antoine Bartuccio cbd333eb47
Changed default display time for posters and permissions on it 2018-03-18 22:28:25 +01:00
Antoine Bartuccio 43b4579a98
Fix datetime forms for posters 2017-12-22 12:53:43 +01:00
gnikwo 22e277d4f7
merged migrations 2017-12-21 16:15:11 +01:00
gnikwo 903f07ecbd
Added screen list on poster + Added unmoderated poster artefact + discussions fixes 2017-12-21 12:25:07 +01:00
Antoine Bartuccio 72d2862e3e
Posters now working + notifications for com admin 2017-12-16 20:48:36 +01:00
Antoine Bartuccio cc99cecaa0
Fix tab mixin on clubs 2017-12-05 15:53:36 +01:00
gnikwo 91d3e9e4dc
Delete function + club tabs 2017-12-05 15:24:46 +01:00
gnikwo 88d68ea510
Ready for review 2017-11-28 15:12:25 +01:00
gnikwo 5cd031f579
Ready for review 2017-11-28 15:12:25 +01:00
gnikwo 21b24f2891
Club views and discussions fixes 2017-11-28 15:12:04 +01:00
gnikwo 693c3ed27e
Moved club field + migrations 2017-11-28 15:09:21 +01:00
gnikwo 8d1c648032
Communication screen - without club tool 2017-11-28 15:09:05 +01:00
Pierre Brunet 3994a58a2f Add search form in admin 2017-10-11 00:01:24 +02:00
Pierre Brunet 3089b484d3 Enhanced news 2017-10-02 14:29:36 +02:00
Skia b87990e3db com: add birthdays block
Signed-off-by: Skia <skia@libskia.so>
2017-09-26 13:45:40 +02:00
Skia cda89d66cd com: improve news page
Signed-off-by: Skia <skia@libskia.so>
2017-09-26 12:13:23 +02:00
Pierre Brunet 56b5fa733b Small fixes on news 2017-09-18 16:28:11 +02:00