Timur Ismagilov
b7d524880f
Interwiki: Implement /interwiki
...
It just shown what entries there are. It will let administrators modify it later.
2022-05-27 16:43:40 +03:00
Timur Ismagilov
afb5c22c40
Admin: Isolate the panel view
2022-05-18 21:03:36 +03:00
Timur Ismagilov
d9e0fa7f7f
History: Rename the web package
2022-05-18 20:30:42 +03:00
Timur Ismagilov
fdba598c57
History: Isolate primitive diff
2022-05-18 12:26:33 +03:00
Timur Ismagilov
59deabd0d1
Reimplement Navititle with go templates
...
That was rough
2022-04-23 23:35:36 +03:00
Timur Ismagilov
a15eeca117
Isolate help
2022-04-09 11:28:57 +03:00
Timur Ismagilov
2dcb1a5fe7
Backlinks: Isolate
2022-04-02 19:58:57 +03:00
Timur Ismagilov
cc01a3551d
Misc: Move more stuff here, including title search
2022-04-02 11:00:10 +03:00
Timur Ismagilov
5bf3808039
Misc: Move more stuff here
2022-04-02 10:22:26 +03:00
Timur Ismagilov
f8fbc23202
Misc: Make the new package
...
It contains things like hypha list or about wiki pages
2022-04-02 09:38:16 +03:00
Timur Ismagilov
f9857768b7
Categories: Rename exported functions
2022-04-02 01:01:54 +03:00
Timur Ismagilov
c3fafb735f
Categories, views: Refactor the list view
2022-04-01 23:52:56 +03:00
Timur Ismagilov
78bae127b3
Use viewutil.Meta in many places
2022-04-01 22:51:15 +03:00
Timur Ismagilov
eb88cbf23e
Views: Drop the *HTML suffix
2022-03-21 00:24:40 +03:00
Timur Ismagilov
d2a4285e7f
Categories: Implement category pages
2022-03-20 11:21:59 +03:00
Timur Ismagilov
4ab9a88437
Remove some unused stuff
2022-02-20 13:11:29 +03:00
Timur Ismagilov
eb9acb718e
Break a lot of stuff
...
Starring:
* Broken error localization for now (got in the way)
* The title for error pages is the same for all errors (who cares anyway)
* New bugs
* The brand new /rename/ handler
2022-02-19 19:42:32 +03:00
Umar Getagazov
9fca911718
Use Content-Security-Policy
...
And remove inline event handlers.
2022-02-18 16:09:00 +07:00
Mikhail Chekan
ffb43c28ea
Tidy up some more
2021-10-02 01:34:56 +08:00
Mikhail Chekan
85c936d94a
Housekeeping with linter
...
'I do as the golint guides'
2021-10-02 01:14:26 +08:00
Umar Getagazov
33650e965c
Run gofmt
2021-09-29 21:56:17 +07:00
Mikhail Chekan
0780131c00
Initial l18n support
2021-09-27 16:45:23 +08:00
Mikhail Chekan
820de6a0aa
Implement backlinks core (index, i12n and viewing)
2021-09-01 19:25:47 +05:00
handlerug
ea1f0a8e51
Refactor /recent-changes/ handlers
2021-07-25 20:16:34 +07:00
handlerug
49b0a35304
Refactor admin routes
...
They're not perfect, I still don't like them, but I can't think of a
good solution right now. I'm going to thinking about the best way of
doing web stuff for some time.
2021-07-16 01:58:27 +07:00
handlerug
3ee21e312d
Refactor the locking mechanism
2021-07-16 01:14:05 +07:00
handlerug
6fdab4be34
Migrate to gorilla/mux for web needs
...
What a wonderful package!
2021-07-16 00:47:00 +07:00
Timur Ismagilov
938a9e832d
Implement primitive search
...
Basically, it looks if the query is a substring of hypha names
2021-07-12 22:14:08 +05:00
Timur Ismagilov
5d45ae67d4
Make the lock work
...
There is a new config field: Authorization.Locked.
I am a little bit sorry for how actually the lock is implemented. I've added the check on almost every handler there is. Good luck maintaining that ❤️
2021-07-11 00:06:07 +05:00
handlerug
190a1d6ba8
Extract robots.txt into a file, simplify MIMEs
2021-06-23 22:44:27 +07:00
handlerug
41a5da7f56
Fix a typo -> serve CSS with proper Content-Type
2021-06-23 22:36:14 +07:00
Timur Ismagilov
2ce25811af
Reintroduce favicons
...
Store it at the static folder, like before.
I created a new config field for that originally, but then I understood that it is to be thrown away anyway when the Structure comes, so decided to keep it the old way.
2021-06-16 01:35:24 +05:00
handlerug
eefa797097
Replace /page/ with /hypha/ everywhere
2021-06-14 14:20:37 +07:00
handlerug
839f8bc2d6
New static files system
...
assets.qtpl is no more! Now you can just add files to static/ folder,
make sure the extension is registered in static.go (a shortcoming
that'll be addressed in future Go versions), and you're done! It
searches the local file system first, then falls back to the files
embedded with the binary (in the static/ folder).
2021-06-12 20:58:04 +07:00
Timur Ismagilov
fcd4b9b853
Change URLs for static assets
...
/static/... → /assets/...
2021-05-22 23:10:32 +05:00
Timur Ismagilov
b4dd2dcfad
Do nothing in particular
2021-05-11 15:14:00 +05:00
Timur Ismagilov
d69ce77251
Reorganise and document the web stuff a little
2021-05-09 16:09:27 +05:00
Timur Ismagilov
5b4ff5ef68
Move all web-related stuff to a new module
2021-05-09 15:42:12 +05:00