1249 Commits

Author SHA1 Message Date
Adrian Moennich
98c7bd0865 Update README (use markdown, remove travis) 2021-06-18 17:29:16 +02:00
dependabot[bot]
d22eb6b073 Bump postcss from 7.0.35 to 7.0.36
Bumps [postcss](https://github.com/postcss/postcss) from 7.0.35 to 7.0.36.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/7.0.35...7.0.36)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-18 17:11:58 +02:00
Adrian Moennich
b063e00955 Move search export schems back to the indico core 2021-06-18 14:08:32 +02:00
dependabot[bot]
73fb546895 Bump glob-parent from 5.1.1 to 5.1.2
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-10 10:39:55 +02:00
dependabot[bot]
e13ed4108d Bump trim-newlines from 3.0.0 to 3.0.1
Bumps [trim-newlines](https://github.com/sindresorhus/trim-newlines) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/sindresorhus/trim-newlines/releases)
- [Commits](https://github.com/sindresorhus/trim-newlines/commits)

---
updated-dependencies:
- dependency-name: trim-newlines
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-10 10:34:40 +02:00
Adrian Moennich
e7b5a8df56 Citadel: Fix another typo 🙈 2021-06-09 15:02:32 +02:00
Adrian Moennich
6f022b9f15 Citadel: Fix typo
closes #144
2021-06-09 14:19:17 +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
Javier Ferrer
8f2d8114a3
Citadel: Add allow_admin parameter (#139) 2021-06-04 15:36:11 +00:00
Adrian Moennich
617879e5de Citadel: Retry on 409 Conflict 2021-06-04 11:03:35 +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
787afea576 Citadel: Do not use separate retry configs 2021-06-02 20:01:42 +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
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