Commit graph

69062 commits

Author SHA1 Message Date
Côme Chilliet
a0808111b4
Add unique index for user_ldap group memberships
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:37 +02:00
Côme Chilliet
b8a0954f55
Fix check-group --update for deleted groups
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:37 +02:00
Côme Chilliet
5425f7d3bd
Use BIGINT for new table id field
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:36 +02:00
Côme Chilliet
7732de75ee
Removed GroupCreatedEvent/GroupDeletedEvent from UpdateGroupsService
This should be handled when mapping groups, not when registering their
 members. An empty group may still exist.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:36 +02:00
Côme Chilliet
ad1e487f67
Dispatch UserRemovedEvents for removed groups
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:35 +02:00
Côme Chilliet
c33c40f677
[user_ldap] Small perf improvements suggestion from review
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:35 +02:00
Côme Chilliet
1026b2131c
Fix check-group command for new groups
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:34 +02:00
Côme Chilliet
42448c0d78
Fix getKnownGroups return value
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:34 +02:00
Côme Chilliet
7a14aa748e
Add output to check-group --update command
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:34 +02:00
Côme Chilliet
ce5a4e5b66
Always empty cache before updating a group
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:34 +02:00
Côme Chilliet
1b102ca9b3
Fix errors in UpdateGroupsService.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:33 +02:00
Côme Chilliet
ec13f22ae3
Add missing primary key for ldap_group_membership
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:33 +02:00
Côme Chilliet
f9ed48eab9
Add check-group command
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:33 +02:00
Côme Chilliet
2c19aac9e1
Move UpdateGroups methods to a service
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:33 +02:00
Côme Chilliet
34fa4138fb
Add group events to UpdateGroups
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:32 +02:00
Côme Chilliet
d9b368062e
Update autoloader mapping for user_ldap
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:32 +02:00
Côme Chilliet
d8142b6a5a
Refactor user_ldap group membership to use flat DB
Move away from serialized arrays. Also use a QBMapper class for the new table.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-08-10 10:57:25 +02:00
Simon L
ca4c993ca3
Merge pull request #39778 from nextcloud/acceptance-test-files
test: remove broken steps from files acceptance test
2023-08-10 08:45:03 +02:00
Nextcloud bot
9fda40f92a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-08-10 00:26:45 +00:00
Pytal
7c7a3be566
Merge pull request #39685 from nextcloud/feat/integrate-files-reminders 2023-08-09 12:16:46 -07:00
Daniel Kesselberg
d56e2aad74 test: remove broken steps from files acceptance test
The acceptance tests using the recent view fail since the vue migration.

`And I open the details view for "welcome.txt"`

Is looking for a row in the filelist with a span having the class nametext, matching the file name "welcome.txt" and button inside having the class action-menu.

The markup for the files list looks very different after the vue migration and therefor the test is failing.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-09 20:58:29 +02:00
Christopher Ng
1d2ec6bb0b chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:45:02 -07:00
Christopher Ng
9d43583b47 enh: set later today to 6pm
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng
86db2d7f15 enh: pass params in subject
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng
38e4ba211d chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng
ffd68a80fc enh: move to 8am
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng
ce3119ef07 enh: en dash
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng
597abe0a1e feat: custom date & time
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng
d086fe38cc enh: remove icons
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng
dbe8ba2b1d refactor: format options
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng
893da9c395 enh: use alarm icon
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng
0b15feec7f fix: remove non-existing reminder notification
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng
89692cf8a1 fix: load script
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng
683041cdb8 fix: eslint
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng
18fb955a41 enh: add clean up buffer
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng
7af30fcf87 feat(files_reminders): v1.0.0
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng
7a4c200db3 fix: composer
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng
d1367ec779 enh: use vue-material-design-icons
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng
41856fb8ca fix: indent with tabs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng
440959a014 enh: shorten date string if same day
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng
c2dfc42899 enh: rename to saturday sunday
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng
07c0f7e25b enh: later today 3 hours later
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng
5e4881b90c feat(files_reminders): add set reminder actions
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng
419bea67dd feat(files_reminders): add verbose date string util
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng
10a921ea33 fix: prevent sidebar from opening
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng
10b0d6737e feat(files_reminders): mount set reminder actions
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng
fdfdb2ac3b feat(files_reminders): add types
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng
2089fbaf82 feat(files_reminders): add webpack module
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:18 -07:00
Christopher Ng
5ca3770fb0 feat(files_reminders): add logger
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:17 -07:00
Christopher Ng
e6cbb38175 fix: action icon color
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-09 10:41:17 -07:00