FossilRepo

Restore toggle_watch URL, ruff format fix

lmata 2026-04-07 04:29 trunk
Commit 738997c4cbb3815b48362ca70674c4e58c063417bd9b1af443c1eb9e5d8f3990
--- fossil/migrations/0004_historicalprojectwatch_notification_projectwatch.py
+++ fossil/migrations/0004_historicalprojectwatch_notification_projectwatch.py
@@ -5,11 +5,10 @@
55
from django.conf import settings
66
from django.db import migrations, models
77
88
99
class Migration(migrations.Migration):
10
-
1110
dependencies = [
1211
("fossil", "0003_gitmirror_historicalgitmirror_historicalsshkey_and_more"),
1312
("projects", "0001_initial"),
1413
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
1514
]
@@ -18,13 +17,11 @@
1817
migrations.CreateModel(
1918
name="HistoricalProjectWatch",
2019
fields=[
2120
(
2221
"id",
23
- models.BigIntegerField(
24
- auto_created=True, blank=True, db_index=True, verbose_name="ID"
25
- ),
22
+ models.BigIntegerField(auto_created=True, blank=True, db_index=True, verbose_name="ID"),
2623
),
2724
("version", models.PositiveIntegerField(default=1, editable=False)),
2825
("created_at", models.DateTimeField(blank=True, editable=False)),
2926
("updated_at", models.DateTimeField(blank=True, editable=False)),
3027
("deleted_at", models.DateTimeField(blank=True, null=True)),
3128
--- fossil/migrations/0004_historicalprojectwatch_notification_projectwatch.py
+++ fossil/migrations/0004_historicalprojectwatch_notification_projectwatch.py
@@ -5,11 +5,10 @@
5 from django.conf import settings
6 from django.db import migrations, models
7
8
9 class Migration(migrations.Migration):
10
11 dependencies = [
12 ("fossil", "0003_gitmirror_historicalgitmirror_historicalsshkey_and_more"),
13 ("projects", "0001_initial"),
14 migrations.swappable_dependency(settings.AUTH_USER_MODEL),
15 ]
@@ -18,13 +17,11 @@
18 migrations.CreateModel(
19 name="HistoricalProjectWatch",
20 fields=[
21 (
22 "id",
23 models.BigIntegerField(
24 auto_created=True, blank=True, db_index=True, verbose_name="ID"
25 ),
26 ),
27 ("version", models.PositiveIntegerField(default=1, editable=False)),
28 ("created_at", models.DateTimeField(blank=True, editable=False)),
29 ("updated_at", models.DateTimeField(blank=True, editable=False)),
30 ("deleted_at", models.DateTimeField(blank=True, null=True)),
31
--- fossil/migrations/0004_historicalprojectwatch_notification_projectwatch.py
+++ fossil/migrations/0004_historicalprojectwatch_notification_projectwatch.py
@@ -5,11 +5,10 @@
5 from django.conf import settings
6 from django.db import migrations, models
7
8
9 class Migration(migrations.Migration):
 
10 dependencies = [
11 ("fossil", "0003_gitmirror_historicalgitmirror_historicalsshkey_and_more"),
12 ("projects", "0001_initial"),
13 migrations.swappable_dependency(settings.AUTH_USER_MODEL),
14 ]
@@ -18,13 +17,11 @@
17 migrations.CreateModel(
18 name="HistoricalProjectWatch",
19 fields=[
20 (
21 "id",
22 models.BigIntegerField(auto_created=True, blank=True, db_index=True, verbose_name="ID"),
 
 
23 ),
24 ("version", models.PositiveIntegerField(default=1, editable=False)),
25 ("created_at", models.DateTimeField(blank=True, editable=False)),
26 ("updated_at", models.DateTimeField(blank=True, editable=False)),
27 ("deleted_at", models.DateTimeField(blank=True, null=True)),
28
--- fossil/urls.py
+++ fossil/urls.py
@@ -36,10 +36,11 @@
3636
path("sync/git/callback/github/", views.oauth_github_callback, name="oauth_github_callback"),
3737
path("sync/git/callback/gitlab/", views.oauth_gitlab_callback, name="oauth_gitlab_callback"),
3838
path("code/raw/<path:filepath>", views.code_raw, name="code_raw"),
3939
path("code/blame/<path:filepath>", views.code_blame, name="code_blame"),
4040
path("code/history/<path:filepath>", views.file_history, name="file_history"),
41
+ path("watch/", views.toggle_watch, name="toggle_watch"),
4142
path("timeline/rss/", views.timeline_rss, name="timeline_rss"),
4243
path("tickets/export/", views.tickets_csv, name="tickets_csv"),
4344
path("docs/", views.fossil_docs, name="docs"),
4445
path("docs/<path:doc_path>", views.fossil_doc_page, name="doc_page"),
4546
]
4647
--- fossil/urls.py
+++ fossil/urls.py
@@ -36,10 +36,11 @@
36 path("sync/git/callback/github/", views.oauth_github_callback, name="oauth_github_callback"),
37 path("sync/git/callback/gitlab/", views.oauth_gitlab_callback, name="oauth_gitlab_callback"),
38 path("code/raw/<path:filepath>", views.code_raw, name="code_raw"),
39 path("code/blame/<path:filepath>", views.code_blame, name="code_blame"),
40 path("code/history/<path:filepath>", views.file_history, name="file_history"),
 
41 path("timeline/rss/", views.timeline_rss, name="timeline_rss"),
42 path("tickets/export/", views.tickets_csv, name="tickets_csv"),
43 path("docs/", views.fossil_docs, name="docs"),
44 path("docs/<path:doc_path>", views.fossil_doc_page, name="doc_page"),
45 ]
46
--- fossil/urls.py
+++ fossil/urls.py
@@ -36,10 +36,11 @@
36 path("sync/git/callback/github/", views.oauth_github_callback, name="oauth_github_callback"),
37 path("sync/git/callback/gitlab/", views.oauth_gitlab_callback, name="oauth_gitlab_callback"),
38 path("code/raw/<path:filepath>", views.code_raw, name="code_raw"),
39 path("code/blame/<path:filepath>", views.code_blame, name="code_blame"),
40 path("code/history/<path:filepath>", views.file_history, name="file_history"),
41 path("watch/", views.toggle_watch, name="toggle_watch"),
42 path("timeline/rss/", views.timeline_rss, name="timeline_rss"),
43 path("tickets/export/", views.tickets_csv, name="tickets_csv"),
44 path("docs/", views.fossil_docs, name="docs"),
45 path("docs/<path:doc_path>", views.fossil_doc_page, name="doc_page"),
46 ]
47

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button