aboutsummaryrefslogtreecommitdiff
path: root/web/webserver.scm
AgeCommit message (Expand)Author
2024-11-19Change headers' list into alist•••Change the headers list into an alist to ensure the static files are actually sent back rather than failing with a status 500 error. Frederick Muriuki Muriithi
2024-11-18Make paths ambivalent of working directory.•••Before this commit, the paths depended on the working directory, meaning if you launched the service in the "wrong" working directory, then it could not find the appropriate files. This commit makes the service ambivalent of what the working directory was when it was launched. Frederick Muriuki Muriithi
2024-11-01Make error details into pairs.Frederick Muriuki Muriithi
2024-10-31Make error details into list of cons cells•••If the details are not cons cells, then the `json-build-object` bails with the error: In procedure car: Wrong type argument in position 1 (expecting pair): file-error This fixes that and allows a cleaner response. Frederick Muriuki Muriithi
2024-10-30Fix format for the +info+ pairs•••Fix the format for the info pairs to avoid failure when accessing the root of the application. Frederick Muriuki Muriithi
2024-10-23web: added comment on pathPjotr Prins
2024-09-04Extend edit/commit end-points to push to bare repo.•••* web/view/markdown.scm: Export git-invoke. * web/webserver.scm [+global-repo+]: Delete. [+current-repo-path+]: New variable. (+cgit-repo-path+): New variable. (commit-file-handler): Commit changes to a normal repository and later puh to the bare repository. (controller): Uupdate "GET /edit" and "POST commit" to use the +current-repo+. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-09-04Move constants to the top of the file.•••Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-09-04Properly unquote lists using ","•••Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-08-12Bugfix: return correct status code for edit api.Alexander_Kabui
2024-08-09Use "," to unquote variables/functions.•••Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-08-09Rename info->+info+ info-meta->+info-meta+•••Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com> Munyoki Kilyungi
2024-08-09Apply guix style formatting to files.Alexander_Kabui
2024-08-09Replace string-append with format.Alexander_Kabui
2024-08-09Refactor: naming convention for global constants.Alexander_Kabui
2024-08-09Fix naming for predicates.Alexander_Kabui
2024-08-09Use kebab case for Variables.Alexander_Kabui
2024-08-09Markdown code Linting.Alexander_Kabui
2024-08-09Refactor: Guile webserver code refactoring.Alexander_Kabui
2024-08-05Minor fixes: remove todo.Alexander_Kabui
2024-08-05Use env variable REPO_PATH.Alexander_Kabui
2024-08-05Update commit endpoint rename json data.Alexander_Kabui
2024-08-02code refactoringAlexander_Kabui
2024-08-02refactoring: code cleanupAlexander_Kabui
2024-08-02Add main endpoints for editing and committing fileAlexander_Kabui
2024-07-26Add edit file endpoint.Alexander_Kabui
2023-09-12pico.css worksPjotr Prins
2023-09-11Adding pico cssPjotr Prins
2023-09-11Support for agingPjotr Prins
2023-08-30MSK homePjotr Prins
2023-08-28Serve imagesPjotr Prins
2023-08-28Serve imagePjotr Prins
2023-08-27Started on brandingPjotr Prins
2023-08-23Able to render group dataPjotr Prins
2023-08-22Remove pk statementsPjotr Prins
2023-08-20Add gnid to species - still a bugPjotr Prins
2023-08-19Adding test infrastructure and reorganizing modulesPjotr Prins
2023-08-18Adding test infrastructure and reorganizing modules - still not happy with (w...Pjotr Prins
2023-08-12Specify licensesPjotr Prins
2023-08-11Get expanded species1Pjotr Prins
2023-08-10Some minor refactoringPjotr Prins
2023-08-10Getting taxon metadataPjotr Prins
2023-08-10Render HTML on speciesPjotr Prins
2023-08-10Quick hack for metaPjotr Prins
2023-08-10HTML viewingPjotr Prins
2023-08-07Added first HTML view using code from mumi/davePjotr Prins
2023-08-07Start on displaying HTMLPjotr Prins
2023-08-07Added comment on first API entryPjotr Prins
2023-08-07Update API locationPjotr Prins
2023-08-06SPARQL: move into separate modulePjotr Prins