Commit graph

221 commits

Author SHA1 Message Date
Thomas Miceli
aec7ee2708
v1.5.2 2023-10-16 12:26:05 +02:00
Slava Krampetz
ba03b8df38
Add ru-RU translation (#135) 2023-10-15 18:09:54 +02:00
Thomas Miceli
b1acea9f1c
Better password hashes error handling (#132) 2023-10-13 05:36:00 +02:00
Gary Wang
7059d5c834
Add zh-CN translation and minor UI fix (#130) 2023-10-12 14:13:39 +02:00
Thomas Miceli
1539499294
Longer title and description (#129) 2023-10-04 18:48:02 +02:00
Thomas Miceli
6f587f4757
Fix private gist visibility (#128) 2023-10-04 18:47:50 +02:00
Thomas Miceli
632206e172
v1.5.1 2023-09-29 16:59:09 +02:00
WilliamNT
2eeb9283f0
Added hungarian translations (#123) 2023-09-29 16:39:55 +02:00
Thomas Miceli
4eedfdcf6f
Fix login page disabled depending on locale (#120) 2023-09-28 20:09:08 +02:00
Thomas Miceli
2b9eb8e127
v1.5.0 2023-09-26 15:34:43 +02:00
Thomas Miceli
5b278e2e86
Change gist init url to /init (#109) 2023-09-25 18:43:55 +02:00
Thomas Miceli
6c450c6f3b
Delete gists when user is deleted (#108) 2023-09-25 18:43:36 +02:00
Thomas Miceli
dd050bb6a0
Fix CI 2023-09-25 16:08:26 +02:00
Thomas Miceli
85b51bf3c9
Merge branch 'master' of github.com:Maronato/opengist into Maronato-master 2023-09-25 13:07:48 +02:00
Thomas Miceli
9dff67f003
Various bug fixes (#105) 2023-09-22 17:31:19 +02:00
Thomas Miceli
a5ea522e45
Add translation system (#104) 2023-09-22 17:26:09 +02:00
Thomas Miceli
b31d95c7f6
Remove TLS server (#101) 2023-09-18 18:06:27 +02:00
Thomas Miceli
be3580f7b1
Resolve merge 2023-09-17 03:23:20 +02:00
Thomas Miceli
6085471b81
Adapt find command for Windows users (#89) 2023-09-17 03:03:54 +02:00
Thomas Miceli
3943b53163
Enhance Go CI (#99) 2023-09-17 02:55:17 +02:00
Thomas Miceli
fe674ac88b
Add git, auth and gists tests (#97) 2023-09-17 00:59:47 +02:00
Gustavo Maronato
933ba2da0d
errors should not be capitalized 2023-09-15 19:48:09 -03:00
Gustavo Maronato
1dcb900cf3
implement OIDC auth 2023-09-15 18:56:14 -03:00
Thomas Miceli
46dea89b41
Create gists from git http server endpoint (#95) 2023-09-09 19:39:57 +02:00
Thomas Miceli
977fc9db28
Improved git http semantics and repo obfuscation (#94) 2023-09-07 11:46:34 +02:00
Thomas Miceli
d4eed91130
Split hljs into a new file; improved dev vite server system (#91) 2023-09-05 15:22:09 +02:00
Thomas Miceli
ffafde2b3e
Run git gc for repositories (#90) 2023-09-04 11:11:54 +02:00
Thomas Miceli
a7b346d8df
Tweaked project structure (#88) 2023-09-03 00:30:57 +02:00
Thomas Miceli
25316d7bf2
Added private visibility
* Changed gist type and added HTML button on creation

* Adapted label and edit button

* Changed rules for git HTTP and SSH

* Adapt Readme features
2023-09-02 03:58:37 +02:00
Thomas Miceli
b5cd49db4c
Download file, button groups, fix unknown file reading (#84) 2023-07-26 15:43:07 +02:00
Thomas Miceli
89685bfac6
Remove CONFIG env var 2023-07-26 10:54:16 +02:00
John Olheiser
319a89387a
fix: retain visibility when editing (#83)
* fix: retain visibility when editing

Signed-off-by: jolheiser <john.olheiser@gmail.com>

* review(thomiceli): remove private conversion in dto

Signed-off-by: jolheiser <john.olheiser@gmail.com>

---------

Signed-off-by: jolheiser <john.olheiser@gmail.com>
2023-07-19 17:28:42 +02:00
Thomas Miceli
24fc6dd8e4
v1.4.2 2023-07-17 04:28:13 +02:00
Thomas Miceli
5bb5886770
Make unlisted gists not SEO crawlable (#78) 2023-07-17 03:58:45 +02:00
Thomas Miceli
038d81df2d
Add external url to HTML links & redirects (#75) 2023-07-03 16:31:12 +02:00
Thomas Miceli
7515e82d34
Revert redirection when not logged to /all (#76) 2023-07-03 16:31:03 +02:00
Thomas Miceli
add0299442
v1.4.1 2023-06-25 11:46:15 +02:00
Thomas Miceli
a35b64455a
v1.4.0 2023-06-23 14:27:23 +02:00
Thomas Miceli
9470622125
Search page more explicit 2023-06-23 13:59:07 +02:00
Thomas Miceli
7b5d035a32
Search gists (#68) 2023-06-21 18:19:17 +02:00
John Olheiser
fc421a68b5
refactor!: prefix DEV env var and deprecate CONFIG (#64)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2023-06-18 17:01:27 +02:00
John Olheiser
98c85de3d6
fix: gitea config url for avatar (#61)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2023-06-18 12:38:57 +02:00
jolheiser
af3aab21e3
chore: use glebarez mirror
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2023-06-16 11:13:25 -05:00
jolheiser
fb407bcbce
feat: non-cgo sqlite
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2023-06-16 11:08:33 -05:00
Thomas Miceli
3366cde385
Sqlite journal mode (#54) 2023-06-09 15:25:41 +02:00
Thomas Miceli
b2a56fe5a0
Better ci (#56) 2023-06-09 15:01:14 +02:00
Thomas Miceli
24e3de8fc1
Better config (#50) 2023-06-07 20:50:30 +02:00
Thomas Miceli
da970d7272
Fix URL join (#43) 2023-05-29 22:39:30 +02:00
Thomas Miceli
62f91c5ed2
Small fixes (#42)
* UI color fixes
* Typos
* Fancy badge in README
2023-05-27 20:20:20 +02:00
Thomas Miceli
0a542431c9
v1.3.0 2023-05-27 14:12:34 +02:00
Thomas Miceli
4a75a50370
Disable Gravatar (#37)
* Disable Gravatar
* Lowercase emails
* Add migration
2023-05-26 09:15:37 +02:00
Thomas Miceli
df22506bdd
Append logs to stdout 2023-05-24 16:40:27 +02:00
Thomas Miceli
026bb7304c
Update go module name 2023-05-15 21:07:29 +02:00
Thomas Miceli
0cae152e03
Fix admin settings initialization (#31) 2023-05-12 12:06:55 +02:00
Thomas Miceli
5fe84164a5
Better UI for admin settings (#30) 2023-05-11 15:16:05 +02:00
Thomas Miceli
49807d04c7
Disable login form via admin panel 2023-05-06 18:53:59 +02:00
Thomas Miceli
3cf5bc8b76
First account registering with OAuth is now admin 2023-05-04 11:48:26 +02:00
Thomas Miceli
2782655545
v1.2.0 2023-05-01 03:09:12 +02:00
Thomas Miceli
58d40e211f
Fix SSH pubkey detection 2023-05-01 02:55:34 +02:00
Josef Andersson
5040a2fe3c Respect ExternalUrl for oauth 2023-04-30 12:09:42 +02:00
Thomas Miceli
5ba90af04c
Merge pull request #19 from thomiceli/feature/all-private
Restrict/unrestrict gists visibility to anonymous users
2023-04-29 20:22:34 +02:00
Thomas Miceli
2b3043ad5d
Trim filenames 2023-04-28 20:41:12 +02:00
Thomas Miceli
333efeacbf
Add require login feature to see gists 2023-04-28 20:31:10 +02:00
Thomas Miceli
91db4dcd30
Satisfy Staticcheck 2023-04-26 23:13:11 +02:00
Thomas Miceli
09507500a9
v1.1.1 2023-04-20 21:54:54 +02:00
Thomas Miceli
14dac703c8
Fix git zombie process 2023-04-20 21:48:25 +02:00
Thomas Miceli
fddc50e3cc
v1.1.0 2023-04-18 03:11:28 +02:00
Thomas Miceli
5bc1697774
Migration system & fix ssh key table constraint 2023-04-18 02:33:19 +02:00
Thomas Miceli
c7866e18e4
Fix HTML titles in admin panel 2023-04-17 22:13:19 +02:00
Thomas Miceli
4c43f1aa8a
Rename config.go to settings.go 2023-04-17 22:09:40 +02:00
Thomas Miceli
884195aed4
Trim gitea url 2023-04-17 21:31:40 +02:00
Thomas Miceli
6a0fd92516
Block Oauth when signup is disabled 2023-04-17 20:33:24 +02:00
Thomas Miceli
2d42cf798c
Include HTML buttons 2023-04-17 20:25:35 +02:00
Thomas Miceli
4008b7ce38
Client key and secret Oauth in config 2023-04-17 19:11:32 +02:00
Thomas Miceli
a6c5696ceb
Support Github and Gitea OAuth providers 2023-04-17 14:25:39 +02:00
Thomas Miceli
8534a4880b
Fix admin panel url 2023-04-17 00:35:04 +02:00
Thomas Miceli
dba3f4be44
Create admin settings and moved signup disable setting there 2023-04-17 00:17:06 +02:00
Thomas Miceli
dbdd38694d
Change /admin route to /admin-panel (#1) 2023-04-16 17:48:21 +02:00
6543
19db4c223b
nits to improve git backend (#7) 2023-04-16 16:14:12 +02:00
Lucien Davison
31aae8a305
fix: do not truncate raw files (#4) 2023-04-14 10:55:54 +02:00
Thomas Miceli
864880b442
v1.0.1 2023-04-12 13:34:22 +02:00
Thomas Miceli
51dadcecef
Change redirections when not logged in 2023-04-12 13:30:51 +02:00
Thomas Miceli
1c35a19bd4
v1.0.0 2023-04-10 22:53:17 +02:00
Thomas Miceli
611d677404
Better HTTPS detection 2023-04-10 22:45:52 +02:00
Thomas Miceli
2fe309663d
Remove pre-receive hook script file 2023-04-10 22:44:58 +02:00
Thomas Miceli
31bec62834
Change config behavior 2023-04-07 23:58:06 +02:00
Thomas Miceli
eeebc7c789
Tweak config and git urls 2023-04-07 02:44:37 +02:00
Thomas Miceli
b606b67d43
Better build/watch 2023-04-06 13:55:04 +02:00
Thomas Miceli
9fadfe7cde
Log parser with maxBytes variable 2023-04-05 18:20:50 +02:00
Thomas Miceli
01184be205
Fix pre-receive hook script 2023-04-04 02:09:00 +02:00
Thomas Miceli
5638bf7601
Fix bug on undefined commiter name 2023-04-04 02:01:31 +02:00
Thomas Miceli
746d836b99
Add warn logs on invalid authentications 2023-04-04 01:16:22 +02:00
Thomas Miceli
2aee52e06c
Added indent type, indent size and wrap mode to editors 2023-04-03 00:40:39 +02:00
Thomas Miceli
f9f5b140b8
Add embed Filesystem 2023-03-27 15:15:04 +02:00
Thomas Miceli
c1ad78d984
Add file header for zipped files 2023-03-23 16:27:38 +01:00
Thomas Miceli
6c981570a1
Optimize assets 2023-03-23 16:00:48 +01:00
Thomas Miceli
c71185d11e
Fix empty commit revision 2023-03-20 14:05:56 +01:00
Thomas Miceli
31ea2f650b
Fix naming file on edit 2023-03-20 13:49:28 +01:00
Thomas Miceli
f49f4ca10d
Add avatars to HTML 2023-03-20 13:30:25 +01:00
Thomas Miceli
7b27db8849
Added email and gravatar to user config 2023-03-19 16:29:14 +01:00
Thomas Miceli
858ee3e70a
Parse CSV files into HTML tables 2023-03-19 03:18:56 +01:00
Thomas Miceli
11b3eed250
Sync gists from database or filesystem (admin panel) 2023-03-19 01:51:25 +01:00
Thomas Miceli
be7e9ab385
Fix number of files on fork 2023-03-19 00:52:09 +01:00
Thomas Miceli
5bfd40f9fd
Copy hooks and config files on fork 2023-03-19 00:49:06 +01:00
Thomas Miceli
8998e46fea
Update preview and file count when git push with http/ssh 2023-03-19 00:27:30 +01:00
Thomas Miceli
b505f7147e
Truncate diff 2023-03-18 23:53:05 +01:00
Thomas Miceli
b56e02e3ed
Create FileDTO 2023-03-18 23:23:23 +01:00
Thomas Miceli
527be16183
Better log parsing 2023-03-18 23:18:20 +01:00
Thomas Miceli
24f790fb9c
Fix truncateCommandOutput function 2023-03-18 18:22:27 +01:00
Thomas Miceli
00452d6caf
Rename files 2023-03-18 16:24:41 +01:00
Thomas Miceli
22668be923
Added gist methods related to git + Truncate command output 2023-03-18 16:18:24 +01:00
Thomas Miceli
167abd4ae5
Enhanced model structs with DTOs 2023-03-17 14:56:39 +01:00
Thomas Miceli
79a7a9a32f
Updated links menu items 2023-03-15 11:47:17 +01:00
Thomas Miceli
e95a1b6840
Added TLS support 2023-03-15 10:37:17 +01:00
Thomas Miceli
2c40060a60
Set config default values 2023-03-15 01:36:46 +01:00
Thomas Miceli
d8dd41a5e5
Better pagination labels 2023-03-15 01:26:56 +01:00
Thomas Miceli
12625ed462
Disable self-fork 2023-03-15 01:01:42 +01:00
Thomas Miceli
0f42ef01b0
Decrement fork counter on gist/user delete 2023-03-15 00:52:24 +01:00
Thomas Miceli
1607d8fc93
Added forks 2023-03-14 23:26:39 +01:00
Thomas Miceli
8630f647c6
Decrement likes counters on user delete 2023-03-14 17:05:21 +01:00
Thomas Miceli
bee5d045c3
Initial commit 2023-03-14 16:22:52 +01:00