Commit Graph
100 Commits
Author SHA1 Message Date
Thomas Miceli 77d87aeecd Fix CI check for additional translations only (#289) 2024-05-28 00:00:05 +02:00
Thomas Miceli 97636b23f5 Check translations keys in CI (#279) 2024-05-11 21:02:57 +02:00
Thomas Miceli 0757c4e7fb Use go 1.22 and update deps (#244) 2024-05-05 00:38:06 +02:00
1ec77590e9 Translations update from Weblate (#271)
* Translated using Weblate (Czech)

Currently translated at 67.2% (162 of 241 strings)

Translation: Opengist/Opengist
Translate-URL: http://tr.opengist.io/projects/_/opengist/cs/

* Translated using Weblate (Czech)

Currently translated at 67.2% (162 of 241 strings)

Translation: Opengist/Opengist
Translate-URL: http://tr.opengist.io/projects/_/opengist/cs/

* Translated using Weblate (Spanish)

Currently translated at 64.7% (156 of 241 strings)

Translation: Opengist/Opengist
Translate-URL: http://tr.opengist.io/projects/_/opengist/es/

* Translated using Weblate (French)

Currently translated at 73.8% (178 of 241 strings)

Translation: Opengist/Opengist
Translate-URL: http://tr.opengist.io/projects/_/opengist/fr/

* Translated using Weblate (Hungarian)

Currently translated at 73.0% (176 of 241 strings)

Translation: Opengist/Opengist
Translate-URL: http://tr.opengist.io/projects/_/opengist/hu/

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 64.7% (156 of 241 strings)

Translation: Opengist/Opengist
Translate-URL: http://tr.opengist.io/projects/_/opengist/pt_BR/

* Translated using Weblate (Russian)

Currently translated at 65.1% (157 of 241 strings)

Translation: Opengist/Opengist
Translate-URL: http://tr.opengist.io/projects/_/opengist/ru/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 65.1% (157 of 241 strings)

Translation: Opengist/Opengist
Translate-URL: http://tr.opengist.io/projects/_/opengist/zh_Hans/

* Translated using Weblate (Chinese (Traditional))

Currently translated at 73.8% (178 of 241 strings)

Translation: Opengist/Opengist
Translate-URL: http://tr.opengist.io/projects/_/opengist/zh_Hant/

* Translated using Weblate (German)

Currently translated at 73.4% (177 of 241 strings)

Translation: Opengist/Opengist
Translate-URL: http://tr.opengist.io/projects/_/opengist/de/

---------

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Jiří Štefka <jiri@stefka.eu>
2024-05-05 00:37:10 +02:00
Thomas Miceli e439d96e43 Add translation strings (#269) 2024-05-05 00:24:25 +02:00
Thomas Miceli 1aa94292db Frontend fixes (#267)
* Fix mermaid display

* Move Login/Register buttons on mobile

* Min width on avatar
2024-04-28 02:54:18 +02:00
Thomas Miceli 3551fd745a Set Opengist version from git tags (#261)
* Set Opengist version from git tags

* Add volume for docker dev container
2024-04-27 02:53:48 +02:00
Thomas Miceli 785d89d6ab Rework git log parsing and truncating (#260) 2024-04-27 01:49:53 +02:00
Thomas Miceli 57273946c3 Fix empty invitation on user creation (#247) 2024-04-04 17:36:18 +02:00
Thomas Miceli a97d9cdbf4 Use filesystem session store (#240) 2024-04-03 01:56:55 +02:00
Thomas Miceli ef004675a5 Create invitations for closed registrations (#233) 2024-04-03 01:56:55 +02:00
Thomas Miceli 3f5f4e01f1 Add custom static links (#234) 2024-04-03 01:56:55 +02:00
Thomas Miceli c185cb8933 Fix new line literal in embed (#237) 2024-04-03 01:56:55 +02:00
Thomas Miceli 1c1e3a8919 Reset a user password using CLI (#226) 2024-04-03 01:56:55 +02:00
Thomas Miceli fc9a75ce8f Markdown preview (#224) 2024-04-03 01:56:55 +02:00
Thomas Miceli 2bf0e9b7ce Show theme change button on responsive devices (#225) 2024-04-03 01:56:55 +02:00
Thomas Miceli e1303c95d0 Increase login for 1 year (#222) 2024-04-03 01:56:55 +02:00
86590d2990 Translations update from Weblate (#210)
Currently translated at 100.0% (180 of 180 strings)

Translation: Opengist/Opengist
Translate-URL: http://tr.opengist.io/projects/_/opengist/fr/

* Added translation using Weblate (German)

* Translated using Weblate (German)

Currently translated at 26.1% (47 of 180 strings)

Translation: Opengist/Opengist
Translate-URL: http://tr.opengist.io/projects/_/opengist/de/

* Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (180 of 180 strings)

Translation: Opengist/Opengist
Translate-URL: http://tr.opengist.io/projects/_/opengist/zh_Hant/

* Translated using Weblate (German)

Currently translated at 60.0% (108 of 180 strings)

Translation: Opengist/Opengist
Translate-URL: http://tr.opengist.io/projects/_/opengist/de/

* Translated using Weblate (German)

Currently translated at 98.3% (177 of 180 strings)

Translation: Opengist/Opengist
Translate-URL: http://tr.opengist.io/projects/_/opengist/de/

* Translated using Weblate (German)

Currently translated at 100.0% (180 of 180 strings)

Translation: Opengist/Opengist
Translate-URL: http://tr.opengist.io/projects/_/opengist/de/

---------

Co-authored-by: crapStone <github@crapstone.dev>
Co-authored-by: Chiawei Chen <qaz855175b@gmail.com>
Co-authored-by: Marcel Herrguth <github@thehomeofanime.de>
Co-authored-by: DerEingerostete <timo.accounts@nachrichtenlager.de>
2024-04-03 01:56:55 +02:00
Thomas Miceli 3179762fd3 Create docker dev env (#220) 2024-04-03 01:56:55 +02:00
Thomas Miceli 86ad88fb09 Set gist URL and title via push options (#216) 2024-04-03 01:56:55 +02:00
Thomas Miceli db6d6a5eba Set gist visibility via Git push options (#215) 2024-04-03 01:56:55 +02:00
Thomas Miceli 7a75c5ecfa Move Git hook logic to Opengist (#213) 2024-04-03 01:56:55 +02:00
Thomas Miceli afbecd9a1e Add custom logo configuration (#209) 2024-04-03 01:56:55 +02:00
Thomas Miceli 7fc8577ce0 Translated using Weblate (French) (#201)
Currently translated at 100.0% (180 of 180 strings)

Translation: Opengist/Opengist
Translate-URL: http://tr.opengist.io/projects/_/opengist/fr/
2024-01-06 14:35:08 +01:00
Thomas Miceli a1524af7a9 Fix directory renaming on username change (#205)
* src/dest dirs have to be lowercase
* if the src dir doesn't exist, don't rename
2024-01-06 14:35:08 +01:00
Thomas Miceli 10cf7e6e25 Add Healthcheck on Docker (#204) 2024-01-06 14:35:08 +01:00
Thomas Miceli 7ce94eea59 Ignore .yml files for Github Actions 2024-01-05 04:36:05 +01:00
Thomas Miceli af19268d6f Add some docs (#198) 2024-01-04 18:06:19 +01:00
Thomas Miceli 4215d7e43b Update dependencies (#197)
Go 1.20 -> 1.21
JS package-lock
Nodejs Docker 18 -> 20
Alpine Docker 3.17 -> 3.19
2024-01-04 18:06:19 +01:00
Thomas Miceli d85917bfb2 Small fixes (#196) 2024-01-04 18:06:19 +01:00
Thomas Miceli 87a6113cc7 Add Gist code search (#194) 2024-01-04 18:06:19 +01:00
Thomas Miceli 4cb7dc2d30 Fix reverse proxy subpath support (#192) 2024-01-04 18:06:19 +01:00
Thomas Miceli f52310a841 Add 2 new admin actions (#191)
* Synchronize all gists previews
* Reset Git server hooks for all repositories
2024-01-04 18:06:19 +01:00
Thomas Miceli 97707f7cca Change username setting (#190) 2024-01-04 18:06:19 +01:00
Thomas Miceli 5058ca8f27 Optimize multiple file rendering (#189) 2024-01-04 18:06:19 +01:00
Thomas Miceli b3a856a05e Optimize reading gist files content (#186) 2024-01-04 18:06:19 +01:00
Thomas Miceli 3c97901995 Bug fixes (#184)
* Fix gist content when going back to editing

* Fix not outputting non-truncated large files for editon/zip download

* Allow dashes in usernames

* Delete keys associated to deleted user

* Fix error message when there is no files in gist

* Show if there is not files in gist preview

* Fix log parsing for the 11th empty commit
2024-01-04 18:06:19 +01:00
Thomas Miceli 3828022a1c Add custom urls for gists (#183) 2024-01-04 18:06:19 +01:00
Thomas Miceli 85e2da054b Add clickable Markdown checkboxes (#182) 2024-01-04 18:06:19 +01:00
Thomas Miceli 0753c5cb54 Add embedded gists & JSON gist data/metadata (#179) 2024-01-04 18:06:19 +01:00
Thomas Miceli 845e28dd59 Move code rendering to the backend & frontend improvements (#176)
Added Chroma & Goldmark

Added Mermaidjs

More languages supported

Add default values for gist links input

Added copy code from markdown blocks
2024-01-04 18:06:19 +01:00
Thomas Miceli 8466e50cc3 Add GitLab OAuth provider (#174) 2024-01-04 18:06:19 +01:00
Thomas Miceli c9fd58c904 Update JS dependencies versions (#175) 2024-01-04 18:06:19 +01:00
Thomas Miceli 47869a77c9 Add healthcheck endpoint (#170) 2024-01-04 18:06:19 +01:00
Thomas Miceli be46304e23 Display OAuth errors (#159) 2023-11-20 18:41:01 +01:00
Thomas Miceli 5fa55dfbba Tiny UI fixes (#158) 2023-11-20 18:28:13 +01:00
Thomas Miceli 09fb647f03 Fix: bare first branch name, truncated output hanging (#157) 2023-11-20 18:03:59 +01:00
Thomas Miceli d518a44d32 Create/change account password (#156) 2023-11-20 18:03:28 +01:00
Thomas Miceli dcacde0959 Fix home user directory detection handling (#145) 2023-10-31 15:23:15 +09:00
Thomas Miceli 10fd170833 Fix markdown render dark background (#137) 2023-10-16 12:20:09 +02:00
Thomas Miceli ef45f3d0ca config.yml with Docker (#131) 2023-10-15 08:14:34 +02:00
Thomas Miceli b1acea9f1c Better password hashes error handling (#132) 2023-10-13 05:36:00 +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 d137820037 Add missing $ in templates (#122) 2023-09-29 06:32:09 +02:00
Thomas Miceli 4eedfdcf6f Fix login page disabled depending on locale (#120) 2023-09-28 20:09:08 +02:00
Thomas Miceli bae18ecb0a Detect .c and .h files (#119) 2023-09-28 20:08:57 +02:00
Thomas Miceli 05523f6bb1 Merge dev-1.5 in master 2023-09-26 15:19:35 +02:00
Thomas Miceli 30ca090e74 Add binaries cross compile in CD (#113) 2023-09-26 15:13:58 +02:00
Thomas MiceliandCyberes fa8e068e24 Add Run with Systemd docs (#111)
Co-authored-by: Cyberes <64224601+cyberes@users.noreply.github.com>
2023-09-25 22:09:52 +02:00
Thomas Miceli 72275e7573 Add documentation (#110) 2023-09-25 18:57:47 +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 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 61e274e56d Added new logo (#103) 2023-09-19 15:48:19 +02:00
Thomas Miceli c20ed60913 Update Go & deps. version (#102) 2023-09-18 18:17:11 +02:00
Thomas Miceli b31d95c7f6 Remove TLS server (#101) 2023-09-18 18:06:27 +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
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 3e83700fc2 Miscellaneous front changes (#93)
* Fix fork icon

* Added alt images descriptions

* Add avatars next to gists links

* Fix avatar for nil user

* Slightly different blue primary color

* Reduced main width

* "New" button redirects to login when not logged in
2023-09-06 23:36:44 +02:00
Thomas Miceli 0d7305d9ba Use dayjs instead of moment (#92) 2023-09-05 15:22:24 +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 cc6110bb4e Remove Dev Docker image (#80) 2023-07-17 04:16:08 +02:00
Thomas Miceli 2890c60124 Warning message on OAuth unlink (#79) 2023-07-17 04:07:10 +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 06b752f567 Fixes unable to access '/root/.config/git/attributes': Permission denied (#71) 2023-06-25 11:40:28 +02:00
Thomas Miceli 7b5d035a32 Search gists (#68) 2023-06-21 18:19:17 +02:00
Thomas Miceli 0936cbc455 Fix Docker entrypoint typo 2023-06-21 17:53:22 +02:00
Thomas Miceli da19e486f2 Customise UID/GID for Docker (#63) 2023-06-18 12:50:36 +02: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 8880e00f48 Fix dark mode flickering (#44) 2023-06-01 19:04:12 +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 cecc06b332 Light mode (#38) 2023-05-27 13:58:08 +02:00
Thomas Miceli 4a75a50370 Disable Gravatar (#37)
* Disable Gravatar
* Lowercase emails
* Add migration
2023-05-26 09:15:37 +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 089d321898 Syntax highlighting + fix escaping in Markdown code (#29) 2023-05-07 18:54:09 +02:00