Commit graph

2299 commits

Author SHA1 Message Date
Andy Allan
f8b04635a7
Merge pull request #5417 from tomhughes/social-share-helper
Refactor social sharing helper
2024-12-19 10:28:13 +00:00
Tom Hughes
fcb2b4459d Improve testing of social sharing buttons 2024-12-19 08:16:59 +00:00
Tom Hughes
88946c3e8b Drop unused options from social_share_buttons 2024-12-19 08:16:58 +00:00
Tom Hughes
dee02bccd3 Drop unused ability to filter social sharing sites 2024-12-19 08:16:57 +00:00
Tom Hughes
e1a1bebd95 Drop render prefix from social_share_buttons function 2024-12-19 08:16:57 +00:00
Anton Khorev
bb561d3ea9 Use within_sidebar in CreateNoteTest 2024-12-19 05:26:45 +03:00
Anton Khorev
c05cdaddbc Move blocked resolve/reactivate tests to ResolveNoteTest 2024-12-19 05:25:23 +03:00
Anton Khorev
25e4a80760 Get note text only from textarea within left sidebar 2024-12-19 05:22:54 +03:00
Anton Khorev
0931f47483 Test share textarea not to leak into note text on reactivation 2024-12-19 05:14:15 +03:00
Tom Hughes
2a5e35c716 Convert social share helper library into a real helper 2024-12-18 15:07:08 +00:00
Tom Hughes
6094a97ce6 Merge remote-tracking branch 'upstream/pull/5391' 2024-12-18 14:11:51 +00:00
Tom Hughes
7d4cc85a31 Merge remote-tracking branch 'upstream/pull/5410' 2024-12-18 13:54:12 +00:00
Anton Khorev
7e7ede890e Merge branch 'pull/4985' 2024-12-18 16:35:01 +03:00
Emin Kocan
95e1aff234 Add social sharing functionality 2024-12-17 23:36:47 +01:00
Tom Hughes
18409c05ab Merge remote-tracking branch 'upstream/pull/5408' 2024-12-17 19:12:49 +00:00
Anton Khorev
79c306ad06 Add patch/put api message update 2024-12-17 17:09:47 +03:00
Anton Khorev
ca4ee6faa9 Show 'api offline' message on new note page 2024-12-17 03:34:14 +03:00
Anton Khorev
5bb23f6f5f Check if db is writable on oauth authorization pages 2024-12-17 02:18:56 +03:00
Andy Allan
83043d6f1c
Merge pull request #5362 from AntonKhorev/color-mode-preference-map
Map color mode preference
2024-12-11 16:53:15 +00:00
Andy Allan
a155a2fda3
Merge pull request #5390 from AntonKhorev/trace-resourceful-routes
Resourceful routes for traces API
2024-12-11 14:04:19 +00:00
Anton Khorev
507c395f51 Move admin users list to its own controller 2024-12-10 18:38:30 +03:00
Anton Khorev
3adb697385 Use resourceful routes for api trace data 2024-12-10 14:21:21 +03:00
Anton Khorev
db3debdd9e Use resourceful routes for api trace create 2024-12-10 13:40:26 +03:00
Anton Khorev
f051a7c1f5 Write browse element icons as <img> 2024-12-09 13:22:34 +03:00
Anton Khorev
16e97c57ca Truncate if necessary and set dir=auto for note usernames 2024-12-04 14:10:09 +03:00
Anton Khorev
c739e061cc Truncate if necessary and set dir=auto for changeset usernames 2024-12-03 10:24:56 +03:00
Anton Khorev
9f34143049 Store selected map color scheme 2024-12-01 04:58:43 +03:00
Anton Khorev
045af66d43 Store selected site color scheme 2024-12-01 04:43:31 +03:00
Anton Khorev
aca9bd205e Add subscribe/unsubscribe buttons to note pages 2024-11-22 00:55:41 +03:00
Anton Khorev
53a33110f0 Add destroy note subscription api endpoint 2024-11-20 20:35:24 +03:00
Anton Khorev
edd12c6995 Add create note subscription api endpoint 2024-11-20 20:34:52 +03:00
Anton Khorev
a25b7953b3 Merge branch 'pull/5297' 2024-11-18 18:15:25 +03:00
Emin Kocan
738e66afa6 Add status filter to user's note page 2024-11-18 15:21:55 +01:00
Anton Khorev
24ccba60cb Style small auth buttons similarly to preferred auth buttons 2024-11-15 19:09:57 +03:00
Andy Allan
cdf9634d08
Merge pull request #5293 from AntonKhorev/user-roles-resourceful-routes
Use resourceful routes for granting/revoking user roles
2024-11-13 18:45:16 +00:00
Tom Hughes
d975100504 Merge remote-tracking branch 'upstream/pull/5312' 2024-11-13 16:55:44 +00:00
Tom Hughes
a42b654606 Make the "remember me" option work as intended 2024-11-13 12:18:23 +00:00
Anton Khorev
ff0569829f Don't update deactivates_at if block was already viewed 2024-11-13 01:41:11 +03:00
Anton Khorev
2347906725 Send notifications to note subscribers instead of commenters 2024-11-08 11:40:55 +03:00
gobinathal
2d8feb6d79 Remove hardcoded rate limit value
Name is chosen to match the equivalent setting in the configuration
of the rate limits for edits.

Fixes #4427.
2024-11-07 18:33:53 +00:00
Anton Khorev
b8247478f4 Use resourceful routes for granting/revoking user roles 2024-11-06 18:38:26 +03:00
Tom Hughes
e15a92a302 Fix new rubocop warnings 2024-11-05 18:23:47 +00:00
Anton Khorev
2d7e0a397a Subscribe users when they interact with notes 2024-10-28 02:35:25 +03:00
Amir E. Aharoni
0d650217f4 Consistent use of quotes
Most strings used single quotes, and a few used
opening backticks. Now it's single quotes everywhere.
2024-10-26 11:39:52 -04:00
Tom Hughes
fb6042e35c Avoid adjusting time by a number of days
Using hours instead of days avoids test failures when moving
past a point in time when the clocks change.
2024-10-25 19:30:27 +01:00
Anton Khorev
eaabf7bb59 Remove "User's Diary" from diary entry og:title 2024-10-20 19:12:09 +03:00
Emin Kocan
40c71f28be Enable eslint and fix eslint errors for osm_test.js 2024-10-12 21:02:10 +02:00
Emin Kocan
b17517e02c Disable eslint for js test files to test for github-ci 2024-10-12 20:50:56 +02:00
Emin Kocan
5c7b7383e7 Use chai assertion style 2024-10-12 20:50:56 +02:00
Emin Kocan
123c7d10a5 Selenium driver working on local 2024-10-12 20:50:38 +02:00