You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules/setting
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>
4 years ago
..
cache.go Cache last commit to accelerate the repository directory page visit (#10069) 4 years ago
cors.go Movde dependents on macaron from modules/setting (#10050) 4 years ago
cron.go Update migrated repositories' issues/comments/prs poster id if user has a github external user saved (#7751) 5 years ago
database.go Fix SQLite concurrency problems by using BEGIN IMMEDIATE (#10368) 4 years ago
database_sqlite.go Move database settings from models to setting (#7806) 5 years ago
database_test.go Move database settings from models to setting (#7806) 5 years ago
git.go Make PR message on pushes configurable (#10664) 4 years ago
indexer.go Add detected file language to code search (#10256) 4 years ago
indexer_test.go Restrict repository indexing by glob match (#7767) 5 years ago
log.go Use Req.URL.RequestURI() to cope with FCGI urls (#9473) 5 years ago
mailer.go Use gitea forked macaron (#7933) 5 years ago
markup.go Markdown: Sanitizier Configuration (#9075) 5 years ago
migrations.go Add retry for migration http/https requests (#9019) 5 years ago
queue.go Add Unique Queue infrastructure and move TestPullRequests to this (#9856) 4 years ago
repository.go Make archive prefixing configurable with a global setting (#9943) 4 years ago
service.go Add /milestones endpoint (#8733) 5 years ago
session.go Movde dependents on macaron from modules/setting (#10050) 4 years ago
setting.go Use AJAX for notifications table (#10961) 4 years ago
task.go Graceful Queues: Issue Indexing and Tasks (#9363) 5 years ago
webhook.go Add Matrix webhook (#10831) 4 years ago