1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-31 08:37:35 -04:00
gitea/templates
zeripath b10c416f9e
Use AJAX for notifications table (#10961)
* Use AJAX for notifications table

Signed-off-by: Andrew Thornton <art27@cantab.net>

* move to separate js

Signed-off-by: Andrew Thornton <art27@cantab.net>

* placate golangci-lint

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Add autoupdating notification count

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Fix wipeall

Signed-off-by: Andrew Thornton <art27@cantab.net>

* placate tests

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Try hidden

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Try hide and hidden

Signed-off-by: Andrew Thornton <art27@cantab.net>

* More auto-update improvements

Only run checker on pages that have a count
Change starting checker to 10s with a back-off to 60s if there is no change

Signed-off-by: Andrew Thornton <art27@cantab.net>

* string comparison!

Signed-off-by: Andrew Thornton <art27@cantab.net>

* as per @silverwind

Signed-off-by: Andrew Thornton <art27@cantab.net>

* add configurability as per @6543

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Add documentation as per @6543

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Use CSRF header not query

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Further JS improvements

Fix @etzelia update notification table request
Fix @silverwind comments

Co-Authored-By: silverwind <me@silverwind.io>
Signed-off-by: Andrew Thornton <art27@cantab.net>

* Simplify the notification count fns

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: silverwind <me@silverwind.io>
2020-04-24 00:57:38 -03:00
..
admin Add git hook tooltip (#11030) 2020-04-09 18:15:09 -05:00
base Use AJAX for notifications table (#10961) 2020-04-24 00:57:38 -03:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
explore ui: fix status label on branches list vertical alignment (#11109) 2020-04-17 12:35:12 -04:00
mail Style blockquote for default issue mail template (#10024) 2020-01-27 22:35:34 +00:00
org Add Organization Wide Labels (#10814) 2020-04-01 01:14:46 -03:00
pwa Remove nonexistant serviceworker entries (#11091) 2020-04-16 10:33:22 -05:00
repo Fix submodule paths when AppSubUrl is not root (#11098) 2020-04-22 11:34:50 +01:00
status fix 404 and 500 image size in small size screen (#11043) 2020-04-11 17:31:17 -03:00
swagger Add issue subscription check to API (#10967) 2020-04-21 14:48:53 +01:00
user Use AJAX for notifications table (#10961) 2020-04-24 00:57:38 -03:00
home.tmpl Add Octicon SVG spritemap (#10107) 2020-02-11 12:02:41 -05:00
install.tmpl Change default charset for MySQL on install to utf8mb4 (#10989) 2020-04-06 09:33:15 -04:00