aboutsummaryrefslogtreecommitdiff
path: root/web
AgeCommit message (Collapse)Author
6 daysRevert "Add missing import."Munyoki Kilyungi
This reverts commit 57118453a7ab776ec2259f4d59bd4a0c8213d9d0.
6 daysRevert "Test webhook."Munyoki Kilyungi
This reverts commit a2639cac7be578f160c14a4eeb77a23b859bb64a.
6 daysAdd missing import.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
6 daysTest webhook.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
6 daysRevert "Test webhook."Munyoki Kilyungi
This reverts commit 9836105b0c662f8f6e0cf5eb30721d1f1f06976c.
6 daysTest webhook.Munyoki Kilyungi
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
11 daysAliases: make it work in the webserver. You can now try:Pjotr Prins
curl http://127.0.0.1:8091/gene/aliases/Shh ["9530036O11Rik","Dsh","Hhg1","Hx","Hxl3","M100081","ShhNC","sonic hedgehog","sonic hedgehog signaling molecule"]
11 daysWikidata: query for gene aliasesPjotr Prins
2025-02-11Improve styling for images.Frederick Muriuki Muriithi
2025-02-11Improve styling for text.Frederick Muriuki Muriithi
2025-02-11Display the markdown with the default GN template.Frederick Muriuki Muriithi
2025-02-11Add a default page template and styling for genenetwork-like pages.Frederick Muriuki Muriithi
2025-02-11Add an endpoint for gnqa.Frederick Muriuki Muriithi
2024-11-19Change headers' list into alistFrederick Muriuki Muriithi
Change the headers list into an alist to ensure the static files are actually sent back rather than failing with a status 500 error.
2024-11-18Make paths ambivalent of working directory.Frederick Muriuki Muriithi
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.
2024-11-18Update invocation documentation. Remove unnecessary scripts/manifestFrederick Muriuki Muriithi
Since we can now use the package file, we no longer need the invocation scripts we used before, or the manifest I'd written.
2024-11-01Make error details into pairs.Frederick Muriuki Muriithi
2024-10-31Make 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.
2024-10-30Fix format for the +info+ pairsFrederick Muriuki Muriithi
Fix the format for the info pairs to avoid failure when accessing the root of the application.
2024-10-23web: 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