107 Commits

Author SHA1 Message Date
al2f a9f4fd651f Fixed directory view for folders which are not the repository's root. 2024-07-18 19:24:13 +09:30
r4fo 238e0385a0 Fix small typo in index.html
desigining-> designing
2024-03-22 19:38:04 +00:00
al2f 386168ebcb Added directory listing to both the main repo page and its subfolders. 2024-01-24 15:58:36 +10:30
Arya Kiran 4dddeae12d add diff file download 2023-07-23 13:16:39 +05:30
Arya Kiran 8fddeca8b4 add support for viewing specific commits 2023-07-23 13:09:10 +05:30
Arya Kiran b42c480606 prettier 2023-07-23 12:11:22 +05:30
Arya Kiran d29dc3b10a proxy user-images + link to wiki in repo view 2023-06-24 22:47:08 +05:30
Midou fc0efd75d5 change max-width to width to force it to stay in its place. 2023-06-18 11:10:08 +01:00
Midou 89967861b8 Merge branch 'dev' of codeberg.org:gothub/gothub into dev 2023-06-18 10:58:44 +01:00
Midou cb2710903b Merge branch 'wikis' into dev 2023-06-18 10:58:32 +01:00
Midou 7d1fdeb456 Base styling for wiki is done and ready to be merged. 2023-06-18 10:56:55 +01:00
Midou bd8353a36b Whoops 2023-06-15 17:33:20 +01:00
Midou 3183a3616b Initial CSS work. This is somewhat different but it should be close to GitHub's layout. 2023-06-15 17:28:21 +01:00
Arya Kiran d9f01b80d8 gofmt + fix commits behind/ahead 2023-06-08 15:34:43 +08:00
TechnicalSuwako cc451e1c0e add language bar (#121)
#120

Co-authored-by: 諏訪子 <suwako@076.moe>
Reviewed-on: https://codeberg.org/gothub/gothub/pulls/121
Co-authored-by: TechnicalSuwako <technicalsuwako@noreply.codeberg.org>
Co-committed-by: TechnicalSuwako <technicalsuwako@noreply.codeberg.org>
2023-06-08 07:21:06 +00:00
Arya Kiran 7da420482b make forkof repos not look broken (fixes #122) 2023-06-08 15:18:56 +08:00
Arya Kiran 66f34ff6e5 fix viewing images in fileview (closes #117) 2023-06-03 10:41:18 +08:00
Midou36O e5612284b9 Remove Odyssey from the credits to distance ourselves from him. 2023-05-24 13:17:30 +01:00
Arya K aa94dcc60a add support for disabling proxying (#94)
fixes #45

Co-authored-by: Arya Kiran <arya@projectsegfau.lt>
Reviewed-on: https://codeberg.org/gothub/gothub/pulls/94
2023-05-16 12:42:17 +00:00
Arya Kiran 3e935c889e fix up the view on github thing on unsupported routes 2023-05-08 15:47:07 +05:30
Arya Kiran 18876e9105 specify branch using ldflag (closes #63) 2023-04-28 22:38:04 +05:30
Arya Kiran 08de34e9af merge 2023-04-28 15:59:38 +05:30
Arya Kiran fa5782e634 dont use <br> for credits 2023-04-28 12:18:46 +05:30
Arya Kiran 7c9a180ebc add commitsbehind 2023-04-28 12:08:42 +05:30
Arya Kiran 7228cdceb2 move user READMEs to scraping 2023-04-27 17:41:06 +05:30
Arya Kiran fa049697e7 add support for page content and number of pages 2023-04-26 20:21:23 +05:30
Arya Kiran 16fa0305bd add initial wiki support in backend and a test sample for frontend 2023-04-25 23:20:12 +05:30
Arya Kiran 51ede1f5a6 pinned gists + prettier 2023-04-23 15:17:06 +05:30
Arya Kiran 74f8a50118 gofmt on gist.go + linewrap files in gist.html 2023-04-22 20:29:08 +05:30
medanisjbara 92482a3c69 fix: wrong classname used in html 2023-04-06 02:40:42 +01:00
medanisjbara 250b64d63e fix inconsistency 2023-04-05 02:30:54 +01:00
medanisjbara 9d05e8be97 modern classnames 2023-04-05 02:28:13 +01:00
medanisjbara fff4485d1c Tell user about gist 2023-04-04 14:16:52 +01:00
medanisjbara bb7167c3c8 replace *?type=gist with /gist/* 2023-04-04 14:16:52 +01:00
medanisjbara 3f45c5ca7c Reverse proxy gist downloads 2023-04-04 14:16:52 +01:00
medanisjbara fded9a8028 remove languages from gist 2023-04-04 14:16:52 +01:00
medanisjbara 7762991545 render gist files 2023-04-04 14:16:52 +01:00
medanisjbara 877b8e0e10 beatify views 2023-04-04 14:16:44 +01:00
medanisjbara e89c298c5d add basic gist support 2023-04-04 14:06:46 +01:00
Midou36O 54f9d8931b Update my website. 2023-04-03 02:28:32 +00:00
Odyssium ff95761cc8 Fix Arya's homepage link
Signed-off-by: Odyssium <hi@odyssey346.dev>
2023-04-02 20:33:31 +02:00
Odyssium 739c53aa92 Add setup notice, please see #92
Signed-off-by: Odyssium <hi@odyssey346.dev>
2023-04-02 19:28:20 +02:00
Odyssium 4be7e53828 Simplify this
Signed-off-by: Odyssium <hi@odyssey346.dev>
2023-04-02 18:32:48 +02:00
Odyssium 0355a0932c fix class names
Signed-off-by: Odyssium <hi@odyssey346.dev>
2023-04-02 18:07:37 +02:00
Odyssium bedd675b87 If I spent all this effort in the gym instead, I'd be looking like Arnold Schwarzenegger, but instead I'm spending it on renaming CSS classes LMAO
Signed-off-by: Odyssium <hi@odyssey346.dev>
2023-04-02 16:06:52 +02:00
Arya Kiran a817213af0 add noreferrer for view on github links (fixes #84) 2023-03-22 20:34:52 +05:30
Arya Kiran 513fedd3c8 merge other-markup branch into dev
this merge adds support for ReStructuredText, Creole, Org and Asciidoc. It also switches the markdown renderer from gomarkdown to goldmark since it supports Github-Flavoured-Markdown.
2023-03-21 23:58:20 +05:30
Arya Kiran 7fdfae7164 add link to github of same page on error (fixes #82) 2023-03-21 16:02:42 +05:30
Arya Kiran 31982b1a9a use emoji for files and dirs 2023-03-21 15:11:34 +05:30
Arya Kiran 319ddc505b Add support for viewing different branches of a repo 2023-03-16 22:15:21 +05:30