1
0
Fork 0
mirror of https://code.sup39.dev/repos/Wqawg synced 2024-12-27 18:44:51 +09:00
vervis/templates
fr33domlover 2e72684fd5 Switch to new actor layout
This is such a huge patch, it's probably impossible to tell what it does by
looking at the code. One thing is clear: It changes *everything* :P so here's
an overview:

- There are now 5 types of actors, each having its own top-level route
- So projects, repos, etc. are no longer "under" sharers
- Actor routes are now based on their KeyHashid, there are no "idents" anymore,
  i.e. URLs look random and don't contain user or repo names
- No sharers anymore; people and groups are distinct entities not sharing a
  common namespace or anything like that
- Project has been renamed to Deck and it simply means a ticket tracker; repos
  are no longer "under" projects
- In addition to Person, Group, Repo and Deck, there's a new actor type Loom,
  which is a patch tracker; i.e. Repo actors don't manage MRs anymore
- All C2S and S2S is temporarily disabled, because huge changes to the whole
  code are required and I'll do them gradually in the next patches
- Since form-based actions are implemented using C2S, they're disabled as well,
  so Vervis is now essentially read-only
- Some views have been temporarily removed, e.g. repo history and commit view
- A huge set of DB migrations has been added to adapt the DB to these changes;
  I haven't tested them yet on a read DB so there may be errors there; I'll fix
  them in the next patches if I find any (probably going to test on the main
  instance where Vervis itself is hosted...)
- Some modules got tech upgrades, e.g. LocalActor became a higher-kinded type
  and a similar pattern is probably relevant for several other types
- There's an 'Actor' entity in the DB schema now, and all 5 actor types use it
  for common things like inbox and outbox
- Although inbox and outbox are used only by Actor, so essentially could be
  removed, I haven't removed them; that's because I wonder if at some point
  users can have a tree of inboxes much like in email; I don't have an excuse
  for Outbox, but anyway, leaving them as is for now
- Workflows, roles and collaborators are partially removed/unused until I
  figure out a sane federated way to provide these features
- Since repo routes don't contain a "sharer" anymore, SSH URIs are now simpler,
  they already look like user@host/repo regardless of who "controls" that repo
2022-08-15 13:57:42 +00:00
..
discussion Switch to new actor layout 2022-08-15 13:57:42 +00:00
group Use CSS to layout applicative forms more nicely on the pages 2019-07-27 00:05:04 +00:00
key UI: Some tweaks, following ikomi's suggestions, thank you ikomi :) 2019-10-31 11:29:00 +00:00
person Switch to new actor layout 2022-08-15 13:57:42 +00:00
project Switch to new actor layout 2022-08-15 13:57:42 +00:00
repo Switch to new actor layout 2022-08-15 13:57:42 +00:00
sharer Paginate list of sharers on the server 2016-06-06 14:05:06 +00:00
ticket S2S unresolve, C2S resolve & unresolve, use C2S in the UI buttons 2020-08-05 08:28:58 +00:00
widget Switch to new actor layout 2022-08-15 13:57:42 +00:00
workflow Very basic support for ticket label colors 2020-01-16 10:29:47 +00:00
browse.hamlet Switch to new actor layout 2022-08-15 13:57:42 +00:00
default-layout-wrapper.hamlet Style: Replace yesod favicon with Vervis icon made by ikomi (thanks <3) 2022-07-12 14:08:37 +00:00
default-layout.cassius UI: Tweak header and footer display, text size, switch to rem 2022-06-26 08:32:53 +00:00
default-layout.hamlet Switch to new actor layout 2022-08-15 13:57:42 +00:00
password-field.hamlet Implement registration and make it build 2016-02-23 02:27:01 +00:00
people.hamlet Switch actor ID URIs to be /s/ACTOR instead of /p and /g 2019-02-14 22:13:58 +00:00
person-new.hamlet Use CSS to layout applicative forms more nicely on the pages 2019-07-27 00:05:04 +00:00
person.hamlet Switch to new actor layout 2022-08-15 13:57:42 +00:00
personal-overview.hamlet Switch to new actor layout 2022-08-15 13:57:42 +00:00
wiki.hamlet Initial minimal optional per-project wiki 2016-06-04 06:57:54 +00:00