Граф коммитов

6041 Коммитов

Автор SHA1 Сообщение Дата
Harmit Goswami 6df98ce479
Implement filter for searching in rejected translations (#3317) 2024-09-06 16:40:50 +02:00
Harmit Goswami 24256cdc9a
Implement Search Filter for searching within translations only (#3316) 2024-09-05 23:00:56 +02:00
Matjaž Horvat 31f2051a3f
Add ability to filter message recipients by role, project and locale (#3314) 2024-09-05 20:04:40 +02:00
Francesco Lodolo 08eae32fa2
Allow IP ranges in BLOCKED_IPS setting (#3306)
Allow IP ranges — defined with the CIDR notation (e.g. 192.168.1.0/24) — in BLOCKED_IPS setting.
2024-09-04 19:24:14 +02:00
Harmit Goswami 1dd5c81069
Add search options panel with an option to exclude string identifiers (#3288)
- Does not work for Fluent strings yet.
- The feature is temporarily disabled while the rest of the search options are implemented.
2024-09-03 22:58:27 +02:00
Matjaž Horvat 714efff98f
Fix failing contributors test, take 2 (#3311)
See #3294 for the original fix.
2024-09-02 06:53:35 +02:00
Matjaž Horvat a505bf93de
Add specification for Translation Memory Management (#3307) 2024-09-01 19:37:00 +02:00
Matjaž Horvat c0ab963e96
Speed up Django Admin New and Edit pages (#3310)
By introducing autocomplete_fields for fields with a lot of entries. All raw_id_fields are also replaced with autocomplete_fields.
2024-09-01 19:31:58 +02:00
ayanaar fd37b6105c
Implement UX Logging and Fix LLM Translation Shortcut Functionality (#3241) 2024-08-29 17:44:49 +02:00
Matjaž Horvat 5221841f6b
Link to malicious IP detection script from the docs (#3308) 2024-08-29 15:22:25 +02:00
Bryan Olsson aafdf527f1
Add specs for transactional emails (#3295) 2024-08-21 20:46:17 +02:00
Matjaž Horvat 14a458fcef
Revert "Add Subresource Integrity (SRI) to an external script (#3298)" (#3301)
This reverts commit 61d58fc1e4.
2024-08-19 17:36:16 +02:00
ayanaar 54b4d8b449
Adjust prompt to account for HTML tags (#3300)
Co-authored-by: Ayanaa Rahman <arahman@Ayanaas-MacBook-Pro.local>
2024-08-19 16:21:32 +02:00
Matjaž Horvat 61d58fc1e4
Add Subresource Integrity (SRI) to an external script (#3298) 2024-08-16 01:37:36 +02:00
JohnKagunda 87e3d40849
Fix notification timestamp display (#3289)
Use jquery.timeago.js instead of timesince() Django template filter to format notification timestamp consistently with the React notification popup.
2024-08-14 14:24:43 +02:00
Harmit Goswami c5f69bf064
Fix failing test case in contributors/tests/test_utils.py (#3294) 2024-08-02 19:11:25 +02:00
Matjaž Horvat fe2daf1544
Use default Gunicorn worker timeout setting (#3293)
The Heroku router drops a long-running request after 30 seconds, but the dyno behind it
continues processing the request until completion.

Adding a timeout to the webserver ensures that the dyno itself drops the long-running request,
creating capacity for other requests.

A while ago the webserver timeout was set to 120 seconds, in order to potentially help
with long request like downloading TMX files via curl. It's not clear if this was actually
helpful, but it increases a chance of Applcation Errors under heavy load.
2024-08-01 18:27:19 +02:00
Matjaž Horvat 2e53adffb5
Remove script to create source repos for Thunderbird and Seamonkey (#3287) 2024-07-30 21:01:15 +02:00
Matjaž Horvat 7559f9d0d7
Add new Seamonkey repo URL to MOZILLA_REPOS (#3286) 2024-07-30 17:51:49 +02:00
ayanaar 2d5872e78b
Update UXActionLog records (#3283) 2024-07-26 22:42:30 +02:00
Harmit Goswami 6db8a16dce
Add button to show older activity in the profile page (#3255) 2024-07-23 16:52:18 +02:00
JohnKagunda d310eab4b2
Update: Removed docker/k8s-first-steps (#3280) 2024-07-22 10:35:28 +02:00
JohnKagunda 185a7e0b05
Add ability to log to a file (#3260)
Co-authored-by: Matjaž Horvat <matjaz.horvat@gmail.com>
2024-07-17 11:34:43 +02:00
ayanaar e31fb16a44
Add Specification for Gamification Badges (#3277) 2024-07-16 17:51:13 +02:00
Harmit Goswami 136e382a11
Sort dates for insights chart (#3278) 2024-07-11 23:26:05 +02:00
Matjaž Horvat 434a77c6c0
Add ability to send transactional emails (#3272) 2024-07-11 09:13:06 +02:00
dependabot[bot] c41cf143f8
Bump certifi from 2024.2.2 to 2024.7.4 in /docs (#3274)
Bumps [certifi](https://github.com/certifi/python-certifi) from 2024.2.2 to 2024.7.4.
- [Commits](https://github.com/certifi/python-certifi/compare/2024.02.02...2024.07.04)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-06 11:28:57 +02:00
ayanaar f1e958d83c
Enhance user action logging (#3273) 2024-07-04 18:24:13 +02:00
Harmit Goswami 86041d97ff
Show the correct review time in tooltip (#3270)
Also: unify datetime formats between tooltips.
2024-07-03 22:52:48 +02:00
Matjaž Horvat 4fd99f4595
Add ability to send emails and notifications from the Messaging Center (#3259)
Note that until we implement recipient filters, the recipient of the messages is the sender.

Also included:
- Factor out check-box CSS
- Make .notification selectors in style.css and main.js more specific
2024-07-02 12:13:58 +02:00
Harmit Goswami cd0a3fdac4
Add reviewed time information to reviewed strings tooltip (#3263) 2024-07-02 10:20:35 +03:00
Francesco Lodolo b4c53ea2c5
Update compare-locales to 9.0.4 (#3267) 2024-07-01 11:50:44 +02:00
Eemeli Aro 7746964827
Revert using bulk_create for new projectlocales (#3265) 2024-06-28 16:01:18 +03:00
dependabot[bot] c73f1aa762
Bump ws from 8.13.0 to 8.17.1 (#3258)
Bumps [ws](https://github.com/websockets/ws) from 8.13.0 to 8.17.1.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.13.0...8.17.1)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-18 09:17:17 +02:00
dependabot[bot] d4f4250498
Bump urllib3 from 2.2.1 to 2.2.2 in /docs (#3257)
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.2.1...2.2.2)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-18 09:11:51 +02:00
dependabot[bot] e6e1321b9f
Bump braces from 3.0.2 to 3.0.3 (#3256)
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-17 18:57:28 +02:00
Harmit Goswami 5bb0877614
Added capability to mention users by username (#3253) 2024-06-07 20:43:19 +02:00
Harmit Goswami 17965f2585
Fixed spacing bug after mentions in comments (#3252) 2024-06-06 18:12:29 +02:00
Francesco Lodolo 1f7b2929d6
Use isort to format Python imports (#3251) 2024-06-05 06:09:35 +02:00
Francesco Lodolo d650739031
Replace black, flake8, pyupgrade with ruff for Python linting and formatting (#3248) 2024-06-03 19:08:47 +02:00
Harmit Goswami a19ec1fb0f
Upgraded @codemirror dependencies to latest versions (#3250)
Co-authored-by: Harmit Goswami <hgoswami@MacBook-Pro.local>
2024-05-31 17:32:55 +02:00
Matjaž Horvat e0f9029b79
Add equal weight to the No, thanks button on the Email consent page (#3242) 2024-05-30 22:15:55 +02:00
Harmit Goswami d9679bb494
Upgraded Chart.js to version 4.4.2 (#3233)
* Upgraded Chart.js to v4.4.2

* Got chart legends to appear again, with incorrect CSS

* Fixed major chart legend styling issues

* Added cubic interpolation and gradients back

* Removed chart variable assignments that caused linting errors

* Changed to local import for Chart.js, Moment.js, and Chart-adapter-Moment.js

* Loaded Chart.js through Django pipeline instead of base.html

* Fixed major styling bugs for locale/insights charts

* Fixed linting issue in insights_tab

* Fixed major styling issues for insights charts

* Fixed linting errors

* Fixed profile chart styling, clipping issues for all graphs

* Fixed formatting issue in Profile.js

* Fixed styling issues for tooltips on all charts

* Fixed tooltip label styling, disabled graphs bug

* fixed rander issue for insights and date formatting

* linting fixes

* Refactored HTML Legend logic

* linting fixes

* fixed display bug for insights charts

* Changed moment.js to date-fns.js

* Fixed tooltip import for date-fns and alt-click legned bug

* Improved line visibility on insights chart, standardized thousands seperator for all locales

* Implemented review comments, refactored labelColor for tooltips

* Refactored logic for changing tooltip label colors

* Refactored htmlLegendPlugin logic for better code readability

* Simplified anonymous function calls for setLabelColor

---------

Co-authored-by: Harmit Goswami <hgoswami@LH7VKLQY46.local>
Co-authored-by: Harmit Goswami <hgoswami@MacBook-Pro.local>
2024-05-30 22:13:51 +02:00
Matjaž Horvat a3e5252f94
Implement email unsubscribe page (#3237)
This patch adds a unique user identifier to existing and new users, and uses it to create personalized unsubscribe links.
2024-05-30 08:40:54 +02:00
dependabot[bot] fadf6976b6
--- (#3235)
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-22 12:24:51 +02:00
Matjaž Horvat 7f78be7d7f
Create email consent page (#3231)
- Adds Email consent screen as per the spec for existing and new users.
- Prevent random test failures
2024-05-20 15:19:12 +02:00
ayanaar 071829c820
Fix LLM machinery source issue in database (#3230) 2024-05-15 20:05:52 +02:00
Matjaž Horvat 890be4a534
Add new tour card for email communications (#3229) 2024-05-14 22:34:37 +02:00
Eemeli Aro 3a33989d1a
Drop bin/mozilla-en-US.py (#3218) 2024-05-14 15:17:35 +02:00
Harmit Goswami d6d79f6afc
Added Tags search field to both Project and Localization dashboards (#3215)
Co-authored-by: Harmit Goswami <hgoswami@LH7VKLQY46.local>
2024-05-14 10:30:33 +02:00