Commit Graph
322 Commits
Author SHA1 Message Date
James Smith 15df20c581 move feature flags out of flipper and into site config and SiteSettings 2024-08-09 11:23:33 +01:00
James Smith 5fe99b829c explicitly set creation activity to created date of followable item 2024-08-05 14:23:00 +01:00
James Smith d8dbd64ea1 make sure default activity user is an admin 2024-08-05 11:21:49 +01:00
James Smith 2353c7cca5 move Create activity post into shared Followable concern 2024-08-02 16:51:02 +01:00
James Smith dc2cb7ef2f don't create activity if there's no user to assign it to 2024-08-02 12:55:32 +01:00
James Smith 1a6c3d64d7 lint 2024-08-02 12:55:31 +01:00
James Smith 858809f669 add model create activity and include in feed 2024-08-02 12:55:31 +01:00
James Smith 6af7d305d7 add a shared #create_actor_if_missing for all federails actor entities 2024-08-02 11:28:42 +01:00
James Smith 80c02b5425 reload target after autocreating actor 2024-08-01 16:23:30 +01:00
James Smith eec4b9dd9e override User#federails_name as default name is incorrect 2024-08-01 16:23:29 +01:00
James Smith 68f84a6b11 auto-create actor for target object if it doesn't exist 2024-08-01 11:58:32 +01:00
James Smith 30f287c315 switch to polymorphic branch of federails 2024-08-01 11:31:49 +01:00
James Smith 1e8b5e8c45 make creator, collection and model followable (and remove from user) 2024-07-31 14:09:33 +01:00
James Smith 68e5708d03 fix tests and check activity creation for follows 2024-07-31 10:45:37 +01:00
James Smith 6cd4b5e73c Add followable/follower concern and tests
just user->user for now, that will change when federails gets a polymorphic relationship there
2024-07-31 10:45:36 +01:00
Matthew 84318e8f2f Initial federails integration commit 2024-07-31 10:45:35 +01:00
James Smith e74bd72b5a add access to listers, and test in shared examples 2024-07-27 12:34:16 +01:00
James Smith cec0466fce extract list features into concerns and test 2024-07-26 23:22:12 +01:00
James Smith c1d39f7ab0 change how we force JSON serialisation
See https://github.com/rails/rails/issues/44997#issuecomment-1114903733 for the source.
2024-07-26 12:33:16 +01:00
James Smith cf159b5b98 we need to explain JSON serialization to MariaDB explicitly 2024-07-26 12:14:54 +01:00
James Smith 88c12b21f1 move default collection pagination setting into code 2024-07-26 11:57:28 +01:00
James Smith 36a37dc267 remove UI option for hiding unrelated tags
it's just too expensive to make it optional
2024-07-24 09:57:08 +01:00
James Smith d8d1528f63 change default tag threshold to 2
because what's the point in showing tags with 0 or 1?
2024-07-24 09:31:31 +01:00
James Smith 45d425fdd2 lint 2024-07-17 16:29:51 +01:00
James Smith 689d503bc5 add username and manyfold to zxcvbn weak words 2024-07-17 16:08:20 +01:00
James Smith 6f3937688d remove validatable module and replace the bits we still need with our own copies 2024-07-17 15:33:10 +01:00
James Smith ba9b45aaca remove devise-security gem
the only thing we were using is replaced with zxcvbn
2024-07-17 15:22:30 +01:00
James Smith c6af560e03 add zxcvbn validation 2024-07-17 15:19:20 +01:00
James Smith 90632d020f move all user default settings into SiteSettings constants, not migrations 2024-07-16 17:25:36 +01:00
James Smith d5563dd3c8 fix storage_service issue when migrating from nothing 2024-07-09 22:14:24 +01:00
James Smith 65a8936d28 auto-set filters for other activeadmin resources 2024-07-08 11:31:33 +01:00
James Smith eddcac9566 auto-set Library filters from ransackable 2024-07-08 11:30:55 +01:00
James Smith 9d73e5363d lazily set content security policy so we can include the library domains 2024-07-05 16:03:23 +01:00
James Smith 3daf51eaf3 enable transfer acceleration for official S3 endpoints 2024-07-05 13:15:28 +01:00
James Smith d02876fc34 memoize storage client creation 2024-07-05 10:23:28 +01:00
James Smith 4ad134e473 more efficient list_files for s3 2024-07-04 13:32:55 +01:00
James Smith da8fd754dd handle array glob patterns in s3 list_files 2024-07-04 13:32:55 +01:00
James Smith 9b2664e476 implementation of list_files globbing for s3 2024-07-04 13:32:55 +01:00
James Smith 894685a57d s3 needs special treatment for has_folder? 2024-07-04 13:32:25 +01:00
James Smith c2045ee985 implement s3 last_modified 2024-07-04 13:32:25 +01:00
James Smith 72e0cec5ba use path-style access for custom endpoints 2024-07-04 13:32:25 +01:00
James Smith 9aad2a6a04 storage existence check for s3 2024-07-04 13:32:24 +01:00
James Smith be2426ca47 don't show free space if not available
and s3 doesn't have it yet
2024-07-04 13:32:24 +01:00
James Smith ff29878e94 create S3 storage using credentials from DB 2024-07-04 13:32:04 +01:00
James Smith 4e78c5701f add validation for s3 fields 2024-07-04 13:32:03 +01:00
James Smith e2aaa2ecc2 free_space is storage service dependent 2024-07-04 13:30:54 +01:00
James Smith ada43bd3c4 only validate path if storage service is filesystem 2024-07-04 13:30:53 +01:00
James Smith 0c6ed6df1c add s3 to service option list 2024-07-04 13:30:53 +01:00
James Smith beb1ca5759 Fix storage registration during migrations 2024-07-04 09:17:42 +01:00
James Smith e3c9df272e Remove presupported links before deleting
resolves #1929
2024-07-03 10:46:55 +01:00