Commit graph

48 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
Andrii V
6fe5736648 New implementations and updates for security scan 2026-01-16 16:53:31 +01:00
Andrii V
9ce6ca8fd8 Initial implementation of security scan for PRs 2026-01-15 16:48:04 +01:00
RhodeCode Admin
9e9b09f082 fix(emails): fixed white background in email templates 2024-10-24 14:57:31 +02:00
RhodeCode Admin
de2720a20a templates: removed utf8 marker for python3 migration 2023-07-17 14:59:08 +02:00
Milka Kuzminski
72085d16b0 pull-requests: fixed problems with unicode characters in branches. 2021-04-08 16:59:58 +02:00
Milka Kuzminski
3cfae0d77f automation: enabled automated check for new versions. 2021-02-04 23:40:58 +01:00
Milka Kuzminski
54ee3ab1fa pull-requests: fixed a case when template marker was used in description field.
fixes #5652
2021-02-01 23:10:32 +01:00
Milka Kuzminski
8791b52422 markdown: improved styling, and fixed nl2br extensions to only do br on new elements not inline.
- backported the code from latest markdown which we don't support.
2020-10-18 10:10:20 +02:00
Marcin Kuzminski
80da773011 reviewers: added observers as another way to define reviewers.
- fixes #4183
2020-10-06 08:49:13 +02:00
Marcin Kuzminski
9430615145 pull-requests: overhaul of the UX by adding new sidebar
- sidebar aggregates comments, todos, observers, referenced tickets, and reviewers
- live components push now comments, reviewer presence, and todo live via channelstream
- sidebar is collapsable, and stored in user session
- simplified number of information on the pull request page
- fixed and cleanup of the outdated comments and at version comments that in some cases reported wrong version assignment.
2020-09-01 12:09:40 +02:00
Marcin Kuzminski
bdf49e02d6 emails: added logic to allow overwriting the default email titles via rcextensions. 2020-07-16 12:37:52 +02:00
Marcin Kuzminski
50d91914f5 emails: set References header for threading in mail user agents even with different subjects
- drop template headers() function as it wasn't used, and actually had bad implementation
2020-07-15 21:37:03 +02:00
Marcin Lulek
c796175f60 emails: improved styling, and fixed problems with some email clients
- fixes #5620
2020-06-09 11:19:46 +02:00
Marcin Kuzminski
d0a117b4ad exception-tracker: enable send email on exception 2020-03-26 14:03:07 +01:00
Marcin Kuzminski
6a0c148cae emails: added premailer for inline style formatting to make emails render nicer on all email clients. 2020-03-26 12:40:21 +01:00
Marcin Kuzminski
04de39adcb emails: fixed some fonts rendering problems in outlook.
- it's not perfect, but we're getting there...
2020-01-22 15:17:47 +01:00
Marcin Kuzminski
c5c266b2e3 emails: updated comment template header to be exactly like other email templates. 2019-12-04 22:10:53 +01:00
Marcin Kuzminski
03b4b5ba7b pull-requests: added update pull-requests email+notifications
- fixed generated update message comments + invalid anchor linkes generated to the changed files
- unified headers on all email messages for pull requests
2019-12-04 20:58:23 +01:00
Marcin Lulek
2d0da2ef00 emails: don't use tag type for commit flow in pull-request type emails.
- they don't render nicely in small devices
- they are way off visually to all other elements of emails making it almost like a primary elements (which they aren't)
2019-11-27 13:41:31 +01:00
Daniel Dourvaris
45de0aae6c notifications/emails: improve notification display and rendered emails structure 2019-11-13 01:44:55 +01:00
Daniel Dourvaris
1cda15c2a2 emails: expose inline/general next to comment type. 2019-11-08 16:40:09 +01:00
Daniel Dourvaris
603a3c0545 emails: added reply link to comment type emails
- also added note/todo ID in display
- cleanup code for anchor resolution, and selected elements highlight
2019-11-08 13:05:34 +01:00
Daniel Dourvaris
453a6ee9a2 emails: updated emails design and data structure they provide.
- more consistent UI for emails
- nicer formatting, plaintext emails
- major cleanup and fixes lots of incosistencies
- additionally debug-style now allows to test emails in browser for faster development
2019-11-05 19:07:09 +01:00
Daniel Dourvaris
33f90bf320 emails: improve fonts and rendering of email htmls.
- fixes #5505
2018-10-29 11:15:33 +01:00
Marcin Kuzminski
30782b54db comments: update comments email templates.
- use status prefix
- use more readable texts
2018-10-10 12:36:05 +02:00
Marcin Kuzminski
a9064c5007 translation: unified usage of pluralize function ungettext.
- now it's consistent _ungettext for pylons and pyramid
- will allow easier migration to full pyramid codebase
2017-07-24 10:00:06 +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
50a0a1e75a emails: fixed qualified url in user registration email. 2017-06-05 20:04:28 +02:00
Marcin Kuzminski
37094cb9b3 emails: fixed newlines in email templates that can break email sending code. 2017-05-03 18:44:10 +02:00
Marcin Kuzminski
90a7661dde emails: fix url for user registration to be a fully qualified path. 2017-04-18 14:34:05 +02:00
Marcin Kuzminski
260eea9c79 user-profile: migrated to pyramid views. 2017-03-02 18:10:10 +01:00
Marcin Kuzminski
0ca4b7cbfc password-reset: strengthten security on password reset logic.
- generate token that has special password reset role
- set 10 minut expiration on the token
- add some sleep to prevent bruteforcing attacks
- use implicit messages to prevent user email discovery attacks
2017-02-26 21:28:09 +01:00
Marcin Kuzminski
8c73a665d3 emails: added note types into emails. Fixes #5221 2017-02-17 17:15:05 +01:00
Marcin Kuzminski
a3624ab66c html: fixed found syntax problems 2017-01-04 22:45:53 +01:00
lisaq
590e434a24 notifications: adding pre-wrap to descriptions in emails 2016-08-03 17:33:13 +02:00
Marcin Kuzminski
1b62606fc2 emails: added new tags to status sent
- make this distinct colored tags for quick status catch
- pass in the status type together with label to the notifiactions and templates
- fixed some UI issues on emails
2016-08-03 15:21:38 +02:00
Marcin Kuzminski
3b24829209 emails: bring back no-escape in titles as those
create html and email clients escape resulting in escaped html tags in email titles
2016-08-03 13:00:10 +02:00
Marcin Kuzminski
136edf9c51 emails: use more consistent output between commits email and pull request email. 2016-08-02 21:25:23 +02:00
Marcin Kuzminski
18ae54e604 emails: optimize some labels, and made few i18n fixes.
- use more consistent messages
- use `data` variable for readability
- don't show some redundant info on comments
- use better titles that reflect action
2016-08-01 23:14:02 +02:00
Marcin Kuzminski
658ecbf1d0 i18n: fixed translation for pull_request_review email template. 2016-08-01 22:08:59 +02:00
lisaq
dd019e50a0 notifications: less click space in email header and footer 2016-07-28 23:33:34 +02:00
lisaq
5fa18a8f7d notifications: adjusting how instance name is passed and fixing tests 2016-07-28 17:35:30 +02:00
lisaq
194666a60f notifications: adding footer to email template main.mako 2016-07-28 14:45:21 +02:00
lisaq
11d00c528b notifications: example in base email template 2016-07-28 14:40:49 +02:00
lisaq
b8c9f0a998 notifications: restyling email templates #4087 2016-07-28 14:12:37 +02:00
Marcin Kuzminski
bb56417060 emails: expose profile link on registation email. Implements #3999. 2016-06-28 15:22:22 +02:00
Marcin Kuzminski
9a0d8c0b77 project: added all source files and assets 2016-05-24 15:56:53 +02:00