1234 Commits

Author SHA1 Message Date
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
1032f41001 Payment/PayPal: Use case-insensitive business check 2021-05-28 19:59:16 +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
96b4a36480 Citadel: Only warn when deleting non-existent item 2021-05-27 19:29:35 +02:00
Adrian Moennich
a9055b9657 Citadel: Delete records marked as deleted+updated 2021-05-27 18:28:34 +02:00
Adrian Moennich
fd5510eb02 LiveSync: Add missing deleted check when cascading 2021-05-27 18:26:47 +02:00
Adrian Moennich
b4804e08ea Use more modern dict composition syntax 2021-05-27 11:01:52 +02:00
Adrian Moennich
fea862cc3a Citadel: Use better repr in id mapping model 2021-05-27 10:29:58 +02:00
Adrian Moennich
750483bdd2 LiveSync: There are no JS strings 2021-05-26 18:27:23 +02:00
Adrian Moennich
8b99ff0c19 Remove obsolete vidyo transifex config 2021-05-26 18:24:06 +02:00
Indico Team
af13760a01 Update *.pot files 2021-05-26 18:07:38 +02:00
Adrian Moennich
c9700cfc67 Themes/Legacy: Add i18n context 2021-05-26 17:56:56 +02:00
Adrian Moennich
3460094b21 Themes/Legacy: Configure transifex 2021-05-26 17:55:30 +02:00
Adrian Moennich
ea844c8983 Citadel: Configure transifex 2021-05-26 17:40:00 +02:00
Adrian Moennich
77f1ac3c5b Citadel: Add retry option to file upload CLI 2021-05-26 09:26:18 +02:00
Adrian Moennich
3061b2f95d LiveSync: Fix category attachment deletion 2021-05-25 11:19:01 +02:00
Adrian Moennich
920ce3f47c LiveSync: Don't cascade categ prot changes to deleted events 2021-05-24 22:58:54 +02:00
Adrian Moennich
7f4adda35f VC/Zoom: Fix UndefinedError 2021-05-24 18:45:53 +02:00
Adrian Moennich
5a66aa4c29 URSH: Fix more UndefinedErrors 2021-05-24 18:41:28 +02:00
Adrian Moennich
2936e44e6c URSH: Fix trans usage 2021-05-24 17:51:16 +02:00
Adrian Moennich
f0078ee06f Revert "LiveSync: Fix error when changing attachment protection"
This reverts commit eae133e9021252868b105f8124b2a66558442f46.

Made obsolete by indico/indico@7a4248ab8c
2021-05-24 14:27:48 +02:00
Adrian Moennich
eae133e902 LiveSync: Fix error when changing attachment protection 2021-05-24 14:09:02 +02:00
Adrian Moennich
6b409df375 LiveSync: Add missing deleted checks
This resulted in cascades to affect deleted attachments linked to an
event and thus failing runs e.g. after a protection change if it
cascaded to an already-deleted attachment.

Also added a check I forgot in #135
2021-05-24 14:06:38 +02:00
Adrian Moennich
ed3eb176d4 Citadel: Use new search backend active check
And more important, do not access the DB during app initialization
2021-05-24 13:42:46 +02:00
Adrian Moennich
aa0389567b LiveSync: Fix cascading of deletions after cloning
See the docstring on the corresponding test for a detailed description
of the issue this fixes.
2021-05-24 13:30:03 +02:00
Adrian Moennich
3b94438204 LiveSync: Add retry option to initial export 2021-05-21 18:07:00 +02:00
Adrian Moennich
d24f5034f3 Citadel: Tune retry config 2021-05-21 18:06:45 +02:00
Adrian Moennich
ca2e860415 Citadel: Make thread counts configurable 2021-05-20 11:18:35 +02:00
Adrian Moennich
3ef0b988ba Citadel: Disable search while not configured 2021-05-18 20:22:44 +02:00
Adrian Moennich
707d96a9b5 Citadel: Add more detailed tests 2021-05-18 17:41:42 +02:00
Adrian Moennich
f1a0da71e0 Citadel: Fix range aggregations 2021-05-18 17:41:39 +02:00
Pedro Lourenço
967e146344 Citadel: Add test for aggregation flattening 2021-05-18 12:27:19 +01:00
Pedro Lourenço
76d4c0562a Citadel: Flatten the most common aggregations 2021-05-18 12:23:15 +01:00
Pedro Lourenço
a1dc1f94c9 Citadel: Rename best match sorting to most relevant 2021-05-18 12:23:11 +01:00
Adrian Moennich
40b1a0b60a Citadel: Move get_user_access to plugin 2021-05-18 12:39:56 +02:00
Adrian Moennich
8a790bb42d Citadel: Add option to disable search provider 2021-05-18 12:34:35 +02:00
Adrian Moennich
867e15b57c Storage/S3: Fix bucket API 2021-05-18 12:25:33 +02:00
Adrian Moennich
98067e6b9f Piwik: Fix UndefinedError 2021-05-17 21:55:35 +02:00
Adrian Moennich
57ed55b731 Citadel: Do not send 'notes/minutes' in note title 2021-05-17 11:20:02 +02:00
Adrian Moennich
069b26949c Storage/S3: Fix dynamic bucket hashing
Also run the s3 plugin tests in CI...
2021-05-14 12:39:46 +02:00
Adrian Moennich
d768f71767 Citadel: Update schemas
Co-authored-by: Pedro Lourenço <pedro.lourenco@cern.ch>
2021-05-12 19:13:44 +02:00
Adrian Moennich
145b3f15c5 Citadel: Allow filtering by event id 2021-05-12 18:27:12 +02:00
Adrian Moennich
514dc6bc50 VC/Zoom: Fix ESLint errors 2021-05-12 11:48:30 +02:00
Adrian Moennich
d51564b2ad npm audit fix 2021-05-12 11:31:24 +02:00
dependabot[bot]
602ae41155 Bump hosted-git-info from 2.8.8 to 2.8.9
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-11 18:13:47 +02:00