aboutsummaryrefslogtreecommitdiff
path: root/module/calp/server/routes.scm (follow)
Commit message (Collapse)AuthorAge
* Add /everything.ics endpoint.HEADshowmasterHugo Hörnquist2022-10-24
| | | | | Endpoint returns all events in interval. Used to sync to other calendars.
* Replace root-redirect with propper HTTP 307.Hugo Hörnquist2022-10-24
|
* Minor cleaup.Hugo Hörnquist2022-10-16
|
* Better error handling when submitting events.Hugo Hörnquist2022-10-16
|
* Change gettext '_' to 'G_'.Hugo Hörnquist2022-10-16
| | | | Guile 3 reserves _ for other stuff.
* Rewrote make-routes to use define-syntax.Hugo Hörnquist2022-09-18
| | | | | This is the first step into adding extra functionallity, since I now want have to worry about how namespace pollution works.
* Repair search page.Hugo Hörnquist2022-07-25
|
* Remove (add|remove)-day, and month[+-].Hugo Hörnquist2022-06-23
| | | | | Procedures where overly specific, and doing it manually was almost no more work.
* Add TODO about query parameters.Hugo Hörnquist2022-06-23
|
* Centralize (almost) all exports to :export in define-module.Hugo Hörnquist2022-06-23
|
* Remove custom let*.Hugo Hörnquist2022-06-13
| | | | | | While it was nice, the most important part was the multi-valued let from srfi-71 (which is implemented in srfi-71)). The minor pattern matching structures could often be replaced with car+cdr, or a propper match.
* Allow HTML output of all routes.Hugo Hörnquist2022-06-12
|\ | | | | | | | | | | | | | | XHTML is still the far supperior format. However; Chrome(-like) browsers Lighthouse feature is worth quite a bit when it comes to ensuring a good web page, and Lighthouse refuses to work on anything except text/html. This is my work-around for that.
| * Update remaining routse to new xml or html system.Hugo Hörnquist2022-06-12
| | | | | | | | | | | | The old sxml->html-string was always wrong, since smxl->xml doesn't (necessarily) produce valid HTML. Now we get proper HTML or XHTML, depending on the `html' parameter.
| * Add html parameter to routes.Hugo Hörnquist2022-06-12
| | | | | | | | Finally making the few previous commits worth something.
* | Fix a few strings where translations wheren't applied.Hugo Hörnquist2022-06-11
|/
* Clean up (calp server routes).Hugo Hörnquist2022-06-10
|
* Replace config system with paramater based system.Hugo Hörnquist2022-04-11
| | | | | | | | | | | | | | | | This new setup stores all configurations are parameters. This forces everything into modules, and ensures that we can't have a module use an unloaded config. It (unfortunatelly) also causes users to have to specify namespaces when defining values, but ini-files (and the like) already does that. Also, there is nothing stopping a new `set-config!' from being defined which allows un-namespaced operation. The commit also removes the introspection procedures. They where a bit weird to begin with, since they only showed loaded fields. And since the program had no way of properly serializing or deserializing them we remove them for the time being. They would however be good to reintroduce together with a proper menu for editing simple configuration (see Emacs' `custom-set-variables').
* Fixup translatable strings.Hugo Hörnquist2022-04-11
|
* Merge branch 'translation'Hugo Hörnquist2022-04-07
|\
| * Prepare code for translation.Hugo Hörnquist2022-02-22
| |
* | Move code for saving event away from routes.Hugo Hörnquist2022-04-05
| | | | | | | | | | | | This frees it, currently only for calling it from our import entry point, but this will also allow us to much easier write tests for it (which we need since adding recurring events doesn't work).
* | Check system-error errno correctly.Hugo Hörnquist2022-03-28
| |
* | Use catch* where appropriateHugo Hörnquist2022-03-28
| |
* | Introduce directory-listing.scssHugo Hörnquist2022-03-28
| |
* | HTML directory table now gives 404 instead of 500Hugo Hörnquist2022-03-15
| |
* | Qualify functions in make-routes expansion.Hugo Hörnquist2022-03-15
| | | | | | | | | | Previously, the user of the macro needed a correct environment. This should not be needed any more.
* | Directory listing page now handles subdirectories.Hugo Hörnquist2022-03-15
| | | | | | | | | | Also introduces the configuration setting `static-dir', which is where the static file for the web server are located.
* | Directory table file sizes.Hugo Hörnquist2022-03-15
| |
* | Directory table extra filetypes.Hugo Hörnquist2022-03-15
| |
* | Calp server now 404s on missing file on disk.Hugo Hörnquist2022-03-15
| |
* | Add missing (ice-9 format) imports.Hugo Hörnquist2022-03-06
|/
* Move path-append to own module.Hugo Hörnquist2022-02-01
|
* Move stuff from calp/util to hnh/util.Hugo Hörnquist2022-01-31
| | | | | This is the first (major) step in splitting the generally useful items into its own library.
* Cleanup modules.Hugo Hörnquist2021-12-22
| | | | | | Primarly this moves all vcompenent input and output code to clearly labeled modules, instead of being spread out. At the same time it also removes a handfull of unused procedures.
* Slightly better error hnadling in directory-table.Hugo Hörnquist2021-11-22
|
* Calendar colors now handled through html datasets.Hugo Hörnquist2021-11-10
| | | | | | | | | | | Previously css rules for each calendar (governing color) where handled through CSS classes. This however had the problem that all calendar names needed to be mapped unto valid classnames, and it brought some problems with updating it. This change places the calendar information in the dataset.calendar attribute. It's still base64 encoded, so special characters don't need escaping, and XML doesn't trip up.
* Render attachements to HTML frontend.Hugo Hörnquist2021-08-15
|
* Fix paginator buttons forgetting future clause.Hugo Hörnquist2021-08-15
|
* Change uri-encode to use ->quoted-string.Hugo Hörnquist2021-08-10
|
* Add only-future checkbox on search page.Hugo Hörnquist2021-02-01
|
* Add horrendous / -> /today redirect.Hugo Hörnquist2021-01-14
|
* Can create event with new interface.Hugo Hörnquist2021-01-12
|
* Simplify /insert endpoint.Hugo Hörnquist2020-10-05
|
* Events created and modified by server get LAST-MODIFIED set.Hugo Hörnquist2020-09-07
|
* Propagate errors to HTML search page.Hugo Hörnquist2020-08-27
|
* Add /search/text endpoint.Hugo Hörnquist2020-08-27
|
* Move util modules into calp module..Hugo Hörnquist2020-08-24
|
* Move html modules under calp.Hugo Hörnquist2020-08-23
|
* GET /search without query now works.Hugo Hörnquist2020-08-23
|
* Move more places to use path-append.Hugo Hörnquist2020-08-22
|