Commit Graph
55 Commits
Author SHA1 Message Date
James Smith 0a4aa82f02 add EXPERIMENTAL_LANGUAGES env var to enable locales that aren't quite ready for primetime 2025-10-07 17:18:46 +01:00
James Smith 8230a249cb manage locale list in a single config file 2025-10-07 17:18:10 +01:00
James Smith 8b9b624076 Enable Japanese locale 2025-06-09 09:00:13 +01:00
James Smith b29c2cf617 add turbo stream refresh for model pages 2025-05-14 15:29:15 +01:00
James Smith bd90505689 fix lib autoload paths during init 2025-04-22 17:40:55 +01:00
James Smith 50edf7066b remove autoload_lib and /lib generally 2025-04-22 17:40:55 +01:00
James Smith 412cfe1a5b use rails 8 defaults 2025-04-22 17:40:55 +01:00
James Smith 6babf16330 update environment and app config files 2025-04-22 17:40:55 +01:00
James Smith 13ccf033d1 update locale lists and include czech 2025-03-30 23:47:41 +01:00
James Smith 2df3903708 move registration enabled into a proper SiteSetting field
default is still set from the ENV variable
2025-03-26 17:39:55 +00:00
Stef Louwers 6bffe2e923 Add Dutch (nl) translation 2025-01-18 22:23:18 +01:00
James Smith 97fe511099 set verify mode as string, not symbol 2025-01-16 14:38:35 +00:00
James Smith fac81dfc7f Load more SMTP settings from environment vars
Ignoring SSL/TLS/STARTTLS for now, that should be fine left on auto these days.
2025-01-15 10:56:49 +00:00
James Smith 9a0ed6729a Add explicit brackets to ternary 2025-01-14 22:23:05 +00:00
Stef Louwers 5e7ff9fd6c Allow disabling the validation of the smtp SSL certificate by setting the SMTP_VERIFY_SSL_MODE env variable to 'none' 2025-01-14 21:26:11 +01:00
Stef Louwers 05e13a635a Allow setting the smtp port with the SMTP_PORT env variable 2025-01-14 21:22:18 +01:00
James Smith 5a12e169f0 refactor url option logic into a module with tests 2024-11-07 13:25:05 +00:00
James Smith a0a11239d8 move registration check into features list 2024-10-19 22:39:08 +01:00
James Smith a677791956 specify exact issuer URI in env 2024-10-15 14:44:26 +01:00
James Smith d63036574e add config for OIDC mode 2024-10-15 13:31:12 +01:00
James Smith 9332135d4b enable spanish translation 2024-09-24 12:01:12 +01:00
James Smith c1d60dd04f lint: rails.root path globs 2024-08-27 14:16:19 +01:00
James Smith 17ae27ee46 don't set standard ports in URL options 2024-08-21 17:46:18 +01:00
James Smith 1c36800123 fix route setup in test mode 2024-08-09 12:40:49 +01:00
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 90b8acc719 Add a stable env var for the rails app port
so that foreman doesn't autoincrement it and we can use it in workers
2024-08-02 12:41:43 +01:00
James Smith 99c5485126 set port from PORT if PUBLIC_PORT isn't available, then fall back to 3214 by default 2024-08-02 11:57:57 +01:00
James Smith 05f24650ef add Shrine config and storage per library 2024-06-25 14:11:50 +01:00
James Smith 8e84d40bb0 PUBLIC_PORT should be nil by default 2024-04-11 17:12:24 +01:00
James Smith 81e7db3edf lint 2024-04-11 17:10:23 +01:00
James Smith 50c8b4b0ed add SMTP settings 2024-04-11 15:21:12 +01:00
James Smith 9e96b6bbb7 set default url options from env vars: PUBLIC_HOSTNAME and PUBLIC_PORT 2024-04-11 11:08:12 +01:00
James Smith 2b856aac80 improve autocreated user for single login and change to lazy creation 2024-03-21 14:26:30 +00:00
James Smith 6bf69454ff render pundit failures with standard forbidden page 2024-03-19 12:12:02 +00:00
James Smith d476006de3 enable fr translation use 2024-03-13 10:43:09 +00:00
James Smith fa22f99d43 enable polish translation 2024-03-05 10:34:02 +00:00
James Smith ee9750a966 add de to available locales 2024-02-20 14:25:01 +00:00
James Smith fef066669e add configuration for available locales, currently just en 2024-02-08 14:06:53 +00:00
James Smith 0c7d371d89 lint: use Rails.root.join 2024-02-07 14:33:44 +00:00
James Smith adef56b19d i18n: find nested locale files 2024-02-07 12:30:10 +00:00
James Smith 13fe385108 fall back to default locale in dev 2024-01-30 21:10:58 +00:00
James Smith 49e7c36fb2 autodetect language using rack middleware 2024-01-30 10:44:06 +00:00
James Smith 303b7161a7 don't load unused rails components 2024-01-29 22:18:37 +00:00
James Smith dcb1b19006 rename root modules 2023-12-05 22:22:05 +00:00
James Smith e509fe49cb Create admin user on app start, not in data migration 2023-07-06 10:31:45 +01:00
James Smith b027a07c81 remove static formats list 2023-02-18 20:59:08 +00:00
James Smith 194ab7f873 use SiteSettings instead of config loaded from file for tag settings 2022-06-19 19:20:18 +01:00
James Smith 347834d8d7 user user pagination settings instead of config file 2022-06-17 14:39:13 +01:00
James Smith e327e69d61 update to new defaults 2022-06-12 23:16:31 +01:00
James Smith 46f9d69af6 rails 7 app update 2022-06-12 23:08:34 +01:00