Commit graph

167 commits

Author SHA1 Message Date
722c3bd369 Prototype: OTP auth, styleguide overhaul, login/session rework
Replace password reset with email OTP verification flow.
Add auth_otp module, OTP templates, and email delivery.
Expand styleguide CSS with full component library.
Rework login, register, and admin views for cookie sessions.
Remove legacy 2FA templates and password reset flow.
Update SSH wrappers, forms, validators, and middleware.
2026-03-04 16:44:40 -05:00
4f73837822 Remove beaker dependency, switch to Pyramid SignedCookieSessionFactory
Replace server-side session backends (redis, file, database, memcached)
with client-side signed cookie sessions. Users will need to
re-authenticate after deploy.

- Rewrite rc_beaker.py to use pyramid.session.SignedCookieSessionFactory
- Gut user_sessions.py to cookie-only stub
- Drop beaker.container from memory_lru_dict.py (pure repoze.lru)
- Migrate ini configs from beaker.session.* to session.* namespace
- Remove beaker==1.13.0 from requirements.txt
- Remove beaker.backends entry points from pyproject.toml
- Preserve backward-compat fallbacks for encryption key resolution
2026-02-19 15:26:24 -05:00
ievgenii vdovenko
bfb7120398 feature: moves host/port/enable_feature into ini files 2026-01-28 12:23:56 +01:00
Andrii V
7971df8a49 Reapply "Merge pull request !2870 from rhodecode-enterprise-ce Polymer-lit-migration-1"
This reverts commit 2aebe6862d.
2025-12-01 18:06:16 +01:00
Andrii V
2aebe6862d Revert "Merge pull request !2870 from rhodecode-enterprise-ce Polymer-lit-migration-1"
This reverts commit 262fefa9a9, reversing
changes made to 57d841d6ea.
2025-12-01 18:01:18 +01:00
Andrii V
b856331a05 Removed ES5 adapter, finished migration of Polymer components, cleanup 2025-11-24 15:21:34 +01:00
Andrii V
241837f815 Migration to lit 2 of most components 2025-11-20 15:17:07 +01:00
ievgenii vdovenko
9555056af7 feature: implements deduplication mechanist for celery messages 2025-11-01 09:58:44 +02:00
ievgenii.v
eb1f2f8109 feature: implements sending emails to a local store for local development 2025-10-21 11:51:26 +03:00
RhodeCode Admin
166db21812 core: run ruff format 2025-01-13 17:47:37 +01:00
RhodeCode Admin
0003c94632 configs: enable celery monitoring by default 2025-01-09 11:44:40 +01:00
RhodeCode Admin
d88fc5856d configs: added info how to set cache_license to redis 2024-11-13 14:07:06 +01:00
RhodeCode Admin
7d196811c4 feat(redis): added ability to specify a redis key prefix for all cache regions of dogpile that use redis backend 2024-10-23 22:11:27 +02:00
RhodeCode Admin
a36bd6781b fix(configs): fixed some config bad default setting 2024-10-22 21:56:08 +02:00
RhodeCode Admin
400d24f05f fix(tests): explicitly disable env_expand for test suite to prevent problems with DB connections during tests 2024-10-11 14:38:37 +02:00
RhodeCode Admin
62690f16e4 configs: synced ce/ee configs 2024-10-07 10:23:08 +02:00
Serhii Ilin
5d1b03ab5b feat(git lfs path and path to hg large files in *.ini files): moved git lfs path and path of hg large files to *.ini files. 2024-09-25 10:59:01 +03:00
RhodeCode Admin
90a1d3ca75 feat(artifacts): new artifact storage engines allowing an s3 based uploads 2024-08-28 23:56:59 +02:00
RhodeCode Admin
ab795f6a4f chore(configs): droped unused configs 2024-08-28 23:47:17 +02:00
RhodeCode Admin
0147b82c20 feat(configs): allow json log format for gunicorn 2024-08-19 11:35:24 +02:00
RhodeCode Admin
efb6d1e422 feat(configs): deprecared old hooks protocol and ssh wrapper.
New defaults are now set on v2 keys, so previous installation are automatically set to new keys.
Fallback mode is still available.
2024-08-07 13:35:47 +02:00
RhodeCode Admin
55281cb2b0 feat(config): deprecated old ssh wrapper command and make the v2 the default one 2024-08-06 16:02:40 +02:00
RhodeCode Admin
1d56632985 ini: cleanup 2024-07-16 14:02:38 +02:00
RhodeCode Admin
26d18ef0fe fix(svn): svn events fixes and change the way how we handle the events 2024-06-04 17:20:16 +02:00
Serhii Ilin
61c700577b feat(region for s3 storage): added configurable region of s3 storage. 2024-07-03 14:17:17 +03:00
RhodeCode Admin
eab897ac5c feat(archive-cache): objectstore now makes bucket required, and use shards as folders inside it 2024-06-19 12:34:05 +02:00
RhodeCode Admin
5206570f1b configs: added config for top-level bucket 2024-06-18 14:05:33 +02:00
RhodeCode Admin
984a9a564f feat(archive-cache): implemented s3 based backend for filecaches 2024-06-13 21:29:37 +02:00
RhodeCode Admin
39bed20bcb feat(disk-cache): rewrite diskcache backend to be k8s and NFS safe.
- no longer depend on diskcache
- use simpler version with Redis lock, and filesystem storage
- fixes RCCE-78
2024-06-05 12:32:12 +02:00
RhodeCode Admin
4462f85332 fix(configs): removed waitress as a default runner for web service on development.
One of the big issues discovered receantly was due to waitress vs gunicorn differences on handling
requests. Since gunicorn has a nice dev mode with code reloader we should use it as a default runner so
we can avoid such issues in the past where dev setup runned different workers than production.
2024-05-29 09:47:57 +02:00
RhodeCode Admin
0f0d045b9b configs: update .ini files 2024-05-20 10:01:35 +02:00
RhodeCode Admin
590bbea4e3 tests: updated test ini and configs for setting custom ini files 2024-05-08 13:27:19 +02:00
Serhii Ilin
5f36eb1b22 Updated with a latest changes. 2024-03-11 20:12:31 +02:00
RhodeCode Admin
2dd2eea658 chore(configs): optimize configs for docker env 2024-03-04 11:34:15 +01:00
Serhii Ilin
7e2e69d2ba feat(repo_path-config): moved main storage location path into ini file. Fixes: RCCE-61 2024-03-01 09:39:14 +02:00
Serhii Ilin
25f36e9654 feat(svn-config): moved svn related config keys to *.ini file. Fixes: RCCE-60 2024-02-28 09:34:14 +02:00
Serhii Ilin
16c169bec2 fix(ssh): Added alternative SshWrapper and changes needed to support it + service api. Fixes: RCCE-6 2024-02-19 13:49:51 +02:00
RhodeCode Admin
0f1af561b6 fix(configs): optimize configs for 5.0.0 release defaults
- switch by default form gevent to gthread
2024-02-12 13:00:46 +01:00
RhodeCode Admin
38c00aa2be config: update gunicorn config examples 2024-01-29 09:46:28 +01:00
RhodeCode Admin
a713c72836 configs: mention not to use memory sessions 2023-10-23 21:58:25 +02:00
RhodeCode Admin
6339fa0902 configs: improve gunicor config on worker_recycle logic 2023-10-05 21:24:10 +02:00
RhodeCode Admin
c9fb929365 config: small gunicorn config fix 2023-08-25 12:49:39 +02:00
RhodeCode Admin
dd61323584 configs: added small fixes into gunicorn configs 2023-08-16 15:55:42 +02:00
RhodeCode Admin
9acdaef436 configs: moved gunicorn configs to python files 2023-08-05 23:26:16 +02:00
RhodeCode Admin
76daee5cd6 configs: updated with new options and settings for python3 2023-07-18 09:51:33 +02:00
RhodeCode Admin
bfdcb17dff configs: remove convert unicode which is deprecated 2023-03-20 20:02:35 +01:00
RhodeCode Admin
edf8d9763b gunicorn: fixed config syntax 2023-03-06 23:27:06 +01:00
RhodeCode Admin
971b015bdf config: reduced gunicorn backlog default to handle less connections per worker 2023-02-09 11:00:33 +01:00
RhodeCode Admin
bc9d34cbec config: reduce max-task-per-child to 20 2023-02-08 12:20:01 +01:00
RhodeCode Admin
83e86c7943 small naming fixes 2023-02-02 09:41:40 +01:00