aboutsummaryrefslogtreecommitdiff
path: root/module/calp/server (unfollow)
Commit message (Collapse)Author
2022-10-24Add /everything.ics endpoint.HEADshowmasterHugo Hörnquist
Endpoint returns all events in interval. Used to sync to other calendars.
2022-10-24Replace root-redirect with propper HTTP 307.Hugo Hörnquist
2022-10-16Minor cleaup.Hugo Hörnquist
2022-10-16Better error handling when submitting events.Hugo Hörnquist
2022-10-16Change gettext '_' to 'G_'.Hugo Hörnquist
Guile 3 reserves _ for other stuff.
2022-09-18Rewrote make-routes to use define-syntax.Hugo Hörnquist
This is the first step into adding extra functionallity, since I now want have to worry about how namespace pollution works.
2022-07-25Repair search page.Hugo Hörnquist
2022-06-23Remove (add|remove)-day, and month[+-].Hugo Hörnquist
Procedures where overly specific, and doing it manually was almost no more work.
2022-06-23Add TODO about query parameters.Hugo Hörnquist
2022-06-23Centralize (almost) all exports to :export in define-module.Hugo Hörnquist
2022-06-13Remove custom let*.Hugo Hörnquist
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.
2022-06-12Update remaining routse to new xml or html system.Hugo Hörnquist
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.
2022-06-12Add html parameter to routes.Hugo Hörnquist
Finally making the few previous commits worth something.
2022-06-11Fix a few strings where translations wheren't applied.Hugo Hörnquist
2022-06-10Clean up (calp server routes).Hugo Hörnquist
2022-04-11Replace config system with paramater based system.Hugo Hörnquist
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').
2022-04-11Fixup translatable strings.Hugo Hörnquist
2022-04-05Move code for saving event away from routes.Hugo Hörnquist
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).
2022-03-28Check system-error errno correctly.Hugo Hörnquist
2022-03-28Use catch* where appropriateHugo Hörnquist
2022-03-28Introduce directory-listing.scssHugo Hörnquist
2022-03-15HTML directory table now gives 404 instead of 500Hugo Hörnquist
2022-03-15Qualify functions in make-routes expansion.Hugo Hörnquist
Previously, the user of the macro needed a correct environment. This should not be needed any more.
2022-03-15Directory listing page now handles subdirectories.Hugo Hörnquist
Also introduces the configuration setting `static-dir', which is where the static file for the web server are located.
2022-03-15Directory table file sizes.Hugo Hörnquist
2022-03-15Directory table extra filetypes.Hugo Hörnquist
2022-03-15Calp server now 404s on missing file on disk.Hugo Hörnquist
2022-03-06Add missing (ice-9 format) imports.Hugo Hörnquist
2022-02-22Prepare code for translation.Hugo Hörnquist
2022-02-01Move path-append to own module.Hugo Hörnquist
2022-01-31Move stuff from calp/util to hnh/util.Hugo Hörnquist
This is the first (major) step in splitting the generally useful items into its own library.
2021-12-22Cleanup modules.Hugo Hörnquist
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.
2021-11-22Slightly better error hnadling in directory-table.Hugo Hörnquist
2021-11-10Calendar colors now handled through html datasets.Hugo Hörnquist
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.
2021-08-15Render attachements to HTML frontend.Hugo Hörnquist
2021-08-15Fix paginator buttons forgetting future clause.Hugo Hörnquist
2021-08-10Change uri-encode to use ->quoted-string.Hugo Hörnquist
2021-02-01Add only-future checkbox on search page.Hugo Hörnquist
2021-01-14Add horrendous / -> /today redirect.Hugo Hörnquist
2021-01-12Can create event with new interface.Hugo Hörnquist
2020-10-05Simplify /insert endpoint.Hugo Hörnquist
2020-09-07Events created and modified by server get LAST-MODIFIED set.Hugo Hörnquist
2020-08-27Propagate errors to HTML search page.Hugo Hörnquist
2020-08-27Add /search/text endpoint.Hugo Hörnquist
2020-08-24Move util modules into calp module..Hugo Hörnquist
2020-08-23Move html modules under calp.Hugo Hörnquist
2020-08-23GET /search without query now works.Hugo Hörnquist
2020-08-22Move more places to use path-append.Hugo Hörnquist
2020-08-17fixes.Hugo Hörnquist
2020-08-17Split module/server into stuff.Hugo Hörnquist