1
* [ ] https://github.com/GitoxideLabs/gitoxide instead of libgit2
2
3
* [ ] We might want to make an über-NIF including connecting to Comrak/ammonia/etc. ourselves (or a separate NIF for that), since overriding stuff in MDEx/Autumn is hard. See markdown.ex.
4
5
* [ ] show dag nav on mobile with popout
6
7
* [ ] use read replica where appropriate
8
* [ ] address our lack of sendmail in container; send mail to status.hostIP:25 (no auth)
9
* [ ] "hooks" also point HEAD to tags when received, oops
10
* [ ] autumn and mdex NIFs are both around 80MB; the latter includes the former. dedupe.
11
12
* [-] per-repo deploy keys: R/O, R/W
13
* i want this for flux
14
* [x] everything except the UI
15
* [ ] the UI
16
* [ ] update the unique index to be per-repo since we've changed auth anyway
17
18
* [ ] tree view isn't getting the right commits for files in subdirectories
19
since we're back to one-directory-at-a-time and need to redo how we search
20
for the last changed commit.
21
* [ ] relative URIs: ugc- prefix, #xyz shouldn't navigate away, etc.
22
* [ ] pressing browser forward/back should trigger fancy blob highlights, not
23
just the automatic :target ones
24
* [ ] some patch links really need to scroll back to top
25
* [ ] actually show commit details at top of tree/blob views
26
27
* [ ] https://talya.nossa.ee ?
28
29
### short term
30
31
- [x] blob
32
- [x] images
33
- [ ] pdfs, etc.
34
- [ ] less polysaturated, leaner design
35
- [ ] do we use Binary explicitly to not have to pass Unk back as a linked list? @fun
36
- [ ] get our tests and coverage fixed again. @pls
37
- [ ] message to end-user when following a redirect (via git)
38
39
### features
40
41
- [ ] dag infinite scroll/load to context
42
- [ ] blob permalink
43
- [ ] responsive (mobile) styles
44
- [ ] override locale user option
45
- [ ] diff 2+ parent commit
46
- [ ] passkey support
47
- jfc https://shadowfacts.net/2023/phoenix-passkeys/
48
- [ ] default branch: choose from existing branches; non-UTF-8 support
49
50
### housekeeping
51
52
- [ ] tab indices on e.g. crear repositorio
53
- [ ] IPv6 check
54
- [ ] redirect to primary host if not on it
55
- [ ] reverse where the structs are defined (between Git2/Nossa.Storage*)
56
- [ ] rename RepositorySelf* to RepositorySettings*?
57
- [ ] extract CGI into its own application; stream request/response in/out
58
- [ ] consider erlexec, or write our own driver, so we can get stderr out of
59
the way
60
- [ ] gettext once-over in hard-to-reach spots
61
- [ ] verify typescript in compile step
62
- [ ] override elixir/erlang used in autumn/mdex to keep all together
63
- there's some wip of this in zmlqmwzq
64
65
### graceful degradation
66
67
- [x] branch selector disappears on safari with javascript on
68
- [ ] "method" links don't work with noscript since they don't do the right
69
thing
70
- [ ] can't dismiss flash
71
- [ ] javascriptless sidebar changes? (then they must go in the URL)
72
73
### production ops
74
75
- [ ] caching: nginx, varnish? fragment?, git object? how much does bandwidth
76
cost at ovh? bunny? integrate caching, backup into nix module.
77
- right now the pawiwo visibly reloads on every page
78
- [ ] DIY anubis? (for easy deploy to other Phoenix/etc. strength in diversity @fun
79
is a real consideration in this fight.)
80
- [ ] backup restore procedure/test
81
- [ ] feature that restores from backup as we make it. ez!
82
- [ ] admin diagnostics page (combine into/with live dashboard somehow?)
83
- [ ] per repo: audit log, pushes, etc. (git hooks?)
84
- [ ] LRU-ish app-level caching: memcached? redis? ets? mnesia?
85
86
### future
87
88
- [ ] avatar upload, associate multiple emails?
89
- [ ] federation?
90
- identity: auth to other nossa instance
91
- auth another instance for avatars
92
- federated MR-type deal?
93
- don't want to redo a whole code review thing here, idt? check out gerrit
94
etc.
95
- see also simon tatham's thing on git; pull request is just "please check
96
again"
97
- opinionated about rebase/jj norms
98
- at the very least we could show interdiffs between pushes etc.
99
- [ ] merge queue? what do i need at work?
100
- [ ] Log in with GitHub/GitLab/Forgxejo? make it easy to work across, to not be
101
completely hecked by network effects?
102
103
104
## archivo
105
106
- [x] change "settings" top right to "account"
107
- [x] repository delete
108
- [x] repository storage
109
- [x] push keys
110
- [x] proper logging (insert some in e.g. storage creation failure)
111
- [x] some kind of log aggregation/interface on kala
112
- [x] test coverage back up
113
- [x] do some more!
114
- [x] work out why jj fails to push!
115
- [x] fix up this /blah/!url nonsense
116
- [x] git store tests
117
- [x] git tests async: use per-runner store
118
- [x] last controller tests
119
- [x] don't rename storage: use only numeric ids in storage
120
- [x] figure out why our distribution metrics ("phoenix.*") don't make it to
121
grafana (or appear in /metrics at all)
122
- [x] try ETS
123
- [x] pawiwo icon
124
- [x] clean up RepositoryGitControllerTest
125
- [x] Anubis/Nepenthes/?
126
- See https://lobste.rs/s/dmuad3/mitigating_sourcehut_s_partial_outage --- we
127
will need to be prepared; robots.txt, etc., and above all usage stats/graphs
128
so we can see it happen.
129
- [x] https://git.sr.ht/robots.txt is a good start, though of course it isn't
130
saving them. Still, no reason to start from zero.
131
- [x] start of gettext support
132
- [x] main browsing interface, ui polish/consistency
133
- [x] navigate tree
134
- [x] zindex fix for icons overlaying nav bit
135
- [x] select commit
136
- need to resolve a rev instead of a branch now
137
- [x] include breadcrumbs in Diff view
138
- [x] wherever "path=" is sneaking into our URLs, get it out (breadcrumbs)
139
- [x] liveview for navigating within
140
- [x] extract inline classes into css (w/ @apply)
141
- [x] dark mode styles
142
- [x] actual colour system
143
- [x] pawiwo svg for colours
144
- [x] ok dark mode again
145
- [x] safari, chromium
146
- [x] repository redirects
147
- [x] tailwind v4
148
https://elixirforum.com/t/mix-tailwind-4-0-0-beta-1-support/67636/17
149
- [x] more post-liveview cleanup of repository controller; check over
150
auth-related stuff.
151
- [x] then back to (re)design
152
- [x] work out whether diff view will be within the same liveview, a different
153
one, etc.? - it may be overkill; navigating the tree responsively is nice,
154
but the huge diffs might make browsers sick. gotta test!
155
- [x] decide on the repository view design; do we keep the commits there? do
156
we make the sidebar collapsable a la ~~yuta~~ hexdocs etc.? something
157
else entirely?
158
- what do i want to see when i hit a root of a repo? what are the various
159
reasons i end up on one of those on github/srht/etc.?
160
* linked to as a project's "home page", searched and the first result (or
161
apparent best result for an official download or similar)
162
* directly navigated to because i want to browse the source of something
163
i don't have a local clone of (and i haven't yet hit the threshold
164
where i need to use tools to look thru; source aware views can sometimes
165
abrogate the need but often (e.g. github's views + semantic index)
166
they're an untenable degree of both meh design usability (in e.g., links
167
are all too small, everything bunched up on the side, often starting to
168
scroll horizontally by this point; not a priority) and flawed impl (in
169
e.g. elixir outlining. is this just from elixir-ls? tree-sitter?))
170
* often want a specific version (i.e. something i'm running/using),
171
sometimes just browse main/master if cbf/not relevant/more interested
172
in design than exact
173
* summary of this point: "whatever would be unnecessary if i always had
174
a clone of everything". i don't, but i'm in the position of improving
175
the situation for when you don't -- what actually helps?
176
* sometimes i do this even in the presence of a clone on disk, because
177
i'm *using* that one somehow, but i cbf creating a new worktree.
178
similar result. a browser window (and the way you can open lots of
179
them, to various paths/versions/etc) is a much smaller cognitive unit
180
to manage than a worktree.
181
* how often do i want to see the whole commit list straight up front like
182
this? (day separations would give this a lot more context, for what
183
it is.)
184
* almost always would prefer the *graph*; i almost never prefer the
185
straight log style locally. (think about jj log view.)
186
* there are three axes: commit (temporal), path (spatial), view (fn).
187
github exposes commit consistently, path inconsistently (compare blob
188
view to commit history restricted to a subpath), view inconsistently
189
("Commits" page vs 2.5 tree pages (root, non-root w/ README, non-root;
190
sidebar tree only visible in non-root) vs blob (very aligned with
191
non-root tree). root really is the odd one out, since it's a landing
192
page.)
193
* big commit *graph* that stashes in side: file listing-style tree view
194
that then collapses into expanding tree sidebar: blob.
195
* then you can shift around points in the graph while retaining
196
visibility over the directory tree, no reloads/scrolls breaking
197
"immersion".
198
* does the graph stash over to a plain log? i should make sure while i'm
199
developing that i work with the browser the sizes i want to actually
200
be using it at. (i.e. push back against default to 2/3rds code, unless
201
i'm developing a usecase where i'd have the browser at 1/3rd).
202
* sometimes you do want to view just the log of a file or subtree.
203
kinda wanna apply that filter *to* the far-left graph, as a
204
saved-in-navigation thing. then you can nav to a commit (still
205
centred on the tree or file you started the filter from), see it in
206
context, move around, and then at some point you back up or clear
207
the 'path filter' on the DAG view.
208
* note that we want the current path to remain in the tree view
209
when navigating the DAG view even when we don't have a path filter
210
active. same with current blob, if any.
211
* this kind of removes that fake third axis, exposes the other two as
212
proper orthogonal ones. github flattening the DAG with no way to
213
recover is criminal.
214
* and then there's commit view, which is a whole other thing: viewing a
215
commit message & diff.
216
- [x] let's fix our URIs in gen i guess, ?path= is ugly
217
- [x] support submodules in tree
218
- [x] be explicit in which params are UTF-8 encoded & which aren't
219
- [x] global support for non-UTF-8; no error messages
220
- [x] navigate commits on left; focus current commit as navigating
221
- [x] compile-time the storage layer choice
222
- [x] vyxos push fails!
223
- [x] "last commit modified" links are incorrect for subtrees, there's a TODO in
224
git2.rs somewhere
225
- [x] decompose git2's monster "resolve_commit" into somewhat orthogonal ops
226
- [x] syntax highlighting
227
- [x] little live demo with channels of push response
228
- [x] reaffirm backup situation for kala
229
- [x] nix syntax highlighting egumi??
230
- [x] wow! nossa in docker/k8s!
231
- [x] ES: "Clave de empujar creada exitosamente" when creating a new repo!?
232
- [x] new repo => brocken
233
- [x] remove register links if register is disabled
234
- [x] install our own git hooks in repositories, set HEAD on push if unset
235
- [x] assign default branch on first push
236
- [x] this causes clone failures, the weird nix flake stuff we've been seeing, etc.
237
- [x] floating windows don't preserve state on livereload
238
- [x] let's fix the first thing: navigating back to a subtree shouldn't close an
239
open blob. we can keep our existing assigns, or just stream.
240
- [x] open new windows in specified order
241
- [x] default orientation based on aspect ratio
242
- [x] splith(3): need to have up/down too; splitv(3) needs to have left/right.
243
it's too hard to just do that with merges and unmerges.
244
- [x] skip floating windows when finding clientInDirection; similarly,
245
moveClient/mergeClient; their behaviour is very puzzling if it's not clear
246
what's happening
247
- [x] "hooks" are breaking on current live because they're symlinks into old
248
versions of nossa, since GC'd from the nix store!
249
* [x] shynet: add javascript call on live patch
250
* [x] what's nom? https://github.com/NixOS/nixpkgs/pull/430275#pullrequestreview-3089109039
251
* [x] set inline-block for repo breadcrumbs so the underline doesn't over-extend
252
* [x] NixOS tests to ensure the module stays good even after we move to deploying on k8s
253