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
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
afffd3bf4b
Remove duration and needs_view inputs from inactive block edit form
2024-08-16 13:00:19 +03:00
Anton Khorev
323b7032ba
Prevent reactivating inactive blocks
2024-08-15 12:59:49 +03:00
Tom Hughes
257ecde90d
Merge remote-tracking branch 'upstream/pull/5075'
2024-08-14 19:06:42 +01:00
Tom Hughes
d010e280af
Merge remote-tracking branch 'upstream/pull/5078'
2024-08-14 19:02:07 +01:00
Tom Hughes
d009219987
Merge remote-tracking branch 'upstream/pull/5074'
2024-08-14 19:01:05 +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
Anton Khorev
8498d0d6a8
Switch to edit pane if rich text field validation fails
...
Allows the "Please fill out this field" message to be visible.
2024-08-14 16:43:57 +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
462996a41a
Rename user blocks system test class
2024-08-14 16:12:05 +03: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
6be766d015
Skip paragraphs with no text when looking for richtext description
2024-08-07 08:02:19 +03:00
Anton Khorev
88a7ca5625
Truncate long richtext descriptions
2024-08-07 08:02:06 +03:00
Anton Khorev
e5279dacde
Detect <p> as richtext paragraph
2024-08-07 08:01:48 +03:00
Anton Khorev
aa8dd75e5e
Use first paragraph as richtext description
2024-08-07 08:01:48 +03:00
Anton Khorev
097a414b22
Add a blank richtext description method
2024-08-07 08:01:14 +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
69a2d5f4d4
Add image_alt accessor to rich text
2024-08-05 05:08:44 +03:00
Tom Hughes
1e15b89f76
Merge remote-tracking branch 'upstream/pull/5042'
2024-08-04 12:36:27 +01:00
Anton Khorev
2ba7eab67d
Change richtext edit/preview buttons type to non-submit
2024-08-03 04:52:13 +03:00
Anton Khorev
37edcb113a
Skip images with missing src
2024-08-02 20:19:10 +03:00
Anton Khorev
25aea657e2
Detect <img> images in markdown rich text
2024-08-02 20:04:59 +03:00
Anton Khorev
05ae8d2e27
Test plaintext trace emails
2024-08-01 19:07:00 +03:00
Anton Khorev
62af3d8745
Test tags with &-encoded characters in trace emails
2024-08-01 19:03:44 +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