57 Commits

Author SHA1 Message Date
Webysther Sperandio
279da52899 feat: search all fields (#622)
*  feat(search): search all feature

- add Description field to Gist struct and index it
- extend SearchGistMetadata with Description and Content
- update Bleve and Meilisearch to index and search Description
- modify ParseSearchQueryStr to parse description: and content: keywords
- update templates and i18n for new search options

* Fix test

* Set content by default

Signed-off-by: Thomas Miceli <tho.miceli@gmail.com>

* Config to define default searchable fields

Signed-off-by: Thomas Miceli <tho.miceli@gmail.com>

---------

Signed-off-by: Thomas Miceli <tho.miceli@gmail.com>
Co-authored-by: Thomas Miceli <tho.miceli@gmail.com>
2026-03-12 00:55:23 +08:00
Thomas Miceli
5ddea2265d Add access tokens (#602) 2026-01-27 14:43:12 +08:00
Thomas Miceli
f653179cbf Upgrade JS and Go deps versions (#517) 2025-10-07 16:59:37 +02:00
Thomas Miceli
4106956f6d Fix human date on iOS devices (#510) 2025-09-21 04:31:58 +02:00
Thomas Miceli
dc43fccc04 Style preference tab for user (#467) 2025-05-05 01:31:42 +02:00
Thomas Miceli
f5b8881d35 Add topics for Gists (#413) 2025-01-24 14:39:42 +01:00
Sangelo
20aef5e694 feat: Add custom instance names (#399)
* Add custom name variable

* Add custom name variable usage to docs

* Remove leftover testing config options (oops)
2024-12-15 17:39:51 +01:00
Thomas Miceli
73c2fb55bc Fix confirm() popup messages (#370) 2024-11-02 01:40:10 +01:00
Thomas Miceli
2bf434f00e Add TOTP MFA (#342) 2024-10-24 23:23:00 +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
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
2bf0e9b7ce Show theme change button on responsive devices (#225) 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
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
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
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
Chiawei Chen
943212e492 feat: add traditional chinese translation (#166) 2024-01-04 18:06:19 +01:00
Thomas Miceli
5fa55dfbba Tiny UI fixes (#158) 2023-11-20 18:28:13 +01:00
Slava Krampetz
ba03b8df38 Add ru-RU translation (#135) 2023-10-15 18:09:54 +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
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
d4eed91130 Split hljs into a new file; improved dev vite server system (#91) 2023-09-05 15:22:09 +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
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
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
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
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
7cc77d80dc Small footer change 2023-05-24 16:44:06 +02:00
Thomas Miceli
5fe84164a5 Better UI for admin settings (#30) 2023-05-11 15:16:05 +02:00
Thomas Miceli
333efeacbf Add require login feature to see gists 2023-04-28 20:31:10 +02:00
Thomas Miceli
dbdd38694d Change /admin route to /admin-panel (#1) 2023-04-16 17:48:21 +02:00
Thomas Miceli
51dadcecef Change redirections when not logged in 2023-04-12 13:30:51 +02:00
Thomas Miceli
ab59d7956a Updated base footer 2023-04-12 13:25:41 +02:00
Thomas Miceli
2e92b997fd UI fixes 2023-04-10 21:43:18 +02:00
Thomas Miceli
8b08c5a5cc Convert Javascript to Typescript 2023-04-03 23:37:54 +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
6c981570a1 Optimize assets 2023-03-23 16:00:48 +01:00
Thomas Miceli
91bff38f43 Add drag and drop filename support 2023-03-23 03:09:49 +01:00
Thomas Miceli
f49f4ca10d Add avatars to HTML 2023-03-20 13:30:25 +01:00