1
0
Fork 1
mirror of https://github.com/mastodon/mastodon.git synced 2024-12-28 11:09:37 +00:00
Commit graph

9 commits

Author SHA1 Message Date
Matt Jankowski 9974163776
Consolidate inclusion of admin js pack link () 2023-08-24 09:56:23 +02:00
Nick Schonning 67016dd29d
Update haml-lint 0.49.1 () 2023-07-23 17:48:16 +02:00
Nick Schonning 75131e7bf7
Setup haml-lint CI with todo config () 2023-03-15 04:15:36 +01:00
Claire d4f590d6bb
Fix scheduled_at input not using datetime-local when editing announcements () 2023-01-18 16:23:39 +01:00
Claire 3d3bd344cb
Fix announcement dates not being validated client-side () 2022-11-13 20:58:54 +01:00
Claire d9d722d74b
Change admin announcement edition interface to use datetime-local ()
* Change admin announcement edition interface to use datetime-local

* Dynamically set announcement stop date as required if start date is set, set minimum date for stop date

* Change `all_day` to not be bound to presence of time-range

* Add pattern and placeholder as minimal fallback for browsers not supporting datetime-local

* Display datetime-local inputs as local time

Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2022-10-28 12:56:32 +02:00
Eugen Rochko 305abc9e05
Fix design of announcements in admin UI () 2020-01-28 02:21:00 +01:00
Eugen Rochko 663ea84b08
Add publish/unpublish controls to announcements in admin UI () 2020-01-27 11:05:33 +01:00
Eugen Rochko f52c988e12
Add announcements ()
* Add announcements

Fix 

* Add reactions to announcements

* Add admin UI for announcements

* Add unit tests

* Fix issues

- Add `with_dismissed` param to announcements API
- Fix end date not being formatted when time range is given
- Fix announcement delete causing reactions to send streaming updates
- Fix announcements container growing too wide and mascot too small
- Fix `all_day` being settable when no time range is given
- Change text "Update" to "Announcement"

* Fix scheduler unpublishing announcements before they are due

* Fix filter params not being passed to announcements filter
2020-01-23 22:00:13 +01:00