Anton Khorev
22841f5908
Convert dashboard test into a system test
...
Allows to remove an id used only for testing.
2024-08-22 17:47:26 +03:00
Anton Khorev
b71425f4b2
Remove outdated test for friends in users controller
2024-08-22 17:41:50 +03:00
Anton Khorev
76736bab4f
Change submit button on block edit page when can only revoke
2024-08-22 14:01:54 +03:00
Anton Khorev
11a7bf7e0e
Remove duration controls for blocks that can only be revoked by editing
2024-08-22 14:01:54 +03:00
Anton Khorev
5e7ab68721
Let all moderators revoke blocks by editing
2024-08-22 14:01:54 +03:00
Anton Khorev
67a5809c8a
Show edit buttons on active blocks to all moderators
2024-08-22 14:01:54 +03:00
Tom Hughes
754a0a9cb5
Merge remote-tracking branch 'upstream/pull/5069'
2024-08-21 19:04:06 +01:00
Anton Khorev
6c4b028232
Record revokers when deactivating blocks by editing
2024-08-19 15:21:59 +03:00
Anton Khorev
cff4c63713
Add deactivates_at date to user blocks
...
Block deactivation dates that take needs_view-block views into account were derived using updated_at. This was possible because inactive blocks couldn't be edited and their updated_at date wouldn't change. With editing of inactive blocks enabled deactivation date needs to be saved explicitly.
2024-08-19 14:33:20 +03:00
Tom Hughes
71d459c71c
Merge remote-tracking branch 'upstream/pull/5091'
2024-08-18 11:59:42 +01:00
Anton Khorev
71f31bfc4c
Use shallow routes for diary comments
2024-08-17 15:12:52 +03:00
Anton Khorev
1e62ae4b18
Remove /user_blocks/new route
2024-08-17 14:03:27 +03:00
Anton Khorev
cfaae9eadd
Don't update ends_at when editing inactive blocks
2024-08-17 13:02:20 +03:00
Anton Khorev
323b7032ba
Prevent reactivating inactive blocks
2024-08-15 12:59:49 +03:00
Tom Hughes
d010e280af
Merge remote-tracking branch 'upstream/pull/5078'
2024-08-14 19:02:07 +01:00
Tom Hughes
68abf2075b
Merge remote-tracking branch 'upstream/pull/5073'
2024-08-14 19:00:20 +01:00
Anton Khorev
09721c6fee
Add article:published_time meta tag to diary entries
2024-08-14 18:00:14 +03:00
Andy Allan
735a5cf9e2
Merge pull request #5056 from AntonKhorev/diary-og-description
...
Set og:description meta tag to diary entry description
2024-08-14 14:38:28 +01:00
Anton Khorev
00db1066ef
Remove unused xml_parse method
2024-08-14 05:58:17 +03:00
Tom Hughes
a0b612ad15
Merge remote-tracking branch 'upstream/pull/5055'
2024-08-07 18:40:40 +01:00
Anton Khorev
5f4ae35814
Set og:description meta tag to diary entry description
2024-08-07 18:59:16 +03:00
Anton Khorev
6f5167b866
Don't order by id when getting last records
2024-08-07 05:08:27 +03:00
Anton Khorev
5e3cda345a
Redirect to newly created diary comment
2024-08-07 04:59:09 +03:00
Tom Hughes
4c00c57c0b
Merge remote-tracking branch 'upstream/pull/5051'
2024-08-06 18:35:36 +01:00
Tom Hughes
0f50292784
Merge remote-tracking branch 'upstream/pull/5050'
2024-08-06 18:33:35 +01:00
Tom Hughes
17a39e804f
Merge remote-tracking branch 'upstream/pull/5049'
2024-08-06 18:30:27 +01:00
Anton Khorev
7556059175
Refactor copypasted invalid node attribute test code
2024-08-06 06:26:03 +03:00
Anton Khorev
2245505185
Don't use XML::Parser when testing changeset upload diffResults
2024-08-06 05:31:26 +03:00
Anton Khorev
2cd63d3001
Always check the order when testing changeset queries
2024-08-06 04:08:18 +03:00
Anton Khorev
243557a31a
Set og:image:alt OpenGraph property
2024-08-05 05:32:47 +03:00
Anton Khorev
2ba7eab67d
Change richtext edit/preview buttons type to non-submit
2024-08-03 04:52:13 +03:00
Milan Cvetkovic
0db47f3f76
Add Messages API
...
as discussed in [Issue #4509 ](https://wiki.openstreetmap.org/w/index.php?title=Messaging_API_proposal )
and documented in [Messaging API reference](https://wiki.openstreetmap.org/w/index.php?title=Messaging_API_proposal )
2024-07-29 10:42:38 +00:00
Anton Khorev
898731ed81
Merge branch 'pull/5020'
2024-07-28 18:54:42 +03:00
Tom Hughes
541f0630ac
Merge remote-tracking branch 'upstream/pull/5022'
2024-07-26 17:52:54 +01:00
Tom Hughes
9e4a240975
Merge remote-tracking branch 'upstream/pull/5016'
2024-07-26 17:47:58 +01:00
Anton Khorev
5e0cf6b0ce
Move check_block_buttons method to other private methods
2024-07-26 03:42:11 +03:00
Anton Khorev
2764591a7d
Allow revokers to edit revoked blocks
2024-07-26 03:38:27 +03:00
Anton Khorev
fd78d3def0
Simplify issue path helper calls
2024-07-26 03:28:42 +03:00
Tom Hughes
5285f69a8a
Merge remote-tracking branch 'upstream/pull/5018'
2024-07-25 17:06:59 +01:00
Tom Hughes
1a7d68ccbc
Convert tests using OAuth 1 tokens to use OAuth 2 tokens
2024-07-25 16:55:47 +01:00
Anton Khorev
724376419a
Simplify api changeset path helper calls
2024-07-25 16:55:27 +03:00
Anton Khorev
a05de1e0a7
Use assert_not_predicate instead of assert_not next to assert_predicate
2024-07-25 04:56:57 +03:00
Anton Khorev
d88cb014cb
Show edit links for revoked blocks to revokers
2024-07-25 04:05:31 +03:00
Tom Hughes
58ac035d41
Merge remote-tracking branch 'upstream/pull/5014'
2024-07-24 18:24:50 +01:00
Tom Hughes
5b118c6828
Merge remote-tracking branch 'upstream/pull/5013'
2024-07-24 18:17:07 +01:00
Tom Hughes
f643b6627c
Merge remote-tracking branch 'upstream/pull/5012'
2024-07-24 18:16:02 +01:00
Anton Khorev
6ec1947e90
Show edit links for inactive blocks on block pages
2024-07-24 04:55:59 +03:00
Anton Khorev
d750cc3e80
Show edit links for inactive blocks in block lists
2024-07-24 04:44:59 +03:00
Anton Khorev
51708d6238
Allow to edit inactive blocks
2024-07-24 04:43:13 +03:00
Anton Khorev
a2aa44e026
Change diary comment post paths
2024-07-23 19:00:02 +03:00