aboutsummaryrefslogtreecommitdiff
path: root/web
AgeCommit message (Collapse)Author
3 daysMake error details into pairs.HEADmainFrederick Muriuki Muriithi
4 daysMake error details into list of cons cellsFrederick Muriuki Muriithi
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.
5 daysFix format for the +info+ pairsFrederick Muriuki Muriithi
Fix the format for the info pairs to avoid failure when accessing the root of the application.
12 daysweb: added comment on pathPjotr Prins
2024-09-04Extend edit/commit end-points to push to bare repo.Munyoki Kilyungi
* 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>
2024-09-04Set the branch name to a default value for github links.Munyoki Kilyungi
* web/view/markdown.scm (form-github-raw-url): Make branch an optional value that defaults to "master". (form-github-edit-url): Ditto. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-09-04Remove dead comments.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-09-04Move constants to the top of the file.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-09-04Properly unquote lists using ","Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-08-13Apply guix style linting to file.Munyoki Kilyungi
* web/sxml.scm: Use guix style to lint this file. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-08-12Bugfix: return correct status code for edit api.Alexander_Kabui
2024-08-09Delete dead comments.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-08-09Use "," to unquote variables/functions.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
2024-08-09Rename info->+info+ info-meta->+info-meta+Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
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-09Use camelcase for json responses.Alexander_Kabui
2024-08-09Refactor: Guile webserver code refactoring.Alexander_Kabui
2024-08-09Refactor: Guile Code formatting.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-02Cleanup: Delete empty linesAlexander_Kabui
2024-08-02Add validator to check if prev_commit and current commit matchAlexander_Kabui
* this is to prevent merge conflict
2024-08-02code refactoringAlexander_Kabui
2024-08-02refactoring: code cleanupAlexander_Kabui
2024-08-02Add main endpoints for editing and committing fileAlexander_Kabui
2024-08-02add commit proceduresAlexander_Kabui
2024-07-26Add git util proceduresAlexander_Kabui
2024-07-26Add edit file endpoint.Alexander_Kabui
2024-07-26Add fetch file procedure.Alexander_Kabui
2023-12-03Set version to 4.0.0Pjotr Prins
2023-09-22Markdown and edit buttonPjotr Prins
2023-09-14Added edit buttonPjotr Prins
2023-09-13fixPjotr Prins
2023-09-13Added github resolving and MSK homePjotr Prins
2023-09-13Added github resolving and MSK homePjotr Prins
2023-09-13Fetch from githubPjotr Prins
2023-09-13wipPjotr Prins
2023-09-12Adding markdown supportPjotr Prins
2023-09-12Update MSKPjotr Prins
2023-09-12Updated l&fPjotr Prins
2023-09-12pico.css worksPjotr Prins
2023-09-11Adding pico cssPjotr Prins
2023-09-11farmerPjotr Prins
2023-09-11AgingPjotr Prins