gosora/router_gen
Azareal 27a4a74840 You can now re-order forums by dragging them in the Forum Manager.
Added some visual and textual hints to make it clearer that Menu Items and Forums can be dragged.
Added a hint to flush the page after pushing the <head>
Added the notice client template and pushNotice client function.

Used a pointer instead of a struct for AnalyticsTimeRange in the analytics routes.
Caught a potential missing error check in InitPhrases.
Use struct{} instead of bool in some of the user mapping maps for WebSockets to save space.
Added the buildUserExprs function to eliminate a bit of duplication.
Fixed a typo in ForumsEdit where it referenced a non-existent notice phrase.
Client hooks can now sort of return things.
Panel phrases are now fetched by init.js, but only in the control panel.
Reduced the number of unused phrases loaded in both the front-end and the control panel.

Plugin hyperdrive should handle Gzip better now.

Added the panel.ForumsOrderSubmit route.

Added the panel_hints_reorder phrase.
Moved the panel_forums phrases into the panel. namespace.
Added the panel.forums_order_updated phrase.
Renamed the panel_themes_menus_item_edit_button_aria phrase to panel_themes_menus_items_edit_button_aria
Renamed the panel_themes_menus_item_delete_button_aria phrase to panel_themes_menus_items_delete_button_aria
Added the panel_themes_menus_items_update_button phrase.

You will need to run the patcher / updater for this commit.
2019-04-27 16:32:26 +10:00
..
build.bat Gosora now uses the generated router. There's still a fair bit of work to be done on this, I might turn the switch into a proper parser at some point, as there are a few inefficiencies in it's design. 2017-04-13 10:26:40 +01:00
main.go Some more places to use c. instead of common. 2019-04-19 17:25:49 +10:00
route_group.go Trying to reduce the amount of UserCheck() boilerplate in the routes. 2018-11-12 19:23:36 +10:00
route_impl.go Shorten common. to c. in the router. 2019-04-19 17:16:09 +10:00
route_subset.go Moving the files into subpackages 1/? 2017-11-10 03:33:11 +00:00
router.go Refactored the route declarations. 2018-11-13 14:43:05 +10:00
routes.go You can now re-order forums by dragging them in the Forum Manager. 2019-04-27 16:32:26 +10:00
run.bat Gosora now uses the generated router. There's still a fair bit of work to be done on this, I might turn the switch into a proper parser at some point, as there are a few inefficiencies in it's design. 2017-04-13 10:26:40 +01:00