Commit Graph

54 Commits

Author SHA1 Message Date
Tim
f338d791a7 Remove _blank from links 2025-05-27 21:12:56 +02:00
Tim
e26c2a64b8 Fix markdown snip link 2025-05-27 17:44:18 +02:00
Tim
33bb4e77e5 Upgrade markdown parser for tables and footnotes 2025-05-27 15:48:32 +02:00
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
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
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
06def04cae Fix snip deletion 2025-05-05 01:16:21 +02:00
Tim
59e068fbf7 Implement caching of query dto 2025-05-04 16:47:39 +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
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
d906b980c4 Block not active snip version editing 2025-04-23 23:47:14 +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
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
3225ec5fe0 Fix new snip creation with content reference 2023-12-20 23:17:45 +01:00
tim
5624fc3a74 Integrate snipContent more tightly into snip and cleanup old code 2023-12-20 22:37:06 +01:00
tim
64bd7e3642 Start on removing git and better integrate db 2023-12-18 01:26:44 +01:00
tim
6107f560e2 Fully implement snip db storage 2023-12-17 01:55:26 +01:00
tim
0fce8ee4fe Start on property keeping track of git db content 2023-12-16 01:26:47 +01:00
tim
a9e740d018 Merge branch 'main' into feature/3-git-content-database 2023-12-16 00:09:56 +01:00
Tim
4989a9f7cc Allow including other snippets and update to symfony 6.4 2023-12-12 22:51:08 +01:00
Tim
9f5bb66ae9 Allow referencing other snips in snip 2023-12-12 21:35:35 +01:00
Tim
506a0e8dec Start on creating snipContent entities for the db content 2023-04-20 23:23:04 +02:00
Tim
a405578f93 Start with snips content abstraction 2023-04-15 13:20:07 +02:00
tim
980ea6af94 Remove the parsable tags when showing raw snip 2023-04-08 18:08:45 +02:00
tim
669cbfdaca Allow public raw snips to be accessed without account 2023-04-08 17:58:42 +02:00
tim
a697f89083 Allow inlining code blocks with double quotes 2023-04-07 18:45:43 +02:00
tim
bf63b7a274 Allow code in-lining instead of everything
Create snip content parser
2023-04-06 22:50:54 +02:00
tim
df708aa931 Allow deleting snips (including git repo) 2023-04-06 20:46:30 +02:00
tim
004044022d Allow browsing public snips
Fixed big with branch name not existing if nothing committed
2023-04-06 20:30:11 +02:00
tim
1f464220ee Show current branch in snip single
Reset branch automatically if trying to commit detached
2023-04-05 22:58:58 +02:00
tim
4e56fed76d Allow going back to a previous commit 2023-04-05 22:46:37 +02:00
tim
e461a7ad35 Start on snip history manipulation 2023-04-05 08:26:36 +02:00