Commit Graph
157 Commits
Author SHA1 Message Date
James Smith 1ab69b46e6 DRY up table ready checks 2025-12-22 13:39:14 +00:00
James Smith 7433a58f3b add method to match permissions back to presets 2025-10-23 23:46:10 +01:00
James Smith 9c5413f98c Make sure presets take precedence when applied 2025-10-23 17:26:32 +01:00
James Smith 13c2420f9d Make permission presets apply in a more blanket way by removing all incompatible permissions 2025-10-23 17:22:27 +01:00
James Smith 0335087af4 make sure public validations are applied when using presets 2025-10-23 17:21:13 +01:00
James Smith 6bafa9ef4f Allow permission presets to be used during normal updates 2025-10-23 17:00:18 +01:00
James Smith 21cfb4d978 split up setting of default permission and creation of relations 2025-10-23 16:22:31 +01:00
James Smith 147aa7a612 Merge pull request #4885 from manyfold3d/ignore-all-local-links
Ignore all links to the local hostname
2025-10-23 15:20:45 +01:00
James Smith bdae511a72 lint: Add blank lines after includes 2025-10-17 12:06:22 +01:00
James Smith 6f55216dd3 Ignore all links to the local hostname
If we do need to link between models, we will do it with proper relationships.
2025-10-15 15:49:24 +01:00
James Smith 88327069e2 revoke incompatible permissions when applying a preset 2025-10-10 10:25:41 +01:00
James Smith 53d5074f58 set owner using new attribute 2025-10-10 10:24:45 +01:00
James Smith ba8109ff09 set default permissions with attributes 2025-10-10 10:24:45 +01:00
James Smith 99ab381fdf split up default permission method 2025-10-10 10:24:45 +01:00
James Smith 8cdf4919d6 Add option to make models public by default 2025-10-08 15:53:21 +01:00
James Smith 9fdd9a1cd8 version-safe indexable check 2025-09-15 22:42:06 +01:00
James Smith 9450428dee Only share content with FASPs if public and indexable 2025-09-15 22:19:27 +01:00
James Smith 8800a839e8 handle more missing migration stuff in federails 2025-08-21 16:53:27 +01:00
James Smith b44450eaca check federails is migrated before using it 2025-08-21 14:07:57 +01:00
James Smith 7550753e01 check caber migrations are complete before trying to do things with them 2025-08-21 14:07:45 +01:00
James Smith b3f10774a2 don't perform slugification if slug doesn't exist yet 2025-08-21 13:37:17 +01:00
James Smith d0230f482a handle federails migration mismatches 2025-08-21 13:35:48 +01:00
James Smith 97fa102e6c fix migration errors caused by validating fields that don't exist yet 2025-08-21 12:25:36 +01:00
James Smith 622c6ae0c9 add scope for finding objects by link 2025-07-16 11:34:03 +01:00
James Smith 4a24524e99 Don't allow editing or owning of remote objects 2025-07-03 12:00:11 +01:00
James Smith ca0a979a47 Fix default viewer permissions on upload 2025-06-26 11:06:37 +01:00
James Smith c904cb65c5 extend access indicators to show private and shared items as well as public 2025-06-23 12:31:36 +01:00
James Smith c3fd1ee628 fix validation and normalize inherit setting 2025-06-21 23:49:55 +01:00
James Smith 8cddc242d7 change indexable fields to strings instead of enums
Because Rails 7.1+ refuses to allow an enum definition without a field, using enums causes earlier data migrations to break.
2025-06-21 23:38:06 +01:00
James Smith 67230bd447 remove indexable scope and use method to filter 2025-06-20 18:09:49 +01:00
James Smith 398d95bada delegate indexer flags via creator (and parent collection for Collections) 2025-06-20 17:55:33 +01:00
James Smith 44d3dac53b option to override or inherit indexing from site defaults 2025-06-20 17:32:46 +01:00
James Smith fb49293042 add indexable setting to model/creator/collection tables 2025-06-20 15:30:10 +01:00
James Smith 51b191173b build sitemap of indexable content 2025-06-20 15:03:38 +01:00
James Smith 915115e100 add indexable and ai_indexable query methods for all actors and files 2025-06-20 12:38:10 +01:00
James Smith ce7320e75d autopublish model creator if being made public 2025-06-17 16:21:59 +01:00
James Smith 70f1cd9c52 Don't overwrite permissions with defaults if already set 2025-06-16 20:21:58 +01:00
James Smith b9129b7614 set default permissions after commit 2025-06-13 15:15:00 +01:00
James Smith 0e4050496e Add common local and remote scopes for federails actor objects 2025-06-13 10:26:42 +01:00
James Smith 62af8742da Fix default viewer role bug by not trying to store nil 2025-06-10 14:55:54 +01:00
James Smith 240b1b2597 post publish activity when permissions change 2025-06-06 15:33:58 +01:00
James Smith 3680045333 reject empty urls in links 2025-04-30 10:54:10 +01:00
James Smith bd93bc729c automatically reject duplicate links when assigning 2025-04-25 12:54:10 +01:00
James Smith a7951d7ac7 only create federails actors if the object is alread saved 2025-04-15 19:35:38 +01:00
James Smith 66c2543d96 move PathParser functionality into job 2025-04-02 21:16:47 +01:00
James Smith 5a918d5455 extract path parsing into service object 2025-04-02 21:16:47 +01:00
James Smith db0984515c make path_parse_pattern into a class method as well as instance 2025-04-02 17:11:26 +01:00
James Smith 1322a556bb remove unused Follower#follows 2025-04-01 17:26:14 +01:00
James Smith 3065efcaa2 add upgrade job for disambiguating usernames 2025-03-25 14:04:26 +00:00
James Smith 4a499684cc don't automatically update slugs 2025-03-25 09:53:18 +00:00