aboutsummaryrefslogtreecommitdiff
path: root/module/calp/html/view (unfollow)
Commit message (Collapse)Author
2022-07-07Change date/time interface.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-23Clean up btn.Hugo Hörnquist
2022-06-23Normalize keyword syntax.Hugo Hörnquist
2022-06-23Remove procedure tabset.Hugo Hörnquist
Tabset gave me a CSS-powered set of tabs. However, tabs are interactive, and I have moved most interaction to JavaScript. Making this procedure obsolete.
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-11Fixup translatable strings.Hugo Hörnquist
2022-04-05Made sidebar date headings sticky.Hugo Hörnquist
2022-03-28Remove assert.Hugo Hörnquist
Barely used, and almost always was better server by a propper error call.
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-15Move summary-filter and description-filter configs to more sensible place.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-13Add remove home button to seacrh page.Hugo Hörnquist
2022-01-31Add tree-node.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-10Repair event position in week.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-07Add fullscreen button to popups.Hugo Hörnquist
2021-12-06Add clarifying comments.Hugo Hörnquist
2021-12-02Add basic changelog viewHugo Hörnquist
2021-11-30Rework tab system.Hugo Hörnquist
This sepparates popup-elements from their tabbed contents, allowing clearer sepparations of concerns, along with easier adding and removing of tabs to the tabset!
2021-11-26Display categories in event description.Hugo Hörnquist
2021-11-21Rework popup components.Hugo Hörnquist
Previously popups were driven through some CSS hacks, which used labels with specific positioning, and z-index changes. This never really worked, and led the rest of the tree to be unmanagable. This commit replaces that system with a simpler one, which is being driven by javascript. This also allowed a much simpler tree, which allowed us to - make the popups rezisable (with a resize anchor) - move the window handle to above (configurable) - Add and remove tabs without having manually reflow where all labels are
2021-11-19Add basic rrule tab.Hugo Hörnquist
2021-11-18Change popup tabs interface.Hugo Hörnquist
2021-11-18Restore remove event functionality.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-09Better handle debug tab.Hugo Hörnquist
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