Commit graph

44 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
1dac65fc8a Wire styleguide.css and ajax.js into root.mako globally
- Load styleguide.css before style.css so new design tokens are
  available app-wide and new styles take precedence
- Load ajax.js after scripts.min.js — provides qs(), onReady(),
  onDelegate(), setCookie(), getCookie(), and other vanilla utilities
- Keep jQuery's $ intact via qs() alias to avoid breaking existing code
- Add no-js class to <html> for capability-driven presentation
- Update error_document.mako with same CSS/JS stack
2026-02-19 20:18:09 -05:00
ievgenii vdovenko
934f8337a1 fix: fixes styles css hash 2025-12-29 14:42:23 +01:00
ievgenii vdovenko
ba3a08b568 refactoring: moves codemirror scripts to a separate file 2025-12-11 10:41:10 +01:00
Andrii V
2f46166d0e Fixed merge conflicts, regenerated lock file 2025-12-10 17:56:09 +01:00
ievgenii vdovenko
56fc497067 feature: reverts select2 changes 2025-12-08 11:44:35 +01:00
ievgenii.v
cf5ea2eac5 migration: migrated dropzone to filepond; couple fixes for select2; fixes luxon seconds display; 2025-12-02 15:42:34 +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
ievgenii.v
89479931d7 migration: update seelect2 to latest version 2025-11-25 13:07:43 +01:00
Andrii V
b856331a05 Removed ES5 adapter, finished migration of Polymer components, cleanup 2025-11-24 15:21:34 +01:00
ievgenii vdovenko
ba0c55321c fix: store value in the cookie file if a user decided to opt our from the warning/error messages 2025-06-17 11:53:38 +02:00
RhodeCode Admin
c2914495c0 fix: dismiss license warnings should be also possible in non base.mako pages 2025-03-24 05:03:15 +01:00
RhodeCode Admin
de2720a20a templates: removed utf8 marker for python3 migration 2023-07-17 14:59:08 +02:00
RhodeCode Admin
acbe2b54a6 json: fixed calls to json after orjson implementation 2023-03-20 20:58:57 +01:00
Marcin Kuzminski
e3b079f978 landing-refs: create helpers for landing ref to make clear indication about type/name 2020-06-03 10:59:50 +02:00
Marcin Lulek
780ec5f73e core: added user-notice logic to push notice messages.
- will be used for exception tracker info
- new version upgrades
- dedicated important messages to the users
2020-04-09 12:30:13 +02:00
Marcin Kuzminski
29038019e8 hovercacrds: added new tooltips and hovercards to expose certain information for objects shown in UI 2019-10-31 17:52:42 +01:00
Marcin Kuzminski
c2616abdb2 js: use minimized version by default 2019-10-31 10:23:24 +01:00
Bartlomiej Wolynczyk
e2b5aab538 comments: added support for adding comment attachments using the artifacts logic.
- ACL per-repo
- use dropzone js to add drag n drop capabilities
- use artifacts store as backend
2019-10-05 20:53:41 +02:00
Marcin Kuzminski
6039839d53 go-to search: updated logic of goto switcher
- when in repo group searcher are ordered by the entries in the group
- support prefixes with spaces, eg file: PATTERN
- new contextual search for groups/repos with mark token
- better suggestions
2019-03-13 12:12:01 +01:00
Daniel Dourvaris
bd42c53c17 search: add support for elastic search 6
- elasticsearch new query lang and searcher
- much more advanced query lang
- added context aware search in repository groups, repository, commits, files view
- optimized quick search bar speed when using full text search
- added option to increase hits per file number from query URL using max_lines
- search results can be now marked inside a text file using ?mark=HIGHLIGHT_TEXT added to the url
2018-12-19 18:17:51 +01:00
Marcin Kuzminski
863fb9010b static: use same way of loading static in root and standalone error_document to prevent from having JS errors. 2018-11-19 10:56:29 +01:00
Marcin Kuzminski
2eadca530d templates: remove ie hacks 2018-10-29 16:30:29 +01:00
Marcin Kuzminski
e1fea701c9 css: dropped not used ie.css file. We don't suppot IE9 anyway 2018-10-29 16:28:58 +01:00
Marcin Kuzminski
eee6f4cbd8 packaging: dropped bower, it's now replaced by npm and webcomponents from polymer. 2018-10-29 15:30:10 +01:00
Marcin Lulek
d75cc12c5c js: use ES6 classes for polymer 2.x 2018-10-30 15:24:48 +01:00
Marcin Lulek
69b8d6a77f frontend: use webpack instead of vulcanize 2018-10-30 15:24:35 +01:00
Marcin Lulek
ca5f1e1b5e grunt: do not use crisper
- fixed some polymer specific package problems
2018-10-25 12:28:17 +02:00
Marcin Lulek
5eda6803c5 frontend: change plugin initialization method 2018-07-29 14:48:03 +02:00
Marcin Lulek
3522f323e5 frontend: Use Polymer 2.0 2018-07-29 14:47:23 +02:00
Marcin Kuzminski
7ed0451f13 quick-search: use smart group search when browsing inside a repository group.
- This replaces last part of now disabled quick filter.
2018-06-18 15:52:20 +02:00
Marcin Kuzminski
03068b3426 core: added support for golang go import functionality 2017-10-29 10:14:24 +01:00
Marcin Kuzminski
897b877309 js: organized and updated JS packages.
- moved certain embeded files to be tracked via node2nix
- bumped few libraries, jquery to 1.11.3
- bumped moustetrap to 1.6.1
2017-09-25 13:25:08 +02:00
Marcin Kuzminski
cfe326566d helpers: remove usage of pylons session. 2017-09-19 17:11:48 +02:00
Marcin Kuzminski
b3199dd73b templates: use safer way to extract user_agent from request.
Several reports were that user_agent was None causing a 500
while rendering template
2017-09-18 13:35:07 +02:00
Marcin Lulek
c681c84320 security: use no-referrer for outside link to stop leaking potential parameters such
as auth token stored inside GET flags.

- based on hacker-one ticket
2017-08-17 10:55:07 +02:00
Marcin Kuzminski
a98d55f137 clipboard: added dummy placeholders for copying commits/paths via clipboard.js 2017-07-19 11:38:34 +02:00
Marcin Kuzminski
82b3aebb67 pyramid: make alerts always use request.session instead of pylons one. 2017-07-13 11:56:28 +02:00
Marcin Lulek
ad54b9a57d security: use new safe escaped user attributes across the application.
- will fix all possible XSS attack vectors.
2017-06-19 15:14:02 +02:00
Marcin Kuzminski
71fee00277 home: moved home and repo group views into pyramid.
- fixed lots of tests related to those changes
- now main and subrepo group views are handled by pyramid.
2017-06-05 15:16:04 +02:00
Marcin Kuzminski
c4d8a9cccf templates: expose default user data into templates for JS usage. 2017-05-26 12:40:09 +02:00
Marcin Kuzminski
f284c5877a templates: removed some unused JS variables.
- cleanup of duplicated keyboard bindings that are now set in seperate file.
2017-01-08 15:14:20 +01:00
Marcin Kuzminski
89e2586781 templating: use .mako as extensions for template files. 2017-01-04 22:13:57 +01:00
Renamed from rhodecode/templates/base/root.html (Browse further)