1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +00:00
Commit Graph

12650 Commits

Author SHA1 Message Date
webplusai
316bd65296
Add success and error message feedback for user profile operations (#8716)
* mws authentication

* add more tests and permission checkers

* add logic to ensure that only authenticated users' requests are handled

* add custom login page

* Implement user authentication as well as session handling

* work on user operations authorization

* add middleware to route handlers for bags & tiddlers routes

* add feature that only returns the tiddlers and bags which the user has permission to access on index page

* refactor auth routes & added user management page

* fix Ci Test failure issue

* fix users list page, add manage roles page

* add commands and scripts to create new user & assign roles and permissions

* resolved ci-test failure

* add ACL permissions to bags & tiddlers on creation

* fix comments and access control list bug

* fix indentation issues

* working on user profile edit

* remove list users command & added support for database in server options

* implement user profile update and password change feature

* update plugin readme

* implement command which triggers protected mode on the server

* revert server-wide auth flag. Implement selective authorization

* ACL management feature

* Complete Access control list implementation

* Added support to manage users' assigned role by admin

* fix comments

* fix comment

* Add user profile management and account deletion functionality

* add success and error message feedback for user profile operations

* fix indentation issues

* Add command to create admin user if none exists when the start command is executed

* refactor annonymous user flow with create admin implementation

* remove mws-add-user from start command
2024-11-08 10:09:42 +00:00
Jeremy Ruston
3a5f67d4f5 Update dependencies
Tests were breaking in GitHub Actions but work OK on my machine. Problem was better-sqlite3 not being prebuilt, so I am testing to see if an update helps.
2024-11-06 15:31:41 +00:00
Jeremy Ruston
ad901a9f50 Merge branch 'master' into multi-wiki-support 2024-11-06 15:20:44 +00:00
Jeremy Ruston
135a2e5320 Site build should not be verbose 2024-11-06 13:37:42 +00:00
Jeremy Ruston
9629d9e508 Update Netlify badge 2024-11-06 10:43:09 +00:00
Jeremy Ruston
248de77117 Update readme to include Netlify credit 2024-11-06 09:06:36 +00:00
Jeremy Ruston
de6b04d50d Fix filename of default page template
This was changed in #8172 but I think it was a mistake to allow the filename to become inconsistent with the tiddler title
2024-11-04 19:26:06 +00:00
Jeremy Ruston
116b1b15af Simplify descriptions of Flexoki palettes 2024-11-04 10:39:12 +00:00
Jeremy Ruston
2eceee34fa Merge branch 'tiddlywiki-com' 2024-11-03 16:10:12 +00:00
Mario Pietsch
12f7c077f0
[DOCS] Fix Tiddler Info Tab Default Description (#8726)
* [DOCS] Fix Tiddler Info Tab Default Description

* Update Configuring the default TiddlerInfo tab.tid
2024-11-03 16:07:07 +00:00
Mario Pietsch
60a34bb228
[DOCS] Rename: Hidden Setting: Import Content Types for Editor (#8727) 2024-11-03 16:06:45 +00:00
Jeremy Ruston
3d536ed2ae Update release note 2024-11-03 15:17:12 +00:00
Xavier Cazin
208de70e17
Catchup with fr-FR translation (#8722)
* fr-FR translation for new buttons:
- OpenControlPanel
- TestCaseImport
- Excise/DefaultTitle

* fr-FR translations for SocialCard-related strings

* fr-FR translations for stability badges and testcase accent colors

* fr-FR translations for function and procedure definition snippets

* fr-FR translation for compound tiddlers type
2024-11-03 15:16:31 +00:00
Jeremy Ruston
d27a847e67
Add Flexoki palettes (#8545)
* Initial Commit

* Use leading zeros for 2 digit codes

As suggested by @pmario in https://github.com/TiddlyWiki/TiddlyWiki5/pull/8545#issuecomment-2304541731, makes the colours display better in the editor

* Palette entries for alerts, codeblocks and diffs

* Update download button colour

* Add more colors to Flexoki Light palette (#8620)

* Add more colors to Flexoki Light palette

Add more colors to flexoki light palette, including:

* Dirty indicator
* Table borders and headings
* Tiddler info
* Sidebar tabs and buttons
* Stability badges
* Code blocks

* Add more colours

* Add message box colors
* Add notification colors
* Add editor background color
* Changed muted background color to fix low-contrast
* Add tiddler title color

* Add colour for external links

* Flexoki palette update (#8724)

* Flexoki palette update

* Add dark palette
* Add menubar colors
* Update diff widget colors

* Update inline code color

* Use hardcoded color for some color & add message box color

* Remove dev palette settings

---------

Co-authored-by: Leilei332 <LeiYiXia29@outlook.com>
2024-11-03 15:14:46 +00:00
Leilei332
86abb9bdb5
Fix $:/temp/advancedsearch displayed in Shadow search (#8723)
Fix the problem introduced in #8678.
2024-11-03 15:10:43 +00:00
Jeremy Ruston
c0f7a77ab1 Release note tweak 2024-10-31 17:45:37 +00:00
Jeremy Ruston
763fae5c53 Update release note 2024-10-31 17:04:05 +00:00
Mario Pietsch
ebb9c4f082
[DOCS] Make LinkCatcher variables more visible (#8713)
* Make LinkCatcher variables more visible

* move tip to bottom
2024-10-31 16:05:03 +00:00
webplusai
c7531e53ab
Add user profile management and account deletion functionality (#8712)
* mws authentication

* add more tests and permission checkers

* add logic to ensure that only authenticated users' requests are handled

* add custom login page

* Implement user authentication as well as session handling

* work on user operations authorization

* add middleware to route handlers for bags & tiddlers routes

* add feature that only returns the tiddlers and bags which the user has permission to access on index page

* refactor auth routes & added user management page

* fix Ci Test failure issue

* fix users list page, add manage roles page

* add commands and scripts to create new user & assign roles and permissions

* resolved ci-test failure

* add ACL permissions to bags & tiddlers on creation

* fix comments and access control list bug

* fix indentation issues

* working on user profile edit

* remove list users command & added support for database in server options

* implement user profile update and password change feature

* update plugin readme

* implement command which triggers protected mode on the server

* revert server-wide auth flag. Implement selective authorization

* ACL management feature

* Complete Access control list implementation

* Added support to manage users' assigned role by admin

* fix comments

* fix comment

* Add user profile management and account deletion functionality
2024-10-30 18:38:21 +00:00
webplusai
6a7612ddf8
MWS authentication (#8596)
* mws authentication

* add more tests and permission checkers

* add logic to ensure that only authenticated users' requests are handled

* add custom login page

* Implement user authentication as well as session handling

* work on user operations authorization

* add middleware to route handlers for bags & tiddlers routes

* add feature that only returns the tiddlers and bags which the user has permission to access on index page

* refactor auth routes & added user management page

* fix Ci Test failure issue

* fix users list page, add manage roles page

* add commands and scripts to create new user & assign roles and permissions

* resolved ci-test failure

* add ACL permissions to bags & tiddlers on creation

* fix comments and access control list bug

* fix indentation issues

* working on user profile edit

* remove list users command & added support for database in server options

* implement user profile update and password change feature

* update plugin readme

* implement command which triggers protected mode on the server

* revert server-wide auth flag. Implement selective authorization

* ACL management feature

* Complete Access control list implementation

* Added support to manage users' assigned role by admin

* fix comments

* fix comment
2024-10-30 17:59:44 +00:00
Jeremy Ruston
f565b5b55d Fix genesis widget so that explicit attributes take precedence
Fixes #8701
2024-10-30 14:51:04 +00:00
Jeremy Ruston
6787a174b1 Revert "Add new classes to wikitext created emphasised elements to make them easily stylable (#8163)"
This reverts commit 44cf2e3c70.
2024-10-30 14:47:26 +00:00
Mohammad Rahmani
201b695d96
Replace Deprecated SaveTiddler(s) with Save Command (#8710) 2024-10-30 14:15:33 +00:00
Mohammad Rahmani
87d9e59e03
Correct the Filter when Generating the HTML Representations of All Individual Non-system Tiddlers (#8671) 2024-10-30 14:14:45 +00:00
Mario Pietsch
44cf2e3c70
Add new classes to wikitext created emphasised elements to make them easily stylable (#8163)
* allow internal link to be wikitex formatted as bold

* fix typo

* add new classes to all emphasis and inline-code elements

* fix tests for new STRONG classes
2024-10-30 09:19:01 +00:00
Mario Pietsch
9b2e8a61ed
Use Node.js v 22.x.y for our GH build system (#8708) 2024-10-29 12:34:50 +00:00
Leilei332
40fca47974
Translator editon update (#8703)
* Translator editon update

Update for the translator editon, including:

* Changes to `--render` in `tiddlywiki.info`, and changes the command
  for generating `$:/languages/Docs/Types/` to replace strings with `_`
instead of using uri encoding.
* Update docs. The guide for changing `$:/core/readme` tiddler is wrong,
  so I removed it.

* Simplify templates and commands

* Add progress bar
2024-10-29 12:07:12 +00:00
Leilei332
561296db71
Make markdown's highlight look the same as tiddlywiki's (#8704) 2024-10-29 12:06:27 +00:00
Saq Imtiaz
a687aefbe9
Extends element widget with support for CSS custom properties (#8699)
* Extend element widget with support for CSS custom properties.

* chore: added tests

* chore: code style

* docs: added documentation for support for CSS custom properties

* docs: added documentation for support for CSS custom properties
2024-10-29 11:59:04 +00:00
IchijikuIchigo
bb53cc5791
[ja_JP] Japanese translation update (#8705)
* [ja-JP] Japanese translation of editions\tw5.com\tiddlers\videos\Videos.tid

* [ja-JP] A little correction to the Japanese translation

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\videos\Introduction Video.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\videos\Introducing TiddlyDesktop Video.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\videos\TiddlyWiki on Firefox for Android Video.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\videos\Working with the TiddlyWiki5 repository video.tid'

* [ja-JP] Japanese translation of editions\tw5.com\tiddlers\community\OXTWIG.tid

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\community\TiddlyWiki Hangouts.tid'

* [ja-JP] Japanese translation of editions\tw5.com\tiddlers\learning\Learning.tid

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\filters\Introduction to filter notation.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\howtos\Sharing a TiddlyWiki on Dropbox.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\workingwithtw\Sharing your tiddlers with others.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\learning\Copying tiddlers between TiddlyWiki files.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\howtos\Creating SubStories.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\howtos\Editing Tiddlers with Emacs.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\howtos\Making curved text with SVG.tid'

* [ja-JP] Japanese translation of editions\tw5.com\tiddlers\demonstrations\Tasks\TaskManagementExample.tid

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\demonstrations\Tasks\Compose ballad.tid'

* [ja-JP] Japanese translation of editions\tw5.com\tiddlers\demonstrations\Tasks\done.tid

* [ja-JP] Japanese translation of editions\tw5.com\tiddlers\demonstrations\Tasks\done.tid

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\demonstrations\Tasks\Go to Mordor.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\demonstrations\Tasks\Kill the Dragon.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\demonstrations\Tasks\Get the Ring.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\demonstrations\Tasks\Make the beds.tid'

* [ja-JP] Japanese translation of editions\tw5.com\tiddlers\demonstrations\Tasks\task.tid

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\howtos\Adding a Twitter Follow button.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\about\Philosophy of Tiddlers.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\howtos\Adopt a Titles Policy.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\howtos\Concatenating text and variables using macro substitution.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\howtos\Constructing JSON tiddlers.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\howtos\Editing Tiddlers with Vim.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\howtos\Formatting_List_Results_as_Tables_(no_CSS).tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\howtos\Formatting List Results as Tables with CSS - Specified Columns Methods.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\howtos\Formatting List Results as Tables with CSS - Variable Column Method.tid'

* [ja-JP] Japanese translation of editions\tw5.com\tiddlers\howtos\How_to_add_a_new_tab_to_the_sidebar.tid

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\howtos\How to change the sort order of sub-branches in a TOC macro.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\howtos\How to create a custom tiddler colour rule.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\howtos\How to create a custom tiddler icon rule.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\howtos\How to export tiddlers.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\howtos\How to hide the authors and other fields with CSS.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\howtos\How to put the last modification date in a banner.tid'

* [ja-JP] Japanese translation of editions\tw5.com\tiddlers\howtos\How_to_turn_off_camel_case_linking.tid

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\howtos\How to widen tiddlers (aka story river).tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\images\Icon Gallery.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\howtos\Modifying JSON tiddlers.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\howtos\Reading data from JSON tiddlers.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\howtos\Simple ways to write protect tiddlers.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\demonstrations\Tasks\TaskManagementExampleDraggable.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\demonstrations\Tasks\TaskManagementExampleDraggableTemplate.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\howtos\Visible Transclusions.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\demonstrations\KeyboardDrivenInput\Demonstration_ keyboard-driven-input Macro.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\howtos\How to add a banner for GitHub contributions.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\howtos\How to create a custom story tiddler template.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\howtos\How to create keyboard shortcuts.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\howtos\How to customize TiddlyDesktop.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\howtos\How to embed PDF and other documents.tid'

* [ja-JP] Japanese translation of 'editions\tw5.com\tiddlers\learning\Introduction to Lists.tid'

* [ja_JP] Japanese translation update from commit: 6d11f4b

* [ja-JP] Corrected the display content of modified date in Japanese translation
2024-10-29 10:47:06 +00:00
Mohammad Rahmani
5ddcd5a666
Replace Deprecated renderTiddler with render command (#8700) 2024-10-29 10:39:45 +00:00
Mario Pietsch
8b9723f6c7
Add action tiddler list to droppable widget (#8256)
* initial POC

* clean up the code

* Add documentation changes

* Improve docs
2024-10-24 17:51:19 +01:00
Mario Pietsch
b68de0d69f
Toc uses currentTiddler as "tag" default parameter if it is missing (#8291)
* toc's use currentTiddler, if tag prameter is undefined

* add currentTiddler info to toc documentation
2024-10-24 17:39:18 +01:00
Leilei332
c060216a8e
Make recent tab limit configurable (#8698)
Make maxium number of tiddlers under the "Recent" tab configurable in
the `$:/config/RecentLimit` tiddler. UI for configuring this option is
also added under the "Settings" tab.
2024-10-24 15:09:30 +01:00
Simon Huber
8b60cab6a2
Keyboard driven input rework (#8678)
* Update tag-picker.tid

* rework kb-driven-input macro to procedures + new syntax

* rework change-input-tab to procedure

* fix

* remove console log :)

* replace defines with procedures

* fix link-dropdown

* fix focus-selector in new-field dropdown

* revert changing the footpring of change-input-tab + make it work as procedure

* update change-input-tab procedure

* refactor change-input-tab procedure and keep tags/Macro tag

* simplify complicated filter

* add tags/Global tag

* remove tags/Global tag

* rename variable
2024-10-24 14:34:23 +01:00
Jeremy Ruston
9635e2d8af Revert refactoring CSS helper macros as functions
See discussion at https://github.com/TiddlyWiki/TiddlyWiki5/pull/7987#issuecomment-2431123638
2024-10-23 08:21:11 +01:00
Jeremy Ruston
73bc45b305 Merge branch 'tiddlywiki-com' 2024-10-22 17:26:37 +01:00
Jeremy Ruston
0a03ac8219 Revert to just using $:/tags/Macro for core macros
See #8683
2024-10-22 13:15:34 +01:00
Jeremy Ruston
b6c8045739 Further updates to Grok TiddlyWiki banner 2024-10-22 08:51:43 +01:00
Jeremy Ruston
3a34a2e8d9 Update Grok TiddlyWiki banner 2024-10-22 08:50:55 +01:00
Jeremy Ruston
192fb9794d Merge branch 'tiddlywiki-com' 2024-10-21 17:43:27 +01:00
Jeremy Ruston
ea3cb1c58d Fix build command crash with no wiki folder
Fixes #8694
2024-10-21 17:42:35 +01:00
Jeremy Ruston
5490b782a6 Improve content of "Welcome" tiddler 2024-10-21 17:35:53 +01:00
Jeremy Ruston
b9218a8391 Merge branch 'tiddlywiki-com' 2024-10-21 17:14:50 +01:00
Jeremy Ruston
6d11f4b506 Update Grok TiddlyWiki links for 2.0 2024-10-21 17:14:39 +01:00
Leilei332
a0caa0f12d
Fix timeline macro showing long list of tiddlers created the same day. (#8690) 2024-10-20 10:47:50 +01:00
Leilei332
e1287a9470
Fix smaller editor toolbar icons (#8691)
A small fix for the problem introduced in #8688
2024-10-20 10:35:21 +01:00
zorrox1024
b3c2385018
Sign CLA (#8693)
Co-authored-by: Jeffrey Zhang <zhang.lei.fly@gmail.com>
2024-10-20 10:34:43 +01:00
Leilei332
a42a7972cb
Further fix icons not displaying properly. (#8688) 2024-10-19 13:41:30 +01:00
Leilei332
e259f414d9
Fix some tiddlers should use code body (#8687)
A small fix which applys code bodies to these tiddlers:
* Tiddlers with prefix `$:/core/config/`
* Tiddlers tagged `$:/EditorTools` and `$:/tags/ToolbarButtonStyle`
2024-10-19 09:24:24 +01:00