Commit Graph

146 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
94b029dc9c
cache: fix error 500 with new django version 2020-06-12 20:44:37 +02:00
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
Sli
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
25225fc451
com: fix error when editing poster while being admin 2019-10-09 17:43:23 +02:00
99c8d95443
django2.2: remove direct assignments to many-to-many fields 2019-10-08 22:46:37 +02:00
3cb306bc91
django2.2: add on_delete on migrations for ForeignKey 2019-10-08 22:46:03 +02:00
12b6f0d488
django2.2: adapt DateTimeField in forms with the new API 2019-10-08 22:46:02 +02:00
4dadb1dbc0
django2.2: add default mandatory on_delete on all ForeignKey 2019-10-08 22:46:01 +02:00
2616e8b24c
django2.2: relpace django.core.urlresolvers by django.urls 2019-10-08 22:46:01 +02:00
be855c6c90
django2.2: migrate url to re_path 2019-10-08 22:46:01 +02:00
775413ac7e
documentation: weekmail documentation 2019-10-07 23:58:04 +02:00
2da0560ec8
com: fix error 500 when editing poster with com admin 2019-10-02 15:32:33 +02:00
9181e77d55
core: add some cache on birthdays and counters_activity 2019-09-09 01:20:15 +02:00
d7a7613807
com: add basics tests for ComAlert and ComInfo to detect regressions on tabs 2019-08-29 17:29:38 +02:00
3fc8688941
com/core: remove links to index edition that caused error 500 2019-08-29 17:23:27 +02:00
Sli
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
66d5c71a92
com: add weekmail banner and footer for A19 2019-08-27 18:56:43 +02:00
dc800b59f4 com: use MarkdownInput for alert_msg, info_msg and index_page editing 2018-12-20 15:13:59 +01:00
24dd258d0a com: use MarkdownInput on news 2018-12-20 15:09:44 +01:00
d2021ecf7e com: use MarkdownInput for weekmail 2018-12-20 15:06:20 +01:00
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
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
cbd333eb47
Changed default display time for posters and permissions on it 2018-03-18 22:28:25 +01:00
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
72d2862e3e
Posters now working + notifications for com admin 2017-12-16 20:48:36 +01:00
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
3994a58a2f Add search form in admin 2017-10-11 00:01:24 +02:00
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
56b5fa733b Small fixes on news 2017-09-18 16:28:11 +02:00
a89109b4e8 Add translations and small fix 2017-09-17 15:04:30 +02:00
d888a6b68a Add Twitter button 2017-09-12 19:20:12 +02:00
a40c48a792 Add facebook button 2017-09-12 19:04:37 +02:00
Skia
0184b9c29b core, com: make permanent notifications for news to moderate
This needs to be made for other stuff, like the SAS or the files...

Signed-off-by: Skia <skia@libskia.so>
2017-09-06 13:17:23 +02:00
Skia
4c1b231ec9 com: add NewsDeleteView
Signed-off-by: Skia <skia@libskia.so>
2017-09-06 12:47:21 +02:00
Skia
6456d18fc4 core, com: tool bar and agenda design updates
Signed-off-by: Skia <skia@libskia.so>
2017-09-03 19:05:45 +02:00
Skia
6bad524ede com: fix news edit display
Signed-off-by: Skia <skia@libskia.so>
2017-09-03 18:12:52 +02:00
Skia
896007aedd com: fix news display
Signed-off-by: Skia <skia@libskia.so>
2017-09-03 18:10:59 +02:00
Skia
4ca3aebc77 core: improve alert and info boxes
Signed-off-by: Skia <skia@libskia.so>
2017-09-02 02:06:22 +02:00
Skia
4edb9a78c6 com: add agenda on news page
Signed-off-by: Skia <skia@libskia.so>
2017-09-01 12:22:38 +02:00
4f6109e27c Refactor mailings email 2017-08-22 22:39:12 +02:00
470680e760 Add moderation for mailing lists 2017-08-22 15:36:39 +02:00
ce9e17ea24 Some mailing list fixs 2017-08-22 15:36:39 +02:00
9e5159152a Little right fix 2017-08-22 15:36:39 +02:00
76efb91e40 Move mailing list admin to com 2017-08-22 15:36:39 +02:00
Skia
83b00450eb com: improve news admin view
Signed-off-by: Skia <skia@libskia.so>
2017-08-16 15:37:35 +02:00
4f4ea5dde9 Format com 2017-06-13 09:48:24 +02:00
Skia
ca047d9655 Damn, I broke the tests!
Signed-off-by: Skia <skia@libskia.so>
2017-06-10 20:28:01 +02:00
Skia
2f5bd7d2ef Fix Weekmail article creation view's rights 2017-05-17 10:56:38 +02:00
Skia
0a84ef8438 Allow to unmoderate news 2017-05-13 18:32:13 +02:00
7cb9ea40ac Anonymous users can't edit weekmail 2017-05-06 20:48:48 +02:00
635702b58f color to hexa and change email for weekmail 2017-05-05 15:28:53 +02:00
d7305488b6 Add new banner 2017-04-28 13:59:10 +02:00
7815796d8b New css for weekmail 2017-04-27 15:31:18 +02:00
Skia
83deae5964 Apply GPLv3 to Sith, and add header to every concerned file 2017-04-24 17:51:12 +02:00
Skia
6a815e5a21 Small news improvement and bug fixes 2017-04-12 21:08:51 +02:00
Skia
50413abf76 Fix a weekmail deleteview, and make some translate fix 2017-03-27 15:16:01 +02:00
Skia
3cf1628435 Fix weekmail new article link 2017-03-24 14:01:05 +01:00
Skia
39b32d456c Some com templates improvments and reordering some models 2017-03-24 09:19:15 +01:00
Skia
a56d3a3088 Add a help_text to Weekmail edit form 2017-03-12 18:13:04 +01:00
Skia
4954c610f8 Add basic rights to weekmail 2017-01-15 23:09:30 +01:00
Skia
ae0b7699f3 Finish weekmail, and fix preferences page 2017-01-15 23:02:03 +01:00
Skia
147809bb5d Some great weekmail improvements 2017-01-15 22:58:38 +01:00
Skia
83555a3640 Add preferences and improve weekmail 2017-01-15 22:58:38 +01:00
Skia
d988c09315 Almost finish the weekmail 2017-01-15 22:58:38 +01:00
Skia
176b1bf588 Fix QuickNotifMixin 2017-01-15 22:58:37 +01:00
Skia
097d238962 Improve weekmail 2017-01-15 22:58:37 +01:00
Skia
9d1eaed625 Make some weekmail views 2017-01-15 22:58:37 +01:00
Skia
8bd8191030 WIP: first Weekmail models 2017-01-15 22:58:37 +01:00
Skia
df7b0a5ffe Clean migrations for news system 2016-12-24 02:12:46 +01:00
Skia
b79c77f268 Add notification with a fresh new 2016-12-23 20:11:27 +01:00
Skia
be44a3ab0b Add preview button to news 2016-12-23 19:43:59 +01:00
Skia
1dc1a0a42c Add news moderation tool 2016-12-23 18:40:37 +01:00
Skia
c95e7565e7 Make news translations 2016-12-23 03:17:38 +01:00
Skia
1ca6bf7c62 Add news system, still miss nices templates and moderation tools 2016-12-23 03:02:46 +01:00
Skia
168622a04d Add com app with first parametric texts 2016-12-21 02:38:21 +01:00