aboutsummaryrefslogtreecommitdiff
path: root/module/calp/html/view/calendar.scm (unfollow)
Commit message (Collapse)Author
2022-07-07Change date/time interface.Hugo Hörnquist
2022-06-23Centralize (almost) all exports to :export in define-module.Hugo Hörnquist
2022-06-21Resolve TODO about calendar styles.Hugo Hörnquist
2022-06-16Fix comments being constantly added to po files.Hugo Hörnquist
xgettext:s comment fetcher doesn't handle the same source string at multiple places, with different comments. Meaning that at those places all comments were copied over each time. This commit remove the problematic comments from the source code.
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-12Embedd fragile strings in sxml in procedures.Hugo Hörnquist
Since procedures allow direct controll of the output. Everything worked fine for XML output, but HTML encodes apostrophes as ', which works really bad in script tags.
2022-04-23Introduce component date-jump.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-05Made sidebar date headings sticky.Hugo Hörnquist
2022-03-28Normalize errors.Hugo Hörnquist
2022-03-15Introduce user-additions in frontend.Hugo Hörnquist
Along with an initial example of their use.
2022-03-06Add missing (ice-9 format) imports.Hugo Hörnquist
2022-02-22Prepare code for translation.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-12-12Fix colors on earlier events in sidebarHugo Hörnquist
2021-12-10Add create event button!Hugo Hörnquist
2021-12-10'.btn' no longer contains div.Hugo Hörnquist
Previously I generated buttons on the form <a><div/></a> & <button><div/></button>, which was invalid for button tags. This removes the inner div, with the only cost being that the hitbox for the button is slightly wonky if pressed at the top left where the button isn't when it's depressed, since I move it.
2021-12-10Remove commented out script includes.Hugo Hörnquist
2021-12-10Change {start,end}-date to pre-start and post-end.Hugo Hörnquist
pre-start and post-end are the real intervals for a given page, since some more days than requested are often shown to make sense of a given layout.
2021-12-10Major move from week to calendar meta-view. Also repairs month view.Hugo Hörnquist
2021-12-10Major cleanup in calp html.Hugo Hörnquist
2021-12-09Propagate recurring events to frontend.Hugo Hörnquist
This handles each instance of a recurring event as its own unique event, which allows us to properly send it to the frontend. It's currently not possible to submit the repeating events back, but that is probably a underlying problem.
2021-12-07Deprecate editable-repeat-info, some comments.Hugo Hörnquist
2021-12-06Add clarifying comments.Hugo Hörnquist
2021-11-15Minor fixes.Hugo Hörnquist
2021-11-15Propagate default-calendar from backend to frontend.Hugo Hörnquist
2021-11-10Handle calendar change through dropdown.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-11-08Fix flat event slice for calendars.Hugo Hörnquist
As noted in the fidd, our simple filter-sorted-stream on event-overlaps? missbehaves in some edge cases. The new system "should" work *fingers crossed*.
2021-11-05Start depending on npm.Hugo Hörnquist
Chromium can't handle JavaScript-modules in XHTML-document [1]. The workaround is to use a javascript bundler. Here we start depending on browserify. I evaluated both that and webpack, and browserify seemed to work marginally better with typescript. Unfortunately this also makes us depend on npm, where we unfortunately already are bloatet... $ ls static/node_modules | wc -l 174 [1]: https://bugs.chromium.org/p/chromium/issues/detail?id=717643
2021-10-04Major typescript work.Hugo Hörnquist
2021-10-04Work on calendar from event in frontend, broken.Hugo Hörnquist
2021-10-03workHugo Hörnquist
2021-10-03Further work, rework popup.Hugo Hörnquist
2021-10-01Remove old date_time system.Hugo Hörnquist
2021-09-30Replace today-button with web component.Hugo Hörnquist
2021-09-29Start rework on js setup.Hugo Hörnquist
2021-08-10Add comment about "bug" where calendars where missing their names.Hugo Hörnquist
2021-08-10HTML calendar list now links to list off all their events.Hugo Hörnquist
2021-05-17Add TODO about search formatting.Hugo Hörnquist
2021-05-16Change background when in debug mode.Hugo Hörnquist
2021-03-02Start moving vcal stuff to own class.Hugo Hörnquist
2021-01-13Fix repo-url in HTML.Hugo Hörnquist
2020-12-18Start work on jcal system.Hugo Hörnquist
2020-11-23JS Add date_time pseudo tag.Hugo Hörnquist
2020-11-23Bind large part of rrule.Hugo Hörnquist
2020-11-20Work on templetazing js.Hugo Hörnquist
2020-10-26Cleanup and move input_list to own file.Hugo Hörnquist
2020-10-02Move JS type info into own file.Hugo Hörnquist