246 Commits

Author SHA1 Message Date
Adrian Moennich
294965d8d9 Require non-dev 3.2.6 2023-07-20 21:22:42 +02:00
Indico Team
b5366a2c53 Update translations 2023-07-14 18:17:19 +02:00
Adrian Moennich
cca1cbba51 Bump plugin versions for Python 3.11 support 2023-07-14 18:17:19 +02:00
Adrian Moennich
ca7336a98b Support Python 3.11 and use it in CI runs 2023-07-05 15:28:14 +02:00
Adrian Moennich
93af9bfc14 Bump versions 2023-07-05 15:13:24 +02:00
Adrian Moennich
18d9a3ee79 Adapt to IndicoEnum changes 2023-07-05 14:31:52 +02:00
Indico Team
8e5bbfb2d4 Happy new year 2023 🎆 2023-01-08 17:37:48 +01:00
Adrian Moennich
4e3b08dca8 Fix tests (flask deprecation warning) 2022-09-30 19:20:43 +02:00
andriish
50b17ea52b
Add Python::3.10 classifier (#188)
Co-authored-by: Andrii Verbytskyi <andriish@pcatlas18.mpp.mpg.de>
2022-09-30 17:37:09 +02:00
Adrian Moennich
043128bcd6 Release 3.2 2022-08-25 00:56:23 +02:00
Indico Team
bcb6628fcc Update translations 2022-08-24 23:58:52 +02:00
Indico Team
35eaa29b3b Update *.pot files 2022-08-24 12:11:59 +02:00
Adrian Moennich
170c1fac76 Declare compatibility with 3.10 2022-06-16 17:43:06 +02:00
Adrian Moennich
4e36eb346b Adapt to python dependency updates 2022-06-14 13:05:32 +02:00
Adrian Moennich
187a8bd7f8 LiveSync: Adapt to 3.2 2022-05-31 17:08:59 +02:00
Adrian Moennich
5b0b37e938 Release 3.1 2022-01-11 12:54:30 +01:00
Indico Team
7276ea793e Happy new year 2022 🎆 2022-01-05 11:41:25 +01:00
Adrian Moennich
a7857b2559 Revert "Fix DeprecationWarning breaking tests"
This reverts commit 742d5acd262ef94ea559dc3b0421e26f02922b9a.

Shouldn't be needed anymore due to indico/indico#5173
2021-11-23 13:23:29 +01:00
Adrian Moennich
f7b433a6a1 Merge branch '3.0.x' 2021-11-16 12:56:24 +01:00
Adrian Moennich
742d5acd26 Fix DeprecationWarning breaking tests
Celery is using an invalid legacy version specifier (celery/celery#7074)
2021-11-16 12:51:17 +01:00
Adrian Moennich
7a42996594 Adapt to WTForms 3 2021-11-10 17:43:49 +01:00
Adrian Moennich
bb2b25a23f Fix coverage warning 2021-10-27 14:35:39 +02:00
Javier Ferrer
cf8cd5eb41
LiveSync: Correctly handle unlisted events (#156) 2021-09-24 13:44:54 +00:00
Adrian Moennich
dfe8f2c60b LiveSync: Add enqueue cli 2021-07-28 11:22:36 +02:00
Adrian Moennich
1ceca9a86b LiveSync: Fix incorrect CLI docstrings 2021-07-28 11:22:36 +02:00
Adrian Moennich
cb4a119939 Release 3.0 2021-07-16 12:07:36 +02:00
Adrian Moennich
3b9652ba9a Update core signals imports
see indico/indico#5007
2021-07-13 14:02:44 +02:00
Adrian Moennich
6397e2ea39 Release 3.0rc2 2021-07-09 13:16:54 +02:00
Indico Team
8f0a5f2bd4 Update translations 🎏 2021-07-09 13:16:37 +02:00
Adrian Moennich
ab77c69b5f Exclude Python 3.10 in python_requires 2021-07-09 12:01:12 +02:00
Adrian Moennich
075250fb40 Add README files to all plugins 2021-06-28 17:33:08 +02:00
Indico Team
0387f00deb Update French translation 🇫🇷 🥖 2021-06-28 10:06:30 +02:00
Adrian Moennich
79481aed27 Release 3.0rc1 2021-06-25 23:17:21 +02:00
Adrian Moennich
baf7252b9d LiveSync: Correctly register timetable entry changes
Triggering a change for the event is useless, but in case of scheduling
or unscheduling contributions (in conferences) we need to record this
change in order to update their time.
2021-06-25 18:11:33 +02:00
Adrian Moennich
21d0b76cba LiveSync: Do not create changes for parent objects
Those are not necessary, since any time a creation touches a parent
object (e.g. new timetable entry extending the event duration) we
already trigger an explicit change for that anyway; and in any other
case the parent change is not needed.
2021-06-25 18:11:33 +02:00
Adrian Moennich
e37eff0f93 LiveSync: Apply excluded categories to subcategories 2021-06-25 11:29:50 +02:00
Adrian Moennich
b063e00955 Move search export schems back to the indico core 2021-06-18 14:08:32 +02:00
Adrian Moennich
13225a548a LiveSync: Correctly handling cat blacklist during moves
Delete events from search when moving to a blacklisted category, and
create then when moving out of such a category.
2021-06-08 19:02:49 +02:00
Adrian Moennich
260454a04b LiveSync: Do not cascade to events in blacklisted cats 2021-06-03 14:32:16 +02:00
Adrian Moennich
6d1303c761 LiveSync: Allow overriding disabled cat runs on the CLI 2021-06-03 14:32:07 +02:00
Adrian Moennich
5fac9e5d94 LiveSync: Add setting to disable category runs 2021-06-03 13:31:01 +02:00
Adrian Moennich
5a9f9b7661 LiveSync: Track undeletions/restores 2021-06-03 11:28:57 +02:00
Adrian Moennich
940cd5a1f9 LiveSync: Allow manual queue runs even if queue runs disabled
The setting actually mentions scheduled queue runs, any being able to
run the queue manually is pretty convenient.
2021-06-02 20:00:13 +02:00
Adrian Moennich
12b63167d2 LiveSync: Add missing db fixture 2021-06-02 17:42:46 +02:00
Adrian Moennich
981368fc57 LiveSync: Make livesync_queue_entries rels more consistent
Most were lazy='dynamic' except for these two
2021-06-02 17:28:48 +02:00
Adrian Moennich
7e31fda28b LiveSync: Move export schema tests inside tests/ 2021-06-02 17:22:29 +02:00
Adrian Moennich
a5595615a4 LiveSync: Use efficient queries in queue runs
While simplify is still very spammy in case of large queues, at least
the actual data dumping for the export itself no longer spams queries.
This is especially crucial in the Citadel plugin where we have massive
parallelism which can easily exhaust the DB connection pool if we get
queries there.

For the same reason, the citadel ID mapping is now queried eagerly
so we don't need to try creating and then delete+update if we realize
there's already an existing citadel mapping, as we can simply check
before even sending something and then convert the creation to an
update.
2021-05-28 11:28:54 +02:00
Adrian Moennich
22d5dc00a7 LiveSync: Show progress when running queue from CLI 2021-05-27 19:39:02 +02:00
Adrian Moennich
25af285d6e LiveSync: Remove chunking 2021-05-27 19:30:18 +02:00
Adrian Moennich
fd5510eb02 LiveSync: Add missing deleted check when cascading 2021-05-27 18:26:47 +02:00