Commit Graph

85 Commits

Author SHA1 Message Date
Tim
978c075a3e Simplefy the generic parser
(remove code blocks, made obsolete by markdown)
2025-05-27 15:21:01 +02:00
Tim
a741ee102d Start replacing highlight js with tempest-highlight 2025-05-27 00:58:48 +02:00
Tim
5fcc32de6d Change the snip layout to make it less cluttered 2025-05-24 00:02:23 +02:00
Tim
797d7a2e8f Make snip description optional 2025-05-18 17:10:43 +02:00
Tim
73a3b93760 Fix new snip route 2025-05-13 13:53:39 +02:00
Tim
5ae5db985b Implement snip content names 2025-05-13 13:47:33 +02:00
Tim
62136a0ca0 Change snip content text rebuilding to static, allowing a lot cleaner interface getting the lastest text 2025-05-13 12:33:25 +02:00
Tim
e3549f722a Secure the twig renderer template loader 2025-05-11 00:37:50 +02:00
Tim
6adc8c4a69 Add special query to reset the cache 2025-05-11 00:20:26 +02:00
Tim
d64cadb47b Add function to twig renderer to get all snips of a tag 2025-05-11 00:06:05 +02:00
Tim
951b227efc Replace all magic calls to special tags 2025-05-11 00:05:14 +02:00
Tim
0648db62e3 Add all and none special tags 2025-05-10 21:10:00 +02:00
Tim
b8ae8bb8a7 Implement tag filtering 2025-05-10 20:44:13 +02:00
Tim
e2bd1a7c3b Implement snip tags with very elegant tags form 2025-05-10 20:06:16 +02:00
Tim
47ea226ed7 Allow snips to be archived 2025-05-10 16:48:03 +02:00
Tim
50a7ab7985 Allow public snip viewing if no user is defined 2025-05-10 16:16:53 +02:00
Tim
a7c94a8f21 Rewrite filters to better ui 2025-05-10 15:48:27 +02:00
Tim
cda03f7b67 Implement lexer class for tokenization and replace all line endings by PHP_EOL 2025-05-10 14:46:35 +02:00
Tim
771f354346 Improve compare styling 2025-05-10 12:51:55 +02:00
Tim
ab97482ae6 Improve snip voter readability 2025-05-10 12:31:57 +02:00
Tim
06def04cae Fix snip deletion 2025-05-05 01:16:21 +02:00
Tim
f52058c250 Implement snip sorting 2025-05-04 16:58:11 +02:00
Tim
59e068fbf7 Implement caching of query dto 2025-05-04 16:47:39 +02:00
Tim
aeb2d3ee4b Order snips by name instead of createdAt 2025-04-30 01:07:04 +02:00
Tim
6651aefc6b Fix relation and try to implement delete 2025-04-28 11:24:28 +02:00
Tim
683cd5074c Replace url reference name by snip name in generic parser 2025-04-28 00:47:15 +02:00
Tim
aa05a1c98e Move lastRelease jsonFile to attribute 2025-04-28 00:43:43 +02:00
Tim
e2c8376482 Update api snip update 2025-04-28 00:24:14 +02:00
Tim
74154e240f Implement snip api post 2025-04-27 23:18:20 +02:00
Tim
f56c78f626 Implement api with ability to read snips and profile 2025-04-27 21:41:53 +02:00
Tim
7c4a2b46c0 Implement snip hiding 2025-04-25 22:17:27 +02:00
Tim
ced70fd650 Make compare more compact and add line numbers 2025-04-24 18:23:57 +02:00
Tim
d7e558cae9 Implement markdown link replacement with snip url 2025-04-24 18:16:44 +02:00
Tim
c1b896a63a Fix broken migration and deprecation 2025-04-24 17:33:24 +02:00
Tim
3c4c470547 Fix new snip creation 2025-04-24 01:05:41 +02:00
Tim
d906b980c4 Block not active snip version editing 2025-04-23 23:47:14 +02:00
Tim
bf55e069e0 Add extra meta data to snip view and show all snips in public 2025-04-23 23:21:06 +02:00
Tim
af9f83f189 Remove dump 2025-04-23 22:50:10 +02:00
Tim
0ef77b2aa7 Add custom twig extension with path functions 2025-04-23 22:33:04 +02:00
Tim
0f6cc78e5e Implement MarkDown parser and improve AbstractParser 2025-04-23 21:50:50 +02:00
Tim
cc3e050304 Add compare function between snipsContents 2025-04-23 21:27:47 +02:00
Tim
31cfeca93a Implement snip loader for twig, allowing extends and includes 2025-04-23 02:21:12 +02:00
Tim
ca7a093e55 Fix myerss diff algorithm if first hit is a insert 2025-04-23 02:20:54 +02:00
Tim
4e16444d2f Catch twig parser errors 2025-04-23 01:29:50 +02:00
Tim
701bf6c1ed Implement very basic twig parser 2025-04-23 01:24:08 +02:00
Tim
943177bc08 Implement custom parsers/renderers with autowiring for snip content 2025-04-23 01:06:21 +02:00
Tim
5cec259469 Make snip public index available if not logged in 2025-04-14 23:48:32 +02:00
Tim
2db9c5f1d9 Create a customized myers diff based system for snip content 2025-04-14 23:25:11 +02:00
tim
b2bc519e26 Dont make new version if content didnt change 2023-12-24 01:06:30 +01:00
tim
a5619e2307 Refactor templates to be more structured 2023-12-23 23:56:18 +01:00