A feature's guide now sits under the menu it is used from, read from the templates rather than from where somebody once put it: Header-Bar, All-Boards, Pages, Board-Header (search and every Board View), Board-Sidebar (Board Settings, Filter, Members, Labels, Archive), Rules, Swimlanes, Lists, Cards, Member-Settings, Admin-Panel and Login-Page. Topics used from several menus (editor, history, theme, translations, email, troubleshooting) are in General. - Each area has a README mapping its menu entries to their guides and to the template or server module that implements them. Board-Header/README.md lists all 40 Board View entries with the template boardBody.jade renders; five views (Table, Calendar Mode, Time, Timeline, Map) have no guide of their own yet and say so. - Board-View.md listed 25 views while BOARD_VIEWS has 40; it now lists all of them with their English labels. - Pages keep their file names. Where a released changelog links an old path, a "# Moved" page stays there and points to the new one; test-menu.sh skips folders holding only those. - Undo was filed under Login; it is General/Undo now. - Every link in docs, code comments, scripts and tests follows the move; docsLinksResolve checks them all. Tests that read a doc follow it to its new place. boardViewSettings now fails when Board-View.md or Board-Header/README.md differs from BOARD_VIEWS, or names a template boardBody.jade does not render. Thanks to xet7 !
5.7 KiB
About markdown changes
Wekan v4.29 changes markdown rendering from marked to markdown-it.
About emoji
With markdown-it, also markdown-it-emoji plugin has been added, supporting full list of GitHub emojis.
Example emoji code, that you can add for example to card name, card description etc:
:rainbow: :thumbsup: :100:
That shows emojis 🌈 👍 💯
About other markdown-it plugins
For markdown-it, there are also other syntax extensions where some are listed at that markdown-it page, and others at npmjs.com.
For example, how to get some mermaid plugin working so that some syntax works for https://mermaid-js.github.io/mermaid/ ?
How you could add another plugin
Using newest Ubuntu amd64:
Meteor 2
1. Install git and configure it
sudo apt -y install git
git config --global user.name "Yourfirstname Yourlastname"
git config --global user.email email-address-you-use-at-github@example.com
git config --global push.default simple
nano .ssh/config
There add your User (GitHub username) and IdentityFile (Your ssh private key. Not public key that has .pub). For indentation, use one tab.
Host *
IdentitiesOnly=yes
Host github.com
Hostname github.com
User xet7
IdentityFile ~/.ssh/id_xet7ed
Save and Exit with Ctrl-o Enter Ctrl-x Enter
If you do not have ssh key, create it:
ssh-keygen
And press Enter about 3 times, until you have private key at ~/.ssh/id_rsa and public key at ~/.ssh/id_rsa.pub
Add public key .pub to your github account web interface.
Add path to Meteor:
nano .bashrc
There at bottom add:
export PATH=~/.meteor:$PATH
Save and Exit with Ctrl-o Enter Ctrl-x Enter
2. Create fork of https://github.com/wekan/wekan at GitHub web page
mkdir repos
cd repos
git clone git@github.com:YourGithubUsername/wekan.git
cd wekan
3. Run the menu: Setup -> Install dependencies, Setup -> Build WeKan, Dev server -> localhost:3000
build.sh shows a two-level menu (1) Setup 2) Dev server 3) Tests 4) Docker 5) Tools 6) Quit); pick a category number, then the item number inside it.
# Setup -> Install dependencies
./build.sh
1 # Setup
1 # Install dependencies
# Setup -> Build WeKan
./build.sh
1 # Setup
2 # Build WeKan
# Dev server -> localhost:3000
./build.sh
2 # Dev server
1 # localhost:3000
That does: Setup -> Install dependencies installs dependencies, Setup -> Build WeKan builds wekan, Dev server -> localhost:3000 starts wekan in development mode with command meteor, so it can detect if some file changes and try to rebuild automatically and reload the web browser. But, still sometimes, it may need stopping with Ctrl-c and a full Setup -> Build WeKan again. If a dev server is already running on that port, the Dev server options stop it first and start a fresh one on the same port.
And then register and login at http://localhost:3000
OPTIONAL, NOT NEEDED: 5. Add new plugin package
meteor npm install markdown-it-something --save
Edit file wekan/packages/markdown/src-integration.js and add using that new package, using code example from that new plugin page, or similar like emoji plugin was added.
7. Test
Test does that new plugin syntax work, for example in card title, card description etc on other input fields.
8. If it works, create pull request
If normal markdown, emoji, and your new added plugin syntax all work, commit your changes:
git add --all
git commit -m "Added plugin markdown-it-something."
git push
And then at your GitHub for https://github.com/YOUR-GITHUB-USERNAME/wekan click Create pull request.
Meteor 3
At 2024-06-26, it looks like from https://nodejs.org/en that Node.js LTS version is 20.15.0 , so change to newest Node.js LTS, delete old Meteor:
sudo n 20.15.0
sudo npm -g install npm
cd
rm -rf .meteor
Check how to install newest Meteor from Meteor 3 PR at https://github.com/meteor/meteor/pull/13163 , for example:
npx meteor@rc
Check what branches there are:
cd repos/wekan
git branch -a
Change to Meteor 3 branch:
git checkout feature-meteor3
Build wekan:
./build.sh
2
If there are errors, try to fix them.
Or try to run wekan:
./build.sh
3
Updating
There are usually updates both for npm packages and Meteor
Updating npm packages:
npm update
Checking for vulnerable packages:
npm audit
Fixing vulnerable npm packages by updating to newer packages:
npm audit fix
If that did not help, use force:
npm audit fix --force
If that did not help, read links from that npm audit command did show, remove deprecated dependencies, update to other maintained dependencies.
Updating to next Meteor release:
meteor update
Updating to specific Meteor release:
meteor update --release METEOR@3.0-rc.4
Trying to update all Meteor packages:
meteor update --release METEOR@3.0-rc.4 --all-packages
Allowing incompatible updates, that may sometime work:
meteor update --release METEOR@3.0-rc.4 --all-packages --allow-incompatible-update
If you are changing Meteor and Node.js versions, you may need to reset Meteor:
meteor reset
Or alternatively, delete wekan repo (if you did not need any changes you made), and clone wekan repo again, and then build etc.