al2f
a9f4fd651f
Fixed directory view for folders which are not the repository's root.
2024-07-18 19:24:13 +09:30
al2f
cf1f150385
Removed unused fmt import
2024-01-25 12:44:38 +10:30
al2f
f9965e5aa4
Merge branch 'dev' into directory-listing-json
2024-01-25 12:42:20 +10:30
al2f
b4c9ea68a0
Removed printlns and ran file through gofmt.
2024-01-25 12:31:19 +10:30
al2f
386168ebcb
Added directory listing to both the main repo page and its subfolders.
2024-01-24 15:58:36 +10:30
al2f
865dfbf1cf
Use the rendered html readme from the json in a script tag
2024-01-24 12:50:36 +10:30
8dcc
fa9875a1bb
Add spaces to "Directory ... not found" errror
2023-08-10 11:15:25 +00:00
Arya Kiran
8fddeca8b4
add support for viewing specific commits
2023-07-23 13:09:10 +05:30
Arya Kiran
d29dc3b10a
proxy user-images + link to wiki in repo view
2023-06-24 22:47:08 +05:30
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
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
66f34ff6e5
fix viewing images in fileview ( closes #117 )
2023-06-03 10:41:18 +08: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
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
93b5a7b08b
add image support (with proxying) ( closes #38 )
2023-04-28 15:49:33 +05:30
Arya Kiran
7c9a180ebc
add commitsbehind
2023-04-28 12:08:42 +05:30
Arya Kiran
19b789a4c4
move to scraping readme for dirview and fileview as well
2023-04-27 18:27:44 +05:30
Arya Kiran
7228cdceb2
move user READMEs to scraping
2023-04-27 17:41:06 +05:30
Arya Kiran
703c0ee63e
replace https://github.com with /
2023-04-27 12:31:51 +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
d3a4f02809
remove wip file
2023-04-24 15:02:01 +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
ce1f127568
fix: classname used for scraping changed upstream
2023-04-06 02:40:23 +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
7762991545
render gist files
2023-04-04 14:16:52 +01:00
medanisjbara
e89c298c5d
add basic gist support
2023-04-04 14:06:46 +01: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
b1d89a0fec
Merge branch 'dev' of https://codeberg.org/gothub/gothub into dev
2023-04-02 12:29:39 +02:00
Odyssium
b75f70b503
Fix invisible readme in directory view
...
Signed-off-by: Odyssium <hi@odyssey346.dev >
2023-04-02 12:29:37 +02:00
Odyssium
7fe3c52ac9
The Instance Owner Update
...
Signed-off-by: Odyssium <hi@odyssey346.dev >
2023-04-01 18:53:44 +02:00
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
de7d99140b
fix Scrape.Readme
2023-03-21 23:50:39 +05:30
Arya Kiran
31982b1a9a
use emoji for files and dirs
2023-03-21 15:11:34 +05:30
Arya Kiran
0bbb5f93e4
Load even when repoUrl ends with .git
2023-03-19 15:49:21 +05:30
Arya Kiran
319ddc505b
Add support for viewing different branches of a repo
2023-03-16 22:15:21 +05:30
Arya Kiran
3e6d0bec06
add support for repo tags and links
2023-03-16 15:25:17 +05:30
Arya Kiran
b0318e1c75
Add support for viewing directories
2023-03-16 14:58:53 +05:30
Arya Kiran
ec3db8dc18
fix social links for users
2023-03-15 16:44:47 +05:30
Arya Kiran
b49c9ca666
fix useragent envvar and add gh.777.tf
2023-03-11 20:17:47 +05:30
Arya Kiran
a6d8d7697c
totally didnt forget to rename shit
2023-03-10 17:56:19 +05:30
Arya Kiran
5a0e930224
rename /privacy to /about since there is a user called privacy
2023-03-10 15:38:11 +05:30
Arya Kiran
96c9c8501e
fix syntax highlighting for fileview
2023-03-09 15:26:32 +05:30
Arya Kiran
9bdb6271e5
fix raw link in fileview
2023-03-09 15:09:39 +05:30
Arya Kiran
a86aaf0878
remove / prefix from repo name
2023-03-07 21:39:07 +05:30