Commit graph

1217 commits

Author SHA1 Message Date
Maxence Lange a64bfa7cba exception on null token
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-12-30 11:44:19 -01:00
Maxence Lange bc40526368 remove column instance
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-12-30 11:22:21 -01:00
Maxence Lange 2e38ffd6b8
Merge pull request #866 from nextcloud/fix/noid/enforce-password
enforce password on new share
2021-12-29 11:00:29 -01:00
Maxence Lange 970dd6fdfc comments
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-12-29 10:28:04 -01:00
Maxence Lange db9caf31cd
Merge pull request #862 from nextcloud/fix/859/limit-get-population
only returns population on direct request from the front-end or occ command
2021-12-28 16:24:58 -01:00
Maxence Lange 2cf48068f2 enforce password on new share
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-12-28 15:28:32 -01:00
Maxence Lange 8172baabe5
Merge pull request #875 from nextcloud/fix/noid/lower-case-on-mail
strtolower on mail address
2021-12-23 15:10:33 -01:00
Maxence Lange 107e992251 strtolower on mail address
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-12-23 10:52:13 -01:00
Maxence Lange 6b31425bac bypass moderator check on CFG_FRIEND
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-12-21 15:14:37 -01:00
Maxence Lange 5ac5fe9863
Merge pull request #863 from nextcloud/enh/noid/lighten-single-circle-select
lighten select for single circle
2021-12-16 14:09:04 -01:00
Maxence Lange 770143ac3b remove cached data on userRemovedEvent
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-12-15 07:35:26 -01:00
Maxence Lange 50eddb346a lighten select for single circle
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-12-14 15:11:09 -01:00
Maxence Lange fb4e66d53a
Merge pull request #783 from nextcloud/enh/noid/visiting-single-circles
allow to visit Single Circle
2021-12-13 16:09:40 -01:00
Jonas Meurer fba49409ee
Add documentation headers to functions in CircleProbe
Signed-off-by: Jonas Meurer <jonas@freesources.org>
2021-12-13 17:43:17 +01:00
Maxence Lange 0338ecaf6e
Merge pull request #861 from nextcloud/fix/noid/shares-gs
better display of federated user
2021-12-13 15:16:38 -01:00
Maxence Lange 59c66589ed
Merge pull request #820 from nextcloud/enh/noid/filter-member-types
filter allowed type of member
2021-12-13 11:48:34 -01:00
Maxence Lange 583fc31eb8 filter allowed type of member
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-12-13 10:51:01 -01:00
Maxence Lange 520031be28 only returns population on direct request from the front-end or occ command
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-12-12 11:24:50 -01:00
Maxence Lange 9b36e5f9e8 better display of federated user
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-12-06 12:44:27 -01:00
Maxence Lange e3b581056c
Merge pull request #794 from nextcloud/enh/noid/small-edit
small edit
2021-10-15 09:19:50 -01:00
Maxence Lange 3825c18cec
Merge pull request #795 from nextcloud/enh/noid/get-definition-based-on-model
getDefinition based on Model
2021-10-14 20:28:46 -01:00
Maxence Lange 41fd29123b
Merge pull request #797 from nextcloud/fix/noid/federater-user-fake-membership
fixing inheritance details
2021-10-14 20:22:48 -01:00
Maxence Lange 9dbff57842
Merge pull request #798 from nextcloud/enh/noid/destrying-circle-event-before-removing-everything
dispatching event before the action
2021-10-14 20:22:32 -01:00
Maxence Lange 5ab2a7e5eb syntax
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-10-07 12:11:18 -01:00
David Douard a2463079ad
Reduce the sleep time in test-dummy-token handler
reduce this sleep delay from 5s to 4s to fix an issue with the `occ circles:check` command which uses a default 5s libcurl timeout.

Signed-off-by: David Douard <david.douard@sdfa3.org>
2021-09-29 11:19:28 +02:00
John Molakvoæ af68059464
Merge pull request #804 from nextcloud/fix/noid/migration-secret-needs-request-confirmation 2021-08-25 17:09:49 +02:00
Maxence Lange 386c5fd623 force join_request on old secret circles
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-08-25 12:48:53 -01:00
Maxence Lange 6b3847e37f exception on non visible circle
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-08-25 12:19:56 -01:00
John Molakvoæ 8e905eb49a
Merge pull request #801 from nextcloud/bugfix/noid/make-getlink-work
Make getLink work
2021-08-25 12:57:28 +02:00
Maxence Lange 358a00e123 returns Membership
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-08-25 08:35:59 -01:00
blizzz 0909b2cac1
Merge pull request #793 from nextcloud/fix/noid/notification-invited-member
fix notification when invited to a circle
2021-08-25 10:42:06 +02:00
blizzz 99d6c3c88a
Merge pull request #792 from nextcloud/enh/noid/no-owner-memberships
owner of NO_OWNER should not have memberships cached
2021-08-25 10:41:52 +02:00
Joas Schilling 259030a8d7
Make getLink work
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-08-25 08:58:17 +02:00
Maxence Lange e792ac605f comments on exception
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-08-25 00:13:36 -01:00
Maxence Lange 369736ab7b dispatching event before the action
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-08-24 11:51:06 -01:00
Maxence Lange fe36b763a4 fixing inheritance
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-08-24 11:47:43 -01:00
Maxence Lange cdaaf9c5b5 getDefinition based on Model
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-08-23 12:25:52 -01:00
Maxence Lange 621cb63a87 small edit
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-08-23 12:19:11 -01:00
Maxence Lange 0f1ab1d27a fix notification when invited to a circle
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-08-23 12:08:40 -01:00
Maxence Lange 0e1cab95a1 owner of NO_OWNER should not have memberships cached
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-08-23 11:20:27 -01:00
Maxence Lange 304ed19130
Merge pull request #790 from nextcloud/fix/noid/emulate-visitor-on-join
emulate initiator on CircleJoin
2021-08-23 10:32:22 -01:00
Maxence Lange be7d69e081 display space between Owner and Config
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-08-20 12:24:39 -01:00
Maxence Lange 074034e826 emulate visitor on leave
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-08-20 11:12:05 -01:00
Maxence Lange 2e1b42a075 emulate initiator on CircleJoin
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-08-20 10:02:33 -01:00
Maxence Lange 5f1b1128fe allow to visit Single Circle
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-08-19 10:45:43 -01:00
Julius Härtl 334d015082
Merge pull request #784 from nextcloud/enh/noid/fix-definitions-on-single-circles
fix definition on single circles
2021-08-18 15:22:50 +02:00
Julius Härtl f07df91ef9
Merge pull request #780 from nextcloud/fix/noid/details-on-non-visible-circles
details on non-visible (but open) circles
2021-08-18 15:20:52 +02:00
Maxence Lange 311cd1c637 fix definition on single circles
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-08-13 11:04:06 -01:00
Maxence Lange 9c0e47a273 verify shareType in params
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-08-09 23:57:47 -01:00
Maxence Lange 8f01e88d65 details on non-visible (but open) circles
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-08-09 12:52:52 -01:00
Maxence Lange 85ac0a9b14
Merge pull request #773 from nextcloud/enh/noid/ientity
IEntity and getLink()
2021-08-09 10:53:24 -01:00
Maxence Lange d5e6018756 generate quick members' memberships during migration
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-08-06 12:39:40 -01:00
Maxence Lange 0e3efe737e clean
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-08-06 12:37:31 -01:00
Jonas Meurer 965924ba03
Check if $knownPath is set before invoking rtrim()
`$knownPath` may by `null` in `ConfigService->linkToRoute()`. `rtrim()`
requires a string as first argument.

Fixes: #774
Signed-off-by: Jonas Meurer <jonas@freesources.org>
2021-08-06 12:32:19 +02:00
Maxence Lange d68ca65322 IEntity and getLink()
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-08-05 12:20:36 -01:00
Maxence Lange 0eab08b187 lint
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-08-03 00:01:41 -01:00
Maxence Lange 1c2a01d7ef migration to 22.1.0 - child shares
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-08-02 23:38:38 -01:00
Maxence Lange 627ff328fa cleaning old code
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-08-02 17:59:57 -01:00
Maxence Lange 169118a9be include and config path in loopback
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-08-02 17:45:01 -01:00
Maxence Lange 3656520655 optional details on Link
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-07-29 09:37:13 -01:00
Maxence Lange f7a2b754ea
Merge pull request #752 from nextcloud/fix/noid/shares-gs
send mails to inherited members on GS
2021-07-28 18:30:02 -01:00
Julius Härtl 820641ee0c
Throw instead of doing nothing 2021-07-28 18:00:52 +02:00
Maxence Lange b4bbb747c0 send mails to inherited members on GS
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-07-28 11:47:16 -01:00
Maxence Lange 5abbec0139 local circles starts local
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-07-28 10:42:41 -01:00
Maxence Lange ae5f214d36 local stays local
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-07-28 09:30:01 -01:00
Maxence Lange b68d61cc3c limit non-local circles as members of local circles
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-07-27 11:58:44 -01:00
Maxence Lange fdf9b0df7a better display of mail addresses
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-07-27 11:15:26 -01:00
Maxence Lange 1172756f63 cs-fix
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-07-26 23:59:22 -01:00
Maxence Lange 66b006caff phpdoc
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-07-26 23:58:14 -01:00
Maxence Lange c7f48070eb
Merge pull request #736 from nextcloud/enh/noid/sendmail-on-share
sendmail on new fileshare
2021-07-26 23:56:21 -01:00
Maxence Lange f6d0d8af3b
Merge pull request #735 from nextcloud/enh/noid/fix-notification
fixing notification and mails
2021-07-26 23:55:40 -01:00
Maxence Lange f18e5265bb
Merge pull request #734 from nextcloud/enh/noid/force-base
cloud_force_base
2021-07-26 23:55:15 -01:00
Maxence Lange 9ab0597e13 sendmail on new fileshare
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-07-26 23:53:15 -01:00
Maxence Lange 27b5678c14 fixing notification and mails
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-07-26 23:52:02 -01:00
Maxence Lange f3b0783cab cloud_force_base
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-07-26 23:44:17 -01:00
Maxence Lange 6784449403 remote inherited and memberships
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-07-26 23:34:13 -01:00
Maxence Lange eb91185849 getDefinition
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-07-23 11:31:22 -01:00
Maxence Lange 5779875ee8 Sending mail on new shares
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-07-22 21:08:53 -01:00
Maxence Lange 212175f31d remove root circles from search for new members
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-07-22 13:02:49 -01:00
Maxence Lange 3f3622a518 detect source of search
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-07-21 12:38:47 -01:00
Maxence Lange 34d4d1247c adding unified search
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-07-20 20:17:57 -01:00
Maxence Lange 7dd7c19c8e generate probe if needed
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-07-20 12:45:19 -01:00
Maxence Lange 5db2469d5b removing hidden flag by default
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-07-19 18:40:28 -01:00
Maxence Lange 208ea374d6 better probe
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-07-19 12:51:31 -01:00
Maxence Lange d1f118bb97 fixing lint
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-07-17 00:39:53 -01:00
Maxence Lange 1aa24e3bae using probes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-07-17 00:32:23 -01:00
Maxence Lange 43e169b8e0 avoid timeout during check
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-07-15 11:19:39 -01:00
Maxence Lange fd32f57a19 returns files shared to Personal
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-07-12 11:02:29 -01:00
John Molakvoæ (skjnldsv) adca9135ad
Cs fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-07-07 09:51:03 +02:00
Maxence Lange 22b18dc8ee remove echo
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-07-06 12:07:35 -01:00
Maxence Lange 8d3e2559e5 fix permissions update
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-07-05 16:39:55 -01:00
Maxence Lange 5772f9d857
Merge pull request #668 from nextcloud/enh/noid/new-icons
new icons
2021-07-05 15:53:07 -01:00
Maxence Lange 7115871445 new icon
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-07-05 15:52:42 -01:00
Maxence Lange 8cacd44ff8 Managing external members tokens
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-07-05 15:45:18 -01:00
Maxence Lange 4ee94e264f Migration of tokens
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-07-03 22:42:50 -01:00
Maxence Lange 87b19608bd get share by token
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-07-03 11:51:23 -01:00
Maxence Lange 67b7a08820 cleaner migration, fix sync --uninstall
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-07-02 13:16:03 -01:00
Maxence Lange c45bd44b10
Merge pull request #664 from nextcloud/fix/663/feed-event-with-initiator-as-member
Feed FederatedEvent with Initiator as Member
2021-07-02 11:53:12 -01:00
Maxence Lange e803f8e3f6 priority on gss.mockup
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-07-02 11:33:53 -01:00
Maxence Lange a16d759f04 infinite members by default
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-07-01 21:57:29 -01:00