commit 9b2dab266e52a3aee5bee0c77994100cdc19fe9c Author: franv Date: Fri Sep 4 10:22:51 2020 -0700 first commit diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..f9ef836 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,6054 @@ +# v4.25 2020-08-31 Wekan release + +This release adds the following docker-compose.yml changes: + +- [Mongo 4.4 does not work. Mongo 4.2 and 3.x works](https://github.com/wekan/wekan/commit/5d2daa4a80c819f0610ff2f17589de1e1085836c). + Thanks to GuidoDr for info. Related https://github.com/wekan/wekan/issues/3247 + +and adds the following Nextcloud documentation: + +- [Improving documentation for Nextcloud integration](https://github.com/wekan/wekan/pull/3248). + Thanks to relikd. + +and removes the following code and allows double quotes in code: + +- Removed custom scrollbar [1](https://github.com/wekan/wekan/pull/3246) and [2](https://github.com/wekan/wekan/commit/5870d38e8e63159ede8c18d1766a4f9f6ba8987c). + Also in eslint settings allowed double quotes in code. Thanks to tborychowski and xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v4.24 2020-08-27 Wekan release + +This release adds the following updates: + +- [Upgrade to Meteor 1.11](https://github.com/wekan/wekan/commit/4d49265b25595444553e1c2d6e48c7a699949654). + Thanks to Meteor developers. +- [Update bcrypt](https://github.com/wekan/wekan/commit/dee7020a5aaa90c8580ef42fa73aff0ca4ae3e12). + Thanks to bcrypt developers. +- [Update dependencies](https://github.com/wekan/wekan/commit/60b2787c559b9966d6040a622c5b971fa95241c3). + Thanks to developers of dependencies. + +and adds the following translations: + +- [Add Trigger and Action header words to Rule Details](https://github.com/wekan/wekan/pull/3244). + Thanks to helioguardabaxo. +- [Add Spanish (Peru) (es_PE)](https://github.com/wekan/wekan/commit/b9f87bf310b4f071c8219bb7511b15a7fa27340d). + Thanks to translators. + +and adds the following mouse scroll settings: + +- [Add setting for mouse scroll deltafactor. Fix snap setting for mouse scroll amount](https://github.com/wekan/wekan/commit/7e4b791c2964f4b130abbaee62ffdff1536450c4). + Thanks to danger89 and xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v4.23 2020-08-13 Wekan release + +This release fixes following CRITICAL VULNERABILITIES: + +- [Update vulnerable dependency elliptic that is dependency of meteor-node-stubs that is dependency of + Wekan](https://github.com/wekan/wekan/commit/910f0cecbe7a4b3fdff603e5e74c2cb1c40b660b). + Thanks to filipenevola, neeldug, L25inux and xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v4.22 2020-07-23 Wekan release + +This release adds back these features: + +- [Export to JSON and HTML .zip file](https://github.com/commit/1624fc82f7c319e84a78f29445c7867f7da15c32) + that also fixes #3216 Clone Boards not working. + Thanks to xet7. + +and hides these features temporarily: + +- [Hide CSV export until it's fixed in EdgeHTML compatible way](https://github.com/wekan/wekan/commit/045b8a84a29dde09201dd5108c757719d00e6f55). + Thanks to xet7. + +and adds the following updates: + +- [Upgrade to Node 12.18.3](https://github.com/wekan/wekan/commit/6f503ca818abff17a20b6612aeea1f9e2c4a8234). + Thanks to Node developers. + +and fixes the following bugs: + +- [Fix Snap](https://github.com/wekan/wekan/commit/68391a943bd37d9f98819ffb7b7a29692d0bd380). + This fix was already included to Wekan v4.21 to get it released. + TODO: Sometime migrate from Caddy v1 to Caddy v2. + Thanks to xet7. +- [Fix detecting current IP address on rebuild-wekan.sh](https://github.com/wekan/wekan/commit/ec1d8f275ff4cd720a8cd3bc918b32f9c5f5d099). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v4.21 2020-07-21 Wekan release + +This release adds the following new features: + +- [REST API: Changed edit_card and get_card_by_customfields to return full documents](https://github.com/wekan/wekan/pull/3215). + Thanks to gvespignani70. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v4.20 2020-07-20 Wekan release + +This release adds the following updates: + +- Update dependencies [Part1](https://github.com/wekan/wekan/commit/419615bed43b6e9de4030193c47137a066b85bde) and + [Part2](https://github.com/wekan/wekan/commit/116372e11e09ce9b8376a8694553add595e02815). + Thanks to developers of dependencies and xet7. + +and fixes the following bugs: + +- [Change slug on card rename](https://github.com/wekan/wekan/pull/3214). + Thanks to NicoP-S. +- [Add missing Wekan logo sizes for PWAs and Apps](https://github.com/wekan/wekan/commit/de28bf8569a7373a5d6fd60a4f413e76673adc26). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v4.19 2020-07-18 Wekan release + +This release adds the following features: + +- [Add support for EdgeHTML browser (Microsoft Legacy Edge, not based on Chromium) by removing incompatible csv-stringify package. + CSV export will be fixed later](https://github.com/wekan/wekan/commit/b9a4b0b51d3692fcbb715b1afc875f21cd204ae5). + Thanks to xet7. + +and adds the following updates: + +- Update dependencies [Part1](https://github.com/wekan/wekan/commit/23ee93ca3d4ea161a93627a8e28e1ce93eea1bab), + [Part2](https://github.com/wekan/wekan/commit/6646d48ccbaf04c4935de35fe037eff3bd7fd469), + [Part3](https://github.com/wekan/wekan/commit/87cb4598f745a362aaac06b8b457198c40aaf61e), + [Part4](https://github.com/wekan/wekan/commit/f57ed2990f5c6e1af10d270b24c7092805711afe). + Thanks to developers of dependencies and xet7. + +and fixes the following bugs: + +- [Checklist Item PUT API: boolean cast on isFinished](https://github.com/wekan/wekan/pull/3211). + Thanks to Robert-Lebedeu. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v4.18 2020-07-10 Wekan release + +This release adds the following updates: + +- [Upgrade to Node 12.18.2](https://github.com/wekan/wekan/commit/6e4407ed9cb3c95a99e0dbbb4383324dd57d6be1). + Thanks to Node developers and xet7. +- [Update dependencies](https://github.com/wekan/wekan/commit/05cd1247ab935f586d747743bb9cd79d23e0b1e6). + Thanks to dependency developers and xet7. + +and fixes the following bugs: + +- [All logged in users are now allowed to reorder boards by dragging at All Boards page and Public Boards page](https://github.com/wekan/wekan/commit/ba24c4e40c728d030504ed21ccf79247d0449e1b). + Thanks to xet7. +- [Fix running meteor for dev in rebuild-wekan.sh](https://github.com/wekan/wekan/commit/a77cf56fbdaf0b74d8b97aa41b0a88fee85e3ee1). + Thanks to xet7. +- [Fix start-wekan.bat](https://github.com/wekan/wekan/commit/0be1c00fccef8797a1b3612593a6623a9b465e0d) and + [Windows bundle install](https://github.com/wekan/wekan/wiki/Windows#a-bundle-with-windows-nodemongodb). + Thanks to xet7. +- [Fix typo](https://github.com/wekan/wekan/pull/3197). + Thanks to Lua00808. +- [Fix creating user misbehaving in some special case](https://github.com/wekan/wekan/pull/3206). + Thanks to salleman33. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v4.17 2020-06-18 Wekan release + +This release fixes the following bugs: + +- [Revert finding correct user changes that were made at Wekan v4.16](https://github.com/wekan/wekan/commit/5eb378452761ad1d6d67a491316007fdf6dfd689). + Thanks to xet7. +- [Fix activities view on mobile devices](https://github.com/wekan/wekan/pull/3183). + Thanks to marc1006. +- [Add back checks about can user export CSV/TSV](https://github.com/wekan/wekan/commit/afe00d02cddf016a3ccc1ed9a98a7f10d3339f26). + Thanks to marc1006 and xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v4.16 2020-06-17 Wekan release + +This release adds the following features: + +- [Add find-replace.sh script for development](https://github.com/wekan/wekan/commit/bda49ed60947e0438206b2f55119f5c5c132c734). + Thanks to xet7. + +and adds the following updates: + +- [Upgrade to Node 12.18.1](https://github.com/wekan/wekan/commit/b11ae567c9b2d16a115ea4f3f7f88e67d076f326). + Thanks to Node developers and xet7. + +and fixes the following bugs: + +- [OpenAPI: Fix jsdoc/operation matching](https://github.com/wekan/wekan/pull/3171). + Thanks to bentiss. +- Fix finding corrent user [Part1](https://github.com/wekan/wekan/pull/3180) and + [Part2](https://github.com/wekan/wekan/commit/f245b6b7faa29b4f276527daca48c305fe9689c1). + Thanks to salleman33 and xet7. +- [Try to prevent errors on CSV/TSV export](https://github.com/wekan/wekan/commit/b00db983c8506e0cdc9968e452c3c8025fc10776). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v4.15 2020-06-16 Wekan release + +This release fixes the following bugs: + +- Fix lint errors [Part1](https://github.com/wekan/wekan/commit/f1587753cb0bba38e4b1df2e0300d3dc2826da72) and + [Part2](https://github.com/wekan/wekan/commit/e6629779f77676eadfe4465c407f0bee0ec64061). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v4.14 2020-06-16 Wekan release + +This release adds the following new features: + +- [Add user option to hide finished checklist items. Strikethrough checked items](https://github.com/wekan/wekan/pull/3167). + Thanks to marc1006. +- [Added the possibility to start a vote via API edit_card. And added some better visibility to see what was voted](https://github.com/wekan/wekan/pull/3170). + Thanks to NicoP-S. + +and adds the following updates: + +- [Update dependencies](https://github.com/wekan/wekan/commit/8f34cdc279602e97085e0a504f7716495349f83c). + Thanks to xet7. + +and fixes the following bugs: + +- [Fix infinite scrolling for activities](https://github.com/wekan/wekan/pull/3168). + Thanks to marc1006. +- [Remove top and bottom margin for hidden checklist items](https://github.com/wekan/wekan/pull/3172). + Thanks to marc1006. +- [Alignment and spacing of minicard labels](https://github.com/wekan/wekan/pull/3174). + Thanks to hgustafsson. +- [Fix: Unable to delete a custom field in a board](https://github.com/wekan/wekan/commit/3b2b1087447bc8613baa8254bfec55e3d485bdc4). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v4.13 2020-06-09 Wekan release + +This release adds the following updates: + +- [OpenShift template updates](https://github.com/wekan/wekan/pull/3158), Thanks to jimmyjones2: + 1) Remove status fields (this is created by Kubernetes at run time) + 2) The latest MongoDB by default available with OpenShift is 3.6 + 3) Change MongoDB service name to contain wekan to avoid potentially conflicting with other mongodb instances in the same project. + +and fixes the following bugs: + +- [Copy the labels only if the target board is different](https://github.com/wekan/wekan/pull/3154). + Thanks to marc1006. +- [Fix condition whether a card is in list](https://github.com/wekan/wekan/pull/3165). + Thanks to marc1006. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v4.12 2020-06-08 Wekan release + +This release fixes the following CRITICAL SECURITY VULNERABILITIES: + +- Fix XSS bug reported 2020-05-24 by [swsjona](https://twitter.com/swsjona): + [Part 1](https://github.com/wekan/wekan/commit/1f85b25549b50602380f1745f19e5fe44fe36d6f), + [Part 2](https://github.com/wekan/wekan/commit/fb44df981581354bf23a6928427ad2bf73c4550f), + [Part 3](https://github.com/wekan/wekan/commit/99f68f36b028d6c75acf2e5b83585b1acee65f97), + [Part 4](https://github.com/wekan/wekan/commit/8a622ec7c3043bf8f34399ef34563e6a9a19dcd8). + Logged in users could run javascript in input fields. This was partially fixed at v3.85, + but at some fields XSS was still possible. This affects at least Wekan versions v3.12-v4.12. + After this fix, Javascript in input fields is not executed. + Thanks to swsjona, marc1006 and xet7. + +and adds the following new features: + +- Change default view to Swimlanes: + [Part 1](https://github.com/wekan/wekan/commit/8c3322f9a93c321e8a2cc5cfcd4b1d6316a5fb7c), + [Part 2](https://github.com/wekan/wekan/commit/61e682470cdaef42cce2d74b41fb752cfc61848b), + [Part 3 Change dropdown order to Swimlanes/Lists/Calendar](https://github.com/wekan/wekan/commit/7f6d500cbec15496ae357b05b9df3f10e51ed1f1), + [Part 4.1. Public board default view to Swimlane. Part 4.2. When changing Public board + view (sets view cookie), also reload page so view is changed + immediately](https://github.com/wekan/wekan/commit/39519d1cc944c567837be0f88ab4a037e2144c61). + Thanks to xet7. +- [Use markdown in Swimlane titles](https://github.com/wekan/wekan/commit/6b22f96313354b45b851b93c25aa392bbe346bdb). + Thanks to xet7. + +and adds the following updates: + +- [Update minifier-css](https://github.com/wekan/wekan/commit/cb1e91fee83eaad1e926c288c0abfc1e4f2a8bd4). + Thanks to xet7. + +and fixes the following bugs: + +- Fix indent [Part1](https://github.com/wekan/wekan/commit/415e94d187ffcb9a4afaecc5c6960a50a87ca7eb), + [Part 2](https://github.com/wekan/wekan/commit/96494bacf550cde65598e6d59199517f311aa33d). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v4.11 2020-06-04 Wekan release + +This release adds the following new platforms: + +- [Using arm64 bundle on Raspberry Pi OS arm64 with MongoDB 4.2.x for RasPi3 and + RasPi4](https://github.com/wekan/wekan/wiki/Raspberry-Pi#raspberry-pi-os-arm64-with-mongodb-42x). + Thanks to Raspberry Pi OS devs, MongoDB devs and xet7. +- [s390x RHEL 8](https://github.com/wekan/wekan/wiki/s390x#rhel-8). + Thanks to IBM, Red Hat Linux, Linux Foundation and xet7. + +and adds the following updates: + +- [Upgrade to Node v12.18.0](https://github.com/wekan/wekan/commit/d9d451a206cabe7f6ca8ad5d35eb76443198e4c1). + Thanks to Node developers and xet7. +- [Update `markedjs` package](https://github.com/wekan/wekan/pull/3149). + Thanks to marc1006. +- [Add fibers](https://github.com/wekan/wekan/commit/cd49018306f826fff37b7024dfde9de05d88b620). + Thanks to xet7. + +and adds the following new features: + +- [Add Calendar Month Event List view](https://github.com/wekan/wekan/commit/f73ea218eefba3f0d6c642849dfede9e03052d25). + Thanks to xet7. +- [Added dates & assignees to REST API calls](https://github.com/wekan/wekan/pull/3146). + Thanks to GitGramm. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v4.10 2020-05-30 Wekan release + +This release adds the following new features: + +- [Added an API to get the cards for a specific custom field value](https://github.com/wekan/wekan/pulls/3131). + Thanks to gvespignani70. + +and adds the following updates: + +- [Upgrade to Node v12.17.0](https://github.com/wekan/wekan/commit/3ade9d95a69b269c345127e1755e1b539dc07263). + Thanks to Node developers and xet7. + +and fixes the following bugs: + +- [Fix email verification in `sendSMTPTestEmail`](https://github.com/wekan/wekan/pull/3135). + Thanks to marc1006. +- [Try to Fix Registration broken "Templates board id is required" with ugly hack. If it works, ugly becomes + beautiful](https://github.com/wekan/wekan/pull/3140). + Thanks to marc1006. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v4.09 2020-05-27 Wekan release + +This release fixes the following bugs: + +- [Fix vote export & export/import currency custom field to CSV/TSV](https://github.com/wekan/wekan/pull/3128). + Thanks to brymut. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v4.08 2020-05-26 Wekan release + +This release adds the following new features: + +- [Add the 'Currency' Custom Field type](https://github.com/wekan/wekan/pull/3123). + Thanks to habenamare. + +and adds the following updates: + +- [Add some changes to Modern theme](https://github.com/wekan/wekan/commit/6a1bc167cf10e75d61b3196db9eac2978d70ad8e). + Thanks to jeroenstoker and xet7. + +and fixes the following bugs: + +- [Fix typo that caused parse error](https://github.com/wekan/wekan/commit/351d9d0c9577c9d543d543bc12a51388b0141324). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v4.07 2020-05-26 Wekan release + +This release fixes the following bugs: + +- [Fix move selection](https://github.com/wekan/wekan/pull/3120). + Thanks to marc1006. +- [Fix Python API generation](https://github.com/wekan/wekan/pull/3121). + Thanks to marc1006. +- [Fix default value of `sort`](https://github.com/wekan/wekan/pull/3122). + Thanks to marc1006. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v4.06 2020-05-25 Wekan release + +This release fixes the following bugs: + +- [Fix Card export CSV, check for vote + undefined](https://github.com/wekan/wekan/commit/8eafa1ac66fdcf5fb5f0a95aa6cfee454ddad67f). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v4.05 2020-05-25 Wekan release + +This release adds the following new features: + +- [Import/Export Custom Fields in CSV/TSV](https://github.com/wekan/wekan/pull/3115). + Thanks to brymut. + +and adds the following updates: + +- [Update packages](https://github.com/wekan/wekan/commit/3b44acd87c35340bf9fe5d210f4402f1b1a1dfdf). + Thanks to xet7. + +and fixes the following bugs: + +- Try to fix Snap [1](https://github.com/wekan/wekan/commit/6fad68b9b9afd8de7074037d73eeac40f6a3f7c1), [2](https://github.com/wekan/wekan/commit/b737adfcdfc9b8084a7eb84420a89c014bbec1fb). Later reverted those like other ostrio-files changes too. + Thanks to xet7. +- [Add default attachments store path /var/snap/wekan/common/uploads where attachments will be + stored](https://github.com/wekan/wekan/commit/c61a126c8bcb25a1eda0203b89c990ae31de7a70). + Thanks to xet7. +- [Make scrollParentContainer() more robust as it's used in a timeout callback. Example exception: Exception in setTimeout callback: TypeError: Cannot read property 'parentComponent' of null. Probably there is a better fix for this](https://github.com/wekan/wekan/commit/d5fbd50b760b1d3b84b5b4e8af3a8ed7608e2918). + Thanks to marc1006. +- [Fix error link not available. Fixes: Exception in template helper: TypeError: Cannot read property 'link' of +undefined](https://github.com/wekan/wekan/commit/b7105d7b5712dcdbf9dadebfddaba7691810da5c). + Thanks to marc1006. +- [Fix minicard cover functionality. Otherwise, if `this.coverId` is undefined then `Attachments.findOne()` would return any +attachment](https://github.com/wekan/wekan/commit/66d35a15280795b76a81c3e59cebbd2a29e4dff8). + Thanks to marc1006. +- [Some fixes suggested by deepcode.ai](https://github.com/wekan/wekan/pull/3112). + Thanks to marc1006. +- [Sorry marc1006, I had to revert deepcode.ai arrow function fixes because Python API docs generator does not work all when code has arrow functions](https://github.com/wekan/wekan/commit/f9018fc3a87080d8d97c371e29a8f3f0a20ca932). + Thanks to xet7. +- [Move In Progress ostrio-files changes to separate branch, and revert ostrio-files changes, so that: + Export to CSV/TSV with custom fields works, Attachments are not exported to disk, + It is possible to build arm64/s390x versions + again](https://github.com/wekan/wekan/commit/d52affe65893f17bab59bb43aa9f5afbb54993d3). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v4.04 2020-05-24 Wekan release + +Please use v4.05 or newer instead, that works better. + +This release adds the following features: + +- [Found Time Tracking GPLv3 software "Titra" with integration to Wekan](https://github.com/wekan/wekan/wiki/Time-Tracking). + Thanks to willhseitz. +- [Theme: Natural](https://github.com/wekan/wekan/pull/3098). + You can select it from Board Settings / Change color / natural. + Thanks to compumatter and helioguardabaxo. +- [Theme: Modern](https://github.com/wekan/wekan/pull/3106). + Thanks to jeroenstoker com and helioguardabaxo. +- [Export board to HTML static page .zip archive](https://github.com/wekan/wekan/pull/3043). + Thanks to Lewiscowles1986. + +and fixes the following bugs: + +- [Change the swimlaneid of a card only if a new target swimlaneid is selected](https://github.com/wekan/wekan/pull/3108). + Thanks to marc1006. +- [Set '*' as default value for swimlane and list name in card move action](https://github.com/wekan/wekan/pull/3109). + Thanks to hickorysb and marc1006. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v4.03 2020-05-16 Wekan release + +This release adds the following features: + +- [Theme: Clearblue](https://github.com/wekan/wekan/pull/3093). + You can select it from Board Settings / Change color / clearblue. + Thanks to CidKramer. + +and fixes the following bugs: + +- [Fix Can't Scroll on All Boards on mobile phone. Added drag handles](https://github.com/wekan/wekan/issues/3096). + Thanks to xet7. +- [Try to fix Sandstorm Wekan Export menu](https://github.com/wekan/wekan/commit/1ac11d92ba8f38981c87db25e5b5e1fa2adb6968). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v4.02 2020-05-15 Wekan release + +This release adds the following server platforms: + +- [Android arm64/x64](https://github.com/wekan/wekan/wiki/Android). + Thanks to xet7. + +and adds the following features: + +- [Install Wekan to mobile homescreen icon and use fullscreen + PWA](https://github.com/wekan/wekan/commit/8d5adc04645e3e71423f16869f39b8d79969bccd). + [Docs for iOS and Android at wiki PWA page](https://github.com/wekan/wekan/wiki/PWA). + Thanks to xet7. +- [Add options to rebuild-wekan.sh to run Meteor in development mode where after + file change it rebuilds](https://github.com/wekan/wekan/commit/5f915ef966170ea7baca7ddeb11319bc08a26fef). + Thanks to xet7. + +and adds the following updates: + +- [Update dependencies](https://github.com/wekan/wekan/commit/75bdd33fda58ea0233f5b38c466bcb1a9b0406ab). + Thanks to xet7. + +and adds the following translations: + +- [Add Spanish (Chile)](https://github.com/wekan/wekan/commit/96507e6777ed77a324eaec9799c5b46b0d25ad26). + Thanks to isos, Transifex user. + +and fixes the following bugs: + +- [Fix Deleting linked card makes board not load](https://github.com/wekan/wekan/issues/2785). + Thanks to marc1006 and xet7. +- [Fix getStartDayOfWeek once again](https://github.com/wekan/wekan/pull/3061). + Thanks to marc1006. +- [Fix shortcuts list and support card shortcuts when hovering + a card](https://github.com/wekan/wekan/pull/3066). + Thanks to marc1006. +- [Add white-space:normal to copy-to-clipboard button in card + details](https://github.com/wekan/wekan/pull/3075). + Thanks to helioguardabaxo. +- [Fix avatar-image class](https://github.com/wekan/wekan/pull/3083). + Thanks to krupupakku. +- [Fix Swimlanes ID missing in new boards](https://github.com/wekan/wekan/pull/3088). + Thanks to krupupakku. +- [Fix REST API so Create card does now allow an empty member + list](https://github.com/wekan/wekan/pull/3084). + Thanks to wackazong. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v4.01 2020-04-28 Wekan release + +This release adds the following updates: + +- [Upgrade to Node v12.16.3](https://github.com/wekan/wekan/commit/1d89e96dd101c11913f1acdd6d16b5650eaf18a7). + Thanks to Node developers and xet7. + +and fixes the following bugs: + +- [Fix Docker builds](https://github.com/wekan/wekan/commit/280e66947e3afa878c41e876cf827ebcec81a2c6). + Thanks to xet7. +- [Fix Cards and Users API docs at https://wekan.github.io/api/ not generated because of + syntax error and new Javascript syntax](https://github.com/wekan/wekan/commit/9ae20a3f51e63c29f536e2f5b3e66a2c7d88c691). + Wekan uses wekan/releases/generate-docs*.sh Python code to generate OpenAPI docs, + it did not show any errors while generating docs, only left out parts of API docs. + This affected Wekan versions v3.94-v4.00. + Thanks to pvcon13 and xet7. +- [Fix list header height when cards count is shown](https://github.com/wekan/wekan/pull/3056). + Thanks to marc1006. +- [Smaller height for Add Board button](https://github.com/wekan/wekan/commit/6afc9259f084717a0cc3ce6d66979fd7c1471939). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v4.00 2020-04-27 Wekan release + +This release fixes the following bugs: + +- [Make sure that the board header buttons fit into one line even for devices with 360px width + resolution](https://github.com/wekan/wekan/pull/3052). + Thanks to marc1006. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.99 2020-04-27 Wekan release + +This release fixes the following bugs: + +- [Fix Boards are very hard to tap in mobile](https://github.com/wekan/wekan/pull/3051). + Thanks to marc1006. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.98 2020-04-25 Wekan release + +News: + +- There is now many mobile and desktop webbrowser fixes. Please test does your + favourite Javascript enabled webbrowser work, and add issues if something + does not work, and there is no existing issue about that yet. +- Desktop browser mode has setting for Show/Hide drag handles: + top right click username / Change Settings / Show desktop drag handles. + You can request desktop website also at mobile webbrowsers on Android. + At iOS requesting desktop website did not seem to work yet. +- At iOS Safari and Chrome, to see swimlane buttons you need to scroll to right. + Fixes to this and other issues are welcome as pull request. + +This release adds the following new features: + +- [Pre-fill the title of checklists (Trello-style)](https://github.com/wekan/wekan/pull/3030). + Thanks to boeserwolf. +- [Implement option to change the first day of the week in user settings](https://github.com/wekan/wekan/pull/3032). + Thanks to marc1006. +- [Add babel to build chain and linter. Enables fancy Javascript language + features like optional chaining, for developer happiness](https://github.com/wekan/wekan/pull/3034). + Thanks to boeserwolf. +- [Use only one 'Apply' button for applying the user settings](https://github.com/wekan/wekan/pull/3039). + Thanks to marc1006. +- [Allow variable height for board list items. Allow words in title/description to be able to break + and wrap onto the next line](https://github.com/wekan/wekan/pull/3046). + Thanks to marc1006. + +and adds the following updates: + +- [Upgrade to Meteor 1.10.2](https://github.com/wekan/wekan/commit/d1f98d0c472fb41e25fb29a9a6f6dae7db003f6f). + Thanks to Meteor developers and xet7. +- [Set Snap MongoDB compatibility to 4.2 according to Meteor ChangeLog](https://github.com/wekan/wekan/commit/7de18eccea3854db3be6197bf21afbfd3ddb65a6). + Thanks to xet7. + +and fixes the following bugs: + +- [Multiple lint issue fixes](https://github.com/wekan/wekan/pull/3031). + Thanks to marc1006. +- [Fix lint errors in lint error fix](https://github.com/wekan/wekan/commit/9e95c06415e614e587d684ff9660cc53c5f8c8d3). + Thanks to xet7. +- [Fix getStartDayOfWeek function](https://github.com/wekan/wekan/pull/3038). + Thanks to marc1006 and boeserwolf. +- Improve mobile devices support [Part1](https://github.com/wekan/wekan/pull/3040) and [Part2](https://github.com/wekan/wekan/pull/3045). + Thanks to marc1006. +- [Fix Wekan not load at all in Firefox v.68 for Android](https://github.com/wekan/wekan/commit/1235363465b824d26129d4aa74a4445f362c1a73). + Thanks to xet7. +- [Fix comment typo in docker-compose.yml](https://github.com/wekan/wekan/pull/3044). + Thanks to VictorioBerra. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.97 2020-04-19 Wekan release + +This release adds the following new features: + +- [Sortable boards](https://github.com/wekan/wekan/pull/3027). + Thanks to boeserwolf. +- [Added dockerfiles for multi-arch builds and manifest](https://github.com/wekan/wekan/pull/3023). + [In Progress](https://github.com/wekan/wekan/issues/2999). + Thanks to brokencode64. +- [Make linked card clickable](https://github.com/wekan/wekan/pull/3025). + Thanks to boeserwolf. + +and fixes the following bugs: + +- [Fix using checklists on mobile and iPad](https://github.com/wekan/wekan/pull/3019). + Thanks to devinsm. +- [Improve card layout on mobile devices](https://github.com/wekan/wekan/pull/3024). + Thanks to marc1006. +- [Make OCP OAuth work with Openshift 4.x](https://github.com/wekan/wekan/pull/3020). + Thanks to ckavili. +- [Remove old warning from Sandstorm import board data loss, because bug has been already + fixed](https://github.com/wekan/wekan/commit/960fe5163b6a2f7c3dca03b5e31d69611b49f079). + Thanks to aputsiaq and xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.96 2020-04-15 Wekan release + +This release adds the following Sandstorm updates: + +- This is the first Sandstorm Wekan release that uses newest Meteor 1.10.1 and Node 12.x. + Now all Wekan platforms use newest Meteor and Node 12.x LTS. + Thanks to kentonv and xet7. +- [Fix capnp workaround to work with newest Meteor and + Node 12.x](https://github.com/wekan/wekan/commit/b2d546579c4957352c29b36c0c8a4a08b944dbb4). + Thanks to kentonv. +- [Update Sandstorm release script for newest Meteor and + Node 12.x](https://github.com/wekan/wekan/commit/c5f782976b971fa3f2323e80a013bbf6a49c0596). + Thanks to xet7. +- [Remove Meteor 1.8.x files because Sandstorm Wekan now uses newest + Meteor](https://github.com/wekan/wekan/commit/1a836969e10215bad47ac56a9b0d9de801b66fd2). + Thanks to xet7. + +and adds the following new features: + +- [Hide password auth with environment variable PASSWORD_LOGIN_ENABLED=false](https://github.com/wekan/wekan/pull/3014). + Snap example: `sudo snap set wekan password-login-enabled='false'` . + Thanks to salleman33. + +and fixes the following bugs: + +- [Fix Board admins can not clone or archive their boards at All Boards + page](https://github.com/wekan/wekan/pull/3013). + Thanks to salleman33. +- [Fix `

` margin in card labels](https://github.com/wekan/wekan/pull/3015). + Thanks to boeserwolf. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.95 2020-04-12 Wekan release + +This release adds the following new features: + +- [Add gitpod config](https://github.com/wekan/wekan/pull/3009). + This adds support for Gitpod.io, a free automated + dev environment that makes contributing and generally working on GitHub + projects much easier. It allows anyone to start a ready-to-code dev + environment for any branch, issue and pull request with a single click. + Thanks to juniormendonca. +- [Public boards overview](https://github.com/wekan/wekan/pull/3008). + Thanks to NicoP-S. + +and fixes the following bugs: + +- [Fix styling issue in notifications drawer](https://github.com/wekan/wekan/pull/3012). + Thanks to boeserwolf. +- [Fix error in notifications cleanup cron](https://github.com/wekan/wekan/pull/3010). + Thanks to jtbairdsr. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.94 2020-04-12 Wekan release + +This release adds the following new features: + +- [Public vote](https://github.com/wekan/wekan/pull/3006). + Thanks to NicoP-S. +- [Add robots.txt disallow all](https://github.com/wekan/wekan/commit/3fae5355d40055757bf4a5f0c503581195609720). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.93 2020-04-10 Wekan release + +This release adds the following new features: + +- [Trello vote import & hide export button if with_api is + disabled](https://github.com/wekan/wekan/pull/3000). + Thanks to NicoP-S. +- [When adding a user to a board that has subtasks, also add user to the subtask + board](https://github.com/wekan/wekan/pull/3004). + Thanks to slvrpdr. + +and adds the following updates: + +- Upgrade to Node v12.16.2 [Part1](https://github.com/wekan/wekan/commit/6db717b9b384fe1491063e507b80e67791a07e3a) + and [Part2](https://github.com/wekan/wekan/commit/268d7fcb32186a902a84e7f6d80c50b1f3790bad). + Thanks to Node developers and xet7. + +and fixes the following bugs: + +- [Fix bug that prevents editing or deleting + comments](https://github.com/wekan/wekan/pull/3005). + Thanks to jtbairdsr. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.92 2020-04-09 Wekan release + +This release adds the following new features: + +- [Scheduler to clean up read notifications. Also added a button to manually remove all + read notifications, and a fix to prevent users form getting notifications for their own + actions](https://github.com/wekan/wekan/pull/2998). + Thanks to jtbairdsr. +- [Add setting](https://github.com/wekan/wekan/commit/5ebb47cb0ec7272894a37d99579ede872251f55c) + default [NOTIFICATION_TRAY_AFTER_READ_DAYS_BEFORE_REMOVE=2](https://github.com/wekan/wekan/pull/2998) + to all Wekan platforms. + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.91 2020-04-08 Wekan release + +This release adds the following new features: + +- [OpenShift: Route template added to helm chart for Openshift v4x + cluster](https://github.com/wekan/wekan/pull/2996). + Thanks to ckavili. +- [Filter by Assignee](https://github.com/wekan/wekan/pull/2997). + Thanks to daniel-eder. +- [Vote on Card](https://github.com/wekan/wekan/pull/2994). + Thanks to NicoP-S and xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.90 2020-04-06 Wekan release + +This release makes the following updates: + +- [Update dependencies](https://github.com/wekan/wekan/commit/d798f6e3ef09595ce4f1d1fbc053eec70fc91fb9). + +and updates the following translations: + +- [Update layouts.js for zh-TW language name](https://github.com/wekan/wekan/pull/2988). + Thanks to doggy8088. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.89 2020-04-05 Wekan release + +This release adds the following new features: + +- [Create subtasks in parenttask swimlane](https://github.com/wekan/wekan/issues/1953). + Thanks to TOSCom-DanielEder. +- [When searching cards in a board, also search from Custom Fields](https://github.com/wekan/wekan/pull/2985). + Thanks to slvrpdr. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.88 2020-04-02 Wekan release + +This release adds the following new features: + +- [Notification drawer](https://github.com/wekan/wekan/pull/2975) [like Trello](https://github.com/wekan/wekan/issues/2471). + Thanks to jtbairdsr and xet7. + +and makes the following UI changes: + +- [Minicard labels on the top and title on bottom](https://github.com/wekan/wekan/issues/2980). + Thanks to helioguardabaxo and xet7. + +and fixes the following bugs: + +- [Fix start-wekan.sh MongoDB port to 27017](https://github.com/wekan/wekan/commit/c60a092fc0ed9fe15c417bcb443b1e3e3aaedf7e). + Thanks to Keelan and xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.87 2020-04-01 Wekan release + +This release makes the following UI changes: + +- [Move "Rules" from "Board View" to "Board Settings"](https://github.com/wekan/wekan/issues/2973). + Thanks to helioguardabaxo and xet7. +- [Improvements on card details visualization](https://github.com/wekan/wekan/issues/2974). + Thanks to helioguardabaxo and xet7. +- [Hide duplicate "Hide system messages" at Change Settings/Member Settings, because it's also on card + slider](https://github.com/wekan/wekan/issues/2837). + Thanks to notohiro and xet7. + +and fixes the following bugs: + +- [Fix Browser always reload the whole page when I change one of the card + color](https://github.com/wekan/wekan/commit/3546d7aa02bc65cf1183cb493adeb543ba51945d). + Fixed by making label colors and text again editable. + Regression from [Wekan v3.86 2)](https://github.com/wekan/wekan/commit/b9099a8b7ea6f63c79bdcbb871cb993b2cb7e325). + Thanks to javen9881 and xet7. +- [Fix richer editor submit did not clear edit area](https://github.com/wekan/wekan/commit/033d6710470b2ecd7a0ec0b2f0741ff459e68b32). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.86 2020-03-24 Wekan release + +This release fixes the following bugs: + +- [Fix Rich editor can not be disabled, regression from changes yesterday at Wekan v3.85](https://github.com/wekan/wekan/commit/12ab8fac5db9c5ac8069d0ca2bca340d6004a25b). + Thanks to uusijani, vjrj and xet7. +- [1) Fix Pasting text into a card is adding a line before and after + (and multiplies by pasting more) by changing paste "p" to "br". + 2) Fixes to summernote and markdown comment editors, related + to keeping them open when adding comments, having + @member mention not close card, and disabling clicking of + @member mention](https://github.com/wekan/wekan/commit/b9099a8b7ea6f63c79bdcbb871cb993b2cb7e325). + Thanks to xet7 ! + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.85 2020-03-23 Wekan release + +This release fixes the following CRITICAL SECURITY VULNERABILITIES: + +- [Fix XSS bug reported today 4 hours ago by Cyb3rjunky](https://github.com/wekan/wekan/commit/482682e50079d70c5113169020d6834013b57c11). + Logged in users could run javascript in input fields. + This affects Wekan versions v3.12-v3.84. + In [Wekan v3.12](https://github.com/wekan/wekan/blob/master/CHANGELOG.md#v312-2019-08-09-wekan-release) + there was [changes for XSS filter to allow inserting images, videos etc + on comment WYSIWYG editor](https://github.com/wekan/wekan/pull/2593) + so features related to that are now removed. + After this fix, Javascript in input fields is not executed. + Thanks to Cyb3rjunky and xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.84 2020-03-16 Wekan release + +This release adds the following features: + +- Add settings for mouse wheel scroll inertia and scroll + amount [Part1](https://github.com/wekan/wekan/commit/9d13001b903f9ec50f5fa3a4bdbacae32b27ac65) + and [Part2](https://github.com/wekan/wekan/commit/aaecac091209e90c0c2123830728f5e7a835ccb4). + For example: sudo snap set wekan scrollinertia='200' , sudo snap set wekan scrollamount='200' . + Thanks to danger89 and xet7. + +and adds the following updates: + +- [Upgrade to Meteor 1.10.1](https://github.com/wekan/wekan/commit/e16c65babc1f021c35a3d46bc61e649ec94d1e82). + Thanks to xet7. +- [Update markdown](https://github.com/wekan/wekan/commit/6e0fa78022ea487176eb0a32ec5a4a441f8e0c3c). + Thanks to xet7. +- [Update minimist](https://github.com/wekan/wekan/commit/ea6baa5c2b956ee28b0a7e63f988e2fc1998201a). + Thanks to xet7. +- [Update acorn](https://github.com/wekan/wekan/commit/369a29707bbec3bf89717c16e8b698fb4666087a). + Thanks to xet7. +- [Update prettier-eslint](https://github.com/wekan/wekan/commit/8183b7bdaa01d2ce53ac7215beafd5efe21373e8). + Thanks to xet7. +- [Update ostrio:cookies](https://github.com/wekan/wekan/commit/14b8610837117616d436e2bac6a9dc653e315662). + Thanks to xet7. +- [Add build time profiling to build script](https://github.com/wekan/wekan/commit/f968109e7390139e50375ee29bc7bc3cf1e1ab41). + Thanks to zodern. + +and fixes the following bugs: + +- [Downgrade stylus to v1.1.0 to speed up building Wekan](https://github.com/wekan/wekan/commit/fca4cdcebf1cc6642aefeb78b911cb5b95ebe473). + This is because building newer stylus v2 takes 52 minutes. After this change, building Wekan takes 3 minutes. + Thanks to zodern. +- [Fix: Error when retrieve token from some OIDC due to not necessary scope + parameter](https://github.com/wekan/wekan/pull/2955). + Thanks to benoitm76. +- [Fix: img tag did not allow width and height. Removed swipebox from markdown editor + img tag and updated marked markdown to newest version](https://github.com/wekan/wekan/commit/2b26bbe78a1a2b8b427963a6c44c3853efdb737e). + Thanks to hradec and xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.83 2020-03-01 Wekan release + +This release tries to revert remaining the following changes: + +- [Revert](https://github.com/wekan/wekan/88573ad2cdb8596b795a82ef40a0662180e8a7d7) change made at Wekan v3.81, + because building did not work: [Try to make Meteor build time shorter + by excluding legacy and cordova. This was made possible by + Meteor 1.10-rc.2](https://github.com/wekan/wekan/commit/0d3002f69d97e646fa7368bfdade4f78c51e9884). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.82 2020-03-01 Wekan release + +This release reverts the following changes: + +- Revert change made at Wekan v3.81, because building did not work: [Try to make Meteor build time shorter + by excluding legacy and cordova. This was made possible by + Meteor 1.10-rc.2](https://github.com/wekan/wekan/commit/0d3002f69d97e646fa7368bfdade4f78c51e9884). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.81 2020-03-01 Wekan release + +This release [fixes](https://github.com/wekan/wekan/commit/aac7c380c8c389b0683b2bd64e2cc856993f0e30) the following CRITICAL SECURITY VULNERABILITIES and other bugs: + +- Fix critical and moderate security vulnerabilities reported at 2020-02-26 with + responsible disclosure by [Dejan Zelic](https://twitter.com/dejandayoff), + Justin Benjamin and others at [Offensive Security](https://twitter.com/offsectraining), + that follow standard 90 days before public disclosure. + Thanks to xet7. +- Fix webhook error that prevented some card etc deleting from web UI of board. + Thanks to xet7. +- Add missing Font Awesome icon to Board Settings Menu. + Thanks to xet7. +- Remove autofocus from many form input boxes so that they would not cause warnings. + Thanks to xet7. + +and does the following upgrades: + +- [Upgrade Meteor to 1.10-rc.2](https://github.com/wekan/wekan/commit/26b521e86e6ac40b7ba25bbe8dac7bf4d48d43ce). + Thanks to xet7. +- [Try to make Meteor build time shorter by excluding legacy and cordova. This was made possible by + Meteor 1.10-rc.2](https://github.com/wekan/wekan/commit/0d3002f69d97e646fa7368bfdade4f78c51e9884). + Thanks to xet7. + +and fixes the following bugs: + +- [Try to fix afterwards loading of cards by adding fallback when requestIdleCallback is not + available](https://github.com/wekan/wekan/commit/2b9540ce02de604bf84ea082f2dcb1d01673708c). + Thanks to xet7. +- [Make profile.initials available in publications](https://github.com/wekan/wekan/pull/2948). + Thanks to NicoP-S. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.80 2020-02-22 Wekan release + +This release adds the following features: + +- [Create New User in Admin Panel](https://github.com/wekan/wekan/commit/e0ca960a35cf006880019ba28fc82aa30f289a71). + Works, but does not save fullname yet, so currently it's needed to edit add fullname later. + Thanks to xet7. + +and adds the following updates: + +- [Update to Meteor 1.9.1, Node 12.16.1 etc newest dependencies](https://github.com/wekan/wekan/commit/cbbb5deff7d84a91c40becc9caaf70f5b6738b63). + Thanks to xet7. +- [Update to Meteor 1.9.2](https://github.com/wekan/wekan/commit/9be3f3714ae680ff9fc1855c960c9831e84c2b07). + Thanks to xet7. + +and fixes the following bugs: + +- [Update Sandstorm release build script](https://github.com/wekan/wekan/commit/a4ff6cc0af8545ca4d3e97fa2cabbe7981c025b2). + Thanks to xet7. +- [Fix docker-compose link](https://github.com/wekan/wekan/pull/2937). + Thanks to pbek. +- [Remove alethes:pages package, that had some indentation error. + Package is about pagination, but I did not find any pagination related code in Wekan + yet](https://github.com/wekan/wekan/commit/ec012060305bc16fbf8d2ac218f5c847e02c4301). + Thanks to xet7 ! + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.79 2020-02-13 Wekan release + +This release fixes the following bugs: + +- [Fix Card Opened Webhook can not be disabled](https://github.com/wekan/wekan/commit/178f376e2138b5522c2e92ddfd2babb113df8d9f). + Thanks to mvanvoorden and xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.78 2020-02-12 Wekan release + +This release adds the following features: + +- [Card Settings / Show on Card: Description Title and Description Text](https://github.com/wekan/wekan/commit/e89965f6422fd95b4ad2112ae407b1dde4853510). + Thanks to e-stoniauk, 2020product and xet7. + +and fixes the following bugs: + +- [Remove card element grouping to create compact card layout](https://github.com/wekan/wekan/commit/e89965f6422fd95b4ad2112ae407b1dde4853510). + Thanks to e-stoniauk, 2020product and xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.77 2020-02-10 Wekan release + +This release removes the following features: + +- [Remove hiding comments and activities](https://github.com/wekan/wekan/commit/2a54218f3f68547032bd53a04a968b233be21e15). + Thanks to xet7. + +and fixes the following bugs: + +- Fix Copy Card Link to Clipboard button at card title did not + work [Part 1](https://github.com/wekan/wekan/commit/9a21b0a1c933e7f778e4e57a8258e150ccea1620) + and [Part2](https://github.com/wekan/wekan/commit/4467a68b97a3fbf0fbae7f05177d978f2aa80287). + Thanks to 2020product and xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.76 2020-02-07 Wekan release + +This release adds the following updates: + +- [Use Meteor 1.9 and Node.js 12.15.0 on Snap and Docker](https://github.com/wekan/wekan/commit/8384d68a060ef8f2c202ce2fa6064c5c823d28dc). + This also fixes bug that exporting some boards was not possible, downloading export file failed. + Thanks to xet7. + +and fixes the following bugs: + +- [Fix Bug enable/disable Comments in Card Settings](https://github.com/wekan/wekan/issues/2923). + Thanks to warnt, mdurokov and xet7. +- [Try to disable dragging Swimlanes/Lists/Cards/Checklists/Subtasks on small mobile smartphones webbrowsers, + and hide drag handles on mobile web](https://github.com/wekan/wekan/commit/bf78b093bad7d463ee325ad96e8b485264d4a3be). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.75 2020-02-05 Wekan release + +This release adds the following new features: + +- [Fix](https://github.com/wekan/wekan/commit/f22785dbcde42e425c9ead209ec224aef6e11c16) + [adding comments](https://github.com/wekan/wekan/issues/2918). + Thanks to xet7. + +and fixes the following bugs: + +- [Added some working layout changes like activities using less space from https://github.com/wekan/wekan/pull/2920](https://github.com/wekan/wekan/commit/f22785dbcde42e425c9ead209ec224aef6e11c16). + Thanks to 2020product. +- [Fixed Card Settings not working at Sandstorm](https://github.com/wekan/wekan/commit/f22785dbcde42e425c9ead209ec224aef6e11c16). + Thanks to xet7. +- Add [Card Description title](https://github.com/wekan/wekan/issues/2918#issuecomment-582346577) + [back](https://github.com/wekan/wekan/commit/f22785dbcde42e425c9ead209ec224aef6e11c16). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.74 2020-02-05 Wekan release + +This release adds the following new features: + +- [For BoardAdmin, add way to hide parts of a card, at Board Settings/Card Settings/Show on Card: Received, Start, ... etc. + Add to card title bar Copy card to Clipboard button](https://github.com/wekan/wekan/pull/2915). + Thanks to 2020product and xet7. +- [Set default to RICHER_CARD_COMMENT_EDITOR=false](https://github.com/wekan/wekan/commit/65fa2f626f503b8089e0d982901cffb3990426cb). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.73 2020-01-29 Wekan release + +This release adds the following new features: + +- [Login to Wekan with Nextcloud](https://github.com/wekan/wekan/pull/2897). + Thanks to bogie. +- [Add rule action to move cards to other boards](https://github.com/wekan/wekan/pull/2899). + Thanks to peterverraedt. + +and fixes the following bugs: + +- [Show System Wide Announcement in one line](https://github.com/wekan/wekan/pull/2891). + Thanks to tsia. +- [Fixed board export with attachment in Wekan Meteor 1.9.x version](https://github.com/wekan/wekan/pull/2898). + Thanks to izadpoor. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.72 2020-01-19 Sandstorm-only Wekan release + +This release fixes the following bugs: + +- Try to fix Wekan at Sandstorm. + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.71 2020-01-18 Sandstorm-only Wekan release + +This release fixes the following bugs: + +- [Try to fix Wekan at Sandstorm by using Meteor 1.8.x and Node 8.17.0 at Sandstorm](https://github.com/wekan/wekan/commit/5e5ab95410c715a4379631456fc5547c497898b0). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.70 2020-01-18 Wekan release + +This release fixes the following bugs: + +- [Add missing LD_LIBRARY_PATH to use libssl and libcurl](https://github.com/wekan/wekan/10f142a1a05acb98a175ccb0326fb0c1d3e3713f). + Thanks to xet7. +- [Use Meteor 1.8.x](https://github.com/wekan/wekan/commit/55a2aa90cbbf44200e9b0b9f4bd08b6177f1bb95) + [on Snap](https://github.com/wekan/wekan/commit/6a01170d8696322462c4065ce0cf4a637a058975), because + Snap builds do not work yet for Meteor 1.9, Node 12.14.1 and MongoDB 4.2.2. + Docker version works with Meteor 1.9. + Thanks to xet7. +- [Try to fix Node 12 Buffer() deprecation errors](https://github.com/wekan/wekan/commit/9b905c2833d54cf34d1875148075b2bf756d943a). + Thanks to xet7. +- [Add Snap Meteor 1.8.x files to lint ignore files](https://github.com/wekan/wekan/commit/48f8050c25e40f737dfdd3a98923cb87cd4e77e2). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.69 2020-01-10 Wekan release + +This release fixes the following bugs: + +- [Fix docker-compose.yml to not use --smallfiles that is not supported in + MongoDB 4.x](https://github.com/wekan/wekan/commit/ecb76842fcbd81701afcab8db0ed106e6be0fdec). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.68 2020-01-10 Wekan release + +This release tries to fix the following bugs: + +- [Try to fix Snap by removing MongoDB option --smallfiles that is not supported + in MongoDB 4.x](https://github.com/wekan/wekan/commit/031df54a2e0a03dcb7a2586667e60e5bd4eef706) + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.67 2020-01-10 Wekan release + +This release tries to fix the following bugs: + +- [Try to fix Snap](https://github.com/wekan/wekan/commit/2b382b940be9af575fab4c2e955702d8cde55ae9). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.66 2020-01-10 Wekan release + +This release tries to fix the following bugs: + +- [Try to fix Snap](https://github.com/wekan/wekan/commit/39bf1e375e2962f824e6f8cfa425ea51aa4efa24). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.65 2020-01-10 Wekan release + +This release adds the following features: + +- [More keyboard shortcuts: c for archive card](https://github.com/wekan/wekan/commit/d16a601c04aeb1d3550c5c541be02a67276a34cf). + Thanks to xet7. + +and adds the following updates: + +- [Upgrade to Meteor 1.9, Node 12.14.1 and MongoDB 4.2.2](https://github.com/wekan/wekan/commit/785f3cf88b61f687ef5ad4a529768221d1a54c86). + Thanks to xet7. +- [Add more issue repo links to GitHub issue template](https://github.com/wekan/wekan/commit/5724674e73246f4e52843a6d6906c0ecdd85cccc). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.64 2020-01-06 Wekan release + +This release adds the following warning for CentOS 7 users: + +- [WARNING: DO NOT USE SNAP ON CENTOS 7, THERE IS UPDATE BUG](https://github.com/wekan/wekan-snap/wiki/CentOS-7). + Thanks to andy-twosticks and xet7. + +and adds the following features: + +- [Wider sidebar](https://github.com/wekan/wekan/commit/5058233509e44916296e38fb8a6c5dd591c46d8b). + Thanks to vjrj. + +and removes the following features: + +- [Removed Custom HTML feature that does not work](https://github.com/wekan/wekan/commit/ddce0ada094e6450be260b4cda21fdfa09ae0133). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.63 2020-01-06 Wekan release + +This release fixes the following bugs: + +- [Fix: Unable to find Archive Card/List/Swimlane in board + settings](https://github.com/wekan/wekan/commit/8ce993921718f3e10c2daa5fabb145b939d789dd). + Thanks to neobradley and xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.62 2020-01-05 Wekan release + +This release adds the following features: + +- [Add Worker role](https://github.com/wekan/wekan/issues/2788). + This was originally added at Wekan v3.58, reverted at Wekan v3.60 because of bugs, + and now after fixes added back. + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.61 2020-01-03 Wekan release + +This release adds the following features: + +- [Add more Font Awesome icons. This was originally added + at Wekan v3.58, removed at Wekan v3.60, and now + added back at Wekan v3.61](https://github.com/wekan/wekan/commit/cd253522a305523e3e36bb73313e8c4db500a717). + Thanks to xet7. + +and fixes the following bugs: + +- [Fix browser javascript console errors when editing profile. This was originally added + at Wekan v3.58, removed at Wekan v3.60, and now added back at + Wekan v3.61](https://github.com/wekan/wekan/commit/cd253522a305523e3e36bb73313e8c4db500a717). + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.60 2020-01-03 Wekan release + +This release fixes the following bugs: + +- [Revert to Wekan v3.57 version of client and models directories, + removing Worker role temporarily, because Worker role changes + broke saving card](https://github.com/wekan/wekan/commit/27943796ade78ca3c503637a1340918bf06a1267). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.59 2020-01-03 Wekan release + +This release fixes the following bugs: + +- [Fix not being able to edit received date](https://github.com/wekan/wekan/commit/5376bc7b7905c0dd99fae1aeae3f63b4583a3e3f). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.58 2020-01-03 Wekan release + +This release adds the following features: + +- [Add Worker role](https://github.com/wekan/wekan/issues/2788). Thanks to xet7. +- [Add more Font Awesome icons](https://github.com/wekan/wekan/commit/2bf004120d5a43cd3c3c060fc7c0c30d1b01f220). + Thanks to xet7. + +and fixes the following bugs: + +- [Fix: k8s templates update for helm](https://github.com/wekan/wekan/pull/2867). + 1. Upgrade mongo replica version. + 2. Access mongo via service url. + 3. Change the expose servicePort to numeric. + Thanks to jiangytcn. +- [Fix browser console errors when editing user profile name](https://github.com/wekan/wekan/commit/2bf004120d5a43cd3c3c060fc7c0c30d1b01f220). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.57 2019-12-22 Wekan release + +This release adds the following features: + +- [Allow card and checklist API creation for authorized board members](https://github.com/wekan/wekan/pull/2854). + Thanks to Robert-Lebedeu. +- [Visual difference for inactive user in Administration: strikethrough](https://github.com/wekan/wekan/commit/1f1aea87a421ca5e7931d220d10c838574208e2c). + Thanks to hever and xet7. + +and adds the following updates: + +- [Upgrade to Meteor 1.8.3 and Node 8.17.0. Update release scripts. Fix ldap background sync documentation part 2](https://github.com/wekan/wekan/commit/782d0b620988628f40f50f9cd824f6652cfb0dd9). + Thanks to xet7. + +and fixes the following bugs: + +- [Fix: Don't add a blank space for empty custom fields on minicards](https://github.com/wekan/wekan/commit/e2a374f0aad8489a84d6de9966c281a812b5eca3). + Thanks to roobre and xet7. +- [Fix: Allow to set empty card title, AssignedBy and RequestedBy](https://github.com/wekan/wekan/commit/25561946edf37351f67cf7500902dde7d9114d2f). + Thanks to justinr1234 and xet7. +- [Fix comment text disappearing when clicking outside of comment text area. + Fix lint error](https://github.com/wekan/wekan/commit/3b3950369ce07aa9e6fc4ab1bef9fb8a4993e398). + Thanks to xet7. +- [Fix ldap background sync documentation](https://github.com/wekan/wekan/pull/2855). + Thanks to koelle25. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.56 2019-11-21 Wekan release + +This release adds the following updates: + +- [Update to Meteor 1.8.2. Update dependencies](https://github.com/wekan/wekan/commit/38dfe0b9a71a083adc2de1a81170fea0e4a8e53f). + Thanks to xet7. +- [Fix lint errors and update travis NPM version](https://github.com/wekan/wekan/commit/b0f345ba21830b033c9edcc8ee5252b280111ae7). + Thanks to xet7. +- [Change base image to rolling, that is currently Ubuntu eoan + version](https://github.com/wekan/wekan/commit/c66cc3d4dadb15b669256530cfda89359cdb9340). + Thanks to xet7. +- [It seems Ubuntu eoan package bsdtar has been renamed to + libarchive-tools](https://github.com/wekan/wekan/commit/c60967e935bdc0e7e9aea0a1c23178aee8a73c29). + Thanks to xet7. + +and fixes the following bugs: + +- [Fix slow scroll on card detail by setting scrollInertia to 0](https://github.com/wekan/wekan/commit/599ace1db7918df41d9708d14b0351acb0f8688e). + Thanks to cafeoh. +- [Fix lint errors](https://github.com/wekan/wekan/commit/788dd0a81a06efee165007a92780f9e8c2c754ac). + Thanks to xet7. +- [Remove eslint option that does not work](https://github.com/wekan/wekan/commit/a06daff92e5f7cca55d1698252e3aa6526877c8b). + Thanks to xet7. +- [Try to fix lint errors](https://github.com/wekan/wekan/commit/58e505f79a0617011576bdded9427b0d448d6107). + Thanks to xet7. +- [Add to Snap MongoDB logging option --quiet](https://github.com/wekan/wekan/commit/c7ded515022fff2c1167ce8938405a846185a710). + Thanks to fmeehan and xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.55 2019-11-19 Wekan release + +This release fixes the following bugs: + +- [When logged in, use database for setting, so that changes are immediate. Only on public board use cookies. + Comment out Collapse CSS that is not in use](https://github.com/wekan/wekan/commit/351d4767d7e93c90ac798769d6071da8730d834f). + Thanks to xet7. +- [Use database when logged in. Part 2](https://github.com/wekan/wekan/commit/4786b0c18ddeb8f48525216eabebdced7159467d). + Thanks to xet7. +- [Use database when logged in. Part 3](https://github.com/wekan/wekan/commit/115d23f9293cad8a93f18f75a47a8a65756f71ce). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.54 2019-11-18 Wekan release + +This release adds the following new features: + +- [New feature: Now there is popup selection of Lists/Swimlanes/Calendar/Roles](https://github.com/wekan/wekan/commit/96abe3c6914ce37d9fb44da8fda375e40ad65c9e). + Thanks to xet7. +- [New feature, not set visible yet, because switching to it does not + work properly yet: Collapsible Swimlanes](https://github.com/wekan/wekan/issues/2804). + Thanks to xet7. + +and fixes the following bugs: + +- [Fix: Public board now loads correctly. When you select one of Lists/Swimlanes/Calendar view and + reload webbrowser page, it can change view](https://github.com/wekan/wekan/issues/2311). + Thanks to xet7. +- [Fix: List sorting commented out](https://github.com/wekan/wekan/issues/2800). + Thanks to xet7. +- [Fix: Errors hasHiddenMinicardText, hasShowDragHandles, showSort, hasSortBy, profile, + FirefoxAndroid/IE11/Vivaldi/Chromium browsers not working by using cookies instead of + database](https://github.com/wekan/wekan/issues/2643#issuecomment-554907955). + Note: Cookie changes are not always immediate, if there is no effect, you may need to + reload webbrowser page. This could be improved later. + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.53 2019-11-14 Wekan release + +This release fixes the following bugs: + +- [Revert list sorting change of Wekan v3.51 because it reversed alphabetical sorting of + lists](https://github.com/wekan/wekan/commit/ab2a721a1443b903cdbbbe275f41ffd3269012c6). + Thanks to Dalisay and xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.52 2019-11-14 Wekan release + +This release fixes the following bugs: + +- [Add database migration for assignee](https://github.com/wekan/wekan/commit/5b41d72e8de93833e1788962427422cff62c09a2). + Thanks to ocdtrekkie and xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.51 2019-11-14 Wekan release + +This release fixes the following bugs: + +- [Change sorting lists to work on desktop drag handle page instead, + where it seems to work better](https://github.com/wekan/wekan/commit/bbc3ab3f994c5a61a4414bc64b05f5a03d259e46). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.50 2019-11-13 Wekan release + +This release adds the following new features: + +- [Allowing lists to be sorted by modifiedAt when not in draggable + mode](https://github.com/wekan/wekan/commits/77f8b76d4e13c35ea3451622176bbb69a4d39a32). + Thanks to whowillcare. +- Allow user to sort Lists in Board by his own preference boardadmin can star + list [1](https://github.com/wekan/wekan/commit/bc2a20f04e32607f8488a9cecd815647fb43e40e), + [2](https://github.com/wekan/wekan/commit/bc2a20f04e32607f8488a9cecd815647fb43e40e). + Thanks to whowillcare. +- [Allowing user to filter list in Filter function not just cards + commit](https://github.com/wekan/wekan/commit/d2d4840758b0f5aed7feb4f6a459bb2b2d1a3f0b). + Thanks to whowillcare. +- [Allow user to search Lists in Board](https://github.com/wekan/wekan/commit/32f50e16586696ec7d100ce0438d1030ae1f606e). + Thanks to whowillcare. +- Enhancement: [Set card times more sensible using the 'Today' button in + datepicker](https://github.com/wekan/wekan/pull/2747). + Thanks to liske. +- [At card, added Assignee field like Jira, and REST API for it](https://github.com/wekan/wekan/issues/2452). + Parts: + [Add assignee](https://github.com/wekan/wekan/commit/9e1aaf163f3bd0b3c2d2aee8225d111f83b3d421), + [Remove Assignee. Avatar icon is at card and assignee details](https://github.com/wekan/wekan/commit/3e8f9ef1a5275a5e9b691c7e74dc73b97a43689a), + [When selecting new assignee (+) icon, list shows names who to add](https://github.com/wekan/wekan/commit/32ce2b51d8bff5e8851732394a8bae3c56f8b0b6), + [More progress](https://github.com/wekan/wekan/commit/ea823ab68fd5243c8485177e44a074be836836b8), + [In add assignee popup, avatars are now visible](https://github.com/wekan/wekan/commit/56efb5c41075151eeb259d99990a7e86695b2b69), + [Add assignee popup title](https://github.com/wekan/wekan/commit/31dbdc835d5a092b8360a4dbe93e9fbcce068855), + [Prevent more than one assignee](https://github.com/wekan/wekan/commit/1728298659521ee8e6fc94fedad3160030b9a2c3), + [When there is one selected assignee on card, don't show + button for adding more assignees, because there can only be one + assignee](https://github.com/wekan/wekan/commit/3cf09efb13438d66db6cf739591c679ea538d812), + [Now assignee is visible also at minicard](https://github.com/wekan/wekan/commit/9fd14f7ecb593d3debf5adff8f6c61adb0c3feca), + [Update REST API docs, there can only be one assignee in array](https://github.com/wekan/wekan/commit/de7509dc60257667192054e320b381f9dd0f0a31). + Thanks to xet7. +- [More mobile drag handles, and optional desktop drag handles](https://github.com/wekan/wekan/issues/2081): In Progress. + Parts: + [Some drag handle fixes](https://github.com/wekan/wekan/commit/6a8960547729148bd3085cb469f9e93d510ed66c), + [Fix desktop swimlane drag handle position](https://github.com/wekan/wekan/commit/2ec15602d284122fce1a45bed352d0d4050162e2), + [Fix card, list and swimlane move. Allow moving cards in multiselect mode](https://github.com/wekan/wekan/commit/537a48bede250155b30ec264904ba320625bab73). + Thanks to xet7. + +and adds the following updates: + +- [Update Node.js to v8.16.2](https://github.com/wekan/wekan/commit/1eb3d25b40797fdab41d7dd59405cfcea81dcc61). + Thanks to xet7. + +and fixes the following bugs: + +- Bug Fix [#2093](https://github.com/wekan/wekan/issues/2093), need to [clean up the + temporary file](https://github.com/wekan/wekan/commit/2737d6b23f3a0fd2314236a85fbdee536df745a2). + Thanks to whowillcare. +- Bug Fix [#2093](https://github.com/wekan/wekan/issues/2093): the broken [should be prior to file attachment feature introduced](https://github.com/wekan/wekan/commit/f53c624b0f6c6ebcc20c378a153e5cda8d73463c). + Thanks to whowillcare. +- [Fix typo on exporting subtasks](https://github.com/wekan/wekan/commit/00d581245c1fe6a01ef372ca87d8a25bc7b937e4). + Thanks to xiorcala. +- [Change the radom to random typo in export.js](https://github.com/wekan/wekan/commit/e195c731de88aba4026c239f4552ae821d522ec7). + Thanks to whowillcare. +- Fix: [List last modify time will be affected by cards dueAt, endAt](https://github.com/wekan/wekan/commit/3308d90a3a6a1ddeed33966767937cd2c2c90cb5). + Thanks to whowillcare. +- Revert creating new list to left, now creates again to right. Thanks to whowillcare. + Revert New List item moved from right to left. Thanks to derbolle and xet7. + [1](https://github.com/wekan/wekan/commit/806df30ba3499cef193eaf1b437cdef65282510f). +- REST API: [Fix deletion of a single board card](https://github.com/wekan/wekan/pull/2778). + Thanks to liske. +- [cardDate: endDate coloring change](https://github.com/wekan/wekan/pull/2779). + If no due-date timestamp is set => Gray. + If end-date timestamp is younger than due-date timestamp => Green. + If end-date timestamp is older than due-date timestamp => Red. + Thanks to bandresen. +- [Fixed Card Open Webhook Error](https://github.com/wekan/wekan/issues/2780). + Thanks to jymcheong. +- [Fixed OpenAPI docs generation](https://github.com/wekan/wekan/pull/2783). + Thanks to bentiss. +- [Fixed close card button not visible on mobile web](https://github.com/wekan/wekan/36b5965dd07e3f0fd90069353310739c394c220f). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.49 2019-10-09 Wekan release + +This release fixes the following bugs: + +- [Fix prettier errors](https://github.com/wekan/wekan/commits/36e006fa4e78fe94e627625d1cc589654668f22a). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.48 2019-10-09 Wekan release + +This release fixes the following bugs: + +- [Make possible to upload attachments using drag-and-drop or Ctrl+V without setting the environmental-variable MAX_IMAGE_PIXEL](https://github.com/wekan/wekan/pull/2754). + Thanks to moserben16. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.47 2019-10-09 Wekan release + +This release fixes the following bugs: + +- [REST API: fix handling of members property on card creation](https://github.com/wekan/wekan/pull/2751). + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.46 2019-10-07 Wekan release + +This release fixes the following bugs: + +- [More black minicard badges](https://github.com/wekan/wekan/commit/68be12d166b21a41b4e2c4021b0966807e5ed1e6). + Thanks to sfahrenholz and xet7. +- [REST API: fix creation of Checklists](https://github.com/wekan/wekan/pull/2747). + Thanks to liske. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.45 2019-10-03 Wekan release + +This release adds the following new features: + +- [Cards due timeline will be shown in Calendar view](https://github.com/wekan/wekan/pull/2738). + Thanks to whowillcare. +- [Modified due day reminders in cards.js, so wekan server admin can control the reminder more flexibly](https://github.com/wekan/wekan/pull/2738). + i.e. NOTIFY_DUE_DAYS_BEFORE_AND_AFTER = 0 notification will be sent on due day only. + NOTIFY_DUE_DAYS_BEFORE_AND_AFTER = 2,0 it means notification will be sent on both due day and two days before. + Thanks to whowillcare. +- [Added modifications the help files, related to NOTIFY_DUE_DAYS_BEFORE_AND_AFTER](https://github.com/wekan/wekan/pull/2740). + Thanks to whowillcare. + +and fixes the following bugs: + +- [Modified list.style regarding .list-header-name when in mobile mode. It was too close to left arrow](https://github.com/wekan/wekan/pull/2740). + Thanks to whowillcare. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.44 2019-09-17 Wekan release + +This release adds the following languages: + +- [Add language: Slovenian](https://github.com/wekan/wekan/commit/125231beff0fb84a18a46fe246fa12e098246985). + Thanks to translators. + +and fixes the following bugs: + +- [Fix: in richer editor @ autocomplete doesn't really insert the username properly](https://github.com/wekan/wekan/pull/2717). + Thanks to whowillcare. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.43 2019-09-17 Wekan release + +This release fixes the following bugs: + +- [In richer editor, @user might not get pickup correctly, if it's formated](https://github.com/wekan/wekan/pull/2715). + Thanks to whowillcare. +- [Table content should have word-wrap](https://github.com/wekan/wekan/pull/2715). + Thanks to whowillcare. +- [Two-way hooks locking mechanism will fail sometime, therefore, change all comment insert or update to direct, which means it won't invoke any hook](https://github.com/wekan/wekan/pull/2715). + Thanks to whowillcare. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.42 2019-09-14 Wekan release + +This release removed the following new features: + +- [Revert drag handle changes of Wekan v3.41](https://github.com/wekan/wekan/commit/57119868bbb49f47c7d0b51b9952df9bd83d46f5). + Thanks to Keelan. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.41 2019-09-13 Wekan release + +This release adds the following new features: + +- [More Mobile and Desktop drag handles for Swimlanes/Lists/Cards. Part 1](https://github.com/wekan/wekan/commit/ff550e91103115e7b731dd80c4588b93b2d4c64f). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.40 2019-09-11 Wekan release + +This release fixes the following bugs: + +- [Fix subcard selector](https://github.com/wekan/wekan/pull/2697). + Thanks to justinr1234. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.39 2019-09-11 Wekan release + +This release fixes the following bugs: + +- [To load all boards, revert Wekan v3.37 Fix Linked cards make load all cards of database](https://github.com/wekan/wekan/commit/6ce8eeee6c477cd39b684c47bf122b5872818ada). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.38 2019-09-11 Wekan release + +- Update translations. Thanks to translators. + +# v3.37 2019-09-07 Wekan release + +This release fixes the following bugs: + +- LDAP: [Fix USERDN example, when parameters contain spaces](https://github.com/wekan/wekan/commit/6cbd4cabc716c755e547abb798f657fe5476ed04). + LDAP_AUTHENTIFICATION_USERDN="CN=ldap admin,CN=users,DC=domainmatter,DC=lan" . + Thanks to compumatter. +- [Fix: Linked cards make load all cards of database](https://github.com/wekan/wekan/commit/a56988c487745b2879cebe1943e7a987016e8bef). + Thanks to Akuket. +- [Fix Unable to drag select text without closing card details](https://github.com/wekan/wekan/pull/2690). + Thanks to justinr1234. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.36 2019-09-05 Wekan release + +This release adds the following new features: + +- [Complete the original author's webhook functions and add two-way webhook type](https://github.com/wekan/wekan/pull/2665): + 1. Make webhook function more complete by allowing user to specify name and token of + a webhook to increase security. + 1. Allow wekan admin to sepcify a global webhook. + 3. Add new type of two-way webhook that can act on the JSON webhook return payload: + 3.1. If the payload data contains cardId, boardId, and comment key words, + 3.2. If it has commentId, an existing comment will be modified + 3.3. If it doesn't have commentId, then a new comment will be added, otherwise, does nothing. + Thanks to whowillcare. +- [Patch admin search feature to Search in all users, not just "loaded" users + in the client](https://github.com/wekan/wekan/pull/2667). + Thanks to Akuket. +- [Devcontainer: Moved MAIL-Vars to not-committed file, and added PATH with meteor to + Environment](https://github.com/wekan/wekan/pull/2672). + Thanks to road42. + +and fixes the following bugs: + +- [Fix incorrect date types for created and updated, so now newest card comments are at top](https://github.com/wekan/wekan/pull/2679). + Thanks to justinr1234. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.35 2019-08-29 Wekan release + +This release fixes the following bugs: + +- [Try to fix Snap](https://github.com/wekan/wekan/commit/71d32c6bc8e6affd345026797ff31e94a0a10d77). + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.34 2019-08-29 Wekan release + +This release fixes the following bugs: + +- [Snap: Delete all .swp files](https://github.com/wekan/wekan/commit/d5403bbfc53390aeaaf68eb452bc24d88f1e0942). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.33 2019-08-29 Wekan release + +This release adds the following new features: + +- [Add card color to calendar event. The color of the calendar event will match the card + color](https://github.com/wekan/wekan/pull/2664). + Thanks to grmpfhmbl. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.32 2019-08-29 Wekan release + +This release fixes the following bugs: + +- [Fix Snap adopt-info](https://github.com/wekan/wekan/commit/79d4cd83b1fa83bb814230683b7449ed7f3e1ede). + Thanks to [popey at Snapcraft forum](https://forum.snapcraft.io/t/dirty-snap-release/12975/12). + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.31 2019-08-29 Wekan release + +This release fixes the following bugs: + +- [Try](https://github.com/wekan/wekan/commit/be5f435bc5f500b24bc838ac1dc8bf3bb9a33a22) to + [fix adopt-info](https://forum.snapcraft.io/t/dirty-snap-release/12975/8). + Thanks to ogra at Snapcraft forum. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.30 2019-08-29 Wekan release + +This release fixes the following bugs: + +- Snap: [Change version-script to adopt-info](https://github.com/wekan/wekan/commit/0ff5ce8fde6cc9a05a3c8b93e18ebce7282d3a67) + to [fix dirty](https://forum.snapcraft.io/t/dirty-snap-release/12975/4). + Thanks to popey and daniel at Snapcraft forum. +- [Delete another phantomjs binary from Snap](https://github.com/wekan/wekan/commit/5084102e6e17fa2cb3bc8c1180745e15379fab5f). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.29 2019-08-29 Wekan release + +This release fixes the following bugs: + +- [Fix Snap](https://github.com/wekan/wekan/commit/7761a22bb4e88ad9a5a39ed84e1ff244015c3a58). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.28 2019-08-29 Wekan release + +This release fixes the following bugs: + +- Fix broken Sandstorm release by reverting upgrading MongoDB. + Thanks to xet7 + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.27 2019-08-29 Wekan release + +This release adds the following upgrades: + +- [Upgrade Node, Mongo, fibers and qs](https://github.com/wekan/wekan/commit/e21c47d3cfe0f228ce5ab394142c6ec6ee090d65). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.26 2019-08-28 Wekan release + +This release adds the following new features: + +- [Add devcontainer](https://github.com/wekan/wekan/pull/2659) and some [related fixes](https://github.com/wekan/wekan/pull/2660). + Thanks to road42. + +and fixes the following bugs: + +- [Add missing modules](https://github.com/wekan/wekan/pull/2653). + Thanks to GhassenRjab. +- [Add package-lock.json](https://github.com/wekan/wekan/commit/ad01526124216abcc8b3c8230599c4eda331a86d). + Thanks to GhassenRjab and xet7. +- [Fix last label undefined](https://github.com/wekan/wekan/pull/2657). + Thanks to justinr1234. +- [Default to BIGEVENTS_PATTERN=NONE so that Wekan sends less email notifications](https://github.com/wekan/wekan/commit/0083215ea3955a950d345d44a8663e5b05e8f00f). + Thanks to rinnaz and xet7. +- [Fix app hang when Meteor.user() is null and list spinner is loaded bug](https://github.com/wekan/wekan/pull/2654). + Thanks to urakagi. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.25 2019-08-23 Wekan release + +This release adds the following new features: + +- [Limit card width to fixed size](https://github.com/wekan/wekan/commit/0dd3ff29f2b558bc912b330f178347035dcc46c7). + Thanks to xet7. + +and fixes the following bugs: + +- [Fix](https://github.com/wekan/wekan/pull/2645) [selecting user accounts when importing from Trello](https://github.com/wekan/wekan/issues/2638). + Thanks to justrinr1234. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.24 2019-08-22 Wekan release + +This release fixes the following bugs: + +- [Snap: Delete old MongoDB log, and log to syslog instead, because syslog usually already has + log rotation](https://github.com/wekan/wekan/commit/cc792ddd57691bb54972c73b9c861c768fce8c34). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.23 2019-08-20 Wekan release + +This release fixes the following bugs: + +- [Fix login did not work](https://github.com/wekan/wekan/commit/b2deab544bfeea49017bec27f92f1269b0b7ec43). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.22 2019-08-20 Wekan release + +This release adds the following new features: + +- [Wrap minicard text labels to multiple rows](https://github.com/wekan/wekan/commit/af830812dbbf7d766a754d937308b11373c66e5a). + Thanks to xet7. + +and fixes the following bugs: + +- [Fix: Some users cannot switch views or languages](https://github.com/wekan/wekan/issues/2630). + Thanks to xet7 and justinr1234. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.21 2019-08-16 Wekan release + +This release adds the following new features: + +- [In the filter menu, 1) Turning on "show archive" will request archived lists and show them on the ListView. + 2) Turning on "hide empty lists" will hide empty lists on the ListView](https://github.com/wekan/wekan/pull/2632). + Thanks to urakagi. + +and fixes the following bugs: + +- [Fix mismatched queries](https://github.com/wekan/wekan/pull/2628). + Thanks to justinr1234. +- [Fix Summernote too wide when in mobile screen](https://github.com/wekan/wekan/issues/2621). + Thanks to whowillcare. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.20 2019-08-15 Wekan release + +This release fixes the following security issues: + +- [Revert permission change](https://github.com/wekan/wekan/commit/d302d6f857657ada229f78d9fcd32f63753d9779), + related [#2590](https://github.com/wekan/wekan/issues/2590) and + [these comments](https://github.com/wekan/wekan/commit/9f6d615ee5bbdb7552e6bdcae75a76a7f74fef7a#commitcomment-34636513). + Thanks to road42, justinr1234 and xet7. + +and adds the following new features: + +- On board, BoardAdmin and normal user can now [invite new user directly + with email address](https://github.com/wekan/wekan/issues/2060), + [without using Admin Panel or registering + at /sign-up](https://github.com/wekan/wekan/commit/5c696e5a3c70d31a7af6e47cbcf691f6c18eb384). + Thanks to xet7. + +and fixes the following bugs: + +- [Fix bug: When on board, clicking Admin Panel redirects to All Boards page, so it did require + to click Admin Panel again](https://github.com/wekan/wekan/commit/d302d6f857657ada229f78d9fcd32f63753d9779). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.18 2019-08-15 Wekan release + +This release adds the following new features: + +- [Send webhook message](https://github.com/wekan/wekan/issues/2518) when + [cardDetails is rendered](https://github.com/wekan/wekan/pull/2620). + Thanks to jymcheong. +- Related to [above new feature](https://github.com/wekan/wekan/issues/2518), + Add [setting CARD_OPENED_WEBHOOK_ENABLED=false as + default](https://github.com/wekan/wekan/commit/b8c527d52bec7272c890385f11e26acec65822ae). + Thanks to xet7. + +and adds the following updates: + +- [Update base64 dependency](https://github.com/wekan/wekan/commit/c87001fa9f8d1fa13640ae604b1ba46556c7813c). + Thanks to xet7. + +and fixes the following bugs: + +- [Time line is missing delete/edit comments, add English i18n for these two activities, + For html email msg needs](https://github.com/wekan/wekan/pull/2615). + Thanks to whowillcare. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.17 2019-08-13 Wekan release + +This release fixes the following bugs: + +- [Fix ReferenceError: cardAssignees is not defined](https://github.com/wekan/wekan/issues/2612). + Reverted In-Progress Assignee field, moving it to feature branch. + Thanks to saschafoerster and to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.16 2019-08-13 Wekan release + +This release adds the following new features: + +- [Make Admin Panel text like version etc selectable](https://github.com/wekan/wekan/commit/5aa090e91184764afeac8b7c7bf4b4cb947c8f17). + Thanks to xet7. +- [Add to Admin Panel / Version: Meteor version, MongoDB version, MongoDB storage engine, MongoDB Oplog + enabled](https://github.com/wekan/wekan/commit/20294d833a2bf0bd1720444f4ffe018b025dacca). + Thanks to RocketChat developers for MongoDB detection code and xet7 for other code. +- [Use Meteor 1.8.1 and MongoDB 3.2.22 in Snap](https://github.com/wekan/wekan/commit/39ffe1d80dad5759b338d4ed2d6c576717af2a07). + Removed Meteor 1.6.x files. + Thanks to xet7. +- [Enable HTML email content for richer comment](https://github.com/wekan/wekan/pull/2611). + Thanks to whowillcare. + +and fixes the following bugs: + +- [Fix scrollHeight error when the sidebar is not visible](https://github.com/wekan/wekan/pull/2609). + Thanks to Trekky12. +- [Fix insert action for CustomFields API](https://github.com/wekan/wekan/pull/2610). + Thanks to JimCircadian. +- [Fixed a few issues related summernote enabled: 1) @ user couldn't send out email sometime, due to html format. + 2) @ user link wasn't able to show user info by clicking](https://github.com/wekan/wekan/pull/2611). + Thanks to whowillcare. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.15 2019-08-11 Wekan release + +This release fixes the following bugs: + +- [Try to fix Snap](https://github.com/wekan/wekan/commit/a1d883b22f73f4bef6d547f94dcb900f475fcb41). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.14 2019-08-11 Wekan release + +This release adds the following new features: + +- [On wekan master specifying ATTACHMENTS_STORE_PATH, it will try its best keeping original attachments, only newer + attachments will be stored into specified path](https://github.com/wekan/wekan/pull/2607). + Thanks to whowillcare. +- [Made image upload in summernote as attachment to wekan board instead of base64 string, + which would make the comments use less bytes and be able to take advantage of using local file system feature + as attachment](https://github.com/wekan/wekan/pull/2608). + Thanks to whowillcare. + +and fixes the following bugs: + +- [Fix bug: Unable to disable richer comment editor](https://github.com/wekan/wekan/pull/2607). + Thanks to whowillcare. +- [Changed rm to rm -f in wekan snap build, and add packages that somehow didn't get install during snapcraft + build](https://github.com/wekan/wekan/pull/2608). + Thanks to whowillcare. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.13 2019-08-09 Wekan release + +Update translations. Thanks to translators. + +# v3.12 2019-08-09 Wekan release + +This release adds the following new features: + +- [Allowing wekan server admin to specify the attachments to be uploaded to server + file system instead of mongodb by specifying a system + env var: ATTACHMENTS_STORE_PATH](https://github.com/wekan/wekan/pull/2603). + The only caveat for this is if it's not a brand new wekan, if the wekan + server admin switchs to this setting, their old attachments won't be available + anymore, unless someone make a script to export them out to the filesystem. + Thanks to whowillcare. +- [Allowing user to insert video, link and image, or paste in html with sanitization. + In user comments display area, images can be clicked and shown as + swipebox](https://github.com/wekan/wekan/pull/2593). + Thanks to whowillcare. + +and fixes the following bugs: + +- [Fix comment-editor marking issue](https://github.com/wekan/wekan/issues/2575). + Thanks to whowillcare. +- [Bugfix: style kbd font color became white after introduced summernote editor + to card comments](https://github.com/wekan/wekan/pull/2600). + Thanks to whowillcare. +- [Show All Boards / Clone Board and Archive Board only to BoardAdmin/Admin/Sandstorm users + on desktop webbrowser view, so that it's not possible for normal users to make accidental + clicks to those](https://github.com/wekan/wekan/issues/2599). + Thanks to derbolle and xet7. +- [Fix bug on editing users informations, switching to other view, staring + a board](https://github.com/wekan/wekan/issues/2590). + Thanks to road42. +- [Fix null access with board body](https://github.com/wekan/wekan/pull/2602). + Thanks to justinr1234. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.11 2019-08-07 Wekan release + +This release fixes the following bugs: + +- [Remove non-existing file from snapcraft.yaml to get Snap to build](https://github.com/wekan/wekan/commit/ad82a900e8ec636a72c6e74bb8489559ce2a8bf0). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.10 2019-08-07 Wekan release + +This release fixes the following bugs: + +- [Add missing dependencies back and revert deleting phantomjs](https://github.com/wekan/wekan/commit/32e9aa0ddaf1b015825b8c62ad17ed74b449e4b1). + Thanks to whowillcare and xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.09 2019-08-07 Wekan release + +This release adds the following features: + +- [Hide minicard label text: per user checkbox setting at sidebar](https://github.com/wekan/wekan/commit/f7e0b837d394d55d66d451c34f43fa8afd357e5b). + Thanks to xet7. + +and fixes the following bugs: + +- [Make Save button visible again at Admin Panel People Edit](https://github.com/wekan/wekan/commit/716fc32968e7dd51b64a11c6c33e59aee849c982). + Thanks to sclerc-chss and xet7. +- [Fix checking if API is enabled](https://github.com/wekan/wekan/pull/2588). + Thanks to justinr1234. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.08 2019-08-07 Wekan release + +This release fixes the following bugs: + +- [Removed removing phantomjs from snap, because snap build did stop to error + no phantomjs could be removed](https://github.com/wekan/wekan/commit/7d8f1dee62f285a4587fb40e7331d0f500b2e5fb). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.07 2019-08-07 Wekan release + +This release fixes the following bugs: + +- [Try to make release sizes smaller by deleting phantomjs](https://github.com/wekan/wekan/commit/1fc3a1db2e663f149287b6e14053d536fb1a8a81). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.06 2019-08-07 Wekan release + +This release fixes the following bugs: + +- [Fix board query](https://github.com/wekan/wekan/pull/2587). + Thanks to justinr1234. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.05 2019-08-07 Wekan release + +This release fixes the following bugs: + +- [Fixed LDAP group filtering bug on Snap settings](https://github.com/wekan/wekan/pull/2584). + Thanks to KuenzelIT. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.04 2019-08-06 Wekan release + +This release fixes the following bugs: + +- [Fixed Snap: Use Meteor 1.6.0.1 dependencies on Snap on master branch](https://github.com/wekan/wekan/commit/74a4b28313e9cfedcb927e4496c0dd3800b1e6f9). + Thanks to xet7. +- [Hide Admin Panel user delete button until someone has time to fix it](https://github.com/wekan/wekan/commit/b9a25ecfaca067d0392c83d97a0deb65e6e296dd). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.03 2019-08-04 Wekan release + +This release adds the following new features: + +- [Add RICHER_CARD_COMMENT_EDITOR=true to docker-compose.yml](https://github.com/wekan/wekan/commit/268f9de23c8167dca9499587ee31fb74edb6b83e). + Thanks to xet7. +- [Add popup to confirm deleting one account](https://github.com/wekan/wekan/pull/2573). + Thanks to Akuket. +- [Add admin setting to prevent users to self deleting their account](https://github.com/wekan/wekan/pull/2573). + Thanks to Akuket. +- [Add Packager.io DEB/RPM Wekan packages for Debian/Ubuntu/CentOS/SLES](https://packager.io/gh/wekan/wekan). + Does not work yet, [debugging in progress here](https://github.com/wekan/wekan/issues/2582). + Thanks to xet7 and sfahrenholz. +- [Add setting field LDAP_USER_AUTHENTICATION_FIELD=uid](https://github.com/wekan/wekan/pull/2581). + Thanks to Trekky12. + +and adds the following upgrades: + +- [Upgrade MongoDB to 4.0.11](https://github.com/wekan/wekan/commit/ec35c544b780e563a973fd887c5190f429431bfb). + Thanks to xet7. + +and fixes the following bugs: + +- [Remove mixmax:smart-disconnect, previously it did disconnect Wekan when + browser tab was not active, but because now users are working on multiple + boards at different browser tabs and switching all time time, there was + constant loading, so now after removing all tabs keeps active. This can + increase server CPU usage](https://github.com/wekan/wekan/commit/669cd76018cbbfbd3ee58610a35959fa8a84ea36). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.02 2019-07-26 Wekan release + +This release adds the following updates: + +- [Updated Wekan on OpenShift](https://github.com/wekan/wekan/commit/85ca2b1363ed0bad8639ba7ed65c55e445816947). + Thanks to xet7. + +and fixes the following bugs: + +- [Set LDAP_BACKGROUND_SYNC_INTERVAL='' (empty string) so it works](https://github.com/wekan/wekan/commit/fff144a8279ac36ce83e6b975f17f6dbc35f39d6) + and [does not crash](https://github.com/wekan/wekan/issues/2354#issuecomment-515305722). + Also updated wekan-postgresql docker-compose.yml to use devel branch docker image, because ToroDB requires MongoDB 3.2, + it's not tested yet could newest master branch docker image work with MongoDB 3.2. + Thanks to benh57 and xet7. + +and tries to fix following bugs: + +- [Try to fix Snap](https://github.com/wekan/wekan/commit/7cf6850cdf77ef51808784e3d275c5be86ff6c92). + This [will be tested soon, does this work](https://github.com/wekan/wekan/issues/2533#issuecomment-515329490). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.01 2019-07-26 Wekan release + +This release adds the following new features: + +- [Rich text editor at card comments, based on + Summernote](https://github.com/wekan/wekan/pull/2560). + Thanks to whowillcare. +- [Add setting RICHER_CARD_COMMENT_EDITOR=true to + Source/Snap/Docker/Sandstorm](https://github.com/wekan/wekan/commit/4aba290358455433c0fc676e8c9cf1bd627eddde). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v3.00 2019-07-25 Wekan release + +This release: + +- works with source, and docker-compose.yml at master branch. +- Docker release uses Meteor 1.8.1 and MongoDB 4.0.10, so you need to backup your old MongoDB database and + restore with --noIndexRestore as described at https://github.com/wekan/wekan/wiki/Backup +- Snap and Sandstorm builds are not fixed yet, see progress at https://github.com/wekan/wekan/issues/2533 + +This release adds the following new features: + +- [Added label text to labels on minicard](https://github.com/wekan/wekan/commit/c48d5a73cab04db1a1e113e4367dc88573110438). + Thanks to xet7. +- [Allow to shrink attached/pasted image](https://github.com/wekan/wekan/pull/2544). + Thanks to whowillcare. + +and fixes the following bugs: + +- [Fix invites](https://github.com/wekan/wekan/pull/2549). + Thanks to justinr1234. +- [Makes LDAP background sync work. If the sync interval is unspecified, falls back to a hourly default](https://github.com/wekan/wekan/pull/2555). + Thanks to pshunter. +- [Prevent isCommentOnly user adding attachments, editing list names, moving lists, + and seeing board settings menu. Show non-editable Custom Fields to isCommentOnly user](https://github.com/wekan/wekan/commit/a68c928896a94c377134f29a7183aa0b5a423720). + Thanks to xet7. +- [Many](https://github.com/wekan/wekan/pull/2546) [Snap](https://github.com/wekan/wekan/pull/2552) [fixes](https://github.com/wekan/wekan/pull/2553). + In Progress. Thanks to justrinr1234. +- [Fixed Dockerfile](https://github.com/wekan/wekan/commit/7df6f305c5cf41ac213623aeffaa7e48c981e0b6) and + [docker-compose.yml](https://github.com/wekan/wekan/commit/95698911f92ca728dbaab69406fd09bcbf81339d). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.99 2019-07-17 Wekan release + +This release adds the following new features: + +- [Add Corteza theme. In progress](https://github.com/wekan/wekan/commit/289e78dbd29cca9d97d3b5787c3368583d43b40f). + Thanks to xet7. +- [Notify Due Days: System timelines will be showing any user modification for duat startat endat receivedat, + also notification to the watchers and if any card is due, about due or past due](https://github.com/wekan/wekan/pull/2536). + ENV variables: NOTIFY_DUE_DAYS_BEFORE_AND_AFTER (default is 2, if 0, will turn off notification for and dued cards), + NOTIFY_DUE_AT_HOUR_OF_DAY (any number between 0 - 23, standing for at what hour of a day that the notification will + be sent to the watchers). Also [bug fix for this, timeOldValue needs to set to "" in params when it's + not set](https://github.com/wekan/wekan/pull/2541). + Thanks to whowillcare. +- [Notify Due Days: Add settings to Snap/Docker/Source. Rename env variables to NOTIFY_DUE_DAYS_BEFORE_AND_AFTER and + NOTIFY_DUE_AT_HOUR_OF_DAY](https://github.com/wekan/wekan/commit/5084cddf37ba16ce0855f8575c39f5e62d1b7f67). + Thanks to xet7. +- [BIGEVENTS_PATTERN: When user being @ in comment, as long as it's not himself, a notification will be + sent out no matter this user is watching the board or not](https://github.com/wekan/wekan/pull/2541). + Introduced a system env var BIGEVENTS_PATTERN default as "due", so any activityType matches the pattern, + system will send out notifications to all board members no matter they are watching or tracking + the board or not. Owner of the Wekan server can disable the feature by setting this variable to "NONE" + or change the pattern to any valid regex. i.e. '|' delimited activityType names. + Thanks to whowillcare. +- [Add BIGEVENTS_PATTERN to Source/Snap/Docker](https://github.com/wekan/wekan/commit/d7c09df7d2649bf2d2b61772c251f81793a6ed77). + Thanks to xet7. + +and adds the following updates: + +- [Update Meteor mongo package version](https://github.com/wekan/wekan/commit/96065d11a543852c1069cbab528bd08508b4a27c). + Thanks to xet7. +- [Update dependencies](https://github.com/wekan/wekan/commit/d82c72f1c1df908e92045e5034fa12b33fc7f70c). + Thanks to xet7. + +and fixes the following bugs: + +- RELAX THEME: Use [only in this theme](https://github.com/wekan/wekan/commit/3ad6e554dceea822dee7390872260e872a792dcd) + the aggressive [red color and big bold serif font style + number](https://github.com/wekan/wekan/commit/bbc68309af0029f2bc4194db4c7e79689f888ea4#commitcomment-34216371) and + [card details text emphasis](https://github.com/wekan/wekan/commit/48ebc5f11745b125ce01d08d60e2d8e3a9419a5f#commitcomment-34268095) + Thanks to hever and xet7. +- [Try to fix docker-compose.yml to use correct master branch that has + meteor 1.8.1](https://github.com/wekan/wekan/commit/202cc5a797b6269ec422c6f2e532a49f09d4e30a). + Thanks to xet7. +- [Outgoing Webhooks setCustomField: Add board name, card name, custom field name to be + visible](https://github.com/wekan/wekan/commit/2003d90467debeadf51b69630c80ee6040524f52). + Still missing: custom field value, list name, swimlane name. + Thanks to xet7. +- [Don't remove boardoverlay when mouse leaves carddetails](https://github.com/wekan/wekan/pull/2540). + This reduces Wekan board flashiness. + Thanks to newhinton. +- [Limit the board list to 2 or 1 for mobile clients](https://github.com/wekan/wekan/pull/2542). + As a mobile user, the board size of in the home page too small, so the user is easily to + click on archive or copy button by accident. Increase the board size to 50% for pixel + greater than 360 and lesser than 800 and height to 8rem, 100% for any screen is even smaller. + This will reduce the accident much more. + Thanks to whowillcare. +- [Add check for board member isActive](https://github.com/wekan/wekan/commit fe42eb1d014c06dfed8114a00b29eac9b08baec6). + Thanks to xet7. + +and has the following features in progress, not anything visible yet: + +- [Teams/Organizations: Add beginnings of database structure](https://github.com/wekan/wekan/issues/802#issuecomment-505986270). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.98 2019-07-02 Wekan release + +This release adds the following new features, thanks to xet7: + +- [Add Wekan v2.95-v2.97 master branch features and fixes to meteor-1.8 branch](https://github.com/wekan/wekan/commit/34b2168d0dda253dedabbee47031873efa4ae446). + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.97 2019-07-01 Wekan release + +This release [adds the following new features](https://github.com/wekan/wekan/commit/3e8cb8c6e1617ef03ebce045d3b93aeb2cf91228), thanks to xet7: + +- Add background color names to background colors. +- Add new background colors: moderatepink, strongcyan, limegreen. +- Add new background colors with themes: dark, relax. + +Note: Due Date etc on cards is visible on all background colors and themes. Hiding is not implemented yet. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.96 2019-07-01 Wekan release + +This release removes the following features, that were added at Wekan v2.95: + +- [Remove RELAX MODE and DARK MODE](https://github.com/wekan/wekan/commit/8477e94f3b8f531a4209f49758200009d274c1cf), + because [they changed look of all existing boards](https://github.com/wekan/wekan/issues/1149#issuecomment-507255114). + At some later Wekan release they will be added back as separate themes + that can be selected, without changing existing boards. + Thanks to chirrut2 and xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.95 2019-07-01 Wekan release + +This release adds the following new features, thanks to xet7: + +- [Make list header add card + button more black, to make it more visible](https://github.com/wekan/wekan/commit/b260d05a8b2f87c29dd998d42103d1220b20cc08). +- [On minicard, make comment icon and number of comments have red color + on white rounded background, so it is more visible when there is comments on card](https://github.com/wekan/wekan/commit/bbc68309af0029f2bc4194db4c7e79689f888ea4). +- [Make card description text more visible with black borders and more white text area](https://github.com/wekan/wekan/commit/48ebc5f11745b125ce01d08d60e2d8e3a9419a5f). + +and adds the following [themes to board background colors](https://github.com/wekan/wekan/commit/c04292e98832e3aa7952e8a7858d47a853f40aad), thanks to xet7: + +- RELAX MODE, so when green background selected, list background is light green. +- [DARK MODE](https://github.com/wekan/wekan/issues/1149), when dark backgroud color selected. Please test and send color visibility fixes as pull requests. +- In RELAX MODE and DARK MODE, [hide card fields: received, start, due, end, members, requested, assigned](https://github.com/wekan/wekan/commit/b42ecb7948ad194433dc4460305174965106a751). + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.94 2019-06-29 Wekan release + +This release adds the following updates: + +- [Prettier & eslint project style update](https://github.com/wekan/wekan/pull/2520). + Thanks to justinr1234. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.93 2019-06-28 Wekan release + +This release fixes the following bugs: + +- [LDAP: Check if email attribute is an array, that has many email addresses](https://github.com/wekan/wekan/pull/2519). + Thanks to tdemaret and xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.92 2019-06-27 Wekan release + +This release fixes the following bugs: + +- [Fix Outgoing Webhook messages for Checlists, Checklist Items, Card comments, Add/Remove CustomField to board](https://github.com/wekan/wekan/commit/5283ba9ebbedf11540ffef1d4d87891c5ce9efc7). + Not yet fixed is Outgoing Webhook message about setting CustomField value. + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.91 2019-06-27 Wekan release + +This release fixes the following bugs: + +- [Fix Attachment Outgoing Webhook missing list and swimlane name](https://github.com/wekan/wekan/commit/6a2f120d00b5ce9089ad2e12d01edb1ed9f94800). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.90 2019-06-21 Wekan release + +This release reverts the following Sandstorm changes: + +- [Revert v2.89 setting every Sandstorm Wekan user as admin](https://github.com/wekan/wekan/commit/e5c0d0ea18fe74a47afdfe101160280854e2c74f). + Thanks to xet7. [Related #2405](https://github.com/wekan/wekan/issues/2405). + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.89 2019-06-21 Wekan release + +This release adds the following Sandstorm features: + +- [Sandstorm Wekan: Set everyone as Admin](https://github.com/wekan/wekan/commit/60d62a6ae3a79059e68b2cd1d554d67b7d50b6aa). + Please test does this help with [Problem with the user management: can't add users or give wekan admin rights](https://github.com/wekan/wekan/issues/2405). + Thanks to xet7. +- [If board does not exist, redirect to All Boards page, at all Wekan platforms](https://github.com/wekan/wekan/commit/4f46adc389126597266d71110f9754841f86857c). + So now at Sandstorm when loading Wekan grain, if first Sandstorm board is found, + it is opened. If first Sandstorm board is not found (it's deleted or archived), + then redirect automatically to All Boards page. [Closes #3132](https://github.com/wekan/wekan/issues/3132). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.88 2019-06-21 Wekan release + +This release adds the following updates: + +- Update translations. + +Thanks to translators for their translations. + +# v2.87 2019-06-21 Wekan release + +This release adds the following new features: + +- [Rule cardAction - SetDate](https://github.com/wekan/wekan/pull/2506). + Thanks to road42. + +and fixes the following bugs: + +- [Fix Move card to top/bottom of list](https://github.com/wekan/wekan/pull/2508). + Thanks to road42. +- [Translation fixes](https://github.com/wekan/wekan/pull/2507). + Thanks to road42. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.86 2019-06-19 Wekan release + +This release fixes the following bugs: + +- [Fix Wekan unable to Select Text from Description edit box](https://github.com/wekan/wekan/issues/2451) + by removing feature of card description submit on click outside. This is because when selecting text + and dragging up did trigger submit of description, so description was closed and selecting text failed. + This did affect all Chromium-based browsers: Chrome, Chromium, Chromium Edge. + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.85 2019-06-19 Wekan release + +This release fixes the following bugs: + +- [Fixed bug: rule doesn't move card to top/bottom](https://github.com/wekan/wekan/pull/2502). + Thanks to road42. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.84 2019-06-18 Wekan release + +This release fixes the following bugs: + +- [Buttons for adding rules to a board where missing for isBoardAdmin](https://github.com/wekan/wekan/pull/2500). + Thanks to road42. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.83 2019-06-17 Wekan release + +This release fixes the following bugs: + +- [Fix Bug: Unable to click board submenu on mobile](https://github.com/wekan/wekan/commit/7ff6f24a90374ae95edbb87b37e0c235e7aee434). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.82 2019-06-14 Wekan release + +This release fixes the following bugs: + +- [Fix OIDC Docker login. Empty string results to empty array at wekan/server/authentication.js](https://github.com/wekan/wekan/commit/bddbaa7bc2f3cfe8553a2265e168231ab51876f3). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.81 2019-06-13 Wekan release + +This release fixes the following bugs: + +- [Change OAuth2 whitelist default to empty string at snap, so it would be used as array on + wekan/server/authentication.js](https://github.com/wekan/wekan/commit/4334fbbb9dacf45b0262019526a9697b015049a1). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.80 2019-06-13 Wekan release + +This release fixes the following bugs: + +- [Fix OAuth2 typos in snap-src/bin/config](https://github.com/wekan/wekan/commit/44dbd462b19e613fcb47161d44e4046d5d91a319). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.79 2019-06-13 Wekan release + +This release fixes the following bugs: + +- [Fix OAuth2 typos in Dockerfile and docker-compose.yml](https://github.com/wekan/wekan/pull/2488). + Thanks to DominikPf. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.78 2019-06-12 Wekan release + +This release fixes the following bugs: + +- [Try to fix OIDC login](https://github.com/wekan/wekan/commit/8b31c0768c34fc4557b54cec936a0b4288a8e722). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.77 2019-06-11 Wekan release + +This release fixes the following bugs: + +- [Fix Snap build](https://github.com/wekan/wekan/commit/e1e20275a673d3065c6cf239db8d2f1a505baa69). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.76 2019-06-11 Wekan release + +This release adds the following new features: + +- [Add support for CORS headers "Access-control-allow-headers" and + "Access-control-expose-headers"](https://github.com/wekan/wekan/pull/2429). + Thanks to risacher and xet7. +- [Support scopes in OAuth2, so that Authentication via OAuth2 with Google is now possible](https://github.com/wekan/wekan/pull/2483). + Thanks to moserben16. + +and fixes the following bugs: + +- [Fix Scope parsing Issue for OAuth2 Login with simple String](https://github.com/wekan/wekan/pulls/2427). + Thanks to DominikPf. +- [Show attachment name in Outgoing Webhook when attachment is added to card](https://github.com/wekan/wekan/commit/992ecfefa2e46ee7321ec9b8bfc3400532e5645e). + Thanks to xet7. Related [#2285](https://github.com/wekan/wekan/issues/2285). +- [Show attachment name in Outgoing Webhook when attachment is removed from card](https://github.com/wekan/wekan/commit/23ccb3b991be6d7196e59f7d68df17b8949df049). + Thanks to xet7. Related [#2285](https://github.com/wekan/wekan/issues/2285). +- [Allow BoardAdmin to create board rules](https://github.com/wekan/wekan/pull/2433). + Thanks to road42. +- [Fix typo](https://github.com/wekan/wekan/pull/2442). + Thanks to Jason-Cooke. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.75 2019-05-22 Wekan release + +This release adds the following new features: + +- [CAS allowed LDAP groups](https://github.com/wekan/meteor-accounts-cas/pull/4). + Thanks to ppoulard. Please test. Related [#2356](https://github.com/wekan/wekan/issues/2356). + +and fixes the following bugs: + +- [Fix](https://github.com/wekan/wekan/commit/634df8f6f26a7a7a2df6f87a705d322d88638425): + [OAuth2 Requested Scopes are wrong / cannot be configured](https://github.com/wekan/wekan/issues/2412). + Thanks to DominikPf and xet7. Please test. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.74 2019-05-14 Wekan release + +This release fixes the following bugs: + +- Add missing [wekan-ldap#40](https://github.com/wekan/wekan-ldap/pull/40) code about + [LDAP_SYNC_ADMIN_STATUS](https://github.com/wekan/wekan/commit/0fe40ad9ec82ef2045578f4cc1e2ebb6cc80d47a). + Thanks to JulianJacobi, n-st, chirrut2 and xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.73 2019-05-14 Wekan release + +This release fixes the following bugs with Apache I-CLA: + +- [Card count placement and export API functionality back](https://github.com/wekan/wekan/pulls/2406). + Thanks to bentiss. +- [Few fixes for Dockerfile](https://github.com/wekan/wekan/pulls/2407). + Thanks to bentiss. + +and fixes the following bugs: + +- Fixed [#2338](https://github.com/wekan/wekan/issues/2338) -> [Slow opening of big boards with too many archived items](https://github.com/wekan/wekan/pull/2402). + If some Wekan users see errors with this, please empty your browser cache. + Thanks to nerminator. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.72 2019-05-13 Wekan release + +This release adds the following new features: + +- [Added BIDI support to "Add Card"](https://github.com/wekan/wekan/pull/2401). + Related [#884](https://github.com/wekan/wekan/issues/884). + Thanks to guyzyl. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.71 2019-05-12 Wekan release + +This release adds the following new features: + +- [Add partentId support on card web API](https://github.com/wekan/wekan/pulls/2400). + Thanks to atilaromero. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.70 2019-05-11 Wekan release + +This release adds the following new features: + +- [View markdown on List names, Custom Fields (Text and Dropdown), Label names, + All Boards view Board names and Board descriptions](https://github.com/wekan/wekan/commit/b795115042c2eb6bccbf029f21d78849a44128ca). + Related [#2334](https://github.com/wekan/wekan/issues/2334). + Thanks to shaygover and xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.69 2019-05-11 Wekan release + +This release fixes the following translation names: + +- [Fix translation name in Wekan menu: oc to Occitan](https://github.com/wekan/wekan/commit/db40ca25ac5df17fcc8b7c93f12b7e2bffc349d2). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.68 2019-05-10 Wekan release + +This release adds the following new features: + +- [Option to login to the LDAP server with the user's own username and password, instead of an administrator + key](https://github.com/wekan/wekan/pull/2399). Default: false (use administrator key). + With new setting: LDAP_USER_AUTHENTICATION=true. + Thanks to thiagofernando. +- [Added above new LDAP_USER_AUTHENTION=true option to Snap, Docker and Source settings](https://github.com/wekan/wekan/commit/3bbc805ee42e3c1638b50260d3fafc2b5f936923). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.67 2019-05-10 Wekan release + +This release adds the following new features: + +- [Move board to Archive button at each board at All Boards page](https://github.com/wekan/wekan/commit/828f6ea321020eda77fea399df52889e2081dfac). + Thanks to xet7. Related [#2389](https://github.com/wekan/wekan/issues/2389). +- [If adding Subtasks does not work on old board, added wiki page how to make it work again](https://github.com/wekan/wekan/wiki/Subtasks). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.66 2019-05-09 Wekan release + +This release adds the following new features: + +- [Delete user feature](https://github.com/wekan/wekan/pull/2384). + Thanks to Akuket. +- Change to Delete user feature: [When last board admin is removed, board is not deleted, other board users can + still use it](https://github.com/wekan/wekan/commit/e1b016cf3d4ff93e9e0fe1feb96372e3e1625233). + Thanks to xet7. + +and adds the following new translations: + +- Add Chinese (Hong Kong). + Thanks to translators. + +and fixes the following bugs: + +- [Fix OIDC login](https://github.com/wekan/wekan/pull/2385). Related [#2383](https://github.com/wekan/wekan/issues/2383). + Thanks to faust64. +- [Fix missing profile checks](https://github.com/wekan/wekan/pull/2396). + Thanks to justinr1234. +- [Fix RTL issue #884, part 1](https://github.com/wekan/wekan/pull/2395). + Thanks to guyzyl. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.65 2019-04-24 Wekan release + +This release adds the following new features: + +- [Now a loading animation is displayed when the authentication is performed. This allows users + to know that it's in progress](https://github.com/wekan/wekan/pull/2379). + Thanks to Akuket. + +and removes the following UI duplicates: + +- [Remove from card menu, because they also exist at card: + members, labels, attachments, dates received/start/due/end](https://github.com/wekan/wekan/issues/2242). + Thanks to sfahrenholz, jrsupplee and xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.64 2019-04-23 Wekan release + +This release adds the following new features: + +- [Board Archive: Restore All/Delete All of Cards/Lists/Swimlanes](https://github.com/wekan/wekan/pull/2376). + Thanks to Akuket. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.63 2019-04-23 Wekan release + +This release removes the following Caddy plugins: + +- [Remove Caddy plugins http.filter, http.ipfilter and http.realip from Caddy](https://github.com/wekan/wekan/commot/6a94500170509d2d82bd9a0fdc94a7ce66215b3d) + because they are currently broken, preventing download of Caddy during Wekan Snap build. + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.62 2019-04-23 Wekan release + +This release fixes the following bugs: + +- [Mobile UI: Center cards in list view](https://github.com/wekan/wekan/issues/2371). + Thanks to hupptechnologies. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.61 2019-04-20 Wekan release + +This release adds the following new features: + +- Admin Panel/People: Can now search users by username, full name or email and using regex to find them. + Display the number of users. All registered users by default else the number of users selected by the search. + Thanks to Akuket. + +and adds the following updates: + +- [Update to use newest GitHub flawored markdown](https://github.com/wekan/wekan/commit/fea2ad3d7d09b44c3de1dbcdd3f8750aaa6776d5), + because [it was found old version was in use](https://github.com/wekan/wekan/issues/2334). + Thanks to shaygover and xet7. +- [Upgrade to Node 8.16.0](https://github.com/wekan/wekan/commit/6117097a93bfb11c8bd4c87a23c44a50e22ceb87). + Thanks to Node developers and xet7. +- [Upgrade Docker base image to ubuntu:disco](https://github.com/wekan/wekan/commit/bd14ee3b1f450ddc6dec26ccc8da702b839942e5). + Thanks to Ubuntu developers and xet7. + +and fixes the following bugs: + +- [Fix Full width of lists and space before first list](https://github.com/wekan/wekan/pull/2343). + Thanks to hupptechnologies. +- Remove [extra](https://github.com/wekan/wekan/pull/2332) [quotes](https://github.com/wekan/wekan/pull/2333) from docker-compose.yml. + Thanks to hibare. +- Fix Docker builds by moving all separately cloned wekan/packages/* repos like ldap, oidc, etc code to wekan repo code, + so that in build scripts it's not needed to clone those. Also archived those wekan repos and moved issues + to https://github.com/wekan/wekan/issues because changes and development to those packages now happends on wekan/wekan repo. + There was also fixes to repo urls etc. Thanks to xet7. +- [Additional updates](https://github.com/wekan/wekan/pull/2347) to meteor-1.8 branch, that contains + Meteor 1.8.1 version that works in Docker but not yet at Snap and Sandstorm. Thanks to justinr1234. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.60 2019-04-08 Wekan release + +This release fixes the following bugs: + +- [Fix: Description of Board is out of visible after Feature "Duplicate Board"](https://github.com/wekan/wekan/issues/2324). + Thanks to sfahrenholz and xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.59 2019-04-06 Wekan release + +This release fixes the following bugs: + +- [Add variables for activity notifications, Fixes #2285](https://github.com/wekan/wekan/pull/2320). + Thanks to rinnaz. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.58 2019-04-06 Wekan release + +This release adds the following new features: + +- [Duplicate Board](https://github.com/wekan/wekan/issues/2257). Related #2225. + Thanks to Angtrim. +- [Add Duplicate Board tooltip, and remove adding text "Copy" to duplicated board](https://github.com/wekan/wekan/commit/0f15b6d1982c383f76e8411cb501ff27e8febd42). + Thanks to xet7. + +and fixes the following bugs: + +- [Add proper variables for unjoin card](https://github.com/wekan/wekan/pull/2313). + Thanks to chotaire. +- [Center reduce left margin in card view on mobile browser](https://github.com/wekan/wekan/pull/2314). + Thanks to hupptechnologies. +- [Remove not needed ARGS from Dockerfile to reduce amount of Docker layers](https://github.com/wekan/wekan/issues/2301). + Thanks to folhabranca and xet7. +- [Fix Swimlane Rules don't work](https://github.com/wekan/wekan/issues/2225). + Thanks to Angtrim. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.57 2019-04-02 Wekan release + +This release fixes the following bugs, thanks to justinr1234: + +- [Add proper variables for join card](https://github.com/wekan/wekan/commit/289f1fe1340c85eb2af19825f4972e9057a86b7a), + fixes [Incorrect variable replacement on email notifications](https://github.com/wekan/wekan/issues/2285). + +and fixes the following bugs with Apache I-CLA, thanks to bentiss: + +- [List: Do not use IntersectionObserver to reduce CPU usage](https://github.com/wekan/wekan/pull/2302). + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.56 2019-03-27 Wekan release + +This release [fixes the following bugs](https://github.com/wekan/wekan/pull/2287), thanks to bentiss with Apache I-CLA: + +- [#2250 -> the spinner could be shown on startup and never goes away](https://github.com/wekan/wekan/issues/2250). +- The code will now only load extra cards that will be in the current viewport. +- When 2 users were interacting on the same board, there was a situation where the spinner could show up on the other user, without being able to load the extra cards. +- The code is now much simpler, thanks to the IntersectionObserver, and all of this for fewer lines of code :) + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.55 2019-03-25 Wekan release + +This release fixes the following bugs, thanks to bentiss with Apache I-CLA: + +- [Use older api2html@0.3.0](https://github.com/wekan/wekan/commit/625682a4dab43c525494af10121edbfd547786d7) + to fix [broken snap and docker build](https://github.com/wekan/wekan/issues/2286), + because newer api2html caused + [breaking change](https://github.com/tobilg/api2html/commit/a9a41bca18db3f9ec61395d7262eff071a995783) + at api2html/bin/api2html.js:23 has error about "php": "PHP". + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.54 2019-03-25 Wekan release + +This release fixes the following bugs: + +- Fix typos. +- [Fix Outgoing Webhook message about created new swimlane](https://github.com/wekan/wekan/issues/1969). + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.53 2019-03-23 Wekan release + +This release fixes the following bugs: + +- [Fix filename and URLs](https://github.com/wekan/wekan/ccommit/994314cfa339e52a2ad124194af4e89f57ddd213). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.52 2019-03-22 Wekan release + +This release adds the following new features: + +- [More whitelabeling: Hide Wekan logo and title by default, and don't show separate option to hide logo at + Admin Panel/Layout](https://github.com/wekan/wekan/commit/2969161afbe60a1aa2e7da6cedc3ab48941faf3e). + Thanks to xet7. +- Added and then reverted option to redirect OIDC OAuth2 login [part1](https://github.com/wekan/wekan-ldap/commit/82a894ac20ba9e7c6fdf053cff1721cab709bf8a), + [part 2](https://github.com/wekan/wekan-ldap/commit/36900cc360d0d406f8fba5e43378f85c92747870) and + [part3](https://github.com/wekan/wekan/commit/7919ae362866c0cacf2a486bf91b12e4d25807d7). + This does not work yet. In Progress. + Thanks to xet7. +- [Add LDAP config example, remove extra text](https://github.com/wekan/wekan/commit/506acda70b5e78737c52455e5eee9c8758243196). + Thanks to xet7. + +and fixes the following bugs: + +- [Fix IFTTT email sending](https://github.com/wekan/wekan/pull/2279). + Thanks to justinr1234. + +Thanks to above GitHub users for their contributions. + +# v2.51 2019-03-21 Wekan release + +This release fixes the following bugs: + +- [Fix Unable to change board card title (=Board name) at Templates page](https://github.com/wekan/wekan/issues/2275). + and [Unable to change card title in Template](https://github.com/wekan/wekan/issues/2268) part 2. + Thanks to andresmanelli. + +Thanks to above GitHub users for their contributions. + +# v2.50 2019-03-21 Wekan release + +This release fixes the following bugs: + +- [Fix](https://github.com/wekan/wekan/pull/2269) [Unable to change card title in Template](https://github.com/wekan/wekan/issues/2268) + and [Fix Unable to create a new board from a template](https://github.com/wekan/wekan/issues/2267). + Thanks to andresmanelli. + +Thanks to above GitHub users for their contributions. + +# v2.49 2019-03-21 Wekan release + +This release fixes the following bugs: + +- [The invitation code doesn't exist - case-sensitive eMail](https://github.com/wekan/wekan/issues/1384). Thanks to neurolabs. +- [Don't swallow email errors](https://github.com/wekan/wekan/pull/2272). Thanks to justinr1234. +- [Migrate customFields model](https://github.com/wekan/wekan/pull/2264). + Modifies the customFields model to keep an array of boardIds where the customField can be used. + Adds name matching for labels when copying/moving cards between boards. + This way, customFields are not lost when copying/moving a card. Particularly useful when templates have customFields or labels with specific names (not tested for templates yet). + Thanks to andresmanelli. +- [Fix dissapearing subtasks](https://github.com/wekan/wekan/pull/2265). Thanks to andresmanelli. +- [Cards disappear when rearranged on template board](https://github.com/wekan/wekan/issues/2266). Thanks to andresmanelli. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.48 2019-03-15 Wekan release + +This release fixes the following bugs, thanks to GitHub user xet7: + +- [Fix LDAP login](https://github.com/wekan/wekan/commit/216b3cfe0121aa026139536c383aa27db0353411). + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.47 2019-03-14 Wekan release + +This release fixes the following bugs, thanks to GitHub user xet7: + +- [Remove ordering of cards by starred/color/description, so that cards would not reorder all the time](https://github.com/wekan/wekan/issues/2241). +- Try to fix [LDAP Login: "Login forbidden", ReferenceError: req is not defined](https://github.com/wekan/wekan-ldap/44). + +# v2.46 2019-03-13 Wekan release + +This release fixes the following bugs: + +- [Fix watchers undefined](https://github.com/wekan/wekan/pull/2253). + Thanks to justinr1234. +- [Revert hiding of Subtask boards](https://github.com/wekan/wekan/commit/1968b7da31d75757fd6383417d729ff6af6bbc5b) + because of feedback from Wekan users, that need Subtask boards to be visible. + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.45 2019-03-11 Wekan release + +This release fixes the following bugs, thanks to andresmanelli: + +- [Rename circular card migration to re run the fix](https://github.com/wekan/wekan/commit/a347ae367654258b7768e7571831ed8f75fb5b84). + +# v2.44 2019-03-11 Wekan release + +This release adds the following new features and fixes with Apache I-CLA, thanks to bentiss: + +- [Activities: register customFields changes in the activities](https://github.com/wekan/wekan/pull/2239). +- [customFields: fix leftover from lint](https://github.com/wekan/wekan/commit/4c72479d1206850d436261dc5c6a4127f246f6da). + Looks like I forgot to use the camelCase notation here, and this leads to an exception while updating a custom field. +- [Fix imports](https://github.com/wekan/wekan/pull/2245). + +and adds the following new features: + +- Add language: Occitan. Thanks to translators. + +and fixes the following bugs: + +- [Fix removed checklistItem activity => dangling activities created](https://github.com/wekan/wekan/commit/2ec1664408d9515b5ca77fbb46ef99208eb8cff0). + Closes #2240. Thanks to andresmanelli. +- [Avoid set self as parent card to cause circular reference, for real](https://github.com/wekan/commit/97822f35fd6365e5631c5488e8ee595f76ab4e34). + Thanks to andresmanelli. +- Try to fix [Order All Boards by starred, color, board name and board description. Part 2](https://github.com/wekan/wekan/commit/8f337f17e45f8af8d96b6043d54466e5878b7e0b). + Works on new Wekan install. Could still have boards keeping reording happening all the time on old Wekan installs. + Thanks to xet7. Note: Ordering by starred/color/description was removed at Wekan v2.47. +- [Changed brute force protection package from eluck:accounts-lockout to lucasantoniassi:accounts-lockout that is maintained and works. + Added Snap/Docker/Source settings](https://github.com/wekan/wekan/commit/b7c000b78b9af253fb115bbfa5ef0d4c0681abbb). + Thanks to xet7. + +Thanks to above Wekan contributors for their contributions. + +# v2.43 2019-03-08 Wekan release + +This release adds the following new features, thanks to xet7: + +- [Hide Subtask boards from All Boards](https://github.com/wekan/wekan/issues/1990). This was reverted in Wekan v2.46 to make Subtask boards visible again. +- [Order All Boards by Starred, Color, Title and Description](https://github.com/wekan/wekan/commit/856872815292590e0c4eff2848ea1b857a318dc4). + This was removed at Wekan v2.47. +- [HTTP header automatic login](https://github.com/wekan/wekan/commit/ff825d6123ecfd033ccb08ce97c11cefee676104) + for [3rd party authentication server method](https://github.com/wekan/wekan/issues/2019) like siteminder, and any webserver that + handles authentication and based on it adds HTTP headers to be used for login. Please test. + +and adds the following partial fix, thanks to andresmanelli: + +- [Add migration to fix circular references](https://github.com/wekan/wekan/commit/a338e937e508568d1f6a15c5464126d30ef69a7d). + This [runs only once](https://github.com/wekan/wekan/issues/2209#issuecomment-470445989), + so later there will be another fix to make it run every time. + +and reverts the following change of v2.42, because they did not fix anything, thanks to xet7: + +- [Revert: Tried to fix snap mongodb-control not starting database](https://github.com/wekan/wekan/commit/4055f451fdadfbfdef9a10be29a0eb6aed91182c). + +Thanks to above GitHub users for their contributions, and translators for their translations. + +# v2.42 2019-03-07 Wekan release + +This release tried to fix the following bugs: + +- [Tried to fix snap mongodb-control not starting database](https://github.com/wekan/wekan/commit/2c5628b5fbcc25427021d0b22e74577a71149c21). + Reverted in v2.43, because it did not fix anything. + +Thanks to xet7 and qurqar[m] at IRC #wekan. + +# v2.41 2019-03-07 Wekan release + +This release tried to fix the following bugs: + +- [Partial Fix: Card was selected as parent card (circular reference) and now board can be not opened anymore](https://github.com/wekan/wekan/issues/2202) + with [Avoid setting same card as parentCard. Avoid listing templates board in copy/move/more menus](https://github.com/wekan/wekan/commit/745f39ed20169f56b99c0339f2043f8c4ed43873). + This does not fully work yet, it will be fixed later. + Thanks to andresmanelli. + +Thanks to above GitHub users for their contributions, and translators for their translations. + +# v2.40 2019-03-06 Wekan release + +This release fixes the following bugs: + +- Part 2: [Fix](https://github.com/wekan/wekan/commit/e845fe3e7130d111be4c3a73e2551738c980ff7b) + [manifest](https://github.com/wekan/wekan/issues/2168) and + [icon](https://github.com/wekan/wekan/issues/1692) paths. Thanks to xet7. + +Thanks to above GitHub users for their contributions, and translators for their translations. + +# v2.39 2019-03-06 Wekan release + +This release fixes the following bugs: + +- [Fix](https://github.com/wekan/wekan/commit/e845fe3e7130d111be4c3a73e2551738c980ff7b) + [manifest](https://github.com/wekan/wekan/issues/2168) and + [icon](https://github.com/wekan/wekan/issues/1692) paths. Thanks to xet7. + +Thanks to above GitHub users for their contributions, and translators for their translations. + +# v2.38 2019-03-06 Wekan release + +This release adds the following new features: + +- [Added a Helm Chart to the project](https://github.com/wekan/wekan/pull/2227), thanks to TechnoTaff. +- [Added support for LDAP admin status sync](https://github.com/wekan/wekan-ldap/pull/40). + Examples: [LDAP_SYNC_ADMIN_STATUS=true, LDAP_SYNC_ADMIN_GROUP=group1,group2](https://github.com/wekan/wekan/commit/7e451d9033eb6162cd37de3e5ffabdc22e272948). + Thanks to JulianJacobi and xet7. + +and fixes the following bugs: + +- [Fix card deletion from archive](https://github.com/wekan/wekan/commit/77754cf32f28498e550a46325d90eb41f08f8552). Thanks to andresmanelli. +- [Fix card move with wrong swimlaneId](https://github.com/wekan/wekan/commit/1bef3a3f8ff4eac43bf97cc8b86d85e618b0e2ef). Thanks to andresmanelli. + NOTE: This does not yet fix card move [with Custom Field](https://github.com/wekan/wekan/issues/2233), it will be fixed later. +- [Fix: LDAP Authentication with Recursive Group Filtering Does Not Work on Snap](https://github.com/wekan/wekan/issues/2228). Thanks to apages2. +- [Use ubuntu:cosmic base in Dockerfile](https://github.com/wekan/wekan/commit/df00776e6ca47080435eca9a31a16fd24c0770ed). Thanks to xet7. +- [Remove phantomjs binary from Docker/Snap/Stackerfile to reduce size](https://github.com/wekan/wekan/issues/2229). Thanks to soohwa. + +Thanks to above GitHub users for their contributions, and translators for their translations. + +# v2.37 2019-03-04 Wekan release + +This release fixes the following bugs: + +- [Fix Adding Labels to cards is not possible anymore](https://github.com/wekan/wekan/issues/2223). + +Thanks to GitHub user xet7 for contributions. + +# v2.36 2019-03-03 Wekan release + +This release adds the following UI changes: + +- [Combine hamburger menus at right](https://github.com/wekan/wekan/issues/2219): + - Hamburger button open sidebar; + - Sidebar has at top right Cog icon that opens Board Settings; + - Hide sidebar arrows. + +and fixes the following bugs: + +- [Add more Webhook translations](https://github.com/wekan/wekan/issues/1969). + In progress. + +and moved the following code around: + +- [Forked salleman-oidc](https://github.com/wekan/wekan/commit/8867bec8e65f1ef6be0c731918e8eefcacb7acb0) + to https://github.com/wekan/meteor-accounts-oidc where salleman also has write access, + xet7 can make changes directly and GitHub issues are enabled. + +Thanks to GitHub user xet7 for contributions. + +# v2.35 2019-03-01 Wekan release + +This release fixes the following bugs: + +- [Add Filter fix back](https://github.com/wekan/wekan/issues/2213), + because there was no bug in filter fix. + +Thanks to GitHub user xet7 for contributions. + +# v2.34 2019-03-01 Wekan release + +This release tried to fix following bugs, but did not fix anything: + +- Revert [Filter fix](https://github.com/wekan/wekan/issues/2213) because of + [mongodb data tampered](https://github.com/wekan/wekan-snap/issues/83). + This was added back at Wekan v2.35. + +Thanks to GitHub user xet7 for contributions. + +# v2.33 2019-02-28 Wekan release + +This release adds the following upgrades: + +- [Upgrade Node.js to v8.15.1](https://github.com/wekan/wekan/commit/5cafdd9878ab4b6123024ec33279ccdae75f554f). + +Thanks to Node.js developers and GitHub user xet7 for contributions. + +# v2.32 2019-02-28 Wekan release + +This release adds the following [performance improvements](https://github.com/wekan/wekan/pull/2214), thanks to justinr1234: + +- New indexes for queries that were missing an index; +- Bulk querying documents to reduce the number of mongo queries when loading a board; +- Ensure oplog is being used to query the database by providing a `sort` key when `limit` is used querying the `boards` collection. + +and fixes the following bugs related to [Template features](https://github.com/wekan/wekan/issues/2209), thanks to andresmanelli: + +- [Fix filtering in swimlane view](https://github.com/wekan/wekan/commit/49229e1723de14cdc66dc6480624bba426d35e36) that was [broken since v2.29](https://github.com/wekan/wekan/issues/2213). + +Thanks to above GitHub users for their contributions. + +# v2.31 2019-02-28 Wekan release + +This release fixes the following bugs related to [Template features](https://github.com/wekan/wekan/issues/2209), thanks to GitHub user andresmanelli: + +- [Fix copy card](https://github.com/wekan/wekan/issues/2210). + +# v2.30 2019-02-28 Wekan release + +This release adds the following new [Template features](https://github.com/wekan/wekan/issues/2209), thanks to GitHub user andresmanelli: + +- [Fix popup title. Add element title modification](https://github.com/wekan/wekan/commit/888e1ad5d3e32be53283aa32198057f669f3d706); +- [Copy template attachments](https://github.com/wekan/wekan/commit/abb71083215462d91b084c4de13af0b130638e4d); +- [Standarize copy functions. Match labels by name](https://github.com/wekan/wekan/commit/da21a2a410c9b905de89d66236748e0c8f5357ea). + +# v2.29 2019-02-27 Wekan release + +This release adds the following new features: + +- Swimlane/List/Board/Card templates. In Progress, please test and [add comment if you find not listed bugs](https://github.com/wekan/wekan/issues/2165). + Thanks to GitHub user andresmanelli. + +# v2.28 2019-02-27 Wekan release + +This release adds the following new Sandstorm features and fixes: + +- All Boards page [so it's possible to go back from subtask board](https://github.com/wekan/wekan/issues/2082). +- Board favorites. +- New Sandstorm board first user is Admin and [has IFTTT Rules](https://github.com/wekan/wekan/issues/2125) and Standalone Wekan Admin Panel. + Probably some Admin Panel features do not work yet. Please keep backup of your grains before testing Admin Panel. +- Linked Cards and Linked Boards. +- Some not needed options like Logout etc have been hidden from top bar right menu. +- [Import board now works. "Board not found" is not problem anymore](https://github.com/wekan/wekan/issues/1430), because you can go to All Boards page to change to imported board. + +and removes the following features: + +- Remove Welcome Board from Standalone Wekan, [to fix Welcome board not translated](https://github.com/wekan/wekan/issues/1601). + Sandstorm Wekan does not have Welcome Board. + +Thanks to GitHub user xet7 for contributions. + +# v2.27 2019-02-27 Wekan release + +This release fixes the following bugs: + +- [Fix OIDC error "a.join is not a function"](https://github.com/wekan/wekan/issues/2206) + by reverting configurable OAUTH2_ID_TOKEN_WHITELIST_FIELDS and + OAUTH2_REQUEST_PERMISSIONS from Wekan v2.22-2.26. + Thanks to GitHub user xet7. + +# v2.26 2019-02-25 Wekan release + +This release adds the following new features: + +- Add setting [EMAIL_NOTIFICATION_TIMEOUT](https://github.com/wekan/wekan/issues/2203). + Defaut 30000 ms (30s). Thanks to GitHub users ngru and xet7. + +and fixes the following bugs: + +- REVERTED in v2.27 ([Fix OAuth2 requestPermissions](https://github.com/wekan/wekan/commit/5e238bfbfea16940ae29647ae347bbdc0d78efb0). + This makes [Auth0 login possible](https://github.com/wekan/wekan/issues/1722) + with [OIDC](https://github.com/wekan/wekan/wiki/OAuth2#auth0). Needs testing. + Thanks to GitHub user xet7.) + +# v2.25 2019-02-23 Wekan release + +This release fixes the following bugs: + +- Revert file permission changes from v2.24 LDAP changes that + caused snap version to not build. + +Thanks to GitHub user xet7 for contributions. + +# v2.24 2019-02-23 Wekan release + +This release adds the following new features: + +- [Add LDAP email] matching support](https://github.com/wekan/wekan-ldap/pull/39) and + [related env variables](https://github.com/wekan/wekan/pull/2198). + Thanks to GitHub user stevenpwaters. + +and fixes the following bugs: + +- REVERTED in v2.27 ([Add missing text .env to wekan/server/authentication.js](https://github.com/wekan/wekan/commit/4e6e78ccd216045e6ad41bcdab4e524f715a7eb5). + Thanks to Vanila Chat user .gitignore.) + +Thanks to above contributors, and translators for their translation. + +# v2.23 2019-02-17 Wekan relase + +This release fixes the following bugs: + +- [Fix authentication dropdown](https://github.com/wekan/wekan/pull/2191). + Thanks to Akuket. + +Thanks to above GitHub users for their contributions, and translators for their translations. + +# v2.22 2019-02-13 Wekan release + +This release adds the following new features: + +- [Kadira integration](https://github.com/wekan/wekan/issues/2152). Thanks to GavinLilly. +- REVERTED in v2.27 (Add [configurable](https://github.com/wekan/wekan/issues/1874#issuecomment-462759627) + settings [OAUTH2_ID_TOKEN_WHITELIST_FIELDS and + OAUTH2_REQUEST_PERMISSIONS](https://github.com/wekan/wekan/commit/b66f471e530d41a3f12e4bfc29548313e9a73c35). + Thanks to xet7.) + +and fixes the following bugs: + +- [Fix: Remove overlap of side bar button with card/list menu button on + mobile browser](https://github.com/wekan/wekan/issues/2183). Thanks to xet7. + +Thanks to above GitHub users for their contributions, and translators for their translations. + +# v2.21 2019-02-12 Wekan release + +This release adds the following new features: + +- [Bump salleman-oidc to 1.0.12](https://github.com/wekan/wekan/commit/352e5c6cb07b1a09ef692af6f6c49c3b1f3e91c1). Thanks to danpatdav. +- [Added parameters for OIDC claim mapping](https://github.com/wekan/wekan/commit/bdbbb12f967f7e4f605e6c3310290180f6c8c6d1). + These mapping parameters take advantage of new code in salleman-oidc 1.0.12 to override the default claim names provided by the userinfo endpoint. + Thanks to danpatdav. +- [Add OIDC claim mapping parameters to docker-compose.yml/Snap/Source](https://github.com/wekan/wekan/commit/59314ab17d65e9579d2f29b32685b7777f2a06a1). + Thanks to xet7. + +Thanks to above GitHub users for their contributions. + +# v2.20 2019-02-11 Wekan release + +This release adds the following new features: + +- [Add OIDC / OAuth2 optional setting DEBUG=true to salleman-oidc and Dockerfile](https://github.com/wekan/wekan/pull/2181). + Thanks to danpatdav. +- [Add OIDC / OAuth2 optional setting DEBUG=true to docker-compose.yml/Snap/Source](https://github.com/wekan/wekan/commits/8e02170dd1d5a638ba47dcca910e6eecbfd03baf). + Thanks to xet7. + +Thanks to above GitHub users for their contributions and translators for their translations. + +# v2.19 2019-02-09 Wekan release + +This release removes the following new features: + +- [Remove oplog from snap](https://github.com/wekan/wekan/commit/f1bd36a3b87f97927dfe60572646a457e1f7ef66). Need to think how to do it properly. + +Thanks to GitHub user xet7 for conrtibutions. + +# v2.18 2019-02-08 Wekan release + +This release adds the folloging new features: + +- [Improve Authentication: Admin Panel / Layout / Set Default Authentication / Password/LDAP](https://github.com/wekan/wekan/pull/2172). Thanks to Akuket. +- [Add oplog to snap mongodb](https://github.com/wekan/wekan/commit/79ffb7d50202471c7b7f297286f13e66ce30922e). Thanks to xet7. + +and fixes the following bugs with Apache I-CLA, thanks to bentiss: + +- [Fix swimlanes sorting](https://github.com/wekan/wekan/pull/2174) + since "[Properly fix horizontal rendering on Chrome and Firefox](https://github.com/wekan/wekan/commit/7cc185ac)". + The rendering of the new design of the swimlanes was correct, but this + commit broke the reordering capability. Having the swimlane header at + the same level than the lists of cards makes the whole sortable + pattern fail. + - 2 solutions: + - revert to only have 1 div per swimlane. But this introduces [the firefox + bug mentioned](https://github.com/wekan/wekan/commit/7cc185ac), so not ideal + - force the sortable pattern to do what we want. + - To force the sortable pattern, we need: + - add in the helper a clone of the list of cards (to not just move the + header) + - make sure the placeholder never get placed between the header and the + list of cards in a swimlane + - fix the finding of the next and previous list of cards. + For all of this to be successful, we need to resize the swimlanes to a + known value. This can lead to some visual jumps with scrolling when you + drag or drop the swimlanea. I tried to remedy that by computing the new + scroll value. Still not ideal however, as there are still some jumps when + dropping. + Fixes [#2159](https://github.com/wekan/wekan/issues/2159). + +Thanks to above GitHub users and translators for contributions. + +# v2.17 2019-02-04 Wekan release + +This release fixes the following bugs: + +- [OIDC/OAuth2 BoardView Fix](https://github.com/wekan/wekan/issues/1874). + +Thanks to GitHub gil0109 for contributions, and translator for their translations. + +# v2.16 2019-02-03 Wekan release + +This release fixes the following bugs: + +- [Part 2](https://github.com/ChronikEwok/wekan/commit/9a6ac544dd5618e58ce107352124fd9b495e5c30): + [Fix: Not displaying card content of public board: Snap, Docker and Sandstorm Shared Wekan Board + Link](https://github.com/wekan/wekan/issues/1623) with + [code from ChronikEwok](https://github.com/ChronikEwok/wekan/commit/cad9b20451bb6149bfb527a99b5001873b06c3de). + +Thanks to GitHub user ChronikEwok for contributions. + +# v2.15 2019-02-03 Wekan release + +This release fixes the following bugs: + +- [Fix: Not displaying card content of public board: Snap, Docker and Sandstorm Shared Wekan Board + Link](https://github.com/wekan/wekan/issues/1623) with + [code from ChronikEwok](https://github.com/ChronikEwok/wekan/commit/cad9b20451bb6149bfb527a99b5001873b06c3de). + +Thanks to GitHub user ChronikEwok for contributions. + +# v2.14 2019-02-02 Wekan release + +This release fixes the following bugs: + +- [Fix Sandstorm export board from web](https://github.com/wekan/wekan/issues/2157). +- [Fix Error when logging in to Wekan REST API when using Sandstorm Wekan](https://github.com/wekan/wekan/issues/1279). + Sandstorm API works this way: Make API key, and from that key copy API URL and API KEY to below. It saves Wekan board to file. + `curl http://Bearer:APIKEY@api-12345.local.sandstorm.io:6080/api/boards/sandstorm/export?authToken=#APIKEY > wekanboard.json` + If later API key does not work, you need to remove it and make a new one. + +Thanks to GitHub user xet7 for contributions. + +# v2.13 2019-02-01 Wekan release + +This release adds the following new features with Apache I-CLA, thanks to bentiss: + +- [Use infinite-scrolling on lists](https://github.com/wekan/wekan/pull/2144). + This allows to reduce the loading time of a big board. + Note that there is an infinite scroll implementation in the mixins, + but this doesn't fit well as the cards in the list can have arbitrary + height. + The idea to rely on the visibility of a spinner is based on + http://www.meteorpedia.com/read/Infinite_Scrolling +- [When writing to minicard, press Shift-Enter on minicard to go to next line + below](https://github.com/wekan/wekan/commit/7a35099fb9778d5f3656a57c74af426cfb20fba3), + to continue writing on same minicard 2nd line. + +Thanks to GitHub user bentiss for contributions. + +# v2.12 2019-01-31 Wekan release + +This release fixes the following bugs: + +- [Bumped the salleman oidc packages versions to include an upstream bug fix](https://github.com/wekan/wekan/commit/361faa6646556de68ad78dc90d9eb9f78956ce0f). + +Thanks to GitHub user danpatdav for contributions. + +# v2.11 2019-01-31 Wekan release + +This release fixes the following bugs: + +- [Fix: Bug: Not logged in public board page has calendar](https://github.com/wekan/wekan/issues/2061). Thanks to xet7. + +Thanks to above GitHub users and translators for contributions. + +# v2.10 2019-01-30 Wekan release + +This release adds the following new features: + +- Translations: Add Macedonian. [Copied Bulgarian to Macedonian](https://github.com/wekan/wekan/commit/6e4a6515e00fe68b8615d850cfb3cb290418e176) + so that required changes will be faster to add. Thanks to translators and therampagerado; + +and fixes the following bugs: + +- Revert [Sandstorm API changes](https://github.com/wekan/wekan/commit/be03a191c4321c2f80116c0ee1ae6c826d882535) + that were done at [Wekan v2.05](https://github.com/wekan/wekan/blob/devel/CHANGELOG.md#v205-2019-01-27-wekan-release) + to fix #2143. Thanks to pantraining and xet7. + +Thanks to above GitHub users and translators for contributions. + +# v2.09 2019-01-28 Wekan release + +This release fixes the following bugs with Apache I-CLA, thanks to bentiss: + +- [Fix vertical automatic scrolling when opening a card](https://github.com/wekan/wekan/commit/820d3270935dc89f046144a7bbf2c8277e2484bc). + +Thanks to GitHub user bentiss for contributions. + +# v2.08 2019-01-28 Wekan release + +This release fixes the following bugs with Apache I-CLA, thanks to bentiss: + +- Make the max height of the swimlane not too big](https://github.com/wekan/wekan/commit/ae82f43078546902e199d985a922ebf7041a4917). + We take a full screen minus the header height; +- [Properly fix horizontal rendering on Chrome and Firefox](https://github.com/wekan/wekan/commit/7cc185ac57c77be85178f92b1d01d46e20218948). + This reverts [commit 74cf9e2573](https://github.com/wekan/wekan/commit/74cf9e2573) "- Fix Firefox left-rigth scrollbar." + This reverts [commit 9dd8216dfb](https://github.com/wekan/wekan/commit/9dd8216dfb) + "- Fix cards below swimlane title in Firefox" by making + [previous fix](https://github.com/wekan/wekan/pull/2132/commits/f7c6b7fce237a6dbdbbd6d728cfb11ad3f4378eb)" + And this partially reverts [commit dd88eb4cc](https://github.com/wekan/wekan/commit/dd88eb4cc). + The root of the issue was that I was adding a new div and nesting + the list of lists in this new list. This resulted in some + weird behavior that Firefox could not handled properly + Revert to a code colser to v2.02, by just having the + swimlane header in a separate line, and keep only one + flex element. + Fixes #2137 + +Thanks to GitHub user bentiss for contributions, and translators for their translations. + +# v2.07 2019-01-28 Wekan release + +This release fixes the following bugs: + +- [Fix Firefox left-rigth scrollbar](https://github.com/wekan/wekan/issues/2137). + +Thanks to GitHub user xet7 for contributions. + +# v2.06 2019-01-27 Wekan release + +This release fixes the following bugs: + +- [Fix cards below swimlane title in Firefox](https://github.com/wekan/wekan/commit/9dd8216dfb80855999998ed76d8a3c06a954a002) + by making [previous fix](https://github.com/wekan/wekan/pull/2132/commits/f7c6b7fce237a6dbdbbd6d728cfb11ad3f4378eb) + Firefox-only. + +Thanks to GitHub user xet7 for contributions. + +# v2.05 2019-01-27 Wekan release + +This release fixes the following bugs partially: + +- Add back scrollbars that [were hidden when trying to fix another + bug](https://github.com/wekan/wekan/pull/2132/commits/f7c6b7fce237a6dbdbbd6d728cfb11ad3f4378eb). + This makes scrollbars work in Chromium/Chrome, but adds back bug to Firefox + that cards are below of swimlane title - this Firefox bug is fixed in Wekan v2.06. +- [Try to have some progress on Wekan Sandstorm API](https://github.com/wekan/wekan/commit/be03a191c4321c2f80116c0ee1ae6c826d882535). + I did not get it fully working yet. + +Thanks to GitHub user xet7 for contributions. + +# v2.04 2019-01-26 Wekan release + +This release fixes the following bugs with Apache I-CLA, thanks to bentiss: + +- [Bugfix for swimlanes, simplify setting color, fix rendering on Firefox](https://github.com/wekan/wekan/pull/2132). + +Thanks to GitHub user bentiss for contributions, and translators for their translations. + +# v2.03 2019-01-25 Wekan NOT RELEASED because of [bug](https://github.com/wekan/wekan/pull/2126#issuecomment-457723923) that was fixed in v2.04 above + +This release adds the following new features with Apache I-CLA, thanks to bentiss: + +- Change [Swimlane](https://github.com/wekan/wekan/issues/1688)/[List](https://github.com/wekan/wekan/issues/328)/[Card](https://github.com/wekan/wekan/issues/428) + color with color picker at webbrowser and [REST API](https://github.com/wekan/wekan/commit/5769d438a05d01bd5f35cd5830b7ad3c03a21ed2); +- Lists-Color: [Only colorize the bottom border](https://github.com/wekan/wekan/commit/33977b2282d8891bf507c4d9a1502c644afd6352), + and make the background clearer to visually separate the header from the list of cards; +- [Change Swimlane to Horizontal](https://github.com/wekan/wekan/commit/dd88eb4cc191a06f7eb84213b026dfb93546f245); +- [Change IFTTT wizard color names to color picker](https://github.com/wekan/wekan/commit/4a2576fbc200d397bcf7cede45316d9fb7e520dd); +- REST API: [Add new card to the end of the list](https://github.com/wekan/wekan/commit/6c3dbc3c6f52a42ddbeeaec9bbfcc82c1c839f7d). + If we keep the `0` value, the card might be inserted in the middle of the list, making it hard to find it later on. + Always append the card at the end of the list by setting a sort value based on the number of cards in the list. + +and fixes the following bugs with Apache I-CLA, thanks to bentiss: + +- [Fix set_board_member_permission](https://github.com/wekan/wekan/commit/082aabc7353d1fe75ccef1a7d942331be56f0838); +- [Fix the sort field when inserting a swimlane or a list](https://github.com/wekan/wekan/commit/b5411841cf6aa33b2c0d29d85cbc795e3faa7f4f). + This has the side effect of always inserting the element at the end; +- [Make sure Swimlanes and Lists have a populated sort field](https://github.com/wekan/wekan/commit/5c6a725712a443b4d03b4f86262033ddfb66bc3d). + When moving around the swimlanes or the lists, if one element has a sort + with a null value, the computation of the new sort value is aborted, + meaning that there are glitches in the UI. + This happens on the first swimlane created with the new board, or when + a swimlane or a list gets added through the API; +- UI: Lists: [Make sure all lists boxes are the same height](https://github.com/wekan/wekan/commit/97d95b4bcbcab86629e368ea41bb9f00450b21f6). + When `Show card count` is enabled, the lists with the card counts have + two lines of text while the lists without have only one. + This results in the box around the list headers are not of the same size + and this is visible when setting a color to the list. + +Thanks to GitHub user bentiss for contributions, and translators for their translations. + +# v2.02 2019-01-22 Wekan release + +This release adds the following new features with Apache I-CLA, thanks to bentiss: + +- [Add per card color: Card / Hamburger menu / Set Color](https://github.com/wekan/wekan/pull/2116) with [color picker](https://github.com/wekan/wekan/pull/2117); +- [OpenAPI and generating of REST API Docs](https://github.com/wekan/wekan/pull/1965); +- [Allow to retrieve full export of board from the REST API](https://github.com/wekan/wekan/pull/2118) through generic authentication. + When the board is big, retrieving individual cards is heavy for both the server and the number of requests. + Allowing the API to directly call on export and then treat the data makes the whole process smoother. + +and adds the following new features with Apache I-CLA, thanks to xet7 and bentiss: + +- [Translate and add color names to IFTTT Rules dropdown](https://github.com/wekan/wekan/commit/44e4df2492b95226f1297e7f556d61b1afaab714), thanks to xet7. + [Fix to this feature blank item](https://github.com/wekan/wekan/pull/2119), thanks to bentiss. + +and adds these updates: + +- Update translations. Thanks to translators. +- Added missing translation for 'days'. Thanks to Chartman123. + +and fixes these typos; + +- Fix typo, changelog year to 2019. Thanks to xorander00. +- Fix License to 2019. Thanks to ajRiverav. + +Thanks to above GitHub users for their contributions. + +# v2.01 2019-01-06 Wekan release + +Update translations. Thanks to translators. + +# v2.00 2019-01-04 Wekan release + +Update translations. Thanks to translators. + +# v1.99 2019-01-04 Wekan release + +This release adds the following new features: + +- [IFTTT Rules improvements](https://github.com/wekan/wekan/pull/2088). Thanks to Angtrim. +- Add [find.sh](https://github.com/wekan/wekan/blob/devel/find.sh) bash script that ignores + extra directories when searching. xet7 uses this a lot when developing. Thanks to xet7. + +Thanks to above GitHub users for their contributions. + +# v1.98 2019-01-01 Wekan release + +This release adds the following new features: + +- Add optional Nginx reverse proxy config to docker-compose.yml and nginx directory. Thanks to MyTheValentinus. + +and fixes the following bugs: + +- docker-compose.yml back to MongoDB 3.2.21 because 3.2.22 MongoDB container does not exist yet. Thanks to xet7. +- [Mobile fixes](https://github.com/wekan/wekan/pull/2084), thanks to hupptechnologies: + - Move home button / avatar bar from bottom to top. So at top first is home button / avatar, then others. + - When clicking Move Card, go to correct page position. Currently it's at empty page position, and there is + need to scroll page up to see Move Card options. It should work similarly like Copy Card, that is visible. + - Also check that other buttons go to visible page. + +Thanks to above GitHub users for their contributions. + +# v1.97 2018-12-26 Wekan release + +This release adds the following new features: + +- Upgrade to Node 8.15.0 and MongoDB 3.2.22. +- Stacksmith: back to Meteor 1.6.x based Wekan, because Meteor 1.8.x based is currently broken. + +Thanks to GitHub user xet7 for contributions. + +# v1.96 2018-12-24 Wekan release + +This release adds the following new features: + +- [Combine all docker-compose.yml files](https://github.com/wekan/wekan/commit/3f948ba49ba7266c436ff138716bdcae9e879903). + +and tries to fix following bugs: + +- Revert "Improve authentication", remove login dropdown and "Default Authentication Method" that were added + in Wekan v1.95 because login did not work with email address. + It was later found that login did work with username, so later this could be fixed and added back. +- Fixes to docker-compose.yml so that Wekan Meteor 1.6.x version would work. + Most likely Meteor 1.8.x version is still broken. + +Thanks to GitHub user xet7 for contributions. + +# v1.95 2018-12-21 Wekan release + +This release adds the following new features: + +- [Improve authentication](https://github.com/wekan/wekan/pull/2065): remove login dropdown, + and add setting `DEFAULT_AUTHENTICATION_METHOD=ldap` or + `sudo snap set wekan default-authentication-method='ldap'`. Thanks to Akuket. Closes wekan/wekan-ldap#31 + NOTE: This was reverted in Wekan v1.96 because login did not work with email address. + It was later found that login did work with username, so later this could be fixed and added back. +- [Drag handles and long press on mobile when using desktop mode of mobile + browser](https://github.com/wekan/wekan/pull/2067). Thanks to hupptechnologies. +- Upgrade to node v8.14.1 . Thanks to xet7. + +Thanks to above GitHub users for their contributions. + +# v1.94 2018-12-18 Wekan release + +This release adds the following new features: + +- Admin Panel / Layout / Custom HTML after `` start, and Custom HTML before `` end. + In progress, does not work yet. Thanks to xet7. +- Add Bitnami Stacksmith. In progress test version, that does work, but is not released yet. Thanks to j-fuentes. + +Thanks to above GitHub users for their contributions. + +# v1.93 2018-12-16 Wekan release + +This release adds the following new features: + +- In translations, only show name "Wekan" in Admin Panel Wekan version. + Elsewhere use general descriptions for whitelabeling. + +Thanks to GitHub user xet7 and translators for their contributions. + +# v1.92 2018-12-16 Wekan release + +This release fixes the following bugs: + +- Fix [Popup class declares member name _current but use current instead](https://github.com/wekan/wekan/issues/2059). Thanks to peishaofeng. +- Fix [Card scrollbar ignores mousewheel](https://github.com/wekan/wekan-scrollbar/commit/94a40da51627c6322afca50a5b1f4aa55c7ce7bf). Thanks to rinnaz and xet7. Closes #2058 +- Fix [favicon paths for non-suburl cases](https://github.com/wekan/wekan/commit/c1733fc89c4c73a1ab3f4054d0a9ebff7741a804). Thanks to xet7. Related #1692 + +Thanks to above GitHub users for their contributions. + +# v1.91 2018-12-15 Wekan release + +This release fixes the following bugs: + +- [Add back mquandalle:perfect-scrollbar package](https://github.com/wekan/wekan/issues/2057) + so that Firefox and Chrome stop complaining in browser dev tools console. + +Thanks to GitHub users uusijani and xet7 for their contributions. + +# v1.90 2018-12-15 Wekan release + +This release fixes the following bugs: + +- [Remove not working duplicate saveMailServerInfo](https://github.com/wekan/wekan/commit/ab031d9da134aa13490a26dbe97ad2d7d01d534a), + to remove error from browser dev tools console. + +Thanks to GitHub user xet7 for contributions. + +# v1.89 2018-12-15 Wekan release + +This release adds the following new features: + +- Admin Panel / Layout / Custom Product Name [now changes webpage title](https://github.com/wekan/wekan/commit/dbb1a86ca377e551063cc04c5189fad4aa9148c0). + Related #1196 + +Thanks to GitHub user xet7 for contributions. + +# v1.88 2018-12-14 Wekan release + +This release fixes the following bugs: + +- Fix: [Scrollbar used](https://github.com/wekan/wekan/issues/2056) [remote file from CDN](https://github.com/MaazAli/Meteor-Malihu-Custom-Scrollbar/blob/master/jquery.mCustomScrollbar.js#L50), + so forked package to https://github.com/wekan/wekan-scrollbar and included + non-minified file locally to Wekan, so that using scrollbar works without direct connection + to Internet. Wekan should not load any external files by default, as was case before + new scrollbar, and is again now [after this fix](https://github.com/wekan/wekan/commit/c546464d9f56117a8bf580512cd62fc1102559c3). + +Thanks to GitHub user xet7 for contributions. + +# v1.87 2018-12-13 Wekan release + +This release fixes the following bugs: + +- Fix Reference error. + +Thanks to GitHub user Akuket for contributions. + +# v1.86 2018-12-13 Wekan release + +This release fixes the following bugs: + +- Fix [Cannot login with new LDAP account when auto-registration disabled (request invitation code)](https://github.com/wekan/wekan-ldap/issues/29); +- Fix [Unable to create new account from LDAP](https://github.com/wekan/wekan-ldap/issues/32). + +Thanks to GitHub user Akuket for contributions. + +# v1.85 2018-12-09 Wekan release + +This release fixes the following bugs: + +- Fix [Clicking the scrollbar closes the card on Chrome](https://github.com/wekan/wekan/issues/1404) + by changing [mquandalle:perfect-scrollbar to malihu-jquery-custom-scrollbar](https://github.com/wekan/wekan/pull/2050). + that works also when clicking scrollbar in Chrome. Also added back required packages that were removed in PR. + +Thanks to GitHub users hupptechnologies and xet7 for their contributions. + +# v1.84 2018-12-07 Wekan release + +This release fixes the following bugs: + +- Fix 2/8: IFTTT Rule action/trigger ["Remove all members from the card"](https://github.com/wekan/wekan/issues/1972). + +Thanks to GitHub user BurakTuran9 for contributions. + +# v1.83 2018-12-06 Wekan release + +This release fixes the following bugs: + +- Fix 1/8: IFTTT Rule action/trigger [When a checklist is completed](https://github.com/wekan/wekan/issues/1972). + And partial incomplete fix to when all of checklist is set as uncompleted. Help in fixing welcome. + +Thanks to GitHub users BurakTuran9 and xet7 for their contributions. + +# v1.82 2018-12-05 Wekan release + +This release fixes the following bugs: + +- Partially #2045 revert [Improve authentication](https://github.com/wekan/wekan/issues/2016), + adding back password/LDAP dropdown, because login did now work. + NOTE: This was added in v1.71, reverted at v1.73 because login did not work, added back at v1.79, + and then reverted partially at v1.82 because login did not work. + Related LDAP logout timer does not work yet. + +Thanks to GitHub user xet7 for contributions. + +# v1.81 2018-12-04 Wekan release + +This release fixes the following bugs: + +- Remove extra commas `,` and add missing backslash `\`. + Maybe after that login, logout and CORS works. + +Thanks to GitHub user xet7 for contributions. + +Related #2045, +related wekan/wekan-snap#69 + +# v1.80 2018-12-03 Wekan release + +This release adds the following new features: + +- Upgrade Node from v8.12 to v8.14 + +and fixes the following bugs: + +- Revert non-working architectures that were added at v1.79, so now Wekan is just amd64 as before. + +Thanks to GitHub user xet7 for contributions. + +# v1.79 2018-12-03 Wekan release + +This release adds the following new features: + +- [Improve authentication, removing Login password/LDAP dropdown](https://github.com/wekan/wekan/issues/2016). + NOTE: This was added in v1.71, then reverted at v1.73 because login did not work, and after fix added back at v1.79. + Thanks to Akuket. +- Thanks to xet7: + - Build snap also on i386, armhf and arm64. Ignore if it fails. More fixes will be added later. + - Add CORS https://enable-cors.org/server_meteor.html to Standalone Wekan settings. + - Add missing LDAP and TIMER environment variables. + +and fixes the following bugs: + +- Fix: Message box for deleting subtask unreachable. + Thanks to hupptechnologies. Closes #1800 +- Fix wrong dates in ChangeLog. Thanks to kelvinhammond. + +Thanks to above GitHub users for their contributions. + +# v1.78 2018-11-20 Wekan release + +- Update translations (de). + +# v1.77 2018-11-20 Wekan release + +- Update version number. Trying to get Snap automatic review working, so that + it would accept new Wekan release. + +# v1.76 2018-11-20 Wekan release + +This release adds the following new features: + +- Add [LDAP_FULLNAME_FIELD](https://github.com/wekan/wekan-ldap/issues/10) to + [configs](https://github.com/wekan/wekan/commit/8e3f53021775069dba125efd4b7200d0d70a1ed1) + and other options that were not in all config files. Thanks to alkemyst and xet7. + +and fixes the following bugs: + +- Fix: When saving Custom Layout, save also SMTP settings. Thanks to xet7. + +Thanks to above GitHub users for their contributions. + +# v1.75 2018-11-20 Wekan release + +This release adds the following new features: + +- Admin Panel / Layout: Hide Logo: Yes / No. This does hide Wekan logo on Login page and Board page. Thanks to xet7. + +and fixes the following bugs: + +- [Fix Snap database-list-backups command](https://github.com/wekan/wekan-snap/issues/26). Thanks to WaryWolf. + +Thanks to above GitHub users for their contributions. + +# v1.74.1 2018-11-18 Wekan Edge release + +This release adds the following new features: + +- [Full Name from LDAP server via environment variable](https://github.com/wekan/wekan-ldap/pull/18). + +Thanks to GitHub user alkemyst for contributions. + +# v1.74 2018-11-17 Wekan release + +- Update version number to get this released to snap. Thanks to xet7. + +# v1.73 2018-11-17 Wekan release + +This release fixes the following bugs: + +- Revert Improve authentication to [fix Login failure](https://github.com/wekan/wekan/issues/2004). + NOTE: This was added in v1.71, then reverted at v1.73 because login did not work, and after fix added back at v1.79. + +Thanks to GitHub users Broxxx3 and xet7 for their contributions. + +# v1.72 2018-11-17 Wekan release + +- Update translations (fi). + +# v1.71 2018-11-17 Wekan release + +This release adds the following new features and bugfixes: + +- Add languages, thanks to translators: + - Danish + - Swahili / Kiswahili +- Rename Recycle Bin to Archive. Thanks to xet7. +- Update readme for clarity. Thanks to xet7. +- [Improve authentication](https://github.com/wekan/wekan/pull/2003), thanks to Akuket: + - Removing the select box: Now it just checks the user.authenticationMethod value to choose the authentication method. + - Adding an option to choose the default authentication method with env var. + - Bug fix that allowed a user to connect with the password method while his user.authenticationMethod is "ldap" for example. + - Adding a server-side method which allows disconnecting a user after a delay defined by env vars. + - NOTE: This was added in v1.71, then reverted at v1.73 because login did not work, and after fix added back at v1.79. +- [Improve shell scripts](https://github.com/wekan/wekan/pull/2002). Thanks to warnerjon12. + +Thanks to above GitHub users and translators for their contributions. + +# v1.70 2018-11-09 Wekan release + +This release adds the following new features: + +- [Auto create Custom Field to all cards. Show Custom Field Label on + minicard](https://github.com/wekan/wekan/pull/1987). + +and fixes the following bugs: + +- Some fixes to Wekan import, thanks to xet7: + - isCommentOnly and isNoComments are now optional + - Turn off import error checking, so something is imported anyway, and import does not stop at error. + - Now most of Sandstorm export do import to Standalone Wekan, but some of imported cards, dates etc are missing. + - Sandstorm Import Wekan board warning messages are now translateable. But bug "Board not found" still exists. +- LDAP: Added INTERNAL_LOG_LEVEL. Fix lint and ldap group filter options. Thanks to Akuket. + +Thanks to above mentioned GitHub users for their contributions. + +# v1.69 2018-11-03 Wekan release + +- Update translations. + +# v1.68 2018-11-03 Wekan release + +- Update translations. + +# v1.67 2018-11-03 Wekan release + +This release adds the following new features to all Wekan platforms: + +- Add Hindi language. Thanks to saurabharch. + +and hides the following features at Sandstorm: + +- Hide Linked Card and Linked Board on Sandstorm, because they are only + useful when having multiple boards, and at Sandstorm + there is only one board per grain. Thanks to ocdtrekkie and xet7. Closes #1982 + +Thanks to above mentioned GitHub users for their contributions. + +# v1.66 2018-10-31 Wekan release + +This release fixes the following bugs: + +- docker-compose.yml and docker-compose-build.yml, thanks to xet7: + - Remove single quotes, because settings are quoted automatically. + - Comment out most settings that have default values. +- Fix typos in CHANGELOG.md, thanks to Hillside502 and loginKing. +- [Fix typo about ldaps](https://github.com/wekan/wekan/pull/1980). + Documentation said to set LDAP_ENCRYPTION to true if we want to use + ldaps, but the code in wekan-ldap does not check if it is set to true, + but if the value equals to 'ssl' instead. Thanks to imkwx. + +Thanks to above mentioned GitHub users for their contributions. + +# v1.65 2018-10-25 Wekan release + +This release adds the [following new features](https://github.com/wekan/wekan/pull/1967), with Apache I-CLA: + +- UI: list headers: show the card count smaller in grey color below list name +- UI: lists: only output the number of cards for each swimlane + +Thanks to GitHub user bentiss for contributions. + +# v1.64.2 2018-10-25 Wekan Edge release + +This release fixes the following bugs: + +- Additional fix to [Impossible to connect to LDAP if UserDN contain space(s)](https://github.com/wekan/wekan/issues/1970). + +Thanks to GitHub users Akuket and xet7 for their contributions. + +# v1.64.1 2018-10-25 Wekan Edge release + +This release fixes the following bugs: + +- [Impossible to connect to LDAP if UserDN contain space(s)](https://github.com/wekan/wekan/issues/1970). + +Thanks to GitHub users Akuket and xet7 for their contributions. + +# v1.64 2018-10-24 Wekan release + +- Update translations. + +# v1.63 2018-10-24 Wekan release + +This release adds the following new features: + +REST API: [Allow to remove the full list of labels/members through the API](https://github.com/wekan/wekan/pull/1968), with Apache I-CLA: + +- [Models: Cards: an empty string in members or label deletes the list](https://github.com/wekan/wekan/commit/e5949504b7ed42ad59742d2a0aa001fe6c762873). + There is currently no way to remove all members or all labels attached + to a card. If an empty string is provided, we can consider as a hint to + remove the list from the card. +- [Models: Cards: allow singletons to be assigned to members and labelIds](https://github.com/wekan/wekan/commit/2ce1ba37a1d0a09f8b3d2a1db4c8a11d1f98caa0). + If we need to set only one member or one label, the data provided will + not give us an array, but the only element as a string. + We need to detect that and convert the parameter into an array. + +Thanks to GitHub user bentiss for contributions. + +# v1.62 2018-10-24 Wekan release + +- Fix missing dropdown arrow on Chrome. Thanks to xet7. Closes #1964 + +# v1.61 2018-10-24 Wekan release + +- Fix lint error. Thanks to xet7. + +# v1.60 2018-10-24 Wekan release + +- Update translations. + +# v1.59 2018-10-24 Wekan release + +This release adds the beginning of following new features: + +- Custom Product Name in Admin Panel / Layout. In Progress, setting does not affect change UI yet. Thanks to xet7. + +and fixes the following bugs: + +- Fix LDAP User Search Scope. Thanks to Vnimos and Akuket. Related #119 +- Fix Save Admin Panel SMTP password. Thanks to saurabharch and xet7. Closes #1856 + +Thanks to above mentioned GitHub users for contributions. + +# v1.58 2018-10-23 Wekan release + +This release adds the [following new features and fixes](https://github.com/wekan/wekan/pull/1962), with Apache I-CLA: + +- Also export the cards created with an older wekan instance (without linked cards) (related to #1873); +- Fix the GET customFields API that was failing; +- Allow to directly overwrite the members of cards and boards with a PUT call (this avoids to do multiple calls to add and remove users); +- Allow to change the swimlane of a card from the API. + +Thanks to GitHub user bentiss for contributions. + +# v1.57 2018-10-23 Wekan release + +This release adds the following new features: + +- Merge edge into stable. This brings LDAP, Rules, Role "No Comments", etc. +- Go back to Meteor 1.6.x and MongoDB 3.2.21 that works in Snap etc. + +Thanks to GitHub user xet7 for contributions. + +# v1.55.1 2018-10-16 Wekan Edge release + +This release adds the following new features: + +- [Automatically close the sidebar](https://github.com/wekan/wekan/pull/1954). + +and fixes the following bugs: + +- [LDAP: Include missing LDAP PR so that LDAP works](https://github.com/wekan/wekan-ldap/pull/6); +- [Improve notifications](https://github.com/wekan/wekan/pull/1948); +- [Fix deleting Custom Fields, removing broken references](https://github.com/wekan/wekan/issues/1872); +- [Fix vertical text for swimlanes in IE11](https://github.com/wekan/wekan/issues/1798); +- [Update broke the ability to mute notifications](https://github.com/wekan/wekan/pull/1954). + +Thanks to GitHub users Akuket, Clement87 and tomodwyer for their contributions. + +# v1.53.9 2018-10-11 Wekan Edge release + +This release adds the following new features: + +- docker-compose.yml in this Edge branch now works with Wekan Edge + Meteor 1.8.1-beta.0 + MongoDB 4.0.3; +- [Snap is still broken](https://forum.snapcraft.io/t/how-to-connect-to-localhost-mongodb-in-snap-apparmor-prevents/7793/2). Please use latest Snap release on Edge branch, until this is fixed. + +Thanks to GitHub user xet7 for contributions. + +# v1.53.8 2018-10-10 Wekan Edge release + +This release tries to fix the following bugs: + +- Try to fix Docker. + +Thanks to GitHub user xet7 for contributions. + +# v1.53.7 2018-10-10 Wekan Edge release + +This release adds the following new features: + +- Try MongoDB 4.0.3 + +Thanks to GitHub user xet7 for contributions. + +# v1.53.6 2018-10-10 Wekan Edge release + +This release adds the following new features: + +- [Add LDAP to Snap Help](https://github.com/wekan/wekan/commit/809c8f64f69721d51b7d963248a77585867fac53). + +and tries to fix the following bugs: + +- Try to fix snap. + +Thanks to GitHub users Akuket and xet7 for their contributions. + +# v1.53.5 2018-10-10 Wekan Edge relase + +This release tries to fix the following bugs: + +- Try to fix snap. + +Thanks to GitHub user xet7 for contributions. + +# v1.53.4 2018-10-10 Wekan Edge release + +This release adds the following new features: + +- [Upgrade Hoek](https://github.com/wekan/wekan/commit/0b971b6ddb1ffc4adad6b6b09ae7f42dd376fe2c). + +Thanks to GitHub user xet7 for contributions. + +# v1.53.3 2018-10-10 Wekan Edge release + +This release adds the following new features: + +- [Upgrade](https://github.com/wekan/wekan/issues/1522) to [Meteor](https://blog.meteor.com/meteor-1-8-erases-the-debts-of-1-7-77af4c931fe3) [1.8.1-beta.0](https://github.com/meteor/meteor/issues/10216). + with [these](https://github.com/wekan/wekan/commit/079e45eb52a0f62ddb6051bf2ea80fac8860d3d5) + [commits](https://github.com/wekan/wekan/commit/dd47d46f4341a8c4ced05749633f783e88623e1b). So now it's possible to use MongoDB 2.6 - 4.0. + +Thanks to GitHub user xet7 for contributions. + +# v1.53.2 2018-10-10 Wekan Edge release + +This release adds the following new features: + +- [Add LDAP package to Docker and Snap](https://github.com/wekan/wekan/commit/f599391419bc7422a6ead52cdefc7d380e787897). + +Thanks to GitHub user xet7 for contributions. + +# v1.53.1 2018-10-10 Wekan Edge release + +This release adds the following new features: + +- [LDAP](https://github.com/wekan/wekan/commit/288800eafc91d07f859c4f59588e0b646137ccb9). + Please test and [add info about bugs](https://github.com/wekan/wekan/issues/119); +- [Add LDAP support and authentications dropdown menu on login page](https://github.com/wekan/wekan/pull/1943); +- [REST API: Get cards by swimlane id](https://github.com/wekan/wekan/pull/1944). Please [add docs](https://github.com/wekan/wekan/wiki/REST-API-Swimlanes). + +and fixes the following bugs: + +- [OpenShift: Drop default namespace value and duplicate WEKAN_SERVICE_NAME parameter.commit](https://github.com/wekan/wekan/commit/fcc3560df4dbcc418c63470776376238af4f6ddc); +- [Fix Card URL](https://github.com/wekan/wekan/pull/1932); +- [Add info about root-url to GitHub issue template](https://github.com/wekan/wekan/commit/4c0eb7dcc19ca9ae8c5d2d0276e0d024269de236); +- [Feature rules: fixes and enhancements](https://github.com/wekan/wekan/pull/1936). + +Thanks to GitHub users Akuket, Angtrim, dcmcand, lberk, maximest-pierre, InfoSec812, schulz and xet7 for their contributions. + +# v1.52.1 2018-10-02 Wekan Edge release + +This release adds the following new features: + +- REST API: [Add member with role to board. Remove member from board](https://github.com/wekan/wekan/commit/33caf1809a459b136b671f7061f08eb5e8d5e920). + [Docs](https://github.com/wekan/wekan/wiki/REST-API-Role). Related to [role issue](https://github.com/wekan/wekan/issues/1861). + +and reverts previous change: + +- OAuth2: [Revert Oidc preferred_username back to username](https://github.com/wekan/wekan/commit/33caf1809a459b136b671f7061f08eb5e8d5e920). + This [does not fix or break anything](https://github.com/wekan/wekan/issues/1874#issuecomment-425179291), + Oidc already works with [doorkeeper](https://github.com/doorkeeper-gem/doorkeeper-provider-app). + +Thanks to GitHub user xet7 for contributions. + +# v1.51.2 2018-09-30 Wekan Edge release + +This release adds the following new features: + +- [REST API: Change role of board member](https://github.com/wekan/wekan/commit/51ac6c839ecf2226b2a81b0d4f985d3b942f0938). + Docs: https://github.com/wekan/wekan/wiki/REST-API-Role + +Thanks to GitHub users entrptaher and xet7 for their contributions. + +# v1.51.1 2018-09-28 Wekan Edge release + +This release adds the following new features: + +- [Add CAS with attributes](https://github.com/wekan/wekan/commit/bd6e4a351b984b032e17c57793a70923eb17d8f5); +- [Move Add Board button to top left, so there is no need to scroll to bottom when there is a lot of boards](https://github.com/wekan/wekan/commit/fb46a88a0f01f7f74ae6b941dd6f2060e020f09d). + +Thanks to GitHub users ppoulard and xet7 for their contributions. + +# v1.50.3 2018-09-23 Wekan Edge release + +This release tries to fix the following bugs: + +- [Remove "Fix Cannot setup mail server via snap variables"](https://github.com/wekan/wekan/commit/6d88baebc7e297ffdbbd5bb6971190b18f79d21f) + to see does Wekan Snap start correctly after removing it. + +Thanks to GitHub user xet7 for contributions. + +# v1.50.2 2018-09-23 Wekan Edge release + +This release tries to fix the following bugs: + +- Build Wekan and release again, to see does it work. + +Thanks to GitHub user xet7 for contributions. + +# v1.50.1 2018-09-22 Wekan Edge release + +This release adds the following new features: + +- [Change from Node v8.12.0 prerelease to use official Node v8.12.0](https://github.com/wekan/wekan/commit/7ec7a5f27c381e90f3da6bddc3773ed87b1c1a1f). + +and fixes the following bugs: + +- [Fix Dockerfile Meteor install by changing tar to bsdtar](https://github.com/wekan/wekan/commit/1bad81ca86ca87c02148764cc03a3070882a8a33); +- Add [npm-debug.log and .DS_Store](https://github.com/wekan/wekan/commit/44f4a1c3bf8033b6b658703a0ccaed5fdb183ab4) to .gitignore; +- [Add more debug log requirements to GitHub issue template](https://github.com/wekan/wekan/commit/1c4ce56b0f18e00e01b54c7059cbbf8d3e196154); +- [Add default Wekan Snap MongoDB bind IP 127.0.0.1](https://github.com/wekan/wekan/commit/6ac726e198933ee41c129d22a7118fcfbf4ca9a2); +- [Fix Feature Rules](https://github.com/wekan/wekan/pull/1909); +- [Fix Cannot setup mail server via snap variables](https://github.com/wekan/wekan/issues/1906); +- [Try to fix OAuth2: Change oidc username to preferred_username](https://github.com/wekan/wekan/commit/734e4e5f3ff2c3dabf94c0fbfca561db066c4565). + +Thanks to GitHub users Angtrim, maurice-schleussinger, suprovsky and xet7 for their contributions. + +# v1.49.1 2018-09-17 Wekan Edge release + +This release adds the following new features: + +- Change from Node v8.12.0 prerelease to use official Node v8.12.0. + +Thanks to GitHub user xet7 for contributions. + +# v1.49 2018-09-17 Wekan release + +This release fixes the following bugs: + +- Fix lint errors. + +Thanks to GitHub user xet7 for contributions. + +# v1.48 2018-09-17 Wekan release + +This release removes the following new features: + +- Remove IFTTT rules, until they are fixed. +- Remove OAuth2, until it is fixed. + +Thanks to GitHub user xet7 for contributions. + +# v1.47 2018-09-16 Wekan release + +This release adds the following new features: + +- [IFTTT Rules](https://github.com/wekan/wekan/pull/1896). Useful to automate things like + [adding labels, members, moving card, archiving them, checking checklists etc](https://github.com/wekan/wekan/issues/1160). + Please test and report bugs. Later colors need to be made translatable. + +Thanks to GitHub users Angtrim and xet7 for their contributions. + +# v1.46 2018-09-15 Wekan release + +This release adds the following new features: + +- [Upgrade MongoDB to 3.2.21](https://github.com/wekan/wekan/commit/0cb3aee803781e4241c38a3e1e700703d063035a); +- [Add source-map-support](https://github.com/wekan/wekan/issues/1889); +- [Allow Announcement to be markdown](https://github.com/wekan/wekan/issues/1892). + Note: xet7 did not yet figure out how to keep announcement on one line + when markdown was added, so now Font Awesome icons are above and below. + +and fixes the following bugs: + +- [Turn of http/2 in Caddyfile](https://github.com/wekan/wekan/commit/f1ab46d5178b6fb7e9c4e43628eec358026d287a) + so that Firefox Inspect Console does not [show errors about wss](https://github.com/wekan/wekan/issues/934) + websocket config. Chrome web console supports http/2. + Note: If you are already using Caddy and have modified your Caddyfile, you need to edit your Caddyfile manually. +- [Partially fix: Cannot move card from one swimline to the other if moving in the same list](https://github.com/wekan/wekan/issues/1887); +- [Fix: Linking cards from empty board is possible and makes current board not load anymore](https://github.com/wekan/wekan/issues/1885). + +Thanks to GitHub users andresmanelli, HLFH and xet7 for their contributions. + +# v1.45 2018-09-09 Wekan release + +This release fixes the following bugs: + +- [Fix lint error](https://github.com/wekan/wekan/commit/45c0343f45b4cfc06d83cf357ffb50d6fca2f23b). + +Thanks to GitHub user xet7 for contributions. + +# v1.44 2018-09-09 Wekan release + +This release adds the following new features: + +- REST API: [Add startAt/dueAt/endAt etc](https://github.com/wekan/wekan/commit/1e0fdf8abc10130ea3c50b13ae97396223ce7fa9). + Docs at https://github.com/wekan/wekan/wiki/REST-API-Cards +- [Fix cards export and add customFields export](https://github.com/wekan/wekan/pull/1886). + +Thanks to GitHub users ymeramees and xet7 for their contributions. + +# v1.43 2018-09-06 Wekan release + +This release fixes the following bugs: + +- [Fix "No Comments" permission on Wekan and Trello import](https://github.com/wekan/wekan/commit/0a001d505d81961e6bd6715d885fffee0adb702d). + +Thanks to GitHub user xet7 for contributions. + +# v1.42 2018-09-06 Wekan release + +This release adds the following new features: + +- REST API: [Create board options to be modifiable](https://github.com/wekan/wekan/commit/9cea76e4efaacaebcb2e9f0690dfeb4ef6d62527), + like permissions, public/private board - now private by default, + and board background color. + Docs at https://github.com/wekan/wekan/wiki/REST-API-Boards +- [Add swimlaneId in activity. Create default swimlaneId in API](https://github.com/wekan/wekan/pull/1876). + +Thanks to GitHub users andresmanelli and xet7 for their contributions. + +# v1.41 2018-09-05 Wekan release + +This release tries to fix the following bugs: + +- [Try to fix Wekan Sandstorm API](https://github.com/wekan/wekan/issues/1279#issuecomment-418440401). + +Thanks to GitHub users ocdtrekkie and xet7 for their contributions. + +# v1.40 2018-09-04 Wekan release + +This release adds the following new features: + +- [Add permission "No comments"](https://github.com/wekan/wekan/commit/77efcf71376d3da6c19ad1a4910567263e83c0ca). + It is like normal user, but [does not show comments and activities](https://github.com/wekan/wekan/issues/1861). + +Thanks to GitHub user xet7 for contributions. + +# v1.39 2018-08-29 Wekan release + +This release fixes the following bugs: + +- [Only allow ifCanModify users to add dates on cards](https://github.com/wekan/wekan/pull/1867). + +Thanks to GitHub user rjevnikar for contributions. + +# v1.38 2018-08-29 Wekan release + +This release adds the following new features: + +- Add [msavin:userCache](https://github.com/msavin/userCache) to speedup Wekan. + See [meteor forums post](https://forums.meteor.com/t/introducing-a-new-approach-to-meteor-user-this-simple-trick-can-save-you-millions-of-database-requests/45336/7). + +and fixes the following bugs: + +- [Fix Delete Board](https://github.com/wekan/wekan/commit/534b20fedac9162d2d316bd74eff743d636f2b3d). + +Thanks to GitHub users msavin, rjevnikar and xet7 for their contributions. + +# v1.37 2018-08-28 Wekan release + +This release fixes the following bugs: + +- [Add Missing Index on cards.parentId since Swimlane integration + to speedup Wekan](https://github.com/wekan/wekan/issues/1863); +- [Update OpenShift template to add Route and parameterize](https://github.com/wekan/wekan/pull/1865); +- [Fix typos in Wekan snap help](https://github.com/wekan/wekan/commit/0c5fc6d7fd899a6bc67a446ab43e53290d8571e4). + +Thanks to GitHub users Clement87, InfoSec812 and xet7 for their contributions. + +# v1.36 2018-08-25 Wekan release + +This release adds the following new features: + +- [OAuth2 Login on Standalone Wekan](https://github.com/wekan/wekan/wiki/OAuth2). For example, Rocket.Chat can provide OAuth2 login to Wekan. + Also, if you have Rocket.Chat using LDAP/SAML/Google/etc for logging into Rocket.Chat, then same users can login to Wekan when + Rocket.Chat is providing OAuth2 login to Wekan. + +and fixes the following bugs: + +- [Move labels back to original place at minicard](https://github.com/wekan/wekan/issues/1842); +- [Fix typos in security documentation](https://github.com/wekan/wekan/pull/1857). + +Thanks to GitHub users hever, salleman33, tlevine and xet7 for their contributions. + +# v1.35 2018-08-23 Wekan release + +This release adds the following new features: + +Add Caddy plugins: +- [http.filter](https://caddyserver.com/docs/http.filter) + for changing Wekan UI on the fly, for example custom logo, + or changing to all different CSS file to have custom theme; +- [http.ipfilter](https://caddyserver.com/docs/http.ipfilter) + to block requests by ip address; +- [http.realip](https://caddyserver.com/docs/http.realip) + for showing real X-Forwarded-For IP to behind proxy; +- Turn off Caddy telemetry. + +Add configuring webhooks: +- [Make the attributes that the webhook sends configurable](https://github.com/wekan/wekan/pull/1852). + +Thanks to Caddy contributors, and Github users omarsy and xet7 for their contributions. + +# v1.34 2018-08-22 Wekan release + +This release add the following new features: + +- [Add Favicon for pinned tab on Safari browser](https://github.com/wekan/wekan/issues/1795). + +and fixes the following bugs: + +- [Restored SMTP settings at Admin Panel, and disabled showing password](https://github.com/wekan/wekan/issues/1790); +- [Move color labels on minicard to bottom of minicard](https://github.com/wekan/wekan/issues/1842); +- [Fix and improve linked cards](https://github.com/wekan/wekan/pull/1849); +- [Allow Sandstorm to serve Wekan HTTP API](https://github.com/wekan/wekan/pull/1851); + +Thanks to GitHub users andresmanelli, ocdtrekkie, therampagerado, woodyart and xet7 for their contributions. + +# v1.33 2018-08-16 Wekan release + +This release fixes the following bugs: + +- [Change default value of label ids](https://github.com/wekan/wekan/pull/1837). + +Thanks to GitHub user omarsy for contributions. + +# v1.32 2018-08-16 Wekan release + +This release fixes the following bugs: + +- [Content Policy: Allow inline scripts, otherwise there is errors in browser/inspect/console](https://github.com/wekan/wekan/commit/807c6ce09e4b5d49049d343d73bbca24fa84d527); +- [Use only framing policy, not all of content policy](https://github.com/wekan/wekan/commit/b3005f828dbf69bdf174d4bcd7654310fa9e0968); +- [Set default matomo settings to disabled](https://github.com/wekan/wekan/commit/807c6ce09e4b5d49049d343d73bbca24fa84d527); +- Fix [hidden](https://github.com/wekan/wekan/commit/be00465e67931f2a5655ed47f6e075ed1c589f54) + [system](https://github.com/wekan/wekan/commit/9fc3de8502919f9aeb18c9f8ea3b0678b66ce176) [messages](https://github.com/wekan/wekan/issues/1830); +- Fix [Requested By](https://github.com/wekan/wekan/commit/e55d7e4f72a4b425c4aca5ba04a7be1fc642649b) and + [Assigned By](https://github.com/wekan/wekan/commit/5c33a8534186920be642be8e2ac17743a54f16db) [fields](https://github.com/wekan/wekan/issues/1830); +- [Fix Date and Time Formats are only US in every language](https://github.com/wekan/wekan/commit/b3005f828dbf69bdf174d4bcd7654310fa9e0968). + +Thanks to GitHub users andresmanelli and xet7 for their contributions. + +# v1.31 2018-08-14 Wekan release + +This release fixes the following bugs: + +- [Export of Board does not work on Docker](https://github.com/wekan/wekan/issues/1820). + +Thanks to GitHub user xet7 for contributions. + +# v1.30 2018-08-14 Wekan release + +This release add the following new features: + +- [When Content Policy is enabled, allow one URL to have iframe that embeds Wekan](https://github.com/wekan/wekan/commit/b9929dc68297539a94d21950995e26e06745a263); +- [Add option to turn off Content Policy](https://github.com/wekan/wekan/commit/b9929dc68297539a94d21950995e26e06745a263); +- [Allow always in Wekan markdown ``](https://github.com/wekan/wekan/commit/b9929dc68297539a94d21950995e26e06745a263). + +and fixes the following bugs: + +- [Fix Import from Trello error 400](https://github.com/wekan/wekan/commit/2f557ae3a558c654cc6f3befff22f5ee4ea6c3d9). + +Thanks to GitHub user xet7 for contributions. + +# v1.29 2018-08-12 Wekan release + +This release fixes the following bugs: + +- [Revert Fix lint errors, that caused breakage](https://github.com/wekan/wekan/commit/b015b5b7240f5fb5a715843dce5d35907345eb4a). + +Thanks to GitHub user xet7 for contributions. + +# v1.28 2018-08-12 Wekan release + +This release fixes the following bugs: + +- [Fix lint errors](https://github.com/wekan/wekan/commit/f5515cb95fc93882e5e1098d6043267b9260b9d7). + +Thanks to GitHub user xet7 for contributions. + +# v1.27 2018-08-12 Wekan release + +This release add the following new features: + +- [Linked Cards and Linked Boards](https://github.com/wekan/wekan/pull/1592). + +Thanks to GitHub user andresmanelli for contributions. + +# v1.26 2018-08-09 Wekan release + +This release fixes the following bugs: + +- [Set WITH_API=true setting on Sandstorm, and so that export works](https://github.com/wekan/wekan/commit/a300b73d56750a1a5645767d375be60839314e84); +- [Set Matomo blank settings on Sandstorm](https://github.com/wekan/wekan/commit/acd105e61b9dca5a78354047bbc23b0a01e71d8c). + +Thanks to GitHub user xet7 for contributions. + +# v1.25 2018-08-09 Wekan release + +This release fixes the following bugs: + +- [Fix showing only the cards of the current board in calendar view](https://github.com/wekan/wekan/pull/1822). + +Thanks to GitHub user Yanonix for contributions. + +# v1.24 2018-08-09 Wekan release + +This release add the following new features: + +- [Update node to v8.12.0 prerelease build](https://github.com/wekan/wekan/commit/04d7c47f4ca990311079be8dd6dc383448ee342f). + +and fixes the following bugs: + +- [Enable Wekan API by default, so that Export Board to JSON works](https://github.com/wekan/wekan/commit/b2eeff96977592deaeb23a8171fc3b13f8c6c5dc); +- [Fix the flagging of dates](https://github.com/wekan/wekan/pull/1814); +- [Use new WITH_API and Matomo env variables at Dockerfile](https://github.com/wekan/wekan/issues/1820); +- For OpenShift compliance, [change](https://github.com/wekan/wekan/commit/53d545eeef7e796bd910f7cce666686ca05de544) + [run user](https://github.com/wekan/wekan/pull/1816) + and [Docker internal port to 8080](https://github.com/wekan/wekan/commit/95b21943ee7a9fa5a27efe5276307febc2fbad94). + +Thanks to GitHub users rjevnikar, tdemaret, xadagaras and xet7 for their contributions. + +# v1.23 2018-07-30 Wekan release + +This release tries to fix the following bugs: + +- Checking for [existing](https://github.com/wekan/wekan/commit/a48f560a85860451914dbaad8cae6ff5120a0c38) + [directories](https://github.com/wekan/wekan/commit/5bfb6c6411c928bfffa7ed6fe829f030e3ea57da) when + building snap etc, trying to [get snap to build somehow](https://github.com/wekan/wekan-snap/issues/58). + This is just a test, does it build this time correctly. + +Thanks to GitHub user xet7 for contributions. + +# v1.22 2018-07-30 Wekan release + +This release adds the following new features: + +- [Backup script now uses mongodump from snap to + do backups](https://github.com/wekan/wekan/wiki/Backup); +- [Integration of Matomo](https://github.com/wekan/wekan/pull/1806); +- [Enable/Disable API with env var](https://github.com/wekan/wekan/pull/1799). + +Thanks to GitHub user Akuket and xet7 for their contributions. + +# v1.21 2018-07-18 Wekan release + +This release adds the following new features: + +- [Add logo from Wekan website to login logo](https://github.com/wekan/wekan/commit/4eed23afe06d5fab8d45ba3decc7c1d3b85efbd8). + +and fixes the following bugs: + +- [Allow to resend invites](https://github.com/wekan/wekan/pull/1785). + +Thanks to GitHub users Akuket and xet7 for their contributions. + +# v1.20 2018-07-18 Wekan release + +This release fixes the following bugs: + +- [Remove SMTP settings from Admin Panel, because they are set in environment + variable settings like source/snap/docker already, and password was + exposed in plain text](https://github.com/wekan/wekan/issues/1783); +- [Added info how to limit snap to root + user](https://github.com/wekan/wekan-snap/wiki/Limit-snap-to-root-user-only); +- [Add scrolling to long cards](https://github.com/wekan/wekan/pull/1782). + +Thanks to GitHub users jnso, LyR33x and xet7 for their contributions. + +# v1.19 2018-07-16 Wekan release + +This release adds the following new features: + +- [Build from source on macOS](https://github.com/wekan/wekan/wiki/Mac); +- [Wekan integration with OpenShift](https://github.com/wekan/wekan/pull/1765); +- [Snap Caddy: set -agree flag for Let's Encrypt](https://github.com/wekan/wekan-snap/issues/54). + +and fixes the following mobile bugs: + +- [Fix missing utility function](https://github.com/wekan/wekan/commit/5c774070617357c25c7bb35b43f4b122eb4b3e34); +- [Avoid default behavior](https://github.com/wekan/wekan/commit/9c204d9bbe4845bc3e352e839615dfb782a753f4); +- [Hotfix more sortable elements](https://github.com/wekan/wekan/commit/616dade81c25b10fc409aee1bcc9a93ddbfee81b); +- [Hotfix for mobile device](https://github.com/wekan/wekan/commit/43d86d7d5d3f3b34b0500f6d5d3afe7bd86b0060). + +and fixes the following bugs: + +- [Fix invitation code](https://github.com/wekan/wekan/pull/1777). + +Thanks to GitHub users adyachok, Akuket, halunk3, Haocen and xet7 for their contributions. + +# v1.18 2018-07-06 Wekan release + +This release fixes the following bugs: + +- Fix [Title is required](https://github.com/wekan/wekan/issues/1576) + by [setting Checklist title during migration](https://github.com/wekan/wekan/issues/1753). + +Thanks to GitHub users centigrade-kdk and xet7 for their contributions. + +# v1.17 2018-07-06 Wekan release + +This release adds the following new features: + +- [Made Subtask Settings visible at Board menu at Sandstorm](https://github.com/wekan/wekan/commit/884cd0e6b888edc9752cbed80e7ac75e2ce232de). + +Thanks to GitHub user xet7 for contributions. + +# v1.16 2018-07-06 Wekan release + +This release fixes the following bugs: + +- Fix: [Boards.forEach is not function](https://github.com/wekan/wekan/commit/a41190cdf024df65ad1c9931b3065c6ababeaf25). + +Thanks to GitHub user xet7 for contributions. + +# v1.15 2018-07-06 Wekan release + +This release fixes the following bugs: + +- Fix [Title is required](https://github.com/wekan/wekan/issues/1576) + by making [Checklist title optional](https://github.com/wekan/wekan/issues/1753). + +Thanks to GitHub users centigrade-kdk and xet7 for their contributions. + +# v1.14 2018-07-06 Wekan release + +This release fixes the following bugs: + +- Fix [Checklists.forEach is not a function](https://github.com/wekan/wekan/issues/1753). + +Thanks to GitHub user xet7 for contributions. + +# v1.13 2018-07-06 Wekan release + +This release adds the following new features: + +- Added snapcraft.yml new node version changes, that were missing from v1.12. + +Thanks to GitHub user xet7 for contibutions. + +# v1.12 2018-07-06 Wekan release + +This release adds the following new features: + +- [Nested tasks](https://github.com/wekan/wekan/pull/1723); +- [Calendar improvements](https://github.com/wekan/wekan/pull/1752); +- [SSO CAS](https://github.com/wekan/wekan/pull/1742). + +and fixes the following bugs: + +- [Fix warning about missing space in jade file](https://github.com/wekan/wekan/commit/067aef9de948ef0cb6037d52602100b00d214706); +- Revert [Fix vertical align of user avatar initials](https://github.com/wekan/wekan/pull/1714), so that [initials are again + visible](https://github.com/wekan/wekan/commit/122a61b3333fb77c0f08bbdc6fe0d3c2f6db97df); +- Fix lint warning: [EditCardDate is assigned a value but never used + no-unused-vars](https://github.com/wekan/wekan/commit/dd324aa581bed7ea31f20968c6b596f373e7054f); +- Fix [Minimize board sidebar actually just moves it over](https://github.com/wekan/wekan/issues/1589). + +Thanks to GitHub users dagomar, ppoulard, pravdomil, TNick and xet7 for their contributions. + +# v1.11 2018-06-30 Wekan release + +This release fixes the following bugs: + +* [Remove card shadow](https://github.com/wekan/wekan/pull/1726), Wekan users now prefer not to have it; +* [Revert](https://github.com/wekan/wekan/commit/928d88cfe1da4187797519c929cd2fdd9ffe9c2e) previous + [Less margin-bottom after minicard](https://github.com/wekan/wekan/pull/1713). + +Thanks to GitHub users pravdomil and xet7 for their contributions. + +# v1.10 2018-06-28 Wekan release + +This release fixes the following bugs: + +* Fix migration error "TypeError: Checklists.foreach" at [Snap](https://github.com/wekan/wekan-snap/issues/51), + [Docker](https://github.com/wekan/wekan/issues/1736) etc. + +Thanks to GitHub users Jubi94, kestrelhawk and xet7 for their contributions. + +# v1.09 2018-06-28 Wekan release + +This release adds the following new features: + +* [Calendar](https://github.com/wekan/wekan/pull/1728). Click Lists / Swimlanes / Calendar. + +and fixes the following bugs: + +* To fix ["title is required"](https://github.com/wekan/wekan/issues/1576) fix only + [add-checklist-items and revert all other migration changes](https://github.com/wekan/wekan/issues/1734); +* [Restore invitation code logic](https://github.com/wekan/wekan/pull/1732). Please test and add comment + to those invitation code issues that this fixes. + +Thanks to GitHub users TNick and xet7 for their contributions. + +# v1.08 2018-06-27 Wekan release + +This release adds the following new features: + +* [Add more card inner shadow](https://github.com/wekan/wekan/commit/6a587299b80a49fce0789628ff65885b5ed2c837); +* [Less margin-bottom after minicard](https://github.com/wekan/wekan/pull/1713); +* Updated newest node fork binary from Sandstorm to Wekan, see https://releases.wekan.team/node.txt +* Add Georgian language. + +and fixes the following bugs: + +* [Fix typo in English translation](https://github.com/wekan/wekan/pull/1710); +* [Fix vertical align of user avatar initials](https://github.com/wekan/wekan/pull/1714); +* [Submit inline form on click outside](https://github.com/wekan/wekan/pull/1717), fixes + ["You have an unsaved description" doesn't go away after saving](https://github.com/wekan/wekan/issues/1287); +* [Fix "Error: title is required" by removing find() from all of migrations](https://github.com/wekan/wekan/commit/97922c90cb42be6c6615639bb164173748982f56). + +Thanks to GitHub users pravdomil, xet7 and zypA13510 for their contributions. + +# v1.07 2018-06-14 Wekan release + +This release adds the following new features: + +* [Regex for Advanced filter. It aims to solve search in bigger text fields, and using wildcards. + A change to translations was made for adding info about regex and escaping characters + with \\](https://github.com/wekan/wekan/pull/1702). + +Thanks to GitHub users feuerball11 and xet7 for their contributions. + +# v1.06 2018-06-14 Wekan release + +This release fixes the following bugs: + +* [Fix CardDetail of Mobile View](https://github.com/wekan/wekan/pull/1701). + +Thanks to GitHub users feuerball11 and xet7 for their contributions. + +# v1.05 2018-06-14 Wekan release + +This release adds the following new features: + +* [Markdown support in Custom Fields, and view on minicard](https://github.com/wekan/wekan/pull/1699); +* [Fixes to Advanced Filter, you are now able to filter for Dropdown and Numbers, + also Dropdown are now correctly displayed on minicard](https://github.com/wekan/wekan/pull/1699). + +and fixes the following bugs: + +* [Fix data colour changes on cards](https://github.com/wekan/wekan/pull/1698); +* [Fix for migration error "title is required" and breaking of Standalone and + Sandstorm Wekan](https://github.com/wekan/wekan/commit/8d5cbf1e6c2b6d467fe1c0708cd794fd11b98a2e#commitcomment-29362180); +* [Fix Issue with custom fields shown on card](https://github.com/wekan/wekan/issues/1659); +* [Fix showing public board in list mode](https://github.com/wekan/wekan/issues/1623); +* [Fix for not able to remove Custom Field "Show on Card"](https://github.com/wekan/wekan/pull/1699); +* [Fix minicardReceivedDate typo in 1.04 regression: Socket connection error and boards + not loading](https://github.com/wekan/wekan/issues/1694). + +Thanks to GitHub users feuerball11, Fran-KTA, oec, rjevnikar and xet7 for their contributions. + +# v1.04 2018-06-12 Wekan release + +This release adds the following new features: + +* [Add Khmer language](https://github.com/wekan/wekan/commit/2156e458690d0dc34a761a48fd7fa3b54af79031); +* [Change label text colour to black for specific label colours for better + visibility](https://github.com/wekan/wekan/pull/1689). + +and fixes the following bugs: + +* [SECURITY FIX: Do not publish all of people collection. This bug has probably been present + since addition of Admin Panel](https://github.com/wekan/wekan/commit/dda49d2f07f9c50d5d57acfd5c7eee6492f93b33); +* [Modify card covers/mini-cards so that: 1) received date is shown unless there is a start date + 2) due date is shown, unless there is an end date](https://github.com/wekan/wekan/pull/1685). + +Thanks to GitHub users rjevnikar and xet7 for their contributions. +Thanks to Adrian Genaid for security fix, he's now added to [Hall of Fame](https://wekan.github.io/hall-of-fame/). +Thanks to translators. + +# v1.03 2018-06-08 Wekan release + +This release adds the following new features: + +* [Update to newest Sandstorm fork of Node.js that includes performance + etc fixes](https://github.com/wekan/wekan/commit/90d55777f7298d243ed0de03c934cea239a31272); +* [Additional label colors. Assigned By and Requested By text fields + on card. Delete board from Recycle Bin](https://github.com/wekan/wekan/pull/1679). + +and possibly fixes the following bugs, please test: + +* [Try to fix: Missing board-view-lists Field after DB updated to + Wekan 1.02](https://github.com/wekan/wekan/issues/1675). + +Thanks to GitHub users JamesLavin, rjevnikar and xet7 for their contributions. + +# v1.02 2018-05-26 Wekan release + +This release fixes the following bugs: + +* [Remove binary version of bcrypt](https://github.com/wekan/wekan/commit/4b2010213907c61b0e0482ab55abb06f6a668eac) + because of [vulnerability](https://nodesecurity.io/advisories/612) that has [issue that is not fixed + yet](https://github.com/kelektiv/node.bcrypt.js/issues/604) + and [not yet merged pull request](https://github.com/kelektiv/node.bcrypt.js/pull/606). + This may cause some slowdown; +* [Snap: Filtering out swap file created at build time, adding stage package](https://github.com/wekan/wekan/pull/1660); +* [Fix Received Date and End Date on Cards](https://github.com/wekan/wekan/issues/1654). + +Thanks to GitHub users kubiko, xadagaras and xet7 for their contributions. + +# v1.01 2018-05-23 Wekan release + +This release possibly fixes the following bugs, please test: + +* [Possible quickfix for all customFields Import errors, please test](https://github.com/wekan/wekan/pull/1653). + +Thanks to GitHub users feuerball11 and xet7 for their contributions. + +# v1.00 2018-05-21 Wekan release + +This release fixes the following bugs: + +* [Typo in English translation: brakets to brackets](https://github.com/wekan/wekan/issues/1647). + +Thanks to GitHub user yarons for contributions. + +# v0.99 2018-05-21 Wekan release + +This release adds the following new features: + +* [Advanced Filter for Custom Fields](https://github.com/wekan/wekan/pull/1646). + +Thanks to GitHub users feuerball11 and xet7 for their contributions. + +# v0.98 2018-05-19 Wekan release + +This release adds the following new features: + +* [Filtering by Custom Field](https://github.com/wekan/wekan/pull/1645); +* Update to NPM 6.0.1 and MongoDB 3.2.20. + +Thanks to GitHub users feuerball11 and xet7 for their contributions. + +# v0.97 2018-05-19 Wekan release + +Updated translations. + +# v0.96 2018-05-19 Wekan release + +This release adds the following new features: + +* [Custom Fields](https://github.com/wekan/wekan/issues/807). Note: Import/Export is not implemented yet. + +and fixes the following bugs: + +* [Fix: checklistItems broken after upgrade](https://github.com/wekan/wekan/issues/1636). + +Thanks to GitHub users feuerball11, franksiler, papoola and xet7 for their contributions. + +# v0.95 2018-05-08 Wekan release + +This release adds the following new features: + +* [REST API Edit Card Labels](https://github.com/wekan/wekan/pull/1626); +* [Add a new API route to create a new label in a given board](https://github.com/wekan/wekan/pull/1630); +* [Admin Panel: Option to block username change](https://github.com/wekan/wekan/pull/1627). + +and fixes the following bugs: + +* [Error: title is required](https://github.com/wekan/wekan/issues/1576). + +Thanks to GitHub users Shahar-Y, thiagofernando and ThisNeko for their contributions. + +# v0.94 2018-05-03 Wekan release + +This release adds the following new features: + +* [REST API POST /cards: allow setting card members](https://github.com/wekan/wekan/pull/1622). + +Thanks to GitHub user couscous3 for contributions. + +# v0.93 2018-05-02 Wekan release + +This release adds the following new features: + +* [Checklist items lineheight to 18px, and positioning + improvements](https://github.com/wekan/wekan/issues/1619). + +Thanks to GitHub user lichtamberg for contributions. + +# v0.92 2018-05-01 Wekan release + +This release tries to fix the following bugs, please test: + +* [Users who register with an invitation code can't see lists/cards](https://github.com/wekan/wekan/issues/1610). + +Thanks to GitHub user andresmanelli for contributions. + +# v0.91 2018-05-01 Wekan release + +This release fixes the following bugs: + +- [Fix Wekan Import / Export lists not being sortable](https://github.com/wekan/wekan/commit/539c1ab87a098a7ddfd23cdbd663441bd609b73d). + +Thanks to GitHub user zebby76 for contributions. + +# v0.90 2018-05-01 Wekan release + +This release adds the following new features: + +- [Remove space from between checklist items, so longer checklists can be seen + at once](https://github.com/wekan/wekan/commit/1124f4120cd77622c0a6313e228e1a00690ff566). + +Thanks to GitHub user xet7 for contributions. + +# v0.89 2018-04-29 Wekan release + +This release fixes the following bugs: + +- [Fix Wekan import / Export for ChecklistItems](https://github.com/wekan/wekan/pull/1613). + +Thanks to GitHub user zebby76 for contributions. + +# v0.88 2018-04-27 Wekan release + +This release fixes the following bugs: + +- [Fix Trello import of ChecklistItems](https://github.com/wekan/wekan/pull/1611). + +Thanks to GitHub user zebby76 for contributions. + +# v0.87 2018-04-27 Wekan release + +This release fixes the following bugs: + +- [Sandstorm: Copy Card, Move Card and Copy Checklist Template to Many Cards - No longer works in + menu](https://github.com/wekan/wekan/commit/db80e738048e2729917c5e8fc18cf8ee44df7992); +- [Snap: Use override-build instead of old deprecated + prepare/build/install](https://github.com/wekan/wekan/commit/075ea1c43d827099e0030c750a4c156bd3340fed); +- [Removed not-used plugins part of Caddy download + URL](https://github.com/wekan/wekan/commit/7b91b341fe9c0cde42f91bf14d228820653c883d). + +Thanks to GitHub users kyrofa and xet7 for their contributions. + +# v0.86 2018-04-20 Wekan release + +This release adds the following new features: + +- Updated translations: German and Turkish; +- Updated Caddy to newest version for Snap. + +Thanks to translators and Caddy developers. + +# v0.85 2018-04-18 Wekan release + +This release fixes the following bugs: + +- [Fix Switch List/swimlane view only working with admin privileges](https://github.com/wekan/wekan/issues/1567); +- [Fix Wekan logo positioning](https://github.com/wekan/wekan/issues/1378); +- [Tried to fix, but fix did not work: Fix checklists items migration error "title is required"](https://github.com/wekan/wekan/issues/1576); +- [Removed paxctl alpine fix #1303 , because it did not work anymore, so Docker container + did not build correctly](https://github.com/wekan/wekan/commit/ce659632174ba25ca9b5e85b053fde02fd9c3928); +- [Use curl to download 100% CPU fibers fixed node in snap, and remove paxctl from + snap package](https://github.com/wekan/wekan/commit/179ff7a12457be1592f04e1bdc15a5bb4fe9d398). + +Thanks to GitHub users andresmanelli, iwkse and xet7 for their contributions. + +# v0.84 2018-04-16 Wekan release + +This release adds the following new features: + +- [Add Checklist Items REST API](https://github.com/wekan/wekan/commit/9eef5112dc1c1c30590d19fbfd2f615714112a3f). + +and fixes the following bugs: + +- [Fix Node Fibers 100% CPU issue](https://github.com/wekan/wekan/commit/e26a4824cfb119a15767c4827190a6b9ab65b904); +- [Plus button on a Swimlane row, always add an element on the first row](https://github.com/wekan/wekan/issues/1577); +- [Fix Checklist REST API](https://github.com/wekan/wekan/commit/9eef5112dc1c1c30590d19fbfd2f615714112a3f); +- [Fix Disabling "show cards count" not possible, now zero means disable](https://github.com/wekan/wekan/issues/1570); +- [Fix Checklist not copied when copied a card and Copy Checklist Template to Many Cards](https://github.com/wekan/wekan/issues/1565); +- [Fix Filter cards hides checklist items](https://github.com/wekan/wekan/issues/1561). + +Thanks to GitHub users andresmanelli, kentonv and xet7 for their contributions. + +# v0.83 2018-04-12 Wekan release + +- Updated translations: Czech and French. + +Thanks to translators! + +# v0.82 2018-04-11 Wekan release + +- [Restore original font and font sizes. Admin panel people and version texts + to darker](https://github.com/wekan/wekan/commit/db74c86e555f45a5aaaef84d2f3d4128cec77782). + +Thanks to GitHub users apn3a and xet7 for their contributions. + +# v0.81 2018-04-10 Wekan release + +This release adds the following new features: + +- [Removed checkbox from checklist name to have more of material design look](https://github.com/wekan/wekan/issues/1568); +- [Renamed Archives to Recycle Bin](https://github.com/wekan/wekan/issues/1429); +- [Separate translations for cards in Recycle Bin and cards count](https://github.com/wekan/wekan/commit/49c7a6c223061b9c1769143fea32fecc7d0f3c3e); +- [Use lighter and smaller font sizes](https://github.com/wekan/wekan/commit/7b94b0470198bc22b6a52db6661f35076f7c6388); +- [Board title as markdown in board view](https://github.com/wekan/wekan/commit/7b94b0470198bc22b6a52db6661f35076f7c6388). + +and fixes the following bugs: + +- [Removed forcing "cards" translations to lowercase in count of cards](https://github.com/wekan/wekan/issues/1571). + +Thanks to GitHub users BruceZCQ, Chartman123, quantazelle and xet7 for their contributions. + +# v0.80 2018-04-04 Wekan release + +This release adds the following new features: + +- [Changed icon of checklist name to unchecked](https://github.com/wekan/wekan/pull/1559/commits/f9539aa2a8d806e5a158d1c32f74788d051d40cb); +- [Added meteor packages](https://github.com/wekan/wekan/commit/40d438a517f0d807894e04873358aecf44fa7c4d) + for security: [browser-policy](https://atmospherejs.com/meteor/browser-policy) and + [eluck:accounts-lockout](https://atmospherejs.com/eluck/accounts-lockout). + +Thanks to GitHub users quantazelle and xet7 for their contributions. + +# v0.79 2018-03-31 Wekan release + +This release adds the following new features: + +- [Checklist items sort fix, and checklist sort capability](https://github.com/wekan/wekan/pull/1543); +- [Add Received Date and End Date. Between them is already existing Start and Due Date](https://github.com/wekan/wekan/pull/1550). + +and fixes the following bugs: + +- [Fix drag in lists view](https://github.com/wekan/wekan/pull/1559/commits/679e50af6449a680f958256570e8b9f1944a3a92); +- [Set fixed width for swimlane header](https://github.com/wekan/wekan/pull/1559/commits/2e8f8924dd0d985ae4634450cfbef04e88e5d954). + +Thanks to GitHub users andresmanelli, rjevnikar and xet7 for their contributions. + +# v0.78 2018-03-17 Wekan release + +This release adds the following new features: + +- [Allow swimlanes reordering](https://github.com/wekan/wekan/commit/37c94622e476f50bf2387bc8b140454d66200e78); +- [Import missing card fields: isOvertime, startAt and spentTime](https://github.com/wekan/wekan/commit/b475127c53031fa498da139a7d16f3e54d43b90d); +- [Lists view is the default view when creating boards](https://github.com/wekan/wekan/commit/1ca9e96f35389c0eec2290e8e1207801ee25f907); +- [Enabled import at Sandtorm. Keep there big DANGER warning about data loss bug.](https://github.com/wekan/wekan/commit/22923d08af4f1a63ded1d92fe6918436b598592b); +- [Add language: Armenian](https://github.com/wekan/wekan/commit/75693d16e2a0f3d201c1036ab06e6d40eb1c0adc). + +and fixes the following bugs: + +- [Fix lint errors related to sandstorm](https://github.com/wekan/wekan/commit/0a16147470246c8f49bb918f5ddc7bb2e54fba14); +- [Add Swimlanes to globals](https://github.com/wekan/wekan/commit/373e9782dcf87a9c1169b5d1f8175ce14e4898c9); +- [Fix lint errors related to trello creator](https://github.com/wekan/wekan/commit/951a0db380d60f3d948ae38d50b85a54983a51de); +- [Fix lint errors related to language names](https://github.com/wekan/wekan/commit/c0d33d97f2c8d4e9371a03d4ad3022df3ed64d3d); +- [Avoid swimlane title overlap](https://github.com/wekan/wekan/commit/c4fa9010f34966b633c7bf7e46ad49fc101127c9); +- [Fix scrollbar inside list and outer scroll](https://github.com/wekan/wekan/commit/a033c35a3411902b9bf8f62a40cd68f641e573d3); +- [Remove list max-height 350px](https://github.com/wekan/wekan/commit/b6d3e79548d1e88c93fa2965a936595176a95565); +- [Snap: Adding network hooks for configure hook to fix security denials](https://github.com/wekan/wekan/commit/9084158aece8a642dc49bf7ecc2196bf9d1af63e); +- [Snap: Fixing problem when mongodb was not started at install/refresh](https://github.com/wekan/wekan/commit/1be8e5625fd20797910009a8221ca706fd52ab11); +- [Fix Add Card Button dissapearing when dragging](https://github.com/wekan/wekan/commit/58e5e9b308113e5a8af5166328a68a0aafcc2558); +- [Fix Scrollbar near top of screen when using internet explorer on Win7](https://github.com/wekan/wekan/commit/128a356b9222fa0ed824b477c2d0e1e6a0368021); +- [Fix scroll when dragging elements. Remove scrollbars from swimlanes.](https://github.com/wekan/wekan/commit/ed8471be9b79243b016a275e5b11a6912717fbb9); +- [Partial fix for scroll bar inside cardDetails](https://github.com/wekan/wekan/commit/ac7d44f8a8d809cd94ed5ef3640473f34c72403b); +- [Fix swimlane header rotation on Google Chrome. After this change both Firefox 58 and Google Chrome 64 + have properly rotated swimlane header.](https://github.com/wekan/wekan/commit/9a1b1a5bedbe44827de109731a3c3b1a07790d3e); +- [Fix card copy and move with swimlanes](https://github.com/wekan/wekan/commit/4b53b0c90a57593c0fe2d808d2298e85f488bfa9). +- [Fix scroll board when opening cardDetails](https://github.com/wekan/wekan/commit/454523dd4744b2bccb6805dad59abd664fdacb31); +- [Fix swimlane info not displayed in activities](https://github.com/wekan/wekan/commit/bb37d8fa964c0d03721a664387e74300fde09eef); +- [Fix sandstorm default swimlane creation](https://github.com/wekan/wekan/commit/f470323ee746c4e79f07d166d511867408194eb6); +- [Extend lists to bottom of frame in lists view](https://github.com/wekan/wekan/commit/c62a2ee11febf7f98456c97dc3973509b4bfe119); +- [Fix drag and drop issues when re-enter board](https://github.com/wekan/wekan/commit/5b0f7f8aef115b202aaff6bc25bb514426dc2009). + +Thanks to GitHub users andresmanelli, GhassenRjab, kubiko, lumatijev, lunatic4ever and xet7 for their contributions. + +# v0.77 2018-02-23 Wekan release + +This release adds the following new features: + +- [Search from card titles and descriptions on this board](https://github.com/wekan/wekan/pull/1503). +- Add Bulgarian language. + +and adds the following [Snap updates](https://github.com/wekan/wekan/pull/1495): + +- Cleanup of snap helper scripts +- Cleanup and snapctl settings handling +- Fix for snap store auto review refusal +- Adding support for automatic restart of services when setting(s) are changed. + No need to call systemctl restart anymore +- Fixing snap set functionality +- Adding optional caddy service support (by default caddy service is disabled), + it can be enabled by calling: snap set wekan caddy-enabled=true +- [Service life cycle improvements](https://github.com/wekan/wekan/pull/1495) +- [Wekan help text changes and tweaks](https://github.com/wekan/wekan/pull/1495). + +and fixes the following bugs: + +- [Fix: card-shadow no longer covered the page if you scroll down](https://github.com/wekan/wekan/pull/1496). + +Thanks to GitHub users GhassenRjab, kubiko and stefano-pogliani for their contributions. + +# v0.76 2018-02-21 Wekan release + +This release adds the following new features: + +- [Add swimlaneId to POST /api/boards/:boardId/lists/:listId/cards route](https://github.com/wekan/wekan/commit/ee0f42eeb1b10107bd8fc38cdefbdbc4f3fde108); +- [Added path to capnp.js to make Wekan work on Sandstorm](https://github.com/wekan/wekan/commit/11e9811f82858a3d98036e142b0da69d867adebc). + +Known bugs: + +- [Disabled Import temporarily on Sandstorm because of data loss bug](https://github.com/wekan/wekan/commit/e30f6515c623de7a48f25e0b2fc75313ae5d187c); +- [Swimlane not visible at Sandstorm](https://github.com/wekan/wekan/issues/1494). + +Thanks to GitHub users couscous3 and xet7 for their contributions. + +# v0.75 2018-02-16 Wekan release + +This release adds the following new features: + +- [Checklist templates](https://github.com/wekan/wekan/pull/1470); +- Added [Finnish language changelog](https://github.com/wekan/wekan/tree/devel/meta/t9n-changelog) + and [more Finnish traslations](https://github.com/wekan/wekan/blob/devel/sandstorm-pkgdef.capnp) + to Sandstorm. + +Thanks to GitHub users erikturk and xet7 for their contributions. + +# v0.74 2018-02-13 Wekan release + +This release fixes the following bugs: + +- [Remove Emoji support, so MAC addresses etc show correctly](https://github.com/wekan/wekan/commit/056843d66c361594d5d4478cfe86e2e405333b91). + NOTE: You can still add Unicode Emojis, this only removes broken autoconversion to Emojis. + +Thanks to GitHub user xet7 for contributions. + +# v0.73 2018-02-08 Wekan release + +This release fixes the following bugs: + +- [Fix Ubuntu snap build](https://github.com/wekan/wekan/pull/1469). + +Thanks to GitHub user kubiko for contributions. + +# v0.72 2018-02-07 Wekan release + +This release fixes the following bugs: + +- [Fix card sorting](https://github.com/wekan/wekan/pull/1465); +- [Fix import Trello board without swimlanes](https://github.com/wekan/wekan/commit/5871a478e1280818f12fcb7250b7cbccf6907cf0); +- [Fix swimlane move parameters](https://github.com/wekan/wekan/commit/fcebb2a5373d6dea41b98b530c176cbee31bee4b). + +Thanks to GitHub users andresmanelli and ViViDboarder for their contributions. + +# v0.71 2018-02-03 Wekan release + +This release fixes the following bugs: + +- [Fix Welcome board is not editable: Added default swimlane to Welcome board](https://github.com/wekan/wekan/commit/9df3e3d26bffb2268cdcc7fa768eda60e4f0975c); +- [Fix Import Wekan board with swimlanes](https://github.com/wekan/wekan/commit/ec0a8449ba98aea708e484d386e5a209e2be8fff). + +Thanks to GitHub user andresmanelli for contributions. + +# v0.70 2018-02-02 Wekan release + +This release adds the following new features: + +- [Add ability to edit swimlane name](https://github.com/wekan/wekan/commit/3414cb84ad8ac800e23bbda6ce12822f40d1bd19); +- [Add swimlane popup menu and archive icon](https://github.com/wekan/wekan/commit/5953fb8a44a3582ed0d8816ffb32a5b7f41f50a3). + +and fixes the following bugs: + +- [Two empty columns in swimlane view](https://github.com/wekan/wekan/issues/1459). + +Thanks to GitHub user andresmanelli for contributions. + +# v0.69 2018-02-01 Wekan release + +This release fixes the following bugs: + +- [Fix swimlanes card details bug](https://github.com/wekan/wekan/commit/f6fb05d3f49c656e9890351f5d7c0827bf2605c1); +- [Workaround to avoid swimlanes drag bug](https://github.com/wekan/wekan/commit/d3c110cd8f3ad16a4ced5520c27ab542cc79b548); +- [Fix swimlanes details view in lists only mode](https://github.com/wekan/wekan/commit/ff9ca755f338e3c45a1bd726dfbce1c607f2ff4c). +- [Fix typo in issue template](https://github.com/wekan/wekan/pull/1451). + +Thanks to GitHub users andresmanelli and d-Rickyy-b for their contributions. + +# v0.68 2018-01-30 Wekan release + +This release fixes the following bugs: + +* [Partial fix: Trello board import fails because of missing "Swimlane id"](https://github.com/wekan/wekan/issues/1442), still needs some work. + +Thanks to GitHub user xet7 for contributions. + +# v0.67 2018-01-28 Wekan release + +This release fixes the following bugs: + +* [Fix Igbo language name at menu](https://github.com/wekan/wekan/commit/9d7ff75d3fed1285273245fbe6f6a757b6180039). + +Thanks to GitHub user xet7 for contributions. + +# v0.66 2018-01-28 Wekan release + +This release fixes the following bugs: + +* [Fix Dockerfile for Debian](https://github.com/wekan/wekan/pull/1439). + +Thanks to GitHub user soohwa for contributions. + +# v0.65 2018-01-28 Wekan release + +This release adds the following new features: + +* [Swimlanes, part 1](https://github.com/wekan/wekan/issues/955); +* Added new language: Igbo. + +Thanks to GitHub user andresmanelli for contributions. + +# v0.64 2018-01-22 Wekan release + +This release adds the following new features: + +* [Different icons for start and due date](https://github.com/wekan/wekan/pull/1420). +* Added new languages: Mongolian and Portuguese; +* Upgraded to Meteor 1.6.0.1, Node 8.9.3, NPM 5.5.1 and fibers 2.0.0. + +and fixes the following bugs: + +* [Fix for dragging into scrolled-down list](https://github.com/wekan/wekan/pull/1424). +* [Fix double slash bug on snap](https://github.com/wekan/wekan/issues/962#issuecomment-357785748). + +Thanks to GitHub users dpoznyak, mmarschall and xet7 for their contributions. + +# v0.63 2017-12-20 Wekan release + +This release adds the following new features: + +* [Auto update card cover with new image uploaded via drag&drop](https://github.com/wekan/wekan/pull/1401); +* Update to Node 4.8.7. + +Thanks to GitHub users thuanpq and xet7 for their contributions. + +# v0.62 2017-12-12 Wekan release + +This release fixes the following bugs: + +* Added missing packages to build script. + +Thanks to GitHub user xet7 for contributions. + +# v0.61 2017-12-12 Wekan release + +This release adds the following new features: + +* [Change password of any user in Standalone Wekan Admin Panel](https://github.com/wekan/wekan/pull/1372); +* [Performance optimization: Move more global subscriptions to template subscription](https://github.com/wekan/wekan/pull/1373); +* [Auto update card cover with latest uploaded image attachment](https://github.com/wekan/wekan/pull/1387); +* [Always display attachment section for uploading file quickly](https://github.com/wekan/wekan/pull/1391); +* [Make it easier to see the Add Card button at top of list](https://github.com/wekan/wekan/pull/1392); +* [Add mixmax:smart-disconnect to lower CPU usage when browser tab is not selected](https://github.com/wekan/wekan-mongodb/issues/2); +* Update tranlations. Add Latvian language; +* Update to Node 4.8.6 and MongoDB 3.2.18. + +and fixes the following bugs: + +* [Bug on not being able to see Admin Panel if not having access to Board List](https://github.com/wekan/wekan/pull/1371); +* [Bug on not able to see member avatar on sidebar activity](https://github.com/wekan/wekan/pull/1380); +* [Don't open swipebox on update card cover / download file / delete file](https://github.com/wekan/wekan/pull/1386); +* [Boards subscription should be placed at header for all other component can be used](https://github.com/wekan/wekan/pull/1381); +* [Bug on long url of attachment in card activity log](https://github.com/wekan/wekan/pull/1388). + +Thanks to GitHub users mfshiu, thuanpq and xet7 for their contributions. +Thanks to translators for their translations. + +# v0.60 2017-11-29 Wekan release + +This release adds the following new features: + +* [Add SMTP test email button to Standalone Wekan Admin Panel](https://github.com/wekan/wekan/pull/1359); +* [Optimize for mobile web, show single list per page with navigate bar](https://github.com/wekan/wekan/pull/1365). + +and fixes the following bugs: + +* [User with comment only permissions can remove another user from a card](https://github.com/wekan/wekan/pull/1352); +* [Frequent Subscriptions problem that make Excessive CPU usage](https://github.com/wekan/wekan/pull/1363). + +Thanks to GitHub users floatinghotpot, mfshiu and nztqa for their contributions. + +# v0.59 2017-11-23 Wekan release. + +This release fixes the following bugs: + +* [Remove incomplete logger fix](https://github.com/wekan/wekan/pull/1352). + +Thanks to GitHub user pierreozoux for contributions. + +# v0.58 2017-11-23 Wekan release + +This release adds the following new features: + +* Updated translations. + +Thanks to all translators. + +# v0.57 2017-11-23 Wekan release + +This release adds the following new features: + +* [Gogs Integration](https://github.com/wekan/wekan-gogs) as separate project. Please test and submit issues and pull requests to that project. + +and fixes the following bugs: + +* [Fix Winston logger](https://github.com/wekan/wekan/pull/1350). + +Thanks to GitHub users andresmanelli and pierreozoux for their contributions. + +# v0.56 2017-11-21 Wekan release + +This release adds the following new features: + +* [Copy/Move cards to other board in Standalone Wekan](https://github.com/wekan/wekan/pull/1330); +* [Spent time/Overtime on card](https://github.com/wekan/wekan/pull/1344); +* New translation: Greek. + +and fixes the following bugs: + +* [Board list with long-description boards not visible](https://github.com/wekan/wekan/pull/1346); +* [Remove erroneous minicard title whitespace](https://github.com/wekan/wekan/pull/1347); +* [Fix title editing with shift key at card details](https://github.com/wekan/wekan/pull/1348). + +Thanks to GitHub users couscous3, GhassenRjab, thuanpq and xet7 for their contributions. + +# v0.55 2017-11-19 Wekan release + +This release adds the following new features: + +* [Markdown in card/minicard/checlist titles and checklist items. Next line: Shift+Enter. Submit: Enter.](https://github.com/wekan/wekan/pull/1334); +* [User Admin to Admin Panel: List users. Change: is user admin, name, fullname, email address, is user active. Not changing password yet.](https://github.com/wekan/wekan/pull/1325); +* [REST API better error output](https://github.com/wekan/wekan/pull/1323). + +and fixes the following bugs: + +* [Emoji detection breaks MAC addresses](https://github.com/wekan/wekan/issues/1248); - this has not yet fixed all cases. +* [Codeblocks should not be scanned for emoji](https://github.com/wekan/wekan/issues/643); +* [Whitespace trimming breaks Markdown code block indentation](https://github.com/wekan/wekan/issues/1288): +* [Helper to list boards for user](https://github.com/wekan/wekan/pull/1327); +* [Error after sending invitation and joining board: Exception while invoking method 'login' TypeError: Cannot read property 'loginDisabled' of undefined](https://github.com/wekan/wekan/issues/1331); +* [Invitation /sign-up page did not show input for invitation code](https://github.com/wekan/wekan/commit/99be745f0299b32a8a7b30204b43bff7fd5ba638). + +Thanks to Github users brooksbecton, milesibastos, nztqa, soohwa, thuanpq and xet7 for their contributions. + +# v0.54 2017-11-02 Wekan release + +This release adds the following new features: + +* [Soft WIP Limit](https://github.com/wekan/wekan/pull/1319). + +Thanks to GitHub users amadilsons and xet7 for their contributions. + +# v0.53 2017-11-02 Wekan release + +(This was canceled, it had some missing version numbers). + +# v0.52 2017-10-31 Wekan release + +This release adds the following new features: + +* [Permit editing WIP limit](https://github.com/wekan/wekan/pull/1312); +* [Image attachment resize on smaller screens and swipebox](https://github.com/wekan/wekan/pull/1315); +* [Add iPhone favicon for Wekan](https://github.com/wekan/wekan/issues/1317). + +and fixes the following bugs: + +* [Members do not get included on board import from Wekan](https://github.com/wekan/wekan/pull/1316). + +Thanks to GitHub users brooksbecton, guillaumebriday, nztqa, ocdtrekkie and Tentoe for their contributions. + +# v0.51 2017-10-25 Wekan release + +This release adds the following new features: + +* [REST API: Disable and enable user login. Take ownership boards of a user. List boards of user.](https://github.com/wekan/wekan/pull/1296); +* [Add translation: Spanish of Argentina](https://github.com/wekan/wekan/commit/b105f0e2e72c49a2f1ba3f6c87532a5418192386); +* [Add more languages to Roboto font](https://github.com/wekan/wekan/issues/1299). + +and fixes the following bugs: + +* [Segfault on Alpine Linux](https://github.com/wekan/wekan/issues/1303); +* [Change invitation link from sign-in to sign-up](https://github.com/wekan/wekan/issues/1300); +* [User with comment only permission can add cards](https://github.com/wekan/wekan/issues/1301). + +Thanks to GitHub users chromas-cro, soohwa, wenerme and xet7 for their contributions. + +# v0.50 2017-10-10 Wekan release + +This release fixes the following bugs: + +* [Fix and update translations](https://github.com/wekan/wekan/issues/1286). + +Thanks to GitHub user xet7 for contributions. + +# v0.49 2017-10-09 Wekan release + +This release fixes the following bugs: + +* [When WIP limit in use, hide also add card + button at top of list](https://github.com/wekan/wekan/commit/a5daf5dc29278b82e133fbe4db09a91ffc0c0d3b). + +Thanks to GitHub user xet7 for contributions. + +# v0.48 2017-10-09 Wekan release + +This release adds the following new features: + +* [WIP Limits](https://github.com/wekan/wekan/pull/1278); +* [REST API: Create user despite disabling registration](https://github.com/wekan/wekan/issues/1232); +* [User can leave board on Standalone Wekan](https://github.com/wekan/wekan/pull/1283). + +and fixes the following bugs: + +* [Admin announcement can be viewed without signing in](https://github.com/wekan/wekan/issues/1281). + +Thanks to GitHub users amadilsons, nztqa and soohwa for their contributions. + +# v0.47 2017-10-04 Wekan release + +This release adds the following new features: + +* [Use theme color for Slider for Comments only](https://github.com/wekan/wekan/pull/1275). + +Thanks to GitHub user nztqa for contributions. + +# v0.46 2017-10-03 Wekan release + +This release adds the following new features: + +* [Webhook parameters and response order](https://github.com/wekan/wekan/pull/1263). + +and fixes the following bugs: + +* SECURITY FIX: [Meteor allow/deny](https://blog.meteor.com/meteor-allow-deny-vulnerability-disclosure-baf398f47b25) fixed + [here](https://github.com/wekan/wekan/commit/c3804dc0fad0817285460d86dc1b3bdc96361f49); +* [Fix: Slider for Comments only does not work correctly with over 21 activities](https://github.com/wekan/wekan/pull/1247). + +Thanks to GitHub users andresmanelli and nztqa for their contributions. + +# v0.45 2017-10-01 Wekan release + +This release adds the following new features: + +* [Slider for Comments only in activity feed](https://github.com/wekan/wekan/issues/1247); +* [Site Wide Announcement](https://github.com/wekan/wekan/pull/1260). + +and fixes the following bugs: + +* [Data inconsistency when copying card](https://github.com/wekan/wekan/pull/1246). Note: There is no feature for copying card attachment yet; +* [Hide create label from normal users, because only board admin can create labels](https://github.com/wekan/wekan/pull/1261). + +Thanks to GitHub user nztqa for contributions. + +# v0.44 2017-09-30 Wekan release + +This release adds the following new features: + +* [Confirm popup appears before Checklist Delete](https://github.com/wekan/wekan/pull/1257). + +and fixes the following bugs: + +* [Fix errors when importing from Trello](https://github.com/wekan/wekan/pull/1259). + +Thanks to GitHub users amadilsons and GhassenRjab for their contributions. + +# v0.43 2017-09-25 Wekan release + +This release fixes the following bugs: + +* [Add emojis back, because removing them broke local dev Sandstorm](https://github.com/wekan/wekan/issues/1248). + +Thanks to GitHub user xet7 for contributions. + +# v0.42 2017-09-25 Wekan release + +This release fixes the following bugs: + +* [Remove emoji support, because it breaks MAC addresses, urls, code etc](https://github.com/wekan/wekan/issues/1248). + +Thanks to GitHub user xet7 for contributions. + +# v0.41 2017-09-25 Wekan release + +This release fixes the following bugs: + +* [Can't create user and login after install. Reverting REST API: Create user despite disabling registration](https://github.com/wekan/wekan/issues/1249). + +Thanks to GitHub user xet7 for contributions. + +# v0.40 2017-09-25 Wekan release + +This release adds the following new features: + +* [Add translations (en/de/fi) for email notifications regarding checklists and checklist + items](https://github.com/wekan/wekan/pull/1238); +* [Added plus button to add card on top of the list](https://github.com/wekan/wekan/pull/1244); +* [REST API: Create user despite disabling registration](https://github.com/wekan/wekan/issues/1232). + +and fixes the following bugs: + +* [Checklist items are lost when moving items to another checklist](https://github.com/wekan/wekan/pull/1240); +* [Keep state of checklist items when moved to another checklist](https://github.com/wekan/wekan/pull/1242). + +Thanks to GitHub users GhassenRjab, mario-orlicky, soohwa, umbertooo and xet7 for their contributions. + +# v0.39 2017-09-18 Wekan release + +This release adds the following new features: + +* [Import checklist sort attributes from Wekan and Trello](https://github.com/wekan/wekan/pull/1226). + +Thanks to GitHub user GhassenRjab for contributions. + +# v0.38 2017-09-14 Wekan release + +This release adds the following new features: + +* [Reorder checklists. Move checklist item to another checklist.](https://github.com/wekan/wekan/pull/1215); +* [Card title is now pre-filled in copy card dialog](https://github.com/wekan/wekan/pull/1214). + +Thanks to GitHub user frmwrk123 for contributions. + +# v0.37 2017-09-09 Wekan release + +This release adds the following new features: + +* [Copy card within one board](https://github.com/wekan/wekan/pull/1204). + +Thanks to GitHub user frmwrk123 for contributions. + +# v0.36 2017-09-02 Wekan release + +This release adds the following new features: + +* [Import attachments related activities from Wekan and + Trello](https://github.com/wekan/wekan/pull/1202). + +Thanks to GitHub user GhassenRjab for contributions. + +# v0.35 2017-09-02 Wekan release + +This release adds the following new features: + +* [Add more than one Outgoing Webhook](https://github.com/wekan/wekan/pull/1199). + +and fixes the following bugs: + +* [Fix errors caused by checklist items activities](https://github.com/wekan/wekan/pull/1200). + +Thanks to GitHub users andresmanelli, GhassenRjab and nztqa for contributions. + +# v0.34 2017-08-30 Wekan release + +This release adds the following new features: + +* [Import Trello and Wekan board times of creation of activities](https://github.com/wekan/wekan/pull/1187); +* Newest Wekan is available at Sandstorm App Market. + +Known issues: + +* [Attachment creation times are not imported to Trello and Wekan](https://github.com/wekan/wekan/issues/1157). + - This is fixed in v0.36. + +Thanks to GitHub user GhassenRjab for contributions. + +# v0.33 2017-08-29 Wekan release + +This release adds the following new features: + +* [Add Bounties and Commercial Support to wiki](https://github.com/wekan/wekan/wiki); +* [Add display Wekan version number and runtime + environment to Admin Panel](https://github.com/wekan/wekan/pull/1156); +* [Change Email address](https://github.com/wekan/wekan/pull/1161); +* [Ubuntu snap: Use version scriptlet](https://github.com/wekan/wekan/pull/1164); +* [Gogs integration part 1](https://github.com/wekan/wekan/pull/1189); +* [Add web manifest so Wekan can be used like standalone app on Desktop + with Chrome or Firefox](https://github.com/wekan/wekan/pull/1184); +* [Copy card link to clipboard](https://github.com/wekan/wekan/issues/1188); +* [Usernames can now include dots (.)](https://github.com/wekan/wekan/pull/1194). + +and fixes the following bugs: + +* [Fix Squeezed tickbox in Card](https://github.com/wekan/wekan/pull/1171); +* [Percent-encode SMTP password to prevent URI malformed + errors](https://github.com/wekan/wekan/pull/1190); +* [Fix Wekan Import Export on Standalone and Sandstorm](https://github.com/wekan/wekan/pull/1197). + +Thanks to GitHub users andresmanelli, danhawkes, GhassenRjab, jonasob, kubiko, nztqa, +pkuhner and xet7 for their contributions. + +# v0.32 2017-07-30 Wekan release + +This release adds the following new features: + +* [Add dwrensha's Sandstorm patch to Wekan so it does not need to be maintained + separately](https://github.com/wekan/wekan/commit/bda15daa78556223117a5846941aafd1212f14d3). + +and fixes the following bugs: + +* [FIX SECURITY ISSUE Files accessible without authentication](https://github.com/wekan/wekan/issues/1105); +* [Fix showing card activity history in IE11](https://github.com/wekan/wekan/pull/1152). + +Thanks to GitHub users dwrensha, GhassenRjab and nztqa for their contributions. + +# v0.31 2017-07-30 Wekan release + +* This was broken, having lint errors. + +# v0.30 2017-07-27 Wekan release + +SECURITY ISSUE [Files accessible without authentication](https://github.com/wekan/wekan/issues/1105) +IS NOT FIXED YET. + +This release adds the following new features: + +* [More screenshots at Features page](https://github.com/wekan/wekan/wiki/Features); +* [Export and import boards in Sandstorm](https://github.com/wekan/wekan/pull/1144); +* [GitHub Issue template](https://github.com/wekan/wekan/pull/1146); +* [Add checklist items to activity log](https://github.com/wekan/wekan/pull/1148). + +and fixes the following bugs: + +* [Double shashes on ROOT_URL](https://github.com/wekan/wekan/issues/962). + +Thanks to GitHub users GhassenRjab, nztqa and xet7 for their contributions. + +# v0.29 2017-07-21 Wekan release + +SECURITY ISSUE [Files accessible without authentication](https://github.com/wekan/wekan/issues/1105) +IS NOT FIXED YET. + +This release adds the following new features: + +* [Export and import attachments as base64 encoded files](https://github.com/wekan/wekan/pull/1134); +* [Export and import checklists](https://github.com/wekan/wekan/pull/1140). + +and fixes the following bugs: + +* [Activity user messed up when creating a card using the REST-API](https://github.com/wekan/wekan/pull/1116). + +Thanks to GitHub users GhassenRjab and zarnifoulette for their contributions. + +# v0.28 2017-07-15 Wekan release + +SECURITY ISSUE [Files accessible without authentication](https://github.com/wekan/wekan/issues/1105) +IS NOT FIXED YET. + +This release adds the following new features: + +* [REST API: Add PUT method to update a card](https://github.com/wekan/wekan/pull/1095) and + [related fix](https://github.com/wekan/wekan/pull/1097); +* [When finished input of checklist item, open new checklist + item](https://github.com/wekan/wekan/pull/1099); +* [Improve UI design of checklist items](https://github.com/wekan/wekan/pull/1108); +* [Import Wekan board](https://github.com/wekan/wekan/pull/1117); +* [Outgoing Webhooks](https://github.com/wekan/wekan/pull/1119); +* [Wekan wiki now has menu with categories](https://github.com/wekan/wekan/wiki). + +and fixes the following bugs: + +* [SECURITY: Upgrade Node.js, MongoDB and Debian on Docker and Ubuntu snap edge](https://github.com/wekan/wekan/pull/1132); +* [Possible to add empty item to checklist](https://github.com/wekan/wekan/pull/1107); +* [Double-slash issue](https://github.com/wekan/wekan/pull/1114); +* [Node.js crash when adding new user to board](https://github.com/wekan/wekan/issues/1131). + +Thanks to GitHub users GhassenRjab, johnleeming, jtickle, nztqa, xet7 and zarnifoulette +for their contributions. + +# v0.27 2017-06-28 Wekan release + +This release adds the following new features: + +* [Snapcraft build support from source](https://github.com/wekan/wekan/pull/1091). + +and fixes the following bugs: + +* [Fix incorrect attachment link with subfolder in the url](https://github.com/wekan/wekan/pull/1086); +* [Fix link to card](https://github.com/wekan/wekan/pull/1087); +* [Fix duplicate id generation](https://github.com/wekan/wekan/pull/1093). + +Thanks to GitHub users kubiko and nztqa for their contributions. + +# v0.26 2017-06-26 Wekan release + +This release fixes the following bugs: + +* [Fix admin panel route for subfolder](https://github.com/wekan/wekan/pull/1084); +* [Fix i18n route for subfolder](https://github.com/wekan/wekan/pull/1085). + +Thanks to GitHub user nztqa for contributions. + +# v0.25 2017-06-24 Wekan release + +This release adds the following new features: + +* [Import due date from Trello](https://github.com/wekan/wekan/pull/1082). + +and fixes the following bugs: + +* [Fix importing Trello board: Attribute correct members to their + comments](https://github.com/wekan/wekan/pull/1080); +* [Fix Case-sensitive email handling](https://github.com/wekan/wekan/issues/675); +* [Use fibers 1.0.15 because 2.0.0 is broken](https://github.com/wekan/wekan/commit/86e2744c24149c0eacf725b68a186d0bcfae5100); +* [Remove git submodules, so that git clone of Wekan repo works now on Windows](https://github.com/wekan/wekan/issues/977). + +Thanks to GitHub users GhassenRjab, nztqa and xet7 for their contributions. + +# v0.24 2017-06-21 Wekan release + +This release adds the following new features: + +* [Change the way to delete a list (card-like)](https://github.com/wekan/wekan/pull/1050), fixes + [missing undo button](https://github.com/wekan/wekan/issues/1023); +* [When deleting list, delete list's cards too](https://github.com/wekan/wekan/pull/1054); +* [Re-enable Export Wekan Board](https://github.com/wekan/wekan/pull/1059); +* [Sort languages by their translated names](https://github.com/wekan/wekan/pull/1070); +* [Add Breton language name](https://github.com/wekan/wekan/pull/1071). + +and fixes the following bugs: + +* [Fix Admin Panel link available to all users, only link is hidden](https://github.com/wekan/wekan/pull/1076); +* [Fix IE 11 drag board to scroll](https://github.com/wekan/wekan/pull/1052); +* [Fix Export Wekan board](https://github.com/wekan/wekan/pull/1067); +* [Fix "W" shortcut binding](https://github.com/wekan/wekan/pull/1066); +* [Fix login url in invitation email](https://github.com/wekan/wekan/issues/993); +* [Edit card description with invalid markdown](https://github.com/wekan/wekan/pull/1073); +* [Fix filter reset on moving between starred boards](https://github.com/wekan/wekan/pull/1074). + +Thanks to GitHub users BaobabCoder, GhassenRjab, nebulade, nztqa and xet7 +for their contributions. + +# v0.23 2017-05-21 Wekan release + +This release adds the following new features: + +* [Add checklist and card comment to REST API](https://github.com/wekan/wekan/pull/1033); +* [Add token authentication to REST API](https://github.com/wekan/wekan/pull/1033), this fixes + [Security flaws introduced by REST API](https://github.com/wekan/wekan/issues/1032); +* [Authorization improvements etc to REST API](https://github.com/wekan/wekan/pull/1041); +* [IE 11 support in unicode filename downloads](https://github.com/wekan/wekan/issues/1031). + +and fixes the following bugs: + +* [When Wekan starts, there's "here1 false" messages in + console](https://github.com/wekan/wekan/issues/1028); +* [IE11 problem when closing cards, sidebar etc](https://github.com/wekan/wekan/pull/1042). + +Thanks to GitHub users huneau, mayjs and nztqa for their contributions. + +# v0.22 2017-05-07 Wekan release + +This release fixes the following bugs: + +* [Download file(unicode filename) cause crash with exception](https://github.com/wekan/wekan/issues/784) + +Thanks to GitHub user yatusiter for contributions. + +# v0.21 2017-05-07 Wekan release + +Known bugs: + +* https://github.com/wekan/wekan/issues/784 + +This release fixes the following bugs: + +* Update release version number to package.json. + +Thanks to GitHub user xet7 for contributions. + +# v0.20 2017-05-07 Wekan release + +Known bugs: + +* https://github.com/wekan/wekan/issues/784 + +This release fixes the following bugs: + +* Docker images missing latest Debian updates. + +Thanks to GitHub user xet7 for contributions. + +# v0.19 2017-05-06 Wekan release + +Known bugs: + +* https://github.com/wekan/wekan/issues/784 + +This release adds the following new features: + +* Set first user as admin, it there is no existing + users and Wekan is not running at Sandstorm; +* New Docker Compose [Wekan-MongoDB](https://github.com/wekan/wekan-mongodb) + and [Wekan-PostgreSQL](https://github.com/wekan/wekan-postgresql) + that use Meteor v1.4 and Node v4 based Wekan's meteor-1.4 branch; +* [Console, file, and zulip logger on database changes](https://github.com/wekan/wekan/pull/1010); +* [REST API first step](https://github.com/wekan/wekan/pull/1003); +* [Install from source](https://github.com/wekan/wekan/wiki/Install-and-Update#install-manually-from-source) + has been updated to new meteor 1.4 version; +* meteor-1.4 branch has been merged to devel and master branches, + where development continues from now on. Previous code has been moved to + meteor-1.3-2017-04-27 branch; +* [VirtualBox image updated](https://wekan.xet7.org). + +and fixes the following bugs: + +* isCommentOnly false fix for Trello import; +* Node version to 4.8.1 to solve 100% CPU issue; +* Fix bson error on Docker and install from source; +* Try other key servers on Dockerfile if ha.pool.sks-keyservers.net is unreachable. + +Thanks to GitHub users brylie, huneau, johnniesong, rhelsing, stephenmoloney, +xet7 and Zokormazo for contributions. + +# v0.18 2017-04-02 Wekan release + +Known bugs: + +* https://github.com/wekan/wekan/issues/784 + +This release adds the following new features: + +* Add TLS toggle option to smtp configuration; +* [Comment permissions](https://github.com/wekan/wekan/issues/870); +* Add bigger screenshots for Sandstorm. + +and fixes the following bugs: + +* Fix email settings loading: + MAIL_URL was overriden with database info all the time. + Now if MAIL_URL exists is not overwritten and if neither MAIL_URL nor + exists valid admin panel data MAIL_URL is not set. + MAIL_FROM was ignored. Same behaviour, env variable has bigger priority + than database configuration. + On both cases, althought environment variable is set, updating admin-panel + mail settings will load new info and ignore the environment variable; +* Dockerfile fix for local packages; +* Don't send emails if missing smtp host; +* Remove invitation code if email sending failed; +* Show customized error msg while invitation code is wrong during registration; +* Fix "internal error" while registration is done; +* Fix "cannot access disableRegistration of undefined" error; +* Add high available server for getting the gpg keys - suppose it should lead + to fewer failures on getting the gpg keys leading to some rare build failures; +* Add a docker build to the .travis.yml - this will help determine if pull + requests need further review before merging into devel; +* Use navigator language by default instead of English. + +Thanks to GitHub users JamborJan, lkisme, rhelsing, Serubin, stephenmoloney, +umbertooo and Zokormazo for their contributions. + +# v0.17 2017-03-25 Wekan release + +Known bugs: + +* https://github.com/wekan/wekan/issues/784 + +This release fixes the following bugs: + +* Double slash problem on card pop-ups; +* No need for Array.prototype if using rest operator; +* Fix default font so Chinese is shown correctly. + Still looking for better solution for #914 although + commit had wrong number #707. + +Thanks to GitHub users mo-han, Serubin and vuxor for +their contributions. + +# v0.16 2017-03-15 Wekan release + +Added missing changelog updates. + +# v0.15 2017-03-15 Wekan release + +Updated translations. + +# v0.14 2017-03-15 Wekan release + +Known bugs: + +* https://github.com/wekan/wekan/issues/785 +* https://github.com/wekan/wekan/issues/784 + +This release fixes the following bug: + +* Set IE compatibility mode to Edge to so that + Wekan board loads correctly. + +Thanks to GitHub users immertroll and REJack for +their contributions. + +# v0.13 2017-03-12 Wekan release + +Known bugs: + +* https://github.com/wekan/wekan/issues/785 +* https://github.com/wekan/wekan/issues/784 + +This release fixes the following bug: + +* Admin Panel: Set mail-from to environment immediately after changed, + allow user set a blank username and password pair in SMTP setting. + +Thanks to GitHub user lkisme for contributions. + +# v0.12 2017-03-05 Wekan release + +Known bugs: + +* https://github.com/wekan/wekan/issues/785 +* https://github.com/wekan/wekan/issues/784 + +This release adds the following new features: + +* Import Checklists from Trello; +* Simplified release numbers of Wekan. + +Thanks to GitHub users whodafly and xet7 for +their contributions. + +# v0.11.1-rc2 2017-03-05 Wekan prerelease + +Known bugs: + +* https://github.com/wekan/wekan/issues/785 +* https://github.com/wekan/wekan/issues/784 + +This release adds the following supported platforms: + +* [Docker environment for Wekan development](https://github.com/wekan/wekan-dev); +* [Wekan <=> MongoDB <=> ToroDB => PostgreSQL read-only + mirroring](https://github.com/wekan/wekan-postgresql) + for SQL access with any programming language + or Office package that has PostgreSQL support, like + newest LibreOffice 3.5; +* [Install from source on + Windows](https://github.com/wekan/wekan/wiki/Install-Wekan-from-source-on-Windows). + +and adds the following new features: + +* Admin Panel: +``` + 1) Disable Self-Registration and invite users + 2) SMTP settings. + + Adding Admin user in mongo cli: + 1) Use database that has wekan data, for example: + use admin; + 2) Add Admin rights to some Wekan username: + db.users.update({username:'admin-username-here'},{$set:{isAdmin:true}}) + Hiding Admin panel by removing Admin rights: + use admin; + db.settings.remove({}); +``` +* Make Due Date layout nicer on minicard; +* Added tooltip for board menu and sidebar buttons; +* [Wekan database cleanup script](https://github.com/wekan/wekan-cleanup); +* [Daily export script of Wekan changes as JSON to Logstash and + ElasticSearch / Kibana (ELK)](https://github.com/wekan/wekan-logstash); +* [Wekan stats script](https://github.com/wekan/wekan-stats). + +and fixes the following bugs: + +* Dockerfile was missing EXPOSE $PORT; +* Bug when removing user from board that generate activity for + all cards of the board. Add check before user is one owner + of the card before adding activity; +* All new boards are automatically starred. Fixed to + only star header-bar new-boards; +* Orphan documents were created when cards were deleted; +* Improve Wekan performance by adding indexes to MongoDB; +* Invite user with lower case email; +* Typos. + +Thanks to GitHub users eemeli, entrptaher, fmonthel, jLouzado, lkisme, +maulal, pra85, vuxor, whittssg2 and xet7 for their contributions. + +# v0.11.1-rc1 2017-02-10 Wekan prerelease + +2017-01-29 mquandalle gave Wekan access to xet7, +so at 2017-01-31 xet7 started merging Wefork back to Wekan. +At 2017-02-03 all Wefork code and pull requests are now +merged back to Wekan. + +Known bugs: +* https://github.com/wekan/wekan/issues/785 +* https://github.com/wekan/wekan/issues/784 + +This release adds the following supported platforms: + +* Docker; +* Docker on SLES12SP1; +* Install from source. + +and adds the following new features: + +* Checklists; +* Remove a list; +* Admin of board can leave board if he/she + is not last admin in the board; +* Shortcuts popup, link to it on + bottom right corner; +* Links are now underlined and change + link color on hover; +* Added YuGothic and Meiryo fonts to show + non-English text correctly. + +and fixes the following bugs: + +* Update xss to v0.3.3; +* Typos in boards.js and boardHeader.js; +* Build warning in jade template; +* New MongoDB version breaks uploading files + and avatars, so using older version; +* Tweaked .gitignore to exclude .build/*; +* Fix executeUpTo label when dragging cards, + popup was not in the predefined hierarchy. + +and adds the following new documentation: + +* Developer Documentation; +* Docker; +* and others. + +Thanks to GitHub users AlexanderR, BaobabCoder, jLouzado, kamijin-fanta, +lkisme, mario-orlicky, martingabelmann, mquandalle, stephenmoloney, +umbertooo, xet7 and qge for their contributions. + +# v0.11.0 2016-12-16 Wekan fork first release + +This release adds the following new features: + +* Start- and Duedate for cards; +* Allow IE 11 to work; +* Option to hide system messages in the card; +* Option to setup minimum limit to show cards count + for each list in board; +* Option 'filter by empty' to filter by cards by 'no member' + and 'no label' properties; +* Speedup: Added MongoDB index on CardId into Comments collection. +* Translation updates + +and fixes the following bugs: + +* Sandstorm: username handling, restore identity, eslint regressions, + board not found; +* Failure to load when navigator.language is Chinese or Finnish; +* Hover background for labels in filter sidebar. Now correctly + centered; +* Display message when user wants to choose existing username; +* Client sometimes fails to receive current user's profile; +* Old users could see broken presence indicators on new users. + +Thanks to GitHub users dwrencha, fmonthel, mario-orlicky, pierreozoux, +shoetten, and xet7 for their contributions. + +# v0.11.0-rc2 2016-07-21 + +This release adds the following new features: + +* Notification system with email notifications of the changes in a board, + a list or on a card; +* Show the exact time when hovering the activity time; +* Allow to edit more easily longer card titles by resizing the input box; +* Add shortcuts to move cards to the top or the bottom of a list; +* Add a warning indicator when the application is offline; +* A new log-in button on the public board view to sign in, even if the board + is published; +* New link to the keyboard shortcuts in the board sidebar; + +and fixes the following bugs: + +* Fix the syntax of the `docker-compose.yml`; +* Use the correct pluralization of emoji; +* Only publish required user data and keep the hashed passwords confidential; +* Fix the generation and alignment of the initials avatars; +* Fix the “welcome board” feature; +* Only display the buttons in the board header, if the data is available + and the user is able to use it; +* Fix the scaling of cover images; +* Fix bugs on Internet Explorer v11 that blocked card creation and activity feed + visualization. + +Thanks to GitHub users alayek, AlexanderS, choclin, floatinghotpot, ForNeVeR, +PeterDaveHello, seschwar, and TheElf for their contributions. + +# v0.10.1 2015-12-30 + +This patch release fixes two bugs on Sandstorm: + +* Drag and drop was broken; +* Avatars weren’t working. + +# v0.10 2015-12-22 + +This release features: + +* Trello boards importation, including card history, assigned members, labels, + comments, and attachments; +* Invite new users to a board using an email address; +* Autocompletion in the minicard editor. Start with @ to start a + board member autocompletion, or # for a label; +* Improve the user interface on small screens so that Wekan could be used on the + mobile web; +* Accelerate the initial page rendering by sending the data on the initial HTTP + response instead of waiting for the DDP connection to open; +* Support images attachments copy pasting; +* On Sandstorm, expose the Wekan grain title and URL to the Sandstorm shell; +* Support Wekan deployment under a sub-path of a domain name. + +New languages supported: Arabic, Catalan, Italian, and Russian. + +Thanks to GitHub users AlexanderS, fisle, floatinghotpot, FuzzyWuzzie, mnutt, +ndarilek, SirCmpwn, and xavierpriour for their contributions. + +# v0.9 2015-09-10 + +This release is a large re-write of the previous code base. This release marks +the beginning of our new user interface and continues to improve the overall +performance and security. It also features the following improvements: + +* A new user account system, including the possibility to reset a forgotten + password, to change the password, or to enable email confirmation (all of + which were previously impossible); +* Avatar customization, including the possibility to upload images and to choose + one from Gravatar or the user initials (on Sandstorm we use the avatar exposed + by Sandstorm); +* Cards multi-selection to facilitate batch actions such as moving all the cards + of selection, or attaching a label or a member to them; +* Automatic drafts saving synced with the server; +* Keyboard navigation, press `?` to read the list of available shortcuts; +* The possibility to restore archived boards, lists, and cards. + +Starting from this release we will also distribute official docker images on +both the [GitHub release page](https://github.com/wekan/wekan/releases) and on +the [DockerHub](https://hub.docker.com/r/mquandalle/wekan). We also configured +Heroku one-click install and improved Sandstorm integration with the integration +of its build-in sharing model. + +New languages supported: Chinese, Finnish, Spanish, Korean, and Russian. + +Special thanks to GitHub users ePirat, nata-goddanti, ocdtrekkie, and others who +have supportive during this *traversée du desert*, and to neynah for the Wekan +icons. + +# v0.8 + +This release continues the implementation of basic features of a “kanban” +software, especially: + +* Basic card attachments. If the attached file is an image we generate and + display a thumbnail that can be used as a card “cover” (visible in the board + general view); +* User names mentions and auto-completion in card description and comments + (though we don’t have any notification system for now, making this feature a + less useful that it should); +* Filter views, current filtering options are based on labels and assigned + members; +* Labels creation and suppression at the board level (previously we had a fixed + list of labels); +* Customization of the board background color. + +This release is also the first one to introduce localization of the user +interface. + +New languages supported: French, German, Japanese, Portuguese, and Turkish. + +# v0.7.1 + +This release fixes the following bugs: + +* Unexpected lost of the card sorting on the server side; +* Fix a bug during board creation; +* Focus the new list form if the board is empty. + +# v0.7 + +This release starts the transition from a toy project to something useful. Along +with some security and performance improvements (for instance, opening a card +used to take a long time because it was re-generated the entire DOM whereas only +the popover was new). New features includes: + +* Add and remove labels to cards; +* Assign and unassign members to cards; +* Archive cards (though restoration is not yet possible); +* Board stars; +* Markdown and emoji support in comments and card description; +* Emoji auto-completion in the text editor; +* Some keyboard shortcuts (eg `Ctrl`+`Enter` to submit a multi-line input). + +We also introduced basic support for the [Sandstorm](https://sandstorm.io) +platform, and distribute a `spk` (Sandstorm PacKage) for this release and +subsequent. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..3ae9951 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,4 @@ +To get started, [please sign the Contributor License Agreement](https://www.clahub.com/agreements/wekan/wekan). + +[Then, please read documentation at wiki](https://github.com/wekan/wekan/wiki). + diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..e0a93f6 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,300 @@ +FROM ubuntu:rolling +LABEL maintainer="wekan" + +# Set the environment variables (defaults where required) +# DOES NOT WORK: paxctl fix for alpine linux: https://github.com/wekan/wekan/issues/1303 +# ENV BUILD_DEPS="paxctl" +ARG DEBIAN_FRONTEND=noninteractive + +ENV BUILD_DEPS="apt-utils libarchive-tools gnupg gosu wget curl bzip2 g++ build-essential git ca-certificates python3" \ + DEBUG=false \ + NODE_VERSION=v12.18.3 \ + METEOR_RELEASE=1.10.2 \ + USE_EDGE=false \ + METEOR_EDGE=1.5-beta.17 \ + NPM_VERSION=latest \ + FIBERS_VERSION=4.0.1 \ + ARCHITECTURE=linux-x64 \ + SRC_PATH=./ \ + WITH_API=true \ + ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURES_BEFORE=3 \ + ACCOUNTS_LOCKOUT_KNOWN_USERS_PERIOD=60 \ + ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURE_WINDOW=15 \ + ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURES_BERORE=3 \ + ACCOUNTS_LOCKOUT_UNKNOWN_USERS_LOCKOUT_PERIOD=60 \ + ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURE_WINDOW=15 \ + RICHER_CARD_COMMENT_EDITOR=false \ + CARD_OPENED_WEBHOOK_ENABLED=false \ + ATTACHMENTS_STORE_PATH="" \ + MAX_IMAGE_PIXEL="" \ + IMAGE_COMPRESS_RATIO="" \ + NOTIFICATION_TRAY_AFTER_READ_DAYS_BEFORE_REMOVE="" \ + BIGEVENTS_PATTERN=NONE \ + NOTIFY_DUE_DAYS_BEFORE_AND_AFTER="" \ + NOTIFY_DUE_AT_HOUR_OF_DAY="" \ + EMAIL_NOTIFICATION_TIMEOUT=30000 \ + MATOMO_ADDRESS="" \ + MATOMO_SITE_ID="" \ + MATOMO_DO_NOT_TRACK=true \ + MATOMO_WITH_USERNAME=false \ + BROWSER_POLICY_ENABLED=true \ + TRUSTED_URL="" \ + WEBHOOKS_ATTRIBUTES="" \ + OAUTH2_ENABLED=false \ + OAUTH2_LOGIN_STYLE=redirect \ + OAUTH2_CLIENT_ID="" \ + OAUTH2_SECRET="" \ + OAUTH2_SERVER_URL="" \ + OAUTH2_AUTH_ENDPOINT="" \ + OAUTH2_USERINFO_ENDPOINT="" \ + OAUTH2_TOKEN_ENDPOINT="" \ + OAUTH2_ID_MAP="" \ + OAUTH2_USERNAME_MAP="" \ + OAUTH2_FULLNAME_MAP="" \ + OAUTH2_ID_TOKEN_WHITELIST_FIELDS="" \ + OAUTH2_REQUEST_PERMISSIONS='openid profile email' \ + OAUTH2_EMAIL_MAP="" \ + LDAP_ENABLE=false \ + LDAP_PORT=389 \ + LDAP_HOST="" \ + LDAP_BASEDN="" \ + LDAP_LOGIN_FALLBACK=false \ + LDAP_RECONNECT=true \ + LDAP_TIMEOUT=10000 \ + LDAP_IDLE_TIMEOUT=10000 \ + LDAP_CONNECT_TIMEOUT=10000 \ + LDAP_AUTHENTIFICATION=false \ + LDAP_AUTHENTIFICATION_USERDN="" \ + LDAP_AUTHENTIFICATION_PASSWORD="" \ + LDAP_LOG_ENABLED=false \ + LDAP_BACKGROUND_SYNC=false \ + LDAP_BACKGROUND_SYNC_INTERVAL="" \ + LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED=false \ + LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS=false \ + LDAP_ENCRYPTION=false \ + LDAP_CA_CERT="" \ + LDAP_REJECT_UNAUTHORIZED=false \ + LDAP_USER_AUTHENTICATION=false \ + LDAP_USER_AUTHENTICATION_FIELD=uid \ + LDAP_USER_SEARCH_FILTER="" \ + LDAP_USER_SEARCH_SCOPE="" \ + LDAP_USER_SEARCH_FIELD="" \ + LDAP_SEARCH_PAGE_SIZE=0 \ + LDAP_SEARCH_SIZE_LIMIT=0 \ + LDAP_GROUP_FILTER_ENABLE=false \ + LDAP_GROUP_FILTER_OBJECTCLASS="" \ + LDAP_GROUP_FILTER_GROUP_ID_ATTRIBUTE="" \ + LDAP_GROUP_FILTER_GROUP_MEMBER_ATTRIBUTE="" \ + LDAP_GROUP_FILTER_GROUP_MEMBER_FORMAT="" \ + LDAP_GROUP_FILTER_GROUP_NAME="" \ + LDAP_UNIQUE_IDENTIFIER_FIELD="" \ + LDAP_UTF8_NAMES_SLUGIFY=true \ + LDAP_USERNAME_FIELD="" \ + LDAP_FULLNAME_FIELD="" \ + LDAP_MERGE_EXISTING_USERS=false \ + LDAP_EMAIL_FIELD="" \ + LDAP_EMAIL_MATCH_ENABLE=false \ + LDAP_EMAIL_MATCH_REQUIRE=false \ + LDAP_EMAIL_MATCH_VERIFIED=false \ + LDAP_SYNC_USER_DATA=false \ + LDAP_SYNC_USER_DATA_FIELDMAP="" \ + LDAP_SYNC_GROUP_ROLES="" \ + LDAP_DEFAULT_DOMAIN="" \ + LDAP_SYNC_ADMIN_STATUS="" \ + LDAP_SYNC_ADMIN_GROUPS="" \ + HEADER_LOGIN_ID="" \ + HEADER_LOGIN_FIRSTNAME="" \ + HEADER_LOGIN_LASTNAME="" \ + HEADER_LOGIN_EMAIL="" \ + LOGOUT_WITH_TIMER=false \ + LOGOUT_IN="" \ + LOGOUT_ON_HOURS="" \ + LOGOUT_ON_MINUTES="" \ + CORS="" \ + CORS_ALLOW_HEADERS="" \ + CORS_EXPOSE_HEADERS="" \ + DEFAULT_AUTHENTICATION_METHOD="" \ + SCROLLINERTIA="0" \ + SCROLLAMOUNT="auto" \ + SCROLLDELTAFACTOR="auto" \ + PASSWORD_LOGIN_ENABLED=true + +# Copy the app to the image +COPY ${SRC_PATH} /home/wekan/app + +RUN \ + set -o xtrace && \ + # Add non-root user wekan + useradd --user-group --system --home-dir /home/wekan wekan && \ + \ + # OS dependencies + apt-get update -y && apt-get install -y --no-install-recommends ${BUILD_DEPS} && \ + #pip3 install -U pip setuptools wheel && \ + \ + # Meteor installer doesn't work with the default tar binary, so using bsdtar while installing. + # https://github.com/coreos/bugs/issues/1095#issuecomment-350574389 + cp $(which tar) $(which tar)~ && \ + ln -sf $(which bsdtar) $(which tar) && \ + \ + # Download nodejs + wget https://nodejs.org/dist/${NODE_VERSION}/node-${NODE_VERSION}-${ARCHITECTURE}.tar.gz && \ + wget https://nodejs.org/dist/${NODE_VERSION}/SHASUMS256.txt.asc && \ + #--------------------------------------------------------------------------------------------- + # Node Fibers 100% CPU usage issue: + # https://github.com/wekan/wekan-mongodb/issues/2#issuecomment-381453161 + # https://github.com/meteor/meteor/issues/9796#issuecomment-381676326 + # https://github.com/sandstorm-io/sandstorm/blob/0f1fec013fe7208ed0fd97eb88b31b77e3c61f42/shell/server/00-startup.js#L99-L129 + # Also see beginning of wekan/server/authentication.js + # import Fiber from "fibers"; + # Fiber.poolSize = 1e9; + # OLD: Download node version 8.12.0 prerelease that has fix included, => Official 8.12.0 has been released + # Description at https://releases.wekan.team/node.txt + #wget https://releases.wekan.team/node-${NODE_VERSION}-${ARCHITECTURE}.tar.gz && \ + #echo "1ed54adb8497ad8967075a0b5d03dd5d0a502be43d4a4d84e5af489c613d7795 node-v8.12.0-linux-x64.tar.gz" >> SHASUMS256.txt.asc && \ + \ + # Verify nodejs authenticity + grep ${NODE_VERSION}-${ARCHITECTURE}.tar.gz SHASUMS256.txt.asc | shasum -a 256 -c - && \ + #export GNUPGHOME="$(mktemp -d)" && \ + #\ + # Try other key servers if ha.pool.sks-keyservers.net is unreachable + # Code from https://github.com/chorrell/docker-node/commit/2b673e17547c34f17f24553db02beefbac98d23c + # gpg keys listed at https://github.com/nodejs/node#release-team + # and keys listed here from previous version of this Dockerfile + #for key in \ + #9554F04D7259F04124DE6B476D5A82AC7E37093B \ + #94AE36675C464D64BAFA68DD7434390BDBE9B9C5 \ + #FD3A5288F042B6850C66B31F09FE44734EB7990E \ + #71DCFD284A79C3B38668286BC97EC7A07EDE3FC1 \ + #DD8F2338BAE7501E3DD5AC78C273792F7D83545D \ + #C4F0DFFF4E8C1A8236409D08E73BC641CC11F4C8 \ + #B9AE9905FFD7803F25714661B63B535A4C206CA9 \ + #; do \ + #gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key" || \ + #gpg --keyserver pgp.mit.edu --recv-keys "$key" || \ + #gpg --keyserver keyserver.pgp.com --recv-keys "$key" ; \ + #done && \ + #gpg --verify SHASUMS256.txt.asc && \ + # Ignore socket files then delete files then delete directories + #find "$GNUPGHOME" -type f | xargs rm -f && \ + #find "$GNUPGHOME" -type d | xargs rm -fR && \ + rm -f SHASUMS256.txt.asc && \ + \ + # Install Node + tar xvzf node-${NODE_VERSION}-${ARCHITECTURE}.tar.gz && \ + rm node-${NODE_VERSION}-${ARCHITECTURE}.tar.gz && \ + mv node-${NODE_VERSION}-${ARCHITECTURE} /opt/nodejs && \ + ln -s /opt/nodejs/bin/node /usr/bin/node && \ + ln -s /opt/nodejs/bin/npm /usr/bin/npm && \ + mkdir -p /opt/nodejs/lib/node_modules/fibers/.node-gyp /root/.node-gyp/8.16.1 /home/wekan/.config && \ + chown wekan --recursive /home/wekan/.config && \ + \ + #DOES NOT WORK: paxctl fix for alpine linux: https://github.com/wekan/wekan/issues/1303 + #paxctl -mC `which node` && \ + \ + # Install Node dependencies. Python path for node-gyp. + npm install -g npm@${NPM_VERSION} && \ + #npm config set python python2.7 && \ + #npm install -g node-gyp && \ + #npm install -g fibers@${FIBERS_VERSION} && \ + \ + # Change user to wekan and install meteor + cd /home/wekan/ && \ + chown wekan --recursive /home/wekan && \ + #curl "https://install.meteor.com" -o /home/wekan/install_meteor.sh && \ + #curl "https://install.meteor.com/?release=${METEOR_RELEASE}" -o /home/wekan/install_meteor.sh && \ + # OLD: sed -i "s|RELEASE=.*|RELEASE=${METEOR_RELEASE}\"\"|g" ./install_meteor.sh && \ + # Install Meteor forcing its progress + #sed -i 's/VERBOSITY="--silent"/VERBOSITY="--progress-bar"/' ./install_meteor.sh && \ + echo "Starting meteor ${METEOR_RELEASE} installation... \n" && \ + gosu wekan:wekan curl https://install.meteor.com/ | /bin/sh && \ + mv /root/.meteor /home/wekan/ && \ + chown wekan --recursive /home/wekan/.meteor && \ + \ + # Check if opting for a release candidate instead of major release + #if [ "$USE_EDGE" = false ]; then \ + #gosu wekan:wekan sh /home/wekan/install_meteor.sh; \ + # gosu wekan:wekan curl https://install.meteor.com/ | sh; \ + #else \ + # gosu wekan:wekan git clone --recursive --depth 1 -b release/METEOR@${METEOR_EDGE} https://github.com/meteor/meteor.git /home/wekan/.meteor; \ + #fi; \ + #\ + # Get additional packages + #mkdir -p /home/wekan/app/packages && \ + #chown wekan:wekan --recursive /home/wekan && \ + # REPOS BELOW ARE INCLUDED TO WEKAN REPO + #cd /home/wekan/app/packages && \ + #gosu wekan:wekan git clone --depth 1 -b master https://github.com/wekan/flow-router.git kadira-flow-router && \ + #gosu wekan:wekan git clone --depth 1 -b master https://github.com/meteor-useraccounts/core.git meteor-useraccounts-core && \ + #gosu wekan:wekan git clone --depth 1 -b master https://github.com/wekan/meteor-accounts-cas.git && \ + #gosu wekan:wekan git clone --depth 1 -b master https://github.com/wekan/wekan-ldap.git && \ + #gosu wekan:wekan git clone --depth 1 -b master https://github.com/wekan/wekan-scrollbar.git && \ + #gosu wekan:wekan git clone --depth 1 -b master https://github.com/wekan/meteor-accounts-oidc.git && \ + #gosu wekan:wekan git clone --depth 1 -b master --recurse-submodules https://github.com/wekan/markdown.git && \ + #gosu wekan:wekan mv meteor-accounts-oidc/packages/switch_accounts-oidc wekan-accounts-oidc && \ + #gosu wekan:wekan mv meteor-accounts-oidc/packages/switch_oidc wekan-oidc && \ + #gosu wekan:wekan rm -rf meteor-accounts-oidc && \ + sed -i 's/api\.versionsFrom/\/\/api.versionsFrom/' /home/wekan/app/packages/meteor-useraccounts-core/package.js && \ + cd /home/wekan/.meteor && \ + gosu wekan:wekan /home/wekan/.meteor/meteor -- help; \ + \ + # extract the OpenAPI specification + #npm install -g api2html@0.3.3 && \ + #mkdir -p /home/wekan/python && \ + #chown wekan --recursive /home/wekan/python && \ + #cd /home/wekan/python && \ + #gosu wekan:wekan git clone --depth 1 -b master https://github.com/Kronuz/esprima-python && \ + #cd /home/wekan/python/esprima-python && \ + #python3 setup.py install --record files.txt && \ + #cd /home/wekan/app && \ + #mkdir -p /home/wekan/app/public/api && \ + #chown wekan --recursive /home/wekan/app && \ + #gosu wekan:wekan python3 ./openapi/generate_openapi.py --release $(git describe --tags --abbrev=0) > ./public/api/wekan.yml && \ + #gosu wekan:wekan /opt/nodejs/bin/api2html -c ./public/logo-header.png -o ./public/api/wekan.html ./public/api/wekan.yml; \ + # Build app + cd /home/wekan/app && \ + mkdir -p /home/wekan/.npm && \ + chown wekan --recursive /home/wekan/.npm /home/wekan/.config /home/wekan/.meteor && \ + #gosu wekan:wekan /home/wekan/.meteor/meteor add standard-minifier-js && \ + gosu wekan:wekan npm install && \ + gosu wekan:wekan /home/wekan/.meteor/meteor build --directory /home/wekan/app_build && \ + cp /home/wekan/app/fix-download-unicode/cfs_access-point.txt /home/wekan/app_build/bundle/programs/server/packages/cfs_access-point.js && \ + #rm /home/wekan/app_build/bundle/programs/server/npm/node_modules/meteor/rajit_bootstrap3-datepicker/lib/bootstrap-datepicker/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs && \ + chown wekan /home/wekan/app_build/bundle/programs/server/packages/cfs_access-point.js && \ + #Removed binary version of bcrypt because of security vulnerability that is not fixed yet. + #https://github.com/wekan/wekan/commit/4b2010213907c61b0e0482ab55abb06f6a668eac + #https://github.com/wekan/wekan/commit/7eeabf14be3c63fae2226e561ef8a0c1390c8d3c + #cd /home/wekan/app_build/bundle/programs/server/npm/node_modules/meteor/npm-bcrypt && \ + #gosu wekan:wekan rm -rf node_modules/bcrypt && \ + #gosu wekan:wekan npm install bcrypt && \ + # + # Delete phantomjs + #cd /home/wekan/app_build/bundle && \ + #find . -name "*phantomjs*" | xargs rm -rf && \ + # + cd /home/wekan/app_build/bundle/programs/server/ && \ + gosu wekan:wekan npm install && \ + #gosu wekan:wekan npm install bcrypt && \ + # Remove legacy webbroser bundle, so that Wekan works also at Android Firefox, iOS Safari, etc. + rm -rf /home/wekan/app_build/bundle/programs/web.browser.legacy && \ + mv /home/wekan/app_build/bundle /build && \ + \ + # Put back the original tar + mv $(which tar)~ $(which tar) && \ + \ + # Cleanup + apt-get remove --purge -y ${BUILD_DEPS} && \ + apt-get autoremove -y && \ + npm uninstall -g api2html &&\ + rm -R /var/lib/apt/lists/* && \ + rm -R /home/wekan/.meteor && \ + rm -R /home/wekan/app && \ + rm -R /home/wekan/app_build + #cat /home/wekan/python/esprima-python/files.txt | xargs rm -R && \ + #rm -R /home/wekan/python + #rm /home/wekan/install_meteor.sh + +ENV PORT=8080 +EXPOSE $PORT +USER wekan + +CMD ["node", "/build/main.js"] diff --git a/Dockerfile.arm64v8 b/Dockerfile.arm64v8 new file mode 100644 index 0000000..943369c --- /dev/null +++ b/Dockerfile.arm64v8 @@ -0,0 +1,77 @@ +FROM amd64/alpine:3.7 AS builder + +# Set the environment variables for builder +ENV QEMU_VERSION=v4.2.0-6 \ + QEMU_ARCHITECTURE=aarch64 \ + NODE_ARCHITECTURE=linux-arm64 \ + NODE_VERSION=v12.18.3 \ + WEKAN_VERSION=3.96 \ + WEKAN_ARCHITECTURE=arm64 + + # Install dependencies +RUN apk update && apk add ca-certificates outils-sha1 && \ + \ + # Download qemu static for our architecture + wget https://github.com/multiarch/qemu-user-static/releases/download/${QEMU_VERSION}/qemu-${QEMU_ARCHITECTURE}-static.tar.gz -O - | tar -xz && \ + \ + # Download wekan and shasum + wget https://releases.wekan.team/raspi3/wekan-${WEKAN_VERSION}-${WEKAN_ARCHITECTURE}.zip && \ + wget https://releases.wekan.team/raspi3/SHA256SUMS.txt && \ + # Verify wekan + grep wekan-${WEKAN_VERSION}-${WEKAN_ARCHITECTURE}.zip SHA256SUMS.txt | sha256sum -c - && \ + \ + # Unzip wekan + unzip wekan-${WEKAN_VERSION}-${WEKAN_ARCHITECTURE}.zip && \ + \ + # Download node and shasums + wget https://nodejs.org/dist/${NODE_VERSION}/node-${NODE_VERSION}-${NODE_ARCHITECTURE}.tar.gz && \ + wget https://nodejs.org/dist/${NODE_VERSION}/SHASUMS256.txt.asc && \ + \ + # Verify nodejs authenticity + grep node-${NODE_VERSION}-${NODE_ARCHITECTURE}.tar.gz SHASUMS256.txt.asc | sha256sum -c - && \ + \ + # Extract node and remove tar.gz + tar xvzf node-${NODE_VERSION}-${NODE_ARCHITECTURE}.tar.gz + +# Build wekan dockerfile +FROM arm64v8/ubuntu:19.10 +LABEL maintainer="wekan" + +# Set the environment variables (defaults where required) +ENV QEMU_ARCHITECTURE=aarch64 \ + NODE_ARCHITECTURE=linux-arm64 \ + NODE_VERSION=v12.18.3 \ + NODE_ENV=production \ + NPM_VERSION=latest \ + WITH_API=true \ + PORT=8080 \ + ROOT_URL=http://localhost \ + MONGO_URL=mongodb://127.0.0.1:27017/wekan + +# Copy qemu-static to image +COPY --from=builder qemu-${QEMU_ARCHITECTURE}-static /usr/bin + +# Copy the app to the image +COPY --from=builder bundle /home/wekan/bundle + +# Copy +COPY --from=builder node-${NODE_VERSION}-${NODE_ARCHITECTURE} /opt/nodejs + +RUN \ + set -o xtrace && \ + # Add non-root user wekan + useradd --user-group --system --home-dir /home/wekan wekan && \ + \ + # Install Node + ln -s /opt/nodejs/bin/node /usr/bin/node && \ + ln -s /opt/nodejs/bin/npm /usr/bin/npm && \ + mkdir -p /opt/nodejs/lib/node_modules/fibers/.node-gyp /root/.node-gyp/8.16.1 /home/wekan/.config && \ + chown wekan --recursive /home/wekan/.config && \ + \ + # Install Node dependencies + npm install -g npm@${NPM_VERSION} + +EXPOSE $PORT +USER wekan + +CMD ["node", "/home/wekan/bundle/main.js"] diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..c2d6915 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014-2019 The Wekan Team + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..6d3e39e --- /dev/null +++ b/README.md @@ -0,0 +1,121 @@ +[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/wekan/wekan) + +# Wekan - Open Source kanban + +[![Contributors](https://img.shields.io/github/contributors/wekan/wekan.svg "Contributors")](https://github.com/wekan/wekan/graphs/contributors) +[![Docker Repository on Quay](https://quay.io/repository/wekan/wekan/status "Docker Repository on Quay")](https://quay.io/repository/wekan/wekan) +[![Docker Hub container status](https://img.shields.io/docker/build/wekanteam/wekan.svg "Docker Hub container status")](https://hub.docker.com/r/wekanteam/wekan) +[![Docker Hub pulls](https://img.shields.io/docker/pulls/wekanteam/wekan.svg "Docker Hub Pulls")](https://hub.docker.com/r/wekanteam/wekan) +[![Wekan Build Status][travis_badge]][travis_status] +[![Codacy Badge](https://api.codacy.com/project/badge/Grade/02137ecec4e34c5aa303f57637196a93 "Codacy Badge")](https://www.codacy.com/app/xet7/wekan?utm_source=github.com&utm_medium=referral&utm_content=wekan/wekan&utm_campaign=Badge_Grade) +[![Code Climate](https://codeclimate.com/github/wekan/wekan/badges/gpa.svg "Code Climate")](https://codeclimate.com/github/wekan/wekan) +[![Project Dependencies](https://david-dm.org/wekan/wekan.svg "Project Dependencies")](https://david-dm.org/wekan/wekan) +[![Code analysis at Open Hub](https://img.shields.io/badge/code%20analysis-at%20Open%20Hub-brightgreen.svg "Code analysis at Open Hub")](https://www.openhub.net/p/wekan) +[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fwekan%2Fwekan.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fwekan%2Fwekan?ref=badge_shield) + +## [Translate Wekan at Transifex](https://transifex.com/wekan/wekan) + +Translations to non-English languages are accepted only at [Transifex](https://transifex.com/wekan/wekan) using webbrowser. +New English strings of new features can be added as PRs to edge branch file wekan/i18n/en.i18n.json . + +## [Wekan feature requests and bugs](https://github.com/wekan/wekan/issues) + +Please add most of your questions as GitHub issue: [Wekan feature requests and bugs](https://github.com/wekan/wekan/issues). +It's better than at chat where details get lost when chat scrolls up. + +## Chat + +[![Wekan Chat][vanila_badge]][wekan_chat] - Most Wekan community and developers are here. Works on webbrowser +and PWA app that can be added as icon on Android and bookmark on iOS, used like native app. + +[Wekan IRC FAQ](https://github.com/wekan/wekan/wiki/IRC-FAQ) + +## FAQ + +**NOTE**: +- Please read the [FAQ](https://github.com/wekan/wekan/wiki/FAQ) first +- Please don't feed the [trolls](https://github.com/wekan/wekan/wiki/FAQ#why-am-i-called-a-troll) and [spammers](https://github.com/wekan/wekan/wiki/FAQ#why-am-i-called-a-spammer) that are mentioned in the FAQ :) + +## About Wekan + +Wekan is an completely [Open Source][open_source] and [Free software][free_software] +collaborative kanban board application with MIT license. + +Whether you’re maintaining a personal todo list, planning your holidays with some friends, +or working in a team on your next revolutionary idea, Kanban boards are an unbeatable tool +to keep your things organized. They give you a visual overview of the current state of your project, +and make you productive by allowing you to focus on the few items that matter the most. + +Since Wekan is a free software, you don’t have to trust us with your data and can +install Wekan on your own computer or server. In fact we encourage you to do +that by providing one-click installation on various platforms. + +- Wekan is used in [most countries of the world](https://snapcraft.io/wekan). +- Wekan largest user has 13k users using Wekan in their company. +- Wekan has been [translated](https://transifex.com/wekan/wekan) to about 50 languages. +- [Features][features]: Wekan has real-time user interface. +- [Platforms][platforms]: Wekan supports many platforms. + Wekan is critical part of new platforms Wekan is currently being integrated to. + +## Requirements + +- 64bit: Linux [Snap](https://github.com/wekan/wekan-snap/wiki/Install) or [Sandstorm](https://sandstorm.io) / + [Mac](https://github.com/wekan/wekan/wiki/Mac) / [Windows](https://github.com/wekan/wekan/wiki/Install-Wekan-from-source-on-Windows). + [More Platforms](https://github.com/wekan/wekan/wiki/Platforms), bundle for RasPi3 ARM and other CPUs where Node.js and MongoDB exists. +- 1 GB RAM minimum free for Wekan. Production server should have minimum total 4 GB RAM. + For thousands of users, for example with [Docker](https://github.com/wekan/wekan/blob/master/docker-compose.yml): 3 frontend servers, + each having 2 CPU and 2 wekan-app containers. One backend wekan-db server with many CPUs. +- Enough disk space and alerts about low disk space. If you run out disk space, MongoDB database gets corrupted. +- SECURITY: Updating to newest Wekan version very often. Please check you do not have automatic updates of Sandstorm or Snap turned off. + Old versions have security issues because of old versions Node.js etc. Only newest Wekan is supported. + Wekan on Sandstorm is not usually affected by any Standalone Wekan (Snap/Docker/Source) security issues. +- [Reporting all new bugs immediately](https://github.com/wekan/wekan/issues). + New features and fixes are added to Wekan [many times a day](https://github.com/wekan/wekan/blob/devel/CHANGELOG.md). +- [Backups](https://github.com/wekan/wekan/wiki/Backup) of Wekan database once a day miminum. + Bugs, updates, users deleting list or card, harddrive full, harddrive crash etc can eat your data. There is no undo yet. + Some bug can cause Wekan board to not load at all, requiring manual fixing of database content. + +## Roadmap and Demo + +[Roadmap][roadmap_wekan] - Public read-only board at Wekan demo. + +[Developer Documentation][dev_docs] + +- There is many companies and individuals contributing code to Wekan, to add features and bugfixes + [many times a day](https://github.com/wekan/wekan/blob/devel/CHANGELOG.md). +- [Please add Add new Feature Requests and Bug Reports immediately](https://github.com/wekan/wekan/issues). +- [Commercial Support](https://wekan.team/commercial-support/). + +We also welcome sponsors for features and bugfixes. +By working directly with Wekan you get the benefit of active maintenance and new features added by growing Wekan developer community. + +## Screenshot + +[More screenshots at Features page](https://github.com/wekan/wekan/wiki/Features) + +[![Screenshot of Wekan][screenshot_wekan]][roadmap_wekan] + +## License + +Wekan is released under the very permissive [MIT license](LICENSE), and made +with [Meteor](https://www.meteor.com). + +[platforms]: https://github.com/wekan/wekan/wiki/Platforms +[dev_docs]: https://github.com/wekan/wekan/wiki/Developer-Documentation +[screenshot_wekan]: https://wekan.github.io/wekan-markdown.png +[features]: https://github.com/wekan/wekan/wiki/Features +[roadmap_wekan]: https://boards.wekan.team/b/D2SzJKZDS4Z48yeQH/wekan-open-source-kanban-board-with-mit-license +[wekan_issues]: https://github.com/wekan/wekan/issues +[wekan_issues]: https://github.com/wekan/wekan/issues +[docker_image]: https://hub.docker.com/r/wekanteam/wekan/ +[travis_badge]: https://travis-ci.org/wekan/wekan.svg?branch=devel +[travis_status]: https://travis-ci.org/wekan/wekan +[wekan_wiki]: https://github.com/wekan/wekan/wiki +[translate_wekan]: https://www.transifex.com/wekan/wekan/ +[open_source]: https://en.wikipedia.org/wiki/Open-source_software +[free_software]: https://en.wikipedia.org/wiki/Free_software +[vanila_badge]: https://vanila.io/img/join-chat-button2.png +[wekan_chat]: https://community.vanila.io/wekan + + +[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fwekan%2Fwekan.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fwekan%2Fwekan?ref=badge_large) diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..03f5e7d --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,129 @@ +Security is very important to us. If you discover any issue regarding security, please disclose +the information responsibly by sending an email to security (at) wekan.team and not by +creating a GitHub issue. We will respond swiftly to fix verifiable security issues. + +We thank you with a place at our hall of fame page, that is +at https://wekan.github.io/hall-of-fame . Others have just posted public GitHub issue, +so they are not at that hall-of-fame page. + +## How should reports be formatted? + +``` +Name: %name +Twitter: %twitter +Bug type: %bugtype +Domain: %domain +Severity: %severity +URL: %url +PoC: %poc +CVSS (optional): %cvss +CWSS (optional): %cwss +``` + +## Who can participate in the program + +Anyone who reports a unique security issue in scope and does not disclose it to +a third party before we have patched and updated may be upon their approval +added to the Wekan Hall of Fame. + +## Which domains are in scope? + +No public domains, because all those are donated to Wekan Open Source project, +and we don't have any permissions to do security scans on those donated servers + +Please don't perform research that could impact other users. Secondly, please keep +the reports short and succinct. If we fail to understand the logics of your bug, we will tell you. + +You can [Install Wekan](https://github.com/wekan/wekan/releases) to your own computer +and scan it's vulnerabilities there. + +## About Wekan versions + +There are only 2 versions of Wekan: Standalone Wekan, and Sandstorm Wekan. + +### Standalone Wekan Security + +Standalone Wekan includes all non-Sandstorm platforms. Some Standalone Wekan platforms +like Snap and Docker have their own specific sandboxing etc features. + +Standalone Wekan by default does not load any files from Internet, like fonts, CSS, etc. +This also means all Standalone Wekan functionality works in offline local networks. +Wekan is used by companies that have [thousands of users](https://github.com/wekan/wekan/wiki/AWS) and at healthcare. + +Wekan uses xss package for input fields like cards, as you can see from +[package.json](https://github.com/wekan/wekan/blob/devel/package.json). Other used versions can be seen from +[Meteor versions file](https://github.com/wekan/wekan/blob/devel/.meteor/versions). +Forms can include markdown links, html, image tags etc like you see at https://wekan.github.io . +It's possible to add attachments to cards, and markdown/html links to files. + +Wekan attachments are not accessible without logging in. Import from Trello works by copying +Trello export JSON to Wekan Trello import page, and in Trello JSON file there is direct links to all publicly +accessible Trello attachment files, that Standalone Wekan downloads directly to Wekan MongoDB database in +[CollectionFS](https://github.com/wekan/wekan/pull/875) format. When Wekan board is exported in +Wekan JSON format, all board attachments are included in Wekan JSON file as base64 encoded text. +That Wekan JSON format file can be imported to Sandstorm Wekan with all the attachments, when we get +latest Wekan version working on Sandstorm, only couple of bugs are left before that. In Sandstorm it's not +possible yet to import from Trello with attachments, because Wekan does not implement Sandstorm-compatible +access to outside of Wekan grain. + +Standalone Wekan only has password auth currently, there is work in progress to add +[oauth2](https://github.com/wekan/wekan/pull/1578), [Openid](https://github.com/wekan/wekan/issues/538), +[LDAP](https://github.com/wekan/wekan/issues/119) etc. If you need more login security for Standalone Wekan now, +it's possible add additional [Google Auth proxybouncer](https://github.com/wekan/wekan/wiki/Let's-Encrypt-and-Google-Auth) in front of password auth, and then use Google Authenticator for Google Auth. Standalone Wekan does have [brute force protection with eluck:accounts-lockout and browser-policy clickjacking protection](https://github.com/wekan/wekan/blob/devel/CHANGELOG.md#v080-2018-04-04-wekan-release). You can also optionally use some [WAF](https://en.wikipedia.org/wiki/Web_application_firewall) +like for example [AWS WAF](https://aws.amazon.com/waf/). + +[All Wekan Platforms](https://github.com/wekan/wekan/wiki/Platforms) + +### Sandstorm Wekan Security + +On Sandstorm platform using environment variable Standalone Wekan features like Admin Panel etc are +turned off, because Sandstorm platform provides SSO for all apps running on Sandstorm. + +[Sandstorm](https://sandstorm.io) is separate Open Source platform that has been +[security audited](https://sandstorm.io/news/2017-03-02-security-review) and found bugs fixed. +Sandstorm also has passwordless login, LDAP, SAML, Google etc auth options already. +At Sandstorm code is read-only and signed by app maintainers, only grain content can be modified. +Wekan at Sandstorm runs in sandboxed grain, it does not have access elsewhere without user-visible +PowerBox request or opening randomly-generated API key URL. +Also read [Sandstorm Security Practices](https://docs.sandstorm.io/en/latest/using/security-practices/) and +[Sandstorm Security non-events](https://docs.sandstorm.io/en/latest/using/security-non-events/). +For Sandstorm specific security issues you can contact [kentonv](https://github.com/kentonv) by email. + +## What Wekan bugs are eligible? + +Any typical web security bugs. If any of the previously mentioned is somehow problematic and +a security issue, we'd like to know about it, and also how to fix it: + +- Cross-site Scripting +- Open redirect +- Cross-site request forgery +- File inclusion +- Authentication bypass +- Server-side code execution + +## What Wekan bugs are NOT eligible? + +Typical already known or "no impact" bugs such as: + +- Brute force password guessign. Currently there is + [brute force protection with eluck:accounts-lockout](https://github.com/wekan/wekan/blob/devel/CHANGELOG.md#v080-2018-04-04-wekan-release). +- Security issues related to that Wekan uses Meteor 1.6.0.1 related packages, and upgrading to newer + Meteor 1.6.1 is complicated process that requires lots of changes to many dependency packages. + Upgrading [has been tried many times, spending a lot of time](https://github.com/meteor/meteor/issues/9609) + but there still is issues. Helping with package upgrades is very welcome. +- [Wekan API old tokens not replaced correctly](https://github.com/wekan/wekan/issues/1437) +- Missing Cookie flags on non-session cookies or 3rd party cookies +- Logout CSRF +- Social engineering +- Denial of service +- SSL BEAST/CRIME/etc. Wekan does not have SSL built-in, it uses Caddy/Nginx/Apache etc at front. + Integrated Caddy support is updated often. +- Email spoofing, SPF, DMARC & DKIM. Wekan does not include email server. + +Wekan is Open Source with MIT license, and free to use also for commercial use. +We welcome all fixes to improve security by email to security (at) wekan.team . + +## Bonus Points + +If your Responsible Security Disclosure includes code for fixing security issue, +you get bonus points, as seen on [Hall of Fame](https://wekan.github.io/hall-of-fame). diff --git a/Stackerfile.yml b/Stackerfile.yml new file mode 100644 index 0000000..98e3578 --- /dev/null +++ b/Stackerfile.yml @@ -0,0 +1,9 @@ +appId: wekan-public/apps/77b94f60-dec9-0136-304e-16ff53095928 +appVersion: "v4.25.0" +files: + userUploads: + - README.md + userScripts: + build: stacksmith/user-scripts/build.sh + boot: stacksmith/user-scripts/boot.sh + run: stacksmith/user-scripts/run.sh diff --git a/app.env b/app.env new file mode 100755 index 0000000..b047d25 --- /dev/null +++ b/app.env @@ -0,0 +1,3 @@ +#!/bin/bash + +export PACKAGE_DIRS="$(pwd)/packages" diff --git a/app.json b/app.json new file mode 100644 index 0000000..3921dec --- /dev/null +++ b/app.json @@ -0,0 +1,19 @@ +{ + "name": "Wekan", + "description": "The open-source kanban", + "repository": "https://github.com/wekan/wekan", + "logo": "https://raw.githubusercontent.com/wekan/wekan/master/meta/icons/wekan-150.png", + "keywords": ["productivity", "tool", "team", "kanban"], + "website": "https://wekan.github.io", + "env": { + "BUILDPACK_URL": "https://github.com/AdmitHub/meteor-buildpack-horse.git", + "ROOT_URL": { + "description": "IMPORTANT! Please replace with the value provided on the top. This will be the full URL of your Wekan app.", + "value": "https://.herokuapp.com" + } + }, + "addons": [ + "mongolab", + "logentries" + ] +} diff --git a/client/00-startup.js b/client/00-startup.js new file mode 100644 index 0000000..4a717b6 --- /dev/null +++ b/client/00-startup.js @@ -0,0 +1,6 @@ +// PWA +if ('serviceWorker' in navigator) { + window.addEventListener('load', function() { + navigator.serviceWorker.register('/pwa-service-worker.js'); + }); +} diff --git a/client/components/activities/activities.jade b/client/components/activities/activities.jade new file mode 100644 index 0000000..77acd6a --- /dev/null +++ b/client/components/activities/activities.jade @@ -0,0 +1,208 @@ +template(name="activities") + .activities.js-sidebar-activities + //- We should use Template.dynamic here but there is a bug with + //- blaze-components: https://github.com/peerlibrary/meteor-blaze-components/issues/30 + if $eq mode "board" + +boardActivities + else + +cardActivities + +template(name="boardActivities") + each activityData in currentBoard.activities + +activity(activity=activityData card=card mode=mode) + +template(name="cardActivities") + each activityData in currentCard.activities + +activity(activity=activityData card=card mode=mode) + +template(name="activity") + .activity + +userAvatar(userId=activity.user._id) + p.activity-desc + +memberName(user=activity.user) + + //- attachment activity ------------------------------------------------- + if($eq activity.activityType 'deleteAttachment') + | {{{_ 'activity-delete-attach' cardLink}}}. + + if($eq activity.activityType 'addAttachment') + | {{{_ 'activity-attached' attachmentLink cardLink}}}. + if($neq mode 'board') + if activity.attachment.isImage + img.attachment-image-preview(src=activity.attachment.url) + + //- board activity ------------------------------------------------------ + if($eq mode 'board') + if($eq activity.activityType 'createBoard') + | {{{_ 'activity-created' boardLabelLink}}}. + + if($eq activity.activityType 'importBoard') + | {{{_ 'activity-imported-board' boardLabelLink sourceLink}}}. + + if($eq activity.activityType 'addBoardMember') + | {{{_ 'activity-added' memberLink boardLabelLink}}}. + + if($eq activity.activityType 'removeBoardMember') + | {{{_ 'activity-excluded' memberLink boardLabelLink}}}. + + //- card activity ------------------------------------------------------- + if($eq activity.activityType 'createCard') + if($eq mode 'card') + | {{{_ 'activity-added' cardLabelLink (sanitize activity.listName)}}}. + else + | {{{_ 'activity-added' cardLabelLink boardLabelLink}}}. + + if($eq activity.activityType 'importCard') + | {{{_ 'activity-imported' cardLink boardLabelLink sourceLink}}}. + + if($eq activity.activityType 'moveCard') + | {{{_ 'activity-moved' cardLabelLink (sanitize activity.oldList.title) (sanitize activity.list.title)}}}. + + if($eq activity.activityType 'moveCardBoard') + | {{{_ 'activity-moved' cardLink (sanitize activity.oldBoardName) (sanitize activity.boardName)}}}. + + if($eq activity.activityType 'archivedCard') + | {{{_ 'activity-archived' cardLink}}}. + + if($eq activity.activityType 'restoredCard') + | {{{_ 'activity-sent' cardLink boardLabelLink}}}. + + //- checklist activity -------------------------------------------------- + if($eq activity.activityType 'addChecklist') + | {{{_ 'activity-checklist-added' cardLink}}}. + if($eq mode 'card') + .activity-checklist + +viewer + = activity.checklist.title + else + a.activity-checklist(href="{{ activity.card.absoluteUrl }}") + +viewer + = activity.checklist.title + + if($eq activity.activityType 'removedChecklist') + | {{{_ 'activity-checklist-removed' cardLink}}}. + + if($eq activity.activityType 'completeChecklist') + | {{{_ 'activity-checklist-completed' (sanitize activity.checklist.title) cardLink}}}. + + if($eq activity.activityType 'uncompleteChecklist') + | {{{_ 'activity-checklist-uncompleted' (sanitize activity.checklist.title) cardLink}}}. + + if($eq activity.activityType 'checkedItem') + | {{{_ 'activity-checked-item' (sanitize checkItem) (sanitize activity.checklist.title) cardLink}}}. + + if($eq activity.activityType 'uncheckedItem') + | {{{_ 'activity-unchecked-item' (sanitize checkItem) (sanitize activity.checklist.title) cardLink}}}. + + if($eq activity.activityType 'addChecklistItem') + | {{{_ 'activity-checklist-item-added' (sanitize activity.checklist.title) cardLink}}}. + .activity-checklist(href="{{ activity.card.absoluteUrl }}") + +viewer + = activity.checklistItem.title + + if($eq activity.activityType 'removedChecklistItem') + | {{{_ 'activity-checklist-item-removed' (sanitize activity.checklist.title) cardLink}}}. + + //- comment activity ---------------------------------------------------- + if($eq mode 'card') + //- if we are in card mode we display the comment in a way that it + //- can be edited by the owner + if($eq activity.activityType 'addComment') + +inlinedForm(classNames='js-edit-comment') + +editor(autofocus=true) + = activity.comment.text + .edit-controls + button.primary(type="submit") {{_ 'edit'}} + else + .activity-comment + +viewer + = activity.comment.text + span(title=activity.createdAt).activity-meta {{ moment activity.createdAt }} + if ($eq currentUser._id activity.comment.userId) + = ' - ' + a.js-open-inlined-form {{_ "edit"}} + = ' - ' + a.js-delete-comment {{_ "delete"}} + + if($eq activity.activityType 'deleteComment') + | {{{_ 'activity-deleteComment' currentData.commentId}}}. + + if($eq activity.activityType 'editComment') + | {{{_ 'activity-editComment' currentData.commentId}}}. + else + //- if we are not in card mode we only display a summary of the comment + if($eq activity.activityType 'addComment') + | {{{_ 'activity-on' cardLink}}} + a.activity-comment(href="{{ activity.card.absoluteUrl }}") + +viewer + = activity.comment.text + + //- customField activity ------------------------------------------------ + if($eq mode 'board') + if($eq activity.activityType 'createCustomField') + | {{_ 'activity-customfield-created' customField}}. + + if($eq activity.activityType 'setCustomField') + | {{{_ 'activity-set-customfield' (sanitize lastCustomField) (sanitize lastCustomFieldValue) cardLink}}}. + + if($eq activity.activityType 'unsetCustomField') + | {{{_ 'activity-unset-customfield' (sanitize lastCustomField) cardLink}}}. + + //- label activity ------------------------------------------------------ + if($eq activity.activityType 'addedLabel') + | {{{_ 'activity-added-label' (sanitize lastLabel) cardLink}}}. + + if($eq activity.activityType 'removedLabel') + | {{{_ 'activity-removed-label' (sanitize lastLabel) cardLink}}}. + + //- list activity ------------------------------------------------------- + if($neq mode 'card') + if($eq activity.activityType 'createList') + | {{{_ 'activity-added' (sanitize listLabel) boardLabelLink}}}. + + if($eq activity.activityType 'importList') + | {{{_ 'activity-imported' (sanitize listLabel) boardLabelLink sourceLink}}}. + + if($eq activity.activityType 'removeList') + | {{{_ 'activity-removed' (sanitize activity.title) boardLabelLink}}}. + + if($eq activity.activityType 'archivedList') + | {{_ 'activity-archived' (sanitize listLabel)}}. + + //- member activity ---------------------------------------------------- + if($eq activity.activityType 'joinMember') + if($eq user._id activity.member._id) + | {{{_ 'activity-joined' cardLink}}}. + else + | {{{_ 'activity-added' memberLink cardLink}}}. + + if($eq activity.activityType 'unjoinMember') + if($eq user._id activity.member._id) + | {{{_ 'activity-unjoined' cardLink}}}. + else + | {{{_ 'activity-removed' memberLink cardLink}}}. + + //- swimlane activity -------------------------------------------------- + if($neq mode 'card') + if($eq activity.activityType 'createSwimlane') + | {{_ 'activity-added' (sanitize activity.swimlane.title) boardLabelLink}}. + + if($eq activity.activityType 'archivedSwimlane') + | {{_ 'activity-archived' (sanitize activity.swimlane.title)}}. + + + //- I don't understand this part ---------------------------------------- + if(currentData.timeKey) + | {{_ activity.activityType }} + = ' ' + i(title=currentData.timeValue).activity-meta {{ moment currentData.timeValue 'LLL' }} + if (currentData.timeOldValue) + = ' ' + | {{{_ "previous_as" }}} + = ' ' + i(title=currentData.timeOldValue).activity-meta {{ moment currentData.timeOldValue 'LLL' }} + = ' @' + else if(currentData.timeValue) + | {{_ activity.activityType currentData.timeValue}} + + span(title=activity.createdAt).activity-meta {{ moment activity.createdAt }} diff --git a/client/components/activities/activities.js b/client/components/activities/activities.js new file mode 100644 index 0000000..83843d1 --- /dev/null +++ b/client/components/activities/activities.js @@ -0,0 +1,246 @@ +import sanitizeXss from 'xss'; + +const activitiesPerPage = 20; + +BlazeComponent.extendComponent({ + onCreated() { + // XXX Should we use ReactiveNumber? + this.page = new ReactiveVar(1); + this.loadNextPageLocked = false; + // TODO is sidebar always available? E.g. on small screens/mobile devices + const sidebar = Sidebar; + sidebar && sidebar.callFirstWith(null, 'resetNextPeak'); + this.autorun(() => { + let mode = this.data().mode; + const capitalizedMode = Utils.capitalize(mode); + let thisId, searchId; + if (mode === 'linkedcard' || mode === 'linkedboard') { + thisId = Session.get('currentCard'); + searchId = Cards.findOne({ _id: thisId }).linkedId; + mode = mode.replace('linked', ''); + } else { + thisId = Session.get(`current${capitalizedMode}`); + searchId = thisId; + } + const limit = this.page.get() * activitiesPerPage; + const user = Meteor.user(); + const hideSystem = user ? user.hasHiddenSystemMessages() : false; + if (searchId === null) return; + + this.subscribe('activities', mode, searchId, limit, hideSystem, () => { + this.loadNextPageLocked = false; + + // TODO the guard can be removed as soon as the TODO above is resolved + if (!sidebar) return; + // If the sibear peak hasn't increased, that mean that there are no more + // activities, and we can stop calling new subscriptions. + // XXX This is hacky! We need to know excatly and reactively how many + // activities there are, we probably want to denormalize this number + // dirrectly into card and board documents. + const nextPeakBefore = sidebar.callFirstWith(null, 'getNextPeak'); + sidebar.calculateNextPeak(); + const nextPeakAfter = sidebar.callFirstWith(null, 'getNextPeak'); + if (nextPeakBefore === nextPeakAfter) { + sidebar.callFirstWith(null, 'resetNextPeak'); + } + }); + }); + }, + loadNextPage() { + if (this.loadNextPageLocked === false) { + this.page.set(this.page.get() + 1); + this.loadNextPageLocked = true; + } + }, +}).register('activities'); + +BlazeComponent.extendComponent({ + checkItem() { + const checkItemId = this.currentData().activity.checklistItemId; + const checkItem = ChecklistItems.findOne({ _id: checkItemId }); + return checkItem && checkItem.title; + }, + + boardLabelLink() { + const data = this.currentData(); + if (data.mode !== 'board') { + return createBoardLink(data.activity.board(), data.activity.listName); + } + return TAPi18n.__('this-board'); + }, + + cardLabelLink() { + const data = this.currentData(); + if (data.mode !== 'card') { + return createCardLink(data.activity.card()); + } + return TAPi18n.__('this-card'); + }, + + cardLink() { + return createCardLink(this.currentData().activity.card()); + }, + + lastLabel() { + const lastLabelId = this.currentData().activity.labelId; + if (!lastLabelId) return null; + const lastLabel = Boards.findOne( + this.currentData().activity.boardId, + ).getLabelById(lastLabelId); + if (lastLabel && (lastLabel.name === undefined || lastLabel.name === '')) { + return lastLabel.color; + } else { + return lastLabel.name; + } + }, + + lastCustomField() { + const lastCustomField = CustomFields.findOne( + this.currentData().activity.customFieldId, + ); + if (!lastCustomField) return null; + return lastCustomField.name; + }, + + lastCustomFieldValue() { + const lastCustomField = CustomFields.findOne( + this.currentData().activity.customFieldId, + ); + if (!lastCustomField) return null; + const value = this.currentData().activity.value; + if ( + lastCustomField.settings.dropdownItems && + lastCustomField.settings.dropdownItems.length > 0 + ) { + const dropDownValue = _.find( + lastCustomField.settings.dropdownItems, + item => { + return item._id === value; + }, + ); + if (dropDownValue) return dropDownValue.name; + } + return value; + }, + + listLabel() { + const activity = this.currentData().activity; + const list = activity.list(); + return (list && list.title) || activity.title; + }, + + sourceLink() { + const source = this.currentData().activity.source; + if (source) { + if (source.url) { + return Blaze.toHTML( + HTML.A( + { + href: source.url, + }, + sanitizeXss(source.system), + ), + ); + } else { + return sanitizeXss(source.system); + } + } + return null; + }, + + memberLink() { + return Blaze.toHTMLWithData(Template.memberName, { + user: this.currentData().activity.member(), + }); + }, + + attachmentLink() { + const attachment = this.currentData().activity.attachment(); + // trying to display url before file is stored generates js errors + return ( + (attachment && + attachment.url({ download: true }) && + Blaze.toHTML( + HTML.A( + { + href: attachment.url({ download: true }), + target: '_blank', + }, + sanitizeXss(attachment.name()), + ), + )) || + sanitizeXss(this.currentData().activity.attachmentName) + ); + }, + + customField() { + const customField = this.currentData().activity.customField(); + if (!customField) return null; + return customField.name; + }, + + events() { + return [ + { + // XXX We should use Popup.afterConfirmation here + 'click .js-delete-comment'() { + const commentId = this.currentData().activity.commentId; + CardComments.remove(commentId); + }, + 'submit .js-edit-comment'(evt) { + evt.preventDefault(); + const commentText = this.currentComponent() + .getValue() + .trim(); + const commentId = Template.parentData().activity.commentId; + if (commentText) { + CardComments.update(commentId, { + $set: { + text: commentText, + }, + }); + } + }, + }, + ]; + }, +}).register('activity'); + +Template.activity.helpers({ + sanitize(value) { + return sanitizeXss(value); + }, +}); + +function createCardLink(card) { + if (!card) return ''; + return ( + card && + Blaze.toHTML( + HTML.A( + { + href: card.absoluteUrl(), + class: 'action-card', + }, + sanitizeXss(card.title), + ), + ) + ); +} + +function createBoardLink(board, list) { + let text = board.title; + if (list) text += `: ${list}`; + return ( + board && + Blaze.toHTML( + HTML.A( + { + href: board.absoluteUrl(), + class: 'action-board', + }, + sanitizeXss(text), + ), + ) + ); +} diff --git a/client/components/activities/activities.styl b/client/components/activities/activities.styl new file mode 100644 index 0000000..f3b1acd --- /dev/null +++ b/client/components/activities/activities.styl @@ -0,0 +1,48 @@ +@import 'nib' + +.activity-title + margin: 0 0.5em 0.8em + display: flex + justify-content:space-between + +.activities + clear: both + + .activity + margin: 0.5px 0 + display: flex + + .member + width: 24px + height: @width + + .activity-desc + word-wrap: break-word + overflow: hidden + flex: 1 + align-self: center + margin: 0 + margin-left: 3px + overflow: hidden; + word-break: break-word; + + .activity-comment + display: block + border-radius: 3px + background: white + text-decoration: none + box-shadow: 0 1px 2px rgba(0,0,0,.2) + margin-top: 5px + padding: 5px + + .activity-checklist + display: block + border-radius: 3px + background: white + text-decoration: none + box-shadow: 0 1px 2px rgba(0,0,0,.2) + margin-top: 5px + padding: 5px + .activity-meta + font-size: 0.8em + color: darken(white, 40%) diff --git a/client/components/activities/comments.jade b/client/components/activities/comments.jade new file mode 100644 index 0000000..405778d --- /dev/null +++ b/client/components/activities/comments.jade @@ -0,0 +1,9 @@ +template(name="commentForm") + .new-comment.js-new-comment( + class="{{#if commentFormIsOpen}}is-open{{/if}}") + +userAvatar(userId=currentUser._id) + form.js-new-comment-form + +editor(class="js-new-comment-input") + | {{getUnsavedValue 'cardComment' currentCard._id}} + .add-controls + button.primary.confirm.clear.js-add-comment(type="submit") {{_ 'comment'}} diff --git a/client/components/activities/comments.js b/client/components/activities/comments.js new file mode 100644 index 0000000..50ca019 --- /dev/null +++ b/client/components/activities/comments.js @@ -0,0 +1,94 @@ +const commentFormIsOpen = new ReactiveVar(false); + +BlazeComponent.extendComponent({ + onDestroyed() { + commentFormIsOpen.set(false); + }, + + commentFormIsOpen() { + return commentFormIsOpen.get(); + }, + + getInput() { + return this.$('.js-new-comment-input'); + }, + + events() { + return [ + { + 'submit .js-new-comment-form'(evt) { + const input = this.getInput(); + const text = input.val().trim(); + const card = this.currentData(); + let boardId = card.boardId; + let cardId = card._id; + if (card.isLinkedCard()) { + boardId = Cards.findOne(card.linkedId).boardId; + cardId = card.linkedId; + } + if (text) { + CardComments.insert({ + text, + boardId, + cardId, + }); + resetCommentInput(input); + Tracker.flush(); + autosize.update(input); + input.trigger('submitted'); + } + evt.preventDefault(); + }, + // Pressing Ctrl+Enter should submit the form + 'keydown form textarea'(evt) { + if (evt.keyCode === 13 && (evt.metaKey || evt.ctrlKey)) { + this.find('button[type=submit]').click(); + } + }, + }, + ]; + }, +}).register('commentForm'); + +// XXX This should be a static method of the `commentForm` component +function resetCommentInput(input) { + input.val(''); // without manually trigger, input event won't be fired + input.blur(); + commentFormIsOpen.set(false); +} + +// XXX This should handled a `onUpdated` callback of the `commentForm` component +// but since this callback doesn't exists, and `onRendered` is not called if the +// data is not destroyed and recreated, we simulate the desired callback using +// Tracker.autorun to register the component dependencies, and re-run when these +// dependencies are invalidated. A better component API would remove this hack. +Tracker.autorun(() => { + Session.get('currentCard'); + Tracker.afterFlush(() => { + autosize.update($('.js-new-comment-input')); + }); +}); + +EscapeActions.register( + 'inlinedForm', + () => { + const draftKey = { + fieldName: 'cardComment', + docId: Session.get('currentCard'), + }; + const commentInput = $('.js-new-comment-input'); + const draft = commentInput.val().trim(); + if (draft) { + UnsavedEdits.set(draftKey, draft); + } else { + UnsavedEdits.reset(draftKey); + } + resetCommentInput(commentInput); + }, + () => { + return commentFormIsOpen.get(); + }, + { + noClickEscapeOn: '.js-new-comment', + }, +); diff --git a/client/components/activities/comments.styl b/client/components/activities/comments.styl new file mode 100644 index 0000000..ccf24b7 --- /dev/null +++ b/client/components/activities/comments.styl @@ -0,0 +1,68 @@ +@import 'nib' + +.new-comment + position: relative + margin: 0 0 20px 38px + + .member + opacity: .7 + position: absolute + top: 1px + left: -38px + + &.is-open + .member + opacity: 1 + + .helper + display: inline-block + + textarea + min-height: 100px + color: #4d4d4d + cursor: auto + overflow: hidden + word-wrap: break-word + + .too-long + margin-top: 8px + + textarea + background-color: #fff + border: 0 + box-shadow: 0 1px 2px rgba(0, 0, 0, .23) + color: #8c8c8c + height: 36px + margin: 4px 4px 6px 0 + padding: 9px 11px + width: 100% + + &:hover, + &:is-open + background-color: #fff + box-shadow: 0 1px 3px rgba(0, 0, 0, .33) + border: 0 + cursor: pointer + + &:is-open + cursor: auto + +.comment-item + background-color: #fff + border: 0 + box-shadow: 0 1px 2px rgba(0, 0, 0, .23) + color: #8c8c8c + height: 36px + margin: 4px 4px 6px 0 + width: 92% + + &:hover + background: darken(white, 12%) + + &.add-comment + display: flex + margin: 5px + + a + display: block + margin: auto diff --git a/client/components/boards/boardArchive.jade b/client/components/boards/boardArchive.jade new file mode 100644 index 0000000..5d291f0 --- /dev/null +++ b/client/components/boards/boardArchive.jade @@ -0,0 +1,22 @@ +template(name="archivedBoards") + h2 + i.fa.fa-archive + | {{_ 'archived-boards'}} + + ul.archived-lists + each archivedBoards + li.archived-lists-item + div.board-header-btns + button.board-header-btn.js-delete-board + i.fa.fa-trash-o + | {{_ 'delete-board'}} + button.board-header-btn.js-restore-board + i.fa.fa-undo + | {{_ 'restore-board'}} + = title + else + li.no-items-message {{_ 'no-archived-boards'}} + +template(name="boardDeletePopup") + p {{_ 'delete-board-confirm-popup'}} + button.js-confirm.negate.full(type="submit") {{_ 'delete'}} diff --git a/client/components/boards/boardArchive.js b/client/components/boards/boardArchive.js new file mode 100644 index 0000000..5a5cf77 --- /dev/null +++ b/client/components/boards/boardArchive.js @@ -0,0 +1,48 @@ +BlazeComponent.extendComponent({ + onCreated() { + this.subscribe('archivedBoards'); + }, + + archivedBoards() { + return Boards.find( + { archived: true }, + { + sort: { sort: 1 /* boards default sorting */ }, + }, + ); + }, + + events() { + return [ + { + 'click .js-restore-board'() { + // TODO : Make isSandstorm variable global + const isSandstorm = + Meteor.settings && + Meteor.settings.public && + Meteor.settings.public.sandstorm; + if (isSandstorm && Session.get('currentBoard')) { + const currentBoard = Boards.findOne(Session.get('currentBoard')); + currentBoard.archive(); + } + const board = this.currentData(); + board.restore(); + Utils.goBoardId(board._id); + }, + 'click .js-delete-board': Popup.afterConfirm('boardDelete', function() { + Popup.close(); + const isSandstorm = + Meteor.settings && + Meteor.settings.public && + Meteor.settings.public.sandstorm; + if (isSandstorm && Session.get('currentBoard')) { + const currentBoard = Boards.findOne(Session.get('currentBoard')); + Boards.remove(currentBoard._id); + } + Boards.remove(this._id); + FlowRouter.go('home'); + }), + }, + ]; + }, +}).register('archivedBoards'); diff --git a/client/components/boards/boardBody.jade b/client/components/boards/boardBody.jade new file mode 100644 index 0000000..c11d0bd --- /dev/null +++ b/client/components/boards/boardBody.jade @@ -0,0 +1,42 @@ +template(name="board") + if isBoardReady.get + if currentBoard + if onlyShowCurrentCard + +cardDetails(currentCard) + else + +boardBody + else + //-- XXX We need a better error message in case the board has been archived + +message(label="board-not-found") + //-- | {{goHome}} + else + +spinner + +template(name="boardBody") + .board-wrapper(class=currentBoard.colorClass) + +sidebar + .board-canvas.js-swimlanes( + class="{{#if Sidebar.isOpen}}is-sibling-sidebar-open{{/if}}" + class="{{#if MultiSelection.isActive}}is-multiselection-active{{/if}}" + class="{{#if draggingActive.get}}is-dragging-active{{/if}}") + if showOverlay.get + .board-overlay + if currentBoard.isTemplatesBoard + each currentBoard.swimlanes + +swimlane(this) + else if isViewSwimlanes + each currentBoard.swimlanes + +swimlane(this) + else if isViewLists + +listsGroup(currentBoard) + else if isViewCalendar + +calendarView + else + +listsGroup(currentBoard) + +template(name="calendarView") + if isViewCalendar + .calendar-view.swimlane + if currentCard + +cardDetails(currentCard) + +fullcalendar(calendarOptions) diff --git a/client/components/boards/boardBody.js b/client/components/boards/boardBody.js new file mode 100644 index 0000000..fbe09f6 --- /dev/null +++ b/client/components/boards/boardBody.js @@ -0,0 +1,423 @@ +import { Cookies } from 'meteor/ostrio:cookies'; +const cookies = new Cookies(); +const subManager = new SubsManager(); +const { calculateIndex } = Utils; +const swimlaneWhileSortingHeight = 150; + +BlazeComponent.extendComponent({ + onCreated() { + this.isBoardReady = new ReactiveVar(false); + + // The pattern we use to manually handle data loading is described here: + // https://kadira.io/academy/meteor-routing-guide/content/subscriptions-and-data-management/using-subs-manager + // XXX The boardId should be readed from some sort the component "props", + // unfortunatly, Blaze doesn't have this notion. + this.autorun(() => { + const currentBoardId = Session.get('currentBoard'); + if (!currentBoardId) return; + const handle = subManager.subscribe('board', currentBoardId, false); + Tracker.nonreactive(() => { + Tracker.autorun(() => { + this.isBoardReady.set(handle.ready()); + }); + }); + }); + }, + + onlyShowCurrentCard() { + return Utils.isMiniScreen() && Session.get('currentCard'); + }, + + goHome() { + FlowRouter.go('home'); + }, +}).register('board'); + +BlazeComponent.extendComponent({ + onCreated() { + this.showOverlay = new ReactiveVar(false); + this.draggingActive = new ReactiveVar(false); + this._isDragging = false; + // Used to set the overlay + this.mouseHasEnterCardDetails = false; + + // fix swimlanes sort field if there are null values + const currentBoardData = Boards.findOne(Session.get('currentBoard')); + const nullSortSwimlanes = currentBoardData.nullSortSwimlanes(); + if (nullSortSwimlanes.count() > 0) { + const swimlanes = currentBoardData.swimlanes(); + let count = 0; + swimlanes.forEach(s => { + Swimlanes.update(s._id, { + $set: { + sort: count, + }, + }); + count += 1; + }); + } + + // fix lists sort field if there are null values + const nullSortLists = currentBoardData.nullSortLists(); + if (nullSortLists.count() > 0) { + const lists = currentBoardData.lists(); + let count = 0; + lists.forEach(l => { + Lists.update(l._id, { + $set: { + sort: count, + }, + }); + count += 1; + }); + } + }, + onRendered() { + const boardComponent = this; + const $swimlanesDom = boardComponent.$('.js-swimlanes'); + + $swimlanesDom.sortable({ + tolerance: 'pointer', + appendTo: '.board-canvas', + helper(evt, item) { + const helper = $(`

`); + helper.append(item.clone()); + // Also grab the list of lists of cards + const list = item.next(); + helper.append(list.clone()); + return helper; + }, + items: '.swimlane:not(.placeholder)', + placeholder: 'swimlane placeholder', + distance: 7, + start(evt, ui) { + const listDom = ui.placeholder.next('.js-swimlane'); + const parentOffset = ui.item.parent().offset(); + + ui.placeholder.height(ui.helper.height()); + EscapeActions.executeUpTo('popup-close'); + listDom.addClass('moving-swimlane'); + boardComponent.setIsDragging(true); + + ui.placeholder.insertAfter(ui.placeholder.next()); + boardComponent.origPlaceholderIndex = ui.placeholder.index(); + + // resize all swimlanes + headers to be a total of 150 px per row + // this could be achieved by setIsDragging(true) but we want immediate + // result + ui.item + .siblings('.js-swimlane') + .css('height', `${swimlaneWhileSortingHeight - 26}px`); + + // set the new scroll height after the resize and insertion of + // the placeholder. We want the element under the cursor to stay + // at the same place on the screen + ui.item.parent().get(0).scrollTop = + ui.placeholder.get(0).offsetTop + parentOffset.top - evt.pageY; + }, + beforeStop(evt, ui) { + const parentOffset = ui.item.parent().offset(); + const siblings = ui.item.siblings('.js-swimlane'); + siblings.css('height', ''); + + // compute the new scroll height after the resize and removal of + // the placeholder + const scrollTop = + ui.placeholder.get(0).offsetTop + parentOffset.top - evt.pageY; + + // then reset the original view of the swimlane + siblings.removeClass('moving-swimlane'); + + // and apply the computed scrollheight + ui.item.parent().get(0).scrollTop = scrollTop; + }, + stop(evt, ui) { + // To attribute the new index number, we need to get the DOM element + // of the previous and the following card -- if any. + const prevSwimlaneDom = ui.item.prevAll('.js-swimlane').get(0); + const nextSwimlaneDom = ui.item.nextAll('.js-swimlane').get(0); + const sortIndex = calculateIndex(prevSwimlaneDom, nextSwimlaneDom, 1); + + $swimlanesDom.sortable('cancel'); + const swimlaneDomElement = ui.item.get(0); + const swimlane = Blaze.getData(swimlaneDomElement); + + Swimlanes.update(swimlane._id, { + $set: { + sort: sortIndex.base, + }, + }); + + boardComponent.setIsDragging(false); + }, + sort(evt, ui) { + // get the mouse position in the sortable + const parentOffset = ui.item.parent().offset(); + const cursorY = + evt.pageY - parentOffset.top + ui.item.parent().scrollTop(); + + // compute the intended index of the placeholder (we need to skip the + // slots between the headers and the list of cards) + const newplaceholderIndex = Math.floor( + cursorY / swimlaneWhileSortingHeight, + ); + let destPlaceholderIndex = (newplaceholderIndex + 1) * 2; + + // if we are scrolling far away from the bottom of the list + if (destPlaceholderIndex >= ui.item.parent().get(0).childElementCount) { + destPlaceholderIndex = ui.item.parent().get(0).childElementCount - 1; + } + + // update the placeholder position in the DOM tree + if (destPlaceholderIndex !== ui.placeholder.index()) { + if (destPlaceholderIndex < boardComponent.origPlaceholderIndex) { + ui.placeholder.insertBefore( + ui.placeholder + .siblings() + .slice(destPlaceholderIndex - 2, destPlaceholderIndex - 1), + ); + } else { + ui.placeholder.insertAfter( + ui.placeholder + .siblings() + .slice(destPlaceholderIndex - 1, destPlaceholderIndex), + ); + } + } + }, + }); + + this.autorun(() => { + let showDesktopDragHandles = false; + currentUser = Meteor.user(); + if (currentUser) { + showDesktopDragHandles = (currentUser.profile || {}) + .showDesktopDragHandles; + } else if (cookies.has('showDesktopDragHandles')) { + showDesktopDragHandles = true; + } else { + showDesktopDragHandles = false; + } + if (Utils.isMiniScreen() || showDesktopDragHandles) { + $swimlanesDom.sortable({ + handle: '.js-swimlane-header-handle', + }); + } else if (!Utils.isMiniScreen() && !showDesktopDragHandles) { + $swimlanesDom.sortable({ + handle: '.swimlane-header', + }); + } + + // Disable drag-dropping if the current user is not a board member + $swimlanesDom.sortable('option', 'disabled', !userIsMember()); + }); + + function userIsMember() { + return ( + Meteor.user() && + Meteor.user().isBoardMember() && + !Meteor.user().isCommentOnly() + ); + } + + // If there is no data in the board (ie, no lists) we autofocus the list + // creation form by clicking on the corresponding element. + const currentBoard = Boards.findOne(Session.get('currentBoard')); + if (userIsMember() && currentBoard.lists().count() === 0) { + boardComponent.openNewListForm(); + } + }, + + isViewSwimlanes() { + currentUser = Meteor.user(); + if (currentUser) { + return (currentUser.profile || {}).boardView === 'board-view-swimlanes'; + } else { + return cookies.get('boardView') === 'board-view-swimlanes'; + } + }, + + isViewLists() { + currentUser = Meteor.user(); + if (currentUser) { + return (currentUser.profile || {}).boardView === 'board-view-lists'; + } else { + return cookies.get('boardView') === 'board-view-lists'; + } + }, + + isViewCalendar() { + currentUser = Meteor.user(); + if (currentUser) { + return (currentUser.profile || {}).boardView === 'board-view-cal'; + } else { + return cookies.get('boardView') === 'board-view-cal'; + } + }, + + openNewListForm() { + if (this.isViewSwimlanes()) { + this.childComponents('swimlane')[0] + .childComponents('addListAndSwimlaneForm')[0] + .open(); + } else if (this.isViewLists()) { + this.childComponents('listsGroup')[0] + .childComponents('addListForm')[0] + .open(); + } + }, + events() { + return [ + { + // XXX The board-overlay div should probably be moved to the parent + // component. + mouseup() { + if (this._isDragging) { + this._isDragging = false; + } + }, + }, + ]; + }, + + // XXX Flow components allow us to avoid creating these two setter methods by + // exposing a public API to modify the component state. We need to investigate + // best practices here. + setIsDragging(bool) { + this.draggingActive.set(bool); + }, + + scrollLeft(position = 0) { + const swimlanes = this.$('.js-swimlanes'); + swimlanes && + swimlanes.animate({ + scrollLeft: position, + }); + }, + + scrollTop(position = 0) { + const swimlanes = this.$('.js-swimlanes'); + swimlanes && + swimlanes.animate({ + scrollTop: position, + }); + }, +}).register('boardBody'); + +BlazeComponent.extendComponent({ + onRendered() { + this.autorun(function() { + $('#calendar-view').fullCalendar('refetchEvents'); + }); + }, + calendarOptions() { + return { + id: 'calendar-view', + defaultView: 'agendaDay', + editable: true, + timezone: 'local', + header: { + left: 'title today prev,next', + center: + 'agendaDay,listDay,timelineDay agendaWeek,listWeek,timelineWeek month,listMonth', + right: '', + }, + // height: 'parent', nope, doesn't work as the parent might be small + height: 'auto', + /* TODO: lists as resources: https://fullcalendar.io/docs/vertical-resource-view */ + navLinks: true, + nowIndicator: true, + businessHours: { + // days of week. an array of zero-based day of week integers (0=Sunday) + dow: [1, 2, 3, 4, 5], // Monday - Friday + start: '8:00', + end: '18:00', + }, + locale: TAPi18n.getLanguage(), + events(start, end, timezone, callback) { + const currentBoard = Boards.findOne(Session.get('currentBoard')); + const events = []; + const pushEvent = function(card, title, start, end, extraCls) { + start = start || card.startAt; + end = end || card.endAt; + title = title || card.title; + const className = + (extraCls ? `${extraCls} ` : '') + + (card.color ? `calendar-event-${card.color}` : ''); + events.push({ + id: card._id, + title, + start, + end: end || card.endAt, + allDay: + Math.abs(end.getTime() - start.getTime()) / 1000 === 24 * 3600, + url: FlowRouter.url('card', { + boardId: currentBoard._id, + slug: currentBoard.slug, + cardId: card._id, + }), + className, + }); + }; + currentBoard + .cardsInInterval(start.toDate(), end.toDate()) + .forEach(function(card) { + pushEvent(card); + }); + currentBoard + .cardsDueInBetween(start.toDate(), end.toDate()) + .forEach(function(card) { + pushEvent( + card, + `${card.title} ${TAPi18n.__('card-due')}`, + card.dueAt, + new Date(card.dueAt.getTime() + 36e5), + ); + }); + events.sort(function(first, second) { + return first.id > second.id ? 1 : -1; + }); + callback(events); + }, + eventResize(event, delta, revertFunc) { + let isOk = false; + const card = Cards.findOne(event.id); + + if (card) { + card.setEnd(event.end.toDate()); + isOk = true; + } + if (!isOk) { + revertFunc(); + } + }, + eventDrop(event, delta, revertFunc) { + let isOk = false; + const card = Cards.findOne(event.id); + if (card) { + // TODO: add a flag for allDay events + if (!event.allDay) { + card.setStart(event.start.toDate()); + card.setEnd(event.end.toDate()); + isOk = true; + } + } + if (!isOk) { + revertFunc(); + } + }, + }; + }, + isViewCalendar() { + currentUser = Meteor.user(); + if (currentUser) { + return (currentUser.profile || {}).boardView === 'board-view-cal'; + } else { + return cookies.get('boardView') === 'board-view-cal'; + } + }, +}).register('calendarView'); diff --git a/client/components/boards/boardBody.styl b/client/components/boards/boardBody.styl new file mode 100644 index 0000000..32207d8 --- /dev/null +++ b/client/components/boards/boardBody.styl @@ -0,0 +1,133 @@ +@import 'nib' + +position() + if arguments[0] == cover || arguments[0] == fixed-cover + if arguments[0] == cover + position: absolute + else + position: fixed + left: 0 + right: 0 + top: 0 + bottom: 0 + else + position: arguments + +.board-wrapper + position: cover + overflow-x: hidden + overflow-y: hidden + + .board-canvas + position: cover + transition: margin .1s + overflow-y: auto + + &.is-sibling-sidebar-open + margin-right: 248px + + .board-overlay + position: fixed-cover + top: -100px + right: -400px + background: black + opacity: 0.33 + animation: fadeIn 0.2s + z-index: 16 + + &.is-dragging-active + .open-minicard-composer, + .minicard-wrapper.is-checked + display: none + +@media screen and (max-width: 800px) + .board-wrapper + + .board-canvas + + .swimlane + border-bottom: 1px solid #CCC + display: flex + flex-direction: column + margin: 0 + padding: 0 0px 0px 0 + overflow-x: hidden + overflow-y: auto + +calendar-event-color(background, borderColor, color...) + background: background !important + border-color: borderColor + if color + color: color !important //overwrite text for better visibility + +.calendar-event-green + calendar-event-color(#3cb500, #2a8000, #ffffff) //White text for better visibility + +.calendar-event-yellow + calendar-event-color(#fad900, #c7ac00, #000) //Black text for better visibility + +.calendar-event-orange + calendar-event-color(#ff9f19, #cc7c14, #000) //Black text for better visibility + +.calendar-event-red + calendar-event-color(#eb4646, #b83737, #ffffff) //White text for better visibility + +.calendar-event-purple + calendar-event-color(#a632db, #7d26a6, #ffffff) //White text for better visibility + +.calendar-event-blue + calendar-event-color(#0079bf, #005a8a, #ffffff) //White text for better visibility + +.calendar-event-pink + calendar-event-color(#ff78cb, #cc62a3, #000) //Black text for better visibility + +.calendar-event-sky + calendar-event-color(#00c2e0, #0094ab, #ffffff) //White text for better visibility + +.calendar-event-black + calendar-event-color(#4d4d4d, #1a1a1a, #ffffff) //White text for better visibility + +.calendar-event-lime + calendar-event-color(#51e898, #3eb375, #000) //Black text for better visibility + +.calendar-event-silver + calendar-event-color(#c0c0c0, #8c8c8c, #000) //Black text for better visibility + +.calendar-event-peachpuff + calendar-event-color(#ffdab9, #ccaf95, #000) //Black text for better visibility + +.calendar-event-crimson + calendar-event-color(#dc143c, #a8112f, #ffffff) //White text for better visibility + +.calendar-event-plum + calendar-event-color(#dda0dd, #a87ba8, #000) //Black text for better visibility + +.calendar-event-darkgreen + calendar-event-color(#006400, #003000, #ffffff) //White text for better visibility + +.calendar-event-slateblue + calendar-event-color(#6a5acd, #4f4399, #ffffff) //White text for better visibility + +.calendar-event-magenta + calendar-event-color(#ff00ff, #cc00cc, #ffffff) //White text for better visibility + +.calendar-event-gold + calendar-event-color(#ffd700, #ccaa00, #000) //Black text for better visibility + +.calendar-event-navy + calendar-event-color(#000080, #000033, #ffffff) //White text for better visibility + +.calendar-event-gray + calendar-event-color(#808080, #333333, #ffffff) //White text for better visibility + +.calendar-event-saddlebrown + calendar-event-color(#8b4513, #572b0c, #ffffff) //White text for better visibility + +.calendar-event-paleturquoise + calendar-event-color(#afeeee, #8ababa, #000) //Black text for better visibility + +.calendar-event-mistyrose + calendar-event-color(#ffe4e1, #ccb8b6, #000) //Black text for better visibility + +.calendar-event-indigo + calendar-event-color(#4b0082, #2b004d, #ffffff) //White text for better visibility diff --git a/client/components/boards/boardColors.styl b/client/components/boards/boardColors.styl new file mode 100644 index 0000000..cd3f69b --- /dev/null +++ b/client/components/boards/boardColors.styl @@ -0,0 +1,741 @@ +// We define a set of six board colors that we took from the FlatUI palette. +// http://flatuicolors.com +// +// XXX Centralizing all these properties in a single file just because their +// value is derived from the same color, doesn't make any sense. We should +// create a mixin/macro that would generate 6 versions of a given property and +// dispatch this list in the other stylus files. +setBoardColor(color) + &#header, + &.sk-spinner div, + .board-backgrounds-list &.background-box, + .board-list & a + background-color: color + + .is-selected .minicard + border-left: 3px solid color + + button[type=submit].primary, input[type=submit].primary + background-color: darken(color, 20%) + + &.pop-over .pop-over-list li a:not(.disabled):hover, + .sidebar .sidebar-content .sidebar-btn:hover, + .sidebar-list li a:hover + background-color: lighten(color, 10%) + + &#header ul li.current, &#header-quick-access ul li.current + border-bottom: 2px solid lighten(color, 10%) + + &#header-quick-access + background: darken(color, 10%) + color: white + + &#header #header-main-bar .board-header-btn.emphasis + background: complement(color) + + &:hover, + .board-header-btn-close + background: darken(complement(color), 10%) + + &:hover .board-header-btn-close + background: darken(complement(color), 20%) + + .materialCheckBox.is-checked + border-bottom: 2px solid color + border-right: 2px solid color + + .is-multiselection-active .multi-selection-checkbox + &.is-checked + .minicard + background: lighten(color, 90%) + + &:not(.is-checked) + .minicard:hover:not(.minicard-composer) + background: lighten(color, 97%) + + .toggle-label + + &:after + background-color: darken(color, 20%) + + .toggle-switch:checked ~ .toggle-label + background-color: lighten(color, 20%) + + &:after + background-color: darken(color, 20%) + + @media screen and (max-width: 800px) + &.pop-over .header + background: color + color: white + + &#header ul li.current, &#header-quick-access ul li.current + border-bottom: 4px solid lighten(color, 20%) + +.board-color-nephritis + setBoardColor(#27AE60) + +.board-color-pomegranate + setBoardColor(#C0392B) + +.board-color-belize + setBoardColor(#2980B9) + +.board-color-wisteria + setBoardColor(#8E44AD) + +.board-color-midnight + setBoardColor(#2C3E50) + +.board-color-pumpkin + setBoardColor(#E67E22) + +.board-color-moderatepink + setBoardColor(#CD5A91) + +.board-color-strongcyan + setBoardColor(#00AECC) + +.board-color-limegreen + setBoardColor(#4BBF6B) + +.board-color-dark + setBoardColor(#2C3E51) + + /* Not hidden in dark mode. + card fields: received, start, due, end, members, requested, assigned + .card-details-item.card-details-item-received, + .card-details-item.card-details-item-start, + .card-details-item.card-details-item-due, + .card-details-item.card-details-item-end, + .card-details-item.card-details-item-members, + .card-details-item.card-details-item-name { display:none; } + .card-details-items:empty { display:none; } + */ + + // DARK MODE, when dark background mode selected. + // Modified version from https://github.com/wekan/wekan/wiki/Custom-CSS-themes#dark-theme + // In progress, please send pull requests to fix remaining visibility issues. + .ui-sortable, + .swimlane, + .swimlane >.swimlane-header-wrap, + .swimlane >.list.js-list, + .swimlane >.list-composer.js-list-composer, + .list-body, + .list, + .list-composer, + .sidebar-content, + .card-details + background-color:#2C3E50 + + .card-details h3, + .card-details-items, + .card-checklist-items .ui-sortable, + .card-subtasks-items, + .activities, + .material-toggle-switch + color:#bbbbbb + + .list-header + background-color: #888888 + + .board-widget, + .board-widget-labels, + .board-widget-members + color: #aaaaaa + + /* popup menu titles (boards, swimlanes, lists, cards, labels) */ + .pop-over >.header + display:none; + + /* HIDE UNTIL HOVER -------------------------------------------------- */ + + /* header "+" button */ + #header-quick-access .fa-plus + display:none + #header-quick-access:hover .fa-plus + display:inherit + + /* "add card" links (use visibility rather than display so items don't jump) */ + .open-minicard-composer + visibility:hidden + + .list.js-list:hover .open-minicard-composer + visibility:visible + + .list-header-menu + visibility:hidden + + .list.js-list:hover .list-header-menu + visibility:visible + + /* "add list/swimlane" links (use visibility rather than display so items don't jump) */ + .list.js-list-composer >.list-header + visibility:hidden + + .list.js-list-composer:hover >.list-header + visibility:visible + + /* headers */ + #header-quick-access, #header + background-color:rgba(0,0,0,.75) !important + + #header .board-header-btn:hover + background-color:rgba(255,255,255,0.3) !important + + /* foregrounds: swimlanes, lists */ + .list >.list-header, .swimlane-header + color:rgba(255,255,255,.7) + + /* minicards */ + .minicard + background-color:rgba(255,255,255,.4) + + .minicard-wrapper.is-selected .minicard, + .minicard:hover, + .minicard-composer.js-composer, + .open-minicard-composer:hover + background-color:rgba(255,255,255,.8) !important + color:#000 + + .minicard, .minicard .badge + color:#fff + + .minicard:hover .badge, .minicard-wrapper.is-selected .badge + color:#000 + + /* cards */ + .card-details .card-details-header + background-color:#ccc + + /* sidebar */ + .sidebar-tongue, .sidebar-shadow + background-color:#666 !important + + .sidebar-content h3, .sidebar-content h2, .sidebar-content + color:rgba(255,255,255,.7) !important + +.board-color-relax + setBoardColor(#27AE61) + + // RELAX MODE: light green background, with green background color, + // to help this theme users to relax. + // Colors and emphasis are specific to this Wekan theme contributor's company. + .ui-sortable + background-color:#a7e366 + + .list-header + background-color:#a7e366 + border-bottom: 6px solid #a7e366 + + .list-body + background-color:#a7e366 + + .list + border-left: 1px dotted #000000 + + // Card details text emphasis: black border and white background + // to make it details text field easier to find for RELAX MODE users, + // and focus attention. + .card-details .card-details-items + & ~ .js-open-inlined-form + .viewer + background-color #ffffff !important + padding 15px !important + border 1px solid #000000 !important + word-wrap: break-word + + // When card has comment, emphasis on minicard: + // bigger red comment icon and number of comments, + // to make it easier notice card comments and focus attention. + .minicard .badges .badge + .badge-icon, + .badge-text + &.badge-comment + display: block + border-radius: 4px + padding: 1px 3px + margin-bottom: 0.3rem + color: #ff0000 + background-color: #ffffff + font-weight: bold + font-size: 11pt + +.board-color-corteza + setBoardColor(#568BA2) + + /* + Wekan for Corteza https://cortezaproject.org + + Theme to match Corteza colors from: + https://github.com/cortezaproject/corteza-webapp-messaging/blob/master/src/assets/sass/variables.scss + + // Paths + $fonts_dir : './assets/fonts/'; + $icomoon-font-path: $fonts_dir + 'icomoon' !default; + $icomoon-font-family: "icomoon" !default; + + // Typography + $regular: 'nunito_sansregular'; + $bold: 'nunito_sansbold'; + $semibold: 'nunito_sanssemibold'; + + // Color system + $white: #fff !default; + $black: #000 !default; + $primary: #568ba2; + $secondary: #90A3B1; + $success: #719430; + $warning: #F5D380; + $danger: #E85568; + $light: #F3F3F5; + $dark: #1e2224; + $currentmymessagebgcolor : #a7d0e3; + */ + + //.header-quick-access + // backgroud-color: #568ba2 + + +/* + Alternate "Clear" Styling +*/ +setBoardClear(color1,color2) + //color1: The quick access color + //color2: The main bar color + + &.sk-spinner div, + .board-backgrounds-list &.background-box, + .board-list & a + background: linear-gradient(180deg, color1 0%, color2 100%) + //background: linear-gradient(180deg, rgb(73, 155, 234) 0%, rgb(0, 174, 204) 100%) + + .is-selected .minicard + border-left: 3px solid color1 + + &.pop-over .pop-over-list li a:not(.disabled):hover, + .sidebar .sidebar-content .sidebar-btn:hover, + .sidebar-list li a:hover + background-color: lighten(color1, 10%) + + &#header ul li.current, &#header-quick-access ul li.current + border-bottom: 4px solid lighten(color2, 10%) + + &#header-quick-access + background: darken(color1, 10%) + //background: rgba(66,137,204,1) + color: #FFF + + &#header-quick-access #header-new-board-icon, + &#header-quick-access #header-user-bar, + &#header-quick-access ul li + color: rgba(255,255,255,0.5) + + // The background-color value here is not seen, + // its covered by the background of #header-main-bar + // it's just to aid transitions between boards + &#header + background-color: color2 + border-bottom: 1px solid darken(color2, 20%) + border-top: 1px solid darken(color2, 40%) + + // Since the theme uses a gradient for the header + // and gradients break transitions, it has to be set here + &#header #header-main-bar + background: linear-gradient(180deg, color1 0%, color2 100%) + + &#header #header-main-bar p + margin-bottom: 6px + + &#header #header-main-bar .board-header-btn.emphasis + background: lighten(color2, 10%) + + &:hover, + .board-header-btn-close + background: rgba(0,0,0,0.2) + + &:hover .board-header-btn-close + background: rgba(0,0,0,0.2) + + .materialCheckBox.is-checked + border-bottom: 2px solid color1 + border-right: 2px solid color1 + + .is-multiselection-active .multi-selection-checkbox + &.is-checked + .minicard + background: lighten(color2, 90%) + + &:not(.is-checked) + .minicard:hover:not(.minicard-composer) + background: lighten(color2, 97%) + + .toggle-switch:checked ~ .toggle-label + background-color: lighten(color1, 20%) + + &:after + background-color: darken(color1, 20%) + + .board-canvas + background: linear-gradient(135deg, color1 0%, color2 100%) + + .swimlane + background: none + + .list:first-child + margin-left: 15px + + .list + background: rgba(255,255,255,0.35) + margin: 10px + border: 0 + border-radius: 14px + + .list.list-composer + background: rgba(255,255,255,0.1) + height: min-content + flex: unset + width: 270px + padding-bottom: 16px + + .list.list-composer .open-list-composer + border-radius: 7px + color: rgba(0,0,0,0.3) + padding: 7px 10px + display: block + + .list.list-composer .open-list-composer:hover + box-shadow: 0 1px 2px rgba(0,0,0,.2) + background: rgba(255,255,255,0.7) + color: rgba(0,0,0,0.6) + + .list-header + background-color: rgba(255,255,255,0.25) + border-radius: 14px 14px 0 0 + + .list-header:not([class*="list-header-"]) + border-bottom: 6px solid rgba(255,255,255,0) + + .list-header .list-header-name + color: rgba(0,0,0,0.6) + + .list-body + padding: 11px + + .minicard + border-radius: 7px + padding: 10px 10px 4px 10px + box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.15) + color: #222 + + .card-details + border-radius: 0 0 14px 14px + box-shadow: 0 0 7px 0 rgba(0,0,0,0.5) + margin-left: -10px + + .list-body .open-minicard-composer + border-radius: 7px + color: rgba(0,0,0,.3) + margin-bottom: 11px + + .list-body .open-minicard-composer:hover + background: rgba(255,255,255,0.7) + color: rgba(0,0,0,0.6) + + button[type=submit].primary, input[type=submit].primary + box-shadow: none + background-color: rgba(255,255,255,0.5) + color: rgba(0,0,0,0.55) + border-radius: 7px + border: 0 + + button[type="submit"].primary:hover, input[type="submit"].primary:hover + background-color: rgba(255,255,255,0.7) + color: rgba(0,0,0,0.8) + box-shadow: 0 1px 2px rgba(0,0,0,.2) + + .quiet, .quiet a + color: rgba(0,0,0,0.4) + + .list-header .list-header-watch-icon + color: rgba(0,0,0,0.5) + position: absolute + margin-top: -34px + margin-let: -11px + + a.fa, a i.fa + color: rgba(0,0,0,0.3) + + a:not(.disabled).is-active.fa, a:not(.disabled).is-active i.fa, a:not(.disabled):hover.fa, a:not(.disabled):hover i.fa + color: rgba(0,0,0,0.6) + + input[type="email"], input[type="password"], input[type="text"] + border: 0 + border-radius: 7px + + .sidebar-shadow + box-shadow: none + border-left: 9px solid color2 + + .is-open .sidebar-shadow + box-shadow: -10px 0 8px rgba(0,0,0,0.3) + + .list.ui-sortable-helper + transform:rotate(0deg) + + .minicard-wrapper.placeholder + background: rgba(0,0,0,0.1) + + .minicard-wrapper.ui-sortable-helper + transform:rotate(0deg) + opacity: 0.8 + + .list-body .open-minicard-composer + color: rgba(0,0,0,.3) + + .swinlane.ui-sortable-helper + transform:rotate(0deg) + + .swimlane .swimlane-header-wrap + background: linear-gradient(0deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.25) 100%) + + .swimlane-header-wrap .inlined-form + width: 100% + + .swimlane-header-wrap .list-composer + text-align: center + margin: 5px + + .swimlane-header-wrap .list-name-input.full-line + margin: 0 + display: inline-block + width: 270px + + .swimlane-header-wrap .edit-controls + display: inline-block + vertical-align: middle + + .swimlane-header-wrap .primary.confirm + margin-right: 0 + + .swimlane-header-wrap .fa.fa-times-thin + margin-top: 2px + + // This is a general fix so that the little grabby hand appears when dragging the list via the title + .list.ui-sortable-helper, + .list.ui-sortable-helper .list-header.ui-sortable-handle, + .list.ui-sortable-helper .viewer + cursor:-webkit-grabbing; + cursor:grabbing + +.board-color-clearblue + setBoardClear(rgb(73, 155, 234),rgb(0, 174, 204)) + +/* + Alternate "Natural" Styling +*/ +.board-color-natural + setBoardColor(#596557) + + &#header-quick-access + background-color: #2d392b + + .ui-sortable + background-color:#dedede + + .list-header + background-color: #c9cfc3 + border-bottom: 6px solid #c9cfc3 + + .swimlane .swimlane-header-wrap + background-color: #c2c0ab + +/* + Alternate "Modern" Styling +*/ +.board-color-modern + setBoardColor(#2A80B8) + + /* General */ + body + background: #f5f5f5 + + &#header-quick-access + padding: 10px + font-size: 14px + background: #333 !important + + &#header-quick-access ul + overflow: visible + + &#header-quick-access ul li.current + border: 0 !important + font-weight: bold + + &#header-quick-access ul li.separator + display: none + + &#header-quick-access ul li:nth-child(3) + margin-right: 10px + + &#header-quick-access ul li a + padding: 5px 10px + border-radius: 2px + + &#header-quick-access ul li.current a + border-radius: 2px + background: rgba(255,255,255,.2) + + &#header #header-main-bar h1 + font-family: Poppins + font-weight: bold + &#header-quick-access #header-user-bar + position relative + + &#header-quick-access #header-user-bar .header-user-bar-name + margin: 5px 3px 0 0; + + section#notifications-drawer + top: 46px; + box-shadow: 0 4px 20px rgba(0,0,0,.1) + max-width: 100% + + section#notifications-drawer .header + top: 46px; + border-radius: 0 3px + height: 21px + background: #f7f7f7 + + /* Swimlane */ + .swimlane + background: #f5f5f5 + + .swimlane .swimlane-header-wrap .swimlane-header + font-family: Poppins + + /* All board views */ + .board-list .board-list-item + padding: 20px + + .board-list-item-name + font-family: Poppins + + /* Board */ + .list + background: transparent + border-left: 0 + margin: 10px 0 + padding: 0px + border-radius: 5px + min-width: 300px + + .list-body .open-minicard-composer:hover /*me*/ + background: none + box-shadow: none + + .list:first-child + margin-left: 5px + + .list.list-composer.js-list-composer + transition: all .3s ease + min-width: 80px + + .open-list-composer.js-open-inlined-form:hover + color: #222 + + .list-header + background: none + border-bottom-width: 0px + + .list-header .list-header-name + font-family: Poppins + color: #000 + font-weight: 500 + + /* Card changes */ + .minicard + background: #FFF + padding: 15px 15px 10px + box-shadow: 0 3px 8px rgba(0,0,0,.05) + + .minicard-plum:hover:not(.minicard-composer), .is-selected .minicard-plum, .draggable-hover-card .minicard-plum + background: none + + .minicard-title + line-height: 1.5em + + .minicard .minicard-cover + background-size: cover + margin: -15px -15px 10px + height: 100px + + .card-label-orange + color: #fff + + .card-date + font-size: 12px + padding: 3px 5px + + /* Pop over */ + .header-title + font-family: Poppins + font-size: 16px + color: #333 + + .pop-over + box-shadow: 0 4px 20px rgba(0,0,0,.2) + border: 0 + border-radius: 5px + + .pop-over .header + padding: 10px + border-bottom: 0 + border-radius: 5px 5px 0 0 + background:#eee + + .pop-over .header .header-title + font-family: Poppins + font-size:16px + color:#333 + + .pop-over .header .close-btn + font-size:20px + top:6px + right:8px + + .pop-over .content-container .content + padding: 5px 20px 20px + width: 260px + + .pop-over-list li > a + border-radius: 5px + + .pop-over-list li > a > i + margin-right: 5px + + .pop-over-list li>a .sub-name + margin-bottom: 8px + + /* Sidebar */ + .sidebar .sidebar-shadow + box-shadow: 0 0 60px rgba(0,0,0,.2) + + .sidebar .sidebar-content + padding: 30px + + /* Notifications */ + .board-color-modern section#notifications-drawer + border-radius:5px + + .board-color-modern section#notifications-drawer .header + padding: 18px 16px + border-bottom: 0 + border-radius: 5px 5px 0 0 + background: #eee + + .board-color-modern section#notifications-drawer .header h5 + font-family: Poppins + font-weight: bold + + .board-color-modern section#notifications-drawer .header .close + font-size: 20px + top: 14px + + section#notifications-drawer .header .toggle-read + top: 18px diff --git a/client/components/boards/boardHeader.jade b/client/components/boards/boardHeader.jade new file mode 100644 index 0000000..1daf061 --- /dev/null +++ b/client/components/boards/boardHeader.jade @@ -0,0 +1,249 @@ +template(name="boardHeaderBar") + h1.header-board-menu + with currentBoard + a(class="{{#if currentUser.isBoardAdmin}}js-edit-board-title{{else}}is-disabled{{/if}}") + +viewer + = title + + .board-header-btns.left + unless isMiniScreen + if currentBoard + if currentUser + a.board-header-btn.js-star-board(class="{{#if isStarred}}is-active{{/if}}" + title="{{#if isStarred}}{{_ 'click-to-unstar'}}{{else}}{{_ 'click-to-star'}}{{/if}} {{_ 'starred-boards-description'}}") + i.fa(class="fa-star{{#unless isStarred}}-o{{/unless}}") + if showStarCounter + span + = currentBoard.stars + + a.board-header-btn( + class="{{#if currentUser.isBoardAdmin}}js-change-visibility{{else}}is-disabled{{/if}}" + title="{{_ currentBoard.permission}}") + i.fa(class="{{#if currentBoard.isPublic}}fa-globe{{else}}fa-lock{{/if}}") + span {{_ currentBoard.permission}} + + a.board-header-btn.js-watch-board( + title="{{_ watchLevel }}") + if $eq watchLevel "watching" + i.fa.fa-eye + if $eq watchLevel "tracking" + i.fa.fa-bell + if $eq watchLevel "muted" + i.fa.fa-bell-slash + span {{_ watchLevel}} + + else + a.board-header-btn.js-log-in( + title="{{_ 'log-in'}}") + i.fa.fa-sign-in + span {{_ 'log-in'}} + + .board-header-btns.right + if currentBoard + if isMiniScreen + if currentUser + a.board-header-btn.js-star-board(class="{{#if isStarred}}is-active{{/if}}" + title="{{#if isStarred}}{{_ 'click-to-unstar'}}{{else}}{{_ 'click-to-star'}}{{/if}} {{_ 'starred-boards-description'}}") + i.fa(class="fa-star{{#unless isStarred}}-o{{/unless}}") + if showStarCounter + span + = currentBoard.stars + + a.board-header-btn( + class="{{#if currentUser.isBoardAdmin}}js-change-visibility{{else}}is-disabled{{/if}}" + title="{{_ currentBoard.permission}}") + i.fa(class="{{#if currentBoard.isPublic}}fa-globe{{else}}fa-lock{{/if}}") + span {{_ currentBoard.permission}} + + a.board-header-btn.js-watch-board( + title="{{_ watchLevel }}") + if $eq watchLevel "watching" + i.fa.fa-eye + if $eq watchLevel "tracking" + i.fa.fa-bell + if $eq watchLevel "muted" + i.fa.fa-bell-slash + span {{_ watchLevel}} + + else + a.board-header-btn.js-log-in( + title="{{_ 'log-in'}}") + i.fa.fa-sign-in + span {{_ 'log-in'}} + + if isSandstorm + if currentUser + a.board-header-btn.js-open-archived-board + i.fa.fa-archive + span {{_ 'archives'}} + + //if showSort + // a.board-header-btn.js-open-sort-view(title="{{_ 'sort-desc'}}") + // i.fa(class="{{directionClass}}") + // span {{_ 'sort'}}{{_ listSortShortDesc}} + + a.board-header-btn.js-open-filter-view( + title="{{#if Filter.isActive}}{{_ 'filter-on-desc'}}{{else}}{{_ 'filter'}}{{/if}}" + class="{{#if Filter.isActive}}emphasis{{/if}}") + i.fa.fa-filter + span {{#if Filter.isActive}}{{_ 'filter-on'}}{{else}}{{_ 'filter'}}{{/if}} + if Filter.isActive + a.board-header-btn-close.js-filter-reset(title="{{_ 'filter-clear'}}") + i.fa.fa-times-thin + + a.board-header-btn.js-open-search-view(title="{{_ 'search'}}") + i.fa.fa-search + span {{_ 'search'}} + + unless currentBoard.isTemplatesBoard + a.board-header-btn.js-toggle-board-view( + title="{{_ 'board-view'}}") + i.fa.fa-caret-down + if $eq boardView 'board-view-swimlanes' + i.fa.fa-th-large + if $eq boardView 'board-view-lists' + i.fa.fa-trello + if $eq boardView 'board-view-cal' + i.fa.fa-calendar + span {{#if boardView}}{{_ boardView}}{{else}}{{_ 'board-view-swimlanes'}}{{/if}} + + if canModifyBoard + a.board-header-btn.js-multiselection-activate( + title="{{#if MultiSelection.isActive}}{{_ 'multi-selection-on'}}{{else}}{{_ 'multi-selection'}}{{/if}}" + class="{{#if MultiSelection.isActive}}emphasis{{/if}}") + i.fa.fa-check-square-o + span {{#if MultiSelection.isActive}}{{_ 'multi-selection-on'}}{{else}}{{_ 'multi-selection'}}{{/if}} + if MultiSelection.isActive + a.board-header-btn-close.js-multiselection-reset(title="{{_ 'filter-clear'}}") + i.fa.fa-times-thin + + .separator + a.board-header-btn.js-toggle-sidebar + i.fa.fa-navicon + +template(name="boardVisibilityList") + ul.pop-over-list + li + with "private" + a.js-select-visibility + i.fa.fa-lock.colorful + | {{_ 'private'}} + if visibilityCheck + i.fa.fa-check + span.sub-name {{_ 'private-desc'}} + li + with "public" + a.js-select-visibility + i.fa.fa-globe.colorful + | {{_ 'public'}} + if visibilityCheck + i.fa.fa-check + span.sub-name {{_ 'public-desc'}} + +template(name="boardChangeVisibilityPopup") + +boardVisibilityList + +template(name="boardChangeWatchPopup") + ul.pop-over-list + li + with "watching" + a.js-select-watch + i.fa.fa-eye.colorful + | {{_ 'watching'}} + if watchCheck + i.fa.fa-check + span.sub-name {{_ 'watching-info'}} + li + with "tracking" + a.js-select-watch + i.fa.fa-bell.colorful + | {{_ 'tracking'}} + if watchCheck + i.fa.fa-check + span.sub-name {{_ 'tracking-info'}} + li + with "muted" + a.js-select-watch + i.fa.fa-bell-slash.colorful + | {{_ 'muted'}} + if watchCheck + i.fa.fa-check + span.sub-name {{_ 'muted-info'}} + +template(name="boardChangeViewPopup") + ul.pop-over-list + li + with "board-view-swimlanes" + a.js-open-swimlanes-view + i.fa.fa-th-large.colorful + | {{_ 'board-view-swimlanes'}} + if $eq Utils.boardView "board-view-swimlanes" + i.fa.fa-check + li + with "board-view-lists" + a.js-open-lists-view + i.fa.fa-trello.colorful + | {{_ 'board-view-lists'}} + if $eq Utils.boardView "board-view-lists" + i.fa.fa-check + li + with "board-view-cal" + a.js-open-cal-view + i.fa.fa-calendar.colorful + | {{_ 'board-view-cal'}} + if $eq Utils.boardView "board-view-cal" + i.fa.fa-check + +template(name="createBoard") + form + label + | {{_ 'title'}} + input.js-new-board-title(type="text" placeholder="{{_ 'bucket-example'}}" autofocus required) + if visibilityMenuIsOpen.get + +boardVisibilityList + else + p.quiet + if $eq visibility.get 'public' + span.fa.fa-globe.colorful + = " " + | {{{_ 'board-public-info'}}} + else + span.fa.fa-lock.colorful + = " " + | {{{_ 'board-private-info'}}} + a.js-change-visibility {{_ 'change'}}. + input.primary.wide(type="submit" value="{{_ 'create'}}") + span.quiet + | {{_ 'or'}} + a.js-import-board {{_ 'import'}} + span.quiet + | / + a.js-board-template {{_ 'template'}} + +//template(name="listsortPopup") +// h2 +// | {{_ 'list-sort-by'}} +// hr +// ul.pop-over-list +// each value in allowedSortValues +// li +// a.js-sort-by(name="{{value.name}}") +// if $eq sortby value.name +// i(class="fa {{Direction}}") +// | {{_ value.label }}{{_ value.shortLabel}} +// if $eq sortby value.name +// i(class="fa fa-check") + +template(name="boardChangeTitlePopup") + form + label + | {{_ 'title'}} + input.js-board-name(type="text" value=title autofocus dir="auto") + label + | {{_ 'description'}} + textarea.js-board-desc(dir="auto")= description + input.primary.wide(type="submit" value="{{_ 'rename'}}") + +template(name="boardCreateRulePopup") + p {{_ 'close-board-pop'}} + button.js-confirm.negate.full(type="submit") {{_ 'archive'}} diff --git a/client/components/boards/boardHeader.js b/client/components/boards/boardHeader.js new file mode 100644 index 0000000..be0146e --- /dev/null +++ b/client/components/boards/boardHeader.js @@ -0,0 +1,370 @@ +/* +const DOWNCLS = 'fa-sort-down'; +const UPCLS = 'fa-sort-up'; +*/ +Template.boardMenuPopup.events({ + 'click .js-rename-board': Popup.open('boardChangeTitle'), + 'click .js-custom-fields'() { + Sidebar.setView('customFields'); + Popup.close(); + }, + 'click .js-open-archives'() { + Sidebar.setView('archives'); + Popup.close(); + }, + 'click .js-change-board-color': Popup.open('boardChangeColor'), + 'click .js-change-language': Popup.open('changeLanguage'), + 'click .js-archive-board ': Popup.afterConfirm('archiveBoard', function() { + const currentBoard = Boards.findOne(Session.get('currentBoard')); + currentBoard.archive(); + // XXX We should have some kind of notification on top of the page to + // confirm that the board was successfully archived. + FlowRouter.go('home'); + }), + 'click .js-delete-board': Popup.afterConfirm('deleteBoard', function() { + const currentBoard = Boards.findOne(Session.get('currentBoard')); + Popup.close(); + Boards.remove(currentBoard._id); + FlowRouter.go('home'); + }), + 'click .js-outgoing-webhooks': Popup.open('outgoingWebhooks'), + 'click .js-import-board': Popup.open('chooseBoardSource'), + 'click .js-subtask-settings': Popup.open('boardSubtaskSettings'), + 'click .js-card-settings': Popup.open('boardCardSettings'), +}); + +Template.boardChangeTitlePopup.events({ + submit(event, templateInstance) { + const newTitle = templateInstance + .$('.js-board-name') + .val() + .trim(); + const newDesc = templateInstance + .$('.js-board-desc') + .val() + .trim(); + if (newTitle) { + this.rename(newTitle); + this.setDescription(newDesc); + Popup.close(); + } + event.preventDefault(); + }, +}); + +BlazeComponent.extendComponent({ + watchLevel() { + const currentBoard = Boards.findOne(Session.get('currentBoard')); + return currentBoard && currentBoard.getWatchLevel(Meteor.userId()); + }, + + isStarred() { + const boardId = Session.get('currentBoard'); + const user = Meteor.user(); + return user && user.hasStarred(boardId); + }, + + // Only show the star counter if the number of star is greater than 2 + showStarCounter() { + const currentBoard = Boards.findOne(Session.get('currentBoard')); + return currentBoard && currentBoard.stars >= 2; + }, + /* + showSort() { + return Meteor.user().hasSortBy(); + }, + directionClass() { + return this.currentDirection() === -1 ? DOWNCLS : UPCLS; + }, + changeDirection() { + const direction = 0 - this.currentDirection() === -1 ? '-' : ''; + Meteor.call('setListSortBy', direction + this.currentListSortBy()); + }, + currentDirection() { + return Meteor.user().getListSortByDirection(); + }, + currentListSortBy() { + return Meteor.user().getListSortBy(); + }, + listSortShortDesc() { + return `list-label-short-${this.currentListSortBy()}`; + }, + */ + events() { + return [ + { + 'click .js-edit-board-title': Popup.open('boardChangeTitle'), + 'click .js-star-board'() { + Meteor.user().toggleBoardStar(Session.get('currentBoard')); + }, + 'click .js-open-board-menu': Popup.open('boardMenu'), + 'click .js-change-visibility': Popup.open('boardChangeVisibility'), + 'click .js-watch-board': Popup.open('boardChangeWatch'), + 'click .js-open-archived-board'() { + Modal.open('archivedBoards'); + }, + 'click .js-toggle-board-view': Popup.open('boardChangeView'), + 'click .js-toggle-sidebar'() { + Sidebar.toggle(); + }, + 'click .js-open-filter-view'() { + Sidebar.setView('filter'); + }, + /* + 'click .js-open-sort-view'(evt) { + const target = evt.target; + if (target.tagName === 'I') { + // click on the text, popup choices + this.changeDirection(); + } else { + // change the sort order + Popup.open('listsort')(evt); + } + }, + */ + 'click .js-filter-reset'(event) { + event.stopPropagation(); + Sidebar.setView(); + Filter.reset(); + }, + 'click .js-open-search-view'() { + Sidebar.setView('search'); + }, + 'click .js-multiselection-activate'() { + const currentCard = Session.get('currentCard'); + MultiSelection.activate(); + if (currentCard) { + MultiSelection.add(currentCard); + } + }, + 'click .js-multiselection-reset'(event) { + event.stopPropagation(); + MultiSelection.disable(); + }, + 'click .js-log-in'() { + FlowRouter.go('atSignIn'); + }, + }, + ]; + }, +}).register('boardHeaderBar'); + +Template.boardHeaderBar.helpers({ + canModifyBoard() { + return ( + Meteor.user() && + Meteor.user().isBoardMember() && + !Meteor.user().isCommentOnly() + ); + }, + boardView() { + return Utils.boardView(); + }, +}); + +Template.boardChangeViewPopup.events({ + 'click .js-open-lists-view'() { + Utils.setBoardView('board-view-lists'); + Popup.close(); + }, + 'click .js-open-swimlanes-view'() { + Utils.setBoardView('board-view-swimlanes'); + Popup.close(); + }, + 'click .js-open-cal-view'() { + Utils.setBoardView('board-view-cal'); + Popup.close(); + }, +}); + +const CreateBoard = BlazeComponent.extendComponent({ + template() { + return 'createBoard'; + }, + + onCreated() { + this.visibilityMenuIsOpen = new ReactiveVar(false); + this.visibility = new ReactiveVar('private'); + this.boardId = new ReactiveVar(''); + }, + + visibilityCheck() { + return this.currentData() === this.visibility.get(); + }, + + setVisibility(visibility) { + this.visibility.set(visibility); + this.visibilityMenuIsOpen.set(false); + }, + + toggleVisibilityMenu() { + this.visibilityMenuIsOpen.set(!this.visibilityMenuIsOpen.get()); + }, + + onSubmit(event) { + event.preventDefault(); + const title = this.find('.js-new-board-title').value; + const visibility = this.visibility.get(); + + this.boardId.set( + Boards.insert({ + title, + permission: visibility, + }), + ); + + Swimlanes.insert({ + title: 'Default', + boardId: this.boardId.get(), + }); + + Utils.goBoardId(this.boardId.get()); + }, + + events() { + return [ + { + 'click .js-select-visibility'() { + this.setVisibility(this.currentData()); + }, + 'click .js-change-visibility': this.toggleVisibilityMenu, + 'click .js-import': Popup.open('boardImportBoard'), + submit: this.onSubmit, + 'click .js-import-board': Popup.open('chooseBoardSource'), + 'click .js-board-template': Popup.open('searchElement'), + }, + ]; + }, +}).register('createBoardPopup'); + +(class HeaderBarCreateBoard extends CreateBoard { + onSubmit(event) { + super.onSubmit(event); + // Immediately star boards crated with the headerbar popup. + Meteor.user().toggleBoardStar(this.boardId.get()); + } +}.register('headerBarCreateBoardPopup')); + +BlazeComponent.extendComponent({ + visibilityCheck() { + const currentBoard = Boards.findOne(Session.get('currentBoard')); + return this.currentData() === currentBoard.permission; + }, + + selectBoardVisibility() { + const currentBoard = Boards.findOne(Session.get('currentBoard')); + const visibility = this.currentData(); + currentBoard.setVisibility(visibility); + Popup.close(); + }, + + events() { + return [ + { + 'click .js-select-visibility': this.selectBoardVisibility, + }, + ]; + }, +}).register('boardChangeVisibilityPopup'); + +BlazeComponent.extendComponent({ + watchLevel() { + const currentBoard = Boards.findOne(Session.get('currentBoard')); + return currentBoard.getWatchLevel(Meteor.userId()); + }, + + watchCheck() { + return this.currentData() === this.watchLevel(); + }, + + events() { + return [ + { + 'click .js-select-watch'() { + const level = this.currentData(); + Meteor.call( + 'watch', + 'board', + Session.get('currentBoard'), + level, + (err, ret) => { + if (!err && ret) Popup.close(); + }, + ); + }, + }, + ]; + }, +}).register('boardChangeWatchPopup'); + +/* +BlazeComponent.extendComponent({ + onCreated() { + //this.sortBy = new ReactiveVar(); + ////this.sortDirection = new ReactiveVar(); + //this.setSortBy(); + this.downClass = DOWNCLS; + this.upClass = UPCLS; + }, + allowedSortValues() { + const types = []; + const pushed = {}; + Meteor.user() + .getListSortTypes() + .forEach(type => { + const key = type.replace(/^-/, ''); + if (pushed[key] === undefined) { + types.push({ + name: key, + label: `list-label-${key}`, + shortLabel: `list-label-short-${key}`, + }); + pushed[key] = 1; + } + }); + return types; + }, + Direction() { + return Meteor.user().getListSortByDirection() === -1 + ? this.downClass + : this.upClass; + }, + sortby() { + return Meteor.user().getListSortBy(); + }, + + setSortBy(type = null) { + const user = Meteor.user(); + if (type === null) { + type = user._getListSortBy(); + } else { + let value = ''; + if (type.map) { + // is an array + value = (type[1] === -1 ? '-' : '') + type[0]; + } + Meteor.call('setListSortBy', value); + } + //this.sortBy.set(type[0]); + //this.sortDirection.set(type[1]); + }, + + events() { + return [ + { + 'click .js-sort-by'(evt) { + evt.preventDefault(); + const target = evt.target; + const sortby = target.getAttribute('name'); + const down = !!target.querySelector(`.${this.upClass}`); + const direction = down ? -1 : 1; + this.setSortBy([sortby, direction]); + if (Utils.isMiniScreen) { + Popup.close(); + } + }, + }, + ]; + }, +}).register('listsortPopup'); +*/ diff --git a/client/components/boards/boardHeader.styl b/client/components/boards/boardHeader.styl new file mode 100644 index 0000000..402b4f1 --- /dev/null +++ b/client/components/boards/boardHeader.styl @@ -0,0 +1,22 @@ +.integration-form + padding: 5px + border-bottom: 1px solid #ccc + +.flex + display: -webkit-box + display: -moz-box + display: -webkit-flex + display: -moz-flex + display: -ms-flexbox + display: flex + +.option + @extends .flex + -webkit-border-radius: 3px; + border-radius: 3px; + background: #fff; + text-decoration: none; + -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.2); + box-shadow: 0 1px 2px rgba(0,0,0,0.2); + margin-top: 5px; + padding: 5px; diff --git a/client/components/boards/boardsList.jade b/client/components/boards/boardsList.jade new file mode 100644 index 0000000..7fd7c2b --- /dev/null +++ b/client/components/boards/boardsList.jade @@ -0,0 +1,69 @@ +template(name="boardList") + .wrapper + ul.board-list.clearfix.js-boards + li.js-add-board + a.board-list-item.label {{_ 'add-board'}} + each boards + li(class="{{#if isStarred}}starred{{/if}}" class=colorClass).js-board + if isInvited + .board-list-item + span.details + span.board-list-item-name= title + i.fa.js-star-board( + class="fa-star{{#if isStarred}} is-star-active{{else}}-o{{/if}}" + title="{{_ 'star-board-title'}}") + p.board-list-item-desc {{_ 'just-invited'}} + button.js-accept-invite.primary {{_ 'accept'}} + button.js-decline-invite {{_ 'decline'}} + else + a.js-open-board.board-list-item(href="{{pathFor 'board' id=_id slug=slug}}") + span.details + span.board-list-item-name + +viewer + = title + i.fa.js-star-board( + class="fa-star{{#if isStarred}} is-star-active{{else}}-o{{/if}}" + title="{{_ 'star-board-title'}}") + p.board-list-item-desc + +viewer + = description + if hasSpentTimeCards + i.fa.js-has-spenttime-cards( + class="fa-circle{{#if hasOvertimeCards}} has-overtime-card-active{{else}} no-overtime-card-active{{/if}}" + title="{{#if hasOvertimeCards}}{{_ 'has-overtime-cards'}}{{else}}{{_ 'has-spenttime-cards'}}{{/if}}") + if isMiniScreen + i.fa.board-handle( + class="fa-arrows" + title="{{_ 'Drag board'}}") + unless isMiniScreen + if isSandstorm + i.fa.js-clone-board( + class="fa-clone" + title="{{_ 'duplicate-board'}}") + i.fa.js-archive-board( + class="fa-archive" + title="{{_ 'archive-board'}}") + else if isAdministrable + i.fa.js-clone-board( + class="fa-clone" + title="{{_ 'duplicate-board'}}") + i.fa.js-archive-board( + class="fa-archive" + title="{{_ 'archive-board'}}") + else if currentUser.isAdmin + i.fa.js-clone-board( + class="fa-clone" + title="{{_ 'duplicate-board'}}") + i.fa.js-archive-board( + class="fa-archive" + title="{{_ 'archive-board'}}") + +template(name="boardListHeaderBar") + h1 {{_ title }} + .board-header-btns.right + a.board-header-btn.js-open-archived-board + i.fa.fa-archive + span {{_ 'archives'}} + a.board-header-btn(href="{{pathFor 'board' id=templatesBoardId slug=templatesBoardSlug}}") + i.fa.fa-clone + span {{_ 'templates'}} diff --git a/client/components/boards/boardsList.js b/client/components/boards/boardsList.js new file mode 100644 index 0000000..145f678 --- /dev/null +++ b/client/components/boards/boardsList.js @@ -0,0 +1,162 @@ +const subManager = new SubsManager(); +const { calculateIndex, enableClickOnTouch } = Utils; + +Template.boardListHeaderBar.events({ + 'click .js-open-archived-board'() { + Modal.open('archivedBoards'); + }, +}); + +Template.boardListHeaderBar.helpers({ + title() { + return FlowRouter.getRouteName() === 'home' ? 'my-boards' : 'public'; + }, + templatesBoardId() { + return Meteor.user() && Meteor.user().getTemplatesBoardId(); + }, + templatesBoardSlug() { + return Meteor.user() && Meteor.user().getTemplatesBoardSlug(); + }, +}); + +BlazeComponent.extendComponent({ + onCreated() { + Meteor.subscribe('setting'); + }, + + onRendered() { + const itemsSelector = '.js-board:not(.placeholder)'; + + const $boards = this.$('.js-boards'); + $boards.sortable({ + connectWith: '.js-boards', + tolerance: 'pointer', + appendTo: '.board-list', + helper: 'clone', + distance: 7, + items: itemsSelector, + placeholder: 'board-wrapper placeholder', + start(evt, ui) { + ui.helper.css('z-index', 1000); + ui.placeholder.height(ui.helper.height()); + EscapeActions.executeUpTo('popup-close'); + }, + stop(evt, ui) { + // To attribute the new index number, we need to get the DOM element + // of the previous and the following card -- if any. + const prevBoardDom = ui.item.prev('.js-board').get(0); + const nextBoardBom = ui.item.next('.js-board').get(0); + const sortIndex = calculateIndex(prevBoardDom, nextBoardBom, 1); + + const boardDomElement = ui.item.get(0); + const board = Blaze.getData(boardDomElement); + // Normally the jquery-ui sortable library moves the dragged DOM element + // to its new position, which disrupts Blaze reactive updates mechanism + // (especially when we move the last card of a list, or when multiple + // users move some cards at the same time). To prevent these UX glitches + // we ask sortable to gracefully cancel the move, and to put back the + // DOM in its initial state. The card move is then handled reactively by + // Blaze with the below query. + $boards.sortable('cancel'); + + board.move(sortIndex.base); + }, + }); + + // ugly touch event hotfix + enableClickOnTouch(itemsSelector); + + // Disable drag-dropping if the current user is not a board member or is comment only + this.autorun(() => { + if (Utils.isMiniScreen()) { + $boards.sortable({ + handle: '.board-handle', + }); + } + }); + }, + + boards() { + const query = { + archived: false, + type: 'board', + }; + if (FlowRouter.getRouteName() === 'home') + query['members.userId'] = Meteor.userId(); + else query.permission = 'public'; + + return Boards.find(query, { + sort: { sort: 1 /* boards default sorting */ }, + }); + }, + isStarred() { + const user = Meteor.user(); + return user && user.hasStarred(this.currentData()._id); + }, + isAdministrable() { + const user = Meteor.user(); + return user && user.isBoardAdmin(this.currentData()._id); + }, + + hasOvertimeCards() { + subManager.subscribe('board', this.currentData()._id, false); + return this.currentData().hasOvertimeCards(); + }, + + hasSpentTimeCards() { + subManager.subscribe('board', this.currentData()._id, false); + return this.currentData().hasSpentTimeCards(); + }, + + isInvited() { + const user = Meteor.user(); + return user && user.isInvitedTo(this.currentData()._id); + }, + + events() { + return [ + { + 'click .js-add-board': Popup.open('createBoard'), + 'click .js-star-board'(evt) { + const boardId = this.currentData()._id; + Meteor.user().toggleBoardStar(boardId); + evt.preventDefault(); + }, + 'click .js-clone-board'(evt) { + Meteor.call( + 'cloneBoard', + this.currentData()._id, + Session.get('fromBoard'), + (err, res) => { + if (err) { + this.setError(err.error); + } else { + Session.set('fromBoard', null); + Utils.goBoardId(res); + } + }, + ); + evt.preventDefault(); + }, + 'click .js-archive-board'(evt) { + const boardId = this.currentData()._id; + Meteor.call('archiveBoard', boardId); + evt.preventDefault(); + }, + 'click .js-accept-invite'() { + const boardId = this.currentData()._id; + Meteor.call('acceptInvite', boardId); + }, + 'click .js-decline-invite'() { + const boardId = this.currentData()._id; + Meteor.call('quitBoard', boardId, (err, ret) => { + if (!err && ret) { + Meteor.call('acceptInvite', boardId); + FlowRouter.go('home'); + } + }); + }, + }, + ]; + }, +}).register('boardList'); diff --git a/client/components/boards/boardsList.styl b/client/components/boards/boardsList.styl new file mode 100644 index 0000000..0cadbf8 --- /dev/null +++ b/client/components/boards/boardsList.styl @@ -0,0 +1,229 @@ +@import 'nib' + +$spaceBetweenTiles = 16px + +.board-list + margin: 0 ($spaceBetweenTiles/2) + + li + float: left + width: 25% + box-sizing: border-box + position: relative + + &.placeholder:after + content: ''; + display: block; + background: darken(white, 20%) + border-radius: 3px; + height: 106px; + margin: 8px; + + &.ui-sortable-helper + cursor: grabbing + transform: rotate(4deg) + display: block !important + + &.starred + .fa-star, + .fa-star-o + opacity: 1 + + .board-list-item + overflow: hidden; + background-color: #999 + color: #f6f6f6 + height: auto + font-size: 16px + line-height: 22px + border-radius: 3px + display: block + font-weight: 700 + min-height: 18px + padding: 8px + margin: ($spaceBetweenTiles/2) + position: relative + text-decoration: none + word-wrap: break-word + + &.tile + background-size: auto + background-repeat: repeat + + .board-list-item-sub-name + color: rgba(255, 255, 255, .5) + display: block + font-size: 14px + font-weight: 400 + line-height: 22px + + .board-list-item-desc + color: #fff + display: block + font-size: 14px + font-weight: 400 + line-height: 18px + + .js-add-board + text-align:center + + .label + font-weight: normal + line-height: 56px + + :hover + background-color:#939393 + + .fa-star, + .fa-star-o + bottom: 0 + font-size: 14px + height: 18px + line-height: 18px + opacity: 0 + padding: 9px 9px + position: absolute + right: 0 + top: 0 + transition-duration: .15s + transition-property: color, font-size, background + + .fa-circle + bottom: 0; + font-size: 10px; + height: 10px; + line-height: 10px; + padding: 9px 9px; + position: absolute; + right: 0; + transition-duration: .15s + transition-property: color, font-size, background + + .has-overtime-card-active + color: #eb4646 !important + + .no-overtime-card-active + color: #3cb500 !important + + .is-star-active + color: white + + .fa-clone + position: absolute; + bottom: 0 + font-size: 14px + height: 18px + line-height: 18px + opacity: 0 + right: 0 + padding: 9px 9px + transition-duration: .15s + transition-property: color, font-size, background + + .fa-archive + position: absolute; + bottom: 0 + font-size: 14px + height: 18px + line-height: 18px + opacity: 0 + left: 0 + padding: 9px 9px + transition-duration: .15s + transition-property: color, font-size, background + + li:hover a + &:hover + .fa-star, + .fa-clone, + .fa-archive, + .fa-star-o + color: white + + .fa-star, + .fa-clone, + .fa-archive, + .fa-star-o + color: white + opacity: .75 + + &:hover + font-size: 18px + opacity: 1 + + &.is-star-active + opacity: 1 + +.board-backgrounds-list + + .board-background-select + box-sizing: border-box + display: block + float: left + width: 50% + padding-top: 12px + position: relative + z-index: 1 + + &:nth-child(-n + 2) + padding-top: 0 + + &:nth-child(2n) + padding-left: 6px + + &:nth-child(2n+1) + padding-right: 6px + + .background-box + color: white + border-radius: 3px + background-size: cover + display: block + height: 74px + position: relative + width: 100% + cursor: pointer + display: flex + align-items: center + justify-content: center + + i.fa-check + font-size: 25px + color: white + +@media screen and (max-width: 800px) + .board-list + height: 100% + overflow: scroll + + li + width: 50% + + .board-list-item + overflow: hidden + height: 8rem + + .board-list-item-sub-name + position: relative + top: -100px + left: -100px + + .board-handle + position: absolute + padding: 7px + top: 50% + transform: translateY(-50%) + right: 10px + font-size: 24px + +@media screen and (max-width: 360px) + li + width: 100% + + .board-handle + position: absolute + padding: 7px + top: 50% + transform: translateY(-50%) + right: 10px + font-size: 24px diff --git a/client/components/boards/miniboard.jade b/client/components/boards/miniboard.jade new file mode 100644 index 0000000..d1fb0b0 --- /dev/null +++ b/client/components/boards/miniboard.jade @@ -0,0 +1,8 @@ +template(name="miniboard") + .minicard( + class="minicard-{{colorClass}}") + .minicard-title + .handle + .fa.fa-arrows + +viewer + = title diff --git a/client/components/cards/attachments.jade b/client/components/cards/attachments.jade new file mode 100644 index 0000000..61454fa --- /dev/null +++ b/client/components/cards/attachments.jade @@ -0,0 +1,59 @@ +template(name="cardAttachmentsPopup") + ul.pop-over-list + li + input.js-attach-file.hide(type="file" name="file" multiple) + a.js-computer-upload {{_ 'computer'}} + li + a.js-upload-clipboard-image {{_ 'clipboard'}} + +template(name="previewClipboardImagePopup") + p Ctrl+V {{_ "paste-or-dragdrop"}} + img.preview-clipboard-image() + button.primary.js-upload-pasted-image {{_ 'upload'}} + +template(name="previewAttachedImagePopup") + img.preview-large-image.js-large-image-clicked(src="{{url}}") + +template(name="attachmentDeletePopup") + p {{_ "attachment-delete-pop"}} + button.js-confirm.negate.full(type="submit") {{_ 'delete'}} + +template(name="attachmentsGalery") + .attachments-galery + each attachments + .attachment-item + a.attachment-thumbnail.swipebox(href="{{url}}" title="{{name}}") + if isUploaded + if isImage + img.attachment-thumbnail-img(src="{{url}}") + else + span.attachment-thumbnail-ext= extension + else + +spinner + p.attachment-details + = name + span.attachment-details-actions + a.js-download(href="{{url download=true}}") + i.fa.fa-download + | {{_ 'download'}} + if currentUser.isBoardMember + unless currentUser.isCommentOnly + unless currentUser.isWorker + if isImage + a(class="{{#if $eq ../coverId _id}}js-remove-cover{{else}}js-add-cover{{/if}}") + i.fa.fa-thumb-tack + if($eq ../coverId _id) + | {{_ 'remove-cover'}} + else + | {{_ 'add-cover'}} + a.js-confirm-delete + i.fa.fa-close + | {{_ 'delete'}} + + if currentUser.isBoardMember + unless currentUser.isCommentOnly + unless currentUser.isWorker + //li.attachment-item.add-attachment + a.js-add-attachment + i.fa.fa-plus + | {{_ 'add-attachment' }} diff --git a/client/components/cards/attachments.js b/client/components/cards/attachments.js new file mode 100644 index 0000000..e443915 --- /dev/null +++ b/client/components/cards/attachments.js @@ -0,0 +1,174 @@ +Template.attachmentsGalery.events({ + 'click .js-add-attachment': Popup.open('cardAttachments'), + 'click .js-confirm-delete': Popup.afterConfirm( + 'attachmentDelete', + function() { + Attachments.remove(this._id); + Popup.close(); + }, + ), + // If we let this event bubble, FlowRouter will handle it and empty the page + // content, see #101. + 'click .js-download'(event) { + event.stopPropagation(); + }, + 'click .js-add-cover'() { + Cards.findOne(this.cardId).setCover(this._id); + }, + 'click .js-remove-cover'() { + Cards.findOne(this.cardId).unsetCover(); + }, + 'click .js-preview-image'(event) { + Popup.open('previewAttachedImage').call(this, event); + // when multiple thumbnails, if click one then another very fast, + // we might get a wrong width from previous img. + // when popup reused, onRendered() won't be called, so we cannot get there. + // here make sure to get correct size when this img fully loaded. + const img = $('img.preview-large-image')[0]; + if (!img) return; + const rePosPopup = () => { + const w = img.width; + const h = img.height; + // if the image is too large, we resize & center the popup. + if (w > 300) { + $('div.pop-over').css({ + width: w + 20, + position: 'absolute', + left: (window.innerWidth - w) / 2, + top: (window.innerHeight - h) / 2, + }); + } + }; + const url = $(event.currentTarget).attr('src'); + if (img.src === url && img.complete) rePosPopup(); + else img.onload = rePosPopup; + }, +}); + +Template.previewAttachedImagePopup.events({ + 'click .js-large-image-clicked'() { + Popup.close(); + }, +}); + +Template.cardAttachmentsPopup.events({ + 'change .js-attach-file'(event) { + const card = this; + const processFile = f => { + Utils.processUploadedAttachment(card, f, attachment => { + if (attachment && attachment._id && attachment.isImage()) { + card.setCover(attachment._id); + } + Popup.close(); + }); + }; + + FS.Utility.eachFile(event, f => { + if ( + MAX_IMAGE_PIXEL > 0 && + typeof f.type === 'string' && + f.type.match(/^image/) + ) { + // is image + const reader = new FileReader(); + reader.onload = function(e) { + const dataurl = e && e.target && e.target.result; + if (dataurl !== undefined) { + Utils.shrinkImage({ + dataurl, + maxSize: MAX_IMAGE_PIXEL, + ratio: COMPRESS_RATIO, + toBlob: true, + callback(blob) { + if (blob === false) { + processFile(f); + } else { + blob.name = f.name; + processFile(blob); + } + }, + }); + } else { + // couldn't process it let other function handle it? + processFile(f); + } + }; + reader.readAsDataURL(f); + } else { + processFile(f); + } + }); + }, + 'click .js-computer-upload'(event, templateInstance) { + templateInstance.find('.js-attach-file').click(); + event.preventDefault(); + }, + 'click .js-upload-clipboard-image': Popup.open('previewClipboardImage'), +}); + +const MAX_IMAGE_PIXEL = Utils.MAX_IMAGE_PIXEL; +const COMPRESS_RATIO = Utils.IMAGE_COMPRESS_RATIO; +let pastedResults = null; + +Template.previewClipboardImagePopup.onRendered(() => { + // we can paste image from clipboard + const handle = results => { + if (results.dataURL.startsWith('data:image/')) { + const direct = results => { + $('img.preview-clipboard-image').attr('src', results.dataURL); + pastedResults = results; + }; + if (MAX_IMAGE_PIXEL) { + // if has size limitation on image we shrink it before uploading + Utils.shrinkImage({ + dataurl: results.dataURL, + maxSize: MAX_IMAGE_PIXEL, + ratio: COMPRESS_RATIO, + callback(changed) { + if (changed !== false && !!changed) { + results.dataURL = changed; + } + direct(results); + }, + }); + } else { + direct(results); + } + } + }; + + $(document.body).pasteImageReader(handle); + + // we can also drag & drop image file to it + $(document.body).dropImageReader(handle); +}); + +Template.previewClipboardImagePopup.events({ + 'click .js-upload-pasted-image'() { + const results = pastedResults; + if (results && results.file) { + window.oPasted = pastedResults; + const card = this; + const file = new FS.File(results.file); + if (!results.name) { + // if no filename, it's from clipboard. then we give it a name, with ext name from MIME type + if (typeof results.file.type === 'string') { + file.name(results.file.type.replace('image/', 'clipboard.')); + } + } + file.updatedAt(new Date()); + file.boardId = card.boardId; + file.cardId = card._id; + file.userId = Meteor.userId(); + const attachment = Attachments.insert(file); + + if (attachment && attachment._id && attachment.isImage()) { + card.setCover(attachment._id); + } + + pastedResults = null; + $(document.body).pasteImageReader(() => {}); + Popup.close(); + } + }, +}); diff --git a/client/components/cards/attachments.styl b/client/components/cards/attachments.styl new file mode 100644 index 0000000..4a22fd8 --- /dev/null +++ b/client/components/cards/attachments.styl @@ -0,0 +1,85 @@ +@import 'nib' + +.attachments-galery + display: flex + flex-wrap: wrap + + .attachment-item + width: 33.33% - 2% + margin: 10px 1% 0 + text-align: center + border-radius: 3px + overflow: hidden + background: darken(white, 7%) + min-height: 120px + + &:hover + background: darken(white, 12%) + + &.add-attachment + display: flex + align-items: center + + a + display: block + margin: auto + + .attachment-thumbnail + height: 80px + display: flex + align-items: center + justify-content: center + position: relative + + .attachment-thumbnail-img + max-height: 100% + max-width: 100% + + .attachment-thumbnail-ext + text-transform: uppercase + font-size: 1.6em + + .attachment-details + font-size: 0.75em + margin: 3px + + .attachment-details-actions a + display: block + +.attachment-image-preview + max-width: 100px + display: block + box-shadow: 0 1px 2px rgba(0,0,0,.2) + +.preview-large-image + max-width: 1000px + display: block + box-shadow: 0 1px 2px rgba(0,0,0,.2) + +.preview-clipboard-image + width: 280px + max-width: 100%; + height: 200px + display: block + border: 1px solid black + box-shadow: 0 1px 2px rgba(0,0,0,.2) + +@media screen and (max-width: 800px) + .attachments-galery + flex-direction + row + .attachment-item + width: 50% - 2% + + .attachment-thumbnail + height: 130px + .attachment-details + font-size: 1.1em + +@media screen and (max-width: 360px) + .attachments-galery + .attachment-item + width: 100% + + .attachment-thumbnail + height: 200px diff --git a/client/components/cards/cardCustomFields.jade b/client/components/cards/cardCustomFields.jade new file mode 100644 index 0000000..c0e14d0 --- /dev/null +++ b/client/components/cards/cardCustomFields.jade @@ -0,0 +1,114 @@ +template(name="cardCustomFieldsPopup") + ul.pop-over-list + each board.customFields + li.item(class="") + a.name.js-select-field(href="#") + span.full-name + +viewer + = name + if hasCustomField + i.fa.fa-check + hr + a.quiet-button.full.js-settings + i.fa.fa-cog + span {{_ 'settings'}} + +template(name="cardCustomField") + +Template.dynamic(template=getTemplate) + +template(name="cardCustomField-text") + if canModifyCard + +inlinedForm(classNames="js-card-customfield-text") + +editor(autofocus=true) + = value + .edit-controls.clearfix + button.primary(type="submit") {{_ 'save'}} + a.fa.fa-times-thin.js-close-inlined-form + else + a.js-open-inlined-form + if value + +viewer + = value + else + | {{_ 'edit'}} + else + +viewer + = value + + +template(name="cardCustomField-number") + if canModifyCard + +inlinedForm(classNames="js-card-customfield-number") + input(type="number" value=data.value) + .edit-controls.clearfix + button.primary(type="submit") {{_ 'save'}} + a.fa.fa-times-thin.js-close-inlined-form + else + a.js-open-inlined-form + if value + = value + else + | {{_ 'edit'}} + else + if value + = value + +template(name="cardCustomField-currency") + if canModifyCard + +inlinedForm(classNames="js-card-customfield-currency") + input(type="text" value=data.value) + .edit-controls.clearfix + button.primary(type="submit") {{_ 'save'}} + a.fa.fa-times-thin.js-close-inlined-form + else + a.js-open-inlined-form + if value + = formattedValue + else + | {{_ 'edit'}} + else + if value + = formattedValue + +template(name="cardCustomField-date") + if canModifyCard + a.js-edit-date(title="{{showTitle}}" class="{{classes}}") + if value + div.card-date + time(datetime="{{showISODate}}") + | {{showDate}} + else + | {{_ 'edit'}} + else + if value + div.card-date + time(datetime="{{showISODate}}") + | {{showDate}} + +template(name="cardCustomField-dropdown") + if canModifyCard + +inlinedForm(classNames="js-card-customfield-dropdown") + select.inline + each items + if($eq data.value this._id) + option(value=_id selected="selected") + +viewer + = name + else + option(value=_id) + +viewer + = name + .edit-controls.clearfix + button.primary(type="submit") {{_ 'save'}} + a.fa.fa-times-thin.js-close-inlined-form + else + a.js-open-inlined-form + if value + +viewer + = selectedItem + else + | {{_ 'edit'}} + else + if value + +viewer + = selectedItem diff --git a/client/components/cards/cardCustomFields.js b/client/components/cards/cardCustomFields.js new file mode 100644 index 0000000..45f2076 --- /dev/null +++ b/client/components/cards/cardCustomFields.js @@ -0,0 +1,216 @@ +Template.cardCustomFieldsPopup.helpers({ + hasCustomField() { + const card = Cards.findOne(Session.get('currentCard')); + const customFieldId = this._id; + return card.customFieldIndex(customFieldId) > -1; + }, +}); + +Template.cardCustomFieldsPopup.events({ + 'click .js-select-field'(event) { + const card = Cards.findOne(Session.get('currentCard')); + const customFieldId = this._id; + card.toggleCustomField(customFieldId); + event.preventDefault(); + }, + 'click .js-settings'(event) { + EscapeActions.executeUpTo('detailsPane'); + Sidebar.setView('customFields'); + event.preventDefault(); + }, +}); + +// cardCustomField +const CardCustomField = BlazeComponent.extendComponent({ + getTemplate() { + return `cardCustomField-${this.data().definition.type}`; + }, + + onCreated() { + const self = this; + self.card = Cards.findOne(Session.get('currentCard')); + self.customFieldId = this.data()._id; + }, + + canModifyCard() { + return ( + Meteor.user() && + Meteor.user().isBoardMember() && + !Meteor.user().isCommentOnly() + ); + }, +}); +CardCustomField.register('cardCustomField'); + +// cardCustomField-text +(class extends CardCustomField { + onCreated() { + super.onCreated(); + } + + events() { + return [ + { + 'submit .js-card-customfield-text'(event) { + event.preventDefault(); + const value = this.currentComponent().getValue(); + this.card.setCustomField(this.customFieldId, value); + }, + }, + ]; + } +}.register('cardCustomField-text')); + +// cardCustomField-number +(class extends CardCustomField { + onCreated() { + super.onCreated(); + } + + events() { + return [ + { + 'submit .js-card-customfield-number'(event) { + event.preventDefault(); + const value = parseInt(this.find('input').value, 10); + this.card.setCustomField(this.customFieldId, value); + }, + }, + ]; + } +}.register('cardCustomField-number')); + +// cardCustomField-currency +(class extends CardCustomField { + onCreated() { + super.onCreated(); + + this.currencyCode = this.data().definition.settings.currencyCode; + } + + formattedValue() { + const locale = TAPi18n.getLanguage(); + + return new Intl.NumberFormat(locale, { + style: 'currency', + currency: this.currencyCode, + }).format(this.data().value); + } + + events() { + return [ + { + 'submit .js-card-customfield-currency'(event) { + event.preventDefault(); + const value = Number(this.find('input').value, 10); + this.card.setCustomField(this.customFieldId, value); + }, + }, + ]; + } +}.register('cardCustomField-currency')); + +// cardCustomField-date +(class extends CardCustomField { + onCreated() { + super.onCreated(); + const self = this; + self.date = ReactiveVar(); + self.now = ReactiveVar(moment()); + window.setInterval(() => { + self.now.set(moment()); + }, 60000); + + self.autorun(() => { + self.date.set(moment(self.data().value)); + }); + } + + showDate() { + // this will start working once mquandalle:moment + // is updated to at least moment.js 2.10.5 + // until then, the date is displayed in the "L" format + return this.date.get().calendar(null, { + sameElse: 'llll', + }); + } + + showISODate() { + return this.date.get().toISOString(); + } + + classes() { + if ( + this.date.get().isBefore(this.now.get(), 'minute') && + this.now.get().isBefore(this.data().value) + ) { + return 'current'; + } + return ''; + } + + showTitle() { + return `${TAPi18n.__('card-start-on')} ${this.date.get().format('LLLL')}`; + } + + events() { + return [ + { + 'click .js-edit-date': Popup.open('cardCustomField-date'), + }, + ]; + } +}.register('cardCustomField-date')); + +// cardCustomField-datePopup +(class extends DatePicker { + onCreated() { + super.onCreated(); + const self = this; + self.card = Cards.findOne(Session.get('currentCard')); + self.customFieldId = this.data()._id; + this.data().value && this.date.set(moment(this.data().value)); + } + + _storeDate(date) { + this.card.setCustomField(this.customFieldId, date); + } + + _deleteDate() { + this.card.setCustomField(this.customFieldId, ''); + } +}.register('cardCustomField-datePopup')); + +// cardCustomField-dropdown +(class extends CardCustomField { + onCreated() { + super.onCreated(); + this._items = this.data().definition.settings.dropdownItems; + this.items = this._items.slice(0); + this.items.unshift({ + _id: '', + name: TAPi18n.__('custom-field-dropdown-none'), + }); + } + + selectedItem() { + const selected = this._items.find(item => { + return item._id === this.data().value; + }); + return selected + ? selected.name + : TAPi18n.__('custom-field-dropdown-unknown'); + } + + events() { + return [ + { + 'submit .js-card-customfield-dropdown'(event) { + event.preventDefault(); + const value = this.find('select').value; + this.card.setCustomField(this.customFieldId, value); + }, + }, + ]; + } +}.register('cardCustomField-dropdown')); diff --git a/client/components/cards/cardDate.jade b/client/components/cards/cardDate.jade new file mode 100644 index 0000000..2e44750 --- /dev/null +++ b/client/components/cards/cardDate.jade @@ -0,0 +1,10 @@ +template(name="dateBadge") + if canModifyCard + a.js-edit-date.card-date(title="{{showTitle}}" class="{{classes}}") + time(datetime="{{showISODate}}") + | {{showDate}} + else + a.card-date(title="{{showTitle}}" class="{{classes}}") + time(datetime="{{showISODate}}") + | {{showDate}} + diff --git a/client/components/cards/cardDate.js b/client/components/cards/cardDate.js new file mode 100644 index 0000000..9b2268e --- /dev/null +++ b/client/components/cards/cardDate.js @@ -0,0 +1,415 @@ +// Edit received, start, due & end dates +BlazeComponent.extendComponent({ + template() { + return 'editCardDate'; + }, + + onCreated() { + this.error = new ReactiveVar(''); + this.card = this.data(); + this.date = new ReactiveVar(moment.invalid()); + }, + + onRendered() { + const $picker = this.$('.js-datepicker') + .datepicker({ + todayHighlight: true, + todayBtn: 'linked', + language: TAPi18n.getLanguage(), + }) + .on( + 'changeDate', + function(evt) { + this.find('#date').value = moment(evt.date).format('L'); + this.error.set(''); + this.find('#time').focus(); + }.bind(this), + ); + + if (this.date.get().isValid()) { + $picker.datepicker('update', this.date.get().toDate()); + } + }, + + showDate() { + if (this.date.get().isValid()) return this.date.get().format('L'); + return ''; + }, + showTime() { + if (this.date.get().isValid()) return this.date.get().format('LT'); + return ''; + }, + dateFormat() { + return moment.localeData().longDateFormat('L'); + }, + timeFormat() { + return moment.localeData().longDateFormat('LT'); + }, + + events() { + return [ + { + 'keyup .js-date-field'() { + // parse for localized date format in strict mode + const dateMoment = moment(this.find('#date').value, 'L', true); + if (dateMoment.isValid()) { + this.error.set(''); + this.$('.js-datepicker').datepicker('update', dateMoment.toDate()); + } + }, + 'keyup .js-time-field'() { + // parse for localized time format in strict mode + const dateMoment = moment(this.find('#time').value, 'LT', true); + if (dateMoment.isValid()) { + this.error.set(''); + } + }, + 'submit .edit-date'(evt) { + evt.preventDefault(); + + // if no time was given, init with 12:00 + const time = + evt.target.time.value || + moment(new Date().setHours(12, 0, 0)).format('LT'); + + const dateString = `${evt.target.date.value} ${time}`; + const newDate = moment(dateString, 'L LT', true); + if (newDate.isValid()) { + this._storeDate(newDate.toDate()); + Popup.close(); + } else { + this.error.set('invalid-date'); + evt.target.date.focus(); + } + }, + 'click .js-delete-date'(evt) { + evt.preventDefault(); + this._deleteDate(); + Popup.close(); + }, + }, + ]; + }, +}); + +Template.dateBadge.helpers({ + canModifyCard() { + return ( + Meteor.user() && + Meteor.user().isBoardMember() && + !Meteor.user().isCommentOnly() && + !Meteor.user().isWorker() + ); + }, +}); + +// editCardReceivedDatePopup +(class extends DatePicker { + onCreated() { + super.onCreated(moment().format('YYYY-MM-DD HH:mm')); + this.data().getReceived() && + this.date.set(moment(this.data().getReceived())); + } + + _storeDate(date) { + this.card.setReceived(date); + } + + _deleteDate() { + this.card.setReceived(null); + } +}.register('editCardReceivedDatePopup')); + +// editCardStartDatePopup +(class extends DatePicker { + onCreated() { + super.onCreated(moment().format('YYYY-MM-DD HH:mm')); + this.data().getStart() && this.date.set(moment(this.data().getStart())); + } + + onRendered() { + super.onRendered(); + if (moment.isDate(this.card.getReceived())) { + this.$('.js-datepicker').datepicker( + 'setStartDate', + this.card.getReceived(), + ); + } + } + + _storeDate(date) { + this.card.setStart(date); + } + + _deleteDate() { + this.card.setStart(null); + } +}.register('editCardStartDatePopup')); + +// editCardDueDatePopup +(class extends DatePicker { + onCreated() { + super.onCreated('1970-01-01 17:00:00'); + this.data().getDue() && this.date.set(moment(this.data().getDue())); + } + + onRendered() { + super.onRendered(); + if (moment.isDate(this.card.getStart())) { + this.$('.js-datepicker').datepicker('setStartDate', this.card.getStart()); + } + } + + _storeDate(date) { + this.card.setDue(date); + } + + _deleteDate() { + this.card.setDue(null); + } +}.register('editCardDueDatePopup')); + +// editCardEndDatePopup +(class extends DatePicker { + onCreated() { + super.onCreated(moment().format('YYYY-MM-DD HH:mm')); + this.data().getEnd() && this.date.set(moment(this.data().getEnd())); + } + + onRendered() { + super.onRendered(); + if (moment.isDate(this.card.getStart())) { + this.$('.js-datepicker').datepicker('setStartDate', this.card.getStart()); + } + } + + _storeDate(date) { + this.card.setEnd(date); + } + + _deleteDate() { + this.card.setEnd(null); + } +}.register('editCardEndDatePopup')); + +// Display received, start, due & end dates +const CardDate = BlazeComponent.extendComponent({ + template() { + return 'dateBadge'; + }, + + onCreated() { + const self = this; + self.date = ReactiveVar(); + self.now = ReactiveVar(moment()); + window.setInterval(() => { + self.now.set(moment()); + }, 60000); + }, + + showDate() { + // this will start working once mquandalle:moment + // is updated to at least moment.js 2.10.5 + // until then, the date is displayed in the "L" format + return this.date.get().calendar(null, { + sameElse: 'llll', + }); + }, + + showISODate() { + return this.date.get().toISOString(); + }, +}); + +class CardReceivedDate extends CardDate { + onCreated() { + super.onCreated(); + const self = this; + self.autorun(() => { + self.date.set(moment(self.data().getReceived())); + }); + } + + classes() { + let classes = 'received-date '; + const dueAt = this.data().getDue(); + const endAt = this.data().getEnd(); + const startAt = this.data().getStart(); + const theDate = this.date.get(); + // if dueAt, endAt and startAt exist & are > receivedAt, receivedAt doesn't need to be flagged + if ( + (startAt && theDate.isAfter(startAt)) || + (endAt && theDate.isAfter(endAt)) || + (dueAt && theDate.isAfter(dueAt)) + ) + classes += 'long-overdue'; + else classes += 'current'; + return classes; + } + + showTitle() { + return `${TAPi18n.__('card-received-on')} ${this.date + .get() + .format('LLLL')}`; + } + + events() { + return super.events().concat({ + 'click .js-edit-date': Popup.open('editCardReceivedDate'), + }); + } +} +CardReceivedDate.register('cardReceivedDate'); + +class CardStartDate extends CardDate { + onCreated() { + super.onCreated(); + const self = this; + self.autorun(() => { + self.date.set(moment(self.data().getStart())); + }); + } + + classes() { + let classes = 'start-date' + ' '; + const dueAt = this.data().getDue(); + const endAt = this.data().getEnd(); + const theDate = this.date.get(); + const now = this.now.get(); + // if dueAt or endAt exist & are > startAt, startAt doesn't need to be flagged + if ((endAt && theDate.isAfter(endAt)) || (dueAt && theDate.isAfter(dueAt))) + classes += 'long-overdue'; + else if (theDate.isBefore(now, 'minute')) classes += 'almost-due'; + else classes += 'current'; + return classes; + } + + showTitle() { + return `${TAPi18n.__('card-start-on')} ${this.date.get().format('LLLL')}`; + } + + events() { + return super.events().concat({ + 'click .js-edit-date': Popup.open('editCardStartDate'), + }); + } +} +CardStartDate.register('cardStartDate'); + +class CardDueDate extends CardDate { + onCreated() { + super.onCreated(); + const self = this; + self.autorun(() => { + self.date.set(moment(self.data().getDue())); + }); + } + + classes() { + let classes = 'due-date' + ' '; + const endAt = this.data().getEnd(); + const theDate = this.date.get(); + const now = this.now.get(); + // if the due date is after the end date, green - done early + if (endAt && theDate.isAfter(endAt)) classes += 'current'; + // if there is an end date, don't need to flag the due date + else if (endAt) classes += ''; + else if (now.diff(theDate, 'days') >= 2) classes += 'long-overdue'; + else if (now.diff(theDate, 'minute') >= 0) classes += 'due'; + else if (now.diff(theDate, 'days') >= -1) classes += 'almost-due'; + return classes; + } + + showTitle() { + return `${TAPi18n.__('card-due-on')} ${this.date.get().format('LLLL')}`; + } + + events() { + return super.events().concat({ + 'click .js-edit-date': Popup.open('editCardDueDate'), + }); + } +} +CardDueDate.register('cardDueDate'); + +class CardEndDate extends CardDate { + onCreated() { + super.onCreated(); + const self = this; + self.autorun(() => { + self.date.set(moment(self.data().getEnd())); + }); + } + + classes() { + let classes = 'end-date' + ' '; + const dueAt = this.data().getDue(); + const theDate = this.date.get(); + if (!dueAt) classes += ''; + else if (theDate.isBefore(dueAt)) classes += 'current'; + else if (theDate.isAfter(dueAt)) classes += 'due'; + return classes; + } + + showTitle() { + return `${TAPi18n.__('card-end-on')} ${this.date.get().format('LLLL')}`; + } + + events() { + return super.events().concat({ + 'click .js-edit-date': Popup.open('editCardEndDate'), + }); + } +} +CardEndDate.register('cardEndDate'); + +(class extends CardReceivedDate { + showDate() { + return this.date.get().format('l'); + } +}.register('minicardReceivedDate')); + +(class extends CardStartDate { + showDate() { + return this.date.get().format('l'); + } +}.register('minicardStartDate')); + +(class extends CardDueDate { + showDate() { + return this.date.get().format('l'); + } +}.register('minicardDueDate')); + +(class extends CardEndDate { + showDate() { + return this.date.get().format('l'); + } +}.register('minicardEndDate')); + +class VoteEndDate extends CardDate { + onCreated() { + super.onCreated(); + const self = this; + self.autorun(() => { + self.date.set(moment(self.data().getVoteEnd())); + }); + } + classes() { + const classes = 'end-date' + ' '; + return classes; + } + showDate() { + return this.date.get().format('l LT'); + } + showTitle() { + return `${TAPi18n.__('card-end-on')} ${this.date.get().format('LLLL')}`; + } + + events() { + return super.events().concat({ + 'click .js-edit-date': Popup.open('editVoteEndDate'), + }); + } +} +VoteEndDate.register('voteEndDate'); diff --git a/client/components/cards/cardDate.styl b/client/components/cards/cardDate.styl new file mode 100644 index 0000000..62cfdcd --- /dev/null +++ b/client/components/cards/cardDate.styl @@ -0,0 +1,59 @@ +.card-date + display: block + border-radius: 4px + padding: 1px 3px + + background-color: #dbdbdb + &:hover, &.is-active + background-color: #b3b3b3 + + &.current, &.almost-due, &.due, &.long-overdue + color: #fff + + &.current + background-color: #5ba639 + &:hover, &.is-active + background-color: darken(#5ba639, 10) + + &.almost-due + background-color: #edc909 + &:hover, &.is-active + background-color: darken(#edc909, 10) + + &.due + background-color: #fa3f00 + &:hover, &.is-active + background-color: darken(#fa3f00, 10) + + &.long-overdue + background-color: #fd5d47 + &:hover, &.is-active + background-color: darken(#fd5d47, 7) + + &.end-date + time + &::before + content: "\f253" // symbol: fa-hourglass-end + + &.due-date + time + &::before + content: "\f090" // symbol: fa-sign-in + + &.start-date + time + &::before + content: "\f251" // symbol: fa-hourglass-start + + &.received-date + time + &::before + content: "\f08b" // symbol: fa-sign-out + + time + &::before + font: normal normal normal 14px/1 FontAwesome + font-size: inherit + -webkit-font-smoothing: antialiased + margin-right: 0.3em + diff --git a/client/components/cards/cardDetails.jade b/client/components/cards/cardDetails.jade new file mode 100644 index 0000000..f16b255 --- /dev/null +++ b/client/components/cards/cardDetails.jade @@ -0,0 +1,625 @@ +template(name="cardDetails") + section.card-details.js-card-details: .card-details-canvas + .card-details-header(class='{{#if colorClass}}card-details-{{colorClass}}{{/if}}') + +inlinedForm(classNames="js-card-details-title") + +editCardTitleForm + else + unless isMiniScreen + a.fa.fa-times-thin.close-card-details.js-close-card-details + if currentUser.isBoardMember + a.fa.fa-navicon.card-details-menu.js-open-card-details-menu + input.inline-input(type="text" id="cardURL_copy" value="{{ absoluteUrl }}") + a.fa.fa-link.card-copy-button.js-copy-link( + class="fa-link" + title="{{_ 'copy-card-link-to-clipboard'}}" + value="{{ absoluteUrl }}" + ) + if isMiniScreen + a.fa.fa-times-thin.close-card-details-mobile-web.js-close-card-details + if currentUser.isBoardMember + a.fa.fa-navicon.card-details-menu-mobile-web.js-open-card-details-menu + a.fa.fa-link.card-copy-mobile-button + h2.card-details-title.js-card-title( + class="{{#if canModifyCard}}js-open-inlined-form is-editable{{/if}}") + +viewer + = getTitle + if isWatching + i.card-details-watch.fa.fa-eye + .card-details-path + each parentList + |   >   + a.js-parent-card(href=linkForCard) {{title}} + // else + {{_ 'top-level-card'}} + if isLinkedCard + a.linked-card-location.js-go-to-linked-card + +viewer + | {{getBoardTitle}} > {{getTitle}} + + if getArchived + if isLinkedBoard + p.warning {{_ 'board-archived'}} + else + p.warning {{_ 'card-archived'}} + + .card-details-items + if currentBoard.allowsReceivedDate + .card-details-item.card-details-item-received + h3 + i.fa.fa-sign-out + card-details-item-title {{_ 'card-received'}} + if getReceived + +cardReceivedDate + else + if canModifyCard + unless currentUser.isWorker + a.card-label.add-label.js-received-date + i.fa.fa-plus + + if currentBoard.allowsStartDate + .card-details-item.card-details-item-start + h3 + i.fa.fa-hourglass-start + card-details-item-title {{_ 'card-start'}} + if getStart + +cardStartDate + else + if canModifyCard + unless currentUser.isWorker + a.card-label.add-label.js-start-date + i.fa.fa-plus + + if currentBoard.allowsDueDate + .card-details-item.card-details-item-due + h3 + i.fa.fa-sign-in + card-details-item-title {{_ 'card-due'}} + if getDue + +cardDueDate + else + if canModifyCard + unless currentUser.isWorker + a.card-label.add-label.js-due-date + i.fa.fa-plus + + if currentBoard.allowsEndDate + .card-details-item.card-details-item-end + h3 + i.fa.fa-hourglass-end + card-details-item-title {{_ 'card-end'}} + if getEnd + +cardEndDate + else + if canModifyCard + unless currentUser.isWorker + a.card-label.add-label.js-end-date + i.fa.fa-plus + + //.card-details-items + if currentBoard.allowsMembers + .card-details-item.card-details-item-members + h3 + i.fa.fa-users + card-details-item-title {{_ 'members'}} + each getMembers + +userAvatar(userId=this cardId=../_id) + | {{! XXX Hack to hide syntaxic coloration /// }} + if canModifyCard + unless currentUser.isWorker + a.member.add-member.card-details-item-add-button.js-add-members(title="{{_ 'card-members-title'}}") + i.fa.fa-plus + + //if assigneeSelected + if currentBoard.allowsAssignee + .card-details-item.card-details-item-assignees + h3 + i.fa.fa-user + card-details-item-title {{_ 'assignee'}} + each getAssignees + +userAvatarAssignee(userId=this cardId=../_id) + | {{! XXX Hack to hide syntaxic coloration /// }} + if canModifyCard + a.assignee.add-assignee.card-details-item-add-button.js-add-assignees(title="{{_ 'assignee'}}") + i.fa.fa-plus + if currentUser.isWorker + unless assigneeSelected + a.assignee.add-assignee.card-details-item-add-button.js-add-assignees(title="{{_ 'assignee'}}") + i.fa.fa-plus + + if currentBoard.allowsLabels + .card-details-item.card-details-item-labels + h3 + i.fa.fa-tags + card-details-item-title {{_ 'labels'}} + a(class="{{#if canModifyCard}}js-add-labels{{else}}is-disabled{{/if}}" title="{{_ 'card-labels-title'}}") + each labels + span.card-label(class="card-label-{{color}}" title=name) + +viewer + = name + if canModifyCard + unless currentUser.isWorker + a.card-label.add-label.js-add-labels(title="{{_ 'card-labels-title'}}") + i.fa.fa-plus + + //.card-details-items + each customFieldsWD + .card-details-item.card-details-item-customfield + h3.card-details-item-title + +viewer + = definition.name + +cardCustomField + + //.card-details-items + if getSpentTime + .card-details-item.card-details-item-spent + if getIsOvertime + h3.card-details-item-title {{_ 'overtime-hours'}} + else + h3.card-details-item-title {{_ 'spent-time-hours'}} + +cardSpentTime + + //.card-details-items + if currentBoard.allowsRequestedBy + .card-details-item.card-details-item-name + h3 + i.fa.fa-shopping-cart + card-details-item-title {{_ 'requested-by'}} + if canModifyCard + unless currentUser.isWorker + +inlinedForm(classNames="js-card-details-requester") + +editCardRequesterForm + else + a.js-open-inlined-form + if getRequestedBy + +viewer + = getRequestedBy + else + | {{_ 'add'}} + else if getRequestedBy + +viewer + = getRequestedBy + + if currentBoard.allowsAssignedBy + .card-details-item.card-details-item-name + h3 + i.fa.fa-user-plus + card-details-item-title {{_ 'assigned-by'}} + if canModifyCard + unless currentUser.isWorker + +inlinedForm(classNames="js-card-details-assigner") + +editCardAssignerForm + else + a.js-open-inlined-form + if getAssignedBy + +viewer + = getAssignedBy + else + | {{_ 'add'}} + else if getRequestedBy + +viewer + = getAssignedBy + + if getVoteQuestion + hr + .vote-title + div.flex + h3 + i.fa.fa-thumbs-up + | {{_ 'vote-question'}} + if getVoteEnd + +voteEndDate + .vote-result + if votePublic + a.card-label.card-label-green.js-show-positive-votes {{ voteCountPositive }} + a.card-label.card-label-red.js-show-negative-votes {{ voteCountNegative }} + else + .card-label.card-label-green {{ voteCountPositive }} + .card-label.card-label-red {{ voteCountNegative }} + unless ($and currentBoard.isPublic voteAllowNonBoardMembers ) + .card-label.card-label-gray {{ voteCount }} {{_ 'r-of' }} {{ currentBoard.activeMembers.length }} + +viewer + = getVoteQuestion + if showVotingButtons + button.card-details-green.js-vote.js-vote-positive(class="{{#if voteState}}voted{{/if}}") + if voteState + i.fa.fa-thumbs-up + | {{_ 'vote-for-it'}} + button.card-details-red.js-vote.js-vote-negative(class="{{#if $eq voteState false}}voted{{/if}}") + if $eq voteState false + i.fa.fa-thumbs-down + | {{_ 'vote-against'}} + + //- XXX We should use "editable" to avoid repetiting ourselves + if canModifyCard + unless currentUser.isWorker + if currentBoard.allowsDescriptionTitle + hr + h3 + i.fa.fa-align-left + card-details-item-title {{_ 'description'}} + if currentBoard.allowsDescriptionText + +inlinedCardDescription(classNames="card-description js-card-description") + +editor(autofocus=true) + | {{getUnsavedValue 'cardDescription' _id getDescription}} + .edit-controls.clearfix + button.primary(type="submit") {{_ 'save'}} + a.fa.fa-times-thin.js-close-inlined-form + else + if currentBoard.allowsDescriptionText + a.js-open-inlined-form + if getDescription + +viewer + = getDescription + else + | {{_ 'edit'}} + if (hasUnsavedValue 'cardDescription' _id) + p.quiet + | {{_ 'unsaved-description'}} + a.js-open-inlined-form {{_ 'view-it'}} + = ' - ' + a.js-close-inlined-form {{_ 'discard'}} + else if getDescription + if currentBoard.allowsDescriptionTitle + hr + h3.card-details-item-title {{_ 'description'}} + if currentBoard.allowsDescriptionText + +viewer + = getDescription + + .card-checklist-attachmentGalerys + .card-checklist-attachmentGalery.card-checklists + if currentBoard.allowsChecklists + hr + +checklists(cardId = _id) + if currentBoard.allowsSubtasks + hr + +subtasks(cardId = _id) + if currentBoard.allowsAttachments + hr + h3 + i.fa.fa-paperclip + | {{_ 'attachments'}} + .card-checklist-attachmentGalery.card-attachmentGalery + +attachmentsGalery + + hr + unless currentUser.isNoComments + .activity-title + h3 + i.fa.fa-history + | {{ _ 'activity'}} + if currentUser.isBoardMember + .material-toggle-switch + span.toggle-switch-title {{_ 'hide-system-messages'}} + if hiddenSystemMessages + input.toggle-switch(type="checkbox" id="toggleButton" checked="checked") + else + input.toggle-switch(type="checkbox" id="toggleButton") + label.toggle-label(for="toggleButton") + if currentBoard.allowsComments + if currentUser.isBoardMember + unless currentUser.isNoComments + +commentForm + unless currentUser.isNoComments + if isLoaded.get + if isLinkedCard + +activities(card=this mode="linkedcard") + else if isLinkedBoard + +activities(card=this mode="linkedboard") + else + +activities(card=this mode="card") + +template(name="editCardTitleForm") + textarea.js-edit-card-title(rows='1' autofocus dir="auto") + = getTitle + .edit-controls.clearfix + button.primary.confirm.js-submit-edit-card-title-form(type="submit") {{_ 'save'}} + a.fa.fa-times-thin.js-close-inlined-form + +template(name="editCardRequesterForm") + input.js-edit-card-requester(type='text' autofocus value=getRequestedBy dir="auto") + .edit-controls.clearfix + button.primary.confirm.js-submit-edit-card-requester-form(type="submit") {{_ 'save'}} + a.fa.fa-times-thin.js-close-inlined-form + +template(name="editCardAssignerForm") + input.js-edit-card-assigner(type='text' autofocus value=getAssignedBy dir="auto") + .edit-controls.clearfix + button.primary.confirm.js-submit-edit-card-assigner-form(type="submit") {{_ 'save'}} + a.fa.fa-times-thin.js-close-inlined-form + +template(name="cardDetailsActionsPopup") + ul.pop-over-list + li + a.js-toggle-watch-card + if isWatching + i.fa.fa-eye + | {{_ 'unwatch'}} + else + i.fa.fa-eye-slash + | {{_ 'watch'}} + if canModifyCard + unless currentUser.isWorker + hr + ul.pop-over-list + //li: a.js-members {{_ 'card-edit-members'}} + //li: a.js-labels {{_ 'card-edit-labels'}} + //li: a.js-attachments {{_ 'card-edit-attachments'}} + li + a.js-start-voting + i.fa.fa-thumbs-up + | {{_ 'card-edit-voting'}} + li + a.js-custom-fields + i.fa.fa-list-alt + | {{_ 'card-edit-custom-fields'}} + //li: a.js-received-date {{_ 'editCardReceivedDatePopup-title'}} + //li: a.js-start-date {{_ 'editCardStartDatePopup-title'}} + //li: a.js-due-date {{_ 'editCardDueDatePopup-title'}} + //li: a.js-end-date {{_ 'editCardEndDatePopup-title'}} + li + a.js-spent-time + i.fa.fa-clock-o + | {{_ 'editCardSpentTimePopup-title'}} + li + a.js-set-card-color + i.fa.fa-paint-brush + | {{_ 'setCardColorPopup-title'}} + hr + ul.pop-over-list + li + a.js-move-card-to-top + i.fa.fa-arrow-up + | {{_ 'moveCardToTop-title'}} + li + a.js-move-card-to-bottom + i.fa.fa-arrow-down + | {{_ 'moveCardToBottom-title'}} + unless currentUser.isWorker + hr + ul.pop-over-list + li + a.js-move-card + i.fa.fa-arrow-right + | {{_ 'moveCardPopup-title'}} + li + a.js-copy-card + i.fa.fa-copy + | {{_ 'copyCardPopup-title'}} + hr + ul.pop-over-list + li + a.js-copy-checklist-cards + i.fa.fa-list + i.fa.fa-copy + | {{_ 'copyChecklistToManyCardsPopup-title'}} + unless archived + hr + ul.pop-over-list + li + a.js-archive + i.fa.fa-arrow-right + i.fa.fa-archive + | {{_ 'archive-card'}} + hr + ul.pop-over-list + li + a.js-more + i.fa.fa-link + | {{_ 'cardMorePopup-title'}} + +template(name="moveCardPopup") + +boardsAndLists + +template(name="copyCardPopup") + label(for='copy-card-title') {{_ 'title'}}: + textarea#copy-card-title.minicard-composer-textarea.js-card-title(autofocus) + = getTitle + +boardsAndLists + +template(name="copyChecklistToManyCardsPopup") + label(for='copy-checklist-cards-title') {{_ 'copyChecklistToManyCardsPopup-instructions'}}: + textarea#copy-card-title.minicard-composer-textarea.js-card-title(autofocus) + | {{_ 'copyChecklistToManyCardsPopup-format'}} + +boardsAndLists + +template(name="boardsAndLists") + label {{_ 'boards'}}: + select.js-select-boards(autofocus) + each boards + if $eq _id currentBoard._id + option(value="{{_id}}" selected) {{_ 'current'}} + else + option(value="{{_id}}") {{title}} + + label {{_ 'swimlanes'}}: + select.js-select-swimlanes + each swimlanes + option(value="{{_id}}") {{title}} + + label {{_ 'lists'}}: + select.js-select-lists + each aBoardLists + option(value="{{_id}}") {{title}} + + .edit-controls.clearfix + button.primary.confirm.js-done {{_ 'done'}} + +template(name="cardMembersPopup") + ul.pop-over-list.js-card-member-list + each board.activeMembers + li.item(class="{{#if isCardMember}}active{{/if}}") + a.name.js-select-member(href="#") + +userAvatar(userId=user._id) + span.full-name + = user.profile.fullname + | ({{ user.username }}) + if isCardMember + i.fa.fa-check + +template(name="cardAssigneesPopup") + unless currentUser.isWorker + ul.pop-over-list.js-card-assignee-list + each board.activeMembers + li.item(class="{{#if isCardAssignee}}active{{/if}}") + a.name.js-select-assignee(href="#") + +userAvatar(userId=user._id) + span.full-name + = user.profile.fullname + | ({{ user.username }}) + if isCardAssignee + i.fa.fa-check + if currentUser.isWorker + ul.pop-over-list.js-card-assignee-list + li.item(class="{{#if currentUser.isCardAssignee}}active{{/if}}") + a.name.js-select-assignee(href="#") + +userAvatar(userId=currentUser._id) + span.full-name + = currentUser.profile.fullname + | ({{ currentUser.username }}) + if currentUser.isCardAssignee + i.fa.fa-check + +template(name="userAvatarAssignee") + a.assignee.js-assignee(title="{{userData.profile.fullname}} ({{userData.username}})") + if userData.profile.avatarUrl + img.avatar.avatar-image(src="{{userData.profile.avatarUrl}}") + else + +userAvatarAssigneeInitials(userId=userData._id) + + if showStatus + span.assignee-presence-status(class=presenceStatusClassName) + span.member-type(class=memberType) + + unless isSandstorm + if showEdit + if $eq currentUser._id userData._id + a.edit-avatar.js-change-avatar + i.fa.fa-pencil + +template(name="cardAssigneePopup") + .board-assignee-menu + .mini-profile-info + +userAvatar(userId=user._id showEdit=true) + .info + h3= user.profile.fullname + p.quiet @{{ user.username }} + ul.pop-over-list + if currentUser.isNotCommentOnly + unless currentUser.isWorker + li: a.js-remove-assignee {{_ 'remove-member-from-card'}} + + unless currentUser.isWorker + if $eq currentUser._id user._id + with currentUser + li: a.js-edit-profile {{_ 'edit-profile'}} + +template(name="userAvatarAssigneeInitials") + svg.avatar.avatar-assignee-initials(viewBox="0 0 {{viewPortWidth}} 15") + text(x="50%" y="13" text-anchor="middle")= initials + +template(name="cardMorePopup") + p.quiet + span.clearfix + span {{_ 'link-card'}} + = ' ' + i.fa.colorful(class="{{#if board.isPublic}}fa-globe{{else}}fa-lock{{/if}}") + input.inline-input(type="text" id="cardURL" readonly value="{{ absoluteUrl }}" autofocus="autofocus") + button.js-copy-card-link-to-clipboard(class="btn" id="clipboard") {{_ 'copy-card-link-to-clipboard'}} + span.clearfix + br + h2 {{_ 'change-card-parent'}} + label {{_ 'source-board'}}: + select.js-field-parent-board + if isTopLevel + option(value="none" selected) {{_ 'custom-field-dropdown-none'}} + else + option(value="none") {{_ 'custom-field-dropdown-none'}} + each boards + if isParentBoard + option(value="{{_id}}" selected) {{title}} + else + option(value="{{_id}}") {{title}} + + label {{_ 'parent-card'}}: + select.js-field-parent-card + if isTopLevel + option(value="none" selected) {{_ 'custom-field-dropdown-none'}} + else + option(value="none") {{_ 'custom-field-dropdown-none'}} + each cards + if isParentCard + option(value="{{_id}}" selected) {{title}} + else + option(value="{{_id}}") {{title}} + br + | {{_ 'added'}} + span.date(title=card.createdAt) {{ moment createdAt 'LLL' }} + a.js-delete(title="{{_ 'card-delete-notice'}}") {{_ 'delete'}} + +template(name="setCardColorPopup") + form.edit-label + .palette-colors: each colors + unless $eq color 'white' + span.card-label.palette-color.js-palette-color(class="card-details-{{color}}") + if(isSelected color) + i.fa.fa-check + button.primary.confirm.js-submit {{_ 'save'}} + button.js-remove-color.negate.wide.right {{_ 'unset-color'}} + +template(name="cardDeletePopup") + p {{_ "card-delete-pop"}} + unless archived + p {{_ "card-delete-suggest-archive"}} + button.js-confirm.negate.full(type="submit") {{_ 'delete'}} + +template(name="deleteVotePopup") + p {{_ "vote-delete-pop"}} + button.js-confirm.negate.full(type="submit") {{_ 'delete'}} + +template(name="cardStartVotingPopup") + form.edit-vote-question + .fields + label(for="vote") {{_ 'vote-question'}} + input.js-vote-field#vote(type="text" name="vote" value="{{getVoteQuestion}}" autofocus disabled="{{#if getVoteQuestion}}disabled{{/if}}") + .check-div + a.flex(class="{{#if getVoteQuestion}}is-disabled{{else}}js-toggle-vote-allow-non-members{{/if}}") + .materialCheckBox#vote-allow-non-members(name="vote-allow-non-members" class="{{#if voteAllowNonBoardMembers}}is-checked{{/if}}") + span {{_ 'allowNonBoardMembers'}} + .check-div + a.flex(class="{{#if getVoteQuestion}}is-disabled{{else}}js-toggle-vote-public{{/if}}") + .materialCheckBox#vote-public(name="vote-public" class="{{#if votePublic}}is-checked{{/if}}") + span {{_ 'vote-public'}} + .check-div.flex + i.fa.fa-hourglass-end + a.js-end-date + span + | {{_ 'card-end'}} + unless getVoteEnd + i.fa.fa-plus + if getVoteEnd + +voteEndDate + + button.primary.js-submit {{_ 'save'}} + if getVoteQuestion + button.js-remove-vote.negate.wide.right {{_ 'delete'}} + +template(name="positiveVoteMembersPopup") + ul.pop-over-list.js-card-member-list + each m in voteMemberPositive + li.item + a.name + +userAvatar(userId=m._id) + span.full-name + = m.profile.fullname + | ({{ m.username }}) + +template(name="negativeVoteMembersPopup") + ul.pop-over-list.js-card-member-list + each m in voteMemberNegative + li.item + a.name + +userAvatar(userId=m._id) + span.full-name + = m.profile.fullname + | ({{ m.username }}) diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js new file mode 100644 index 0000000..c9d5c76 --- /dev/null +++ b/client/components/cards/cardDetails.js @@ -0,0 +1,1171 @@ +const subManager = new SubsManager(); +const { calculateIndexData } = Utils; + +let cardColors; +Meteor.startup(() => { + cardColors = Cards.simpleSchema()._schema.color.allowedValues; +}); + +BlazeComponent.extendComponent({ + mixins() { + return [Mixins.InfiniteScrolling]; + }, + + calculateNextPeak() { + const cardElement = this.find('.js-card-details'); + if (cardElement) { + const altitude = cardElement.scrollHeight; + this.callFirstWith(this, 'setNextPeak', altitude); + } + }, + + reachNextPeak() { + const activitiesComponent = this.childComponents('activities')[0]; + activitiesComponent.loadNextPage(); + }, + + onCreated() { + this.currentBoard = Boards.findOne(Session.get('currentBoard')); + this.isLoaded = new ReactiveVar(false); + const boardBody = this.parentComponent().parentComponent(); + //in Miniview parent is Board, not BoardBody. + if (boardBody !== null) { + boardBody.showOverlay.set(true); + boardBody.mouseHasEnterCardDetails = false; + } + this.calculateNextPeak(); + + Meteor.subscribe('unsaved-edits'); + }, + + isWatching() { + const card = this.currentData(); + return card.findWatcher(Meteor.userId()); + }, + + hiddenSystemMessages() { + return Meteor.user().hasHiddenSystemMessages(); + }, + + canModifyCard() { + return ( + Meteor.user() && + Meteor.user().isBoardMember() && + !Meteor.user().isCommentOnly() && + !Meteor.user().isWorker() + ); + }, + + scrollParentContainer() { + const cardPanelWidth = 510; + const parentComponent = this.parentComponent(); + // TODO sometimes parentComponent is not available, maybe because it's not + // yet created?! + if (!parentComponent) return; + const bodyBoardComponent = parentComponent.parentComponent(); + //On Mobile View Parent is Board, Not Board Body. I cant see how this funciton should work then. + if (bodyBoardComponent === null) return; + const $cardView = this.$(this.firstNode()); + const $cardContainer = bodyBoardComponent.$('.js-swimlanes'); + // TODO sometimes cardContainer is not available, maybe because it's not yet + // created?! + if (!$cardContainer) return; + const cardContainerScroll = $cardContainer.scrollLeft(); + const cardContainerWidth = $cardContainer.width(); + + const cardViewStart = $cardView.offset().left; + const cardViewEnd = cardViewStart + cardPanelWidth; + + let offset = false; + if (cardViewStart < 0) { + offset = cardViewStart; + } else if (cardViewEnd > cardContainerWidth) { + offset = cardViewEnd - cardContainerWidth; + } + + if (offset) { + bodyBoardComponent.scrollLeft(cardContainerScroll + offset); + } + + //Scroll top + const cardViewStartTop = $cardView.offset().top; + const cardContainerScrollTop = $cardContainer.scrollTop(); + + let topOffset = false; + if (cardViewStartTop !== 100) { + topOffset = cardViewStartTop - 100; + } + if (topOffset !== false) { + bodyBoardComponent.scrollTop(cardContainerScrollTop + topOffset); + } + }, + + presentParentTask() { + let result = this.currentBoard.presentParentTask; + if (result === null || result === undefined) { + result = 'no-parent'; + } + return result; + }, + + linkForCard() { + const card = this.currentData(); + let result = '#'; + if (card) { + const board = Boards.findOne(card.boardId); + if (board) { + result = FlowRouter.url('card', { + boardId: card.boardId, + slug: board.slug, + cardId: card._id, + }); + } + } + return result; + }, + + showVotingButtons() { + const card = this.currentData(); + return ( + (currentUser.isBoardMember() || + (currentUser && card.voteAllowNonBoardMembers())) && + !card.expiredVote() + ); + }, + + onRendered() { + if (Meteor.settings.public.CARD_OPENED_WEBHOOK_ENABLED) { + // Send Webhook but not create Activities records --- + const card = this.currentData(); + const userId = Meteor.userId(); + const params = { + userId, + cardId: card._id, + boardId: card.boardId, + listId: card.listId, + user: Meteor.user().username, + url: '', + }; + + const integrations = Integrations.find({ + boardId: { $in: [card.boardId, Integrations.Const.GLOBAL_WEBHOOK_ID] }, + enabled: true, + activities: { $in: ['CardDetailsRendered', 'all'] }, + }).fetch(); + + if (integrations.length > 0) { + integrations.forEach(integration => { + Meteor.call( + 'outgoingWebhooks', + integration, + 'CardSelected', + params, + () => { + return; + }, + ); + }); + } + //------------- + } + + if (!Utils.isMiniScreen()) { + Meteor.setTimeout(() => { + this.scrollParentContainer(); + }, 500); + } + const $checklistsDom = this.$('.card-checklist-items'); + + $checklistsDom.sortable({ + tolerance: 'pointer', + helper: 'clone', + handle: '.checklist-title', + items: '.js-checklist', + placeholder: 'checklist placeholder', + distance: 7, + start(evt, ui) { + ui.placeholder.height(ui.helper.height()); + EscapeActions.executeUpTo('popup-close'); + }, + stop(evt, ui) { + let prevChecklist = ui.item.prev('.js-checklist').get(0); + if (prevChecklist) { + prevChecklist = Blaze.getData(prevChecklist).checklist; + } + let nextChecklist = ui.item.next('.js-checklist').get(0); + if (nextChecklist) { + nextChecklist = Blaze.getData(nextChecklist).checklist; + } + const sortIndex = calculateIndexData(prevChecklist, nextChecklist, 1); + + $checklistsDom.sortable('cancel'); + const checklist = Blaze.getData(ui.item.get(0)).checklist; + + Checklists.update(checklist._id, { + $set: { + sort: sortIndex.base, + }, + }); + }, + }); + + const $subtasksDom = this.$('.card-subtasks-items'); + + $subtasksDom.sortable({ + tolerance: 'pointer', + helper: 'clone', + handle: '.subtask-title', + items: '.js-subtasks', + placeholder: 'subtasks placeholder', + distance: 7, + start(evt, ui) { + ui.placeholder.height(ui.helper.height()); + EscapeActions.executeUpTo('popup-close'); + }, + stop(evt, ui) { + let prevChecklist = ui.item.prev('.js-subtasks').get(0); + if (prevChecklist) { + prevChecklist = Blaze.getData(prevChecklist).subtask; + } + let nextChecklist = ui.item.next('.js-subtasks').get(0); + if (nextChecklist) { + nextChecklist = Blaze.getData(nextChecklist).subtask; + } + const sortIndex = calculateIndexData(prevChecklist, nextChecklist, 1); + + $subtasksDom.sortable('cancel'); + const subtask = Blaze.getData(ui.item.get(0)).subtask; + + Subtasks.update(subtask._id, { + $set: { + subtaskSort: sortIndex.base, + }, + }); + }, + }); + + function userIsMember() { + return Meteor.user() && Meteor.user().isBoardMember(); + } + + // Disable sorting if the current user is not a board member + this.autorun(() => { + const disabled = !userIsMember() || Utils.isMiniScreen(); + if ( + $checklistsDom.data('uiSortable') || + $checklistsDom.data('sortable') + ) { + $checklistsDom.sortable('option', 'disabled', disabled); + } + if ($subtasksDom.data('uiSortable') || $subtasksDom.data('sortable')) { + $subtasksDom.sortable('option', 'disabled', disabled); + } + }); + }, + + onDestroyed() { + const parentComponent = this.parentComponent().parentComponent(); + //on mobile view parent is Board, not board body. + if (parentComponent === null) return; + parentComponent.showOverlay.set(false); + }, + + events() { + const events = { + [`${CSSEvents.transitionend} .js-card-details`]() { + this.isLoaded.set(true); + }, + [`${CSSEvents.animationend} .js-card-details`]() { + this.isLoaded.set(true); + }, + }; + + return [ + { + ...events, + 'click .js-close-card-details'() { + Utils.goBoardId(this.data().boardId); + }, + 'click .js-copy-link'() { + StringToCopyElement = document.getElementById('cardURL_copy'); + StringToCopyElement.select(); + if (document.execCommand('copy')) { + StringToCopyElement.blur(); + } else { + document.getElementById('cardURL_copy').selectionStart = 0; + document.getElementById('cardURL_copy').selectionEnd = 999; + document.execCommand('copy'); + if (window.getSelection) { + if (window.getSelection().empty) { + // Chrome + window.getSelection().empty(); + } else if (window.getSelection().removeAllRanges) { + // Firefox + window.getSelection().removeAllRanges(); + } + } else if (document.selection) { + // IE? + document.selection.empty(); + } + } + }, + 'click .js-open-card-details-menu': Popup.open('cardDetailsActions'), + 'submit .js-card-description'(event) { + event.preventDefault(); + const description = this.currentComponent().getValue(); + this.data().setDescription(description); + }, + 'submit .js-card-details-title'(event) { + event.preventDefault(); + const title = this.currentComponent() + .getValue() + .trim(); + if (title) { + this.data().setTitle(title); + } else { + this.data().setTitle(''); + } + }, + 'submit .js-card-details-assigner'(event) { + event.preventDefault(); + const assigner = this.currentComponent() + .getValue() + .trim(); + if (assigner) { + this.data().setAssignedBy(assigner); + } else { + this.data().setAssignedBy(''); + } + }, + 'submit .js-card-details-requester'(event) { + event.preventDefault(); + const requester = this.currentComponent() + .getValue() + .trim(); + if (requester) { + this.data().setRequestedBy(requester); + } else { + this.data().setRequestedBy(''); + } + }, + 'click .js-go-to-linked-card'() { + Utils.goCardId(this.data().linkedId); + }, + 'click .js-member': Popup.open('cardMember'), + 'click .js-add-members': Popup.open('cardMembers'), + 'click .js-assignee': Popup.open('cardAssignee'), + 'click .js-add-assignees': Popup.open('cardAssignees'), + 'click .js-add-labels': Popup.open('cardLabels'), + 'click .js-received-date': Popup.open('editCardReceivedDate'), + 'click .js-start-date': Popup.open('editCardStartDate'), + 'click .js-due-date': Popup.open('editCardDueDate'), + 'click .js-end-date': Popup.open('editCardEndDate'), + 'click .js-show-positive-votes': Popup.open('positiveVoteMembers'), + 'click .js-show-negative-votes': Popup.open('negativeVoteMembers'), + 'mouseenter .js-card-details'() { + const parentComponent = this.parentComponent().parentComponent(); + //on mobile view parent is Board, not BoardBody. + if (parentComponent === null) return; + parentComponent.showOverlay.set(true); + parentComponent.mouseHasEnterCardDetails = true; + }, + 'mousedown .js-card-details'() { + Session.set('cardDetailsIsDragging', false); + Session.set('cardDetailsIsMouseDown', true); + }, + 'mousemove .js-card-details'() { + if (Session.get('cardDetailsIsMouseDown')) { + Session.set('cardDetailsIsDragging', true); + } + }, + 'mouseup .js-card-details'() { + Session.set('cardDetailsIsDragging', false); + Session.set('cardDetailsIsMouseDown', false); + }, + 'click #toggleButton'() { + Meteor.call('toggleSystemMessages'); + }, + 'click .js-vote'(e) { + const forIt = $(e.target).hasClass('js-vote-positive'); + let newState = null; + if ( + this.data().voteState() === null || + (this.data().voteState() === false && forIt) || + (this.data().voteState() === true && !forIt) + ) { + newState = forIt; + } + this.data().setVote(Meteor.userId(), newState); + }, + }, + ]; + }, +}).register('cardDetails'); + +Template.cardDetails.helpers({ + userData() { + // We need to handle a special case for the search results provided by the + // `matteodem:easy-search` package. Since these results gets published in a + // separate collection, and not in the standard Meteor.Users collection as + // expected, we use a component parameter ("property") to distinguish the + // two cases. + const userCollection = this.esSearch ? ESSearchResults : Users; + return userCollection.findOne(this.userId, { + fields: { + profile: 1, + username: 1, + }, + }); + }, + + receivedSelected() { + if (this.getReceived().length === 0) { + return false; + } else { + return true; + } + }, + + startSelected() { + if (this.getStart().length === 0) { + return false; + } else { + return true; + } + }, + + endSelected() { + if (this.getEnd().length === 0) { + return false; + } else { + return true; + } + }, + + dueSelected() { + if (this.getDue().length === 0) { + return false; + } else { + return true; + } + }, + + memberSelected() { + if (this.getMembers().length === 0) { + return false; + } else { + return true; + } + }, + + labelSelected() { + if (this.getLabels().length === 0) { + return false; + } else { + return true; + } + }, + + assigneeSelected() { + if (this.getAssignees().length === 0) { + return false; + } else { + return true; + } + }, + + requestBySelected() { + if (this.getRequestBy().length === 0) { + return false; + } else { + return true; + } + }, + + assigneeBySelected() { + if (this.getAssigneeBy().length === 0) { + return false; + } else { + return true; + } + }, + + memberType() { + const user = Users.findOne(this.userId); + return user && user.isBoardAdmin() ? 'admin' : 'normal'; + }, + + presenceStatusClassName() { + const user = Users.findOne(this.userId); + const userPresence = presences.findOne({ userId: this.userId }); + if (user && user.isInvitedTo(Session.get('currentBoard'))) return 'pending'; + else if (!userPresence) return 'disconnected'; + else if (Session.equals('currentBoard', userPresence.state.currentBoardId)) + return 'active'; + else return 'idle'; + }, +}); + +Template.userAvatarAssigneeInitials.helpers({ + initials() { + const user = Users.findOne(this.userId); + return user && user.getInitials(); + }, + + viewPortWidth() { + const user = Users.findOne(this.userId); + return ((user && user.getInitials().length) || 1) * 12; + }, +}); + +// We extends the normal InlinedForm component to support UnsavedEdits draft +// feature. +(class extends InlinedForm { + _getUnsavedEditKey() { + return { + fieldName: 'cardDescription', + // XXX Recovering the currentCard identifier form a session variable is + // fragile because this variable may change for instance if the route + // change. We should use some component props instead. + docId: Session.get('currentCard'), + }; + } + + close(isReset = false) { + if (this.isOpen.get() && !isReset) { + const draft = this.getValue().trim(); + if ( + draft !== Cards.findOne(Session.get('currentCard')).getDescription() + ) { + UnsavedEdits.set(this._getUnsavedEditKey(), this.getValue()); + } + } + super.close(); + } + + reset() { + UnsavedEdits.reset(this._getUnsavedEditKey()); + this.close(true); + } + + events() { + const parentEvents = InlinedForm.prototype.events()[0]; + return [ + { + ...parentEvents, + 'click .js-close-inlined-form': this.reset, + }, + ]; + } +}.register('inlinedCardDescription')); + +Template.cardDetailsActionsPopup.helpers({ + isWatching() { + return this.findWatcher(Meteor.userId()); + }, + + canModifyCard() { + return ( + Meteor.user() && + Meteor.user().isBoardMember() && + !Meteor.user().isCommentOnly() + ); + }, +}); + +Template.cardDetailsActionsPopup.events({ + 'click .js-members': Popup.open('cardMembers'), + 'click .js-assignees': Popup.open('cardAssignees'), + 'click .js-labels': Popup.open('cardLabels'), + 'click .js-attachments': Popup.open('cardAttachments'), + 'click .js-start-voting': Popup.open('cardStartVoting'), + 'click .js-custom-fields': Popup.open('cardCustomFields'), + 'click .js-received-date': Popup.open('editCardReceivedDate'), + 'click .js-start-date': Popup.open('editCardStartDate'), + 'click .js-due-date': Popup.open('editCardDueDate'), + 'click .js-end-date': Popup.open('editCardEndDate'), + 'click .js-spent-time': Popup.open('editCardSpentTime'), + 'click .js-move-card': Popup.open('moveCard'), + 'click .js-copy-card': Popup.open('copyCard'), + 'click .js-copy-checklist-cards': Popup.open('copyChecklistToManyCards'), + 'click .js-set-card-color': Popup.open('setCardColor'), + 'click .js-move-card-to-top'(event) { + event.preventDefault(); + const minOrder = _.min( + this.list() + .cards(this.swimlaneId) + .map(c => c.sort), + ); + this.move(this.boardId, this.swimlaneId, this.listId, minOrder - 1); + }, + 'click .js-move-card-to-bottom'(event) { + event.preventDefault(); + const maxOrder = _.max( + this.list() + .cards(this.swimlaneId) + .map(c => c.sort), + ); + this.move(this.boardId, this.swimlaneId, this.listId, maxOrder + 1); + }, + 'click .js-archive'(event) { + event.preventDefault(); + this.archive(); + Popup.close(); + }, + 'click .js-more': Popup.open('cardMore'), + 'click .js-toggle-watch-card'() { + const currentCard = this; + const level = currentCard.findWatcher(Meteor.userId()) ? null : 'watching'; + Meteor.call('watch', 'card', currentCard._id, level, (err, ret) => { + if (!err && ret) Popup.close(); + }); + }, +}); + +Template.editCardTitleForm.onRendered(function() { + autosize(this.$('.js-edit-card-title')); +}); + +Template.editCardTitleForm.events({ + 'keydown .js-edit-card-title'(event) { + // If enter key was pressed, submit the data + // Unless the shift key is also being pressed + if (event.keyCode === 13 && !event.shiftKey) { + $('.js-submit-edit-card-title-form').click(); + } + }, +}); + +Template.editCardRequesterForm.onRendered(function() { + autosize(this.$('.js-edit-card-requester')); +}); + +Template.editCardRequesterForm.events({ + 'keydown .js-edit-card-requester'(event) { + // If enter key was pressed, submit the data + if (event.keyCode === 13) { + $('.js-submit-edit-card-requester-form').click(); + } + }, +}); + +Template.editCardAssignerForm.onRendered(function() { + autosize(this.$('.js-edit-card-assigner')); +}); + +Template.editCardAssignerForm.events({ + 'keydown .js-edit-card-assigner'(event) { + // If enter key was pressed, submit the data + if (event.keyCode === 13) { + $('.js-submit-edit-card-assigner-form').click(); + } + }, +}); + +Template.moveCardPopup.events({ + 'click .js-done'() { + // XXX We should *not* get the currentCard from the global state, but + // instead from a “component” state. + const card = Cards.findOne(Session.get('currentCard')); + const bSelect = $('.js-select-boards')[0]; + const boardId = bSelect.options[bSelect.selectedIndex].value; + const lSelect = $('.js-select-lists')[0]; + const listId = lSelect.options[lSelect.selectedIndex].value; + const slSelect = $('.js-select-swimlanes')[0]; + const swimlaneId = slSelect.options[slSelect.selectedIndex].value; + card.move(boardId, swimlaneId, listId, 0); + Popup.close(); + }, +}); +BlazeComponent.extendComponent({ + onCreated() { + subManager.subscribe('board', Session.get('currentBoard'), false); + this.selectedBoardId = new ReactiveVar(Session.get('currentBoard')); + }, + + boards() { + const boards = Boards.find( + { + archived: false, + 'members.userId': Meteor.userId(), + _id: { $ne: Meteor.user().getTemplatesBoardId() }, + }, + { + sort: { sort: 1 /* boards default sorting */ }, + }, + ); + return boards; + }, + + swimlanes() { + const board = Boards.findOne(this.selectedBoardId.get()); + return board.swimlanes(); + }, + + aBoardLists() { + const board = Boards.findOne(this.selectedBoardId.get()); + return board.lists(); + }, + + events() { + return [ + { + 'change .js-select-boards'(event) { + this.selectedBoardId.set($(event.currentTarget).val()); + subManager.subscribe('board', this.selectedBoardId.get(), false); + }, + }, + ]; + }, +}).register('boardsAndLists'); + +Template.copyCardPopup.events({ + 'click .js-done'() { + const card = Cards.findOne(Session.get('currentCard')); + const lSelect = $('.js-select-lists')[0]; + listId = lSelect.options[lSelect.selectedIndex].value; + const slSelect = $('.js-select-swimlanes')[0]; + const swimlaneId = slSelect.options[slSelect.selectedIndex].value; + const bSelect = $('.js-select-boards')[0]; + const boardId = bSelect.options[bSelect.selectedIndex].value; + const textarea = $('#copy-card-title'); + const title = textarea.val().trim(); + // insert new card to the bottom of new list + card.sort = Lists.findOne(card.listId) + .cards() + .count(); + + if (title) { + card.title = title; + card.coverId = ''; + const _id = card.copy(boardId, swimlaneId, listId); + // In case the filter is active we need to add the newly inserted card in + // the list of exceptions -- cards that are not filtered. Otherwise the + // card will disappear instantly. + // See https://github.com/wekan/wekan/issues/80 + Filter.addException(_id); + + Popup.close(); + } + }, +}); + +Template.copyChecklistToManyCardsPopup.events({ + 'click .js-done'() { + const card = Cards.findOne(Session.get('currentCard')); + const oldId = card._id; + card._id = null; + const lSelect = $('.js-select-lists')[0]; + card.listId = lSelect.options[lSelect.selectedIndex].value; + const slSelect = $('.js-select-swimlanes')[0]; + card.swimlaneId = slSelect.options[slSelect.selectedIndex].value; + const bSelect = $('.js-select-boards')[0]; + card.boardId = bSelect.options[bSelect.selectedIndex].value; + const textarea = $('#copy-card-title'); + const titleEntry = textarea.val().trim(); + // insert new card to the bottom of new list + card.sort = Lists.findOne(card.listId) + .cards() + .count(); + + if (titleEntry) { + const titleList = JSON.parse(titleEntry); + for (let i = 0; i < titleList.length; i++) { + const obj = titleList[i]; + card.title = obj.title; + card.description = obj.description; + card.coverId = ''; + const _id = Cards.insert(card); + // In case the filter is active we need to add the newly inserted card in + // the list of exceptions -- cards that are not filtered. Otherwise the + // card will disappear instantly. + // See https://github.com/wekan/wekan/issues/80 + Filter.addException(_id); + + // copy checklists + Checklists.find({ cardId: oldId }).forEach(ch => { + ch.copy(_id); + }); + + // copy subtasks + cursor = Cards.find({ parentId: oldId }); + cursor.forEach(function() { + 'use strict'; + const subtask = arguments[0]; + subtask.parentId = _id; + subtask._id = null; + /* const newSubtaskId = */ Cards.insert(subtask); + }); + + // copy card comments + CardComments.find({ cardId: oldId }).forEach(cmt => { + cmt.copy(_id); + }); + } + Popup.close(); + } + }, +}); + +BlazeComponent.extendComponent({ + onCreated() { + this.currentCard = this.currentData(); + this.currentColor = new ReactiveVar(this.currentCard.color); + }, + + colors() { + return cardColors.map(color => ({ color, name: '' })); + }, + + isSelected(color) { + if (this.currentColor.get() === null) { + return color === 'white'; + } + return this.currentColor.get() === color; + }, + + events() { + return [ + { + 'click .js-palette-color'() { + this.currentColor.set(this.currentData().color); + }, + 'click .js-submit'() { + this.currentCard.setColor(this.currentColor.get()); + Popup.close(); + }, + 'click .js-remove-color'() { + this.currentCard.setColor(null); + Popup.close(); + }, + }, + ]; + }, +}).register('setCardColorPopup'); + +BlazeComponent.extendComponent({ + onCreated() { + this.currentCard = this.currentData(); + this.parentBoard = new ReactiveVar(null); + this.parentCard = this.currentCard.parentCard(); + if (this.parentCard) { + const list = $('.js-field-parent-card'); + list.val(this.parentCard._id); + this.parentBoard.set(this.parentCard.board()._id); + } else { + this.parentBoard.set(null); + } + }, + + boards() { + const boards = Boards.find( + { + archived: false, + 'members.userId': Meteor.userId(), + _id: { + $ne: Meteor.user().getTemplatesBoardId(), + }, + }, + { + sort: { sort: 1 /* boards default sorting */ }, + }, + ); + return boards; + }, + + cards() { + const currentId = Session.get('currentCard'); + if (this.parentBoard.get()) { + return Cards.find({ + boardId: this.parentBoard.get(), + _id: { $ne: currentId }, + }); + } else { + return []; + } + }, + + isParentBoard() { + const board = this.currentData(); + if (this.parentBoard.get()) { + return board._id === this.parentBoard.get(); + } + return false; + }, + + isParentCard() { + const card = this.currentData(); + if (this.parentCard) { + return card._id === this.parentCard; + } + return false; + }, + + setParentCardId(cardId) { + if (cardId) { + this.parentCard = Cards.findOne(cardId); + } else { + this.parentCard = null; + } + this.currentCard.setParentId(cardId); + }, + + events() { + return [ + { + 'click .js-copy-card-link-to-clipboard'() { + // Clipboard code from: + // https://stackoverflow.com/questions/6300213/copy-selected-text-to-the-clipboard-without-using-flash-must-be-cross-browser + const StringToCopyElement = document.getElementById('cardURL'); + StringToCopyElement.select(); + if (document.execCommand('copy')) { + StringToCopyElement.blur(); + } else { + document.getElementById('cardURL').selectionStart = 0; + document.getElementById('cardURL').selectionEnd = 999; + document.execCommand('copy'); + if (window.getSelection) { + if (window.getSelection().empty) { + // Chrome + window.getSelection().empty(); + } else if (window.getSelection().removeAllRanges) { + // Firefox + window.getSelection().removeAllRanges(); + } + } else if (document.selection) { + // IE? + document.selection.empty(); + } + } + }, + 'click .js-delete': Popup.afterConfirm('cardDelete', function() { + Popup.close(); + // verify that there are no linked cards + if (Cards.find({ linkedId: this._id }).count() === 0) { + Cards.remove(this._id); + } else { + // TODO: Maybe later we can list where the linked cards are. + // Now here is popup with a hint that the card cannot be deleted + // as there are linked cards. + // Related: + // client/components/lists/listHeader.js about line 248 + // https://github.com/wekan/wekan/issues/2785 + const message = `${TAPi18n.__( + 'delete-linked-card-before-this-card', + )} linkedId: ${ + this._id + } at client/components/cards/cardDetails.js and https://github.com/wekan/wekan/issues/2785`; + alert(message); + } + Utils.goBoardId(this.boardId); + }), + 'change .js-field-parent-board'(event) { + const selection = $(event.currentTarget).val(); + const list = $('.js-field-parent-card'); + if (selection === 'none') { + this.parentBoard.set(null); + } else { + subManager.subscribe('board', $(event.currentTarget).val(), false); + this.parentBoard.set(selection); + list.prop('disabled', false); + } + this.setParentCardId(null); + }, + 'change .js-field-parent-card'(event) { + const selection = $(event.currentTarget).val(); + this.setParentCardId(selection); + }, + }, + ]; + }, +}).register('cardMorePopup'); + +BlazeComponent.extendComponent({ + onCreated() { + this.currentCard = this.currentData(); + this.voteQuestion = new ReactiveVar(this.currentCard.voteQuestion); + }, + + events() { + return [ + { + 'click .js-end-date': Popup.open('editVoteEndDate'), + 'submit .edit-vote-question'(evt) { + evt.preventDefault(); + const voteQuestion = evt.target.vote.value; + const publicVote = $('#vote-public').hasClass('is-checked'); + const allowNonBoardMembers = $('#vote-allow-non-members').hasClass( + 'is-checked', + ); + const endString = this.currentCard.getVoteEnd(); + + this.currentCard.setVoteQuestion( + voteQuestion, + publicVote, + allowNonBoardMembers, + ); + if (endString) { + this.currentCard.setVoteEnd(endString); + } + Popup.close(); + }, + 'click .js-remove-vote': Popup.afterConfirm('deleteVote', () => { + event.preventDefault(); + this.currentCard.unsetVote(); + Popup.close(); + }), + 'click a.js-toggle-vote-public'(event) { + event.preventDefault(); + $('#vote-public').toggleClass('is-checked'); + }, + 'click a.js-toggle-vote-allow-non-members'(event) { + event.preventDefault(); + $('#vote-allow-non-members').toggleClass('is-checked'); + }, + }, + ]; + }, +}).register('cardStartVotingPopup'); + +// editVoteEndDatePopup +(class extends DatePicker { + onCreated() { + super.onCreated(moment().format('YYYY-MM-DD HH:mm')); + this.data().getVoteEnd() && this.date.set(moment(this.data().getVoteEnd())); + } + events() { + return [ + { + 'submit .edit-date'(evt) { + evt.preventDefault(); + + // if no time was given, init with 12:00 + const time = + evt.target.time.value || + moment(new Date().setHours(12, 0, 0)).format('LT'); + + const dateString = `${evt.target.date.value} ${time}`; + const newDate = moment(dateString, 'L LT', true); + if (newDate.isValid()) { + // if active vote - store it + if (this.currentData().getVoteQuestion()) { + this._storeDate(newDate.toDate()); + Popup.close(); + } else { + this.currentData().vote = { end: newDate.toDate() }; // set vote end temp + Popup.back(); + } + } else { + this.error.set('invalid-date'); + evt.target.date.focus(); + } + }, + 'click .js-delete-date'(evt) { + evt.preventDefault(); + this._deleteDate(); + Popup.close(); + }, + }, + ]; + } + _storeDate(newDate) { + this.card.setVoteEnd(newDate); + } + _deleteDate() { + this.card.unsetVoteEnd(); + } +}.register('editVoteEndDatePopup')); + +// Close the card details pane by pressing escape +EscapeActions.register( + 'detailsPane', + () => { + if (Session.get('cardDetailsIsDragging')) { + // Reset dragging status as the mouse landed outside the cardDetails template area and this will prevent a mousedown event from firing + Session.set('cardDetailsIsDragging', false); + Session.set('cardDetailsIsMouseDown', false); + } else { + // Prevent close card when the user is selecting text and moves the mouse cursor outside the card detail area + Utils.goBoardId(Session.get('currentBoard')); + } + }, + () => { + return !Session.equals('currentCard', null); + }, + { + noClickEscapeOn: '.js-card-details,.board-sidebar,#header', + }, +); + +Template.cardAssigneesPopup.events({ + 'click .js-select-assignee'(event) { + const card = Cards.findOne(Session.get('currentCard')); + const assigneeId = this.userId; + card.toggleAssignee(assigneeId); + event.preventDefault(); + }, +}); + +Template.cardAssigneesPopup.helpers({ + isCardAssignee() { + const card = Template.parentData(); + const cardAssignees = card.getAssignees(); + + return _.contains(cardAssignees, this.userId); + }, + + user() { + return Users.findOne(this.userId); + }, +}); + +Template.cardAssigneePopup.helpers({ + userData() { + // We need to handle a special case for the search results provided by the + // `matteodem:easy-search` package. Since these results gets published in a + // separate collection, and not in the standard Meteor.Users collection as + // expected, we use a component parameter ("property") to distinguish the + // two cases. + const userCollection = this.esSearch ? ESSearchResults : Users; + return userCollection.findOne(this.userId, { + fields: { + profile: 1, + username: 1, + }, + }); + }, + + memberType() { + const user = Users.findOne(this.userId); + return user && user.isBoardAdmin() ? 'admin' : 'normal'; + }, + + presenceStatusClassName() { + const user = Users.findOne(this.userId); + const userPresence = presences.findOne({ userId: this.userId }); + if (user && user.isInvitedTo(Session.get('currentBoard'))) return 'pending'; + else if (!userPresence) return 'disconnected'; + else if (Session.equals('currentBoard', userPresence.state.currentBoardId)) + return 'active'; + else return 'idle'; + }, + + isCardAssignee() { + const card = Template.parentData(); + const cardAssignees = card.getAssignees(); + + return _.contains(cardAssignees, this.userId); + }, + + user() { + return Users.findOne(this.userId); + }, +}); + +Template.cardAssigneePopup.events({ + 'click .js-remove-assignee'() { + Cards.findOne(this.cardId).unassignAssignee(this.userId); + Popup.close(); + }, + 'click .js-edit-profile': Popup.open('editProfile'), +}); diff --git a/client/components/cards/cardDetails.styl b/client/components/cards/cardDetails.styl new file mode 100644 index 0000000..8f2d37b --- /dev/null +++ b/client/components/cards/cardDetails.styl @@ -0,0 +1,349 @@ +@import 'nib' + +// Assignee, code copied from wekan/client/users/userAvatar.styl + +avatar-radius = 50% + +#cardURL_copy + // Have clipboard text not visible by moving it to far left + position: absolute + left: -2000px + top: 0px + +#clipboard + white-space: normal + +.assignee + border-radius: 3px + display: block + position: relative + float: left + height: 30px + width: @height + margin: 0 4px 4px 0 + cursor: pointer + user-select: none + z-index: 1 + text-decoration: none + border-radius: avatar-radius + + .avatar + overflow: hidden + border-radius: avatar-radius + + &.avatar-assignee-initials + height: 70% + width: @height + padding: 15% + background-color: #dbdbdb + color: #444444 + position: absolute + + &.avatar-image + object-fit: cover; + object-position: center; + height: 100% + width: @height + + .assignee-presence-status + background-color: #b3b3b3 + border: 1px solid #fff + border-radius: 50% + height: 7px + width: @height + position: absolute + right: -1px + bottom: -1px + border: 1px solid white + z-index: 15 + + &.active + background: #64c464 + border-color: #daf1da + + &.idle + background: #e4e467 + border-color: #f7f7d4 + + &.disconnected + background: #bdbdbd + border-color: #ededed + + &.pending + background: #e44242 + border-color: #f1dada + + + + &.add-assignee + display: flex + align-items: center + justify-content: center + box-shadow: 0 0 0 2px darken(white, 25%) inset + + &:hover, &.is-active + box-shadow: 0 0 0 2px darken(white, 60%) inset + +// Other card details + +.card-details + padding: 0 + flex-shrink: 0 + flex-basis: 510px + will-change: flex-basis + overflow-y: scroll + overflow-x: hidden + background: darken(white, 3%) + border-radius: bottom 3px + z-index: 20 !important + animation: flexGrowIn 0.1s + box-shadow: 0 0 7px 0 darken(white, 30%) + transition: flex-basis 0.1s + box-sizing: border-box + + .mCustomScrollBox + padding-left: 0 + + .card-details-canvas + width: 470px + padding-left: 20px + + .card-details-header + margin: 0 -20px 5px + padding 7px 16px + background: darken(white, 7%) + border-bottom: 1px solid darken(white, 14%) + + .close-card-details, + .card-details-menu, + .card-copy-button, + .card-copy-mobile-button, + .close-card-details-mobile-web, + .card-details-menu-mobile-web + float: right + + .close-card-details + font-size: 24px + padding: 5px + margin-right: -8px + + .close-card-details-mobile-web + font-size: 24px + padding: 5px + margin-right: 40px + + .card-copy-button + font-size: 17px + padding: 10px + margin-right: 10px + + .card-copy-mobile-button + font-size: 17px + padding: 10px + margin-right: 10px + + .card-details-menu + font-size: 17px + padding: 10px + + .card-details-menu-mobile-web + font-size: 17px + padding: 10px + margin-right: 30px + + .card-details-watch + font-size: 17px + padding-left: 7px + color: #a6a6a6 + + .card-details-title + font-weight: bold + font-size: 1.33em + margin: 7px 0 0 + padding: 0 + + .linked-card-location + font-style: italic + font-size: 1em + margin-bottom: 0 + & p + margin-bottom: 0 + + form.inlined-form + margin-top: 5px + margin-bottom: 10px + + .card-details-list + font-size: 0.85em + margin-bottom: 3px + + a.card-details-list-title + font-weight: bold + + &.is-editable + display: inline-block + background: darken(white, 10%) + border-radius: 3px + padding: 0px 5px + + .card-description textarea + min-height: 100px + + .card-details-items + display: flex + flex-wrap: wrap + margin: 15px 0 + + .card-details-item + margin-right: 0.5em + &:last-child + margin-right: 0 + &.card-details-item-labels, + &.card-details-item-members, + &.card-details-item-assignees, + &.card-details-item-received, + &.card-details-item-start, + &.card-details-item-due, + &.card-details-item-end, + &.card-details-item-customfield, + &.card-details-item-name + display: block + word-wrap: break-word + max-width: 48% + flex-grow: 1 + + .card-details-item-title + font-size: 16px + color: #000 + + .card-label + padding-top: 5px + padding-bottom: 5px + + .activities + padding-top: 10px + +input[type="text"].attachment-add-link-input + float: left + margin: 0 0 8px + width: 80% + +input[type="submit"].attachment-add-link-submit + float: left + margin: 0 0 8px 4px + padding: 6px 12px + width: 18% + +@media screen and (max-width: 800px) + .card-details + width: calc(100% - 1px) + padding: 0px 20px 0px 20px + margin: 0px + transition: none + + .card-details-canvas + width: 100% + padding-left: 0px + + .card-details-header + .close-card-details + margin-right: 0px + + .card-details-menu + margin-right: 10px + +card-details-color(background, color...) + background: background !important + if color + color: color !important //overwrite text for better visibility + +.card-details-white + card-details-color(unset, #000) //Black text for better visibility + border: 1px solid #eee + +.card-details-green + card-details-color(#3cb500, #ffffff) //White text for better visibility + +.card-details-yellow + card-details-color(#fad900, #000) //Black text for better visibility + +.card-details-orange + card-details-color(#ff9f19, #000) //Black text for better visibility + +.card-details-red + card-details-color(#eb4646, #ffffff) //White text for better visibility + +.card-details-purple + card-details-color(#a632db, #ffffff) //White text for better visibility + +.card-details-blue + card-details-color(#0079bf, #ffffff) //White text for better visibility + +.card-details-pink + card-details-color(#ff78cb, #000) //Black text for better visibility + +.card-details-sky + card-details-color(#00c2e0, #ffffff) //White text for better visibility + +.card-details-black + card-details-color(#4d4d4d, #ffffff) //White text for better visibility + +.card-details-lime + card-details-color(#51e898, #000) //Black text for better visibility + +.card-details-silver + card-details-color(#c0c0c0, #000) //Black text for better visibility + +.card-details-peachpuff + card-details-color(#ffdab9, #000) //Black text for better visibility + +.card-details-crimson + card-details-color(#dc143c, #ffffff) //White text for better visibility + +.card-details-plum + card-details-color(#dda0dd, #000) //Black text for better visibility + +.card-details-darkgreen + card-details-color(#006400, #ffffff) //White text for better visibility + +.card-details-slateblue + card-details-color(#6a5acd, #ffffff) //White text for better visibility + +.card-details-magenta + card-details-color(#ff00ff, #ffffff) //White text for better visibility + +.card-details-gold + card-details-color(#ffd700, #000) //Black text for better visibility + +.card-details-navy + card-details-color(#000080, #ffffff) //White text for better visibility + +.card-details-gray + card-details-color(#808080, #ffffff) //White text for better visibility + +.card-details-saddlebrown + card-details-color(#8b4513, #ffffff) //White text for better visibility + +.card-details-paleturquoise + card-details-color(#afeeee, #000) //Black text for better visibility + +.card-details-mistyrose + card-details-color(#ffe4e1, #000) //Black text for better visibility + +.card-details-indigo + card-details-color(#4b0082, #ffffff) //White text for better visibility + +.voted + opacity: .7 +.vote-title + display: flex + justify-content: space-between + + .js-edit-date + align-self: baseline + margin-left: 5px + +.vote-result + display: flex +.js-show-positive-votes + cursor: pointer diff --git a/client/components/cards/cardTime.jade b/client/components/cards/cardTime.jade new file mode 100644 index 0000000..8af8c41 --- /dev/null +++ b/client/components/cards/cardTime.jade @@ -0,0 +1,22 @@ +template(name="editCardSpentTime") + .edit-card-time + form.edit-time + .fields + label(for="time") {{_ 'time'}} + input.js-time-field#time(type="number" step="0.01" name="time" value="{{card.getSpentTime}}" placeholder=timeFormat autofocus) + label(for="overtime") {{_ 'overtime'}} + a.js-toggle-overtime + .materialCheckBox#overtime(class="{{#if getIsOvertime}}is-checked{{/if}}" name="overtime") + + if error.get + .warning {{_ error.get}} + button.primary.wide.left.js-submit-time(type="submit") {{_ 'save'}} + button.js-delete-time.negate.wide.right {{_ 'delete'}} + +template(name="timeBadge") + if canModifyCard + a.js-edit-time.card-time(title="{{showTitle}}" class="{{#if getIsOvertime}}card-label-red{{else}}card-label-green{{/if}}") + | {{showTime}} + else + a.card-time(title="{{showTitle}}" class="{{#if getIsOvertime}}card-label-red{{else}}card-label-green{{/if}}") + | {{showTime}} diff --git a/client/components/cards/cardTime.js b/client/components/cards/cardTime.js new file mode 100644 index 0000000..d8a41aa --- /dev/null +++ b/client/components/cards/cardTime.js @@ -0,0 +1,90 @@ +BlazeComponent.extendComponent({ + template() { + return 'editCardSpentTime'; + }, + onCreated() { + this.error = new ReactiveVar(''); + this.card = this.data(); + }, + toggleOvertime() { + this.card.setIsOvertime(!this.card.getIsOvertime()); + $('#overtime .materialCheckBox').toggleClass('is-checked'); + + $('#overtime').toggleClass('is-checked'); + }, + storeTime(spentTime, isOvertime) { + this.card.setSpentTime(spentTime); + this.card.setIsOvertime(isOvertime); + }, + deleteTime() { + this.card.setSpentTime(null); + }, + events() { + return [ + { + //TODO : need checking this portion + 'submit .edit-time'(evt) { + evt.preventDefault(); + + const spentTime = parseFloat(evt.target.time.value); + const isOvertime = this.card.getIsOvertime(); + + if (spentTime >= 0) { + this.storeTime(spentTime, isOvertime); + Popup.close(); + } else { + this.error.set('invalid-time'); + evt.target.time.focus(); + } + }, + 'click .js-delete-time'(evt) { + evt.preventDefault(); + this.deleteTime(); + Popup.close(); + }, + 'click a.js-toggle-overtime': this.toggleOvertime, + }, + ]; + }, +}).register('editCardSpentTimePopup'); + +BlazeComponent.extendComponent({ + template() { + return 'timeBadge'; + }, + onCreated() { + const self = this; + self.time = ReactiveVar(); + }, + showTitle() { + if (this.data().getIsOvertime()) { + return `${TAPi18n.__( + 'overtime', + )} ${this.data().getSpentTime()} ${TAPi18n.__('hours')}`; + } else { + return `${TAPi18n.__( + 'card-spent', + )} ${this.data().getSpentTime()} ${TAPi18n.__('hours')}`; + } + }, + showTime() { + return this.data().getSpentTime(); + }, + events() { + return [ + { + 'click .js-edit-time': Popup.open('editCardSpentTime'), + }, + ]; + }, +}).register('cardSpentTime'); + +Template.timeBadge.helpers({ + canModifyCard() { + return ( + Meteor.user() && + Meteor.user().isBoardMember() && + !Meteor.user().isCommentOnly() + ); + }, +}); diff --git a/client/components/cards/cardTime.styl b/client/components/cards/cardTime.styl new file mode 100644 index 0000000..3c4b43a --- /dev/null +++ b/client/components/cards/cardTime.styl @@ -0,0 +1,17 @@ +.card-time + display: block + border-radius: 4px + padding: 1px 3px + color: #fff + + background-color: #dbdbdb + &:hover, &.is-active + background-color: #b3b3b3 + + time + &::before + font: normal normal normal 14px/1 FontAwesome + font-size: inherit + -webkit-font-smoothing: antialiased + content: "\f017" // clock symbol + margin-right: 0.3em diff --git a/client/components/cards/checklists.jade b/client/components/cards/checklists.jade new file mode 100644 index 0000000..25aa11b --- /dev/null +++ b/client/components/cards/checklists.jade @@ -0,0 +1,110 @@ +template(name="checklists") + .checklists-title + h3 + i.fa.fa-check + | {{_ 'checklists'}} + if currentUser.isBoardMember + .material-toggle-switch + span.toggle-switch-title {{_ 'hide-checked-items'}} + if hideCheckedItems + input.toggle-switch(type="checkbox" id="toggleHideCheckedItemsButton" checked="checked") + else + input.toggle-switch(type="checkbox" id="toggleHideCheckedItemsButton") + label.toggle-label(for="toggleHideCheckedItemsButton") + + if toggleDeleteDialog.get + .board-overlay#card-details-overlay + +checklistDeleteDialog(checklist = checklistToDelete) + + + .card-checklist-items + each checklist in currentCard.checklists + +checklistDetail(checklist = checklist) + + if canModifyCard + +inlinedForm(autoclose=false classNames="js-add-checklist" cardId = cardId) + +addChecklistItemForm + else + a.js-open-inlined-form + i.fa.fa-plus + | {{_ 'add-checklist'}}... + +template(name="checklistDetail") + .js-checklist.checklist + +inlinedForm(classNames="js-edit-checklist-title" checklist = checklist) + +editChecklistItemForm(checklist = checklist) + else + .checklist-title + span + if canModifyCard + a.js-delete-checklist.toggle-delete-checklist-dialog {{_ "delete"}}... + + if canModifyCard + h2.title.js-open-inlined-form.is-editable + +viewer + = checklist.title + else + h2.title + +viewer + = checklist.title + +checklistItems(checklist = checklist) + +template(name="checklistDeleteDialog") + .js-confirm-checklist-delete + p + i(class="fa fa-exclamation-triangle" aria-hidden="true") + p + | {{_ 'confirm-checklist-delete-dialog'}} + span {{checklist.title}} + | ? + .js-checklist-delete-buttons + button.confirm-checklist-delete(type="button") {{_ 'delete'}} + button.toggle-delete-checklist-dialog(type="button") {{_ 'cancel'}} + +template(name="addChecklistItemForm") + textarea.js-add-checklist-item(rows='1' autofocus) + .edit-controls.clearfix + button.primary.confirm.js-submit-add-checklist-item-form(type="submit") {{_ 'save'}} + a.fa.fa-times-thin.js-close-inlined-form + +template(name="editChecklistItemForm") + textarea.js-edit-checklist-item(rows='1' autofocus dir="auto") + if $eq type 'item' + = item.title + else + = checklist.title + .edit-controls.clearfix + button.primary.confirm.js-submit-edit-checklist-item-form(type="submit") {{_ 'save'}} + a.fa.fa-times-thin.js-close-inlined-form + span(title=createdAt) {{ moment createdAt }} + if canModifyCard + a.js-delete-checklist-item {{_ "delete"}}... + +template(name="checklistItems") + .checklist-items.js-checklist-items + each item in checklist.items + +inlinedForm(classNames="js-edit-checklist-item" item = item checklist = checklist) + +editChecklistItemForm(type = 'item' item = item checklist = checklist) + else + +checklistItemDetail(item = item checklist = checklist) + if canModifyCard + +inlinedForm(autoclose=false classNames="js-add-checklist-item" checklist = checklist) + +addChecklistItemForm + else + a.add-checklist-item.js-open-inlined-form + i.fa.fa-plus + | {{_ 'add-checklist-item'}}... + +template(name='checklistItemDetail') + .js-checklist-item.checklist-item(class="{{#if item.isFinished }}is-checked{{#if hideCheckedItems}} invisible{{/if}}{{/if}}") + if canModifyCard + .check-box-container + .check-box.materialCheckBox(class="{{#if item.isFinished }}is-checked{{/if}}") + .item-title.js-open-inlined-form.is-editable(class="{{#if item.isFinished }}is-checked{{/if}}") + +viewer + = item.title + else + .materialCheckBox(class="{{#if item.isFinished }}is-checked{{/if}}") + .item-title(class="{{#if item.isFinished }}is-checked{{/if}}") + +viewer + = item.title diff --git a/client/components/cards/checklists.js b/client/components/cards/checklists.js new file mode 100644 index 0000000..17faa77 --- /dev/null +++ b/client/components/cards/checklists.js @@ -0,0 +1,282 @@ +const { calculateIndexData, capitalize } = Utils; + +function initSorting(items) { + items.sortable({ + tolerance: 'pointer', + helper: 'clone', + items: '.js-checklist-item:not(.placeholder)', + connectWith: '.js-checklist-items', + appendTo: '.board-canvas', + distance: 7, + placeholder: 'checklist-item placeholder', + scroll: false, + start(evt, ui) { + ui.placeholder.height(ui.helper.height()); + EscapeActions.executeUpTo('popup-close'); + }, + stop(evt, ui) { + const parent = ui.item.parents('.js-checklist-items'); + const checklistId = Blaze.getData(parent.get(0)).checklist._id; + let prevItem = ui.item.prev('.js-checklist-item').get(0); + if (prevItem) { + prevItem = Blaze.getData(prevItem).item; + } + let nextItem = ui.item.next('.js-checklist-item').get(0); + if (nextItem) { + nextItem = Blaze.getData(nextItem).item; + } + const nItems = 1; + const sortIndex = calculateIndexData(prevItem, nextItem, nItems); + const checklistDomElement = ui.item.get(0); + const checklistData = Blaze.getData(checklistDomElement); + const checklistItem = checklistData.item; + + items.sortable('cancel'); + + checklistItem.move(checklistId, sortIndex.base); + }, + }); +} + +BlazeComponent.extendComponent({ + onRendered() { + const self = this; + self.itemsDom = this.$('.js-checklist-items'); + initSorting(self.itemsDom); + self.itemsDom.mousedown(function(evt) { + evt.stopPropagation(); + }); + + function userIsMember() { + return Meteor.user() && Meteor.user().isBoardMember(); + } + + // Disable sorting if the current user is not a board member or is a miniscreen + self.autorun(() => { + const $itemsDom = $(self.itemsDom); + if ($itemsDom.data('uiSortable') || $itemsDom.data('sortable')) { + $(self.itemsDom).sortable( + 'option', + 'disabled', + !userIsMember() || Utils.isMiniScreen(), + ); + } + }); + }, + + canModifyCard() { + return ( + Meteor.user() && + Meteor.user().isBoardMember() && + !Meteor.user().isCommentOnly() && + !Meteor.user().isWorker() + ); + }, +}).register('checklistDetail'); + +BlazeComponent.extendComponent({ + addChecklist(event) { + event.preventDefault(); + const textarea = this.find('textarea.js-add-checklist-item'); + const title = textarea.value.trim(); + let cardId = this.currentData().cardId; + const card = Cards.findOne(cardId); + if (card.isLinked()) cardId = card.linkedId; + + if (title) { + Checklists.insert({ + cardId, + title, + sort: card.checklists().count(), + }); + setTimeout(() => { + this.$('.add-checklist-item') + .last() + .click(); + }, 100); + } + textarea.value = ''; + textarea.focus(); + }, + + addChecklistItem(event) { + event.preventDefault(); + const textarea = this.find('textarea.js-add-checklist-item'); + const title = textarea.value.trim(); + const checklist = this.currentData().checklist; + + if (title) { + ChecklistItems.insert({ + title, + checklistId: checklist._id, + cardId: checklist.cardId, + sort: checklist.itemCount(), + }); + } + // We keep the form opened, empty it. + textarea.value = ''; + textarea.focus(); + }, + + canModifyCard() { + return ( + Meteor.user() && + Meteor.user().isBoardMember() && + !Meteor.user().isCommentOnly() && + !Meteor.user().isWorker() + ); + }, + + deleteChecklist() { + const checklist = this.currentData().checklist; + if (checklist && checklist._id) { + Checklists.remove(checklist._id); + this.toggleDeleteDialog.set(false); + } + }, + + deleteItem() { + const checklist = this.currentData().checklist; + const item = this.currentData().item; + if (checklist && item && item._id) { + ChecklistItems.remove(item._id); + } + }, + + editChecklist(event) { + event.preventDefault(); + const textarea = this.find('textarea.js-edit-checklist-item'); + const title = textarea.value.trim(); + const checklist = this.currentData().checklist; + checklist.setTitle(title); + }, + + editChecklistItem(event) { + event.preventDefault(); + + const textarea = this.find('textarea.js-edit-checklist-item'); + const title = textarea.value.trim(); + const item = this.currentData().item; + item.setTitle(title); + }, + + onCreated() { + this.toggleDeleteDialog = new ReactiveVar(false); + this.checklistToDelete = null; //Store data context to pass to checklistDeleteDialog template + }, + + pressKey(event) { + //If user press enter key inside a form, submit it + //Unless the user is also holding down the 'shift' key + if (event.keyCode === 13 && !event.shiftKey) { + event.preventDefault(); + const $form = $(event.currentTarget).closest('form'); + $form.find('button[type=submit]').click(); + } + }, + + focusChecklistItem(event) { + // If a new checklist is created, pre-fill the title and select it. + const checklist = this.currentData().checklist; + if (!checklist) { + const textarea = event.target; + textarea.value = capitalize(TAPi18n.__('r-checklist')); + textarea.select(); + } + }, + + events() { + const events = { + 'click .toggle-delete-checklist-dialog'(event) { + if ($(event.target).hasClass('js-delete-checklist')) { + this.checklistToDelete = this.currentData().checklist; //Store data context + } + this.toggleDeleteDialog.set(!this.toggleDeleteDialog.get()); + }, + 'click #toggleHideCheckedItemsButton'() { + Meteor.call('toggleHideCheckedItems'); + }, + }; + + return [ + { + ...events, + 'submit .js-add-checklist': this.addChecklist, + 'submit .js-edit-checklist-title': this.editChecklist, + 'submit .js-add-checklist-item': this.addChecklistItem, + 'submit .js-edit-checklist-item': this.editChecklistItem, + 'click .js-delete-checklist-item': this.deleteItem, + 'click .confirm-checklist-delete': this.deleteChecklist, + 'focus .js-add-checklist-item': this.focusChecklistItem, + keydown: this.pressKey, + }, + ]; + }, +}).register('checklists'); + +Template.checklists.helpers({ + hideCheckedItems() { + const currentUser = Meteor.user(); + if (currentUser) return currentUser.hasHideCheckedItems(); + return false; + }, +}); + +Template.checklistDeleteDialog.onCreated(() => { + const $cardDetails = this.$('.card-details'); + this.scrollState = { + position: $cardDetails.scrollTop(), //save current scroll position + top: false, //required for smooth scroll animation + }; + //Callback's purpose is to only prevent scrolling after animation is complete + $cardDetails.animate({ scrollTop: 0 }, 500, () => { + this.scrollState.top = true; + }); + + //Prevent scrolling while dialog is open + $cardDetails.on('scroll', () => { + if (this.scrollState.top) { + //If it's already in position, keep it there. Otherwise let animation scroll + $cardDetails.scrollTop(0); + } + }); +}); + +Template.checklistDeleteDialog.onDestroyed(() => { + const $cardDetails = this.$('.card-details'); + $cardDetails.off('scroll'); //Reactivate scrolling + $cardDetails.animate({ scrollTop: this.scrollState.position }); +}); + +Template.checklistItemDetail.helpers({ + canModifyCard() { + return ( + Meteor.user() && + Meteor.user().isBoardMember() && + !Meteor.user().isCommentOnly() && + !Meteor.user().isWorker() + ); + }, + hideCheckedItems() { + const user = Meteor.user(); + if (user) return user.hasHideCheckedItems(); + return false; + }, +}); + +BlazeComponent.extendComponent({ + toggleItem() { + const checklist = this.currentData().checklist; + const item = this.currentData().item; + if (checklist && item && item._id) { + item.toggleItem(); + } + }, + events() { + return [ + { + 'click .js-checklist-item .check-box-container': this.toggleItem, + }, + ]; + }, +}).register('checklistItemDetail'); diff --git a/client/components/cards/checklists.styl b/client/components/cards/checklists.styl new file mode 100644 index 0000000..e9b0fcd --- /dev/null +++ b/client/components/cards/checklists.styl @@ -0,0 +1,161 @@ +.js-add-checklist + color: #8c8c8c + +textarea.js-add-checklist-item, textarea.js-edit-checklist-item + overflow: hidden + word-wrap: break-word + resize: none + height: 34px + +.delete-text + color: #8c8c8c + text-decoration: underline + word-wrap: break-word + float: right + padding-top: 6px + &:hover + color: inherit + +.checklists-title + display: flex + justify-content: space-between + +.checklist-title + .checkbox + float: left + width: 30px + height 30px + font-size: 18px + line-height: 30px + + .title + font-size: 18px + line-height: 25px + + .checklist-stat + margin: 0 0.5em + float: right + padding-top: 6px + &.is-finished + color: #3cb500 + + .js-delete-checklist + @extends .delete-text + + +.js-confirm-checklist-delete + background-color: darken(white, 3%) + position: absolute + float: left; + width: 60% + margin-top: 0 + margin-left: 13% + padding-bottom: 2% + padding-left: 3% + padding-right: 3% + z-index: 17 + border-radius: 3px + + p + position: relative + margin-top: 3% + width: 100% + text-align: center + span + font-weight: bold + + i + font-size: 2em + + .js-checklist-delete-buttons + position: relative + padding: left 2% right 2% + .confirm-checklist-delete + margin-left: 12% + float: left + .toggle-delete-checklist-dialog + margin-right: 12% + float: right + +#card-details-overlay + top: 0 + bottom: -600px + right: 0 + +.checklist + background: darken(white, 3%) + + &.placeholder + background: darken(white, 20%) + border-radius: 2px + + &.ui-sortable-helper + box-shadow: -2px 2px 8px rgba(0, 0, 0, .3), + 0 0 1px rgba(0, 0, 0, .5) + transform: rotate(4deg) + cursor: grabbing + + +.checklist-item + margin: 0 0 0 0.1em + line-height: 18px + font-size: 1.1em + margin-top: 3px + display: flex + background: darken(white, 3%) + opacity: 1 + transition: height 0ms 400ms, opacity 400ms 0ms + height: auto + overflow: hidden + + &.is-checked.invisible + opacity: 0 + height: 0 + transition: height 0ms 0ms, opacity 600ms 0ms + margin-top: 0 + margin-bottom: 0 + + &.placeholder + background: darken(white, 20%) + border-radius: 2px + + &.ui-sortable-helper + box-shadow: -2px 2px 8px rgba(0, 0, 0, .3), + 0 0 1px rgba(0, 0, 0, .5) + transform: rotate(4deg) + cursor: grabbing + + &:hover + background-color: darken(white, 8%) + + .check-box-container + padding-right: 1px; + + .check-box + margin: 0.1em 0 0 0; + &.is-checked + border-bottom: 2px solid #3cb500 + border-right: 2px solid #3cb500 + + .item-title + flex: 1 + margin-left: 10px; + &.is-checked + color: #8c8c8c + font-style: italic + text-decoration: line-through + & .viewer + p + margin-bottom: 2px + display: block + word-wrap: break-word + max-width: 420px + +.js-delete-checklist-item + margin: 0 0 0.5em 1.33em + @extends .delete-text + padding: 12px 0 0 0 + +.add-checklist-item + margin: 0.2em 0 0.5em 1.33em + display: inline-block diff --git a/client/components/cards/labels.jade b/client/components/cards/labels.jade new file mode 100644 index 0000000..48e28b3 --- /dev/null +++ b/client/components/cards/labels.jade @@ -0,0 +1,39 @@ +template(name="formLabel") + label(for="labelName") {{_ 'name'}} + input.js-label-name#labelName(type="text" name="name" value=name autofocus) + + label {{_ "select-color"}} + .palette-colors: each labels + span.card-label.palette-color.js-palette-color(class="card-label-{{color}}") + if(isSelected color) + i.fa.fa-check + +template(name="createLabelPopup") + form.create-label + with(color=defaultColor) + +formLabel + button.primary.wide(type="submit") {{_ 'create'}} + +template(name="editLabelPopup") + form.edit-label + +formLabel + button.primary.wide.left(type="submit") {{_ 'save'}} + button.js-delete-label.negate.wide.right {{_ 'delete'}} + +template(name="deleteLabelPopup") + p {{_ "label-delete-pop"}} + button.js-confirm.negate.full(type="submit") {{_ 'delete'}} + +template(name="cardLabelsPopup") + ul.edit-labels-pop-over + each board.labels + li + a.card-label-edit-button.fa.fa-pencil.js-edit-label + span.card-label.card-label-selectable.js-select-label(class="card-label-{{color}}" + class="{{# if isLabelSelected ../_id }}active{{/if}}") + +viewer + = name + if(isLabelSelected ../_id) + i.card-label-selectable-icon.fa.fa-check + if currentUser.isBoardAdmin + a.quiet-button.full.js-add-label {{_ 'label-create'}} diff --git a/client/components/cards/labels.js b/client/components/cards/labels.js new file mode 100644 index 0000000..1e156f5 --- /dev/null +++ b/client/components/cards/labels.js @@ -0,0 +1,103 @@ +let labelColors; +Meteor.startup(() => { + labelColors = Boards.simpleSchema()._schema['labels.$.color'].allowedValues; +}); + +BlazeComponent.extendComponent({ + onCreated() { + this.currentColor = new ReactiveVar(this.data().color); + }, + + labels() { + return labelColors.map(color => ({ color, name: '' })); + }, + + isSelected(color) { + return this.currentColor.get() === color; + }, + + events() { + return [ + { + 'click .js-palette-color'() { + this.currentColor.set(this.currentData().color); + }, + }, + ]; + }, +}).register('formLabel'); + +Template.createLabelPopup.helpers({ + // This is the default color for a new label. We search the first color that + // is not already used in the board (although it's not a problem if two + // labels have the same color). + defaultColor() { + const labels = Boards.findOne(Session.get('currentBoard')).labels; + const usedColors = _.pluck(labels, 'color'); + const availableColors = _.difference(labelColors, usedColors); + return availableColors.length > 1 ? availableColors[0] : labelColors[0]; + }, +}); + +Template.cardLabelsPopup.events({ + 'click .js-select-label'(event) { + const card = Cards.findOne(Session.get('currentCard')); + const labelId = this._id; + card.toggleLabel(labelId); + event.preventDefault(); + }, + 'click .js-edit-label': Popup.open('editLabel'), + 'click .js-add-label': Popup.open('createLabel'), +}); + +Template.formLabel.events({ + 'click .js-palette-color'(event) { + const $this = $(event.currentTarget); + + // hide selected ll colors + $('.js-palette-select').addClass('hide'); + + // show select color + $this.find('.js-palette-select').removeClass('hide'); + }, +}); + +Template.createLabelPopup.events({ + // Create the new label + 'submit .create-label'(event, templateInstance) { + event.preventDefault(); + const board = Boards.findOne(Session.get('currentBoard')); + const name = templateInstance + .$('#labelName') + .val() + .trim(); + const color = Blaze.getData(templateInstance.find('.fa-check')).color; + board.addLabel(name, color); + Popup.back(); + }, +}); + +Template.editLabelPopup.events({ + 'click .js-delete-label': Popup.afterConfirm('deleteLabel', function() { + const board = Boards.findOne(Session.get('currentBoard')); + board.removeLabel(this._id); + Popup.back(2); + }), + 'submit .edit-label'(event, templateInstance) { + event.preventDefault(); + const board = Boards.findOne(Session.get('currentBoard')); + const name = templateInstance + .$('#labelName') + .val() + .trim(); + const color = Blaze.getData(templateInstance.find('.fa-check')).color; + board.editLabel(this._id, name, color); + Popup.back(); + }, +}); + +Template.cardLabelsPopup.helpers({ + isLabelSelected(cardId) { + return _.contains(Cards.findOne(cardId).labelIds, this._id); + }, +}); diff --git a/client/components/cards/labels.styl b/client/components/cards/labels.styl new file mode 100644 index 0000000..ee94665 --- /dev/null +++ b/client/components/cards/labels.styl @@ -0,0 +1,211 @@ +@import 'nib' + +// XXX Use .board-widget-labels as a flexbox container +.card-label + border-radius: 4px + color: white //Default white text, in select cases, changed to black to improve contrast between label colour and text + display: inline-block + font-weight: 700 + font-size: 13px + margin-right: 4px + margin-bottom: 5px + padding: 3px 8px + max-width: 210px + min-width: 8px + overflow: ellipsis + word-wrap: break-word + height: 18px + vertical-align: bottom + + &:hover + color: white + + &.square + height: 30px + width: @height + padding: 0 + + &.add-label + box-shadow: 0 0 0 2px darken(white, 25%) inset + + &:hover, &.is-active + box-shadow: 0 0 0 2px darken(white, 60%) inset + + i.fa-plus + margin-top: 3px + +.palette-colors + display: flex + flex-wrap: wrap + + .palette-color + flex-grow: 1 + display: flex + align-items: center + justify-content: center + +.card-label-green + background-color: #3cb500 + +.card-label-yellow + background-color: #fad900 + color: #000000 //Black text for better visibility + +.card-label-orange + background-color: #ff9f19 + color: #000000 //Black text for better visibility + +.card-label-red + background-color: #eb4646 + +.card-label-purple + background-color: #a632db + +.card-label-blue + background-color: #0079bf + +.card-label-pink + background-color: #ff78cb + color: #000000 //Black text for better visibility + +.card-label-sky + background-color: #00c2e0 + +.card-label-black + background-color: #4d4d4d + +.card-label-lime + background-color: #51e898 + color: #000000 //Black text for better visibility + +.card-label-silver + background-color: #c0c0c0 + color: #000000 //Black text for better visibility + +.card-label-peachpuff + background-color: #ffdab9 + color: #000000 //Black text for better visibility + +.card-label-crimson + background-color: #dc143c + +.card-label-plum + background-color: #dda0dd + color: #000000 //Black text for better visibility + +.card-label-darkgreen + background-color: #006400 + +.card-label-slateblue + background-color: #6a5acd + +.card-label-magenta + background-color: #ff00ff + +.card-label-gold + background-color: #ffd700 + color: #000000 //Black text for better visibility + +.card-label-navy + background-color: #000080 + +.card-label-gray + background-color: #808080 + +.card-label-saddlebrown + background-color: #8b4513 + +.card-label-paleturquoise + background-color: #afeeee + color: #000000 //Black text for better visibility + +.card-label-mistyrose + background-color: #ffe4e1 + color: #000000 //Black text for better visibility + +.card-label-indigo + background-color: #4b0082 + +.edit-label, +.create-label + .card-label + float: left + height: 25px + margin: 0px 3% 7px 0px + width: 10.5% + cursor: pointer + +.edit-labels + input[type="text"] + margin: 4px 0 6px 38px + width: 243px + + .card-label + height: 30px + left: 0 + padding: 1px 5px + position: absolute + top: 0 + width: 24px + + .labels-static .card-label + line-height: 30px + margin-bottom: 4px + position: relative + top: auto + left: 0 + width: 260px + +.edit-labels-pop-over + margin-bottom: 8px + .card-label .viewer p + margin: 0 + +.edit-labels-pop-over .shortcut + display: inline-block + +.card-label-selectable + border-radius: 3px + cursor: pointer + margin: 0 + margin-bottom: 3px + width: 190px + min-height: 18px + padding: 8px + position: relative + transition: margin-right .1s + + .card-label-selectable-icon + position: absolute + top: 8px + right: -20px + + &.active:hover, + &.active, + &.active.selected:hover, + &.active.selected + padding-right: 32px + + .card-label-selectable-icon + right: 6px + + &.selected, + &:hover + opacity: .8 + +.active .card-label-selectable + &, + &:hover + margin-right: 0 + + .card-label-selectable-icon + right: 8px + +.card-label-edit-button + border-radius: 3px + float: right + padding: 8px + + &:hover + background: #dbdbdb + diff --git a/client/components/cards/minicard.jade b/client/components/cards/minicard.jade new file mode 100644 index 0000000..03511e0 --- /dev/null +++ b/client/components/cards/minicard.jade @@ -0,0 +1,120 @@ +template(name="minicard") + .minicard( + class="{{#if isLinkedCard}}linked-card{{/if}}" + class="{{#if isLinkedBoard}}linked-board{{/if}}" + class="minicard-{{colorClass}}") + if isMiniScreen + .handle + .fa.fa-arrows + unless isMiniScreen + if showDesktopDragHandles + .handle + .fa.fa-arrows + if cover + .minicard-cover(style="background-image: url('{{cover.url}}');") + if labels + .minicard-labels + each labels + unless hiddenMinicardLabelText + span.card-label(class="card-label-{{color}}" title=name) + +viewer + = name + if hiddenMinicardLabelText + .minicard-label(class="card-label-{{color}}" title="{{name}}") + .minicard-title + if $eq 'prefix-with-full-path' currentBoard.presentParentTask + .parent-prefix + | {{ parentString ' > ' }} + if $eq 'prefix-with-parent' currentBoard.presentParentTask + .parent-prefix + | {{ parentCardName }} + if isLinkedBoard + a.js-linked-link + span.linked-icon.fa.fa-folder + else if isLinkedCard + a.js-linked-link + span.linked-icon.fa.fa-id-card + if getArchived + span.linked-icon.linked-archived.fa.fa-archive + +viewer + = getTitle + if $eq 'subtext-with-full-path' currentBoard.presentParentTask + .parent-subtext + | {{ parentString ' > ' }} + if $eq 'subtext-with-parent' currentBoard.presentParentTask + .parent-subtext + | {{ parentCardName }} + + .dates + if getReceived + unless getStart + unless getDue + unless getEnd + .date + +minicardReceivedDate + if getStart + .date + +minicardStartDate + if getDue + .date + +minicardDueDate + if getEnd + +minicardEndDate + if getSpentTime + .date + +cardSpentTime + + .minicard-custom-fields + each customFieldsWD + if definition.showOnCard + if trueValue + .minicard-custom-field + if definition.showLabelOnMiniCard + .minicard-custom-field-item + +viewer + = definition.name + .minicard-custom-field-item + if $eq definition.type "currency" + +viewer + = formattedCurrencyCustomFieldValue(definition) + else + +viewer + = trueValue + + if getAssignees + .minicard-assignees.js-minicard-assignees + each getAssignees + +userAvatar(userId=this) + hr + + if getMembers + .minicard-members.js-minicard-members + each getMembers + +userAvatar(userId=this) + + .badges + unless currentUser.isNoComments + if comments.count + .badge(title="{{_ 'card-comments-title' comments.count }}") + span.badge-icon.fa.fa-comment-o.badge-comment + = ' ' + = comments.count + //span.badge-comment.badge-text + //| {{_ 'comment'}} + if getDescription + .badge.badge-state-image-only(title=getDescription) + span.badge-icon.fa.fa-align-left + if getVoteQuestion + .badge.badge-state-image-only(title=getVoteQuestion) + span.badge-icon.fa.fa-thumbs-up(class="{{#if voteState}}text-green{{/if}}") + span.badge-text {{ voteCountPositive }} + span.badge-icon.fa.fa-thumbs-down(class="{{#if $eq voteState false}}text-red{{/if}}") + span.badge-text {{ voteCountNegative }} + if attachments.count + .badge + span.badge-icon.fa.fa-paperclip + span.badge-text= attachments.count + if checklists.count + .badge(class="{{#if checklistFinished}}is-finished{{/if}}") + span.badge-icon.fa.fa-check-square-o + span.badge-text.check-list-text {{checklistFinishedCount}}/{{checklistItemCount}} diff --git a/client/components/cards/minicard.js b/client/components/cards/minicard.js new file mode 100644 index 0000000..2eb6131 --- /dev/null +++ b/client/components/cards/minicard.js @@ -0,0 +1,69 @@ +import { Cookies } from 'meteor/ostrio:cookies'; +const cookies = new Cookies(); +// Template.cards.events({ +// 'click .member': Popup.open('cardMember') +// }); + +BlazeComponent.extendComponent({ + template() { + return 'minicard'; + }, + + formattedCurrencyCustomFieldValue(definition) { + const customField = this.data() + .customFieldsWD() + .find(f => f._id === definition._id); + const customFieldTrueValue = + customField && customField.trueValue ? customField.trueValue : ''; + + const locale = TAPi18n.getLanguage(); + return new Intl.NumberFormat(locale, { + style: 'currency', + currency: definition.settings.currencyCode, + }).format(customFieldTrueValue); + }, + + events() { + return [ + { + 'click .js-linked-link'() { + if (this.data().isLinkedCard()) Utils.goCardId(this.data().linkedId); + else if (this.data().isLinkedBoard()) + Utils.goBoardId(this.data().linkedId); + }, + }, + { + 'click .js-toggle-minicard-label-text'() { + if (cookies.has('hiddenMinicardLabelText')) { + cookies.remove('hiddenMinicardLabelText'); //true + } else { + cookies.set('hiddenMinicardLabelText', 'true'); //true + } + }, + }, + ]; + }, +}).register('minicard'); + +Template.minicard.helpers({ + showDesktopDragHandles() { + currentUser = Meteor.user(); + if (currentUser) { + return (currentUser.profile || {}).showDesktopDragHandles; + } else if (cookies.has('showDesktopDragHandles')) { + return true; + } else { + return false; + } + }, + hiddenMinicardLabelText() { + currentUser = Meteor.user(); + if (currentUser) { + return (currentUser.profile || {}).hiddenMinicardLabelText; + } else if (cookies.has('hiddenMinicardLabelText')) { + return true; + } else { + return false; + } + }, +}); diff --git a/client/components/cards/minicard.styl b/client/components/cards/minicard.styl new file mode 100644 index 0000000..1f40e88 --- /dev/null +++ b/client/components/cards/minicard.styl @@ -0,0 +1,308 @@ +@import 'nib' + +.minicard-wrapper + cursor: pointer + position: relative + display: flex + align-items: center + margin-bottom: 9px + + &.placeholder + background: darken(white, 20%) + border-radius: 9px + + &.ui-sortable-helper + cursor: grabbing + transform: rotate(4deg) + display: block !important + + .and-n-other + width: 100% + height: 16px + padding: 4px + background-color: darken(white, 5%) + text-align: center + border-radius: 3px + + .multi-selection-checkbox + display: none + + .multi-selection-checkbox + .minicard + margin-left: 8px + +.minicard + padding: 6px 8px 2px + position: relative + flex: 1 + flex-wrap: wrap + background-color: #fff + min-height: 20px + box-shadow: 0 1px 2px rgba(0,0,0,.15) + border-radius: 2px + color: #4d4d4d + overflow: hidden + transition: transform 0.2s, + border-radius 0.2s + + &.linked-board + &.linked-card + .linked-icon + display: inline-block + margin-right: 11px + vertical-align: baseline + font-size: 0.9em + .linked-archived + color: #937760 + + .is-selected & + transform: translateX(11px) + border-bottom-right-radius: 0 + border-top-right-radius: 0 + z-index: 25 + box-shadow: -2px 1px 2px rgba(0,0,0,.2) + + &:hover:not(.minicard-composer), + .is-selected &, + .draggable-hover-card & + background: darken(white, 3%) + + .draggable-hover-card & + background: darken(white, 7%) + + .minicard-cover + background-position: center + background-repeat: no-repeat + background-size: contain + height: 145px + user-select: none + margin: -6px -8px 6px -8px + border-radius: top 2px + + .minicard-labels + float: none + display: flex + flex-wrap: wrap + + .minicard-label + width: 11px + height: @width + border-radius: 2px + margin-right: 3px + margin-bottom: 3px + + .minicard-custom-fields + display:block; + .minicard-custom-field + display:flex; + .minicard-custom-field-item + flex-grow: 1 + display: block + word-wrap: break-word + max-width: 100px + margin-right: 4px + .handle + width: 20px; + height: 20px; + position: absolute; + right: 5px; + top: 5px; + display:none; + @media only screen { + display:block; + } + .fa-arrows + font-size:20px; + color: #ccc; + .minicard-title + p:last-child + margin-bottom: 0 + .viewer + display: block + word-wrap: break-word + max-width: 230px + .dates + display: flex; + flex-direction: row; + flex-wrap: wrap; + .date + margin-right: 3px + .badges + float: left + margin-top: 7px + color: darken(white, 50%) + + &:empty + display: none + + .badge + float: left + margin-right: 11px + margin-bottom: 3px + font-size: 0.9em + &.is-finished + background: #3cb500 + padding: 0px 3px + border-radius: 3px + color: white + + &:last-of-type + margin-right: 0 + + .badge-icon, + .badge-text + vertical-align: middle + &.badge-comment + margin-bottom: 0.1rem + + .badge-text + font-size: 0.9em + padding-left: 2px + line-height: 14px + .check-list-text + padding-left: 0px + line-height: 12px + + .minicard-members, + .minicard-assignees + float: right + margin: 2px -8px 12px 0 + + .member + float: right + border-radius: 50% + height: 28px + width: @height + + .assignee + float: right + border-radius: 50% + height: 28px + width: @height + + + .badges + margin-top: 10px + + .minicard-members:empty, + .minicard-assignees:empty + display: none + + &.minicard-composer + margin-bottom: 10px + + textarea.minicard-composer-textarea, + textarea.minicard-composer-textarea:focus + resize: none + background: none + border: none + box-shadow: none + height: auto + margin: 0 + padding: 0 + max-height: 162px + min-height: 36px + margin-bottom: 20px + overflow-y: auto + +.parent-prefix + color: darken(white, 30%) + font-size: 0.9em +.parent-subtext + color: darken(white, 30%) + font-size: 0.9em + +@media screen and (max-width: 800px) + .minicard + .is-selected & + transform: translateX(0px) + border-bottom-right-radius: 0 + border-top-right-radius: 0 + z-index: 15 + box-shadow: 0 1px 2px rgba(0,0,0,.15) + +minicard-color(background, color...) + background-color: background + if color + color: color //overwrite text for better visibility + &:hover:not(.minicard-composer), + .is-selected &, + .draggable-hover-card & + background: darken(background, 3%) + .draggable-hover-card & + background: darken(background, 7%) + +.minicard-green + minicard-color(#3cb500, #ffffff) //White text for better visibility + +.minicard-yellow + minicard-color(#fad900) + +.minicard-orange + minicard-color(#ff9f19) + +.minicard-red + minicard-color(#eb4646, #ffffff) //White text for better visibility + +.minicard-purple + minicard-color(#a632db, #ffffff) //White text for better visibility + +.minicard-blue + minicard-color(#0079bf, #ffffff) //White text for better visibility + +.minicard-pink + minicard-color(#ff78cb) + +.minicard-sky + minicard-color(#00c2e0, #ffffff) //White text for better visibility + +.minicard-black + minicard-color(#4d4d4d, #ffffff) //White text for better visibility + +.minicard-lime + minicard-color(#51e898) + +.minicard-silver + minicard-color(#c0c0c0) + +.minicard-peachpuff + minicard-color(#ffdab9) + +.minicard-crimson + minicard-color(#dc143c, #ffffff) //White text for better visibility + +.minicard-plum + minicard-color(#dda0dd) + +.minicard-darkgreen + minicard-color(#006400, #ffffff) //White text for better visibility + +.minicard-slateblue + minicard-color(#6a5acd, #ffffff) //White text for better visibility + +.minicard-magenta + minicard-color(#ff00ff, #ffffff) //White text for better visibility + +.minicard-gold + minicard-color(#ffd700) + +.minicard-navy + minicard-color(#000080, #ffffff) //White text for better visibility + +.minicard-gray + minicard-color(#808080, #ffffff) //White text for better visibility + +.minicard-saddlebrown + minicard-color(#8b4513, #ffffff) //White text for better visibility + +.minicard-paleturquoise + minicard-color(#afeeee) + +.minicard-mistyrose + minicard-color(#ffe4e1) + +.minicard-indigo + minicard-color(#4b0082, #ffffff) //White text for better visibility + +.text-red + color:red +.text-green + color:green diff --git a/client/components/cards/subtasks.jade b/client/components/cards/subtasks.jade new file mode 100644 index 0000000..df35bed --- /dev/null +++ b/client/components/cards/subtasks.jade @@ -0,0 +1,99 @@ +template(name="subtasks") + h3 + i.fa.fa-sitemap + | {{_ 'subtasks'}} + if toggleDeleteDialog.get + .board-overlay#card-details-overlay + +subtaskDeleteDialog(subtask = subtaskToDelete) + + + .card-subtasks-items + each subtask in currentCard.subtasks + +subtaskDetail(subtask = subtask) + + if canModifyCard + +inlinedForm(autoclose=false classNames="js-add-subtask" cardId = cardId) + +addSubtaskItemForm + else + a.js-open-inlined-form + i.fa.fa-plus + | {{_ 'add-subtask'}}... + +template(name="subtaskDetail") + .js-subtasks.subtask + +inlinedForm(classNames="js-edit-subtask-title" subtask = subtask) + +editSubtaskItemForm(subtask = subtask) + else + .subtask-title + span + a.js-view-subtask(title="{{ subtask.title }}") {{_ "view-it"}} + if canModifyCard + a.js-delete-subtask.toggle-delete-subtask-dialog {{_ "delete"}}... + + if canModifyCard + h2.title.js-open-inlined-form.is-editable + +viewer + = subtask.title + else + h2.title + +viewer + = subtask.title + +template(name="subtaskDeleteDialog") + .js-confirm-subtask-delete + p + i(class="fa fa-exclamation-triangle" aria-hidden="true") + p + | {{_ 'confirm-subtask-delete-dialog'}} + span {{subtask.title}} + | ? + .js-subtask-delete-buttons + button.confirm-subtask-delete(type="button") {{_ 'delete'}} + button.toggle-delete-subtask-dialog(type="button") {{_ 'cancel'}} + +template(name="addSubtaskItemForm") + textarea.js-add-subtask-item(rows='1' autofocus dir="auto") + .edit-controls.clearfix + button.primary.confirm.js-submit-add-subtask-item-form(type="submit") {{_ 'save'}} + a.fa.fa-times-thin.js-close-inlined-form + +template(name="editSubtaskItemForm") + textarea.js-edit-subtask-item(rows='1' autofocus dir="auto") + if $eq type 'item' + = item.title + else + = subtask.title + .edit-controls.clearfix + button.primary.confirm.js-submit-edit-subtask-item-form(type="submit") {{_ 'save'}} + a.fa.fa-times-thin.js-close-inlined-form + span(title=createdAt) {{ moment createdAt }} + if canModifyCard + a.js-delete-subtask-item {{_ "delete"}}... + +template(name="subtasksItems") + .subtasks-items.js-subtasks-items + each item in subtasks.items + +inlinedForm(classNames="js-edit-subtask-item" item = item subtasks = subtasks) + +editSubtaskItemForm(type = 'item' item = item subtasks = subtasks) + else + +subtaskItemDetail(item = item subtasks = subtasks) + if canModifyCard + +inlinedForm(autoclose=false classNames="js-add-subtask-item" subtasks = subtasks dir="auto") + +addSubtaskItemForm + else + a.add-subtask-item.js-open-inlined-form + i.fa.fa-plus + | {{_ 'add-subtask-item'}}... + +template(name='subtaskItemDetail') + .js-subtasks-item.subtasks-item + if canModifyCard + .check-box.materialCheckBox(class="{{#if item.isFinished }}is-checked{{/if}}") + .item-title.js-open-inlined-form.is-editable(class="{{#if item.isFinished }}is-checked{{/if}}") + +viewer + = item.title + else + .materialCheckBox(class="{{#if item.isFinished }}is-checked{{/if}}") + .item-title(class="{{#if item.isFinished }}is-checked{{/if}}") + +viewer + = item.title diff --git a/client/components/cards/subtasks.js b/client/components/cards/subtasks.js new file mode 100644 index 0000000..4cd15c1 --- /dev/null +++ b/client/components/cards/subtasks.js @@ -0,0 +1,182 @@ +BlazeComponent.extendComponent({ + canModifyCard() { + return ( + Meteor.user() && + Meteor.user().isBoardMember() && + !Meteor.user().isCommentOnly() && + !Meteor.user().isWorker() + ); + }, +}).register('subtaskDetail'); + +BlazeComponent.extendComponent({ + addSubtask(event) { + event.preventDefault(); + const textarea = this.find('textarea.js-add-subtask-item'); + const title = textarea.value.trim(); + const cardId = this.currentData().cardId; + const card = Cards.findOne(cardId); + const sortIndex = -1; + const crtBoard = Boards.findOne(card.boardId); + const targetBoard = crtBoard.getDefaultSubtasksBoard(); + const listId = targetBoard.getDefaultSubtasksListId(); + + //Get the full swimlane data for the parent task. + const parentSwimlane = Swimlanes.findOne({ + boardId: crtBoard._id, + _id: card.swimlaneId, + }); + //find the swimlane of the same name in the target board. + const targetSwimlane = Swimlanes.findOne({ + boardId: targetBoard._id, + title: parentSwimlane.title, + }); + //If no swimlane with a matching title exists in the target board, fall back to the default swimlane. + const swimlaneId = + targetSwimlane === undefined + ? targetBoard.getDefaultSwimline()._id + : targetSwimlane._id; + + if (title) { + const _id = Cards.insert({ + title, + parentId: cardId, + members: [], + labelIds: [], + customFields: [], + listId, + boardId: targetBoard._id, + sort: sortIndex, + swimlaneId, + type: 'cardType-card', + }); + + // In case the filter is active we need to add the newly inserted card in + // the list of exceptions -- cards that are not filtered. Otherwise the + // card will disappear instantly. + // See https://github.com/wekan/wekan/issues/80 + Filter.addException(_id); + + setTimeout(() => { + this.$('.add-subtask-item') + .last() + .click(); + }, 100); + } + textarea.value = ''; + textarea.focus(); + }, + + canModifyCard() { + return ( + Meteor.user() && + Meteor.user().isBoardMember() && + !Meteor.user().isCommentOnly() && + !Meteor.user().isWorker() + ); + }, + + deleteSubtask() { + const subtask = this.currentData().subtask; + if (subtask && subtask._id) { + subtask.archive(); + this.toggleDeleteDialog.set(false); + } + }, + + editSubtask(event) { + event.preventDefault(); + const textarea = this.find('textarea.js-edit-subtask-item'); + const title = textarea.value.trim(); + const subtask = this.currentData().subtask; + subtask.setTitle(title); + }, + + onCreated() { + this.toggleDeleteDialog = new ReactiveVar(false); + this.subtaskToDelete = null; //Store data context to pass to subtaskDeleteDialog template + }, + + pressKey(event) { + //If user press enter key inside a form, submit it + //Unless the user is also holding down the 'shift' key + if (event.keyCode === 13 && !event.shiftKey) { + event.preventDefault(); + const $form = $(event.currentTarget).closest('form'); + $form.find('button[type=submit]').click(); + } + }, + + events() { + const events = { + 'click .toggle-delete-subtask-dialog'(event) { + if ($(event.target).hasClass('js-delete-subtask')) { + this.subtaskToDelete = this.currentData().subtask; //Store data context + } + this.toggleDeleteDialog.set(!this.toggleDeleteDialog.get()); + }, + 'click .js-view-subtask'(event) { + if ($(event.target).hasClass('js-view-subtask')) { + const subtask = this.currentData().subtask; + const board = subtask.board(); + FlowRouter.go('card', { + boardId: board._id, + slug: board.slug, + cardId: subtask._id, + }); + } + }, + }; + + return [ + { + ...events, + 'submit .js-add-subtask': this.addSubtask, + 'submit .js-edit-subtask-title': this.editSubtask, + 'click .confirm-subtask-delete': this.deleteSubtask, + keydown: this.pressKey, + }, + ]; + }, +}).register('subtasks'); + +Template.subtaskDeleteDialog.onCreated(() => { + const $cardDetails = this.$('.card-details'); + this.scrollState = { + position: $cardDetails.scrollTop(), //save current scroll position + top: false, //required for smooth scroll animation + }; + //Callback's purpose is to only prevent scrolling after animation is complete + $cardDetails.animate({ scrollTop: 0 }, 500, () => { + this.scrollState.top = true; + }); + + //Prevent scrolling while dialog is open + $cardDetails.on('scroll', () => { + if (this.scrollState.top) { + //If it's already in position, keep it there. Otherwise let animation scroll + $cardDetails.scrollTop(0); + } + }); +}); + +Template.subtaskDeleteDialog.onDestroyed(() => { + const $cardDetails = this.$('.card-details'); + $cardDetails.off('scroll'); //Reactivate scrolling + $cardDetails.animate({ scrollTop: this.scrollState.position }); +}); + +Template.subtaskItemDetail.helpers({ + canModifyCard() { + return ( + Meteor.user() && + Meteor.user().isBoardMember() && + !Meteor.user().isCommentOnly() && + !Meteor.user().isWorker() + ); + }, +}); + +BlazeComponent.extendComponent({ + // ... +}).register('subtaskItemDetail'); diff --git a/client/components/cards/subtasks.styl b/client/components/cards/subtasks.styl new file mode 100644 index 0000000..c2f09aa --- /dev/null +++ b/client/components/cards/subtasks.styl @@ -0,0 +1,142 @@ +.js-add-subtask + color: #8c8c8c + +textarea.js-add-subtask-item, textarea.js-edit-subtask-item + overflow: hidden + word-wrap: break-word + resize: none + height: 34px + +.delete-text + color: #8c8c8c + text-decoration: underline + word-wrap: break-word + float: right + padding-top: 6px + &:hover + color: inherit + +.subtask-title + .checkbox + float: left + width: 30px + height 30px + font-size: 18px + line-height: 30px + + .title + font-size: 18px + line-height: 25px + + .subtasks-stat + margin: 0 0.5em + float: right + padding-top: 6px + &.is-finished + color: #3cb500 + + .js-delete-subtask + @extends .delete-text + margin: 0 0.5em + + .js-view-subtask + @extends .delete-text + +.js-confirm-subtask-delete + background-color: darken(white, 3%) + position: absolute + float: left; + width: 60% + margin-top: 0 + margin-left: 13% + padding-bottom: 2% + padding-left: 3% + padding-right: 3% + z-index: 17 + border-radius: 3px + + p + position: relative + margin-top: 3% + width: 100% + text-align: center + span + font-weight: bold + + i + font-size: 2em + + .js-subtask-delete-buttons + position: relative + padding: left 2% right 2% + .confirm-subtask-delete + margin-left: 12% + float: left + .toggle-delete-subtask-dialog + margin-right: 12% + float: right + +#card-details-overlay + top: 0 + bottom: -600px + right: 0 + +.subtasks + background: darken(white, 3%) + + &.placeholder + background: darken(white, 20%) + border-radius: 2px + + &.ui-sortable-helper + box-shadow: -2px 2px 8px rgba(0, 0, 0, .3), + 0 0 1px rgba(0, 0, 0, .5) + transform: rotate(4deg) + cursor: grabbing + + +.subtasks-item + margin: 0 0 0 0.1em + line-height: 18px + font-size: 1.1em + margin-top: 3px + display: flex + background: darken(white, 3%) + + &.placeholder + background: darken(white, 20%) + border-radius: 2px + + &.ui-sortable-helper + box-shadow: -2px 2px 8px rgba(0, 0, 0, .3), + 0 0 1px rgba(0, 0, 0, .5) + transform: rotate(4deg) + cursor: grabbing + + &:hover + background-color: darken(white, 8%) + + .check-box + margin: 0.1em 0 0 0; + &.is-checked + border-bottom: 2px solid #3cb500 + border-right: 2px solid #3cb500 + + .item-title + flex: 1 + padding-left: 10px; + &.is-checked + color: #8c8c8c + font-style: italic + & .viewer + p + margin-bottom: 2px + +.js-delete-subtask-item + margin: 0 0 0.5em 1.33em + @extends .delete-text + padding: 12px 0 0 0 + +.add-subtask-item + margin: 0.2em 0 0.5em 1.33em + display: inline-block diff --git a/client/components/forms/datepicker.jade b/client/components/forms/datepicker.jade new file mode 100644 index 0000000..96f63bc --- /dev/null +++ b/client/components/forms/datepicker.jade @@ -0,0 +1,15 @@ +template(name="datepicker") + .datepicker-container + form.edit-date + .fields + .left + label(for="date") {{_ 'date'}} + input.js-date-field#date(type="text" name="date" value=showDate placeholder=dateFormat autofocus) + .right + label(for="time") {{_ 'time'}} + input.js-time-field#time(type="text" name="time" value=showTime placeholder=timeFormat) + .js-datepicker + if error.get + .warning {{_ error.get}} + button.primary.wide.left.js-submit-date(type="submit") {{_ 'save'}} + button.js-delete-date.negate.wide.right.js-delete-date {{_ 'delete'}} \ No newline at end of file diff --git a/client/components/forms/datepicker.styl b/client/components/forms/datepicker.styl new file mode 100644 index 0000000..a255809 --- /dev/null +++ b/client/components/forms/datepicker.styl @@ -0,0 +1,17 @@ +.datepicker-container + .fields + .left + width: 56% + .right + width: 38% + .datepicker + width: 100% + table + width: 100% + border: none + border-spacing: 0 + border-collapse: collapse + thead + background: none + td, th + box-sizing: border-box \ No newline at end of file diff --git a/client/components/forms/forms.styl b/client/components/forms/forms.styl new file mode 100644 index 0000000..bfae2e7 --- /dev/null +++ b/client/components/forms/forms.styl @@ -0,0 +1,696 @@ +@import 'nib' + +select, +textarea, +input:not([type=file]), +button + box-sizing: border-box + background-color: #ebebeb + border: 1px solid #ccc + border-radius: 3px + display: block + margin-bottom: 12px + min-height: 34px + padding: 7px + + &.full + width: 100% + + &.input-error + background-color: #ece9e9 + border-color: #ba1212 + + &:focus + outline: 0 + +input[type="file"] + margin-bottom: 16px + +input[type="radio"] + -webkit-appearance: radio + min-height: inherit + +input[type="text"], +input[type="password"], +input[type="email"] + transition: background 85ms ease-in, + border-color 85ms ease-in + width: 250px + + &.inline-input + background: none + border: 0 + margin: 0 + padding: 2px + min-height: 0 + height: 18px + width: 200px + + &.full-line + width: 100% + +input[type="email"]:invalid + box-shadow: none + +input[type="text"], +input[type="password"], +input[type="email"], +textarea + + &:hover + border-color: #999 + + &.input-error + border-color: #ba1212 + + &:focus + background: #fff + border-color: #318ec4 + box-shadow: 0 0 2px #318ec4 + + &.input-error + background-color: #f8f7f7 + border-color: #ba1212 + box-shadow: 0 0 2px #d11515 + + &:disabled + background-color: #dcdcdc + border-color: #bfbfbf + color: #8c8c8c + -webkit-touch-callout: none + user-select: none + +select + max-height: 300px + width: 256px + margin-bottom: 8px + + &.inline + width: 100% + +option[disabled] + color: #8c8c8c + +textarea + height: 150px + transition: background 85ms ease-in, + border-color 85ms ease-in + resize: vertical + width: 100% + + &.editor + resize: none + padding-bottom: 22px + + +.button + border-radius: 3px + text-decoration: none + position: relative + +input[type="submit"], +button + background: #cfcfcf + background: linear-gradient(#cfcfcf, #c2c2c2) + border: none + cursor: pointer + display: inline-block + font-weight: 700 + line-height: 22px + margin: 8px 4px 0 0 + padding: 7px 20px + text-align: center + + .wide + padding-left: 30px + padding-right: 30px + + &:hover, + &:focus + background: #c2c2c2 + background: linear-gradient(#c2c2c2, #b5b5b5) + + &:active + background: #b5b5b5 + background: linear-gradient(#b5b5b5, #a8a8a8) + box-shadow: inset 0 3px 6px rgba(0, 0, 0, .1) + + &:hover, + &:focus, + &:active + background: #e6e6e6 + background: linear-gradient(#e6e6e6, #e6e6e6) + + &.primary + background: #005377 + box-shadow: 0 1px 0 #4d4d4d + color: white + + &:hover, + &:focus + background: #004766 + + &:active + background: #01628C + + &.negate + &:hover, + &:focus + background: #990f0f + background: linear-gradient(#990f0f, #7d0c0c) + box-shadow: 0 1px 0 #4d4d4d + color: #fff + + &:active + background: #7d0c0c + box-shadow: 0 1px 0 #4d4d4d + color: #fff + + i.fa + margin-right: 10px + +input[type="submit"].disabled, +input[type="submit"]:disabled, +input[type="button"].disabled, +button.disabled, +.button.disabled + + &, + &:hover, + &:active + background: #cfcfcf + cursor: default + box-shadow: none + color: #a8a8a8 + +fieldset + border: 1px solid #bfbfbf + padding: 15px + margin-bottom: 15px + +input[type="hidden"] + display: none + +.radio-div, +.check-div + display: block + margin: 0 0 4px 20px + min-height: 20px + position: relative + + input + left: -18px + min-height: 0 + margin: 0 + padding: 0 + position: absolute + top: 2px + + label + font-weight: 400 + +label + display: block + font-weight: 700 + margin-bottom: 4px + + &.form-error + color: #ba1212 + +input, +textarea + &::-webkit-input-placeholder, + &::-moz-placeholder + color: #8c8c8c + +.edit-controls, +.add-controls + display: flex + align-items: baseline + margin-top: 0 + + button[type=submit] + input[type=button] + float: left + height: 32px + margin-top: -2px + padding-top: 5px + padding-bottom: 5px + + .fa-times-thin + font-size: 26px + margin: 3px 4px + +// Material Design checkboxes +[type="checkbox"]:not(:checked), +[type="checkbox"]:checked + position: absolute + left: -9999px + visibility: hidden + +.materialCheckBox + position: relative + width: 13px + height: @width + z-index: 0 + border: 2px solid #5a5a5a + border-radius: 1px + transition: .2s + margin: 0 + cursor: pointer + + &.is-checked + top: -4px + left: -3px + width: 7px + height: 15px + margin-right: 6px + border-top: 2px solid transparent + border-left: 2px solid transparent + transform: rotate(40deg) + -webkit-backface-visibility: hidden + transform-origin: 100% 100% + +.button-link + background: #fff + background: linear-gradient(#fff, #f5f5f5) + border-radius: 3px + box-sizing: border-box + user-select: none + border: 1px solid #e3e3e3 + border-bottom-color: #c2c2c2 + cursor: pointer + display: block + font-weight: 700 + height: 34px + margin-top: 6px + max-width: 300px + padding: 7px + position: relative + text-decoration: none + overflow: ellipsis + + .on + background: #48b512 + background: linear-gradient(#48b512, #3d990f) + border-radius: 3px + color: #fff + display: none + font-size: 12px + font-weight: 700 + height: 17px + line-height: @height + margin: 0 + padding: 2px 4px + position: absolute + right: 5px + top: 5px + text-align: center + + &.is-on + padding-right: 30px + max-width: 196px + + .on + display: block + + &.inline + color: #666 + padding: 2px 14px + margin-left: 4px + + &.setting + height: 52px + float: left + position: relative + margin-top: 0 + + &.disabled + background: #fff + border-color: #e9e9e9 + color: #8c8c8c + cursor: default + + select + display: none + + &:hover .label + color: #8c8c8c + + &, + &:hover, + &:active, + &.primary, + &.primary:hover, + &.primary:active + background: #cfcfcf + border-color: #c2c2c2 + border-bottom-color: #b5b5b5 + cursor: default + box-shadow: none + color: #a8a8a8 + + .label + color: #8c8c8c + display: block + font-size: 12px + line-height: 14px + margin-bottom: 0 + + &:hover .label + color: #eee + + .value + display: block + font-size: 18px + line-height: 24px + overflow: hidden + text-overflow: ellipsis + + label + display: none + + select + border: none + cursor: pointer + height: 50px + left: 0 + margin: 0 + opacity: 0 + position: absolute + top: 0 + z-index: 2 + width: 100% + + &:hover + background: #318ec4 + background: linear-gradient(#318ec4, #2b7cab) + border-color: #2e85b8 + color: #fff + + .on + background-image: none + background-color: rgba(255, 255, 255, .3) + border-color: transparent + + &:active + background: #2e85b8 + background: linear-gradient(#2e85b8, #28739f) + border-color: #2b7cab + color: #fff + + .button-link.negate + + &:hover + background: #990f0f + background: linear-gradient(#990f0f, #7d0c0c) + border-color: @background + + &:active + background: #7d0c0c + border-color: #990f0f + + + &.primary + background: #48b512 + background: linear-gradient(#48b512, #3d990f) + border: 1px solid + border-color: #3d990f + color: #fff + + &:hover + background: #3d990f + background: linear-gradient(#3d990f, #327d0c) + border-color: #3d990f + + &.danger + background: #ba1212 + background: linear-gradient(#ba1212, #8b0e0e) + border: 1px solid + border-color: #a21010 + color: #fff + + &:hover + background: #a21010 + background: linear-gradient(#a21010, #740b0b) + border-color: #8b0e0e + +button + &.quiet-button, + &.loud-text-button + background: none + text-align: left + line-height: normal + border: none + box-shadow: none + + &:active + color: #4d4d4d + background: #d3d3d3 + box-shadow: none + + &.quiet-button + font-weight: 400 + text-decoration: underline + + &.loud-text-button + width: 100% + + &:hover + color: #111 + +.emphasis-button, +.quiet-button + border-radius: 3px + user-select: none + color: #8c8c8c + display: block + margin: 2px 0 + padding: 6px 8px + position: relative + + &.w-img + padding-left: 28px + + &:hover + color: #4d4d4d + background: #dcdcdc + + &:active + color: #4d4d4d + background: #d3d3d3 + +.quiet-button-large + padding: 16px 24px + +.emphasis-button + color: #74663e + background: #ecdfbb + + &:hover + color: #53492d + background: #e7d6a7 + + &:active + color: #53492d + background: #e1cc93 + +.is-editable + cursor: pointer + +.big-link + border-radius: 3px + display: block + margin: 6px 0 6px 40px + padding: 11px + position: relative + text-decoration: none + font-size: 16px + line-height: 20px + + .text + text-decoration: underline + + &:hover + background: #dcdcdc + + &.options + padding-right: 41px + + .option + height: 30px + width: @height + position: absolute + right: 6px + top: 6px + + &.none + color: #8c8c8c + text-decoration: none + + &:hover + background: transparent + + &.avatar-changer + padding-right: 51px + + .member + border: 1px solid #ccc + border-radius: 3px + height: 40px + width: @height + position: absolute + right: 0 + top: 0 + + .member-avatar + height: 40px + width: @height + + .member-initials + font-size: 16px + height: 40px + line-height: @height + max-height: @height + +.show-more + border-radius: 3px + color: #8c8c8c + display: block + padding: 16px 8px 16px 40px + margin: 8px 0 + + &:hover + background: #dcdcdc + text-decoration: underline + + &.compact + padding: 12px 8px + margin: 8px 0 0 + text-align: center + +.board-widget .show-more + padding: 12px 8px 12px 40px + +.uploader + clear: both + cursor: pointer + position: relative + height: 34px + width: 100% + + .realfile + cursor: pointer + height: 34px + line-height: @height + position: absolute + top: 0 + left: 0 + width: 100% + z-index: 2 + font-size: 23px + + input[type="file"] + cursor: pointer + height: 34px + line-height: @height + margin: 0 + opacity: 0 + padding: 0 + width: 100% + z-index: 2 + font-size: 23px + + &:hover .fakefile + background: #318ec4 + background: linear-gradient(#318ec4, #2b7cab) + border-color: #2e85b8 + color: #fff + +.dropdown-menu + border-radius: 2px + overflow: hidden + + li + border-top: none + + a + padding: 4px 12px 4px 8px + + img + width: 18px + height: @width + margin-right: 5px + vertical-align: middle + + .minicard-label + width: 11px + height: @width + border-radius: 2px + margin: 2px 7px -2px -2px + display: inline-block + + &.active + background: #005377 + + a, .quiet + color: white + +// Material Design Toggle Switch +.material-toggle-switch + display: flex + +.toggle-label + position: relative + display: block + height: 20px + width: 44px + background-color: #a6a6a6 + border-radius: 100px + cursor: pointer + transition: all 0.3s ease + + &:after + position: absolute + left: -2px + top: -3px + display: block + width: 26px + height: 26px + border-radius: 100px + background-color: #fff + box-shadow: 0px 3px 3px rgba(0,0,0,0.05) + content: '' + transition: all 0.3s ease + + &:active + &:after + transform: scale(1.15, 0.85) + +.toggle-switch:checked ~ .toggle-label + background-color: #6fbeb5 + + &:after + left: 20px + background-color: #179588 + +.toggle-switch:checked:disabled ~ .toggle-label + background-color: #d5d5d5 + pointer-events: none + + &:after + background-color: #bcbdbc + +.toggle-switch + display: none + +.toggle-switch-title + margin: 0 0.5em + display: flex + + +@media screen and (max-width: 800px) + .edit-controls, + .add-controls + .fa-times-thin + margin: 3px 20px diff --git a/client/components/forms/inlinedform.jade b/client/components/forms/inlinedform.jade new file mode 100644 index 0000000..ac58552 --- /dev/null +++ b/client/components/forms/inlinedform.jade @@ -0,0 +1,6 @@ +template(name='inlinedForm') + if isOpen.get + form.inlined-form.js-inlined-form(id=id class=classNames) + +Template.contentBlock + else + +Template.elseBlock diff --git a/client/components/import/csvMembersMapper.js b/client/components/import/csvMembersMapper.js new file mode 100644 index 0000000..cf8d583 --- /dev/null +++ b/client/components/import/csvMembersMapper.js @@ -0,0 +1,37 @@ +export function getMembersToMap(data) { + // we will work on the list itself (an ordered array of objects) when a + // mapping is done, we add a 'wekan' field to the object representing the + // imported member + + const membersToMap = []; + const importedMembers = []; + let membersIndex; + + for (let i = 0; i < data[0].length; i++) { + if (data[0][i].toLowerCase() === 'members') { + membersIndex = i; + } + } + + for (let i = 1; i < data.length; i++) { + if (data[i][membersIndex]) { + for (const importedMember of data[i][membersIndex].split(' ')) { + if (importedMember && importedMembers.indexOf(importedMember) === -1) { + importedMembers.push(importedMember); + } + } + } + } + + for (let importedMember of importedMembers) { + importedMember = { + username: importedMember, + id: importedMember, + }; + const wekanUser = Users.findOne({ username: importedMember.username }); + if (wekanUser) importedMember.wekanId = wekanUser._id; + membersToMap.push(importedMember); + } + + return membersToMap; +} diff --git a/client/components/import/import.jade b/client/components/import/import.jade new file mode 100644 index 0000000..2bea24a --- /dev/null +++ b/client/components/import/import.jade @@ -0,0 +1,67 @@ +template(name="importHeaderBar") + h1 + a.back-btn(href="{{pathFor 'home'}}") + i.fa.fa-chevron-left + | {{_ title}} + +template(name="import") + .wrapper + if error.get + .warning {{_ error.get}} + +Template.dynamic(template=currentTemplate) + +template(name="importTextarea") + form + p: label(for='import-textarea') {{_ instruction}} {{_ 'import-board-instruction-about-errors'}} + textarea.js-import-json(placeholder="{{_ importPlaceHolder}}" autofocus) + | {{jsonText}} + input.primary.wide(type="submit" value="{{_ 'import'}}") + +template(name="importMapMembers") + h2 {{_ 'import-map-members'}} + .map-members + p {{_ 'import-members-map'}} + .mapping-list + each members + a.mapping-item.js-select-member(class="{{#if wekanId}}filled{{/if}}") + .profile-source + .full-name= fullName + .username + | ({{username}}) + .wekan + if wekanId + +userAvatar(userId=wekanId) + else + a.member.add-member + i.fa.fa-plus + //- + Due to the way the flewbox layout is working, we need to set some + invisible items so that the last row items have a consistent width. + See http://jsfiddle.net/Ln4h3c4n/ for an minimal example of the issue. + .mapping-item.ghost-item + .mapping-item.ghost-item + .mapping-item.ghost-item + .mapping-item.ghost-item + .mapping-item.ghost-item + form + input.primary.wide(type="submit" value="{{_ 'done'}}") + +template(name="importMapMembersAddPopup") + .select-member + p + | {{_ 'import-user-select'}} + .js-map-member + +esInput(index="users") + ul.pop-over-list + +esEach(index="users") + li.item.js-member-item + a.name.js-select-import(title="{{profile.fullname}} ({{username}})" data-id="{{_id}}") + +userAvatar(userId=_id esSearch=true) + span.full-name + = profile.fullname + | ({{username}}) + +ifEsIsSearching(index='users') + +spinner + +ifEsHasNoResults(index="users") + .manage-member-section + p.quiet {{_ 'no-results'}} diff --git a/client/components/import/import.js b/client/components/import/import.js new file mode 100644 index 0000000..673900f --- /dev/null +++ b/client/components/import/import.js @@ -0,0 +1,278 @@ +import trelloMembersMapper from './trelloMembersMapper'; +import wekanMembersMapper from './wekanMembersMapper'; +import csvMembersMapper from './csvMembersMapper'; + +const Papa = require('papaparse'); + +BlazeComponent.extendComponent({ + title() { + return `import-board-title-${Session.get('importSource')}`; + }, +}).register('importHeaderBar'); + +BlazeComponent.extendComponent({ + onCreated() { + this.error = new ReactiveVar(''); + this.steps = ['importTextarea', 'importMapMembers']; + this._currentStepIndex = new ReactiveVar(0); + this.importedData = new ReactiveVar(); + this.membersToMap = new ReactiveVar([]); + this.importSource = Session.get('importSource'); + }, + + currentTemplate() { + return this.steps[this._currentStepIndex.get()]; + }, + + nextStep() { + const nextStepIndex = this._currentStepIndex.get() + 1; + if (nextStepIndex >= this.steps.length) { + this.finishImport(); + } else { + this._currentStepIndex.set(nextStepIndex); + } + }, + + importData(evt, dataSource) { + evt.preventDefault(); + const input = this.find('.js-import-json').value; + if (dataSource === 'csv') { + const csv = input.indexOf('\t') > 0 ? input.replace(/(\t)/g, ',') : input; + const ret = Papa.parse(csv); + if (ret && ret.data && ret.data.length) this.importedData.set(ret.data); + else throw new Meteor.Error('error-csv-schema'); + const membersToMap = this._prepareAdditionalData(ret.data); + this.membersToMap.set(membersToMap); + this.nextStep(); + } else { + try { + const dataObject = JSON.parse(input); + this.setError(''); + this.importedData.set(dataObject); + const membersToMap = this._prepareAdditionalData(dataObject); + // store members data and mapping in Session + // (we go deep and 2-way, so storing in data context is not a viable option) + this.membersToMap.set(membersToMap); + this.nextStep(); + } catch (e) { + this.setError('error-json-malformed'); + } + } + }, + + setError(error) { + this.error.set(error); + }, + + finishImport() { + const additionalData = {}; + const membersMapping = this.membersToMap.get(); + if (membersMapping) { + const mappingById = {}; + membersMapping.forEach(member => { + if (member.wekanId) { + mappingById[member.id] = member.wekanId; + } + }); + additionalData.membersMapping = mappingById; + } + this.membersToMap.set([]); + Meteor.call( + 'importBoard', + this.importedData.get(), + additionalData, + this.importSource, + Session.get('fromBoard'), + (err, res) => { + if (err) { + this.setError(err.error); + } else { + Session.set('fromBoard', null); + Utils.goBoardId(res); + } + }, + ); + }, + + _prepareAdditionalData(dataObject) { + const importSource = Session.get('importSource'); + let membersToMap; + switch (importSource) { + case 'trello': + membersToMap = trelloMembersMapper.getMembersToMap(dataObject); + break; + case 'wekan': + membersToMap = wekanMembersMapper.getMembersToMap(dataObject); + break; + case 'csv': + membersToMap = csvMembersMapper.getMembersToMap(dataObject); + break; + } + return membersToMap; + }, + + _screenAdditionalData() { + return 'mapMembers'; + }, +}).register('import'); + +BlazeComponent.extendComponent({ + template() { + return 'importTextarea'; + }, + + instruction() { + return `import-board-instruction-${Session.get('importSource')}`; + }, + + importPlaceHolder() { + const importSource = Session.get('importSource'); + if (importSource === 'csv') { + return 'import-csv-placeholder'; + } else { + return 'import-json-placeholder'; + } + }, + + events() { + return [ + { + submit(evt) { + return this.parentComponent().importData( + evt, + Session.get('importSource'), + ); + }, + }, + ]; + }, +}).register('importTextarea'); + +BlazeComponent.extendComponent({ + onCreated() { + this.autorun(() => { + this.parentComponent() + .membersToMap.get() + .forEach(({ wekanId }) => { + if (wekanId) { + this.subscribe('user-miniprofile', wekanId); + } + }); + }); + }, + + members() { + return this.parentComponent().membersToMap.get(); + }, + + _refreshMembers(listOfMembers) { + return this.parentComponent().membersToMap.set(listOfMembers); + }, + + /** + * Will look into the list of members to import for the specified memberId, + * then set its property to the supplied value. + * If unset is true, it will remove the property from the rest of the list as well. + * + * use: + * - memberId = null to use selected member + * - value = null to unset a property + * - unset = true to ensure property is only set on 1 member at a time + */ + _setPropertyForMember(property, value, memberId, unset = false) { + const listOfMembers = this.members(); + let finder = null; + if (memberId) { + finder = member => member.id === memberId; + } else { + finder = member => member.selected; + } + listOfMembers.forEach(member => { + if (finder(member)) { + if (value !== null) { + member[property] = value; + } else { + delete member[property]; + } + if (!unset) { + // we shortcut if we don't care about unsetting the others + return false; + } + } else if (unset) { + delete member[property]; + } + return true; + }); + // Session.get gives us a copy, we have to set it back so it sticks + this._refreshMembers(listOfMembers); + }, + + setSelectedMember(memberId) { + return this._setPropertyForMember('selected', true, memberId, true); + }, + + /** + * returns the member with specified id, + * or the selected member if memberId is not specified + */ + getMember(memberId = null) { + const allMembers = this.members(); + let finder = null; + if (memberId) { + finder = user => user.id === memberId; + } else { + finder = user => user.selected; + } + return allMembers.find(finder); + }, + + mapSelectedMember(wekanId) { + return this._setPropertyForMember('wekanId', wekanId, null); + }, + + unmapMember(memberId) { + return this._setPropertyForMember('wekanId', null, memberId); + }, + + onSubmit(evt) { + evt.preventDefault(); + this.parentComponent().nextStep(); + }, + + events() { + return [ + { + submit: this.onSubmit, + 'click .js-select-member'(evt) { + const memberToMap = this.currentData(); + if (memberToMap.wekan) { + // todo xxx ask for confirmation? + this.unmapMember(memberToMap.id); + } else { + this.setSelectedMember(memberToMap.id); + Popup.open('importMapMembersAdd')(evt); + } + }, + }, + ]; + }, +}).register('importMapMembers'); + +BlazeComponent.extendComponent({ + onRendered() { + this.find('.js-map-member input').focus(); + }, + + onSelectUser() { + Popup.getOpenerComponent().mapSelectedMember(this.currentData()._id); + Popup.back(); + }, + + events() { + return [ + { + 'click .js-select-import': this.onSelectUser, + }, + ]; + }, +}).register('importMapMembersAddPopup'); diff --git a/client/components/import/import.styl b/client/components/import/import.styl new file mode 100644 index 0000000..a0de74b --- /dev/null +++ b/client/components/import/import.styl @@ -0,0 +1,49 @@ +@import 'nib' + +.map-members + &:after + content: ""; + flex: auto; + + .mapping-list + display: flex + flex-wrap: wrap + margin: 0 -4px + + .mapping-item + max-width: 300px + min-width: 200px + padding: 6px + margin: 5px + flex:1 + background: white + border-radius: 3px + box-shadow: 0 1px 2px rgba(0,0,0,.15) + + &:hover + background: darken(white, 5%) + + &.filled + background: #E0FFE5 + + &:hover + background: #FFE0E0 + + &.ghost-item + height: 0 + visibility: hidden + border: none + + .profile-source + display: inline-block + width: 80% + + .wekan + display: inline-block + width: 35px + + .member + float: none + +a.show-mapping + text-decoration underline diff --git a/client/components/import/trelloMembersMapper.js b/client/components/import/trelloMembersMapper.js new file mode 100644 index 0000000..b5d59d9 --- /dev/null +++ b/client/components/import/trelloMembersMapper.js @@ -0,0 +1,14 @@ +export function getMembersToMap(data) { + // we will work on the list itself (an ordered array of objects) when a + // mapping is done, we add a 'wekan' field to the object representing the + // imported member + const membersToMap = data.members; + // auto-map based on username + membersToMap.forEach(importedMember => { + const wekanUser = Users.findOne({ username: importedMember.username }); + if (wekanUser) { + importedMember.wekanId = wekanUser._id; + } + }); + return membersToMap; +} diff --git a/client/components/import/wekanMembersMapper.js b/client/components/import/wekanMembersMapper.js new file mode 100644 index 0000000..8db3aac --- /dev/null +++ b/client/components/import/wekanMembersMapper.js @@ -0,0 +1,24 @@ +export function getMembersToMap(data) { + // we will work on the list itself (an ordered array of objects) when a + // mapping is done, we add a 'wekan' field to the object representing the + // imported member + const membersToMap = data.members; + const users = data.users; + // auto-map based on username + membersToMap.forEach(importedMember => { + importedMember.id = importedMember.userId; + delete importedMember.userId; + const user = users.filter(user => { + return user._id === importedMember.id; + })[0]; + if (user.profile && user.profile.fullname) { + importedMember.fullName = user.profile.fullname; + } + importedMember.username = user.username; + const wekanUser = Users.findOne({ username: importedMember.username }); + if (wekanUser) { + importedMember.wekanId = wekanUser._id; + } + }); + return membersToMap; +} diff --git a/client/components/lists/list.jade b/client/components/lists/list.jade new file mode 100644 index 0000000..c02e0dd --- /dev/null +++ b/client/components/lists/list.jade @@ -0,0 +1,8 @@ +template(name='list') + .list.js-list(id="js-list-{{_id}}") + +listHeader + +listBody + +template(name='miniList') + a.mini-list.js-select-list.js-list(id="js-list-{{_id}}") + +listHeader diff --git a/client/components/lists/list.js b/client/components/lists/list.js new file mode 100644 index 0000000..5c31558 --- /dev/null +++ b/client/components/lists/list.js @@ -0,0 +1,201 @@ +import { Cookies } from 'meteor/ostrio:cookies'; +const cookies = new Cookies(); +const { calculateIndex } = Utils; + +BlazeComponent.extendComponent({ + // Proxy + openForm(options) { + this.childComponents('listBody')[0].openForm(options); + }, + + onCreated() { + this.newCardFormIsVisible = new ReactiveVar(true); + }, + + // The jquery UI sortable library is the best solution I've found so far. I + // tried sortable and dragula but they were not powerful enough four our use + // case. I also considered writing/forking a drag-and-drop + sortable library + // but it's probably too much work. + // By calling asking the sortable library to cancel its move on the `stop` + // callback, we basically solve all issues related to reactive updates. A + // comment below provides further details. + onRendered() { + const boardComponent = this.parentComponent().parentComponent(); + + function userIsMember() { + return ( + Meteor.user() && + Meteor.user().isBoardMember() && + !Meteor.user().isCommentOnly() + ); + } + + const itemsSelector = '.js-minicard:not(.placeholder, .js-card-composer)'; + const $cards = this.$('.js-minicards'); + + $cards.sortable({ + connectWith: '.js-minicards:not(.js-list-full)', + tolerance: 'pointer', + appendTo: '.board-canvas', + helper(evt, item) { + const helper = item.clone(); + if (MultiSelection.isActive()) { + const andNOthers = $cards.find('.js-minicard.is-checked').length - 1; + if (andNOthers > 0) { + helper.append( + $( + Blaze.toHTML( + HTML.DIV( + { class: 'and-n-other' }, + TAPi18n.__('and-n-other-card', { count: andNOthers }), + ), + ), + ), + ); + } + } + return helper; + }, + distance: 7, + items: itemsSelector, + placeholder: 'minicard-wrapper placeholder', + start(evt, ui) { + ui.helper.css('z-index', 1000); + ui.placeholder.height(ui.helper.height()); + EscapeActions.executeUpTo('popup-close'); + boardComponent.setIsDragging(true); + }, + stop(evt, ui) { + // To attribute the new index number, we need to get the DOM element + // of the previous and the following card -- if any. + const prevCardDom = ui.item.prev('.js-minicard').get(0); + const nextCardDom = ui.item.next('.js-minicard').get(0); + const nCards = MultiSelection.isActive() ? MultiSelection.count() : 1; + const sortIndex = calculateIndex(prevCardDom, nextCardDom, nCards); + const listId = Blaze.getData(ui.item.parents('.list').get(0))._id; + const currentBoard = Boards.findOne(Session.get('currentBoard')); + const defaultSwimlaneId = currentBoard.getDefaultSwimline()._id; + let targetSwimlaneId = null; + + // only set a new swimelane ID if the swimlanes view is active + if ( + Utils.boardView() === 'board-view-swimlanes' || + currentBoard.isTemplatesBoard() + ) + targetSwimlaneId = Blaze.getData(ui.item.parents('.swimlane').get(0)) + ._id; + + // Normally the jquery-ui sortable library moves the dragged DOM element + // to its new position, which disrupts Blaze reactive updates mechanism + // (especially when we move the last card of a list, or when multiple + // users move some cards at the same time). To prevent these UX glitches + // we ask sortable to gracefully cancel the move, and to put back the + // DOM in its initial state. The card move is then handled reactively by + // Blaze with the below query. + $cards.sortable('cancel'); + + if (MultiSelection.isActive()) { + Cards.find(MultiSelection.getMongoSelector()).forEach((card, i) => { + const newSwimlaneId = targetSwimlaneId + ? targetSwimlaneId + : card.swimlaneId || defaultSwimlaneId; + card.move( + currentBoard._id, + newSwimlaneId, + listId, + sortIndex.base + i * sortIndex.increment, + ); + }); + } else { + const cardDomElement = ui.item.get(0); + const card = Blaze.getData(cardDomElement); + const newSwimlaneId = targetSwimlaneId + ? targetSwimlaneId + : card.swimlaneId || defaultSwimlaneId; + card.move(currentBoard._id, newSwimlaneId, listId, sortIndex.base); + } + boardComponent.setIsDragging(false); + }, + }); + + this.autorun(() => { + let showDesktopDragHandles = false; + currentUser = Meteor.user(); + if (currentUser) { + showDesktopDragHandles = (currentUser.profile || {}) + .showDesktopDragHandles; + } else if (cookies.has('showDesktopDragHandles')) { + showDesktopDragHandles = true; + } else { + showDesktopDragHandles = false; + } + + if (Utils.isMiniScreen() || showDesktopDragHandles) { + $cards.sortable({ + handle: '.handle', + }); + } else if (!Utils.isMiniScreen() && !showDesktopDragHandles) { + $cards.sortable({ + handle: '.minicard', + }); + } + + if ($cards.data('uiSortable') || $cards.data('sortable')) { + $cards.sortable( + 'option', + 'disabled', + // Disable drag-dropping when user is not member + !userIsMember(), + // Not disable drag-dropping while in multi-selection mode + // MultiSelection.isActive() || !userIsMember(), + ); + } + }); + + // We want to re-run this function any time a card is added. + this.autorun(() => { + const currentBoardId = Tracker.nonreactive(() => { + return Session.get('currentBoard'); + }); + Cards.find({ boardId: currentBoardId }).fetch(); + Tracker.afterFlush(() => { + $cards.find(itemsSelector).droppable({ + hoverClass: 'draggable-hover-card', + accept: '.js-member,.js-label', + drop(event, ui) { + const cardId = Blaze.getData(this)._id; + const card = Cards.findOne(cardId); + + if (ui.draggable.hasClass('js-member')) { + const memberId = Blaze.getData(ui.draggable.get(0)).userId; + card.assignMember(memberId); + } else { + const labelId = Blaze.getData(ui.draggable.get(0))._id; + card.addLabel(labelId); + } + }, + }); + }); + }); + }, +}).register('list'); + +Template.list.helpers({ + showDesktopDragHandles() { + currentUser = Meteor.user(); + if (currentUser) { + return (currentUser.profile || {}).showDesktopDragHandles; + } else if (cookies.has('showDesktopDragHandles')) { + return true; + } else { + return false; + } + }, +}); + +Template.miniList.events({ + 'click .js-select-list'() { + const listId = this._id; + Session.set('currentList', listId); + }, +}); diff --git a/client/components/lists/list.styl b/client/components/lists/list.styl new file mode 100644 index 0000000..584c128 --- /dev/null +++ b/client/components/lists/list.styl @@ -0,0 +1,331 @@ +@import 'nib' + +.list + box-sizing: border-box + display: flex + flex-direction: column + flex: 0 0 270px + position: relative + // Even if this background color is the same as the body we can't leave it + // transparent, because that won't work during a list drag. + background: darken(white, 13%) + border-left: 1px solid darken(white, 20%) + padding: 0 + float: left + + &:first-child + margin-left: 5px + border-left: none + + .card-details + & + border-left: none + + &.ui-sortable-helper + box-shadow: -2px 2px 8px rgba(0, 0, 0, .3), + 0 0 1px rgba(0, 0, 0, .5) + transform: rotate(4deg) + cursor: grabbing + + .list-header.ui-sortable-handle + cursor: grabbing + + &.placeholder + background-color: rgba(0, 0, 0, .2) + border-color: transparent + box-shadow: none + height: 100px + + &.list-composer, & .list-composer + .open-list-composer + color: #8c8c8c + + .list-name-input + background: white + margin: -3px 0 8px + +.list-header-add + flex: 0 0 auto + padding: 20px 12px 4px + position: relative + min-height: 20px + +.list-header + flex: 0 0 auto + padding: 20px 12px 4px + position: relative + min-height: 20px + background-color: #e4e4e4; + border-bottom: 6px solid #e4e4e4; + + &.list-header-card-count + min-height: 35px + height: auto + + &.ui-sortable-handle + cursor: grab + + .list-header-left-icon + display: none + + .list-header-name + display: inline + font-size: 16px + line-height: 17px + margin: 0 + font-weight: bold + min-height: 9px + min-width: 30px + overflow: hidden + text-overflow: ellipsis + word-wrap: break-word + + + .list-header-watch-icon + padding-left: 10px + color: #a6a6a6 + + .list-header-menu + position: absolute + padding: 27px 19px + margin-top: 1px + top: -7px + right: 3px + + .list-header-plus-icon + color: #a6a6a6 + margin-right: 15px + + .highlight + color: #ce1414 + + .cardCount + color: #8c8c8c + font-size: 0.8em + +.list-header .list-header-plus-icon, .js-open-list-menu, .list-header-menu a + color #4d4d4d + padding-left 4px + +.list-body + flex: 1 1 auto + flex-direction: column + display: flex + overflow-y: auto + padding: 5px 11px + + .minicards + flex-grow: 1 + flex-shrink: 0 + + form + margin-bottom: 9px + + .open-minicard-composer + border-radius: 2px + color: #8c8c8c + display: block + padding: 7px 10px + position: relative + text-decoration: none + animation: fadeIn 0.3s + + i.fa + margin-right: 7px + + &:hover + background: #fafafa + color: #222 + box-shadow: 0 1px 2px rgba(0,0,0,.2) + +#js-wip-limit-edit + padding-top: 2% + + p + margin-bottom: 0 + + input + display: inline-block + + .wip-limit-value + width: 20% + margin-right: 5% + + .wip-limit-error + display: none + + .soft-wip-limit + margin-right: 8px + + div + float: left + +@media screen and (max-width: 800px) + .list-header-menu + position: absolute + padding: 27px 19px + margin-top: 1px + top: -7px + margin-right: 7px + right: -3px + + .list-header + .list-header-name + margin-left: 1.4rem + + .mini-list + flex: 0 0 60px + height: auto + width: 100% + border-left: 0px + border-bottom: 1px solid darken(white, 20%) + + .list + display: block + width: 100% + border-left: 0px + &:first-child + margin-left: 0px + + &.ui-sortable-helper + flex: 0 0 60px + height: 60px + width: 100% + border-left: 0px + border-bottom: 1px solid darken(white, 20%) + + .list-header.ui-sortable-handle + cursor: grabbing + + &.placeholder + flex: 0 0 60px + height: 60px + width: 100% + border-left: 0px + border-bottom: 1px solid darken(white, 20%) + + .list-body + padding: 15px 19px; + + .list-header + padding: 0 12px 0px + border-bottom: 0px solid #e4e4e4 + height: 60px + margin-top: 10px + display: flex + align-items: center + .list-header-left-icon + display: inline + padding: 7px + padding-right: 27px + margin-top: 1px + top: -@padding + left: -@padding + + .list-header-menu-icon + position: absolute + padding: 7px + top: 50% + transform: translateY(-50%) + right: 47px + font-size: 20px + + .list-header-handle + position: absolute + padding: 7px + top: 50% + transform: translateY(-50%) + right: 10px + font-size: 24px + +.link-board-wrapper + display: flex + align-items: baseline + + .js-link-board + margin-left: 15px + +.search-card-results + max-height: 250px + overflow: hidden + +.sk-spinner-list + margin-top: unset !important + +list-header-color(background, color...) + border-bottom: 6px solid background + +.list-header-white + list-header-color(#ffffff, #4d4d4d) //Black text for better visibility + border: 1px solid #eee + +.list-header-green + list-header-color(#3cb500, #ffffff) //White text for better visibility + +.list-header-yellow + list-header-color(#fad900, #4d4d4d) //Black text for better visibility + +.list-header-orange + list-header-color(#ff9f19, #4d4d4d) //Black text for better visibility + +.list-header-red + list-header-color(#eb4646, #ffffff) //White text for better visibility + +.list-header-purple + list-header-color(#a632db, #ffffff) //White text for better visibility + +.list-header-blue + list-header-color(#0079bf, #ffffff) //White text for better visibility + +.list-header-pink + list-header-color(#ff78cb, #4d4d4d) //Black text for better visibility + +.list-header-sky + list-header-color(#00c2e0, #ffffff) //White text for better visibility + +.list-header-black + list-header-color(#4d4d4d, #ffffff) //White text for better visibility + +.list-header-lime + list-header-color(#51e898, #4d4d4d) //Black text for better visibility + +.list-header-silver + list-header-color(unset, #4d4d4d) //Black text for better visibility + +.list-header-peachpuff + list-header-color(#ffdab9, #4d4d4d) //Black text for better visibility + +.list-header-crimson + list-header-color(#dc143c, #ffffff) //White text for better visibility + +.list-header-plum + list-header-color(#dda0dd, #4d4d4d) //Black text for better visibility + +.list-header-darkgreen + list-header-color(#006400, #ffffff) //White text for better visibility + +.list-header-slateblue + list-header-color(#6a5acd, #ffffff) //White text for better visibility + +.list-header-magenta + list-header-color(#ff00ff, #ffffff) //White text for better visibility + +.list-header-gold + list-header-color(#ffd700, #4d4d4d) //Black text for better visibility + +.list-header-navy + list-header-color(#000080, #ffffff) //White text for better visibility + +.list-header-gray + list-header-color(#808080, #ffffff) //White text for better visibility + +.list-header-saddlebrown + list-header-color(#8b4513, #ffffff) //White text for better visibility + +.list-header-paleturquoise + list-header-color(#afeeee, #4d4d4d) //Black text for better visibility + +.list-header-mistyrose + list-header-color(#ffe4e1, #4d4d4d) //Black text for better visibility + +.list-header-indigo + list-header-color(#4b0082, #ffffff) //White text for better visibility diff --git a/client/components/lists/listBody.jade b/client/components/lists/listBody.jade new file mode 100644 index 0000000..94b558e --- /dev/null +++ b/client/components/lists/listBody.jade @@ -0,0 +1,130 @@ +template(name="listBody") + .list-body + .minicards.clearfix.js-minicards(class="{{#if reachedWipLimit}}js-list-full{{/if}}") + if cards.count + +inlinedForm(autoclose=false position="top") + +addCardForm(listId=_id position="top") + each (cardsWithLimit (idOrNull ../../_id)) + a.minicard-wrapper.js-minicard(href=absoluteUrl + class="{{#if cardIsSelected}}is-selected{{/if}}" + class="{{#if MultiSelection.isSelected _id}}is-checked{{/if}}") + if MultiSelection.isActive + .materialCheckBox.multi-selection-checkbox.js-toggle-multi-selection( + class="{{#if MultiSelection.isSelected _id}}is-checked{{/if}}") + +minicard(this) + if (showSpinner (idOrNull ../../_id)) + +spinnerList + + if canSeeAddCard + +inlinedForm(autoclose=false position="bottom") + +addCardForm(listId=_id position="bottom") + else + a.open-minicard-composer.js-card-composer.js-open-inlined-form + i.fa.fa-plus + | {{_ 'add-card'}} + +template(name="spinnerList") + .sk-spinner.sk-spinner-wave.sk-spinner-list( + class=currentBoard.colorClass + id="showMoreResults") + .sk-rect1 + .sk-rect2 + .sk-rect3 + .sk-rect4 + .sk-rect5 + +template(name="addCardForm") + .minicard.minicard-composer.js-composer + if getLabels + .minicard-labels + each getLabels + .minicard-label(class="card-label-{{color}}" title="{{name}}") + textarea.minicard-composer-textarea.js-card-title(autofocus dir="auto") + if members.get + .minicard-members.js-minicard-composer-members + each members.get + +userAvatar(userId=this) + + .add-controls.clearfix + button.primary.confirm(type="submit") {{_ 'add'}} + unless currentBoard.isTemplatesBoard + unless currentBoard.isTemplateBoard + span.quiet + | {{_ 'or'}} + a.js-link {{_ 'link'}} + span.quiet + |   + | / + a.js-search {{_ 'search'}} + span.quiet + |   + | / + a.js-card-template {{_ 'template'}} + +template(name="autocompleteLabelLine") + .minicard-label(class="card-label-{{colorName}}" title=labelName) + span(class="{{#if hasNoName}}quiet{{/if}}")= labelName + +template(name="linkCardPopup") + label {{_ 'boards'}}: + .link-board-wrapper + select.js-select-boards + option(value="") + each boards + option(value="{{_id}}") {{title}} + input.primary.confirm.js-link-board(type="button" value="{{_ 'link'}}") + + label {{_ 'swimlanes'}}: + select.js-select-swimlanes + each swimlanes + option(value="{{_id}}") {{title}} + + label {{_ 'lists'}}: + select.js-select-lists + each lists + option(value="{{_id}}") {{title}} + + label {{_ 'cards'}}: + select.js-select-cards + each cards + option(value="{{getId}}") {{getTitle}} + + .edit-controls.clearfix + input.primary.confirm.js-done(type="button" value="{{_ 'link'}}") + +template(name="searchElementPopup") + form + label + | {{_ 'title'}} + input.js-element-title(type="text" placeholder="{{_ 'title'}}" autofocus required dir="auto") + unless isTemplateSearch + label {{_ 'boards'}}: + .link-board-wrapper + select.js-select-boards + option(value="") + each boards + option(value="{{_id}}") {{title}} + form.js-search-term-form + input(type="text" name="searchTerm" placeholder="{{_ 'search-example'}}" autofocus dir="auto") + .list-body.search-card-results + .minicards.clearfix.js-minicards + if isBoardTemplateSearch + each results + a.minicard-wrapper.js-minicard + +miniboard(this) + if isListTemplateSearch + each results + a.minicard-wrapper.js-minicard + +minilist(this) + if isSwimlaneTemplateSearch + each results + a.minicard-wrapper.js-minicard + +miniswimlane(this) + if isCardTemplateSearch + each results + a.minicard-wrapper.js-minicard + +minicard(this) + unless isTemplateSearch + each results + a.minicard-wrapper.js-minicard + +minicard(this) diff --git a/client/components/lists/listBody.js b/client/components/lists/listBody.js new file mode 100644 index 0000000..c08f826 --- /dev/null +++ b/client/components/lists/listBody.js @@ -0,0 +1,778 @@ +const subManager = new SubsManager(); +const InfiniteScrollIter = 10; + +BlazeComponent.extendComponent({ + onCreated() { + // for infinite scrolling + this.cardlimit = new ReactiveVar(InfiniteScrollIter); + }, + + mixins() { + return []; + }, + + openForm(options) { + options = options || {}; + options.position = options.position || 'top'; + + const forms = this.childComponents('inlinedForm'); + let form = forms.find(component => { + return component.data().position === options.position; + }); + if (!form && forms.length > 0) { + form = forms[0]; + } + form.open(); + }, + + addCard(evt) { + evt.preventDefault(); + const firstCardDom = this.find('.js-minicard:first'); + const lastCardDom = this.find('.js-minicard:last'); + const textarea = $(evt.currentTarget).find('textarea'); + const position = this.currentData().position; + const title = textarea.val().trim(); + + const formComponent = this.childComponents('addCardForm')[0]; + let sortIndex; + if (position === 'top') { + sortIndex = Utils.calculateIndex(null, firstCardDom).base; + } else if (position === 'bottom') { + sortIndex = Utils.calculateIndex(lastCardDom, null).base; + } + + const members = formComponent.members.get(); + const labelIds = formComponent.labels.get(); + const customFields = formComponent.customFields.get(); + + const board = this.data().board(); + let linkedId = ''; + let swimlaneId = ''; + let cardType = 'cardType-card'; + if (title) { + if (board.isTemplatesBoard()) { + swimlaneId = this.parentComponent() + .parentComponent() + .data()._id; // Always swimlanes view + const swimlane = Swimlanes.findOne(swimlaneId); + // If this is the card templates swimlane, insert a card template + if (swimlane.isCardTemplatesSwimlane()) cardType = 'template-card'; + // If this is the board templates swimlane, insert a board template and a linked card + else if (swimlane.isBoardTemplatesSwimlane()) { + linkedId = Boards.insert({ + title, + permission: 'private', + type: 'template-board', + }); + Swimlanes.insert({ + title: TAPi18n.__('default'), + boardId: linkedId, + }); + cardType = 'cardType-linkedBoard'; + } + } else if (Utils.boardView() === 'board-view-swimlanes') + swimlaneId = this.parentComponent() + .parentComponent() + .data()._id; + else if ( + Utils.boardView() === 'board-view-lists' || + Utils.boardView() === 'board-view-cal' || + !Utils.boardView() + ) + swimlaneId = board.getDefaultSwimline()._id; + + const _id = Cards.insert({ + title, + members, + labelIds, + customFields, + listId: this.data()._id, + boardId: board._id, + sort: sortIndex, + swimlaneId, + type: cardType, + linkedId, + }); + + // if the displayed card count is less than the total cards in the list, + // we need to increment the displayed card count to prevent the spinner + // to appear + const cardCount = this.data() + .cards(this.idOrNull(swimlaneId)) + .count(); + if (this.cardlimit.get() < cardCount) { + this.cardlimit.set(this.cardlimit.get() + InfiniteScrollIter); + } + + // In case the filter is active we need to add the newly inserted card in + // the list of exceptions -- cards that are not filtered. Otherwise the + // card will disappear instantly. + // See https://github.com/wekan/wekan/issues/80 + Filter.addException(_id); + + // We keep the form opened, empty it, and scroll to it. + textarea.val('').focus(); + autosize.update(textarea); + if (position === 'bottom') { + this.scrollToBottom(); + } + + formComponent.reset(); + } + }, + + scrollToBottom() { + const container = this.firstNode(); + $(container).animate({ + scrollTop: container.scrollHeight, + }); + }, + + clickOnMiniCard(evt) { + if (MultiSelection.isActive() || evt.shiftKey) { + evt.stopImmediatePropagation(); + evt.preventDefault(); + const methodName = evt.shiftKey ? 'toggleRange' : 'toggle'; + MultiSelection[methodName](this.currentData()._id); + + // If the card is already selected, we want to de-select it. + // XXX We should probably modify the minicard href attribute instead of + // overwriting the event in case the card is already selected. + } else if (Session.equals('currentCard', this.currentData()._id)) { + evt.stopImmediatePropagation(); + evt.preventDefault(); + Utils.goBoardId(Session.get('currentBoard')); + } + }, + + cardIsSelected() { + return Session.equals('currentCard', this.currentData()._id); + }, + + toggleMultiSelection(evt) { + evt.stopPropagation(); + evt.preventDefault(); + MultiSelection.toggle(this.currentData()._id); + }, + + idOrNull(swimlaneId) { + if ( + Utils.boardView() === 'board-view-swimlanes' || + this.data() + .board() + .isTemplatesBoard() + ) + return swimlaneId; + return undefined; + }, + + cardsWithLimit(swimlaneId) { + const limit = this.cardlimit.get(); + const selector = { + listId: this.currentData()._id, + archived: false, + }; + if (swimlaneId) selector.swimlaneId = swimlaneId; + return Cards.find(Filter.mongoSelector(selector), { + sort: ['sort'], + limit, + }); + }, + + showSpinner(swimlaneId) { + const list = Template.currentData(); + return list.cards(swimlaneId).count() > this.cardlimit.get(); + }, + + canSeeAddCard() { + return ( + !this.reachedWipLimit() && + Meteor.user() && + Meteor.user().isBoardMember() && + !Meteor.user().isCommentOnly() && + !Meteor.user().isWorker() + ); + }, + + reachedWipLimit() { + const list = Template.currentData(); + return ( + !list.getWipLimit('soft') && + list.getWipLimit('enabled') && + list.getWipLimit('value') <= list.cards().count() + ); + }, + + events() { + return [ + { + 'click .js-minicard': this.clickOnMiniCard, + 'click .js-toggle-multi-selection': this.toggleMultiSelection, + 'click .open-minicard-composer': this.scrollToBottom, + submit: this.addCard, + }, + ]; + }, +}).register('listBody'); + +function toggleValueInReactiveArray(reactiveValue, value) { + const array = reactiveValue.get(); + const valueIndex = array.indexOf(value); + if (valueIndex === -1) { + array.push(value); + } else { + array.splice(valueIndex, 1); + } + reactiveValue.set(array); +} + +BlazeComponent.extendComponent({ + onCreated() { + this.labels = new ReactiveVar([]); + this.members = new ReactiveVar([]); + this.customFields = new ReactiveVar([]); + + const currentBoardId = Session.get('currentBoard'); + arr = []; + _.forEach( + Boards.findOne(currentBoardId) + .customFields() + .fetch(), + function(field) { + if (field.automaticallyOnCard) + arr.push({ _id: field._id, value: null }); + }, + ); + this.customFields.set(arr); + }, + + reset() { + this.labels.set([]); + this.members.set([]); + this.customFields.set([]); + }, + + getLabels() { + const currentBoardId = Session.get('currentBoard'); + return Boards.findOne(currentBoardId).labels.filter(label => { + return this.labels.get().indexOf(label._id) > -1; + }); + }, + + pressKey(evt) { + // Pressing Enter should submit the card + if (evt.keyCode === 13 && !evt.shiftKey) { + evt.preventDefault(); + const $form = $(evt.currentTarget).closest('form'); + // XXX For some reason $form.submit() does not work (it's probably a bug + // of blaze-component related to the fact that the submit event is non- + // bubbling). This is why we click on the submit button instead -- which + // work. + $form.find('button[type=submit]').click(); + + // Pressing Tab should open the form of the next column, and Maj+Tab go + // in the reverse order + } else if (evt.keyCode === 9) { + evt.preventDefault(); + const isReverse = evt.shiftKey; + const list = $(`#js-list-${this.data().listId}`); + const listSelector = '.js-list:not(.js-list-composer)'; + let nextList = list[isReverse ? 'prev' : 'next'](listSelector).get(0); + // If there is no next list, loop back to the beginning. + if (!nextList) { + nextList = $(listSelector + (isReverse ? ':last' : ':first')).get(0); + } + + BlazeComponent.getComponentForElement(nextList).openForm({ + position: this.data().position, + }); + } + }, + + events() { + return [ + { + keydown: this.pressKey, + 'click .js-link': Popup.open('linkCard'), + 'click .js-search': Popup.open('searchElement'), + 'click .js-card-template': Popup.open('searchElement'), + }, + ]; + }, + + onRendered() { + const editor = this; + const $textarea = this.$('textarea'); + + autosize($textarea); + + $textarea.escapeableTextComplete( + [ + // User mentions + { + match: /\B@([\w.]*)$/, + search(term, callback) { + const currentBoard = Boards.findOne(Session.get('currentBoard')); + callback( + $.map(currentBoard.activeMembers(), member => { + const user = Users.findOne(member.userId); + return user.username.indexOf(term) === 0 ? user : null; + }), + ); + }, + template(user) { + return user.username; + }, + replace(user) { + toggleValueInReactiveArray(editor.members, user._id); + return ''; + }, + index: 1, + }, + + // Labels + { + match: /\B#(\w*)$/, + search(term, callback) { + const currentBoard = Boards.findOne(Session.get('currentBoard')); + callback( + $.map(currentBoard.labels, label => { + if ( + label.name.indexOf(term) > -1 || + label.color.indexOf(term) > -1 + ) { + return label; + } + return null; + }), + ); + }, + template(label) { + return Blaze.toHTMLWithData(Template.autocompleteLabelLine, { + hasNoName: !label.name, + colorName: label.color, + labelName: label.name || label.color, + }); + }, + replace(label) { + toggleValueInReactiveArray(editor.labels, label._id); + return ''; + }, + index: 1, + }, + ], + { + // When the autocomplete menu is shown we want both a press of both `Tab` + // or `Enter` to validation the auto-completion. We also need to stop the + // event propagation to prevent the card from submitting (on `Enter`) or + // going on the next column (on `Tab`). + onKeydown(evt, commands) { + if (evt.keyCode === 9 || evt.keyCode === 13) { + evt.stopPropagation(); + return commands.KEY_ENTER; + } + return null; + }, + }, + ); + }, +}).register('addCardForm'); + +BlazeComponent.extendComponent({ + onCreated() { + this.selectedBoardId = new ReactiveVar(''); + this.selectedSwimlaneId = new ReactiveVar(''); + this.selectedListId = new ReactiveVar(''); + + this.boardId = Session.get('currentBoard'); + // In order to get current board info + subManager.subscribe('board', this.boardId, false); + this.board = Boards.findOne(this.boardId); + // List where to insert card + const list = $(Popup._getTopStack().openerElement).closest('.js-list'); + this.listId = Blaze.getData(list[0])._id; + // Swimlane where to insert card + const swimlane = $(Popup._getTopStack().openerElement).closest( + '.js-swimlane', + ); + this.swimlaneId = ''; + if (Utils.boardView() === 'board-view-swimlanes') + this.swimlaneId = Blaze.getData(swimlane[0])._id; + else if (Utils.boardView() === 'board-view-lists' || !Utils.boardView) + this.swimlaneId = Swimlanes.findOne({ boardId: this.boardId })._id; + }, + + boards() { + const boards = Boards.find( + { + archived: false, + 'members.userId': Meteor.userId(), + _id: { $ne: Session.get('currentBoard') }, + type: 'board', + }, + { + sort: { sort: 1 /* boards default sorting */ }, + }, + ); + return boards; + }, + + swimlanes() { + if (!this.selectedBoardId.get()) { + return []; + } + const swimlanes = Swimlanes.find({ boardId: this.selectedBoardId.get() }); + if (swimlanes.count()) + this.selectedSwimlaneId.set(swimlanes.fetch()[0]._id); + return swimlanes; + }, + + lists() { + if (!this.selectedBoardId.get()) { + return []; + } + const lists = Lists.find({ boardId: this.selectedBoardId.get() }); + if (lists.count()) this.selectedListId.set(lists.fetch()[0]._id); + return lists; + }, + + cards() { + if (!this.board) { + return []; + } + const ownCardsIds = this.board.cards().map(card => { + return card.linkedId || card._id; + }); + return Cards.find({ + boardId: this.selectedBoardId.get(), + swimlaneId: this.selectedSwimlaneId.get(), + listId: this.selectedListId.get(), + archived: false, + linkedId: { $nin: ownCardsIds }, + _id: { $nin: ownCardsIds }, + type: { $nin: ['template-card'] }, + }); + }, + + events() { + return [ + { + 'change .js-select-boards'(evt) { + subManager.subscribe('board', $(evt.currentTarget).val(), false); + this.selectedBoardId.set($(evt.currentTarget).val()); + }, + 'change .js-select-swimlanes'(evt) { + this.selectedSwimlaneId.set($(evt.currentTarget).val()); + }, + 'change .js-select-lists'(evt) { + this.selectedListId.set($(evt.currentTarget).val()); + }, + 'click .js-done'(evt) { + // LINK CARD + evt.stopPropagation(); + evt.preventDefault(); + const linkedId = $('.js-select-cards option:selected').val(); + if (!linkedId) { + Popup.close(); + return; + } + const _id = Cards.insert({ + title: $('.js-select-cards option:selected').text(), //dummy + listId: this.listId, + swimlaneId: this.swimlaneId, + boardId: this.boardId, + sort: Lists.findOne(this.listId) + .cards() + .count(), + type: 'cardType-linkedCard', + linkedId, + }); + Filter.addException(_id); + Popup.close(); + }, + 'click .js-link-board'(evt) { + //LINK BOARD + evt.stopPropagation(); + evt.preventDefault(); + const impBoardId = $('.js-select-boards option:selected').val(); + if ( + !impBoardId || + Cards.findOne({ linkedId: impBoardId, archived: false }) + ) { + Popup.close(); + return; + } + const _id = Cards.insert({ + title: $('.js-select-boards option:selected').text(), //dummy + listId: this.listId, + swimlaneId: this.swimlaneId, + boardId: this.boardId, + sort: Lists.findOne(this.listId) + .cards() + .count(), + type: 'cardType-linkedBoard', + linkedId: impBoardId, + }); + Filter.addException(_id); + Popup.close(); + }, + }, + ]; + }, +}).register('linkCardPopup'); + +BlazeComponent.extendComponent({ + mixins() { + return []; + }, + + onCreated() { + this.isCardTemplateSearch = $(Popup._getTopStack().openerElement).hasClass( + 'js-card-template', + ); + this.isListTemplateSearch = $(Popup._getTopStack().openerElement).hasClass( + 'js-list-template', + ); + this.isSwimlaneTemplateSearch = $( + Popup._getTopStack().openerElement, + ).hasClass('js-open-add-swimlane-menu'); + this.isBoardTemplateSearch = $(Popup._getTopStack().openerElement).hasClass( + 'js-add-board', + ); + this.isTemplateSearch = + this.isCardTemplateSearch || + this.isListTemplateSearch || + this.isSwimlaneTemplateSearch || + this.isBoardTemplateSearch; + let board = {}; + if (this.isTemplateSearch) { + board = Boards.findOne((Meteor.user().profile || {}).templatesBoardId); + } else { + // Prefetch first non-current board id + board = Boards.findOne({ + archived: false, + 'members.userId': Meteor.userId(), + _id: { + $nin: [ + Session.get('currentBoard'), + (Meteor.user().profile || {}).templatesBoardId, + ], + }, + }); + } + if (!board) { + Popup.close(); + return; + } + const boardId = board._id; + // Subscribe to this board + subManager.subscribe('board', boardId, false); + this.selectedBoardId = new ReactiveVar(boardId); + + if (!this.isBoardTemplateSearch) { + this.boardId = Session.get('currentBoard'); + // In order to get current board info + subManager.subscribe('board', this.boardId, false); + this.swimlaneId = ''; + // Swimlane where to insert card + const swimlane = $(Popup._getTopStack().openerElement).parents( + '.js-swimlane', + ); + if (Utils.boardView() === 'board-view-swimlanes') + this.swimlaneId = Blaze.getData(swimlane[0])._id; + else this.swimlaneId = Swimlanes.findOne({ boardId: this.boardId })._id; + // List where to insert card + const list = $(Popup._getTopStack().openerElement).closest('.js-list'); + this.listId = Blaze.getData(list[0])._id; + } + this.term = new ReactiveVar(''); + }, + + boards() { + const boards = Boards.find( + { + archived: false, + 'members.userId': Meteor.userId(), + _id: { $ne: Session.get('currentBoard') }, + type: 'board', + }, + { + sort: { sort: 1 /* boards default sorting */ }, + }, + ); + return boards; + }, + + results() { + if (!this.selectedBoardId) { + return []; + } + const board = Boards.findOne(this.selectedBoardId.get()); + if (!this.isTemplateSearch || this.isCardTemplateSearch) { + return board.searchCards(this.term.get(), false); + } else if (this.isListTemplateSearch) { + return board.searchLists(this.term.get()); + } else if (this.isSwimlaneTemplateSearch) { + return board.searchSwimlanes(this.term.get()); + } else if (this.isBoardTemplateSearch) { + const boards = board.searchBoards(this.term.get()); + boards.forEach(board => { + subManager.subscribe('board', board.linkedId, false); + }); + return boards; + } else { + return []; + } + }, + + events() { + return [ + { + 'change .js-select-boards'(evt) { + subManager.subscribe('board', $(evt.currentTarget).val(), false); + this.selectedBoardId.set($(evt.currentTarget).val()); + }, + 'submit .js-search-term-form'(evt) { + evt.preventDefault(); + this.term.set(evt.target.searchTerm.value); + }, + 'click .js-minicard'(evt) { + // 0. Common + const title = $('.js-element-title') + .val() + .trim(); + if (!title) return; + const element = Blaze.getData(evt.currentTarget); + element.title = title; + let _id = ''; + if (!this.isTemplateSearch || this.isCardTemplateSearch) { + // Card insertion + // 1. Common + element.sort = Lists.findOne(this.listId) + .cards() + .count(); + // 1.A From template + if (this.isTemplateSearch) { + element.type = 'cardType-card'; + element.linkedId = ''; + _id = element.copy(this.boardId, this.swimlaneId, this.listId); + // 1.B Linked card + } else { + _id = element.link(this.boardId, this.swimlaneId, this.listId); + } + Filter.addException(_id); + // List insertion + } else if (this.isListTemplateSearch) { + element.sort = Swimlanes.findOne(this.swimlaneId) + .lists() + .count(); + element.type = 'list'; + _id = element.copy(this.boardId, this.swimlaneId); + } else if (this.isSwimlaneTemplateSearch) { + element.sort = Boards.findOne(this.boardId) + .swimlanes() + .count(); + element.type = 'swimlane'; + _id = element.copy(this.boardId); + } else if (this.isBoardTemplateSearch) { + board = Boards.findOne(element.linkedId); + board.sort = Boards.find({ archived: false }).count(); + board.type = 'board'; + board.title = element.title; + delete board.slug; + _id = board.copy(); + } + Popup.close(); + }, + }, + ]; + }, +}).register('searchElementPopup'); + +BlazeComponent.extendComponent({ + onCreated() { + this.cardlimit = this.parentComponent().cardlimit; + + this.listId = this.parentComponent().data()._id; + this.swimlaneId = ''; + + const isSandstorm = + Meteor.settings && + Meteor.settings.public && + Meteor.settings.public.sandstorm; + + if (isSandstorm) { + const user = Meteor.user(); + if (user) { + if (Utils.boardView() === 'board-view-swimlanes') { + this.swimlaneId = this.parentComponent() + .parentComponent() + .parentComponent() + .data()._id; + } + } + } else if (Utils.boardView() === 'board-view-swimlanes') { + this.swimlaneId = this.parentComponent() + .parentComponent() + .parentComponent() + .data()._id; + } + }, + + onRendered() { + this.spinner = this.find('.sk-spinner-list'); + this.container = this.$(this.spinner).parents('.list-body')[0]; + + $(this.container).on( + `scroll.spinner_${this.swimlaneId}_${this.listId}`, + () => this.updateList(), + ); + $(window).on(`resize.spinner_${this.swimlaneId}_${this.listId}`, () => + this.updateList(), + ); + + this.updateList(); + }, + + onDestroyed() { + $(this.container).off(`scroll.spinner_${this.swimlaneId}_${this.listId}`); + $(window).off(`resize.spinner_${this.swimlaneId}_${this.listId}`); + }, + + updateList() { + // Use fallback when requestIdleCallback is not available on iOS and Safari + // https://www.afasterweb.com/2017/11/20/utilizing-idle-moments/ + checkIdleTime = + window.requestIdleCallback || + function(handler) { + const startTime = Date.now(); + return setTimeout(function() { + handler({ + didTimeout: false, + timeRemaining() { + return Math.max(0, 50.0 - (Date.now() - startTime)); + }, + }); + }, 1); + }; + + if (this.spinnerInView()) { + this.cardlimit.set(this.cardlimit.get() + InfiniteScrollIter); + checkIdleTime(() => this.updateList()); + } + }, + + spinnerInView() { + const parentViewHeight = this.container.clientHeight; + const bottomViewPosition = this.container.scrollTop + parentViewHeight; + + const threshold = this.spinner.offsetTop; + + // spinner deleted + if (!this.spinner.offsetTop) { + return false; + } + + return bottomViewPosition > threshold; + }, +}).register('spinnerList'); diff --git a/client/components/lists/listHeader.jade b/client/components/lists/listHeader.jade new file mode 100644 index 0000000..fa1faf3 --- /dev/null +++ b/client/components/lists/listHeader.jade @@ -0,0 +1,158 @@ +template(name="listHeader") + .list-header.js-list-header( + class="{{#if limitToShowCardsCount}}list-header-card-count{{/if}}" + class="{{#if colorClass}}list-header-{{colorClass}}{{/if}}") + +inlinedForm + +editListTitleForm + else + if isMiniScreen + if currentList + a.list-header-left-icon.fa.fa-angle-left.js-unselect-list + h2.list-header-name( + title="{{ moment modifiedAt 'LLL' }}" + class="{{#if currentUser.isBoardMember}}{{#unless currentUser.isCommentOnly}}{{#unless currentUser.isWorker}}js-open-inlined-form is-editable{{/unless}}{{/unless}}{{/if}}") + +viewer + = title + if wipLimit.enabled + | ( + span(class="{{#if reachedWipLimit}}highlight{{/if}}") {{cards.count}} + |/#{wipLimit.value}) + + if showCardsCountForList cards.count + |  + span(class="cardCount") {{cardsCount}} {{_ 'cards-count'}} + if isMiniScreen + if currentList + if isWatching + i.list-header-watch-icon.fa.fa-eye + div.list-header-menu + unless currentUser.isCommentOnly + if canSeeAddCard + a.js-add-card.fa.fa-plus.list-header-plus-icon + a.fa.fa-navicon.js-open-list-menu + else + a.list-header-menu-icon.fa.fa-angle-right.js-select-list + a.list-header-handle.handle.fa.fa-arrows.js-list-handle + else if currentUser.isBoardMember + if isWatching + i.list-header-watch-icon.fa.fa-eye + div.list-header-menu + unless currentUser.isCommentOnly + //if isBoardAdmin + // a.fa.js-list-star.list-header-plus-icon(class="fa-star{{#unless starred}}-o{{/unless}}") + if canSeeAddCard + a.js-add-card.fa.fa-plus.list-header-plus-icon + a.fa.fa-navicon.js-open-list-menu + if showDesktopDragHandles + a.list-header-handle.handle.fa.fa-arrows.js-list-handle + +template(name="editListTitleForm") + .list-composer + input.list-name-input.full-line(type="text" value=title autofocus) + .edit-controls.clearfix + button.primary.confirm(type="submit") {{_ 'save'}} + a.fa.fa-times-thin.js-close-inlined-form + +template(name="listActionPopup") + ul.pop-over-list + li + a.js-toggle-watch-list + if isWatching + i.fa.fa-eye + | {{_ 'unwatch'}} + else + i.fa.fa-eye-slash + | {{_ 'watch'}} + unless currentUser.isCommentOnly + unless currentUser.isWorker + ul.pop-over-list + li + a.js-set-color-list + i.fa.fa-paint-brush + | {{_ 'set-color-list'}} + ul.pop-over-list + if cards.count + li + a.js-select-cards + i.fa.fa-check-square + | {{_ 'list-select-cards'}} + if currentUser.isBoardAdmin + ul.pop-over-list + li + a.js-set-wip-limit + i.fa.fa-ban + | {{#if isWipLimitEnabled }}{{_ 'edit-wip-limit'}}{{else}}{{_ 'setWipLimitPopup-title'}}{{/if}} + unless currentUser.isWorker + hr + ul.pop-over-list + li + a.js-close-list + i.fa.fa-arrow-right + i.fa.fa-archive + | {{_ 'archive-list'}} + hr + ul.pop-over-list + li + a.js-more + i.fa.fa-link + | {{_ 'listMorePopup-title'}} + +template(name="boardLists") + ul.pop-over-list + each currentBoard.lists + li + if($eq ../_id _id) + a.disabled {{title}} ({{_ 'current'}}) + else + a.js-select-list= title + +template(name="listMorePopup") + p.quiet + span.clearfix + span {{_ 'link-list'}} + = ' ' + i.fa.colorful(class="{{#if board.isPublic}}fa-globe{{else}}fa-lock{{/if}}") + input.inline-input(type="text" readonly value="{{ rootUrl }}") + | {{_ 'added'}} + span.date(title=list.createdAt) {{ moment createdAt 'LLL' }} + unless currentUser.isWorker + a.js-delete {{_ 'delete'}} + +template(name="listDeletePopup") + p {{_ "list-delete-pop"}} + unless archived + p {{_ "list-delete-suggest-archive"}} + button.js-confirm.negate.full(type="submit") {{_ 'delete'}} + +template(name="setWipLimitPopup") + #js-wip-limit-edit + label {{_ 'set-wip-limit-value'}} + ul.pop-over-list + li: a.js-enable-wip-limit {{_ 'enable-wip-limit'}} + if isWipLimitEnabled + i.fa.fa-check + if isWipLimitEnabled + p + input.wip-limit-value(type="number" value="{{ wipLimitValue }}" min="1" max="99") + input.wip-limit-apply(type="submit" value="{{_ 'apply'}}") + input.wip-limit-error + p + .soft-wip-limit + .materialCheckBox(class="{{#if isWipLimitSoft}}is-checked{{/if}}") + label {{_ 'soft-wip-limit'}} + +template(name="wipLimitErrorPopup") + .wip-limit-invalid + p {{_ 'wipLimitErrorPopup-dialog-pt1'}} + p {{_ 'wipLimitErrorPopup-dialog-pt2'}} + button.full.js-back-view(type="submit") {{_ 'cancel'}} + +template(name="setListColorPopup") + form.edit-label + .palette-colors: each colors + // note: we use the swimlane palette to have more than just the border + span.card-label.palette-color.js-palette-color(class="swimlane-{{color}}") + if(isSelected color) + i.fa.fa-check + button.primary.confirm.js-submit {{_ 'save'}} + button.js-remove-color.negate.wide.right {{_ 'unset-color'}} diff --git a/client/components/lists/listHeader.js b/client/components/lists/listHeader.js new file mode 100644 index 0000000..7cd4309 --- /dev/null +++ b/client/components/lists/listHeader.js @@ -0,0 +1,290 @@ +import { Cookies } from 'meteor/ostrio:cookies'; +const cookies = new Cookies(); +let listsColors; +Meteor.startup(() => { + listsColors = Lists.simpleSchema()._schema.color.allowedValues; +}); + +BlazeComponent.extendComponent({ + canSeeAddCard() { + const list = Template.currentData(); + return ( + (!list.getWipLimit('enabled') || + list.getWipLimit('soft') || + !this.reachedWipLimit()) && + !Meteor.user().isWorker() + ); + }, + + isBoardAdmin() { + return Meteor.user().isBoardAdmin(); + }, + starred(check = undefined) { + const list = Template.currentData(); + const status = list.isStarred(); + if (check === undefined) { + // just check + return status; + } else { + list.star(!status); + return !status; + } + }, + editTitle(event) { + event.preventDefault(); + const newTitle = this.childComponents('inlinedForm')[0] + .getValue() + .trim(); + const list = this.currentData(); + if (newTitle) { + list.rename(newTitle.trim()); + } + }, + + isWatching() { + const list = this.currentData(); + return list.findWatcher(Meteor.userId()); + }, + + limitToShowCardsCount() { + const currentUser = Meteor.user(); + if (currentUser) { + return Meteor.user().getLimitToShowCardsCount(); + } else { + return false; + } + }, + + cardsCount() { + const list = Template.currentData(); + let swimlaneId = ''; + if (Utils.boardView() === 'board-view-swimlanes') + swimlaneId = this.parentComponent() + .parentComponent() + .data()._id; + + return list.cards(swimlaneId).count(); + }, + + reachedWipLimit() { + const list = Template.currentData(); + return ( + list.getWipLimit('enabled') && + list.getWipLimit('value') <= list.cards().count() + ); + }, + + showCardsCountForList(count) { + const limit = this.limitToShowCardsCount(); + return limit > 0 && count > limit; + }, + + events() { + return [ + { + 'click .js-list-star'(event) { + event.preventDefault(); + this.starred(!this.starred()); + }, + 'click .js-open-list-menu': Popup.open('listAction'), + 'click .js-add-card'(event) { + const listDom = $(event.target).parents( + `#js-list-${this.currentData()._id}`, + )[0]; + const listComponent = BlazeComponent.getComponentForElement(listDom); + listComponent.openForm({ + position: 'top', + }); + }, + 'click .js-unselect-list'() { + Session.set('currentList', null); + }, + submit: this.editTitle, + }, + ]; + }, +}).register('listHeader'); + +Template.listHeader.helpers({ + showDesktopDragHandles() { + currentUser = Meteor.user(); + if (currentUser) { + return (currentUser.profile || {}).showDesktopDragHandles; + } else if (cookies.has('showDesktopDragHandles')) { + return true; + } else { + return false; + } + }, +}); + +Template.listActionPopup.helpers({ + isWipLimitEnabled() { + return Template.currentData().getWipLimit('enabled'); + }, + + isWatching() { + return this.findWatcher(Meteor.userId()); + }, +}); + +Template.listActionPopup.events({ + 'click .js-list-subscribe'() {}, + 'click .js-set-color-list': Popup.open('setListColor'), + 'click .js-select-cards'() { + const cardIds = this.allCards().map(card => card._id); + MultiSelection.add(cardIds); + Popup.close(); + }, + 'click .js-toggle-watch-list'() { + const currentList = this; + const level = currentList.findWatcher(Meteor.userId()) ? null : 'watching'; + Meteor.call('watch', 'list', currentList._id, level, (err, ret) => { + if (!err && ret) Popup.close(); + }); + }, + 'click .js-close-list'(event) { + event.preventDefault(); + this.archive(); + Popup.close(); + }, + 'click .js-set-wip-limit': Popup.open('setWipLimit'), + 'click .js-more': Popup.open('listMore'), +}); + +BlazeComponent.extendComponent({ + applyWipLimit() { + const list = Template.currentData(); + const limit = parseInt( + Template.instance() + .$('.wip-limit-value') + .val(), + 10, + ); + + if (limit < list.cards().count() && !list.getWipLimit('soft')) { + Template.instance() + .$('.wip-limit-error') + .click(); + } else { + Meteor.call('applyWipLimit', list._id, limit); + Popup.back(); + } + }, + + enableSoftLimit() { + const list = Template.currentData(); + + if ( + list.getWipLimit('soft') && + list.getWipLimit('value') < list.cards().count() + ) { + list.setWipLimit(list.cards().count()); + } + Meteor.call('enableSoftLimit', Template.currentData()._id); + }, + + enableWipLimit() { + const list = Template.currentData(); + // Prevent user from using previously stored wipLimit.value if it is less than the current number of cards in the list + if ( + !list.getWipLimit('enabled') && + list.getWipLimit('value') < list.cards().count() + ) { + list.setWipLimit(list.cards().count()); + } + Meteor.call('enableWipLimit', list._id); + }, + + isWipLimitSoft() { + return Template.currentData().getWipLimit('soft'); + }, + + isWipLimitEnabled() { + return Template.currentData().getWipLimit('enabled'); + }, + + wipLimitValue() { + return Template.currentData().getWipLimit('value'); + }, + + events() { + return [ + { + 'click .js-enable-wip-limit': this.enableWipLimit, + 'click .wip-limit-apply': this.applyWipLimit, + 'click .wip-limit-error': Popup.open('wipLimitError'), + 'click .materialCheckBox': this.enableSoftLimit, + }, + ]; + }, +}).register('setWipLimitPopup'); + +Template.listMorePopup.events({ + 'click .js-delete': Popup.afterConfirm('listDelete', function() { + Popup.close(); + // TODO how can we avoid the fetch call? + const allCards = this.allCards().fetch(); + const allCardIds = _.pluck(allCards, '_id'); + // it's okay if the linked cards are on the same list + if ( + Cards.find({ + $and: [ + { listId: { $ne: this._id } }, + { linkedId: { $in: allCardIds } }, + ], + }).count() === 0 + ) { + allCardIds.map(_id => Cards.remove(_id)); + Lists.remove(this._id); + } else { + // TODO: Figure out more informative message. + // Popup with a hint that the list cannot be deleted as there are + // linked cards. We can adapt the query above so we can list the linked + // cards. + // Related: + // client/components/cards/cardDetails.js about line 969 + // https://github.com/wekan/wekan/issues/2785 + const message = `${TAPi18n.__( + 'delete-linked-cards-before-this-list', + )} linkedId: ${ + this._id + } at client/components/lists/listHeader.js and https://github.com/wekan/wekan/issues/2785`; + alert(message); + } + Utils.goBoardId(this.boardId); + }), +}); + +BlazeComponent.extendComponent({ + onCreated() { + this.currentList = this.currentData(); + this.currentColor = new ReactiveVar(this.currentList.color); + }, + + colors() { + return listsColors.map(color => ({ color, name: '' })); + }, + + isSelected(color) { + return this.currentColor.get() === color; + }, + + events() { + return [ + { + 'click .js-palette-color'() { + this.currentColor.set(this.currentData().color); + }, + 'click .js-submit'() { + this.currentList.setColor(this.currentColor.get()); + Popup.close(); + }, + 'click .js-remove-color'() { + this.currentList.setColor(null); + Popup.close(); + }, + }, + ]; + }, +}).register('setListColorPopup'); diff --git a/client/components/lists/minilist.jade b/client/components/lists/minilist.jade new file mode 100644 index 0000000..e34214c --- /dev/null +++ b/client/components/lists/minilist.jade @@ -0,0 +1,8 @@ +template(name="minilist") + .minicard( + class="minicard-{{colorClass}}") + .minicard-title + .handle + .fa.fa-arrows + +viewer + = title diff --git a/client/components/main/editor.jade b/client/components/main/editor.jade new file mode 100644 index 0000000..dbd6171 --- /dev/null +++ b/client/components/main/editor.jade @@ -0,0 +1,14 @@ +template(name="editor") + textarea.editor( + dir="auto" + class="{{class}}" + id=id + autofocus=autofocus + placeholder="{{_ 'comment-placeholder'}}") + +Template.contentBlock + +template(name="viewer") + .viewer(dir="auto") + +mentions + +markdown + {{> UI.contentBlock }} diff --git a/client/components/main/editor.js b/client/components/main/editor.js new file mode 100755 index 0000000..0c2e318 --- /dev/null +++ b/client/components/main/editor.js @@ -0,0 +1,353 @@ +Template.editor.onRendered(() => { + const textareaSelector = 'textarea'; + const mentions = [ + // User mentions + { + match: /\B@([\w.]*)$/, + search(term, callback) { + const currentBoard = Boards.findOne(Session.get('currentBoard')); + callback( + currentBoard + .activeMembers() + .map(member => { + const username = Users.findOne(member.userId).username; + return username.includes(term) ? username : null; + }) + .filter(Boolean), + ); + }, + template(value) { + return value; + }, + replace(username) { + return `@${username} `; + }, + index: 1, + }, + ]; + const enableTextarea = function() { + const $textarea = this.$(textareaSelector); + autosize($textarea); + $textarea.escapeableTextComplete(mentions); + }; + if (Meteor.settings.public.RICHER_CARD_COMMENT_EDITOR !== false) { + const isSmall = Utils.isMiniScreen(); + const toolbar = isSmall + ? [ + ['view', ['fullscreen']], + ['table', ['table']], + ['font', ['bold', 'underline']], + //['fontsize', ['fontsize']], + ['color', ['color']], + ] + : [ + ['style', ['style']], + ['font', ['bold', 'underline', 'clear']], + ['fontsize', ['fontsize']], + ['fontname', ['fontname']], + ['color', ['color']], + ['para', ['ul', 'ol', 'paragraph']], + ['table', ['table']], + //['insert', ['link', 'picture', 'video']], // iframe tag will be sanitized TODO if iframe[class=note-video-clip] can be added into safe list, insert video can be enabled + //['insert', ['link', 'picture']], // modal popup has issue somehow :( + ['view', ['fullscreen', 'help']], + ]; + const cleanPastedHTML = function(input) { + const badTags = [ + 'style', + 'script', + 'applet', + 'embed', + 'noframes', + 'noscript', + 'meta', + 'link', + 'button', + 'form', + ].join('|'); + const badPatterns = new RegExp( + `(?:${[ + `<(${badTags})s*[^>][\\s\\S]*?<\\/\\1>`, + `<(${badTags})[^>]*?\\/>`, + ].join('|')})`, + 'gi', + ); + let output = input; + // remove bad Tags + output = output.replace(badPatterns, ''); + // remove attributes ' style="..."' + const badAttributes = new RegExp( + `(?:${[ + 'on\\S+=([\'"]?).*?\\1', + 'href=([\'"]?)javascript:.*?\\2', + 'style=([\'"]?).*?\\3', + 'target=\\S+', + ].join('|')})`, + 'gi', + ); + output = output.replace(badAttributes, ''); + output = output.replace(/( -1) { + return mSummernotes[idx]; + } + return undefined; + }; + inputs.each(function(idx, input) { + mSummernotes[idx] = $(input).summernote({ + placeholder, + callbacks: { + onInit(object) { + const originalInput = this; + $(originalInput).on('submitted', function() { + // when comment is submitted, the original textarea will be set to '', so shall we + if (!this.value) { + const sn = getSummernote(this); + sn && sn.summernote('code', ''); + } + }); + const jEditor = object && object.editable; + const toolbar = object && object.toolbar; + if (jEditor !== undefined) { + jEditor.escapeableTextComplete(mentions); + } + if (toolbar !== undefined) { + const fBtn = toolbar.find('.btn-fullscreen'); + fBtn.on('click', function() { + const $this = $(this), + isActive = $this.hasClass('active'); + $('.minicards,#header-quick-access').toggle(!isActive); // mini card is still showing when editor is in fullscreen mode, we hide here manually + }); + } + }, + + onImageUpload(files) { + const $summernote = getSummernote(this); + if (files && files.length > 0) { + const image = files[0]; + const currentCard = Cards.findOne(Session.get('currentCard')); + const MAX_IMAGE_PIXEL = Utils.MAX_IMAGE_PIXEL; + const COMPRESS_RATIO = Utils.IMAGE_COMPRESS_RATIO; + const insertImage = src => { + const img = document.createElement('img'); + img.src = src; + img.setAttribute('width', '100%'); + $summernote.summernote('insertNode', img); + }; + const processData = function(fileObj) { + Utils.processUploadedAttachment( + currentCard, + fileObj, + attachment => { + if ( + attachment && + attachment._id && + attachment.isImage() + ) { + attachment.one('uploaded', function() { + const maxTry = 3; + const checkItvl = 500; + let retry = 0; + const checkUrl = function() { + // even though uploaded event fired, attachment.url() is still null somehow //TODO + const url = attachment.url(); + if (url) { + insertImage( + `${location.protocol}//${location.host}${url}`, + ); + } else { + retry++; + if (retry < maxTry) { + setTimeout(checkUrl, checkItvl); + } + } + }; + checkUrl(); + }); + } + }, + ); + }; + if (MAX_IMAGE_PIXEL) { + const reader = new FileReader(); + reader.onload = function(e) { + const dataurl = e && e.target && e.target.result; + if (dataurl !== undefined) { + // need to shrink image + Utils.shrinkImage({ + dataurl, + maxSize: MAX_IMAGE_PIXEL, + ratio: COMPRESS_RATIO, + toBlob: true, + callback(blob) { + if (blob !== false) { + blob.name = image.name; + processData(blob); + } + }, + }); + } + }; + reader.readAsDataURL(image); + } else { + processData(image); + } + } + }, + onPaste() { + // clear up unwanted tag info when user pasted in text + const thisNote = this; + const updatePastedText = function(object) { + const someNote = getSummernote(object); + // Fix Pasting text into a card is adding a line before and after + // (and multiplies by pasting more) by changing paste "p" to "br". + // Fixes https://github.com/wekan/wekan/2890 . + // == Fix Start == + someNote.execCommand('defaultParagraphSeparator', false, 'br'); + // == Fix End == + const original = someNote.summernote('code'); + const cleaned = cleanPastedHTML(original); //this is where to call whatever clean function you want. I have mine in a different file, called CleanPastedHTML. + someNote.summernote('code', ''); //clear original + someNote.summernote('pasteHTML', cleaned); //this sets the displayed content editor to the cleaned pasted code. + }; + setTimeout(function() { + //this kinda sucks, but if you don't do a setTimeout, + //the function is called before the text is really pasted. + updatePastedText(thisNote); + }, 10); + }, + }, + dialogsInBody: true, + disableDragAndDrop: true, + toolbar, + popover: { + image: [ + [ + 'image', + ['resizeFull', 'resizeHalf', 'resizeQuarter', 'resizeNone'], + ], + ['float', ['floatLeft', 'floatRight', 'floatNone']], + ['remove', ['removeMedia']], + ], + table: [ + ['add', ['addRowDown', 'addRowUp', 'addColLeft', 'addColRight']], + ['delete', ['deleteRow', 'deleteCol', 'deleteTable']], + ], + air: [ + ['color', ['color']], + ['font', ['bold', 'underline', 'clear']], + ], + }, + height: 200, + }); + }); + } + } else { + enableTextarea(); + } +}); + +import sanitizeXss from 'xss'; + +// XXX I believe we should compute a HTML rendered field on the server that +// would handle markdown and user mentions. We can simply have two +// fields, one source, and one compiled version (in HTML) and send only the +// compiled version to most users -- who don't need to edit. +// In the meantime, all the transformation are done on the client using the +// Blaze API. +const at = HTML.CharRef({ html: '@', str: '@' }); +Blaze.Template.registerHelper( + 'mentions', + new Template('mentions', function() { + const view = this; + let content = Blaze.toHTML(view.templateContentBlock); + const currentBoard = Boards.findOne(Session.get('currentBoard')); + if (!currentBoard) return HTML.Raw(sanitizeXss(content)); + const knowedUsers = currentBoard.members.map(member => { + const u = Users.findOne(member.userId); + if (u) { + member.username = u.username; + } + return member; + }); + const mentionRegex = /\B@([\w.]*)/gi; + + let currentMention; + while ((currentMention = mentionRegex.exec(content)) !== null) { + const [fullMention, quoteduser, simple] = currentMention; + const username = quoteduser || simple; + const knowedUser = _.findWhere(knowedUsers, { username }); + if (!knowedUser) { + continue; + } + + const linkValue = [' ', at, knowedUser.username]; + let linkClass = 'atMention js-open-member'; + if (knowedUser.userId === Meteor.userId()) { + linkClass += ' me'; + } + // This @user mention link generation did open same Wekan + // window in new tab, so now A is changed to U so it's + // underlined and there is no link popup. This way also + // text can be selected more easily. + //const link = HTML.A( + const link = HTML.U( + { + class: linkClass, + // XXX Hack. Since we stringify this render function result below with + // `Blaze.toHTML` we can't rely on blaze data contexts to pass the + // `userId` to the popup as usual, and we need to store it in the DOM + // using a data attribute. + 'data-userId': knowedUser.userId, + }, + linkValue, + ); + + content = content.replace(fullMention, Blaze.toHTML(link)); + } + + return HTML.Raw(sanitizeXss(content)); + }), +); + +Template.viewer.events({ + // Viewer sometimes have click-able wrapper around them (for instance to edit + // the corresponding text). Clicking a link shouldn't fire these actions, stop + // we stop these event at the viewer component level. + 'click a'(event, templateInstance) { + const prevent = true; + const userId = event.currentTarget.dataset.userid; + if (userId) { + Popup.open('member').call({ userId }, event, templateInstance); + } else { + const href = event.currentTarget.href; + if (href) { + window.open(href, '_blank'); + } + } + if (prevent) { + event.stopPropagation(); + + // XXX We hijack the build-in browser action because we currently don't have + // `_blank` attributes in viewer links, and the transformer function is + // handled by a third party package that we can't configure easily. Fix that + // by using directly `_blank` attribute in the rendered HTML. + event.preventDefault(); + } + }, +}); diff --git a/client/components/main/fonts.styl b/client/components/main/fonts.styl new file mode 100644 index 0000000..5d6fb55 --- /dev/null +++ b/client/components/main/fonts.styl @@ -0,0 +1,41 @@ +@font-face + font-family: 'Roboto' + font-style: normal + font-weight: 400 + src: local('Roboto'), + local('Roboto-Regular'), + url('/fonts/roboto-regular.woff2') format('woff2'), + url('/fonts/roboto-regular.woff') format('woff') + +@font-face + font-family: 'Roboto' + font-style: normal + font-weight: 700 + src: local('Roboto Bold'), + local('Roboto-Bold'), + url('/fonts/roboto-bold.woff2') format('woff2'), + url('/fonts/roboto-bold.woff') format('woff') + +@font-face + font-family: 'Poppins' + font-style: normal + font-weight: 400 + src: local('Poppins'), + local('Poppins-Regular'), + url('/fonts/poppins-regular.woff') format('woff') + +@font-face + font-family: 'Poppins' + font-style: normal + font-weight: 500 + src: local('Poppins Medium'), + local('Poppins-Medium'), + url('/fonts/poppins-medium.woff') format('woff') + +@font-face + font-family: 'Poppins' + font-style: normal + font-weight: 700 + src: local('Poppins Bold'), + local('Poppins-Bold'), + url('/fonts/poppins-bold.woff') format('woff') diff --git a/client/components/main/header.jade b/client/components/main/header.jade new file mode 100644 index 0000000..de7ead9 --- /dev/null +++ b/client/components/main/header.jade @@ -0,0 +1,82 @@ +template(name="header") + //- + If the user is connected we display a small "quick-access" top bar that + list all starred boards with a link to go there. This is inspired by the + Reddit "subreddit" bar. + The first link goes to the boards page. + if currentUser + #header-quick-access(class=currentBoard.colorClass) + if isMiniScreen + ul + li + a(href="{{pathFor 'home'}}") + span.fa.fa-home + + if currentList + each currentBoard.lists + li(class="{{#if $.Session.equals 'currentList' _id}}current{{/if}}") + a.js-select-list + = title + #header-new-board-icon + else + ul + li + a(href="{{pathFor 'home'}}") + span.fa.fa-home + | {{_ 'all-boards'}} + li.separator - + li + a(href="{{pathFor 'public'}}") + span.fa.fa-globe + | {{_ 'public'}} + each currentUser.starredBoards + li.separator - + li(class="{{#if $.Session.equals 'currentBoard' _id}}current{{/if}}") + a(href="{{pathFor 'board' id=_id slug=slug}}") + = title + else + li.current {{_ 'quick-access-description'}} + + a#header-new-board-icon.js-create-board + i.fa.fa-plus(title="Create a new board") + + +notifications + + +headerUserBar + + #header(class=currentBoard.colorClass) + //- + The main bar is a colorful bar that provide all the meta-data for the + current page. This bar is contextual based. + If the user is not connected we display "sign in" and "log in" buttons. + #header-main-bar(class="{{#if wrappedHeader}}wrapper{{/if}}") + +Template.dynamic(template=headerBar) + + //unless hideLogo + + //- + On sandstorm, the logo shouldn't be clickable, because we only have one + page/document on it, and we don't want to see the home page containing + the list of all boards. + + // unless currentSetting.hideLogo + // a.wekan-logo(href="{{pathFor 'home'}}" title="{{_ 'header-logo-title'}}") + // img(src="{{pathFor '/logo-header.png'}}" alt="") + + if appIsOffline + +offlineWarning + + if currentUser.isBoardMember + if hasAnnouncement + .announcement + p + i.fa.fa-bullhorn + +viewer + | #{announcement} + i.fa.fa-times-circle.js-close-announcement + +template(name="offlineWarning") + .offline-warning + p + i.fa.fa-warning + | {{_ 'app-is-offline'}} diff --git a/client/components/main/header.js b/client/components/main/header.js new file mode 100644 index 0000000..957a128 --- /dev/null +++ b/client/components/main/header.js @@ -0,0 +1,43 @@ +Meteor.subscribe('user-admin'); +Meteor.subscribe('boards'); +Meteor.subscribe('setting'); + +Template.header.helpers({ + wrappedHeader() { + return !Session.get('currentBoard'); + }, + + currentSetting() { + return Settings.findOne(); + }, + + hideLogo() { + return Utils.isMiniScreen() && Session.get('currentBoard'); + }, + + appIsOffline() { + return !Meteor.status().connected; + }, + + hasAnnouncement() { + const announcements = Announcements.findOne(); + return announcements && announcements.enabled; + }, + + announcement() { + $('.announcement').show(); + const announcements = Announcements.findOne(); + return announcements && announcements.body; + }, +}); + +Template.header.events({ + 'click .js-create-board': Popup.open('headerBarCreateBoard'), + 'click .js-close-announcement'() { + $('.announcement').hide(); + }, + 'click .js-select-list'() { + Session.set('currentList', this._id); + Session.set('currentCard', null); + }, +}); diff --git a/client/components/main/header.styl b/client/components/main/header.styl new file mode 100644 index 0000000..d809386 --- /dev/null +++ b/client/components/main/header.styl @@ -0,0 +1,235 @@ +@import 'nib' + +#header + color: white + transition: background-color 0.4s + background: #2980B9 + z-index: 17 + + #header-main-bar + height: 40px + padding: 7px 10px 0 + + h1 + font-size: 20px + line-height: 1.7em + padding: 0 10px + margin: 0 + margin-right: 10px + float: left + border-radius: 3px + + .board-header-watch-icon + padding-left: 7px + + a.fa, a i.fa + color: white + + .back-btn + font-size: 0.9em + margin-right: 10px + + .wekan-logo + margin: 3px auto auto + width: 97px + opacity: 0.6 + transition: opacity 0.15s + float: right + + &:hover + opacity: 0.9 + + .board-header-btns + display: block + margin-top: 3px + width: auto + + // XXX Use a flexbox instead of floats? + &.left + float: left + + &.right + float: right + + .board-header-btn + border-radius: 3px + color: darken(white, 5%) + padding: 0 + height: 28px + font-size: 13px + float: left + overflow: hidden + line-height: @height + margin: 0 2px + + i.fa + float: left + display: block + line-height: 28px + color: darken(white, 5%) + margin: 0 10px + + + span + display: inline-block + margin-top: 1px + margin-right: 10px + + .board-header-btn-close + float: right + + i.fa + margin: 0 6px + + .board-header-btn, + h1.is-clickable + &.is-active, + &:hover:not(.is-disabled) + background: rgba(0, 0, 0, .15) + + .separator + margin: 2px 4px + border-left: 1px solid rgba(255, 255, 255, .3) + height: 24px + float: left + +#header-quick-access + color: white + transition: background-color 0.4s + background: #2573a7 + height: 28px + font-size: 12px + display: flex + z-index: 21 + + #header-user-bar, + #header-new-board-icon, + ul li + color: darken(white, 17%) + + .fa + color: inherit + + a:hover, a.is-active + color: white + + ul + transition: opacity 0.2s + margin: 4px 0 0 5px + overflow: hidden + + li + display: block + float: left + width: auto + color: darken(white, 15%) + padding: 2px 5px 0 + + &.current + color: darken(white, 5%) + + &:first-child .fa-home,&:nth-child(3) .fa-globe + margin-right: 5px + + a.js-create-board + margin-left: 5px + + #header-user-bar, + #header-new-board-icon + flex-shrink: 0 + + #header-user-bar + margin: 2px 0 + + .header-user-bar-avatar + float: left + position: relative + top: -5px + margin-right: 5px + + .member + width: 24px + height: @width + margin: 0 + margin-top: 1px + + .header-user-bar-name + margin: 4px 8px 0 0 + float: left + + i.fa-chevron-down + margin-right: 4px + + #header-new-board-icon + flex-grow: 1 + margin: 6px 5px 0 + width: 12px + +@media screen and (max-width: 800px) + #header + #header-main-bar + height: 40px + + .board-header-btns + margin-top: 0px + + .board-header-btn + height: 32px + line-height: @height + font-size: 15px + + i.fa + line-height: 32px + + + span + display: none + + #header-quick-access + transition: background-color 0.4s + width: 100% + padding: 10px 0px + z-index: 30 + + ul + width: calc(100% - 60px) + overflow: ellipsis + padding: 10px + margin: -10px + + li + height: 100% + padding: 12px 0px + margin: -10px 0px + + a + height: 100% + padding: 12px 10px + margin: -10px 0px + + .fa-home + font-size: 26px + margin-top: -2px + + #header-new-board-icon + display: none + + #header-user-bar + position: absolute + right: 0px + padding: 10px + margin: -10px 0 -10px -10px + +.announcement .viewer + display: inline-block + +.announcement, +.offline-warning + width: 100% + text-align: center + padding: 0 + margin: 0 + background: #F8ECBD + clear: both + + p + margin: 7px + padding: 0 diff --git a/client/components/main/keyboardShortcuts.jade b/client/components/main/keyboardShortcuts.jade new file mode 100644 index 0000000..bde4081 --- /dev/null +++ b/client/components/main/keyboardShortcuts.jade @@ -0,0 +1,19 @@ +template(name="shortcutsHeaderBar") + h1 + a.back-btn(href="{{pathFor 'home'}}") + i.fa.fa-chevron-left + | {{_ 'keyboard-shortcuts'}} + +template(name="shortcutsModalTitle") + h2 + i.fa.fa-keyboard-o + | {{_ 'keyboard-shortcuts'}} + +template(name="keyboardShortcuts") + .wrapper.shortcuts-list + each mapping + .shortcuts-list-item + .shortcuts-list-item-keys + each keys + kbd= this + .shortcuts-list-item-action {{_ action}} diff --git a/client/components/main/keyboardShortcuts.styl b/client/components/main/keyboardShortcuts.styl new file mode 100644 index 0000000..f77d387 --- /dev/null +++ b/client/components/main/keyboardShortcuts.styl @@ -0,0 +1,20 @@ +.shortcuts-list + .shortcuts-list-item + border-bottom: 1px solid darken(white, 25%) + padding: 10px 5px + + &:last-child + border-bottom: none + + .shortcuts-list-item-keys + margin-top: 5px + float: right + + kbd + padding: 5px 8px + margin: 5px + font-size: 18px + + .shortcuts-list-item-action + font-size: 1.4em + margin: 5px diff --git a/client/components/main/layouts.jade b/client/components/main/layouts.jade new file mode 100644 index 0000000..08dfc58 --- /dev/null +++ b/client/components/main/layouts.jade @@ -0,0 +1,78 @@ +head + title + meta(name="viewport" content="maximum-scale=1.0,width=device-width,initial-scale=1.0,user-scalable=0") + meta(http-equiv="X-UA-Compatible" content="IE=edge") + //- XXX We should use pathFor in the following `href` to support the case + where the application is deployed with a path prefix, but it seems to be + difficult to do that cleanly with Blaze -- at least without adding extra + packages. + link(rel="shortcut icon" type="image/x-icon" href="/favicon.ico") + link(rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png") + link(rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png") + link(rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png") + link(rel="manifest" href="/site.webmanifest") + link(rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5") + meta(name="apple-mobile-web-app-title" content="Wekan") + meta(name="application-name" content="Wekan") + meta(name="msapplication-TileColor" content="#00aba9") + meta(name="theme-color" content="#ffffff") + +template(name="userFormsLayout") + section.auth-layout + section.auth-dialog + if isLoading + +loader + else + +Template.dynamic(template=content) + if currentSetting.displayAuthenticationMethod + +connectionMethod(authenticationMethod=currentSetting.defaultAuthenticationMethod) + div.at-form-lang + select.select-lang.js-userform-set-language + each languages + if isCurrentLanguage + option(value="{{tag}}" selected="selected") {{name}} + else + option(value="{{tag}}") {{name}} + +template(name="defaultLayout") + +header + #content + | {{{afterBodyStart}}} + +Template.dynamic(template=content) + | {{{beforeBodyEnd}}} + if (Modal.isOpen) + #modal + .overlay + if (Modal.isWide) + .modal-content-wide.modal-container + a.modal-close-btn.js-close-modal + i.fa.fa-times-thin + +Template.dynamic(template=Modal.getHeaderName) + +Template.dynamic(template=Modal.getTemplateName) + else + .modal-content.modal-container + a.modal-close-btn.js-close-modal + i.fa.fa-times-thin + +Template.dynamic(template=Modal.getHeaderName) + +Template.dynamic(template=Modal.getTemplateName) + +template(name="notFound") + +message(label='page-not-found') + +template(name="message") + .big-message.quiet(class=color) + h1 {{_ label}} + unless currentUser + with(pathFor route='atSignIn') + p {{{_ 'page-maybe-private' this}}} + +template(name="loader") + h1.loadingText {{_ 'loading'}} + .lds-roller + div + div + div + div + div + div + div diff --git a/client/components/main/layouts.js b/client/components/main/layouts.js new file mode 100644 index 0000000..83678e7 --- /dev/null +++ b/client/components/main/layouts.js @@ -0,0 +1,188 @@ +BlazeLayout.setRoot('body'); + +const i18nTagToT9n = i18nTag => { + // t9n/i18n tags are same now, see: https://github.com/softwarerero/meteor-accounts-t9n/pull/129 + // but we keep this conversion function here, to be aware that that they are different system. + return i18nTag; +}; + +const validator = { + set(obj, prop, value) { + if (prop === 'state' && value !== 'signIn') { + $('.at-form-authentication').hide(); + } else if (prop === 'state' && value === 'signIn') { + $('.at-form-authentication').show(); + } + // The default behavior to store the value + obj[prop] = value; + // Indicate success + return true; + }, +}; + +Template.userFormsLayout.onCreated(function() { + const templateInstance = this; + templateInstance.currentSetting = new ReactiveVar(); + templateInstance.isLoading = new ReactiveVar(false); + + Meteor.subscribe('setting', { + onReady() { + templateInstance.currentSetting.set(Settings.findOne()); + return this.stop(); + }, + }); + Meteor.call('isPasswordLoginDisabled', (_, result) => { + if (result) { + $('.at-pwd-form').hide(); + } + }); +}); + +Template.userFormsLayout.onRendered(() => { + AccountsTemplates.state.form.keys = new Proxy( + AccountsTemplates.state.form.keys, + validator, + ); + + const i18nTag = navigator.language; + if (i18nTag) { + T9n.setLanguage(i18nTagToT9n(i18nTag)); + } + EscapeActions.executeAll(); +}); + +Template.userFormsLayout.helpers({ + currentSetting() { + return Template.instance().currentSetting.get(); + }, + + isLoading() { + return Template.instance().isLoading.get(); + }, + + afterBodyStart() { + return currentSetting.customHTMLafterBodyStart; + }, + + beforeBodyEnd() { + return currentSetting.customHTMLbeforeBodyEnd; + }, + + languages() { + return _.map(TAPi18n.getLanguages(), (lang, code) => { + const tag = code; + let name = lang.name; + if (lang.name === 'br') { + name = 'Brezhoneg'; + } else if (lang.name === 'ig') { + name = 'Igbo'; + } else if (lang.name === 'oc') { + name = 'Occitan'; + } else if (lang.name === '繁体中文(台湾)') { + name = '繁體中文(台灣)'; + } + return { tag, name }; + }).sort(function(a, b) { + if (a.name === b.name) { + return 0; + } else { + return a.name > b.name ? 1 : -1; + } + }); + }, + + isCurrentLanguage() { + const t9nTag = i18nTagToT9n(this.tag); + const curLang = T9n.getLanguage() || 'en'; + return t9nTag === curLang; + }, +}); + +Template.userFormsLayout.events({ + 'change .js-userform-set-language'(event) { + const i18nTag = $(event.currentTarget).val(); + T9n.setLanguage(i18nTagToT9n(i18nTag)); + event.preventDefault(); + }, + 'click #at-btn'(event, templateInstance) { + if (FlowRouter.getRouteName() === 'atSignIn') { + templateInstance.isLoading.set(true); + authentication(event, templateInstance).then(() => { + templateInstance.isLoading.set(false); + }); + } + }, +}); + +Template.defaultLayout.events({ + 'click .js-close-modal': () => { + Modal.close(); + }, +}); + +async function authentication(event, templateInstance) { + const match = $('#at-field-username_and_email').val(); + const password = $('#at-field-password').val(); + + if (!match || !password) return undefined; + + const result = await getAuthenticationMethod( + templateInstance.currentSetting.get(), + match, + ); + + if (result === 'password') return undefined; + + // Stop submit #at-pwd-form + event.preventDefault(); + event.stopImmediatePropagation(); + + switch (result) { + case 'ldap': + return new Promise(resolve => { + Meteor.loginWithLDAP(match, password, function() { + resolve(FlowRouter.go('/')); + }); + }); + + case 'cas': + return new Promise(resolve => { + Meteor.loginWithCas(match, password, function() { + resolve(FlowRouter.go('/')); + }); + }); + + default: + return undefined; + } +} + +function getAuthenticationMethod( + { displayAuthenticationMethod, defaultAuthenticationMethod }, + match, +) { + if (displayAuthenticationMethod) { + return $('.select-authentication').val(); + } + return getUserAuthenticationMethod(defaultAuthenticationMethod, match); +} + +function getUserAuthenticationMethod(defaultAuthenticationMethod, match) { + return new Promise(resolve => { + try { + Meteor.subscribe('user-authenticationMethod', match, { + onReady() { + const user = Users.findOne(); + + const authenticationMethod = user + ? user.authenticationMethod + : defaultAuthenticationMethod; + + resolve(authenticationMethod); + }, + }); + } catch (error) { + resolve(defaultAuthenticationMethod); + } + }); +} diff --git a/client/components/main/layouts.styl b/client/components/main/layouts.styl new file mode 100644 index 0000000..85a5f1b --- /dev/null +++ b/client/components/main/layouts.styl @@ -0,0 +1,540 @@ +@import 'nib' + +global-reset() + +* + -webkit-box-sizing: unset + box-sizing: unset + +.note-popover .popover-content .note-color-palette div .note-color-btn, .panel-heading.note-toolbar .note-color-palette div .note-color-btn + background: none + +a:focus + outline: unset + outline-offset: unset + +a:hover,a:focus + color: unset + text-decoration: unset + +.badge + display: unset + min-width: unset + padding: unset + font-size: unset + font-weight: unset + line-height: unset + color: unset + text-align: unset + white-space: unset + vertical-align: unset + background-color: unset + border-radius: unset + +html, body, input, select, textarea, button + font: 14px Roboto, Poppins, "Helvetica Neue", Arial, Helvetica, sans-serif + line-height: 18px + color: #4d4d4d + +html + font-size: 100% + max-height: 100% + user-select: none + -webkit-text-size-adjust: 100% + +body + background: darken(white, 13%) + margin: 0 + position: relative + z-index: 0 + overflow-y: auto + display: flex + flex-direction: column + height: 100vh + +#content + position: relative + flex: 1 + overflow-x: hidden + + .sk-spinner + margin-top: 30vh + + > .wrapper + margin-top: 10px + padding: 15px + +#modal + position: absolute + top: 0 + bottom: 0 + left: 0 + right: 0 + background: rgba(0, 0, 0, 0.6) + z-index: 100 + overflow-y: auto + + .modal-content + width: 500px + min-height: 160px + margin: 42px auto + padding: 12px + border-radius: 4px + background: darken(white, 13%) + z-index: 110 + + h2 + margin-bottom: 25px + + .modal-close-btn + display: block + float: right + font-size: 24px + + .modal-content-wide + width: 800px + min-height: 0px + margin: 42px auto + padding: 12px + border-radius: 4px + background: darken(white, 13%) + z-index: 110 + + h2 + margin-bottom: 25px + + .modal-close-btn + display: block + float: right + font-size: 24px + +h1 + font-size: 22px + line-height: 1.2em + margin: 0 0 10px + +h2 + font-size: 18px + line-height: 1.2em + margin: 0 0 9px + +h3, h4, h5, h6 + font-size: 16px + line-height: 1.25em + margin: 0 0 6px + +.quiet, .quiet a + color: #8c8c8c + +.error, .error a + color: #eb3800 + +.no-items-message + color: darken(white, 60%) + margin: 30px 0 + text-align: center + +.warning + background: #f0ecdb + border-radius: 3px + color: #aa8f09 + padding: 6px 8px + + a + color: #aa8f09 + +.small + font-size: 0.8em + +a + color: inherit + cursor: pointer + text-decoration: none + + &.is-disabled, + &.is-disabled:hover + cursor: default + text-decoration: none + +span a + text-decoration: underline + +strong + font-weight: bold + +p + user-select: text + + a + text-decoration: underline + word-wrap: break-word + +table, p + margin-bottom: 8px + +pre + margin: 15px 0 + white-space: pre + max-height: 516px + +pre, +code, +tt + font-family: lucida console, monospace + line-height: 1.25em + +blockquote + margin: 8px 0 8px 8px + border-left: 1px solid #ccc + color: #666 + padding: 0 0 0 8px + +hr + height: 1px + border: 0 + border: none + width: 100% + background: #dbdbdb + color: #dbdbdb + margin: 15px 0 + padding: 0 + +table, td, th + vertical-align: top + border-top: 1px solid #ccc + border-left: 1px solid #ccc + +td, th + padding: 5px + border-right: 1px solid #ccc + border-bottom: 1px solid #ccc + +th + font-weight: 700 + +thead + background: #fff + background: linear-gradient(to bottom, #fff 0, #f0f0f0 100%) + +tbody + background-color: #fff + +dl, dt + margin-bottom: 8px + +dd + margin: 0 0 16px 24px + +kbd + padding: 1px 3px + margin: 3px + font-weight: bold + background: darken(white, 2%) + border-radius: 3px + border: 1px solid darken(white, 10%) + color: unset + box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.15) + +.clear + clear: both + +.clearfix + clearfix() + +.hide + display: none + +.show + display: block + +.bold + font-weight: 700 + +.center + text-align: center + +.left + float: left + +.right + float: right + +.first + margin-left: 0 + padding-left: 0 + +.last + margin-right: 0 + padding-right: 0 + +.top + margin-top: 0 + padding-top: 0 + +.bottom + margin-bottom: 0 + padding-bottom: 0 + +.wrapper + max-width: 1200px + margin: 0 auto + +.relative + position: relative + +.block + display: block + +.inline + display: inline + +.inline-block + display: inline-block + +.pointer + cursor: pointer + +.ellip + overflow: hidden + text-overflow: ellipsis + white-space: nowrap + +.underline + text-decoration: underline + +.lowercase + text-transform: lowercase + +.invisible + visibility: hidden + +.wrapword + word-wrap: break-word + +.grab + cursor: grab + +.grabbing + cursor: grabbing + +// Implement a thiner close icon as suggested in +// https://github.com/FortAwesome/Font-Awesome/issues/1540#issuecomment-68689950 +.fa.fa-times-thin:before + content: '\00d7' + +.fa.fa-globe.colorful, .fa.fa-bell.colorful + color: #4caf50 + +.fa.fa-lock.colorful, .fa.fa-bell-slash.colorful + color: #f44336 + +.fa.fa-eye.colorful + color: #4336f4 + +.pop-over .pop-over-list li a:not(.disabled):hover + .fa, .fa.colorful + color: white + + &:hover + color: white + +a + &.fa, i.fa + color: darken(white, 35%) + + &:not(.disabled):hover, &:not(.disabled).is-active + &.fa, i.fa + color: darken(white, 60%) + +.ui-draggable-dragging + z-index: 200 + +.atMention + background: #dbdbdb + border-radius: 3px + padding: 1px 4px + margin: -1px 0 + display: inline-block + + &.me + background: #cfdfe8 + +.big-message + display: block + margin: 75px auto + text-align: center + max-width: 600px + + h1 + font-size: 26px + margin-bottom: 24px + + p + font-size: 18px + line-height: 22px + +.gutter + margin-left: 38px + +.viewer + min-height: 18px + display: block + word-wrap: break-word + + table + word-wrap: normal + word-break: normal + + ol + list-style-type: decimal + padding-left: 20px + + ul + list-style-type: initial + padding-left: 20px + + em + font-style : italic + + pre + padding: 10px 12px 7px + background: darken(white, 13%) + overflow-y: auto + + a + text-decoration: underline + &:hover + color: #333 + +.basicTabs-container .tabs-content-container + padding: 0 + padding-top: 15px + +@keyframes fadeIn + from + opacity: 0 + +@keyframes flexGrowIn + from + // Support IE11 https://github.com/wekan/wekan/pull/646 + height: 100% + +@media screen and (max-width: 800px) + #content + margin: 1px 0px 0px 0px + height: calc(100% - 0px) + + > .wrapper + margin-top: 0px + + .wrapper + height: 100% + margin: 0px + + .panel-default + width: 83vw + +.inline-input + height: 37px + margin: 8px 10px 0 0 + width: 50px + +.select-authentication + width: 100% + +.auth-layout + display: flex + flex-direction: column + align-items: center + justify-content: center + height: 100% + + .auth-dialog + margin: 0 !important + +.loadingText + text-align: center + +.lds-roller + display: block + margin: auto + position: relative + width: 64px + height: 64px + + div + animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite + transform-origin: 32px 32px + + div:after + content: " " + display: block + position: absolute + width: 6px + height: 6px + border-radius: 50% + background: #dedede + margin: -3px 0 0 -3px + + div:nth-child(1) + animation-delay: -0.036s + + div:nth-child(1):after + top: 50px + left: 50px + + div:nth-child(2) + animation-delay: -0.072s + + div:nth-child(2):after + top: 54px + left: 45px + + div:nth-child(3) + animation-delay: -0.108s + + div:nth-child(3):after + top: 57px + left: 39px + + div:nth-child(4) + animation-delay: -0.144s + + div:nth-child(4):after + top: 58px + left: 32px + + div:nth-child(5) + animation-delay: -0.18s + + div:nth-child(5):after + top: 57px + left: 25px + + div:nth-child(6) + animation-delay: -0.216s + + div:nth-child(6):after + top: 54px + left: 19px + + div:nth-child(7) + animation-delay: -0.252s + + div:nth-child(7):after + top: 50px + left: 14px + + div:nth-child(8) + animation-delay: -0.288s + + div:nth-child(8):after + top: 45px + left: 10px + +@keyframes lds-roller + 0% + transform: rotate(0deg) + + 100% + transform: rotate(360deg) diff --git a/client/components/main/popup.js b/client/components/main/popup.js new file mode 100644 index 0000000..ba20a6d --- /dev/null +++ b/client/components/main/popup.js @@ -0,0 +1,39 @@ +Popup.template.events({ + 'click .js-back-view'() { + Popup.back(); + }, + 'click .js-close-pop-over'() { + Popup.close(); + }, + 'click .js-confirm'() { + this.__afterConfirmAction.call(this); + }, + // This handler intends to solve a pretty tricky bug with our popup + // transition. The transition is implemented using a large container + // (.content-container) that is moved on the x-axis (from 0 to n*PopupSize) + // inside a wrapper (.container-wrapper) with a hidden overflow. The problem + // is that sometimes the wrapper is scrolled -- even if there are no + // scrollbars. This happen for instance when the newly opened popup has some + // focused field, the browser will automatically scroll the wrapper, resulting + // in moving the whole popup container outside of the popup wrapper. To + // disable this behavior we have to manually reset the scrollLeft position + // whenever it is modified. + 'scroll .content-wrapper'(evt) { + evt.currentTarget.scrollLeft = 0; + }, +}); + +// When a popup content is removed (ie, when the user press the "back" button), +// we need to wait for the container translation to end before removing the +// actual DOM element. For that purpose we use the undocumented `_uihooks` API. +Popup.template.onRendered(() => { + const container = this.find('.content-container'); + container._uihooks = { + removeElement(node) { + $(node).addClass('no-height'); + $(container).one(CSSEvents.transitionend, () => { + node.parentNode.removeChild(node); + }); + }, + }; +}); diff --git a/client/components/main/popup.styl b/client/components/main/popup.styl new file mode 100644 index 0000000..91f5fa0 --- /dev/null +++ b/client/components/main/popup.styl @@ -0,0 +1,335 @@ +@import 'nib' + +$popupWidth = 300px + +.pop-over + background: #fff + border-radius: 3px + border: 1px solid #dbdbdb + border-bottom-color: #c2c2c2 + box-shadow: 0 1px 6px rgba(0, 0, 0, .3) + position: absolute + width: $popupWidth + z-index: 99999 + margin-top: 5px + + hr + margin: 4px -10px + width: $popupWidth + + p, + textarea, + input[type="text"], + input[type="email"], + input[type="password"], + input[type="file"] + margin: 4px 0 12px + width: 100% + + select + width: 100% + margin-bottom: 14px + + textarea + height: 72px + + form a span + padding: 0 0.5rem + + .header + height: 36px + position: relative + margin-bottom: 8px + background: #F7F7F7 + border-bottom: 1px solid #dcdcdc + color: darken(white, 60%) + + .header-title + display: block + line-height: 32px + padding-top: 4px + margin: 0 10px + font-weight: bold + overflow: hidden + text-overflow: ellipsis + white-space: nowrap + + .back-btn + float: left + overflow: hidden + width: 30px + transition: width 0.2s + + i.fa + margin: 10px + margin-top: 12px + + &.is-hidden + width: 0 + + .close-btn + padding: 10px 10px 10px 4px + position: absolute + top: 0 + right: 0 + + &.no-title .header + background: none + + .content-wrapper + width: 100% + overflow: hidden + + .content-container + width: 5000px + max-height: 550px + transition: transform 0.2s + + .content + width: $popupWidth - 20px + padding: 0 10px 10px + float: left + + &.no-height + height: 20px + + .quiet + padding: 6px 6px 4px + + &.search-over + background: #f0f0f0 + min-height: 114px + + .header + display: none + + .content + padding: 8px 4px 8px 10px + margin-right: 8px + + .at-form + .at-error, .at-result + padding: 8px 12px + margin: -8px -10px 10px + + .at-error + background: #ef9a9a + + .at-result + background: #b2dfdb + + .sk-spinner + margin: 40px auto + + for depth in (1..6) + .popup-container-depth-{depth} + transform: translateX(- depth * $popupWidth) + +.select-members-list, +.select-avatars-list + margin-bottom: 8px + +.pop-over-list + li + display: block + clear: both + + li > a + clear: both + cursor: pointer + display: block + font-weight: 700 + padding: 1.5px 10px + position: relative + margin: 0 -10px + text-decoration: none + overflow:hidden + line-height:33px + + .item-name + display: block + width: auto + padding-right: 22px + + &:not(.disabled):hover + background-color: #005377 + color: #fff + + .sub-name, + .quiet + color: #eee + + .unread-indicator + background: #fff + + .sub-name + color: #8c8c8c + display: block + font-size: 12px + font-weight: 400 + line-height: 15px + + &.current + background-color: #e2e6e9 + + &:active + background-color: #2e85b8 + + &.disabled + color: #8c8c8c + cursor: default + + .vis-icon + opacity: .35 + + &:hover + background: none + + .sub-name, + .quiet + color: #8c8c8c + + &:active + background: none + + &.inset li > a + border-radius: 3px + margin: 0 + + .pop-over-list.checkable + .fa-check + display: none + position: absolute + top: 6px + right: 12px + + li.active a + padding-right: 28px + + .fa-check + display: block + +.pop-over.miniprofile + .header + border-bottom-color: transparent + height: 30px + position: absolute + right: 0 + top: 0 + width: 60px + z-index: 1 + + .header-title + display: none + + .pop-over-list + padding-top: 8px + + .miniprofile-header + margin-top: 8px + min-height: 56px + position: relative + + .member, + .avatar + position: absolute + top: 2px + left: 2px + height: 50px + width: @height + + .info + margin: 0 0 0 64px + word-wrap: break-word + + h3 a + text-decoration: none + + &:hover + text-decoration: underline + +@media screen and (max-width: 800px) + .pop-over + width: 100% + height: 100% + overflow: hidden + margin-top: 0px + border: 0px solid #dbdbdb + + .header + color: white + background: #2980B9 + height: 48px + padding: 0px 0px + border: 0px + margin: 0px 0px + width: 100% + position: absolute + top: 0px + + .header-title + font-size: 20px + font-weight: normal + padding-top: 8px + + .back-btn + width: 30px + padding: 8px 12px 8px 12px + + i.fa + color: white + + .close-btn + padding: 10px 12px + + i.fa + font-size: 24px + color: white + + .content-wrapper + width: 100% + height: calc(100% - 48px) + overflow-y: scroll + overflow-x: hidden + margin: 48px 0px 0px 0px + + .content-container + width: 1000% + height: 100% + max-height: 100% + + .content + width: calc(10% - 20px) + height: calc(100% - 20px) + padding: 10px + + form + margin: 10px 10px + width: calc(100% - 20px) + + p, + textarea, + input[type="text"], + input[type="email"], + input[type="password"], + input[type="file"] + margin: 4px 0 12px + width: 100% + box-sizing: border-box + + .pop-over-list + li > a + width: calc(100% - 20px) + padding: 10px 10px + margin: 0px 0px + border-bottom: 1px solid #eee + + hr + width: 100% + height: 20px + margin: 0px 0px + color: #eee + + for depth in (1..6) + .popup-container-depth-{depth} + transform: translateX(- depth * 10%) diff --git a/client/components/main/popup.tpl.jade b/client/components/main/popup.tpl.jade new file mode 100644 index 0000000..1add603 --- /dev/null +++ b/client/components/main/popup.tpl.jade @@ -0,0 +1,23 @@ +.pop-over.js-pop-over( + class="{{#unless title}}miniprofile{{/unless}}" + class=currentBoard.colorClass + class="{{#unless title}}no-title{{/unless}}" + style="left:{{offset.left}}px; top:{{offset.top}}px;") + .header + a.back-btn.js-back-view(class="{{#unless hasPopupParent}}is-hidden{{/unless}}") + i.fa.fa-chevron-left + span.header-title= title + a.close-btn.js-close-pop-over + i.fa.fa-times-thin + .content-wrapper + //- + We display the all stack of popup content next to each other and move + the "window" by translating .content-container inside .content-wrapper. + .content-container(class="popup-container-depth-{{depth}}") + each stack + //- + XXX We need a better way to express the "is the last element" condition. + Hopefully the @last helper will come soon (or at least @index) + .content(class="{{#unless $eq popupName ../popupName}}no-height{{/unless}}") + +Template.dynamic(template=popupName data=dataContext) + .clearfix diff --git a/client/components/main/spinner.styl b/client/components/main/spinner.styl new file mode 100644 index 0000000..65c5fe6 --- /dev/null +++ b/client/components/main/spinner.styl @@ -0,0 +1,43 @@ +@import 'nib' + +/* + * From https://github.com/tobiasahlin/SpinKit + * + * Usage: + * + *
+ *
+ *
+ *
+ *
+ *
+ *
+ * + */ + +.sk-spinner { + width: 50px; + height: 50px; + margin: auto; + text-align: center; + font-size: 10px; + + div { + background-color: #333; + height: 100%; + width: 6px; + display: inline-block; + + animation: sk-waveStretchDelay 1.2s infinite ease-in-out; + } + + .sk-rect2 { animation-delay: -1.1s } + .sk-rect3 { animation-delay: -1.0s } + .sk-rect4 { animation-delay: -0.9s } + .sk-rect5 { animation-delay: -0.8s } +} + +@keyframes sk-waveStretchDelay { + 0%, 40%, 100% { transform: scaleY(0.4) } + 20% { transform: scaleY(1.0) } +} diff --git a/client/components/main/spinner.tpl.jade b/client/components/main/spinner.tpl.jade new file mode 100644 index 0000000..9310a6e --- /dev/null +++ b/client/components/main/spinner.tpl.jade @@ -0,0 +1,6 @@ +.sk-spinner.sk-spinner-wave(class=currentBoard.colorClass) + .sk-rect1 + .sk-rect2 + .sk-rect3 + .sk-rect4 + .sk-rect5 diff --git a/client/components/mixins/infiniteScrolling.js b/client/components/mixins/infiniteScrolling.js new file mode 100644 index 0000000..722774c --- /dev/null +++ b/client/components/mixins/infiniteScrolling.js @@ -0,0 +1,34 @@ +const peakAnticipation = 200; + +Mixins.InfiniteScrolling = BlazeComponent.extendComponent({ + onCreated() { + this._nextPeak = Infinity; + }, + + setNextPeak(v) { + this._nextPeak = v; + }, + + getNextPeak() { + return this._nextPeak; + }, + + resetNextPeak() { + this._nextPeak = Infinity; + }, + + events() { + return [ + { + scroll(evt) { + const domElement = evt.currentTarget; + let altitude = domElement.scrollTop + domElement.offsetHeight; + altitude += peakAnticipation; + if (altitude >= this.callFirstWith(null, 'getNextPeak')) { + this.mixinParent().callFirstWith(null, 'reachNextPeak'); + } + }, + }, + ]; + }, +}); diff --git a/client/components/notifications/notification.jade b/client/components/notifications/notification.jade new file mode 100644 index 0000000..c98bbdb --- /dev/null +++ b/client/components/notifications/notification.jade @@ -0,0 +1,10 @@ +template(name='notification') + li.notification(class="{{#if read}}read{{/if}}") + .read-status + .materialCheckBox(class="{{#if read}}is-checked{{/if}}") + +notificationIcon(activityData) + .details + +activity(activity=activityData mode='none') + if read + .remove + a.fa.fa-trash diff --git a/client/components/notifications/notification.js b/client/components/notifications/notification.js new file mode 100644 index 0000000..8927752 --- /dev/null +++ b/client/components/notifications/notification.js @@ -0,0 +1,28 @@ +Template.notification.events({ + 'click .read-status .materialCheckBox'() { + const update = {}; + update[`profile.notifications.${this.index}.read`] = this.read + ? null + : Date.now(); + Users.update(Meteor.userId(), { $set: update }); + }, + 'click .remove a'() { + Meteor.user().removeNotification(this.activityData._id); + }, +}); + +Template.notification.helpers({ + mode: 'board', + isOfActivityType(activityId, type) { + const activity = Activities.findOne(activityId); + return activity && activity.activityType === type; + }, + activityType(activityId) { + const activity = Activities.findOne(activityId); + return activity ? activity.activityType : ''; + }, + activityUser(activityId) { + const activity = Activities.findOne(activityId); + return activity && activity.userId; + }, +}); diff --git a/client/components/notifications/notification.styl b/client/components/notifications/notification.styl new file mode 100644 index 0000000..0cf0cfd --- /dev/null +++ b/client/components/notifications/notification.styl @@ -0,0 +1,57 @@ +#notifications-drawer + &.show-read .notification.read + display: flex + + .notification + display: flex + float: none + padding: 12px 8px 8px + color: black + border-bottom: 1px solid #dbdbdb + + &.read + display: none + + .read-status + width: 30px + + input + width: 24px + height: 24px + + .activity-type + margin: 16px 0 0 + width: 17px + height: 17px + font-size: 17px + display: block + color: #bbb + + .details + width: calc(100% - 30px) + + .activity + display: flex + + .activity-desc + width: 100%; + + .activity-comment + display: block + width: 100% + border-radius: 3px + background: #fff + text-decoration: none + box-shadow: 0 1px 2px rgba(0,0,0,0.2) + margin-top: 5px + padding: 5px + + .activity-meta + display: block + font-size: 0.8em + color: #999 + font-style: italic + + .remove + a:hover + color #eb4646 !important diff --git a/client/components/notifications/notificationIcon.jade b/client/components/notifications/notificationIcon.jade new file mode 100644 index 0000000..0437760 --- /dev/null +++ b/client/components/notifications/notificationIcon.jade @@ -0,0 +1,53 @@ +template(name='notificationIcon') + if($in activityType 'deleteAttachment' 'addAttachment') + i.fa.fa-paperclip.activity-type(title="attachment") + else if($in activityType 'createBoard' 'importBoard') + i.fa.fa-chalkboard.activity-type(title="board") + + else if($in activityType 'createCard' 'importCard' 'moveCard') + +cardNotificationIcon + else if($in activityType 'moveCardBoard' 'archivedCard' 'restoredCard') + +cardNotificationIcon + //- $in can only handle up to 3 cases so we have to break this case over 2 cases... use a simple template to keep it + //- DRY and consistant + + else if($in activityType 'addChecklist' 'removedChecklist' 'completeChecklist') + +checklistNotificationIcon + else if($in activityType 'uncompleteChecklist') + +checklistNotificationIcon + //- $in can only handle up to 3 cases so we have to break this case over 2 cases... use a simple template to keep it + //- DRY and consistant + + else if($in activityType 'checkedItem' 'uncheckedItem' 'addChecklistItem' 'removedChecklistItem') + i.fa.fa-check-square.activity-type(title="checklist item") + else if($in activityType 'addComment') + i.fa.fa-comment-o.activity-type(title="comment") + else if($in activityType 'createCustomField' 'setCustomField' 'unsetCustomField') + i.fa.fa-code.activity-type(title="custom field") + else if($in activityType 'addedLabel' 'removedLabel') + i.fa.fa-tag.activity-type(title="label") + + else if($in activityType 'createList' 'removeList' 'archivedList') + +listNotificationIcon + else if($in activityType 'importList') + +listNotificationIcon + //- $in can only handle up to 3 cases so we have to break this case over 2 cases... use a simple template to keep it + //- DRY and consistant + + //- elswhere in the app we use fa-trello to indicate lists... + //- i personally like fa-columns a bit better + else if($in activityType 'unjoinMember' 'addBoardMember' 'joinMember' 'removeBoardMember') + i.fa.fa-user.activity-type(title="member") + else if($in activityType 'createSwimlane' 'archivedSwimlane') + i.fa.fa-th-large.activity-type(title="swimlane") + else + i.fa.fa-bug.activity-type(title="can't find icon for #{activityType}") + +template(name='cardNotificationIcon') + i.fa.fa-clone.activity-type(title="card") + +template(name='checklistNotificationIcon') + i.fa.fa-list.activity-type(title="checklist") + +template(name='listNotificationIcon') + i.fa.fa-columns.activity-type(title="list") diff --git a/client/components/notifications/notifications.jade b/client/components/notifications/notifications.jade new file mode 100644 index 0000000..bf8acbb --- /dev/null +++ b/client/components/notifications/notifications.jade @@ -0,0 +1,5 @@ +template(name='notifications') + #notifications.board-header-btns.right + a.notifications-drawer-toggle.fa.fa-bell(class="{{#if $gt unreadNotifications 0}}alert{{/if}}") + if $.Session.get 'showNotificationsDrawer' + +notificationsDrawer(unreadNotifications=unreadNotifications) diff --git a/client/components/notifications/notifications.js b/client/components/notifications/notifications.js new file mode 100644 index 0000000..c0aa6cb --- /dev/null +++ b/client/components/notifications/notifications.js @@ -0,0 +1,32 @@ +// this hides the notifications drawer if anyone clicks off of the panel +Template.body.events({ + click(event) { + if ( + !$(event.target).is('#notifications *') && + Session.get('showNotificationsDrawer') + ) { + toggleNotificationsDrawer(); + } + }, +}); + +Template.notifications.helpers({ + unreadNotifications() { + const notifications = Users.findOne(Meteor.userId()).notifications(); + const unreadNotifications = _.filter(notifications, v => !v.read); + return unreadNotifications.length; + }, +}); + +Template.notifications.events({ + 'click .notifications-drawer-toggle'() { + toggleNotificationsDrawer(); + }, +}); + +export function toggleNotificationsDrawer() { + Session.set( + 'showNotificationsDrawer', + !Session.get('showNotificationsDrawer'), + ); +} diff --git a/client/components/notifications/notifications.styl b/client/components/notifications/notifications.styl new file mode 100644 index 0000000..710cd3f --- /dev/null +++ b/client/components/notifications/notifications.styl @@ -0,0 +1,17 @@ +#notifications + position: relative + + .notifications-drawer-toggle + display: block + line-height: 28px + color: #f2f2f2 + margin: 0 10px + width: 28px + height: 28px + text-align: center + border: 0 + padding: 0 + + &.alert + background-color: #eb4646; + diff --git a/client/components/notifications/notificationsDrawer.jade b/client/components/notifications/notificationsDrawer.jade new file mode 100644 index 0000000..fee6aef --- /dev/null +++ b/client/components/notifications/notificationsDrawer.jade @@ -0,0 +1,20 @@ +template(name='notificationsDrawer') + section#notifications-drawer(class="{{#if $.Session.get 'showReadNotifications'}}show-read{{/if}}") + .header + if $.Session.get 'showReadNotifications' + a.toggle-read {{_ 'filter-by-unread'}} + else + a.toggle-read {{_ 'view-all'}} + h5 {{_ 'notifications'}} + if($gt unreadNotifications 0) + |(#{unreadNotifications}) + a.fa.fa-times-thin.close + ul.notifications + each transformedProfile.notifications + +notification(activityData=activity index=dbIndex read=read) + if($gt unreadNotifications 0) + a.all-read {{_ 'mark-all-as-read'}} + if ($and ($.Session.get 'showReadNotifications') ($gt readNotifications 0)) + a.remove-read + i.fa.fa-trash + | {{_ 'remove-all-read'}} diff --git a/client/components/notifications/notificationsDrawer.js b/client/components/notifications/notificationsDrawer.js new file mode 100644 index 0000000..76abeea --- /dev/null +++ b/client/components/notifications/notificationsDrawer.js @@ -0,0 +1,53 @@ +import { toggleNotificationsDrawer } from './notifications.js'; + +Template.notificationsDrawer.onCreated(function() { + Meteor.subscribe('notificationActivities'); + Meteor.subscribe('notificationCards'); + Meteor.subscribe('notificationUsers'); + Meteor.subscribe('notificationsAttachments'); + Meteor.subscribe('notificationChecklistItems'); + Meteor.subscribe('notificationChecklists'); + Meteor.subscribe('notificationComments'); + Meteor.subscribe('notificationLists'); + Meteor.subscribe('notificationSwimlanes'); +}); + +Template.notificationsDrawer.helpers({ + transformedProfile() { + return Users.findOne(Meteor.userId()); + }, + readNotifications() { + const readNotifications = _.filter( + Meteor.user().profile.notifications, + v => !!v.read, + ); + return readNotifications.length; + }, +}); + +Template.notificationsDrawer.events({ + 'click .all-read'() { + const notifications = Meteor.user().profile.notifications; + for (const index in notifications) { + if (notifications.hasOwnProperty(index) && !notifications[index].read) { + const update = {}; + update[`profile.notifications.${index}.read`] = Date.now(); + Users.update(Meteor.userId(), { $set: update }); + } + } + }, + 'click .close'() { + toggleNotificationsDrawer(); + }, + 'click .toggle-read'() { + Session.set('showReadNotifications', !Session.get('showReadNotifications')); + }, + 'click .remove-read'() { + const user = Meteor.user(); + for (const notification of user.profile.notifications) { + if (notification.read) { + user.removeNotification(notification.activity); + } + } + }, +}); diff --git a/client/components/notifications/notificationsDrawer.styl b/client/components/notifications/notificationsDrawer.styl new file mode 100644 index 0000000..f99e129 --- /dev/null +++ b/client/components/notifications/notificationsDrawer.styl @@ -0,0 +1,69 @@ +belize = #2980b9 + +section#notifications-drawer + position: fixed + top: 28px + right: 0 + width: 400px + background-color: #fafafa + box-shadow: 0 1px 2px rgba(0,0,0,0.15) + border-radius: 2px + max-height: calc(100vh - 28px - 36px) + color: black + padding-top 36px + + a:hover + color: belize !important + + .header + position: fixed + top 28px + right 0 + width calc(400px - 32px) + padding: 8px 16px + background: #ededed + border-bottom: 1px solid #dbdbdb + z-index 2 + + .toggle-read + position absolute + left 16px + top calc(50% - 8px) + color belize + + h5 + text-align: center + margin: 0 + + .close + position: absolute + top: calc(50% - 12px) + right: 12px + font-size: 24px + height: 24px + line-height: 24px + opacity 1 + + .all-read, + .remove-read + color belize + background-color: #fafafa + margin 8px 16px 12px + display inline-block + + .remove-read + float right + + &:hover + color #eb4646 !important + + i.fa + color inherit + + + ul.notifications + display: block + padding: 0px 16px + margin: 0 + height: calc(100vh - 102px) + overflow-y: scroll diff --git a/client/components/rules/.DS_Store b/client/components/rules/.DS_Store new file mode 100644 index 0000000..5008ddf Binary files /dev/null and b/client/components/rules/.DS_Store differ diff --git a/client/components/rules/actions/boardActions.jade b/client/components/rules/actions/boardActions.jade new file mode 100644 index 0000000..fda1506 --- /dev/null +++ b/client/components/rules/actions/boardActions.jade @@ -0,0 +1,85 @@ +template(name="boardActions") + div.trigger-item + div.trigger-content + div.trigger-text + | {{_'r-move-card-to'}} + div.trigger-dropdown + select(id="move-gen-action") + option(value="top") {{_'r-top-of'}} + option(value="bottom") {{_'r-bottom-of'}} + div.trigger-text + | {{_'r-its-list'}} + div.trigger-button.js-add-gen-move-action.js-goto-rules + i.fa.fa-plus + + div.trigger-item + div.trigger-content + div.trigger-text + | {{_'r-move-card-to'}} + div.trigger-dropdown + select(id="move-spec-action") + option(value="top") {{_'r-top-of'}} + option(value="bottom") {{_'r-bottom-of'}} + div.trigger-text + | {{_'r-the-board'}} + div.trigger-dropdown + select(id="board-id") + each boards + if $eq _id currentBoard._id + option(value="{{_id}}" selected) {{_ 'current'}} + else + option(value="{{_id}}") {{title}} + div.trigger-text + | {{_'r-in-list'}} + div.trigger-dropdown + input(id="listName",type=text,placeholder="{{_'r-name'}}") + div.trigger-text + | {{_'r-in-swimlane'}} + div.trigger-dropdown + input(id="swimlaneName",type=text,placeholder="{{_'r-name'}}") + div.trigger-button.js-add-spec-move-action.js-goto-rules + i.fa.fa-plus + + div.trigger-item + div.trigger-content + div.trigger-dropdown + select(id="arch-action") + option(value="archive") {{_'r-archive'}} + option(value="unarchive") {{_'r-unarchive'}} + div.trigger-text + | {{_'r-card'}} + div.trigger-button.js-add-arch-action.js-goto-rules + i.fa.fa-plus + + div.trigger-item + div.trigger-content + div.trigger-text + | {{_'r-add-swimlane'}} + div.trigger-dropdown + input(id="swimlane-name",type=text,placeholder="{{_'r-name'}}") + div.trigger-button.js-add-swimlane-action.js-goto-rules + i.fa.fa-plus + + div.trigger-item + div.trigger-content + div.trigger-text + | {{_'r-create-card'}} + div.trigger-dropdown + input(id="card-name",type=text,placeholder="{{_'r-name'}}") + div.trigger-text + | {{_'r-in-list'}} + div.trigger-dropdown + input(id="list-name",type=text,placeholder="{{_'r-name'}}") + div.trigger-text + | {{_'r-in-swimlane'}} + div.trigger-dropdown + input(id="swimlane-name2",type=text,placeholder="{{_'r-name'}}") + div.trigger-button.js-create-card-action.js-goto-rules + i.fa.fa-plus + + + + + + + diff --git a/client/components/rules/actions/boardActions.js b/client/components/rules/actions/boardActions.js new file mode 100644 index 0000000..5675873 --- /dev/null +++ b/client/components/rules/actions/boardActions.js @@ -0,0 +1,185 @@ +BlazeComponent.extendComponent({ + onCreated() {}, + + boards() { + const boards = Boards.find( + { + archived: false, + 'members.userId': Meteor.userId(), + _id: { + $ne: Meteor.user().getTemplatesBoardId(), + }, + }, + { + sort: { sort: 1 /* boards default sorting */ }, + }, + ); + return boards; + }, + + events() { + return [ + { + 'click .js-create-card-action'(event) { + const ruleName = this.data().ruleName.get(); + const trigger = this.data().triggerVar.get(); + const cardName = this.find('#card-name').value; + const listName = this.find('#list-name').value; + const swimlaneName = this.find('#swimlane-name2').value; + const boardId = Session.get('currentBoard'); + const desc = Utils.getTriggerActionDesc(event, this); + const triggerId = Triggers.insert(trigger); + const actionId = Actions.insert({ + actionType: 'createCard', + swimlaneName, + cardName, + listName, + boardId, + desc, + }); + Rules.insert({ + title: ruleName, + triggerId, + actionId, + boardId, + }); + }, + 'click .js-add-swimlane-action'(event) { + const ruleName = this.data().ruleName.get(); + const trigger = this.data().triggerVar.get(); + const swimlaneName = this.find('#swimlane-name').value; + const boardId = Session.get('currentBoard'); + const desc = Utils.getTriggerActionDesc(event, this); + const triggerId = Triggers.insert(trigger); + const actionId = Actions.insert({ + actionType: 'addSwimlane', + swimlaneName, + boardId, + desc, + }); + Rules.insert({ + title: ruleName, + triggerId, + actionId, + boardId, + }); + }, + 'click .js-add-spec-move-action'(event) { + const ruleName = this.data().ruleName.get(); + const trigger = this.data().triggerVar.get(); + const actionSelected = this.find('#move-spec-action').value; + const swimlaneName = this.find('#swimlaneName').value || '*'; + const listName = this.find('#listName').value || '*'; + const boardId = Session.get('currentBoard'); + const destBoardId = this.find('#board-id').value; + const desc = Utils.getTriggerActionDesc(event, this); + if (actionSelected === 'top') { + const triggerId = Triggers.insert(trigger); + const actionId = Actions.insert({ + actionType: 'moveCardToTop', + listName, + swimlaneName, + boardId: destBoardId, + desc, + }); + Rules.insert({ + title: ruleName, + triggerId, + actionId, + boardId, + }); + } + if (actionSelected === 'bottom') { + const triggerId = Triggers.insert(trigger); + const actionId = Actions.insert({ + actionType: 'moveCardToBottom', + listName, + swimlaneName, + boardId: destBoardId, + desc, + }); + Rules.insert({ + title: ruleName, + triggerId, + actionId, + boardId, + }); + } + }, + 'click .js-add-gen-move-action'(event) { + const desc = Utils.getTriggerActionDesc(event, this); + const boardId = Session.get('currentBoard'); + const ruleName = this.data().ruleName.get(); + const trigger = this.data().triggerVar.get(); + const actionSelected = this.find('#move-gen-action').value; + if (actionSelected === 'top') { + const triggerId = Triggers.insert(trigger); + const actionId = Actions.insert({ + actionType: 'moveCardToTop', + listTitle: '*', + boardId, + desc, + }); + Rules.insert({ + title: ruleName, + triggerId, + actionId, + boardId, + }); + } + if (actionSelected === 'bottom') { + const triggerId = Triggers.insert(trigger); + const actionId = Actions.insert({ + actionType: 'moveCardToBottom', + listTitle: '*', + boardId, + desc, + }); + Rules.insert({ + title: ruleName, + triggerId, + actionId, + boardId, + }); + } + }, + 'click .js-add-arch-action'(event) { + const desc = Utils.getTriggerActionDesc(event, this); + const boardId = Session.get('currentBoard'); + const ruleName = this.data().ruleName.get(); + const trigger = this.data().triggerVar.get(); + const actionSelected = this.find('#arch-action').value; + if (actionSelected === 'archive') { + const triggerId = Triggers.insert(trigger); + const actionId = Actions.insert({ + actionType: 'archive', + boardId, + desc, + }); + Rules.insert({ + title: ruleName, + triggerId, + actionId, + boardId, + }); + } + if (actionSelected === 'unarchive') { + const triggerId = Triggers.insert(trigger); + const actionId = Actions.insert({ + actionType: 'unarchive', + boardId, + desc, + }); + Rules.insert({ + title: ruleName, + triggerId, + actionId, + boardId, + }); + } + }, + }, + ]; + }, +}).register('boardActions'); +/* eslint-no-undef */ diff --git a/client/components/rules/actions/cardActions.jade b/client/components/rules/actions/cardActions.jade new file mode 100644 index 0000000..0840283 --- /dev/null +++ b/client/components/rules/actions/cardActions.jade @@ -0,0 +1,88 @@ +template(name="cardActions") + div.trigger-item + div.trigger-content + div.trigger-dropdown + select(id="setdate-action") + option(value="setDate") {{{_'r-set'}}} + option(value="updateDate") {{{_'r-update'}}} + div.trigger-text + | {{{_'r-datefield'}}} + div.trigger-dropdown + select(id="setdate-datefield") + option(value="startAt") {{{_'r-df-start-at'}}} + option(value="dueAt") {{{_'r-df-due-at'}}} + option(value="endAt") {{{_'r-df-end-at'}}} + option(value="receivedAt") {{{_'r-df-received-at'}}} + div.trigger-text + | {{{_'r-to-current-datetime'}}} + div.trigger-button.js-set-date-action.js-goto-rules + i.fa.fa-plus + + div.trigger-item + div.trigger-content + div.trigger-text + | {{{_'r-remove-value-from'}}} + | {{{_'r-datefield'}}} + div.trigger-dropdown + select(id="setdate-removedatefieldvalue") + option(value="startAt") {{{_'r-df-start-at'}}} + option(value="dueAt") {{{_'r-df-due-at'}}} + option(value="endAt") {{{_'r-df-end-at'}}} + option(value="receivedAt") {{{_'r-df-received-at'}}} + div.trigger-button.js-remove-datevalue-action.js-goto-rules + i.fa.fa-plus + + div.trigger-item + div.trigger-content + div.trigger-dropdown + select(id="label-action") + option(value="add") {{{_'r-add'}}} + option(value="remove") {{{_'r-remove'}}} + div.trigger-text + | {{{_'r-label'}}} + div.trigger-dropdown + select(id="label-id") + each labels + option(value="#{_id}") + = name + div.trigger-button.js-add-label-action.js-goto-rules + i.fa.fa-plus + + div.trigger-item + div.trigger-content + div.trigger-dropdown + select(id="member-action") + option(value="add") {{{_'r-add'}}} + option(value="remove") {{{_'r-remove'}}} + div.trigger-text + | {{{_'r-member'}}} + div.trigger-dropdown + input(id="member-name",type=text,placeholder="{{{_'r-name'}}}") + div.trigger-button.js-add-member-action.js-goto-rules + i.fa.fa-plus + + div.trigger-item + div.trigger-content + div.trigger-text + | {{{_'r-remove-all'}}} + div.trigger-button.js-add-removeall-action.js-goto-rules + i.fa.fa-plus + + div.trigger-item + div.trigger-content + div.trigger-text + | {{{_'r-set-color'}}} + button.trigger-button.trigger-button-color.js-show-color-palette( + id="color-action" + class="card-details-{{cardColorButton}}") + | {{_ cardColorButtonText }} + div.trigger-button.js-set-color-action.js-goto-rules + i.fa.fa-plus + +template(name="setCardActionsColorPopup") + form.edit-label + .palette-colors: each colors + span.card-label.palette-color.js-palette-color(class="card-details-{{color}}") + if(isSelected color) + i.fa.fa-check + button.primary.confirm.js-submit {{_ 'save'}} diff --git a/client/components/rules/actions/cardActions.js b/client/components/rules/actions/cardActions.js new file mode 100644 index 0000000..2290249 --- /dev/null +++ b/client/components/rules/actions/cardActions.js @@ -0,0 +1,240 @@ +let cardColors; +Meteor.startup(() => { + cardColors = Cards.simpleSchema()._schema.color.allowedValues; +}); + +BlazeComponent.extendComponent({ + onCreated() { + this.subscribe('allRules'); + this.cardColorButtonValue = new ReactiveVar('green'); + }, + + cardColorButton() { + return this.cardColorButtonValue.get(); + }, + + cardColorButtonText() { + return `color-${this.cardColorButtonValue.get()}`; + }, + + labels() { + const labels = Boards.findOne(Session.get('currentBoard')).labels; + for (let i = 0; i < labels.length; i++) { + if (labels[i].name === '' || labels[i].name === undefined) { + labels[i].name = labels[i].color.toUpperCase(); + } + } + return labels; + }, + + events() { + return [ + { + 'click .js-set-date-action'(event) { + const ruleName = this.data().ruleName.get(); + const trigger = this.data().triggerVar.get(); + const triggerId = Triggers.insert(trigger); + const actionSelected = this.find('#setdate-action').value; + const dateFieldSelected = this.find('#setdate-datefield').value; + const boardId = Session.get('currentBoard'); + const desc = Utils.getTriggerActionDesc(event, this); + + const actionId = Actions.insert({ + actionType: actionSelected, + dateField: dateFieldSelected, + boardId, + desc, + }); + + Rules.insert({ + title: ruleName, + triggerId, + actionId, + boardId, + desc, + }); + }, + + 'click .js-remove-datevalue-action'(event) { + const ruleName = this.data().ruleName.get(); + const trigger = this.data().triggerVar.get(); + const triggerId = Triggers.insert(trigger); + const dateFieldSelected = this.find('#setdate-removedatefieldvalue') + .value; + const boardId = Session.get('currentBoard'); + const desc = Utils.getTriggerActionDesc(event, this); + + const actionId = Actions.insert({ + actionType: 'removeDate', + dateField: dateFieldSelected, + boardId, + desc, + }); + + Rules.insert({ + title: ruleName, + triggerId, + actionId, + boardId, + desc, + }); + }, + 'click .js-add-label-action'(event) { + const ruleName = this.data().ruleName.get(); + const trigger = this.data().triggerVar.get(); + const actionSelected = this.find('#label-action').value; + const labelId = this.find('#label-id').value; + const boardId = Session.get('currentBoard'); + const desc = Utils.getTriggerActionDesc(event, this); + if (actionSelected === 'add') { + const triggerId = Triggers.insert(trigger); + const actionId = Actions.insert({ + actionType: 'addLabel', + labelId, + boardId, + desc, + }); + Rules.insert({ + title: ruleName, + triggerId, + actionId, + boardId, + }); + } + if (actionSelected === 'remove') { + const triggerId = Triggers.insert(trigger); + const actionId = Actions.insert({ + actionType: 'removeLabel', + labelId, + boardId, + desc, + }); + Rules.insert({ + title: ruleName, + triggerId, + actionId, + boardId, + }); + } + }, + 'click .js-add-member-action'(event) { + const ruleName = this.data().ruleName.get(); + const trigger = this.data().triggerVar.get(); + const actionSelected = this.find('#member-action').value; + const username = this.find('#member-name').value; + const boardId = Session.get('currentBoard'); + const desc = Utils.getTriggerActionDesc(event, this); + if (actionSelected === 'add') { + const triggerId = Triggers.insert(trigger); + const actionId = Actions.insert({ + actionType: 'addMember', + username, + boardId, + desc, + }); + Rules.insert({ + title: ruleName, + triggerId, + actionId, + boardId, + desc, + }); + } + if (actionSelected === 'remove') { + const triggerId = Triggers.insert(trigger); + const actionId = Actions.insert({ + actionType: 'removeMember', + username, + boardId, + desc, + }); + Rules.insert({ + title: ruleName, + triggerId, + actionId, + boardId, + }); + } + }, + 'click .js-add-removeall-action'(event) { + const ruleName = this.data().ruleName.get(); + const trigger = this.data().triggerVar.get(); + const triggerId = Triggers.insert(trigger); + const desc = Utils.getTriggerActionDesc(event, this); + const boardId = Session.get('currentBoard'); + const actionId = Actions.insert({ + actionType: 'removeMember', + // deepcode ignore NoHardcodedCredentials: it's no credential + username: '*', + boardId, + desc, + }); + Rules.insert({ + title: ruleName, + triggerId, + actionId, + boardId, + }); + }, + 'click .js-show-color-palette'(event) { + const funct = Popup.open('setCardActionsColor'); + const colorButton = this.find('#color-action'); + if (colorButton.value === '') { + colorButton.value = 'green'; + } + funct.call(this, event); + }, + 'click .js-set-color-action'(event) { + const ruleName = this.data().ruleName.get(); + const trigger = this.data().triggerVar.get(); + const selectedColor = this.cardColorButtonValue.get(); + const boardId = Session.get('currentBoard'); + const desc = Utils.getTriggerActionDesc(event, this); + const triggerId = Triggers.insert(trigger); + const actionId = Actions.insert({ + actionType: 'setColor', + selectedColor, + boardId, + desc, + }); + Rules.insert({ + title: ruleName, + triggerId, + actionId, + boardId, + }); + }, + }, + ]; + }, +}).register('cardActions'); + +BlazeComponent.extendComponent({ + onCreated() { + this.currentAction = this.currentData(); + this.colorButtonValue = Popup.getOpenerComponent().cardColorButtonValue; + this.currentColor = new ReactiveVar(this.colorButtonValue.get()); + }, + + colors() { + return cardColors.map(color => ({ color, name: '' })); + }, + + isSelected(color) { + return this.currentColor.get() === color; + }, + + events() { + return [ + { + 'click .js-palette-color'() { + this.currentColor.set(this.currentData().color); + }, + 'click .js-submit'() { + this.colorButtonValue.set(this.currentColor.get()); + Popup.close(); + }, + }, + ]; + }, +}).register('setCardActionsColorPopup'); diff --git a/client/components/rules/actions/checklistActions.jade b/client/components/rules/actions/checklistActions.jade new file mode 100644 index 0000000..94c6355 --- /dev/null +++ b/client/components/rules/actions/checklistActions.jade @@ -0,0 +1,70 @@ +template(name="checklistActions") + div.trigger-item + div.trigger-content + div.trigger-dropdown + select(id="check-action") + option(value="add") {{{_'r-add'}}} + option(value="remove") {{{_'r-remove'}}} + div.trigger-text + | {{{_'r-checklist'}}} + div.trigger-dropdown + input(id="checklist-name",type=text,placeholder="{{{_'r-name'}}}") + div.trigger-button.js-add-checklist-action.js-goto-rules + i.fa.fa-plus + + div.trigger-item + div.trigger-content + div.trigger-dropdown + select(id="checkall-action") + option(value="check") {{{_'r-check-all'}}} + option(value="uncheck") {{{_'r-uncheck-all'}}} + div.trigger-text + | {{{_'r-items-check'}}} + div.trigger-dropdown + input(id="checklist-name2",type=text,placeholder="{{{_'r-name'}}}") + div.trigger-button.js-add-checkall-action.js-goto-rules + i.fa.fa-plus + + + div.trigger-item + div.trigger-content + div.trigger-dropdown + select(id="check-item-action") + option(value="check") {{{_'r-check'}}} + option(value="uncheck") {{{_'r-uncheck'}}} + div.trigger-text + | {{{_'r-item'}}} + div.trigger-dropdown + input(id="checkitem-name",type=text,placeholder="{{{_'r-name'}}}") + div.trigger-text + | {{{_'r-of-checklist'}}} + div.trigger-dropdown + input(id="checklist-name3",type=text,placeholder="{{{_'r-name'}}}") + div.trigger-button.js-add-check-item-action.js-goto-rules + i.fa.fa-plus + + div.trigger-item + div.trigger-content + div.trigger-text + | {{{_'r-add-checklist'}}} + div.trigger-dropdown + input(id="checklist-name-3",type=text,placeholder="{{{_'r-name'}}}") + div.trigger-text + | {{{_'r-with-items'}}} + div.trigger-dropdown + input(id="checklist-items",type=text,placeholder="{{{_'r-items-list'}}}") + div.trigger-button.js-add-checklist-items-action.js-goto-rules + i.fa.fa-plus + + div.trigger-item + div.trigger-content + div.trigger-text + | {{{_'r-checklist-note'}}} + + + + + + + + diff --git a/client/components/rules/actions/checklistActions.js b/client/components/rules/actions/checklistActions.js new file mode 100644 index 0000000..64908ab --- /dev/null +++ b/client/components/rules/actions/checklistActions.js @@ -0,0 +1,150 @@ +BlazeComponent.extendComponent({ + onCreated() { + this.subscribe('allRules'); + }, + events() { + return [ + { + 'click .js-add-checklist-items-action'(event) { + const ruleName = this.data().ruleName.get(); + const trigger = this.data().triggerVar.get(); + const checklistName = this.find('#checklist-name-3').value; + const checklistItems = this.find('#checklist-items').value; + const boardId = Session.get('currentBoard'); + const desc = Utils.getTriggerActionDesc(event, this); + const triggerId = Triggers.insert(trigger); + const actionId = Actions.insert({ + actionType: 'addChecklistWithItems', + checklistName, + checklistItems, + boardId, + desc, + }); + Rules.insert({ + title: ruleName, + triggerId, + actionId, + boardId, + }); + }, + 'click .js-add-checklist-action'(event) { + const ruleName = this.data().ruleName.get(); + const trigger = this.data().triggerVar.get(); + const actionSelected = this.find('#check-action').value; + const checklistName = this.find('#checklist-name').value; + const boardId = Session.get('currentBoard'); + const desc = Utils.getTriggerActionDesc(event, this); + if (actionSelected === 'add') { + const triggerId = Triggers.insert(trigger); + const actionId = Actions.insert({ + actionType: 'addChecklist', + checklistName, + boardId, + desc, + }); + Rules.insert({ + title: ruleName, + triggerId, + actionId, + boardId, + }); + } + if (actionSelected === 'remove') { + const triggerId = Triggers.insert(trigger); + const actionId = Actions.insert({ + actionType: 'removeChecklist', + checklistName, + boardId, + desc, + }); + Rules.insert({ + title: ruleName, + triggerId, + actionId, + boardId, + }); + } + }, + 'click .js-add-checkall-action'(event) { + const ruleName = this.data().ruleName.get(); + const trigger = this.data().triggerVar.get(); + const actionSelected = this.find('#checkall-action').value; + const checklistName = this.find('#checklist-name2').value; + const boardId = Session.get('currentBoard'); + const desc = Utils.getTriggerActionDesc(event, this); + if (actionSelected === 'check') { + const triggerId = Triggers.insert(trigger); + const actionId = Actions.insert({ + actionType: 'checkAll', + checklistName, + boardId, + desc, + }); + Rules.insert({ + title: ruleName, + triggerId, + actionId, + boardId, + }); + } + if (actionSelected === 'uncheck') { + const triggerId = Triggers.insert(trigger); + const actionId = Actions.insert({ + actionType: 'uncheckAll', + checklistName, + boardId, + desc, + }); + Rules.insert({ + title: ruleName, + triggerId, + actionId, + boardId, + }); + } + }, + 'click .js-add-check-item-action'(event) { + const ruleName = this.data().ruleName.get(); + const trigger = this.data().triggerVar.get(); + const checkItemName = this.find('#checkitem-name'); + const checklistName = this.find('#checklist-name3'); + const actionSelected = this.find('#check-item-action').value; + const boardId = Session.get('currentBoard'); + const desc = Utils.getTriggerActionDesc(event, this); + if (actionSelected === 'check') { + const triggerId = Triggers.insert(trigger); + const actionId = Actions.insert({ + actionType: 'checkItem', + checklistName, + checkItemName, + boardId, + desc, + }); + Rules.insert({ + title: ruleName, + triggerId, + actionId, + boardId, + }); + } + if (actionSelected === 'uncheck') { + const triggerId = Triggers.insert(trigger); + const actionId = Actions.insert({ + actionType: 'uncheckItem', + checklistName, + checkItemName, + boardId, + desc, + }); + Rules.insert({ + title: ruleName, + triggerId, + actionId, + boardId, + }); + } + }, + }, + ]; + }, +}).register('checklistActions'); diff --git a/client/components/rules/actions/mailActions.jade b/client/components/rules/actions/mailActions.jade new file mode 100644 index 0000000..7be78c7 --- /dev/null +++ b/client/components/rules/actions/mailActions.jade @@ -0,0 +1,11 @@ +template(name="mailActions") + div.trigger-item.trigger-item-mail + div.trigger-content.trigger-content-mail + div.trigger-text.trigger-text-email + | {{_'r-send-email'}} + div.trigger-dropdown-mail + input(id="email-to",type=text,placeholder="{{_'r-to'}}") + input(id="email-subject",type=text,placeholder="{{_'r-subject'}}") + textarea(id="email-msg") + div.trigger-button.trigger-button-email.js-mail-action.js-goto-rules + i.fa.fa-plus diff --git a/client/components/rules/actions/mailActions.js b/client/components/rules/actions/mailActions.js new file mode 100644 index 0000000..87cb925 --- /dev/null +++ b/client/components/rules/actions/mailActions.js @@ -0,0 +1,34 @@ +BlazeComponent.extendComponent({ + onCreated() {}, + + events() { + return [ + { + 'click .js-mail-action'(event) { + const emailTo = this.find('#email-to').value; + const emailSubject = this.find('#email-subject').value; + const emailMsg = this.find('#email-msg').value; + const trigger = this.data().triggerVar.get(); + const ruleName = this.data().ruleName.get(); + const triggerId = Triggers.insert(trigger); + const boardId = Session.get('currentBoard'); + const desc = Utils.getTriggerActionDesc(event, this); + const actionId = Actions.insert({ + actionType: 'sendEmail', + emailTo, + emailSubject, + emailMsg, + boardId, + desc, + }); + Rules.insert({ + title: ruleName, + triggerId, + actionId, + boardId, + }); + }, + }, + ]; + }, +}).register('mailActions'); diff --git a/client/components/rules/ruleDetails.jade b/client/components/rules/ruleDetails.jade new file mode 100644 index 0000000..f1e0b7e --- /dev/null +++ b/client/components/rules/ruleDetails.jade @@ -0,0 +1,24 @@ +template(name="ruleDetails") + .rules + h2 + i.fa.fa-magic + | {{{_ 'r-rule-details' }}} + .triggers-content + .triggers-body + .triggers-main-body + h4 + | {{_ 'r-trigger'}} + div.trigger-item + div.trigger-content + div.trigger-text + = trigger + h4 + | {{_ 'r-action'}} + div.trigger-item + div.trigger-content + div.trigger-text + = action + div.rules-back + button.js-goback + i.fa.fa-chevron-left + | {{{_ 'back'}}} diff --git a/client/components/rules/ruleDetails.js b/client/components/rules/ruleDetails.js new file mode 100644 index 0000000..f0e13de --- /dev/null +++ b/client/components/rules/ruleDetails.js @@ -0,0 +1,36 @@ +BlazeComponent.extendComponent({ + onCreated() { + this.subscribe('allRules'); + this.subscribe('allTriggers'); + this.subscribe('allActions'); + }, + + trigger() { + const ruleId = this.data().ruleId; + const rule = Rules.findOne({ + _id: ruleId.get(), + }); + const trigger = Triggers.findOne({ + _id: rule.triggerId, + }); + const desc = trigger.description(); + const upperdesc = desc.charAt(0).toUpperCase() + desc.substr(1); + return upperdesc; + }, + action() { + const ruleId = this.data().ruleId; + const rule = Rules.findOne({ + _id: ruleId.get(), + }); + const action = Actions.findOne({ + _id: rule.actionId, + }); + const desc = action.description(); + const upperdesc = desc.charAt(0).toUpperCase() + desc.substr(1); + return upperdesc; + }, + + events() { + return [{}]; + }, +}).register('ruleDetails'); diff --git a/client/components/rules/rules.styl b/client/components/rules/rules.styl new file mode 100644 index 0000000..05302f7 --- /dev/null +++ b/client/components/rules/rules.styl @@ -0,0 +1,190 @@ +.rules-list + overflow:hidden + overflow-y:scroll + max-height: 400px +.rules-lists-item + display: block + position: relative + overflow: auto + p + display: inline-block + float: left + margin: revert +.hide-element + display:none !important +.user-details + display:inline-block +.rules-btns-group + position: absolute + right: 0 + top: 50% + transform: translateY(-50%) + button + margin: auto +.rules-add + display: block + overflow: auto + margin-top: 15px + margin-bottom: 5px + input + display: inline-block + float: right + margin: auto + margin-right: 10px + button + display: inline-block + float: right + margin: auto +.rules-back + display: block + overflow: auto + margin-top: 15px + margin-bottom: 5px + button + display: inline-block + float: right + margin: auto + margin-right:14px + +.flex + display: -webkit-box + display: -moz-box + display: -webkit-flex + display: -moz-flex + display: -ms-flexbox + display: flex + + + +.triggers-content + color: #727479 + background: #dedede + .triggers-body + display flex + padding-top 15px + height 100% + + .triggers-side-menu + background-color: #f7f7f7 + border: 1px solid #f0f0f0 + border-radius: 4px + height: intrinsic + box-shadow: inset -1px -1px 3px rgba(0,0,0,.05) + + ul + + li + margin: 0.1rem 0.2rem; + width:50px + height:50px + text-align:center + font-size: 25px + position: relative + + i + position: absolute; + top: 50%; + left: 50%; + box-shadow: none + transform: translate(-50%,-50%); + + + &.active + background #fff + box-shadow 0 1px 2px rgba(0,0,0,0.15); + + &:hover + background #fff + box-shadow 0 1px 2px rgba(0,0,0,0.15); + a + @extends .flex + padding: 1rem 0 1rem 1rem + width: 100% - 5rem + + + span + font-size: 13px + .triggers-main-body + padding: 0.1em 1em + width:100% + .trigger-item + overflow:auto + padding:10px + height:40px + margin-bottom:5px + border-radius: 3px + position: relative + background-color: white + .trigger-content + position:absolute + top:50% + transform: translateY(-50%) + left:10px + .trigger-text + font-size: 16px + display:inline-block + .trigger-inline-button + font-size: 16px + display: inline; + padding: 6px; + border: 1px solid #eee + border-radius: 4px + box-shadow: inset -1px -1px 3px rgba(0,0,0,.05) + &:hover, &.is-active + box-shadow: 0 0 0 2px darken(white, 60%) inset + .trigger-text.trigger-text-email + margin-left: 5px; + margin-top: 10px; + margin-bottom: 10px; + .trigger-dropdown + display:inline-block + select + width:auto + height:30px + margin:0px + margin-left:5px + input + display: inline-block + width: 80px; + margin: 0; + .trigger-content-mail + left:20px + right:100px + .trigger-button + position:absolute + top:50% + transform: translateY(-50%) + width:30px + height:30px + border: 1px solid #eee + border-radius: 4px + box-shadow: inset -1px -1px 3px rgba(0,0,0,.05) + text-align:center + font-size: 20px + right:10px + i + position: absolute + top: 50% + left: 50% + box-shadow: none + transform: translate(-50%,-50%) + &:hover, &.is-active + box-shadow: 0 0 0 2px darken(white, 60%) inset + .trigger-button.trigger-button-email + top:30px + .trigger-button.trigger-button-person + right:-40px + .trigger-button.trigger-button-color + top: unset + position: unset + transform: unset + font-size: 16px + width:auto + padding-left: 10px + padding-right: 10px + height:40px + .trigger-item.trigger-item-mail + height:300px + + + diff --git a/client/components/rules/rulesActions.jade b/client/components/rules/rulesActions.jade new file mode 100644 index 0000000..3ac04e1 --- /dev/null +++ b/client/components/rules/rulesActions.jade @@ -0,0 +1,29 @@ +template(name="rulesActions") + h2 + i.fa.fa-magic + | {{{_ 'r-rule' }}} "#{data.ruleName.get}" - {{{_ 'r-add-action'}}} + .triggers-content + .triggers-body + .triggers-side-menu + ul + li.active.js-set-board-actions + i.fa.fa-columns + li.js-set-card-actions + i.fa.fa-sticky-note + li.js-set-checklist-actions + i.fa.fa-check + li.js-set-mail-actions + i.fa.fa-at + .triggers-main-body + if ($eq currentActions.get 'board') + +boardActions(ruleName=data.ruleName triggerVar=data.triggerVar) + else if ($eq currentActions.get 'card') + +cardActions(ruleName=data.ruleName triggerVar=data.triggerVar) + else if ($eq currentActions.get 'checklist') + +checklistActions(ruleName=data.ruleName triggerVar=data.triggerVar) + else if ($eq currentActions.get 'mail') + +mailActions(ruleName=data.ruleName triggerVar=data.triggerVar) + div.rules-back + button.js-goback + i.fa.fa-chevron-left + | {{{_ 'back'}}} diff --git a/client/components/rules/rulesActions.js b/client/components/rules/rulesActions.js new file mode 100644 index 0000000..9b4f3a7 --- /dev/null +++ b/client/components/rules/rulesActions.js @@ -0,0 +1,60 @@ +BlazeComponent.extendComponent({ + onCreated() { + this.currentActions = new ReactiveVar('board'); + }, + + setBoardActions() { + this.currentActions.set('board'); + $('.js-set-card-actions').removeClass('active'); + $('.js-set-board-actions').addClass('active'); + $('.js-set-checklist-actions').removeClass('active'); + $('.js-set-mail-actions').removeClass('active'); + }, + setCardActions() { + this.currentActions.set('card'); + $('.js-set-card-actions').addClass('active'); + $('.js-set-board-actions').removeClass('active'); + $('.js-set-checklist-actions').removeClass('active'); + $('.js-set-mail-actions').removeClass('active'); + }, + setChecklistActions() { + this.currentActions.set('checklist'); + $('.js-set-card-actions').removeClass('active'); + $('.js-set-board-actions').removeClass('active'); + $('.js-set-checklist-actions').addClass('active'); + $('.js-set-mail-actions').removeClass('active'); + }, + setMailActions() { + this.currentActions.set('mail'); + $('.js-set-card-actions').removeClass('active'); + $('.js-set-board-actions').removeClass('active'); + $('.js-set-checklist-actions').removeClass('active'); + $('.js-set-mail-actions').addClass('active'); + }, + + rules() { + return Rules.find({}); + }, + + name() { + // console.log(this.data()); + }, + events() { + return [ + { + 'click .js-set-board-actions'() { + this.setBoardActions(); + }, + 'click .js-set-card-actions'() { + this.setCardActions(); + }, + 'click .js-set-mail-actions'() { + this.setMailActions(); + }, + 'click .js-set-checklist-actions'() { + this.setChecklistActions(); + }, + }, + ]; + }, +}).register('rulesActions'); diff --git a/client/components/rules/rulesList.jade b/client/components/rules/rulesList.jade new file mode 100644 index 0000000..b8d49a6 --- /dev/null +++ b/client/components/rules/rulesList.jade @@ -0,0 +1,37 @@ +template(name="rulesList") + .rules + h2 + i.fa.fa-magic + | {{{_ 'r-board-rules' }}} + + ul.rules-list + each rules + li.rules-lists-item + p + = title + div.rules-btns-group + button.js-goto-details + i.fa.fa-eye + | {{{_ 'r-view-rule'}}} + if currentUser.isAdmin + button.js-delete-rule + i.fa.fa-trash-o + | {{{_ 'r-delete-rule'}}} + else if currentUser.isBoardAdmin + button.js-delete-rule + i.fa.fa-trash-o + | {{{_ 'r-delete-rule'}}} + else + li.no-items-message {{{_ 'r-no-rules' }}} + if currentUser.isAdmin + div.rules-add + button.js-goto-trigger + i.fa.fa-plus + | {{{_ 'r-add-rule'}}} + input(type=text,placeholder="{{{_ 'r-new-rule-name' }}}",id="ruleTitle") + else if currentUser.isBoardAdmin + div.rules-add + button.js-goto-trigger + i.fa.fa-plus + | {{{_ 'r-add-rule'}}} + input(type=text,placeholder="{{{_ 'r-new-rule-name' }}}",id="ruleTitle") diff --git a/client/components/rules/rulesList.js b/client/components/rules/rulesList.js new file mode 100644 index 0000000..d3923bf --- /dev/null +++ b/client/components/rules/rulesList.js @@ -0,0 +1,15 @@ +BlazeComponent.extendComponent({ + onCreated() { + this.subscribe('allRules'); + }, + + rules() { + const boardId = Session.get('currentBoard'); + return Rules.find({ + boardId, + }); + }, + events() { + return [{}]; + }, +}).register('rulesList'); diff --git a/client/components/rules/rulesMain.jade b/client/components/rules/rulesMain.jade new file mode 100644 index 0000000..dc33ee4 --- /dev/null +++ b/client/components/rules/rulesMain.jade @@ -0,0 +1,9 @@ +template(name="rulesMain") + if($eq rulesCurrentTab.get 'rulesList') + +rulesList + if($eq rulesCurrentTab.get 'trigger') + +rulesTriggers(ruleName=ruleName triggerVar=triggerVar) + if($eq rulesCurrentTab.get 'action') + +rulesActions(ruleName=ruleName triggerVar=triggerVar) + if($eq rulesCurrentTab.get 'ruleDetails') + +ruleDetails(ruleId=ruleId) \ No newline at end of file diff --git a/client/components/rules/rulesMain.js b/client/components/rules/rulesMain.js new file mode 100644 index 0000000..9909149 --- /dev/null +++ b/client/components/rules/rulesMain.js @@ -0,0 +1,101 @@ +BlazeComponent.extendComponent({ + onCreated() { + this.rulesCurrentTab = new ReactiveVar('rulesList'); + this.ruleName = new ReactiveVar(''); + this.triggerVar = new ReactiveVar(); + this.ruleId = new ReactiveVar(); + }, + + setTrigger() { + this.rulesCurrentTab.set('trigger'); + }, + sanitizeObject(obj) { + Object.keys(obj).forEach(key => { + if (obj[key] === '' || obj[key] === undefined) { + obj[key] = '*'; + } + }); + }, + setRulesList() { + this.rulesCurrentTab.set('rulesList'); + }, + + setAction() { + this.rulesCurrentTab.set('action'); + }, + + setRuleDetails() { + this.rulesCurrentTab.set('ruleDetails'); + }, + + events() { + return [ + { + 'click .js-delete-rule'() { + const rule = this.currentData(); + Rules.remove(rule._id); + Actions.remove(rule.actionId); + Triggers.remove(rule.triggerId); + }, + 'click .js-goto-trigger'(event) { + event.preventDefault(); + const ruleTitle = this.find('#ruleTitle').value; + if (ruleTitle !== undefined && ruleTitle !== '') { + this.find('#ruleTitle').value = ''; + this.ruleName.set(ruleTitle); + this.setTrigger(); + } + }, + 'click .js-goto-action'(event) { + event.preventDefault(); + // Add user to the trigger + const username = $(event.currentTarget.offsetParent) + .find('.user-name') + .val(); + let trigger = this.triggerVar.get(); + trigger.userId = '*'; + if (username !== undefined) { + const userFound = Users.findOne({ username }); + if (userFound !== undefined) { + trigger.userId = userFound._id; + this.triggerVar.set(trigger); + } + } + // Sanitize trigger + trigger = this.triggerVar.get(); + this.sanitizeObject(trigger); + this.triggerVar.set(trigger); + this.setAction(); + }, + 'click .js-show-user-field'(event) { + event.preventDefault(); + $(event.currentTarget.offsetParent) + .find('.user-details') + .removeClass('hide-element'); + }, + 'click .js-goto-rules'(event) { + event.preventDefault(); + this.setRulesList(); + }, + 'click .js-goback'(event) { + event.preventDefault(); + if ( + this.rulesCurrentTab.get() === 'trigger' || + this.rulesCurrentTab.get() === 'ruleDetails' + ) { + this.setRulesList(); + } + if (this.rulesCurrentTab.get() === 'action') { + this.setTrigger(); + } + }, + 'click .js-goto-details'(event) { + event.preventDefault(); + const rule = this.currentData(); + this.ruleId.set(rule._id); + this.setRuleDetails(); + }, + }, + ]; + }, +}).register('rulesMain'); diff --git a/client/components/rules/rulesTriggers.jade b/client/components/rules/rulesTriggers.jade new file mode 100644 index 0000000..79d9d98 --- /dev/null +++ b/client/components/rules/rulesTriggers.jade @@ -0,0 +1,25 @@ +template(name="rulesTriggers") + h2 + i.fa.fa-magic + | {{{_ 'r-rule' }}} "#{data.ruleName.get}" - {{{_ 'r-add-trigger'}}} + .triggers-content + .triggers-body + .triggers-side-menu + ul + li.active.js-set-board-triggers + i.fa.fa-columns + li.js-set-card-triggers + i.fa.fa-sticky-note + li.js-set-checklist-triggers + i.fa.fa-check + .triggers-main-body + if showBoardTrigger.get + +boardTriggers + else if showCardTrigger.get + +cardTriggers + else if showChecklistTrigger.get + +checklistTriggers + div.rules-back + button.js-goback + i.fa.fa-chevron-left + | {{{_ 'back'}}} diff --git a/client/components/rules/rulesTriggers.js b/client/components/rules/rulesTriggers.js new file mode 100644 index 0000000..a502fd3 --- /dev/null +++ b/client/components/rules/rulesTriggers.js @@ -0,0 +1,55 @@ +BlazeComponent.extendComponent({ + onCreated() { + this.showBoardTrigger = new ReactiveVar(true); + this.showCardTrigger = new ReactiveVar(false); + this.showChecklistTrigger = new ReactiveVar(false); + }, + + setBoardTriggers() { + this.showBoardTrigger.set(true); + this.showCardTrigger.set(false); + this.showChecklistTrigger.set(false); + $('.js-set-card-triggers').removeClass('active'); + $('.js-set-board-triggers').addClass('active'); + $('.js-set-checklist-triggers').removeClass('active'); + }, + setCardTriggers() { + this.showBoardTrigger.set(false); + this.showCardTrigger.set(true); + this.showChecklistTrigger.set(false); + $('.js-set-card-triggers').addClass('active'); + $('.js-set-board-triggers').removeClass('active'); + $('.js-set-checklist-triggers').removeClass('active'); + }, + setChecklistTriggers() { + this.showBoardTrigger.set(false); + this.showCardTrigger.set(false); + this.showChecklistTrigger.set(true); + $('.js-set-card-triggers').removeClass('active'); + $('.js-set-board-triggers').removeClass('active'); + $('.js-set-checklist-triggers').addClass('active'); + }, + + rules() { + return Rules.find({}); + }, + + name() { + // console.log(this.data()); + }, + events() { + return [ + { + 'click .js-set-board-triggers'() { + this.setBoardTriggers(); + }, + 'click .js-set-card-triggers'() { + this.setCardTriggers(); + }, + 'click .js-set-checklist-triggers'() { + this.setChecklistTriggers(); + }, + }, + ]; + }, +}).register('rulesTriggers'); diff --git a/client/components/rules/triggers/boardTriggers.jade b/client/components/rules/triggers/boardTriggers.jade new file mode 100644 index 0000000..ff1406f --- /dev/null +++ b/client/components/rules/triggers/boardTriggers.jade @@ -0,0 +1,116 @@ +template(name="boardTriggers") + div.trigger-item#trigger-two + div.trigger-content + div.trigger-text + | {{_'r-when-a-card'}} + div.trigger-inline-button.js-open-card-title-popup + i.fa.fa-filter + div.trigger-text + | {{_'r-is'}} + div.trigger-text + | {{_'r-added-to'}} + div.trigger-text + | {{_'r-list'}} + div.trigger-dropdown + input(id="create-list-name",type=text,placeholder="{{_'r-list-name'}}") + div.trigger-text + | {{_'r-in-swimlane'}} + div.trigger-dropdown + input(id="create-swimlane-name",type=text,placeholder="{{_'r-swimlane-name'}}") + div.trigger-button.trigger-button-person.js-show-user-field + i.fa.fa-user + div.user-details.hide-element + div.trigger-text + | {{_'r-by'}} + div.trigger-dropdown + input(class="user-name",type=text,placeholder="{{_'username'}}") + div.trigger-button.js-add-create-trigger.js-goto-action + i.fa.fa-plus + + div.trigger-item#trigger-three + div.trigger-content + div.trigger-text + | {{_'r-when-a-card'}} + div.trigger-inline-button.js-open-card-title-popup + i.fa.fa-filter + div.trigger-text + | {{_'r-is-moved'}} + div.trigger-button.trigger-button-person.js-show-user-field + i.fa.fa-user + div.user-details.hide-element + div.trigger-text + | {{_'r-by'}} + div.trigger-dropdown + input(class="user-name",type=text,placeholder="{{_'username'}}") + div.trigger-button.js-add-gen-moved-trigger.js-goto-action + i.fa.fa-plus + + div.trigger-item#trigger-four + div.trigger-content + div.trigger-text + | {{_'r-when-a-card'}} + div.trigger-inline-button.js-open-card-title-popup + i.fa.fa-filter + div.trigger-text + | {{_'r-is'}} + div.trigger-dropdown + select(id="move-action") + option(value="moved-to") {{_'r-moved-to'}} + option(value="moved-from") {{_'r-moved-from'}} + div.trigger-text + | {{_'r-list'}} + div.trigger-dropdown + input(id="move-list-name",type=text,placeholder="{{_'r-list-name'}}") + div.trigger-text + | {{_'r-in-swimlane'}} + div.trigger-dropdown + input(id="create-swimlane-name-2",type=text,placeholder="{{_'r-swimlane-name'}}") + div.trigger-button.trigger-button-person.js-show-user-field + i.fa.fa-user + div.user-details.hide-element + div.trigger-text + | {{_'r-by'}} + div.trigger-dropdown + input(class="user-name",type=text,placeholder="{{_'username'}}") + div.trigger-button.js-add-moved-trigger.js-goto-action + i.fa.fa-plus + + div.trigger-item#trigger-five + div.trigger-content + div.trigger-text + | {{_'r-when-a-card'}} + div.trigger-inline-button.js-open-card-title-popup + i.fa.fa-filter + div.trigger-text + | {{_'r-is'}} + div.trigger-dropdown + select(id="arch-action") + option(value="archived") {{_'r-archived'}} + option(value="unarchived") {{_'r-unarchived'}} + div.trigger-button.trigger-button-person.js-show-user-field + i.fa.fa-user + div.user-details.hide-element + div.trigger-text + | {{_'r-by'}} + div.trigger-dropdown + input(class="user-name",type=text,placeholder="{{_'username'}}") + div.trigger-button.js-add-arch-trigger.js-goto-action + i.fa.fa-plus + + div.trigger-item + div.trigger-content + div.trigger-text + | {{{_'r-board-note'}}} + +template(name="boardCardTitlePopup") + form + label + | Card Title Filter + input.js-card-filter-name(type="text" value=title autofocus) + input.js-card-filter-button.primary.wide(type="submit" value="{{_ 'set-filter'}}") + + + + + + diff --git a/client/components/rules/triggers/boardTriggers.js b/client/components/rules/triggers/boardTriggers.js new file mode 100644 index 0000000..66ee337 --- /dev/null +++ b/client/components/rules/triggers/boardTriggers.js @@ -0,0 +1,121 @@ +BlazeComponent.extendComponent({ + onCreated() { + this.provaVar = new ReactiveVar(''); + this.currentPopupTriggerId = 'def'; + this.cardTitleFilters = {}; + }, + setNameFilter(name) { + this.cardTitleFilters[this.currentPopupTriggerId] = name; + }, + + events() { + return [ + { + 'click .js-open-card-title-popup'(event) { + const funct = Popup.open('boardCardTitle'); + const divId = $(event.currentTarget.parentNode.parentNode).attr('id'); + //console.log('current popup'); + //console.log(this.currentPopupTriggerId); + this.currentPopupTriggerId = divId; + funct.call(this, event); + }, + 'click .js-add-create-trigger'(event) { + const desc = Utils.getTriggerActionDesc(event, this); + const datas = this.data(); + const listName = this.find('#create-list-name').value; + const swimlaneName = this.find('#create-swimlane-name').value; + const boardId = Session.get('currentBoard'); + const divId = $(event.currentTarget.parentNode).attr('id'); + const cardTitle = this.cardTitleFilters[divId]; + // move to generic funciont + datas.triggerVar.set({ + activityType: 'createCard', + boardId, + cardTitle, + swimlaneName, + listName, + desc, + }); + }, + 'click .js-add-moved-trigger'(event) { + const datas = this.data(); + const desc = Utils.getTriggerActionDesc(event, this); + const swimlaneName = this.find('#create-swimlane-name-2').value; + const actionSelected = this.find('#move-action').value; + const listName = this.find('#move-list-name').value; + const boardId = Session.get('currentBoard'); + const divId = $(event.currentTarget.parentNode).attr('id'); + const cardTitle = this.cardTitleFilters[divId]; + if (actionSelected === 'moved-to') { + datas.triggerVar.set({ + activityType: 'moveCard', + boardId, + listName, + cardTitle, + swimlaneName, + oldListName: '*', + desc, + }); + } + if (actionSelected === 'moved-from') { + datas.triggerVar.set({ + activityType: 'moveCard', + boardId, + cardTitle, + swimlaneName, + listName: '*', + oldListName: listName, + desc, + }); + } + }, + 'click .js-add-gen-moved-trigger'(event) { + const datas = this.data(); + const desc = Utils.getTriggerActionDesc(event, this); + const boardId = Session.get('currentBoard'); + + datas.triggerVar.set({ + activityType: 'moveCard', + boardId, + swimlaneName: '*', + listName: '*', + oldListName: '*', + desc, + }); + }, + 'click .js-add-arc-trigger'(event) { + const datas = this.data(); + const desc = Utils.getTriggerActionDesc(event, this); + const actionSelected = this.find('#arch-action').value; + const boardId = Session.get('currentBoard'); + if (actionSelected === 'archived') { + datas.triggerVar.set({ + activityType: 'archivedCard', + boardId, + desc, + }); + } + if (actionSelected === 'unarchived') { + datas.triggerVar.set({ + activityType: 'restoredCard', + boardId, + desc, + }); + } + }, + }, + ]; + }, +}).register('boardTriggers'); + +Template.boardCardTitlePopup.events({ + submit(event, templateInstance) { + const title = templateInstance + .$('.js-card-filter-name') + .val() + .trim(); + Popup.getOpenerComponent().setNameFilter(title); + event.preventDefault(); + Popup.close(); + }, +}); diff --git a/client/components/rules/triggers/cardTriggers.jade b/client/components/rules/triggers/cardTriggers.jade new file mode 100644 index 0000000..ba4276a --- /dev/null +++ b/client/components/rules/triggers/cardTriggers.jade @@ -0,0 +1,114 @@ +template(name="cardTriggers") + div.trigger-item + div.trigger-content + div.trigger-text + | {{_'r-when-a-label-is'}} + div.trigger-dropdown + select(id="label-action") + option(value="added") {{_'r-added-to'}} + option(value="removed") {{_'r-removed-from'}} + div.trigger-text + | {{_'r-a-card'}} + div.trigger-button.trigger-button-person.js-show-user-field + i.fa.fa-user + div.user-details.hide-element + div.trigger-text + | {{_'r-by'}} + div.trigger-dropdown + input(class="user-name",type=text,placeholder="{{_'username'}}") + div.trigger-button.js-add-gen-label-trigger.js-goto-action + i.fa.fa-plus + + div.trigger-item + div.trigger-content + div.trigger-text + | {{_'r-when-the-label'}} + div.trigger-dropdown + select(id="spec-label") + each labels + option(value="#{_id}" style="background-color: #{name}") + = translatedname + div.trigger-text + | {{_'r-is'}} + div.trigger-dropdown + select(id="spec-label-action") + option(value="added") {{_'r-added-to'}} + option(value="removed") {{_'r-removed-from'}} + div.trigger-text + | {{_'r-a-card'}} + div.trigger-button.trigger-button-person.js-show-user-field + i.fa.fa-user + div.user-details.hide-element + div.trigger-text + | {{_'r-by'}} + div.trigger-dropdown + input(class="user-name",type=text,placeholder="{{_'username'}}") + div.trigger-button.js-add-spec-label-trigger.js-goto-action + i.fa.fa-plus + + div.trigger-item + div.trigger-content + div.trigger-text + | {{_'r-when-a-member'}} + div.trigger-dropdown + select(id="gen-member-action") + option(value="added") {{_'r-added-to'}} + option(value="removed") {{_'r-removed-from'}} + div.trigger-text + | {{_'r-a-card'}} + div.trigger-button.trigger-button-person.js-show-user-field + i.fa.fa-user + div.user-details.hide-element + div.trigger-text + | {{_'r-by'}} + div.trigger-dropdown + input(class="user-name",type=text,placeholder="{{_'username'}}") + div.trigger-button.js-add-gen-member-trigger.js-goto-action + i.fa.fa-plus + + + div.trigger-item + div.trigger-content + div.trigger-text + | {{_'r-when-the-member'}} + div.trigger-dropdown + input(id="spec-member",type=text,placeholder="{{_'r-name'}}") + div.trigger-text + | {{_'r-is'}} + div.trigger-dropdown + select(id="spec-member-action") + option(value="added") {{_'r-added-to'}} + option(value="removed") {{_'r-removed-from'}} + div.trigger-text + | {{_'r-a-card'}} + div.trigger-button.trigger-button-person.js-show-user-field + i.fa.fa-user + div.user-details.hide-element + div.trigger-text + | {{_'r-by'}} + div.trigger-dropdown + input(class="user-name",type=text,placeholder="{{_'username'}}") + div.trigger-button.js-add-spec-member-trigger.js-goto-action + i.fa.fa-plus + + div.trigger-item + div.trigger-content + div.trigger-text + | {{_'r-when-a-attach'}} + div.trigger-text + | {{_'r-is'}} + div.trigger-dropdown + select(id="attach-action") + option(value="added") {{_'r-added-to'}} + option(value="removed") {{_'r-removed-from'}} + div.trigger-text + | {{_'r-a-card'}} + div.trigger-button.trigger-button-person.js-show-user-field + i.fa.fa-user + div.user-details.hide-element + div.trigger-text + | {{_'r-by'}} + div.trigger-dropdown + input(class="user-name",type=text,placeholder="{{_'username'}}") + div.trigger-button.js-add-attachment-trigger.js-goto-action + i.fa.fa-plus diff --git a/client/components/rules/triggers/cardTriggers.js b/client/components/rules/triggers/cardTriggers.js new file mode 100644 index 0000000..8d4ec52 --- /dev/null +++ b/client/components/rules/triggers/cardTriggers.js @@ -0,0 +1,133 @@ +BlazeComponent.extendComponent({ + onCreated() { + this.subscribe('allRules'); + }, + labels() { + const labels = Boards.findOne(Session.get('currentBoard')).labels; + for (let i = 0; i < labels.length; i++) { + if (labels[i].name === '' || labels[i].name === undefined) { + labels[i].name = labels[i].color; + labels[i].translatedname = `${TAPi18n.__(`color-${labels[i].color}`)}`; + } else { + labels[i].translatedname = labels[i].name; + } + } + return labels; + }, + events() { + return [ + { + 'click .js-add-gen-label-trigger'(event) { + const desc = Utils.getTriggerActionDesc(event, this); + const datas = this.data(); + const actionSelected = this.find('#label-action').value; + const boardId = Session.get('currentBoard'); + if (actionSelected === 'added') { + datas.triggerVar.set({ + activityType: 'addedLabel', + boardId, + labelId: '*', + desc, + }); + } + if (actionSelected === 'removed') { + datas.triggerVar.set({ + activityType: 'removedLabel', + boardId, + labelId: '*', + desc, + }); + } + }, + 'click .js-add-spec-label-trigger'(event) { + const desc = Utils.getTriggerActionDesc(event, this); + const datas = this.data(); + const actionSelected = this.find('#spec-label-action').value; + const labelId = this.find('#spec-label').value; + const boardId = Session.get('currentBoard'); + if (actionSelected === 'added') { + datas.triggerVar.set({ + activityType: 'addedLabel', + boardId, + labelId, + desc, + }); + } + if (actionSelected === 'removed') { + datas.triggerVar.set({ + activityType: 'removedLabel', + boardId, + labelId, + desc, + }); + } + }, + 'click .js-add-gen-member-trigger'(event) { + const desc = Utils.getTriggerActionDesc(event, this); + const datas = this.data(); + const actionSelected = this.find('#gen-member-action').value; + const boardId = Session.get('currentBoard'); + if (actionSelected === 'added') { + datas.triggerVar.set({ + activityType: 'joinMember', + boardId, + username: '*', + desc, + }); + } + if (actionSelected === 'removed') { + datas.triggerVar.set({ + activityType: 'unjoinMember', + boardId, + username: '*', + desc, + }); + } + }, + 'click .js-add-spec-member-trigger'(event) { + const desc = Utils.getTriggerActionDesc(event, this); + const datas = this.data(); + const actionSelected = this.find('#spec-member-action').value; + const username = this.find('#spec-member').value; + const boardId = Session.get('currentBoard'); + if (actionSelected === 'added') { + datas.triggerVar.set({ + activityType: 'joinMember', + boardId, + username, + desc, + }); + } + if (actionSelected === 'removed') { + datas.triggerVar.set({ + activityType: 'unjoinMember', + boardId, + username, + desc, + }); + } + }, + 'click .js-add-attachment-trigger'(event) { + const desc = Utils.getTriggerActionDesc(event, this); + const datas = this.data(); + const actionSelected = this.find('#attach-action').value; + const boardId = Session.get('currentBoard'); + if (actionSelected === 'added') { + datas.triggerVar.set({ + activityType: 'addAttachment', + boardId, + desc, + }); + } + if (actionSelected === 'removed') { + datas.triggerVar.set({ + activityType: 'deleteAttachment', + boardId, + desc, + }); + } + }, + }, + ]; + }, +}).register('cardTriggers'); diff --git a/client/components/rules/triggers/checklistTriggers.jade b/client/components/rules/triggers/checklistTriggers.jade new file mode 100644 index 0000000..841ec6f --- /dev/null +++ b/client/components/rules/triggers/checklistTriggers.jade @@ -0,0 +1,125 @@ +template(name="checklistTriggers") + div.trigger-item + div.trigger-content + div.trigger-text + | {{_'r-when-a-checklist'}} + div.trigger-dropdown + select(id="gen-check-action") + option(value="created") {{_'r-added-to'}} + option(value="removed") {{_'r-removed-from'}} + div.trigger-text + | {{_'r-a-card'}} + div.trigger-button.trigger-button-person.js-show-user-field + i.fa.fa-user + div.user-details.hide-element + div.trigger-text + | {{_'r-by'}} + div.trigger-dropdown + input(class="user-name",type=text,placeholder="{{_'username'}}") + div.trigger-button.js-add-gen-check-trigger.js-goto-action + i.fa.fa-plus + + + div.trigger-item + div.trigger-content + div.trigger-text + | {{_'r-when-the-checklist'}} + div.trigger-dropdown + input(id="check-name",type=text,placeholder="{{_'r-name'}}") + div.trigger-text + | {{_'r-is'}} + div.trigger-dropdown + select(id="spec-check-action") + option(value="created") {{_'r-added-to'}} + option(value="removed") {{_'r-removed-from'}} + div.trigger-text + | {{_'r-a-card'}} + div.trigger-button.trigger-button-person.js-show-user-field + i.fa.fa-user + div.user-details.hide-element + div.trigger-text + | {{_'r-by'}} + div.trigger-dropdown + input(class="user-name",type=text,placeholder="{{_'username'}}") + div.trigger-button.js-add-spec-check-trigger.js-goto-action + i.fa.fa-plus + + div.trigger-item + div.trigger-content + div.trigger-text + | {{_'r-when-a-checklist'}} + div.trigger-dropdown + select(id="gen-comp-check-action") + option(value="completed") {{_'r-completed'}} + option(value="uncompleted") {{_'r-made-incomplete'}} + div.trigger-button.trigger-button-person.js-show-user-field + i.fa.fa-user + div.user-details.hide-element + div.trigger-text + | {{_'r-by'}} + div.trigger-dropdown + input(class="user-name",type=text,placeholder="{{_'username'}}") + div.trigger-button.js-add-gen-comp-trigger.js-goto-action + i.fa.fa-plus + + div.trigger-item + div.trigger-content + div.trigger-text + | {{_'r-when-the-checklist'}} + div.trigger-dropdown + input(id="spec-comp-check-name",type=text,placeholder="{{_'r-name'}}") + div.trigger-text + | {{_'r-is'}} + div.trigger-dropdown + select(id="spec-comp-check-action") + option(value="completed") {{_'r-completed'}} + option(value="uncompleted") {{_'r-made-incomplete'}} + div.trigger-button.trigger-button-person.js-show-user-field + i.fa.fa-user + div.user-details.hide-element + div.trigger-text + | {{_'r-by'}} + div.trigger-dropdown + input(class="user-name",type=text,placeholder="{{_'username'}}") + div.trigger-button.js-add-spec-comp-trigger.js-goto-action + i.fa.fa-plus + + div.trigger-item + div.trigger-content + div.trigger-text + | {{_'r-when-a-item'}} + div.trigger-dropdown + select(id="check-item-gen-action") + option(value="checked") {{_'r-checked'}} + option(value="unchecked") {{_'r-unchecked'}} + div.trigger-button.trigger-button-person.js-show-user-field + i.fa.fa-user + div.user-details.hide-element + div.trigger-text + | {{_'r-by'}} + div.trigger-dropdown + input(class="user-name",type=text,placeholder="{{_'username'}}") + div.trigger-button.js-add-gen-check-item-trigger.js-goto-action + i.fa.fa-plus + + div.trigger-item + div.trigger-content + div.trigger-text + | {{_'r-when-the-item'}} + div.trigger-dropdown + input(id="check-item-name",type=text,placeholder="{{_'r-name'}}") + div.trigger-text + | {{_'r-is'}} + div.trigger-dropdown + select(id="check-item-spec-action") + option(value="checked") {{_'r-checked'}} + option(value="unchecked") {{_'r-unchecked'}} + div.trigger-button.trigger-button-person.js-show-user-field + i.fa.fa-user + div.user-details.hide-element + div.trigger-text + | {{_'r-by'}} + div.trigger-dropdown + input(class="user-name",type=text,placeholder="{{_'username'}}") + div.trigger-button.js-add-spec-check-item-trigger.js-goto-action + i.fa.fa-plus diff --git a/client/components/rules/triggers/checklistTriggers.js b/client/components/rules/triggers/checklistTriggers.js new file mode 100644 index 0000000..9b2cd99 --- /dev/null +++ b/client/components/rules/triggers/checklistTriggers.js @@ -0,0 +1,147 @@ +BlazeComponent.extendComponent({ + onCreated() { + this.subscribe('allRules'); + }, + events() { + return [ + { + 'click .js-add-gen-check-trigger'(event) { + const desc = Utils.getTriggerActionDesc(event, this); + const datas = this.data(); + const actionSelected = this.find('#gen-check-action').value; + const boardId = Session.get('currentBoard'); + if (actionSelected === 'created') { + datas.triggerVar.set({ + activityType: 'addChecklist', + boardId, + checklistName: '*', + desc, + }); + } + if (actionSelected === 'removed') { + datas.triggerVar.set({ + activityType: 'removeChecklist', + boardId, + checklistName: '*', + desc, + }); + } + }, + 'click .js-add-spec-check-trigger'(event) { + const desc = Utils.getTriggerActionDesc(event, this); + const datas = this.data(); + const actionSelected = this.find('#spec-check-action').value; + const checklistId = this.find('#check-name').value; + const boardId = Session.get('currentBoard'); + if (actionSelected === 'created') { + datas.triggerVar.set({ + activityType: 'addChecklist', + boardId, + checklistName: checklistId, + desc, + }); + } + if (actionSelected === 'removed') { + datas.triggerVar.set({ + activityType: 'removeChecklist', + boardId, + checklistName: checklistId, + desc, + }); + } + }, + 'click .js-add-gen-comp-trigger'(event) { + const desc = Utils.getTriggerActionDesc(event, this); + + const datas = this.data(); + const actionSelected = this.find('#gen-comp-check-action').value; + const boardId = Session.get('currentBoard'); + if (actionSelected === 'completed') { + datas.triggerVar.set({ + activityType: 'completeChecklist', + boardId, + checklistName: '*', + desc, + }); + } + if (actionSelected === 'uncompleted') { + datas.triggerVar.set({ + activityType: 'uncompleteChecklist', + boardId, + checklistName: '*', + desc, + }); + } + }, + 'click .js-add-spec-comp-trigger'(event) { + const desc = Utils.getTriggerActionDesc(event, this); + const datas = this.data(); + const actionSelected = this.find('#spec-comp-check-action').value; + const checklistId = this.find('#spec-comp-check-name').value; + const boardId = Session.get('currentBoard'); + if (actionSelected === 'completed') { + datas.triggerVar.set({ + activityType: 'completeChecklist', + boardId, + checklistName: checklistId, + desc, + }); + } + if (actionSelected === 'uncompleted') { + datas.triggerVar.set({ + activityType: 'uncompleteChecklist', + boardId, + checklistName: checklistId, + desc, + }); + } + }, + 'click .js-add-gen-check-item-trigger'(event) { + const desc = Utils.getTriggerActionDesc(event, this); + const datas = this.data(); + const actionSelected = this.find('#check-item-gen-action').value; + const boardId = Session.get('currentBoard'); + if (actionSelected === 'checked') { + datas.triggerVar.set({ + activityType: 'checkedItem', + boardId, + checklistItemName: '*', + desc, + }); + } + if (actionSelected === 'unchecked') { + datas.triggerVar.set({ + activityType: 'uncheckedItem', + boardId, + checklistItemName: '*', + desc, + }); + } + }, + 'click .js-add-spec-check-item-trigger'(event) { + const desc = Utils.getTriggerActionDesc(event, this); + const datas = this.data(); + const actionSelected = this.find('#check-item-spec-action').value; + const checklistItemId = this.find('#check-item-name').value; + const boardId = Session.get('currentBoard'); + if (actionSelected === 'checked') { + datas.triggerVar.set({ + activityType: 'checkedItem', + boardId, + checklistItemName: checklistItemId, + desc, + }); + } + if (actionSelected === 'unchecked') { + datas.triggerVar.set({ + activityType: 'uncheckedItem', + boardId, + checklistItemName: checklistItemId, + desc, + }); + } + }, + }, + ]; + }, +}).register('checklistTriggers'); diff --git a/client/components/settings/connectionMethod.jade b/client/components/settings/connectionMethod.jade new file mode 100644 index 0000000..d191929 --- /dev/null +++ b/client/components/settings/connectionMethod.jade @@ -0,0 +1,9 @@ +template(name='connectionMethod') + div.at-form-authentication + label {{_ 'authentication-method'}} + select.select-authentication + each authentications + if isSelected value + option(value="{{value}}" selected) {{_ value}} + else + option(value="{{value}}") {{_ value}} \ No newline at end of file diff --git a/client/components/settings/connectionMethod.js b/client/components/settings/connectionMethod.js new file mode 100644 index 0000000..6abfd74 --- /dev/null +++ b/client/components/settings/connectionMethod.js @@ -0,0 +1,41 @@ +Template.connectionMethod.onCreated(function() { + this.authenticationMethods = new ReactiveVar([]); + + Meteor.call('getAuthenticationsEnabled', (_, result) => { + if (result) { + // TODO : add a management of different languages + // (ex {value: ldap, text: TAPi18n.__('ldap', {}, T9n.getLanguage() || 'en')}) + this.authenticationMethods.set([ + { value: 'password' }, + // Gets only the authentication methods availables + ...Object.entries(result) + .filter(e => e[1]) + .map(e => ({ value: e[0] })), + ]); + } + + // If only the default authentication available, hides the select boxe + const content = $('.at-form-authentication'); + if (!(this.authenticationMethods.get().length > 1)) { + content.hide(); + } else { + content.show(); + } + }); +}); + +Template.connectionMethod.onRendered(() => { + // Moves the select boxe in the first place of the at-pwd-form div + $('.at-form-authentication') + .detach() + .prependTo('.at-pwd-form'); +}); + +Template.connectionMethod.helpers({ + authentications() { + return Template.instance().authenticationMethods.get(); + }, + isSelected(match) { + return Template.instance().data.authenticationMethod === match; + }, +}); diff --git a/client/components/settings/informationBody.jade b/client/components/settings/informationBody.jade new file mode 100644 index 0000000..0f85dd9 --- /dev/null +++ b/client/components/settings/informationBody.jade @@ -0,0 +1,67 @@ +template(name='information') + .setting-content + unless currentUser.isAdmin + | {{_ 'error-notAuthorized'}} + else + .content-title + span + i.fa.fa-info-circle + | {{_ 'info'}} + .content-body + .side-menu + ul + li.active + a.js-setting-menu(data-id="information-display") + i.fa.fa-info-circle + | {{_ 'info'}} + .main-body + +statistics + +template(name='statistics') + table + tbody + tr + th Wekan {{_ 'info'}} + td {{statistics.version}} + tr + th {{_ 'Meteor_version'}} + td {{statistics.meteor.meteorVersion}} + tr + th {{_ 'Node_version'}} + td {{statistics.process.nodeVersion}} + tr + th {{_ 'MongoDB_version'}} + td {{statistics.mongo.mongoVersion}} + tr + th {{_ 'MongoDB_storage_engine'}} + td {{statistics.mongo.mongoStorageEngine}} + tr + th {{_ 'MongoDB_Oplog_enabled'}} + td {{statistics.mongo.mongoOplogEnabled}} + tr + th {{_ 'OS_Type'}} + td {{statistics.os.type}} + tr + th {{_ 'OS_Platform'}} + td {{statistics.os.platform}} + tr + th {{_ 'OS_Arch'}} + td {{statistics.os.arch}} + tr + th {{_ 'OS_Release'}} + td {{statistics.os.release}} + tr + th {{_ 'OS_Uptime'}} + td {{humanReadableTime statistics.os.uptime}} + tr + th {{_ 'OS_Loadavg'}} + td {{numFormat statistics.os.loadavg.[0]}}, {{numFormat statistics.os.loadavg.[1]}}, {{numFormat statistics.os.loadavg.[2]}} + tr + th {{_ 'OS_Totalmem'}} + td {{bytesToSize statistics.os.totalmem}} + tr + th {{_ 'OS_Freemem'}} + td {{bytesToSize statistics.os.freemem}} + tr + th {{_ 'OS_Cpus'}} + td {{statistics.os.cpus.length}} diff --git a/client/components/settings/informationBody.js b/client/components/settings/informationBody.js new file mode 100644 index 0000000..4775bce --- /dev/null +++ b/client/components/settings/informationBody.js @@ -0,0 +1,48 @@ +BlazeComponent.extendComponent({ + onCreated() { + this.info = new ReactiveVar({}); + Meteor.call('getStatistics', (error, ret) => { + if (!error && ret) { + this.info.set(ret); + } + }); + }, + + statistics() { + return this.info.get(); + }, + + humanReadableTime(time) { + const days = Math.floor(time / 86400); + const hours = Math.floor((time % 86400) / 3600); + const minutes = Math.floor(((time % 86400) % 3600) / 60); + const seconds = Math.floor(((time % 86400) % 3600) % 60); + let out = ''; + if (days > 0) { + out += `${days} ${TAPi18n.__('days')}, `; + } + if (hours > 0) { + out += `${hours} ${TAPi18n.__('hours')}, `; + } + if (minutes > 0) { + out += `${minutes} ${TAPi18n.__('minutes')}, `; + } + if (seconds > 0) { + out += `${seconds} ${TAPi18n.__('seconds')}`; + } + return out; + }, + + numFormat(number) { + return parseFloat(number).toFixed(2); + }, + + bytesToSize(bytes) { + const sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB']; + if (bytes === 0) { + return '0 Byte'; + } + const i = parseInt(Math.floor(Math.log(bytes) / Math.log(1024)), 10); + return `${Math.round(bytes / Math.pow(1024, i), 2)} ${sizes[i]}`; + }, +}).register('statistics'); diff --git a/client/components/settings/invitationCode.jade b/client/components/settings/invitationCode.jade new file mode 100644 index 0000000..171a266 --- /dev/null +++ b/client/components/settings/invitationCode.jade @@ -0,0 +1,5 @@ +template(name='invitationCode') + .at-input#invitationcode + label(for='at-field-code') {{_ 'invitation-code'}} + + input#at-field-invitationcode(type="text" name='at-field-invitationcode' placeholder="{{_ 'invitation-code'}}") diff --git a/client/components/settings/invitationCode.js b/client/components/settings/invitationCode.js new file mode 100644 index 0000000..fa35517 --- /dev/null +++ b/client/components/settings/invitationCode.js @@ -0,0 +1,13 @@ +Template.invitationCode.onRendered(function() { + Meteor.subscribe('setting', { + onReady() { + const setting = Settings.findOne(); + + if (!setting || !setting.disableRegistration) { + $('#invitationcode').hide(); + } + + return this.stop(); + }, + }); +}); diff --git a/client/components/settings/peopleBody.jade b/client/components/settings/peopleBody.jade new file mode 100644 index 0000000..fef1067 --- /dev/null +++ b/client/components/settings/peopleBody.jade @@ -0,0 +1,202 @@ +template(name="people") + .setting-content + unless currentUser.isAdmin + | {{_ 'error-notAuthorized'}} + else + .content-title.ext-box + .ext-box-left + span + i.fa.fa-users + | {{_ 'people'}} + input#searchInput(placeholder="{{_ 'search'}}") + button#searchButton + i.fa.fa-search + | {{_ 'search'}} + .ext-box-right + span {{_ 'people-number'}} #{peopleNumber} + .content-body + .side-menu + ul + li.active + a.js-setting-menu(data-id="people-setting") + i.fa.fa-users + | {{_ 'people'}} + .main-body + if loading.get + +spinner + else if people.get + +peopleGeneral + +template(name="peopleGeneral") + table + tbody + tr + th {{_ 'username'}} + th {{_ 'fullname'}} + th {{_ 'admin'}} + th {{_ 'email'}} + th {{_ 'verified'}} + th {{_ 'createdAt'}} + th {{_ 'active'}} + th {{_ 'authentication-method'}} + th + +newUserRow + each user in peopleList + +peopleRow(userId=user._id) + +template(name="newUserRow") + a.new-user + i.fa.fa-edit + | {{_ 'new'}} + +template(name="peopleRow") + tr + if userData.loginDisabled + td.username {{ userData.username }} + else + td.username {{ userData.username }} + if userData.loginDisabled + td {{ userData.profile.fullname }} + else + td {{ userData.profile.fullname }} + if userData.loginDisabled + td + if userData.isAdmin + | {{_ 'yes'}} + else + | {{_ 'no'}} + else + td + if userData.isAdmin + | {{_ 'yes'}} + else + | {{_ 'no'}} + if userData.loginDisabled + td {{ userData.emails.[0].address }} + else + td {{ userData.emails.[0].address }} + if userData.loginDisabled + td + if userData.emails.[0].verified + | {{_ 'yes'}} + else + | {{_ 'no'}} + else + td + if userData.emails.[0].verified + | {{_ 'yes'}} + else + | {{_ 'no'}} + if userData.loginDisabled + td {{ moment userData.createdAt 'LLL' }} + else + td {{ moment userData.createdAt 'LLL' }} + td + if userData.loginDisabled + | {{_ 'no'}} + else + | {{_ 'yes'}} + if userData.loginDisabled + td {{_ userData.authenticationMethod }} + else + td {{_ userData.authenticationMethod }} + td + a.edit-user + i.fa.fa-edit + | {{_ 'edit'}} + +template(name="editUserPopup") + form + label.hide.userId(type="text" value=user._id) + label + | {{_ 'fullname'}} + input.js-profile-fullname(type="text" value=user.profile.fullname) + label + | {{_ 'username'}} + span.error.hide.username-taken + | {{_ 'error-username-taken'}} + if isLdap + input.js-profile-username(type="text" value=user.username readonly) + else + input.js-profile-username(type="text" value=user.username) + label + | {{_ 'email'}} + span.error.hide.email-taken + | {{_ 'error-email-taken'}} + if isLdap + input.js-profile-email(type="email" value="{{user.emails.[0].address}}" readonly) + else + input.js-profile-email(type="email" value="{{user.emails.[0].address}}") + label + | {{_ 'admin'}} + select.select-role.js-profile-isadmin + option(value="false") {{_ 'no'}} + option(value="true" selected="{{user.isAdmin}}") {{_ 'yes'}} + label + | {{_ 'active'}} + select.select-active.js-profile-isactive + option(value="false") {{_ 'yes'}} + option(value="true" selected="{{user.loginDisabled}}") {{_ 'no'}} + label + | {{_ 'authentication-type'}} + select.select-authenticationMethod.js-authenticationMethod + each authentications + if isSelected value + option(value="{{value}}" selected) {{_ value}} + else + option(value="{{value}}") {{_ value}} + hr + label + | {{_ 'password'}} + input.js-profile-password(type="password") + div.buttonsContainer + input.primary.wide(type="submit" value="{{_ 'save'}}") + // div + // input#deleteButton.primary.wide(type="button" value="{{_ 'delete'}}") + +template(name="newUserPopup") + form + //label.hide.userId(type="text" value=user._id) + label + | {{_ 'fullname'}} + input.js-profile-fullname(type="text" value="") + label + | {{_ 'username'}} + span.error.hide.username-taken + | {{_ 'error-username-taken'}} + //if isLdap + // input.js-profile-username(type="text" value=user.username readonly) + //else + input.js-profile-username(type="text" value="") + label + | {{_ 'email'}} + span.error.hide.email-taken + | {{_ 'error-email-taken'}} + //if isLdap + // input.js-profile-email(type="email" value="{{user.emails.[0].address}}" readonly) + //else + input.js-profile-email(type="email" value="") + label + | {{_ 'admin'}} + select.select-role.js-profile-isadmin + option(value="false" selected="selected") {{_ 'no'}} + option(value="true") {{_ 'yes'}} + label + | {{_ 'active'}} + select.select-active.js-profile-isactive + option(value="false" selected="selected") {{_ 'yes'}} + option(value="true") {{_ 'no'}} + label + | {{_ 'authentication-type'}} + select.select-authenticationMethod.js-authenticationMethod + each authentications + if isSelected value + option(value="{{value}}" selected) {{_ value}} + else + option(value="{{value}}") {{_ value}} + hr + label + | {{_ 'password'}} + input.js-profile-password(type="password") + div.buttonsContainer + input.primary.wide(type="submit" value="{{_ 'save'}}") diff --git a/client/components/settings/peopleBody.js b/client/components/settings/peopleBody.js new file mode 100644 index 0000000..186afd5 --- /dev/null +++ b/client/components/settings/peopleBody.js @@ -0,0 +1,345 @@ +const usersPerPage = 25; + +BlazeComponent.extendComponent({ + mixins() { + return [Mixins.InfiniteScrolling]; + }, + onCreated() { + this.error = new ReactiveVar(''); + this.loading = new ReactiveVar(false); + this.people = new ReactiveVar(true); + this.findUsersOptions = new ReactiveVar({}); + this.number = new ReactiveVar(0); + + this.page = new ReactiveVar(1); + this.loadNextPageLocked = false; + this.callFirstWith(null, 'resetNextPeak'); + this.autorun(() => { + const limit = this.page.get() * usersPerPage; + + this.subscribe('people', this.findUsersOptions.get(), limit, () => { + this.loadNextPageLocked = false; + const nextPeakBefore = this.callFirstWith(null, 'getNextPeak'); + this.calculateNextPeak(); + const nextPeakAfter = this.callFirstWith(null, 'getNextPeak'); + if (nextPeakBefore === nextPeakAfter) { + this.callFirstWith(null, 'resetNextPeak'); + } + }); + }); + }, + events() { + return [ + { + 'click #searchButton'() { + this.filterPeople(); + }, + 'keydown #searchInput'(event) { + if (event.keyCode === 13 && !event.shiftKey) { + this.filterPeople(); + } + }, + 'click #newUserButton'() { + Popup.open('newUser'); + }, + }, + ]; + }, + filterPeople() { + const value = $('#searchInput') + .first() + .val(); + if (value === '') { + this.findUsersOptions.set({}); + } else { + const regex = new RegExp(value, 'i'); + this.findUsersOptions.set({ + $or: [ + { username: regex }, + { 'profile.fullname': regex }, + { 'emails.address': regex }, + ], + }); + } + }, + loadNextPage() { + if (this.loadNextPageLocked === false) { + this.page.set(this.page.get() + 1); + this.loadNextPageLocked = true; + } + }, + calculateNextPeak() { + const element = this.find('.main-body'); + if (element) { + const altitude = element.scrollHeight; + this.callFirstWith(this, 'setNextPeak', altitude); + } + }, + reachNextPeak() { + this.loadNextPage(); + }, + setError(error) { + this.error.set(error); + }, + setLoading(w) { + this.loading.set(w); + }, + peopleList() { + const users = Users.find(this.findUsersOptions.get(), { + fields: { _id: true }, + }); + this.number.set(users.count(false)); + return users; + }, + peopleNumber() { + return this.number.get(); + }, +}).register('people'); + +Template.peopleRow.helpers({ + userData() { + const userCollection = this.esSearch ? ESSearchResults : Users; + return userCollection.findOne(this.userId); + }, +}); + +Template.editUserPopup.onCreated(function() { + this.authenticationMethods = new ReactiveVar([]); + this.errorMessage = new ReactiveVar(''); + + Meteor.call('getAuthenticationsEnabled', (_, result) => { + if (result) { + // TODO : add a management of different languages + // (ex {value: ldap, text: TAPi18n.__('ldap', {}, T9n.getLanguage() || 'en')}) + this.authenticationMethods.set([ + { value: 'password' }, + // Gets only the authentication methods availables + ...Object.entries(result) + .filter(e => e[1]) + .map(e => ({ value: e[0] })), + ]); + } + }); +}); + +Template.editUserPopup.helpers({ + user() { + return Users.findOne(this.userId); + }, + authentications() { + return Template.instance().authenticationMethods.get(); + }, + isSelected(match) { + const userId = Template.instance().data.userId; + const selected = Users.findOne(userId).authenticationMethod; + return selected === match; + }, + isLdap() { + const userId = Template.instance().data.userId; + const selected = Users.findOne(userId).authenticationMethod; + return selected === 'ldap'; + }, + errorMessage() { + return Template.instance().errorMessage.get(); + }, +}); + +Template.newUserPopup.onCreated(function() { + this.authenticationMethods = new ReactiveVar([]); + this.errorMessage = new ReactiveVar(''); + + Meteor.call('getAuthenticationsEnabled', (_, result) => { + if (result) { + // TODO : add a management of different languages + // (ex {value: ldap, text: TAPi18n.__('ldap', {}, T9n.getLanguage() || 'en')}) + this.authenticationMethods.set([ + { value: 'password' }, + // Gets only the authentication methods availables + ...Object.entries(result) + .filter(e => e[1]) + .map(e => ({ value: e[0] })), + ]); + } + }); +}); + +Template.newUserPopup.helpers({ + //user() { + // return Users.findOne(this.userId); + //}, + authentications() { + return Template.instance().authenticationMethods.get(); + }, + //isSelected(match) { + // const userId = Template.instance().data.userId; + // const selected = Users.findOne(userId).authenticationMethod; + // return selected === match; + //}, + //isLdap() { + // const userId = Template.instance().data.userId; + // const selected = Users.findOne(userId).authenticationMethod; + // return selected === 'ldap'; + //}, + errorMessage() { + return Template.instance().errorMessage.get(); + }, +}); + +BlazeComponent.extendComponent({ + onCreated() {}, + user() { + return Users.findOne(this.userId); + }, + events() { + return [ + { + 'click a.edit-user': Popup.open('editUser'), + }, + ]; + }, +}).register('peopleRow'); + +BlazeComponent.extendComponent({ + events() { + return [ + { + 'click a.new-user': Popup.open('newUser'), + }, + ]; + }, +}).register('newUserRow'); + +Template.editUserPopup.events({ + submit(event, templateInstance) { + event.preventDefault(); + const user = Users.findOne(this.userId); + const fullname = templateInstance.find('.js-profile-fullname').value.trim(); + const username = templateInstance.find('.js-profile-username').value.trim(); + const password = templateInstance.find('.js-profile-password').value; + const isAdmin = templateInstance.find('.js-profile-isadmin').value.trim(); + const isActive = templateInstance.find('.js-profile-isactive').value.trim(); + const email = templateInstance.find('.js-profile-email').value.trim(); + const authentication = templateInstance + .find('.js-authenticationMethod') + .value.trim(); + + const isChangePassword = password.length > 0; + const isChangeUserName = username !== user.username; + const isChangeEmail = + email.toLowerCase() !== user.emails[0].address.toLowerCase(); + + Users.update(this.userId, { + $set: { + 'profile.fullname': fullname, + isAdmin: isAdmin === 'true', + loginDisabled: isActive === 'true', + authenticationMethod: authentication, + }, + }); + + if (isChangePassword) { + Meteor.call('setPassword', password, this.userId); + } + + if (isChangeUserName && isChangeEmail) { + Meteor.call( + 'setUsernameAndEmail', + username, + email.toLowerCase(), + this.userId, + function(error) { + const usernameMessageElement = templateInstance.$('.username-taken'); + const emailMessageElement = templateInstance.$('.email-taken'); + if (error) { + const errorElement = error.error; + if (errorElement === 'username-already-taken') { + usernameMessageElement.show(); + emailMessageElement.hide(); + } else if (errorElement === 'email-already-taken') { + usernameMessageElement.hide(); + emailMessageElement.show(); + } + } else { + usernameMessageElement.hide(); + emailMessageElement.hide(); + Popup.close(); + } + }, + ); + } else if (isChangeUserName) { + Meteor.call('setUsername', username, this.userId, function(error) { + const usernameMessageElement = templateInstance.$('.username-taken'); + if (error) { + const errorElement = error.error; + if (errorElement === 'username-already-taken') { + usernameMessageElement.show(); + } + } else { + usernameMessageElement.hide(); + Popup.close(); + } + }); + } else if (isChangeEmail) { + Meteor.call('setEmail', email.toLowerCase(), this.userId, function( + error, + ) { + const emailMessageElement = templateInstance.$('.email-taken'); + if (error) { + const errorElement = error.error; + if (errorElement === 'email-already-taken') { + emailMessageElement.show(); + } + } else { + emailMessageElement.hide(); + Popup.close(); + } + }); + } else Popup.close(); + }, + + 'click #deleteButton': Popup.afterConfirm('userDelete', function() { + Users.remove(this.userId); + Popup.close(); + }), +}); + +Template.newUserPopup.events({ + submit(event, templateInstance) { + event.preventDefault(); + const fullname = templateInstance.find('.js-profile-fullname').value.trim(); + const username = templateInstance.find('.js-profile-username').value.trim(); + const password = templateInstance.find('.js-profile-password').value; + const isAdmin = templateInstance.find('.js-profile-isadmin').value.trim(); + const isActive = templateInstance.find('.js-profile-isactive').value.trim(); + const email = templateInstance.find('.js-profile-email').value.trim(); + + Meteor.call( + 'setCreateUser', + fullname, + username, + password, + isAdmin, + isActive, + email.toLowerCase(), + function(error) { + const usernameMessageElement = templateInstance.$('.username-taken'); + const emailMessageElement = templateInstance.$('.email-taken'); + if (error) { + const errorElement = error.error; + if (errorElement === 'username-already-taken') { + usernameMessageElement.show(); + emailMessageElement.hide(); + } else if (errorElement === 'email-already-taken') { + usernameMessageElement.hide(); + emailMessageElement.show(); + } + } else { + usernameMessageElement.hide(); + emailMessageElement.hide(); + Popup.close(); + } + }, + ); + Popup.close(); + }, +}); diff --git a/client/components/settings/peopleBody.styl b/client/components/settings/peopleBody.styl new file mode 100644 index 0000000..c223e18 --- /dev/null +++ b/client/components/settings/peopleBody.styl @@ -0,0 +1,48 @@ +.main-body + overflow: scroll; + +table + border-collapse: collapse; + width: 100%; + color: #000; + + td, th + border: 1px solid #d2d0d0; + text-align: left; + padding: 8px; + + tr:nth-child(even) + background-color: #dddddd; + +.ext-box + display: flex; + flex-direction: row; + height: 34px; + + .ext-box-left + display: flex; + width: 40% + + span + vertical-align: center; + line-height: 34px; + margin-right: 10px; + + input, button + margin: 0 10px 0 0; + padding: 0; + + button + min-width: 90px; + +.content-wrapper + margin-top: 10px + +.buttonsContainer + display: flex + + input + margin: 0 + + div + margin: auto diff --git a/client/components/settings/settingBody.jade b/client/components/settings/settingBody.jade new file mode 100644 index 0000000..835a3b8 --- /dev/null +++ b/client/components/settings/settingBody.jade @@ -0,0 +1,197 @@ +template(name="setting") + .setting-content + unless currentUser.isAdmin + | {{_ 'error-notAuthorized'}} + else + .content-title + i.fa.fa-cog + span {{_ 'settings'}} + .content-body + .side-menu + ul + li.active + a.js-setting-menu(data-id="registration-setting") + i.fa.fa-sign-in + | {{_ 'registration'}} + li + a.js-setting-menu(data-id="email-setting") + i.fa.fa-envelope + | {{_ 'email'}} + li + a.js-setting-menu(data-id="account-setting") + i.fa.fa-users + | {{_ 'accounts'}} + li + a.js-setting-menu(data-id="announcement-setting") + i.fa.fa-bullhorn + | {{_ 'admin-announcement'}} + li + a.js-setting-menu(data-id="layout-setting") + i.fa.fa-object-group + | {{_ 'layout'}} + li + a.js-setting-menu(data-id="webhook-setting") + i.fa.fa-globe + | {{_ 'global-webhook'}} + .main-body + if loading.get + +spinner + else if generalSetting.get + +general + else if emailSetting.get + +email + else if accountSetting.get + +accountSettings + else if announcementSetting.get + +announcementSettings + else if layoutSetting.get + +layoutSettings + else if webhookSetting.get + +webhookSettings + +template(name="webhookSettings") + span + +outgoingWebhooksPopup + +template(name="general") + ul#registration-setting.setting-detail + li + a.flex.js-toggle-registration + .materialCheckBox(class="{{#if currentSetting.disableRegistration}}is-checked{{/if}}") + + span {{_ 'disable-self-registration'}} + li + .invite-people(class="{{#if currentSetting.disableRegistration}}{{else}}hide{{/if}}") + ul + li + .title {{_ 'invite-people'}} + textarea#email-to-invite.wekan-form-control(rows='5', placeholder="{{_ 'email-addresses'}}") + li + .title {{_ 'to-boards'}} + .bg-white + each boards + a.option.flex.js-toggle-board-choose(id= _id) + .materialCheckBox(data-id= _id) + + span= title + + li + button.js-email-invite.primary {{_ 'invite'}} + +template(name='email') + ul#email-setting.setting-detail + li.smtp-form + .title {{_ 'smtp-host'}} + .description {{_ 'smtp-host-description'}} + .form-group + input.wekan-form-control#mail-server-host(type="text", placeholder="smtp.domain.com" value="{{currentSetting.mailServer.host}}") + li.smtp-form + .title {{_ 'smtp-port'}} + .description {{_ 'smtp-port-description'}} + .form-group + input.wekan-form-control#mail-server-port(type="text", placeholder="25" value="{{currentSetting.mailServer.port}}") + li.smtp-form + .title {{_ 'smtp-username'}} + .form-group + input.wekan-form-control#mail-server-username(type="text", placeholder="{{_ 'username'}}" value="{{currentSetting.mailServer.username}}") + li.smtp-form + .title {{_ 'smtp-password'}} + .form-group + input.wekan-form-control#mail-server-password(type="password", placeholder="{{_ 'password'}}" value="{{currentSetting.mailServer.password}}") + li.smtp-form + .title {{_ 'smtp-tls'}} + .form-group + a.flex.js-toggle-tls + .materialCheckBox#mail-server-tls(class="{{#if currentSetting.mailServer.enableTLS}}is-checked{{/if}}") + + span {{_ 'smtp-tls-description'}} + + li.smtp-form + .title {{_ 'send-from'}} + .form-group + input.wekan-form-control#mail-server-from(type="email", placeholder="no-reply@domain.com" value="{{currentSetting.mailServer.from}}") + + li + button.js-save.primary {{_ 'save'}} + + li + button.js-send-smtp-test-email.primary {{_ 'send-smtp-test'}} + +template(name='accountSettings') + ul#account-setting.setting-detail + li.accounts-form + .title {{_ 'accounts-allowEmailChange'}} + .form-group.flex + input.wekan-form-control#accounts-allowEmailChange(type="radio" name="allowEmailChange" value="true" checked="{{#if allowEmailChange}}checked{{/if}}") + span {{_ 'yes'}} + input.wekan-form-control#accounts-allowEmailChange(type="radio" name="allowEmailChange" value="false" checked="{{#unless allowEmailChange}}checked{{/unless}}") + span {{_ 'no'}} + li + li.accounts-form + .title {{_ 'accounts-allowUserNameChange'}} + .form-group.flex + input.wekan-form-control#accounts-allowUserNameChange(type="radio" name="allowUserNameChange" value="true" checked="{{#if allowUserNameChange}}checked{{/if}}") + span {{_ 'yes'}} + input.wekan-form-control#accounts-allowUserNameChange(type="radio" name="allowUserNameChange" value="false" checked="{{#unless allowUserNameChange}}checked{{/unless}}") + span {{_ 'no'}} + li + li.accounts-form + .title {{_ 'accounts-allowUserDelete'}} + .form-group.flex + input.wekan-form-control#accounts-allowUserDelete(type="radio" name="allowUserDelete" value="true" checked="{{#if allowUserDelete}}checked{{/if}}") + span {{_ 'yes'}} + input.wekan-form-control#accounts-allowUserDelete(type="radio" name="allowUserDelete" value="false" checked="{{#unless allowUserDelete}}checked{{/unless}}") + span {{_ 'no'}} + li + button.js-accounts-save.primary {{_ 'save'}} + +template(name='announcementSettings') + ul#announcement-setting.setting-detail + li + a.flex.js-toggle-activemessage + .materialCheckBox(class="{{#if currentSetting.enabled}}is-checked{{/if}}") + + span {{_ 'admin-announcement-active'}} + li + .admin-announcement(class="{{#if currentSetting.enabled}}{{else}}hide{{/if}}") + ul + li + .title {{_ 'admin-announcement-title'}} + textarea#admin-announcement.wekan-form-control= currentSetting.body + li + button.js-announcement-save.primary {{_ 'save'}} + +template(name='layoutSettings') + ul#layout-setting.setting-detail + //li.layout-form + .title {{_ 'hide-logo'}} + .form-group.flex + input.wekan-form-control#hide-logo(type="radio" name="hideLogo" value="true" checked="{{#if currentSetting.hideLogo}}checked{{/if}}") + span {{_ 'yes'}} + input.wekan-form-control#hide-logo(type="radio" name="hideLogo" value="false" checked="{{#unless currentSetting.hideLogo}}checked{{/unless}}") + span {{_ 'no'}} + li.layout-form + .title {{_ 'display-authentication-method'}} + .form-group.flex + input.wekan-form-control#display-authentication-method(type="radio" name="displayAuthenticationMethod" value="true" checked="{{#if currentSetting.displayAuthenticationMethod}}checked{{/if}}") + span {{_ 'yes'}} + input.wekan-form-control#display-authentication-method(type="radio" name="displayAuthenticationMethod" value="false" checked="{{#unless currentSetting.displayAuthenticationMethod}}checked{{/unless}}") + span {{_ 'no'}} + li.layout-form + .title {{_ 'default-authentication-method'}} + +selectAuthenticationMethod(authenticationMethod=currentSetting.defaultAuthenticationMethod) + li.layout-form + .title {{_ 'custom-product-name'}} + .form-group + input.wekan-form-control#product-name(type="text", placeholder="" value="{{currentSetting.productName}}") + li + button.js-save-layout.primary {{_ 'save'}} + + +template(name='selectAuthenticationMethod') + select#defaultAuthenticationMethod + each authentications + if isSelected value + option(value="{{value}}" selected) {{_ value}} + else + option(value="{{value}}") {{_ value}} diff --git a/client/components/settings/settingBody.js b/client/components/settings/settingBody.js new file mode 100644 index 0000000..6275208 --- /dev/null +++ b/client/components/settings/settingBody.js @@ -0,0 +1,334 @@ +BlazeComponent.extendComponent({ + onCreated() { + this.error = new ReactiveVar(''); + this.loading = new ReactiveVar(false); + this.generalSetting = new ReactiveVar(true); + this.emailSetting = new ReactiveVar(false); + this.accountSetting = new ReactiveVar(false); + this.announcementSetting = new ReactiveVar(false); + this.layoutSetting = new ReactiveVar(false); + this.webhookSetting = new ReactiveVar(false); + + Meteor.subscribe('setting'); + Meteor.subscribe('mailServer'); + Meteor.subscribe('accountSettings'); + Meteor.subscribe('announcements'); + Meteor.subscribe('globalwebhooks'); + }, + + setError(error) { + this.error.set(error); + }, + + setLoading(w) { + this.loading.set(w); + }, + + checkField(selector) { + const value = $(selector).val(); + if (!value || value.trim() === '') { + $(selector) + .parents('li.smtp-form') + .addClass('has-error'); + throw Error('blank field'); + } else { + return value; + } + }, + + currentSetting() { + return Settings.findOne(); + }, + + boards() { + return Boards.find( + { + archived: false, + 'members.userId': Meteor.userId(), + 'members.isAdmin': true, + }, + { + sort: { sort: 1 /* boards default sorting */ }, + }, + ); + }, + toggleRegistration() { + this.setLoading(true); + const registrationClosed = this.currentSetting().disableRegistration; + Settings.update(Settings.findOne()._id, { + $set: { disableRegistration: !registrationClosed }, + }); + this.setLoading(false); + if (registrationClosed) { + $('.invite-people').slideUp(); + } else { + $('.invite-people').slideDown(); + } + }, + toggleTLS() { + $('#mail-server-tls').toggleClass('is-checked'); + }, + toggleHideLogo() { + $('#hide-logo').toggleClass('is-checked'); + }, + toggleDisplayAuthenticationMethod() { + $('#display-authentication-method').toggleClass('is-checked'); + }, + switchMenu(event) { + const target = $(event.target); + if (!target.hasClass('active')) { + $('.side-menu li.active').removeClass('active'); + target.parent().addClass('active'); + const targetID = target.data('id'); + this.generalSetting.set('registration-setting' === targetID); + this.emailSetting.set('email-setting' === targetID); + this.accountSetting.set('account-setting' === targetID); + this.announcementSetting.set('announcement-setting' === targetID); + this.layoutSetting.set('layout-setting' === targetID); + this.webhookSetting.set('webhook-setting' === targetID); + } + }, + + checkBoard(event) { + let target = $(event.target); + if (!target.hasClass('js-toggle-board-choose')) { + target = target.parent(); + } + const checkboxId = target.attr('id'); + $(`#${checkboxId} .materialCheckBox`).toggleClass('is-checked'); + $(`#${checkboxId}`).toggleClass('is-checked'); + }, + + inviteThroughEmail() { + const emails = $('#email-to-invite') + .val() + .toLowerCase() + .trim() + .split('\n') + .join(',') + .split(','); + const boardsToInvite = []; + $('.js-toggle-board-choose .materialCheckBox.is-checked').each(function() { + boardsToInvite.push($(this).data('id')); + }); + const validEmails = []; + emails.forEach(email => { + if (email && SimpleSchema.RegEx.Email.test(email.trim())) { + validEmails.push(email.trim()); + } + }); + if (validEmails.length) { + this.setLoading(true); + Meteor.call('sendInvitation', validEmails, boardsToInvite, () => { + // if (!err) { + // TODO - show more info to user + // } + this.setLoading(false); + }); + } + }, + + saveMailServerInfo() { + this.setLoading(true); + $('li').removeClass('has-error'); + + try { + const host = this.checkField('#mail-server-host'); + const port = this.checkField('#mail-server-port'); + const username = $('#mail-server-username') + .val() + .trim(); + const password = $('#mail-server-password') + .val() + .trim(); + const from = this.checkField('#mail-server-from'); + const tls = $('#mail-server-tls.is-checked').length > 0; + Settings.update(Settings.findOne()._id, { + $set: { + 'mailServer.host': host, + 'mailServer.port': port, + 'mailServer.username': username, + 'mailServer.password': password, + 'mailServer.enableTLS': tls, + 'mailServer.from': from, + }, + }); + } catch (e) { + return; + } finally { + this.setLoading(false); + } + }, + + saveLayout() { + this.setLoading(true); + $('li').removeClass('has-error'); + + const productName = $('#product-name') + .val() + .trim(); + const hideLogoChange = $('input[name=hideLogo]:checked').val() === 'true'; + const displayAuthenticationMethod = + $('input[name=displayAuthenticationMethod]:checked').val() === 'true'; + const defaultAuthenticationMethod = $('#defaultAuthenticationMethod').val(); + + try { + Settings.update(Settings.findOne()._id, { + $set: { + productName, + hideLogo: hideLogoChange, + displayAuthenticationMethod, + defaultAuthenticationMethod, + }, + }); + } catch (e) { + return; + } finally { + this.setLoading(false); + } + + DocHead.setTitle(productName); + }, + + sendSMTPTestEmail() { + Meteor.call('sendSMTPTestEmail', (err, ret) => { + if (!err && ret) { + const message = `${TAPi18n.__(ret.message)}: ${ret.email}`; + alert(message); + } else { + const reason = err.reason || ''; + const message = `${TAPi18n.__(err.error)}\n${reason}`; + alert(message); + } + }); + }, + + events() { + return [ + { + 'click a.js-toggle-registration': this.toggleRegistration, + 'click a.js-toggle-tls': this.toggleTLS, + 'click a.js-setting-menu': this.switchMenu, + 'click a.js-toggle-board-choose': this.checkBoard, + 'click button.js-email-invite': this.inviteThroughEmail, + 'click button.js-save': this.saveMailServerInfo, + 'click button.js-send-smtp-test-email': this.sendSMTPTestEmail, + 'click a.js-toggle-hide-logo': this.toggleHideLogo, + 'click button.js-save-layout': this.saveLayout, + 'click a.js-toggle-display-authentication-method': this + .toggleDisplayAuthenticationMethod, + }, + ]; + }, +}).register('setting'); + +BlazeComponent.extendComponent({ + saveAccountsChange() { + const allowEmailChange = + $('input[name=allowEmailChange]:checked').val() === 'true'; + const allowUserNameChange = + $('input[name=allowUserNameChange]:checked').val() === 'true'; + const allowUserDelete = + $('input[name=allowUserDelete]:checked').val() === 'true'; + AccountSettings.update('accounts-allowEmailChange', { + $set: { booleanValue: allowEmailChange }, + }); + AccountSettings.update('accounts-allowUserNameChange', { + $set: { booleanValue: allowUserNameChange }, + }); + AccountSettings.update('accounts-allowUserDelete', { + $set: { booleanValue: allowUserDelete }, + }); + }, + + allowEmailChange() { + return AccountSettings.findOne('accounts-allowEmailChange').booleanValue; + }, + allowUserNameChange() { + return AccountSettings.findOne('accounts-allowUserNameChange').booleanValue; + }, + allowUserDelete() { + return AccountSettings.findOne('accounts-allowUserDelete').booleanValue; + }, + + events() { + return [ + { + 'click button.js-accounts-save': this.saveAccountsChange, + }, + ]; + }, +}).register('accountSettings'); + +BlazeComponent.extendComponent({ + onCreated() { + this.loading = new ReactiveVar(false); + }, + + setLoading(w) { + this.loading.set(w); + }, + + currentSetting() { + return Announcements.findOne(); + }, + + saveMessage() { + const message = $('#admin-announcement') + .val() + .trim(); + Announcements.update(Announcements.findOne()._id, { + $set: { body: message }, + }); + }, + + toggleActive() { + this.setLoading(true); + const isActive = this.currentSetting().enabled; + Announcements.update(Announcements.findOne()._id, { + $set: { enabled: !isActive }, + }); + this.setLoading(false); + if (isActive) { + $('.admin-announcement').slideUp(); + } else { + $('.admin-announcement').slideDown(); + } + }, + + events() { + return [ + { + 'click a.js-toggle-activemessage': this.toggleActive, + 'click button.js-announcement-save': this.saveMessage, + }, + ]; + }, +}).register('announcementSettings'); + +Template.selectAuthenticationMethod.onCreated(function() { + this.authenticationMethods = new ReactiveVar([]); + + Meteor.call('getAuthenticationsEnabled', (_, result) => { + if (result) { + // TODO : add a management of different languages + // (ex {value: ldap, text: TAPi18n.__('ldap', {}, T9n.getLanguage() || 'en')}) + this.authenticationMethods.set([ + { value: 'password' }, + // Gets only the authentication methods availables + ...Object.entries(result) + .filter(e => e[1]) + .map(e => ({ value: e[0] })), + ]); + } + }); +}); + +Template.selectAuthenticationMethod.helpers({ + authentications() { + return Template.instance().authenticationMethods.get(); + }, + isSelected(match) { + return Template.instance().data.authenticationMethod === match; + }, +}); diff --git a/client/components/settings/settingBody.styl b/client/components/settings/settingBody.styl new file mode 100644 index 0000000..d6ac32b --- /dev/null +++ b/client/components/settings/settingBody.styl @@ -0,0 +1,121 @@ +.flex + display: -webkit-box + display: -moz-box + display: -webkit-flex + display: -moz-flex + display: -ms-flexbox + display: flex + +.setting-content + padding 30px + color: #727479 + background: #dedede + width 100% + height 100% + position: absolute; + + .content-title + font-size 20px + + .content-body + display flex + padding-top 15px + height 100% + + .side-menu + background-color: #f7f7f7; + border: 1px solid #f0f0f0; + border-radius: 4px; + width: 250px; + box-shadow: inset -1px -1px 3px rgba(0,0,0,.05); + + ul + + li + margin: 0.1rem 0.2rem; + + &.active + background #fff + box-shadow 0 1px 2px rgba(0,0,0,0.15); + + &:hover + background #fff + box-shadow 0 1px 2px rgba(0,0,0,0.15); + + a + @extends .flex + padding: 1rem 0 1rem 1rem + width: 100% - 5rem + + span + font-size: 13px + + i + margin-right: 20px + + .main-body + padding: 0.1em 1em + -webkit-user-select: text // Safari 3.1+ + -moz-user-select: text // Firefox 2+ + -ms-user-select: text // IE 10+ + user-select: text // Standard syntax + + ul + li + padding: 0.5rem 0.5rem; + + a + .is-checked + border-bottom: 2px solid #2980b9; + border-right: 2px solid #2980b9; + + span + padding: 0 0.5rem + + .admin-announcement, + .invite-people, + .layout + padding-left 20px; + li + min-width: 500px; + + ul.no-margin-bottom + margin-bottom: 0; + + .bg-white + a + background #f7f7f7 + &.is-checked + background #fff + + +.option + @extends .flex + -webkit-border-radius: 3px; + border-radius: 3px; + background: #fff; + text-decoration: none; + -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.2); + box-shadow: 0 1px 2px rgba(0,0,0,0.2); + margin-top: 5px; + padding: 5px; + +.title + font-weight 700; + margin-bottom 0.5rem; +.description + margin-bottom 0.5rem; +.bg-white + background #f9fbfc; + +.wekan-form-control.has-error + border-color: #a94442; + box-shadow: inset 0 1px 1px rgba(0,0,0,.075); + +li.has-error + color #a94442 + .form-group + .wekan-form-control + border-color: #a94442; + box-shadow: inset 0 1px 1px rgba(0,0,0,.075); + diff --git a/client/components/settings/settingHeader.jade b/client/components/settings/settingHeader.jade new file mode 100644 index 0000000..221c1b7 --- /dev/null +++ b/client/components/settings/settingHeader.jade @@ -0,0 +1,24 @@ +template(name="settingHeaderBar") + h1.header-setting-menu + span {{_ 'admin-panel'}} + + .setting-header-btns.left + unless isMiniScreen + if currentUser + a.setting-header-btn.settings(href="{{pathFor 'setting'}}") + i.fa(class="fa-cog") + span {{_ 'settings'}} + + a.setting-header-btn.people(href="{{pathFor 'people'}}") + i.fa(class="fa-users") + span {{_ 'people'}} + + a.setting-header-btn.informations(href="{{pathFor 'information'}}") + i.fa(class="fa-info-circle") + span {{_ 'info'}} + + else + a.setting-header-btn.js-log-in( + title="{{_ 'log-in'}}") + i.fa.fa-sign-in + span {{_ 'log-in'}} diff --git a/client/components/settings/settingHeader.styl b/client/components/settings/settingHeader.styl new file mode 100644 index 0000000..3699f18 --- /dev/null +++ b/client/components/settings/settingHeader.styl @@ -0,0 +1,25 @@ +#header #header-main-bar .setting-header-btn + &.active, + &:hover:not(.is-disabled) + background: rgba(0, 0, 0, .15) + color: darken(white, 5%) + margin-left: 20px; + padding-right: 10px; + height: 28px; + font-size: 13px; + float: left; + overflow: hidden; + line-height: @height; + margin: 0 2px; + + i.fa + float: left + display: block + line-height: 28px + color: darken(white, 5%) + margin: 0 10px + + + span + display: inline-block + margin-top: 1px + margin-right: 10px diff --git a/client/components/sidebar/sidebar.jade b/client/components/sidebar/sidebar.jade new file mode 100644 index 0000000..ec60537 --- /dev/null +++ b/client/components/sidebar/sidebar.jade @@ -0,0 +1,496 @@ +template(name="sidebar") + .board-sidebar.sidebar(class="{{#if isOpen}}is-open{{/if}}") + //a.sidebar-tongue.js-toggle-sidebar( + // class="{{#if isTongueHidden}}is-hidden{{/if}}", + // title="{{showTongueTitle}}") + // i.fa.fa-navicon + .sidebar-shadow + .sidebar-content.sidebar-shortcuts + a.board-header-btn.js-shortcuts + i.fa.fa-keyboard-o + span {{_ 'keyboard-shortcuts' }} + .sidebar-content.js-board-sidebar-content + //a.hide-btn.js-hide-sidebar + // i.fa.fa-navicon + unless isDefaultView + h2 + a.fa.fa-chevron-left.js-back-home + = getViewTitle + +Template.dynamic(template=getViewTemplate) + +template(name='homeSidebar') + +membersWidget + hr + +labelsWidget + ul#cards.label-text-hidden + a.flex.js-toggle-minicard-label-text + span {{_ 'hide-minicard-label-text'}} + b   + .materialCheckBox(class="{{#if hiddenMinicardLabelText}}is-checked{{/if}}") + hr + unless currentUser.isNoComments + h3 + i.fa.fa-comments-o + | {{_ 'activities'}} + +activities(mode="board") + +template(name="membersWidget") + .board-widget.board-widget-members + h3 + i.fa.fa-users + | {{_ 'members'}} + unless currentUser.isCommentOnly + unless currentUser.isWorker + a.board-header-btn.js-open-board-menu(title="{{_ 'boardMenuPopup-title'}}").right + i.board-header-btn-icon.fa.fa-cog + + .board-widget-content + each currentBoard.activeMembers + +userAvatar(userId=this.userId showStatus=true) + if isSandstorm + if currentUser.isBoardMember + a.member.add-member.sandstorm-powerbox-request-identity + i.fa.fa-plus + else if currentUser.isBoardAdmin + a.member.add-member.js-manage-board-members + i.fa.fa-plus + .clearfix + if isInvited + hr + p + i.fa.fa-exclamation-circle + | {{_ 'just-invited'}} + button.js-member-invite-accept.primary {{_ 'accept'}} + button.js-member-invite-decline {{_ 'decline'}} + +template(name="boardChangeColorPopup") + .board-backgrounds-list.clearfix + each backgroundColors + .board-background-select.js-select-background + span.background-box(class="board-color-{{this}}") + span {{this}} + if isSelected + i.fa.fa-check + +template(name="boardCardSettingsPopup") + form.board-card-settings + h3 {{_ 'show-on-card'}} + div.check-div + a.flex.js-field-has-receiveddate(class="{{#if allowsReceivedDate}}is-checked{{/if}}") + .materialCheckBox(class="{{#if allowsReceivedDate}}is-checked{{/if}}") + span + i.fa.fa-sign-out + | {{_ 'card-received'}} + div.check-div + a.flex.js-field-has-startdate(class="{{#if allowsStartDate}}is-checked{{/if}}") + .materialCheckBox(class="{{#if allowsStartDate}}is-checked{{/if}}") + span + i.fa.fa-hourglass-start + | {{_ 'card-start'}} + div.check-div + a.flex.js-field-has-duedate(class="{{#if allowsDueDate}}is-checked{{/if}}") + .materialCheckBox(class="{{#if allowsDueDate}}is-checked{{/if}}") + span + i.fa.fa-sign-in + | {{_ 'card-due'}} + div.check-div + a.flex.js-field-has-enddate(class="{{#if allowsEndDate}}is-checked{{/if}}") + .materialCheckBox(class="{{#if allowsEndDate}}is-checked{{/if}}") + span + i.fa.fa-hourglass-end + | {{_ 'card-end'}} + div.check-div + a.flex.js-field-has-members(class="{{#if allowsMembers}}is-checked{{/if}}") + .materialCheckBox(class="{{#if allowsMembers}}is-checked{{/if}}") + span + i.fa.fa-users + | {{_ 'members'}} + div.check-div + a.flex.js-field-has-assignee(class="{{#if allowsAssignee}}is-checked{{/if}}") + .materialCheckBox(class="{{#if allowsAssignee}}is-checked{{/if}}") + span + i.fa.fa-user + | {{_ 'assignee'}} + div.check-div + a.flex.js-field-has-assigned-by(class="{{#if allowsAssignedBy}}is-checked{{/if}}") + .materialCheckBox(class="{{#if allowsAssignedBy}}is-checked{{/if}}") + span + i.fa.fa-shopping-cart + | {{_ 'assigned-by'}} + div.check-div + a.flex.js-field-has-requested-by(class="{{#if allowsRequestedBy}}is-checked{{/if}}") + .materialCheckBox(class="{{#if allowsRequestedBy}}is-checked{{/if}}") + span + i.fa.fa-user-plus + | {{_ 'requested-by'}} + div.check-div + a.flex.js-field-has-labels(class="{{#if allowsLabels}}is-checked{{/if}}") + .materialCheckBox(class="{{#if allowsLabels}}is-checked{{/if}}") + span + i.fa.fa-tags + | {{_ 'labels'}} + div.check-div + a.flex.js-field-has-description-title(class="{{#if allowsDescriptionTitle}}is-checked{{/if}}") + .materialCheckBox(class="{{#if allowsDescriptionTitle}}is-checked{{/if}}") + span + i.fa.fa-align-left + | {{_ 'description'}} + | {{_ 'title'}} + div.check-div + a.flex.js-field-has-description-text(class="{{#if allowsDescriptionText}}is-checked{{/if}}") + .materialCheckBox(class="{{#if allowsDescriptionText}}is-checked{{/if}}") + span + i.fa.fa-align-left + | {{_ 'description'}} + | {{_ 'custom-field-text'}} + div.check-div + a.flex.js-field-has-checklists(class="{{#if allowsChecklists}}is-checked{{/if}}") + .materialCheckBox(class="{{#if allowsChecklists}}is-checked{{/if}}") + span + i.fa.fa-check + | {{_ 'checklists'}} + div.check-div + a.flex.js-field-has-subtasks(class="{{#if allowsSubtasks}}is-checked{{/if}}") + .materialCheckBox(class="{{#if allowsSubtasks}}is-checked{{/if}}") + span + i.fa.fa-sitemap + | {{_ 'subtasks'}} + div.check-div + a.flex.js-field-has-attachments(class="{{#if allowsAttachments}}is-checked{{/if}}") + .materialCheckBox(class="{{#if allowsAttachments}}is-checked{{/if}}") + span + i.fa.fa-paperclip + | {{_ 'attachments'}} + //div.check-div + // a.flex.js-field-has-comments(class="{{#if allowsComments}}is-checked{{/if}}") + // .materialCheckBox(class="{{#if allowsComments}}is-checked{{/if}}") + // span + // i.fa.fa-comment-o + // | {{_ 'comment'}} + //div.check-div + // a.flex.js-field-has-activities(class="{{#if allowsActivities}}is-checked{{/if}}") + // .materialCheckBox(class="{{#if allowsActivities}}is-checked{{/if}}") + // span + // i.fa.fa-history + // | {{_ 'activities'}} + +template(name="boardSubtaskSettingsPopup") + form.board-subtask-settings + h3 {{_ 'show-parent-in-minicard'}} + a#prefix-with-full-path.flex.js-field-show-parent-in-minicard(class="{{#if $eq presentParentTask 'prefix-with-full-path'}}is-checked{{/if}}") + .materialCheckBox(class="{{#if $eq presentParentTask 'prefix-with-full-path'}}is-checked{{/if}}") + span {{_ 'prefix-with-full-path'}} + a#prefix-with-parent.flex.js-field-show-parent-in-minicard(class="{{#if $eq presentParentTask 'prefix-with-parent'}}is-checked{{/if}}") + .materialCheckBox(class="{{#if $eq presentParentTask 'prefix-with-parent'}}is-checked{{/if}}") + span {{_ 'prefix-with-parent'}} + a#subtext-with-full-path.flex.js-field-show-parent-in-minicard(class="{{#if $eq presentParentTask 'subtext-with-full-path'}}is-checked{{/if}}") + .materialCheckBox(class="{{#if $eq presentParentTask 'subtext-with-full-path'}}is-checked{{/if}}") + span {{_ 'subtext-with-full-path'}} + a#subtext-with-parent.flex.js-field-show-parent-in-minicard(class="{{#if $eq presentParentTask 'subtext-with-parent'}}is-checked{{/if}}") + .materialCheckBox(class="{{#if $eq presentParentTask 'subtext-with-parent'}}is-checked{{/if}}") + span {{_ 'subtext-with-parent'}} + a#no-parent.flex.js-field-show-parent-in-minicard(class="{{#if $eq presentParentTask 'no-parent'}}is-checked{{/if}}") + .materialCheckBox(class="{{#if $eq presentParentTask 'no-parent'}}is-checked{{/if}}") + span {{_ 'no-parent'}} + div + hr + + div.check-div + a.flex.js-field-has-subtasks(class="{{#if allowsSubtasks}}is-checked{{/if}}") + .materialCheckBox(class="{{#if allowsSubtasks}}is-checked{{/if}}") + span {{_ 'show-subtasks-field'}} + + label + | {{_ 'deposit-subtasks-board'}} + select.js-field-deposit-board(disabled="{{#unless allowsSubtasks}}disabled{{/unless}}") + each boards + if isBoardSelected + option(value=_id selected="selected") {{title}} + else + option(value=_id) {{title}} + if isNullBoardSelected + option(value='null' selected="selected") {{_ 'custom-field-dropdown-none'}} + else + option(value='null') {{_ 'custom-field-dropdown-none'}} + div + hr + + label + | {{_ 'deposit-subtasks-list'}} + select.js-field-deposit-list(disabled="{{#unless hasLists}}disabled{{/unless}}") + each lists + if isListSelected + option(value=_id selected="selected") {{title}} + else + option(value=_id) {{title}} + +template(name="chooseBoardSource") + ul.pop-over-list + li + a(href="{{pathFor '/import/trello'}}") {{_ 'from-trello'}} + li + a(href="{{pathFor '/import/wekan'}}") {{_ 'from-wekan'}} + li + a(href="{{pathFor '/import/csv'}}") {{_ 'from-csv'}} + +template(name="archiveBoardPopup") + p {{_ 'close-board-pop'}} + button.js-confirm.negate.full(type="submit") + i.fa.fa-archive + | {{_ 'archive'}} + +template(name="outgoingWebhooksPopup") + each integrations + form.integration-form + a.flex + span {{_ 'disable-webhook'}} + b   + .materialCheckBox(class="{{#unless enabled}}is-checked{{/unless}}") + input.js-outgoing-webhooks-title(placeholder="{{_ 'webhook-title'}}" type="text" name="title" value=title) + input.js-outgoing-webhooks-url(type="text" name="url" value=url) + input.js-outgoing-webhooks-token(placeholder="{{_ 'webhook-token' }}" type="text" value=token name="token") + select.js-outgoing-webhooks-type(name="type") + each _type in types + if($eq _type this.type) + option(value=_type selected="selected") {{_ _type}} + else + option(value=_type) {{_ _type}} + input(type="hidden" value=this.type name="_type") + input(type="hidden" value=_id name="id") + input.primary.wide(type="submit" value="{{_ 'save'}}") + form.integration-form + input.js-outgoing-webhooks-title(placeholder="{{_ 'webhook-title'}}" type="text" name="title") + input.js-outgoing-webhooks-url(placeholder="{{_ 'URL' }}" type="text" name="url") + input.js-outgoing-webhooks-token(placeholder="{{_ 'webhook-token' }}" type="text" name="token") + select.js-outgoing-webhooks-type(name="type") + each _type in types + option(value=_type) {{_ _type}} + input.primary.wide(type="submit" value="{{_ 'create'}}") + +template(name="boardMenuPopup") + ul.pop-over-list + li + a.js-open-rules-view(title="{{_ 'rules'}}") + i.fa.fa-magic + | {{_ 'rules'}} + li + a.js-custom-fields + i.fa.fa-list-alt + | {{_ 'custom-fields'}} + li + a.js-open-archives + i.fa.fa-archive + | {{_ 'archived-items'}} + if currentUser.isBoardAdmin + li + a.js-change-board-color + i.fa.fa-paint-brush + | {{_ 'board-change-color'}} + + //- + XXX Language should be handled by sandstorm, but for now display a + language selection link in the board menu. This link is normally present + in the header bar that is not displayed on sandstorm. + if isSandstorm + li + a.js-change-language + i.fa.fa-flag + | {{_ 'language'}} + unless isSandstorm + if currentUser.isBoardAdmin + hr + ul.pop-over-list + if withApi + li + a.js-export-board + i.fa.fa-share-alt + | {{_ 'export-board'}} + li + a.js-outgoing-webhooks + i.fa.fa-globe + | {{_ 'outgoing-webhooks'}} + li + a.js-card-settings + i.fa.fa-id-card-o + | {{_ 'card-settings'}} + li + a.js-subtask-settings + i.fa.fa-sitemap + | {{_ 'subtask-settings'}} + unless currentBoard.isTemplatesBoard + hr + ul.pop-over-list + li + a.js-archive-board + i.fa.fa-arrow-right + i.fa.fa-archive + | {{_ 'archive-board'}} + + if isSandstorm + hr + ul.pop-over-list + li + a.js-export-board + i.fa.fa-share-alt + | {{_ 'export-board'}} + li + a.js-import-board + i.fa.fa-share-alt + i.fa.fa-sign-in + | {{_ 'import-board-c'}} + li + a.js-archive-board + i.fa.fa-arrow-right + i.fa.fa-archive + | {{_ 'archive-board'}} + li + a.js-outgoing-webhooks + i.fa.fa-globe + | {{_ 'outgoing-webhooks'}} + hr + ul.pop-over-list + li + a.js-card-settings + i.fa.fa-id-card-o + | {{_ 'card-settings'}} + hr + ul.pop-over-list + li + a.js-subtask-settings + i.fa.fa-sitemap + | {{_ 'subtask-settings'}} + +template(name="exportBoard") + ul.pop-over-list + li + a.download-json-link(href="{{exportUrl}}", download="{{exportJsonFilename}}") + i.fa.fa-share-alt + | {{_ 'export-board-json'}} + //li + // a(href="{{exportCsvUrl}}", download="{{exportCsvFilename}}") + // i.fa.fa-share-alt + // | {{_ 'export-board-csv'}} + //li + // a(href="{{exportTsvUrl}}", download="{{exportTsvFilename}}") + // i.fa.fa-share-alt + // | {{_ 'export-board-tsv'}} + li + a.html-export-board + i.fa.fa-archive + | {{_ 'export-board-html'}} + +template(name="labelsWidget") + .board-widget.board-widget-labels + h3 + i.fa.fa-tags + | {{_ 'labels'}} + .board-widget-content + each currentBoard.labels + a.card-label(class="card-label-{{color}}" + class="{{#if currentUser.isNotCommentOnly}}{{#if currentUser.isNotWorker}}js-label{{/if}}{{/if}}") + span.card-label-name + +viewer + = name + if currentUser.isBoardAdmin + a.card-label.add-label.js-add-label + i.fa.fa-plus + +template(name="memberPopup") + .board-member-menu + .miniprofile-header + +userAvatar(userId=user._id showEdit=true) + .info + h3 + .js-profile= user.profile.fullname + p.quiet @#{user.username} + if isInvited + p + i.fa.fa-exclamation-circle + | {{_ 'not-accepted-yet'}} + + ul.pop-over-list + li + a.js-filter-member {{_ 'filter-cards'}} + if currentUser.isBoardAdmin + li + a.js-change-role + | {{_ 'change-permissions'}} + span.quiet (#{memberType}) + unless currentUser.isWorker + li + if $eq currentUser._id userId + a.js-leave-member {{_ 'leave-board'}} + else if currentUser.isBoardAdmin + a.js-remove-member {{_ 'remove-from-board'}} + +template(name="removeMemberPopup") + p {{_ 'remove-member-pop' name=user.profile.fullname username=user.username boardTitle=board.title}} + button.js-confirm.negate.full(type="submit") {{_ 'remove-member'}} + +template(name="leaveBoardPopup") + p {{_ 'leave-board-pop' boardTitle=board.title}} + button.js-confirm.negate.full(type="submit") {{_ 'leave-board'}} + +template(name="addMemberPopup") + .js-search-member + +esInput(index="users") + + if loading.get + +spinner + else if error.get + .warning {{_ error.get}} + else + ul.pop-over-list + +esEach(index="users") + li.item.js-member-item(class="{{#if isBoardMember}}disabled{{/if}}") + a.name.js-select-member(title="{{profile.fullname}} ({{username}})") + +userAvatar(userId=_id esSearch=true) + span.full-name + = profile.fullname + | ({{username}}) + if isBoardMember + .quiet ({{_ 'joined'}}) + + +ifEsIsSearching(index='users') + +spinner + + +ifEsHasNoResults(index="users") + .manage-member-section + p.quiet {{_ 'no-results'}} + button.js-email-invite.primary.full {{_ 'email-invite'}} + +template(name="changePermissionsPopup") + ul.pop-over-list + li + a(class="{{#if isLastAdmin}}disabled{{else}}js-set-admin{{/if}}") + | {{_ 'admin'}} + if isAdmin + i.fa.fa-check + span.sub-name {{_ 'admin-desc'}} + li + a(class="{{#if isLastAdmin}}disabled{{else}}js-set-normal{{/if}}") + | {{_ 'normal'}} + if isNormal + i.fa.fa-check + span.sub-name {{_ 'normal-desc'}} + li + a(class="{{#if isLastAdmin}}disabled{{else}}js-set-no-comments{{/if}}") + | {{_ 'no-comments'}} + if isNoComments + i.fa.fa-check + span.sub-name {{_ 'no-comments-desc'}} + li + a(class="{{#if isLastAdmin}}disabled{{else}}js-set-comment-only{{/if}}") + | {{_ 'comment-only'}} + if isCommentOnly + i.fa.fa-check + span.sub-name {{_ 'comment-only-desc'}} + li + a(class="{{#if isLastAdmin}}disabled{{else}}js-set-worker{{/if}}") + | {{_ 'worker'}} + if isWorker + i.fa.fa-check + span.sub-name {{_ 'worker-desc'}} + if isLastAdmin + hr + p.quiet.bottom {{_ 'last-admin-desc'}} diff --git a/client/components/sidebar/sidebar.js b/client/components/sidebar/sidebar.js new file mode 100644 index 0000000..a97cefc --- /dev/null +++ b/client/components/sidebar/sidebar.js @@ -0,0 +1,1162 @@ +import { Cookies } from 'meteor/ostrio:cookies'; +const cookies = new Cookies(); +Sidebar = null; + +const defaultView = 'home'; +const MCB = '.materialCheckBox'; +const CKCLS = 'is-checked'; + +const viewTitles = { + filter: 'filter-cards', + search: 'search-cards', + multiselection: 'multi-selection', + customFields: 'custom-fields', + archives: 'archives', +}; + +BlazeComponent.extendComponent({ + mixins() { + return [Mixins.InfiniteScrolling]; + }, + + onCreated() { + this._isOpen = new ReactiveVar(false); + this._view = new ReactiveVar(defaultView); + Sidebar = this; + }, + + onDestroyed() { + Sidebar = null; + }, + + isOpen() { + return this._isOpen.get(); + }, + + open() { + if (!this._isOpen.get()) { + this._isOpen.set(true); + EscapeActions.executeUpTo('detailsPane'); + } + }, + + hide() { + if (this._isOpen.get()) { + this._isOpen.set(false); + } + }, + + toggle() { + this._isOpen.set(!this._isOpen.get()); + }, + + calculateNextPeak() { + const sidebarElement = this.find('.js-board-sidebar-content'); + if (sidebarElement) { + const altitude = sidebarElement.scrollHeight; + this.callFirstWith(this, 'setNextPeak', altitude); + } + }, + + reachNextPeak() { + const activitiesComponent = this.childComponents('activities')[0]; + activitiesComponent.loadNextPage(); + }, + + isTongueHidden() { + return this.isOpen() && this.getView() !== defaultView; + }, + + scrollTop() { + this.$('.js-board-sidebar-content').scrollTop(0); + }, + + getView() { + return this._view.get(); + }, + + setView(view) { + view = _.isString(view) ? view : defaultView; + if (this._view.get() !== view) { + this._view.set(view); + this.scrollTop(); + EscapeActions.executeUpTo('detailsPane'); + } + this.open(); + }, + + isDefaultView() { + return this.getView() === defaultView; + }, + + getViewTemplate() { + return `${this.getView()}Sidebar`; + }, + + getViewTitle() { + return TAPi18n.__(viewTitles[this.getView()]); + }, + + showTongueTitle() { + if (this.isOpen()) return `${TAPi18n.__('sidebar-close')}`; + else return `${TAPi18n.__('sidebar-open')}`; + }, + + events() { + return [ + { + 'click .js-hide-sidebar': this.hide, + 'click .js-toggle-sidebar': this.toggle, + 'click .js-back-home': this.setView, + 'click .js-toggle-minicard-label-text'() { + currentUser = Meteor.user(); + if (currentUser) { + Meteor.call('toggleMinicardLabelText'); + } else if (cookies.has('hiddenMinicardLabelText')) { + cookies.remove('hiddenMinicardLabelText'); + } else { + cookies.set('hiddenMinicardLabelText', 'true'); + } + }, + 'click .js-shortcuts'() { + FlowRouter.go('shortcuts'); + }, + }, + ]; + }, +}).register('sidebar'); + +Blaze.registerHelper('Sidebar', () => Sidebar); + +Template.homeSidebar.helpers({ + hiddenMinicardLabelText() { + currentUser = Meteor.user(); + if (currentUser) { + return (currentUser.profile || {}).hiddenMinicardLabelText; + } else if (cookies.has('hiddenMinicardLabelText')) { + return true; + } else { + return false; + } + }, +}); + +EscapeActions.register( + 'sidebarView', + () => { + Sidebar.setView(defaultView); + }, + () => { + return Sidebar && Sidebar.getView() !== defaultView; + }, +); + +Template.memberPopup.helpers({ + user() { + return Users.findOne(this.userId); + }, + memberType() { + const type = Users.findOne(this.userId).isBoardAdmin() ? 'admin' : 'normal'; + if (type === 'normal') { + const currentBoard = Boards.findOne(Session.get('currentBoard')); + const commentOnly = currentBoard.hasCommentOnly(this.userId); + const noComments = currentBoard.hasNoComments(this.userId); + const worker = currentBoard.hasWorker(this.userId); + if (commentOnly) { + return TAPi18n.__('comment-only').toLowerCase(); + } else if (noComments) { + return TAPi18n.__('no-comments').toLowerCase(); + } else if (worker) { + return TAPi18n.__('worker').toLowerCase(); + } else { + return TAPi18n.__(type).toLowerCase(); + } + } else { + return TAPi18n.__(type).toLowerCase(); + } + }, + isInvited() { + return Users.findOne(this.userId).isInvitedTo(Session.get('currentBoard')); + }, +}); + +Template.boardMenuPopup.events({ + 'click .js-rename-board': Popup.open('boardChangeTitle'), + 'click .js-open-rules-view'() { + Modal.openWide('rulesMain'); + Popup.close(); + }, + 'click .js-custom-fields'() { + Sidebar.setView('customFields'); + Popup.close(); + }, + 'click .js-open-archives'() { + Sidebar.setView('archives'); + Popup.close(); + }, + 'click .js-change-board-color': Popup.open('boardChangeColor'), + 'click .js-change-language': Popup.open('changeLanguage'), + 'click .js-archive-board ': Popup.afterConfirm('archiveBoard', function() { + const currentBoard = Boards.findOne(Session.get('currentBoard')); + currentBoard.archive(); + // XXX We should have some kind of notification on top of the page to + // confirm that the board was successfully archived. + FlowRouter.go('home'); + }), + 'click .js-delete-board': Popup.afterConfirm('deleteBoard', function() { + const currentBoard = Boards.findOne(Session.get('currentBoard')); + Popup.close(); + Boards.remove(currentBoard._id); + FlowRouter.go('home'); + }), + 'click .js-outgoing-webhooks': Popup.open('outgoingWebhooks'), + 'click .js-import-board': Popup.open('chooseBoardSource'), + 'click .js-subtask-settings': Popup.open('boardSubtaskSettings'), + 'click .js-card-settings': Popup.open('boardCardSettings'), + 'click .js-export-board': Popup.open('exportBoard'), +}); + +Template.boardMenuPopup.onCreated(function() { + this.apiEnabled = new ReactiveVar(false); + Meteor.call('_isApiEnabled', (e, result) => { + this.apiEnabled.set(result); + }); +}); + +Template.boardMenuPopup.helpers({ + withApi() { + return Template.instance().apiEnabled.get(); + }, + exportUrl() { + const params = { + boardId: Session.get('currentBoard'), + }; + const queryParams = { + authToken: Accounts._storedLoginToken(), + }; + return FlowRouter.path('/api/boards/:boardId/export', params, queryParams); + }, + exportFilename() { + const boardId = Session.get('currentBoard'); + return `wekan-export-board-${boardId}.json`; + }, +}); + +Template.memberPopup.events({ + 'click .js-filter-member'() { + Filter.members.toggle(this.userId); + Popup.close(); + }, + 'click .js-change-role': Popup.open('changePermissions'), + 'click .js-remove-member': Popup.afterConfirm('removeMember', function() { + const boardId = Session.get('currentBoard'); + const memberId = this.userId; + Cards.find({ boardId, members: memberId }).forEach(card => { + card.unassignMember(memberId); + }); + Boards.findOne(boardId).removeMember(memberId); + Popup.close(); + }), + 'click .js-leave-member': Popup.afterConfirm('leaveBoard', () => { + const boardId = Session.get('currentBoard'); + Meteor.call('quitBoard', boardId, () => { + Popup.close(); + FlowRouter.go('home'); + }); + }), +}); + +Template.removeMemberPopup.helpers({ + user() { + return Users.findOne(this.userId); + }, + board() { + return Boards.findOne(Session.get('currentBoard')); + }, +}); + +Template.leaveBoardPopup.helpers({ + board() { + return Boards.findOne(Session.get('currentBoard')); + }, +}); + +Template.membersWidget.helpers({ + isInvited() { + const user = Meteor.user(); + return user && user.isInvitedTo(Session.get('currentBoard')); + }, + isWorker() { + const user = Meteor.user(); + if (user) { + return Meteor.call(Boards.hasWorker(user.memberId)); + } else { + return false; + } + }, +}); + +Template.membersWidget.events({ + 'click .js-member': Popup.open('member'), + 'click .js-open-board-menu': Popup.open('boardMenu'), + 'click .js-manage-board-members': Popup.open('addMember'), + 'click .js-import': Popup.open('boardImportBoard'), + submit: this.onSubmit, + 'click .js-import-board': Popup.open('chooseBoardSource'), + 'click .js-open-archived-board'() { + Modal.open('archivedBoards'); + }, + 'click .sandstorm-powerbox-request-identity'() { + window.sandstormRequestIdentity(); + }, + 'click .js-member-invite-accept'() { + const boardId = Session.get('currentBoard'); + Meteor.user().removeInvite(boardId); + }, + 'click .js-member-invite-decline'() { + const boardId = Session.get('currentBoard'); + Meteor.call('quitBoard', boardId, (err, ret) => { + if (!err && ret) { + Meteor.user().removeInvite(boardId); + FlowRouter.go('home'); + } + }); + }, +}); + +BlazeComponent.extendComponent({ + boardId() { + return Session.get('currentBoard') || Integrations.Const.GLOBAL_WEBHOOK_ID; + }, + integrations() { + const boardId = this.boardId(); + return Integrations.find({ boardId: `${boardId}` }).fetch(); + }, + types() { + return Integrations.Const.WEBHOOK_TYPES; + }, + integration(cond) { + const boardId = this.boardId(); + const condition = { boardId, ...cond }; + for (const k in condition) { + if (!condition[k]) delete condition[k]; + } + return Integrations.findOne(condition); + }, + onCreated() { + this.disabled = new ReactiveVar(false); + }, + events() { + return [ + { + 'click a.flex'(evt) { + this.disabled.set(!this.disabled.get()); + $(evt.target).toggleClass(CKCLS, this.disabled.get()); + }, + submit(evt) { + evt.preventDefault(); + const url = evt.target.url.value; + const boardId = this.boardId(); + let id = null; + let integration = null; + const title = evt.target.title.value; + const token = evt.target.token.value; + const type = evt.target.type.value; + const enabled = !this.disabled.get(); + let remove = false; + const values = { + url, + type, + token, + title, + enabled, + }; + if (evt.target.id) { + id = evt.target.id.value; + integration = this.integration({ _id: id }); + remove = !url; + } else if (url) { + integration = this.integration({ url, token }); + } + if (remove) { + Integrations.remove(integration._id); + } else if (integration && integration._id) { + Integrations.update(integration._id, { + $set: values, + }); + } else if (url) { + Integrations.insert({ + ...values, + userId: Meteor.userId(), + enabled: true, + boardId, + activities: ['all'], + }); + } + Popup.close(); + }, + }, + ]; + }, +}).register('outgoingWebhooksPopup'); + +BlazeComponent.extendComponent({ + template() { + return 'chooseBoardSource'; + }, +}).register('chooseBoardSourcePopup'); + +BlazeComponent.extendComponent({ + template() { + return 'exportBoard'; + }, + withApi() { + return Template.instance().apiEnabled.get(); + }, + exportUrl() { + const params = { + boardId: Session.get('currentBoard'), + }; + const queryParams = { + authToken: Accounts._storedLoginToken(), + }; + return FlowRouter.path('/api/boards/:boardId/export', params, queryParams); + }, + exportCsvUrl() { + const params = { + boardId: Session.get('currentBoard'), + }; + const queryParams = { + authToken: Accounts._storedLoginToken(), + }; + return FlowRouter.path( + '/api/boards/:boardId/export/csv', + params, + queryParams, + ); + }, + exportTsvUrl() { + const params = { + boardId: Session.get('currentBoard'), + }; + const queryParams = { + authToken: Accounts._storedLoginToken(), + delimiter: '\t', + }; + return FlowRouter.path( + '/api/boards/:boardId/export/csv', + params, + queryParams, + ); + }, + exportJsonFilename() { + const boardId = Session.get('currentBoard'); + return `wekan-export-board-${boardId}.json`; + }, + exportCsvFilename() { + const boardId = Session.get('currentBoard'); + return `wekan-export-board-${boardId}.csv`; + }, + exportTsvFilename() { + const boardId = Session.get('currentBoard'); + return `wekan-export-board-${boardId}.tsv`; + }, +}).register('exportBoardPopup'); + +Template.exportBoard.events({ + 'click .html-export-board': async event => { + event.preventDefault(); + await ExportHtml(Popup)(); + }, +}); + +Template.labelsWidget.events({ + 'click .js-label': Popup.open('editLabel'), + 'click .js-add-label': Popup.open('createLabel'), +}); + +// Board members can assign people or labels by drag-dropping elements from the +// sidebar to the cards on the board. In order to re-initialize the jquery-ui +// plugin any time a draggable member or label is modified or removed we use a +// autorun function and register a dependency on the both members and labels +// fields of the current board document. +function draggableMembersLabelsWidgets() { + this.autorun(() => { + const currentBoardId = Tracker.nonreactive(() => { + return Session.get('currentBoard'); + }); + Boards.findOne(currentBoardId, { + fields: { + members: 1, + labels: 1, + }, + }); + Tracker.afterFlush(() => { + const $draggables = this.$('.js-member,.js-label'); + $draggables.draggable({ + appendTo: 'body', + helper: 'clone', + revert: 'invalid', + revertDuration: 150, + snap: false, + snapMode: 'both', + start() { + EscapeActions.executeUpTo('popup-back'); + }, + }); + + function userIsMember() { + return Meteor.user() && Meteor.user().isBoardMember(); + } + + this.autorun(() => { + $draggables.draggable('option', 'disabled', !userIsMember()); + }); + }); + }); +} + +Template.membersWidget.onRendered(draggableMembersLabelsWidgets); +Template.labelsWidget.onRendered(draggableMembersLabelsWidgets); + +BlazeComponent.extendComponent({ + backgroundColors() { + return Boards.simpleSchema()._schema.color.allowedValues; + }, + + isSelected() { + const currentBoard = Boards.findOne(Session.get('currentBoard')); + return currentBoard.color === this.currentData().toString(); + }, + + events() { + return [ + { + 'click .js-select-background'(evt) { + const currentBoard = Boards.findOne(Session.get('currentBoard')); + const newColor = this.currentData().toString(); + currentBoard.setColor(newColor); + evt.preventDefault(); + }, + }, + ]; + }, +}).register('boardChangeColorPopup'); + +BlazeComponent.extendComponent({ + onCreated() { + this.currentBoard = Boards.findOne(Session.get('currentBoard')); + }, + + allowsSubtasks() { + return this.currentBoard.allowsSubtasks; + }, + + allowsReceivedDate() { + return this.currentBoard.allowsReceivedDate; + }, + + isBoardSelected() { + return this.currentBoard.subtasksDefaultBoardId === this.currentData()._id; + }, + + isNullBoardSelected() { + return ( + this.currentBoard.subtasksDefaultBoardId === null || + this.currentBoard.subtasksDefaultBoardId === undefined + ); + }, + + boards() { + return Boards.find( + { + archived: false, + 'members.userId': Meteor.userId(), + }, + { + sort: { sort: 1 /* boards default sorting */ }, + }, + ); + }, + + lists() { + return Lists.find( + { + boardId: this.currentBoard._id, + archived: false, + }, + { + sort: ['title'], + }, + ); + }, + + hasLists() { + return this.lists().count() > 0; + }, + + isListSelected() { + return this.currentBoard.subtasksDefaultBoardId === this.currentData()._id; + }, + + presentParentTask() { + let result = this.currentBoard.presentParentTask; + if (result === null || result === undefined) { + result = 'no-parent'; + } + return result; + }, + + events() { + return [ + { + 'click .js-field-has-subtasks'(evt) { + evt.preventDefault(); + this.currentBoard.allowsSubtasks = !this.currentBoard.allowsSubtasks; + this.currentBoard.setAllowsSubtasks(this.currentBoard.allowsSubtasks); + $(`.js-field-has-subtasks ${MCB}`).toggleClass( + CKCLS, + this.currentBoard.allowsSubtasks, + ); + $('.js-field-has-subtasks').toggleClass( + CKCLS, + this.currentBoard.allowsSubtasks, + ); + $('.js-field-deposit-board').prop( + 'disabled', + !this.currentBoard.allowsSubtasks, + ); + }, + 'change .js-field-deposit-board'(evt) { + let value = evt.target.value; + if (value === 'null') { + value = null; + } + this.currentBoard.setSubtasksDefaultBoardId(value); + evt.preventDefault(); + }, + 'change .js-field-deposit-list'(evt) { + this.currentBoard.setSubtasksDefaultListId(evt.target.value); + evt.preventDefault(); + }, + 'click .js-field-show-parent-in-minicard'(evt) { + const value = + evt.target.id || + $(evt.target).parent()[0].id || + $(evt.target) + .parent()[0] + .parent()[0].id; + const options = [ + 'prefix-with-full-path', + 'prefix-with-parent', + 'subtext-with-full-path', + 'subtext-with-parent', + 'no-parent', + ]; + options.forEach(function(element) { + if (element !== value) { + $(`#${element} ${MCB}`).toggleClass(CKCLS, false); + $(`#${element}`).toggleClass(CKCLS, false); + } + }); + $(`#${value} ${MCB}`).toggleClass(CKCLS, true); + $(`#${value}`).toggleClass(CKCLS, true); + this.currentBoard.setPresentParentTask(value); + evt.preventDefault(); + }, + }, + ]; + }, +}).register('boardSubtaskSettingsPopup'); + +BlazeComponent.extendComponent({ + onCreated() { + this.currentBoard = Boards.findOne(Session.get('currentBoard')); + }, + + allowsReceivedDate() { + return this.currentBoard.allowsReceivedDate; + }, + + allowsStartDate() { + return this.currentBoard.allowsStartDate; + }, + + allowsDueDate() { + return this.currentBoard.allowsDueDate; + }, + + allowsEndDate() { + return this.currentBoard.allowsEndDate; + }, + + allowsSubtasks() { + return this.currentBoard.allowsSubtasks; + }, + + allowsMembers() { + return this.currentBoard.allowsMembers; + }, + + allowsAssignee() { + return this.currentBoard.allowsAssignee; + }, + + allowsAssignedBy() { + return this.currentBoard.allowsAssignedBy; + }, + + allowsRequestedBy() { + return this.currentBoard.allowsRequestedBy; + }, + + allowsLabels() { + return this.currentBoard.allowsLabels; + }, + + allowsChecklists() { + return this.currentBoard.allowsChecklists; + }, + + allowsAttachments() { + return this.currentBoard.allowsAttachments; + }, + + allowsComments() { + return this.currentBoard.allowsComments; + }, + + allowsDescriptionTitle() { + return this.currentBoard.allowsDescriptionTitle; + }, + + allowsDescriptionText() { + return this.currentBoard.allowsDescriptionText; + }, + + isBoardSelected() { + return this.currentBoard.dateSettingsDefaultBoardID; + }, + + isNullBoardSelected() { + return ( + this.currentBoard.dateSettingsDefaultBoardId === null || + this.currentBoard.dateSettingsDefaultBoardId === undefined + ); + }, + + boards() { + return Boards.find( + { + archived: false, + 'members.userId': Meteor.userId(), + }, + { + sort: { sort: 1 /* boards default sorting */ }, + }, + ); + }, + + lists() { + return Lists.find( + { + boardId: this.currentBoard._id, + archived: false, + }, + { + sort: ['title'], + }, + ); + }, + + hasLists() { + return this.lists().count() > 0; + }, + + isListSelected() { + return ( + this.currentBoard.dateSettingsDefaultBoardId === this.currentData()._id + ); + }, + + events() { + return [ + { + 'click .js-field-has-receiveddate'(evt) { + evt.preventDefault(); + this.currentBoard.allowsReceivedDate = !this.currentBoard + .allowsReceivedDate; + this.currentBoard.setAllowsReceivedDate( + this.currentBoard.allowsReceivedDate, + ); + $(`.js-field-has-receiveddate ${MCB}`).toggleClass( + CKCLS, + this.currentBoard.allowsReceivedDate, + ); + $('.js-field-has-receiveddate').toggleClass( + CKCLS, + this.currentBoard.allowsReceivedDate, + ); + }, + 'click .js-field-has-startdate'(evt) { + evt.preventDefault(); + this.currentBoard.allowsStartDate = !this.currentBoard + .allowsStartDate; + this.currentBoard.setAllowsStartDate( + this.currentBoard.allowsStartDate, + ); + $(`.js-field-has-startdate ${MCB}`).toggleClass( + CKCLS, + this.currentBoard.allowsStartDate, + ); + $('.js-field-has-startdate').toggleClass( + CKCLS, + this.currentBoard.allowsStartDate, + ); + }, + 'click .js-field-has-enddate'(evt) { + evt.preventDefault(); + this.currentBoard.allowsEndDate = !this.currentBoard.allowsEndDate; + this.currentBoard.setAllowsEndDate(this.currentBoard.allowsEndDate); + $(`.js-field-has-enddate ${MCB}`).toggleClass( + CKCLS, + this.currentBoard.allowsEndDate, + ); + $('.js-field-has-enddate').toggleClass( + CKCLS, + this.currentBoard.allowsEndDate, + ); + }, + 'click .js-field-has-duedate'(evt) { + evt.preventDefault(); + this.currentBoard.allowsDueDate = !this.currentBoard.allowsDueDate; + this.currentBoard.setAllowsDueDate(this.currentBoard.allowsDueDate); + $(`.js-field-has-duedate ${MCB}`).toggleClass( + CKCLS, + this.currentBoard.allowsDueDate, + ); + $('.js-field-has-duedate').toggleClass( + CKCLS, + this.currentBoard.allowsDueDate, + ); + }, + 'click .js-field-has-subtasks'(evt) { + evt.preventDefault(); + this.currentBoard.allowsSubtasks = !this.currentBoard.allowsSubtasks; + this.currentBoard.setAllowsSubtasks(this.currentBoard.allowsSubtasks); + $(`.js-field-has-subtasks ${MCB}`).toggleClass( + CKCLS, + this.currentBoard.allowsSubtasks, + ); + $('.js-field-has-subtasks').toggleClass( + CKCLS, + this.currentBoard.allowsSubtasks, + ); + }, + 'click .js-field-has-members'(evt) { + evt.preventDefault(); + this.currentBoard.allowsMembers = !this.currentBoard.allowsMembers; + this.currentBoard.setAllowsMembers(this.currentBoard.allowsMembers); + $(`.js-field-has-members ${MCB}`).toggleClass( + CKCLS, + this.currentBoard.allowsMembers, + ); + $('.js-field-has-members').toggleClass( + CKCLS, + this.currentBoard.allowsMembers, + ); + }, + 'click .js-field-has-assignee'(evt) { + evt.preventDefault(); + this.currentBoard.allowsAssignee = !this.currentBoard.allowsAssignee; + this.currentBoard.setAllowsAssignee(this.currentBoard.allowsAssignee); + $(`.js-field-has-assignee ${MCB}`).toggleClass( + CKCLS, + this.currentBoard.allowsAssignee, + ); + $('.js-field-has-assignee').toggleClass( + CKCLS, + this.currentBoard.allowsAssignee, + ); + }, + 'click .js-field-has-assigned-by'(evt) { + evt.preventDefault(); + this.currentBoard.allowsAssignedBy = !this.currentBoard + .allowsAssignedBy; + this.currentBoard.setAllowsAssignedBy( + this.currentBoard.allowsAssignedBy, + ); + $(`.js-field-has-assigned-by ${MCB}`).toggleClass( + CKCLS, + this.currentBoard.allowsAssignedBy, + ); + $('.js-field-has-assigned-by').toggleClass( + CKCLS, + this.currentBoard.allowsAssignedBy, + ); + }, + 'click .js-field-has-requested-by'(evt) { + evt.preventDefault(); + this.currentBoard.allowsRequestedBy = !this.currentBoard + .allowsRequestedBy; + this.currentBoard.setAllowsRequestedBy( + this.currentBoard.allowsRequestedBy, + ); + $(`.js-field-has-requested-by ${MCB}`).toggleClass( + CKCLS, + this.currentBoard.allowsRequestedBy, + ); + $('.js-field-has-requested-by').toggleClass( + CKCLS, + this.currentBoard.allowsRequestedBy, + ); + }, + 'click .js-field-has-labels'(evt) { + evt.preventDefault(); + this.currentBoard.allowsLabels = !this.currentBoard.allowsLabels; + this.currentBoard.setAllowsLabels(this.currentBoard.allowsLabels); + $(`.js-field-has-labels ${MCB}`).toggleClass( + CKCLS, + this.currentBoard.allowsAssignee, + ); + $('.js-field-has-labels').toggleClass( + CKCLS, + this.currentBoard.allowsLabels, + ); + }, + 'click .js-field-has-description-title'(evt) { + evt.preventDefault(); + this.currentBoard.allowsDescriptionTitle = !this.currentBoard + .allowsDescriptionTitle; + this.currentBoard.setAllowsDescriptionTitle( + this.currentBoard.allowsDescriptionTitle, + ); + $(`.js-field-has-description-title ${MCB}`).toggleClass( + CKCLS, + this.currentBoard.allowsDescriptionTitle, + ); + $('.js-field-has-description-title').toggleClass( + CKCLS, + this.currentBoard.allowsDescriptionTitle, + ); + }, + 'click .js-field-has-description-text'(evt) { + evt.preventDefault(); + this.currentBoard.allowsDescriptionText = !this.currentBoard + .allowsDescriptionText; + this.currentBoard.setAllowsDescriptionText( + this.currentBoard.allowsDescriptionText, + ); + $(`.js-field-has-description-text ${MCB}`).toggleClass( + CKCLS, + this.currentBoard.allowsDescriptionText, + ); + $('.js-field-has-description-text').toggleClass( + CKCLS, + this.currentBoard.allowsDescriptionText, + ); + }, + 'click .js-field-has-checklists'(evt) { + evt.preventDefault(); + this.currentBoard.allowsChecklists = !this.currentBoard + .allowsChecklists; + this.currentBoard.setAllowsChecklists( + this.currentBoard.allowsChecklists, + ); + $(`.js-field-has-checklists ${MCB}`).toggleClass( + CKCLS, + this.currentBoard.allowsChecklists, + ); + $('.js-field-has-checklists').toggleClass( + CKCLS, + this.currentBoard.allowsChecklists, + ); + }, + 'click .js-field-has-attachments'(evt) { + evt.preventDefault(); + this.currentBoard.allowsAttachments = !this.currentBoard + .allowsAttachments; + this.currentBoard.setAllowsAttachments( + this.currentBoard.allowsAttachments, + ); + $(`.js-field-has-attachments ${MCB}`).toggleClass( + CKCLS, + this.currentBoard.allowsAttachments, + ); + $('.js-field-has-attachments').toggleClass( + CKCLS, + this.currentBoard.allowsAttachments, + ); + }, + 'click .js-field-has-comments'(evt) { + evt.preventDefault(); + this.currentBoard.allowsComments = !this.currentBoard.allowsComments; + this.currentBoard.setAllowsComments(this.currentBoard.allowsComments); + $(`.js-field-has-comments ${MCB}`).toggleClass( + CKCLS, + this.currentBoard.allowsComments, + ); + $('.js-field-has-comments').toggleClass( + CKCLS, + this.currentBoard.allowsComments, + ); + }, + 'click .js-field-has-activities'(evt) { + evt.preventDefault(); + this.currentBoard.allowsActivities = !this.currentBoard + .allowsActivities; + this.currentBoard.setAllowsActivities( + this.currentBoard.allowsActivities, + ); + $(`.js-field-has-activities ${MCB}`).toggleClass( + CKCLS, + this.currentBoard.allowsActivities, + ); + $('.js-field-has-activities').toggleClass( + CKCLS, + this.currentBoard.allowsActivities, + ); + }, + }, + ]; + }, +}).register('boardCardSettingsPopup'); + +BlazeComponent.extendComponent({ + onCreated() { + this.error = new ReactiveVar(''); + this.loading = new ReactiveVar(false); + }, + + onRendered() { + this.find('.js-search-member input').focus(); + this.setLoading(false); + }, + + isBoardMember() { + const userId = this.currentData()._id; + const user = Users.findOne(userId); + return user && user.isBoardMember(); + }, + + isValidEmail(email) { + return SimpleSchema.RegEx.Email.test(email); + }, + + setError(error) { + this.error.set(error); + }, + + setLoading(w) { + this.loading.set(w); + }, + + isLoading() { + return this.loading.get(); + }, + + inviteUser(idNameEmail) { + const boardId = Session.get('currentBoard'); + this.setLoading(true); + const self = this; + Meteor.call('inviteUserToBoard', idNameEmail, boardId, (err, ret) => { + self.setLoading(false); + if (err) self.setError(err.error); + else if (ret.email) self.setError('email-sent'); + else Popup.close(); + }); + }, + + events() { + return [ + { + 'keyup input'() { + this.setError(''); + }, + 'click .js-select-member'() { + const userId = this.currentData()._id; + const currentBoard = Boards.findOne(Session.get('currentBoard')); + if (!currentBoard.hasMember(userId)) { + this.inviteUser(userId); + } + }, + 'click .js-email-invite'() { + const idNameEmail = $('.js-search-member input').val(); + if (idNameEmail.indexOf('@') < 0 || this.isValidEmail(idNameEmail)) { + this.inviteUser(idNameEmail); + } else this.setError('email-invalid'); + }, + }, + ]; + }, +}).register('addMemberPopup'); + +Template.changePermissionsPopup.events({ + 'click .js-set-admin, click .js-set-normal, click .js-set-no-comments, click .js-set-comment-only, click .js-set-worker'( + event, + ) { + const currentBoard = Boards.findOne(Session.get('currentBoard')); + const memberId = this.userId; + const isAdmin = $(event.currentTarget).hasClass('js-set-admin'); + const isCommentOnly = $(event.currentTarget).hasClass( + 'js-set-comment-only', + ); + const isNoComments = $(event.currentTarget).hasClass('js-set-no-comments'); + const isWorker = $(event.currentTarget).hasClass('js-set-worker'); + currentBoard.setMemberPermission( + memberId, + isAdmin, + isNoComments, + isCommentOnly, + isWorker, + ); + Popup.back(1); + }, +}); + +Template.changePermissionsPopup.helpers({ + isAdmin() { + const currentBoard = Boards.findOne(Session.get('currentBoard')); + return currentBoard.hasAdmin(this.userId); + }, + + isNormal() { + const currentBoard = Boards.findOne(Session.get('currentBoard')); + return ( + !currentBoard.hasAdmin(this.userId) && + !currentBoard.hasNoComments(this.userId) && + !currentBoard.hasCommentOnly(this.userId) && + !currentBoard.hasWorker(this.userId) + ); + }, + + isNoComments() { + const currentBoard = Boards.findOne(Session.get('currentBoard')); + return ( + !currentBoard.hasAdmin(this.userId) && + currentBoard.hasNoComments(this.userId) + ); + }, + + isCommentOnly() { + const currentBoard = Boards.findOne(Session.get('currentBoard')); + return ( + !currentBoard.hasAdmin(this.userId) && + currentBoard.hasCommentOnly(this.userId) + ); + }, + + isWorker() { + const currentBoard = Boards.findOne(Session.get('currentBoard')); + return ( + !currentBoard.hasAdmin(this.userId) && currentBoard.hasWorker(this.userId) + ); + }, + + isLastAdmin() { + const currentBoard = Boards.findOne(Session.get('currentBoard')); + return ( + currentBoard.hasAdmin(this.userId) && currentBoard.activeAdmins() === 1 + ); + }, +}); diff --git a/client/components/sidebar/sidebar.styl b/client/components/sidebar/sidebar.styl new file mode 100644 index 0000000..c104727 --- /dev/null +++ b/client/components/sidebar/sidebar.styl @@ -0,0 +1,216 @@ +@import 'nib' + +.sidebar + position: absolute + top: 0 + bottom: 0 + right: 0 + + .sidebar-shadow + position: absolute + top: 0 + bottom: 0 + right: 0 + left: 0 + background: darken(white, 3%) + box-shadow: -10px 0px 5px -10px darken(white, 30%) + z-index: 10 + + .sidebar-content + padding: 12px + margin-bottom: 1.6em + position: absolute + top: 0 + bottom: 0 + right: 0 + left: 0 + overflow-x: hidden + overflow-y: auto + + .hide-btn + display: none + + h3 + color: darken(white, 50%) + font-size: 1em + margin-bottom: 10px + + i.fa + margin-right: 3px + + hr + margin: 13px 0 + + ul.sidebar-list + display: flex + flex-direction: column + + li + & > a + display: flex + height: 30px + margin: 0 + padding: 4px + border-radius: 3px + align-items: center + + &:hover + &, i, .quiet + color white + + .member, .card-label + margin-right: 7px + margin-top: 5px + + .minicard-edit-button + float: right + padding: 8px + border-radius: 3px + + .sidebar-list-item-description + flex: 1 + overflow: ellipsis + + .fa.fa-check + margin: 0 4px + + .minicard + padding: 6px 8px 4px + + .minicard-edit-button + float: right + padding: 4px + border-radius: 3px + + &:hover + background: #dbdbdb + + .sidebar-btn + display: block + margin: 5px 0 + padding: 10px + border-radius: 3px + background: darken(white, 10%) + + &:hover * + color: white + + i.fa + margin-right: 10px + + .sidebar-shortcuts + margin: 0 + padding: 0 + top: auto + text-align: center + font-size: 0.8em + line-height: 1.6em + vertical-align: middle + color: darken(white, 40%) + +.board-sidebar + width: 548px + right: -@width + transition: top .1s, right .1s, width .1s + + &.is-open + right: 0 + +.board-widget h4 + margin: 5px 0 + +.board-widget-activity + margin-right: -4px + +.sidebar-tongue + display: block + width: 30px + height: @width + left: -@width + position: absolute + top: 0px + z-index: 15 + background: darken(white, 3%) + border-bottom-left-radius: 3px + box-shadow: -4px 0px 7px -4px darken(white, 30%) + color: darken(white, 50%) + transition: left .1s + + i.fa + padding: 3px 9px + font-size: 24px + transition: transform 0.5s + + .board-sidebar.is-open & + left: -@width + 2px + + // XXX Bug: we should add a padding left + &:hover + left: -@width + 5px + + i.fa + transform: rotate(180deg) + + &.is-hidden, + .board-sidebar.is-open &.is-hidden + z-index: 0 + left: 5px + +.archived-lists .archived-lists-item + border-top: 1px solid darken(white, 20%) + clear: both + padding: 5px 0 + + &:first-child + border-top: none + + button + float: right + margin: 0 + margin-bottom: 5px + padding: 0 2px 0 10px + +@media screen and (max-width: 800px) + .board-sidebar + width: 100% + right: -@width + + .sidebar-content + .hide-btn + width: 40px + height: @width + position: absolute + right: 5px + top: 5px + display: block + z-index: 15 + background: darken(white, 3%) + transition: left .1s + color: darken(white, 50%) + border-radius: 50% + border: 1px solid darken(white, 30%) + box-shadow: 0 1px 6px rgba(0, 0, 0, .3) + color: darken(white, 50%) + + i.fa + padding: 8px 16px + font-size: 24px + font-weight: bold + + .sidebar-tongue + width: 40px + height: @width + left: -@width - 7px + top: 5px + display: block + border-radius: 50% + border: 1px solid darken(white, 30%) + box-shadow: 0 1px 6px rgba(0, 0, 0, .3) + color: darken(white, 50%) + + .board-sidebar.is-open & + display: none + + i.fa + padding: 8px 0px 8px 16px + font-weight: bold diff --git a/client/components/sidebar/sidebarArchives.jade b/client/components/sidebar/sidebarArchives.jade new file mode 100644 index 0000000..56423ad --- /dev/null +++ b/client/components/sidebar/sidebarArchives.jade @@ -0,0 +1,62 @@ +template(name="archivesSidebar") + if isArchiveReady.get + +basicTabs(tabs=tabs) + +tabContent(slug="cards") + unless isWorker + p.quiet + a.js-restore-all-cards {{_ 'restore-all'}} + | - + a.js-delete-all-cards {{_ 'delete-all'}} + each archivedCards + .minicard-wrapper.js-minicard + +minicard(this) + if currentUser.isBoardMember + unless isWorker + p.quiet + a.js-restore-card {{_ 'restore'}} + | - + a.js-delete-card {{_ 'delete'}} + if cardIsInArchivedList + p.quiet.small ({{_ 'warn-list-archived'}}) + else + p.no-items-message {{_ 'no-archived-cards'}} + + +tabContent(slug="lists") + unless isWorker + p.quiet + a.js-restore-all-lists {{_ 'restore-all'}} + | - + a.js-delete-all-lists {{_ 'delete-all'}} + ul.archived-lists + each archivedLists + li.archived-lists-item + = title + if currentUser.isBoardMember + unless isWorker + p.quiet + a.js-restore-list {{_ 'restore'}} + | - + a.js-delete-list {{_ 'delete'}} + else + li.no-items-message {{_ 'no-archived-lists'}} + + +tabContent(slug="swimlanes") + unless isWorker + p.quiet + a.js-restore-all-swimlanes {{_ 'restore-all'}} + | - + a.js-delete-all-swimlanes {{_ 'delete-all'}} + ul.archived-lists + each archivedSwimlanes + li.archived-lists-item + = title + if currentUser.isBoardMember + unless isWorker + p.quiet + a.js-restore-swimlane {{_ 'restore'}} + | - + a.js-delete-swimlane {{_ 'delete'}} + else + li.no-items-message {{_ 'no-archived-swimlanes'}} + else + +spinner diff --git a/client/components/sidebar/sidebarArchives.js b/client/components/sidebar/sidebarArchives.js new file mode 100644 index 0000000..75b694e --- /dev/null +++ b/client/components/sidebar/sidebarArchives.js @@ -0,0 +1,150 @@ +archivedRequested = false; +const subManager = new SubsManager(); + +BlazeComponent.extendComponent({ + onCreated() { + this.isArchiveReady = new ReactiveVar(false); + + // The pattern we use to manually handle data loading is described here: + // https://kadira.io/academy/meteor-routing-guide/content/subscriptions-and-data-management/using-subs-manager + // XXX The boardId should be readed from some sort the component "props", + // unfortunatly, Blaze doesn't have this notion. + this.autorun(() => { + const currentBoardId = Session.get('currentBoard'); + if (!currentBoardId) return; + const handle = subManager.subscribe('board', currentBoardId, true); + archivedRequested = true; + Tracker.nonreactive(() => { + Tracker.autorun(() => { + this.isArchiveReady.set(handle.ready()); + }); + }); + }); + }, + + tabs() { + return [ + { name: TAPi18n.__('cards'), slug: 'cards' }, + { name: TAPi18n.__('lists'), slug: 'lists' }, + { name: TAPi18n.__('swimlanes'), slug: 'swimlanes' }, + ]; + }, + + archivedCards() { + return Cards.find({ + archived: true, + boardId: Session.get('currentBoard'), + }); + }, + + archivedLists() { + return Lists.find({ + archived: true, + boardId: Session.get('currentBoard'), + }); + }, + + archivedSwimlanes() { + return Swimlanes.find({ + archived: true, + boardId: Session.get('currentBoard'), + }); + }, + + cardIsInArchivedList() { + return this.currentData().list().archived; + }, + + onRendered() { + // XXX We should support dragging a card from the sidebar to the board + }, + + events() { + return [ + { + 'click .js-restore-card'() { + const card = this.currentData(); + if (card.canBeRestored()) { + card.restore(); + } + }, + 'click .js-restore-all-cards'() { + this.archivedCards().forEach(card => { + if (card.canBeRestored()) { + card.restore(); + } + }); + }, + + 'click .js-delete-card': Popup.afterConfirm('cardDelete', function() { + const cardId = this._id; + Cards.remove(cardId); + Popup.close(); + }), + 'click .js-delete-all-cards': Popup.afterConfirm('cardDelete', () => { + this.archivedCards().forEach(card => { + Cards.remove(card._id); + }); + Popup.close(); + }), + + 'click .js-restore-list'() { + const list = this.currentData(); + list.restore(); + }, + 'click .js-restore-all-lists'() { + this.archivedLists().forEach(list => { + list.restore(); + }); + }, + + 'click .js-delete-list': Popup.afterConfirm('listDelete', function() { + this.remove(); + Popup.close(); + }), + 'click .js-delete-all-lists': Popup.afterConfirm('listDelete', () => { + this.archivedLists().forEach(list => { + list.remove(); + }); + Popup.close(); + }), + + 'click .js-restore-swimlane'() { + const swimlane = this.currentData(); + swimlane.restore(); + }, + 'click .js-restore-all-swimlanes'() { + this.archivedSwimlanes().forEach(swimlane => { + swimlane.restore(); + }); + }, + + 'click .js-delete-swimlane': Popup.afterConfirm( + 'swimlaneDelete', + function() { + this.remove(); + Popup.close(); + }, + ), + 'click .js-delete-all-swimlanes': Popup.afterConfirm( + 'swimlaneDelete', + () => { + this.archivedSwimlanes().forEach(swimlane => { + swimlane.remove(); + }); + Popup.close(); + }, + ), + }, + ]; + }, +}).register('archivesSidebar'); + +Template.archivesSidebar.helpers({ + isWorker() { + const currentBoard = Boards.findOne(Session.get('currentBoard')); + return ( + !currentBoard.hasAdmin(this.userId) && currentBoard.hasWorker(this.userId) + ); + }, +}); diff --git a/client/components/sidebar/sidebarCustomFields.jade b/client/components/sidebar/sidebarCustomFields.jade new file mode 100644 index 0000000..ffb8d2d --- /dev/null +++ b/client/components/sidebar/sidebarCustomFields.jade @@ -0,0 +1,75 @@ +template(name="customFieldsSidebar") + ul.sidebar-list + each customFields + li + div.minicard-wrapper.js-minicard + div.minicard + a.fa.fa-pencil.js-edit-custom-field.minicard-edit-button + div.minicard-title + +viewer + =name + | ({{ type }}) + + if currentUser.isBoardMember + hr + a.sidebar-btn.js-open-create-custom-field + i.fa.fa-plus + span {{_ 'createCustomField'}} + +template(name="createCustomFieldPopup") + form + label + | {{_ 'name'}} + unless _id + input.js-field-name(type="text" autofocus) + else + input.js-field-name(type="text" value=name) + + label + | {{_ 'type'}} + select.js-field-type(disabled="{{#if _id}}disabled{{/if}}") + each types + if selected + option(value=value selected="selected") {{name}} + else + option(value=value) {{name}} + + div.js-field-settings.js-field-settings-currency(class="{{#if isTypeNotSelected 'currency'}}hide{{/if}}") + label + | {{_ 'custom-field-currency-option'}} + select.js-field-currency + each getCurrencyCodes + if selected + option(value=value selected="selected") {{name}} + else + option(value=value) {{name}} + + div.js-field-settings.js-field-settings-dropdown(class="{{#if isTypeNotSelected 'dropdown'}}hide{{/if}}") + label + | {{_ 'custom-field-dropdown-options'}} + each dropdownItems.get + input.js-dropdown-item(type="text" value=name placeholder="") + input.js-dropdown-item.last(type="text" value="" placeholder="{{_ 'custom-field-dropdown-options-placeholder'}}") + a.flex.js-field-show-on-card(class="{{#if showOnCard}}is-checked{{/if}}") + .materialCheckBox(class="{{#if showOnCard}}is-checked{{/if}}") + + span {{_ 'show-field-on-card'}} + a.flex.js-field-automatically-on-card(class="{{#if automaticallyOnCard}}is-checked{{/if}}") + .materialCheckBox(class="{{#if automaticallyOnCard}}is-checked{{/if}}") + + span {{_ 'automatically-field-on-card'}} + + a.flex.js-field-showLabel-on-card(class="{{#if showLabelOnMiniCard}}is-checked{{/if}}") + .materialCheckBox(class="{{#if showLabelOnMiniCard}}is-checked{{/if}}") + + span {{_ 'showLabel-field-on-card'}} + + button.primary.wide.left(type="button") + | {{_ 'save'}} + if _id + button.negate.wide.right.js-delete-custom-field(type="button") + | {{_ 'delete'}} + +template(name="deleteCustomFieldPopup") + p {{_ "custom-field-delete-pop"}} + button.js-confirm.negate.full(type="submit") {{_ 'delete'}} diff --git a/client/components/sidebar/sidebarCustomFields.js b/client/components/sidebar/sidebarCustomFields.js new file mode 100644 index 0000000..bd2ebde --- /dev/null +++ b/client/components/sidebar/sidebarCustomFields.js @@ -0,0 +1,243 @@ +BlazeComponent.extendComponent({ + customFields() { + return CustomFields.find({ + boardIds: { $in: [Session.get('currentBoard')] }, + }); + }, + + events() { + return [ + { + 'click .js-open-create-custom-field': Popup.open('createCustomField'), + 'click .js-edit-custom-field': Popup.open('editCustomField'), + }, + ]; + }, +}).register('customFieldsSidebar'); + +const CreateCustomFieldPopup = BlazeComponent.extendComponent({ + _types: ['text', 'number', 'date', 'dropdown', 'currency'], + + _currencyList: [ + { + name: 'US Dollar', + code: 'USD', + }, + { + name: 'Euro', + code: 'EUR', + }, + { + name: 'Yen', + code: 'JPY', + }, + { + name: 'Pound Sterling', + code: 'GBP', + }, + { + name: 'Australian Dollar', + code: 'AUD', + }, + { + name: 'Canadian Dollar', + code: 'CAD', + }, + { + name: 'Swiss Franc', + code: 'CHF', + }, + { + name: 'Yuan Renminbi', + code: 'CNY', + }, + { + name: 'Hong Kong Dollar', + code: 'HKD', + }, + { + name: 'New Zealand Dollar', + code: 'NZD', + }, + ], + + onCreated() { + this.type = new ReactiveVar( + this.data().type ? this.data().type : this._types[0], + ); + + this.currencyCode = new ReactiveVar( + this.data().settings && this.data().settings.currencyCode + ? this.data().settings.currencyCode + : this._currencyList[0].code, + ); + + this.dropdownItems = new ReactiveVar( + this.data().settings && this.data().settings.dropdownItems + ? this.data().settings.dropdownItems + : [], + ); + }, + + types() { + const currentType = this.data().type; + return this._types.map(type => { + return { + value: type, + name: TAPi18n.__(`custom-field-${type}`), + selected: type === currentType, + }; + }); + }, + + isTypeNotSelected(type) { + return this.type.get() !== type; + }, + + getCurrencyCodes() { + const currentCode = this.currencyCode.get(); + + return this._currencyList.map(({ name, code }) => { + return { + name: `${code} - ${name}`, + value: code, + selected: code === currentCode, + }; + }); + }, + + getDropdownItems() { + const items = this.dropdownItems.get(); + Array.from(this.findAll('.js-field-settings-dropdown input')).forEach( + (el, index) => { + //console.log('each item!', index, el.value); + if (!items[index]) + items[index] = { + _id: Random.id(6), + }; + items[index].name = el.value.trim(); + }, + ); + return items; + }, + + getSettings() { + const settings = {}; + switch (this.type.get()) { + case 'currency': { + const currencyCode = this.currencyCode.get(); + settings.currencyCode = currencyCode; + break; + } + case 'dropdown': { + const dropdownItems = this.getDropdownItems().filter( + item => !!item.name.trim(), + ); + settings.dropdownItems = dropdownItems; + break; + } + } + return settings; + }, + + events() { + return [ + { + 'change .js-field-type'(evt) { + const value = evt.target.value; + this.type.set(value); + }, + 'change .js-field-currency'(evt) { + const value = evt.target.value; + this.currencyCode.set(value); + }, + 'keydown .js-dropdown-item.last'(evt) { + if (evt.target.value.trim() && evt.keyCode === 13) { + const items = this.getDropdownItems(); + this.dropdownItems.set(items); + evt.target.value = ''; + } + }, + 'click .js-field-show-on-card'(evt) { + let $target = $(evt.target); + if (!$target.hasClass('js-field-show-on-card')) { + $target = $target.parent(); + } + $target.find('.materialCheckBox').toggleClass('is-checked'); + $target.toggleClass('is-checked'); + }, + 'click .js-field-automatically-on-card'(evt) { + let $target = $(evt.target); + if (!$target.hasClass('js-field-automatically-on-card')) { + $target = $target.parent(); + } + $target.find('.materialCheckBox').toggleClass('is-checked'); + $target.toggleClass('is-checked'); + }, + 'click .js-field-showLabel-on-card'(evt) { + let $target = $(evt.target); + if (!$target.hasClass('js-field-showLabel-on-card')) { + $target = $target.parent(); + } + $target.find('.materialCheckBox').toggleClass('is-checked'); + $target.toggleClass('is-checked'); + }, + 'click .primary'(evt) { + evt.preventDefault(); + + const data = { + name: this.find('.js-field-name').value.trim(), + type: this.type.get(), + settings: this.getSettings(), + showOnCard: this.find('.js-field-show-on-card.is-checked') !== null, + showLabelOnMiniCard: + this.find('.js-field-showLabel-on-card.is-checked') !== null, + automaticallyOnCard: + this.find('.js-field-automatically-on-card.is-checked') !== null, + }; + + // insert or update + if (!this.data()._id) { + data.boardIds = [Session.get('currentBoard')]; + CustomFields.insert(data); + } else { + CustomFields.update(this.data()._id, { $set: data }); + } + + Popup.back(); + }, + 'click .js-delete-custom-field': Popup.afterConfirm( + 'deleteCustomField', + function() { + const customField = CustomFields.findOne(this._id); + if (customField.boardIds.length > 1) { + CustomFields.update(customField._id, { + $pull: { + boardIds: Session.get('currentBoard'), + }, + }); + } else { + CustomFields.remove(customField._id); + } + Popup.close(); + }, + ), + }, + ]; + }, +}); +CreateCustomFieldPopup.register('createCustomFieldPopup'); + +(class extends CreateCustomFieldPopup { + template() { + return 'createCustomFieldPopup'; + } +}.register('editCustomFieldPopup')); + +/*Template.deleteCustomFieldPopup.events({ + 'submit'(evt) { + const customFieldId = this._id; + CustomFields.remove(customFieldId); + Popup.close(); + } +});*/ diff --git a/client/components/sidebar/sidebarFilters.jade b/client/components/sidebar/sidebarFilters.jade new file mode 100644 index 0000000..6d899b7 --- /dev/null +++ b/client/components/sidebar/sidebarFilters.jade @@ -0,0 +1,158 @@ +//- + XXX There is a *lot* of code duplication in the below templates and in the + corresponding JavaScript components. We will probably need the upcoming #let + and #each x in y constructors to fix this. + +template(name="filterSidebar") + ul.sidebar-list + span {{_ 'list-filter-label'}} + form.js-list-filter + input(type="text") + ul.sidebar-list + li(class="{{#if Filter.labelIds.isSelected undefined}}active{{/if}}") + a.name.js-toggle-label-filter + span.sidebar-list-item-description + | {{_ 'filter-no-label'}} + if Filter.labelIds.isSelected undefined + i.fa.fa-check + each currentBoard.labels + li + a.name.js-toggle-label-filter + span.card-label.square(class="card-label-{{color}}") + span.sidebar-list-item-description + if name + = name + else + span.quiet {{_ "label-default" (_ (concat "color-" color))}} + if Filter.labelIds.isSelected _id + i.fa.fa-check + hr + ul.sidebar-list + li(class="{{#if Filter.members.isSelected undefined}}active{{/if}}") + a.name.js-toggle-member-filter + span.sidebar-list-item-description + | {{_ 'filter-no-member'}} + if Filter.members.isSelected undefined + i.fa.fa-check + each currentBoard.activeMembers + with getUser userId + li(class="{{#if Filter.members.isSelected _id}}active{{/if}}") + a.name.js-toggle-member-filter + +userAvatar(userId=this._id) + span.sidebar-list-item-description + = profile.fullname + | ({{ username }}) + if Filter.members.isSelected _id + i.fa.fa-check + hr + ul.sidebar-list + li(class="{{#if Filter.assignees.isSelected undefined}}active{{/if}}") + a.name.js-toggle-assignee-filter + span.sidebar-list-item-description + | {{_ 'filter-no-assignee'}} + if Filter.assignees.isSelected undefined + i.fa.fa-check + each currentBoard.activeMembers + with getUser userId + li(class="{{#if Filter.assignees.isSelected _id}}active{{/if}}") + a.name.js-toggle-assignee-filter + +userAvatar(userId=this._id) + span.sidebar-list-item-description + = profile.fullname + | ({{ username }}) + if Filter.assignees.isSelected _id + i.fa.fa-check + hr + ul.sidebar-list + li(class="{{#if Filter.customFields.isSelected undefined}}active{{/if}}") + a.name.js-toggle-custom-fields-filter + span.sidebar-list-item-description + | {{_ 'filter-no-custom-fields'}} + if Filter.customFields.isSelected undefined + i.fa.fa-check + each currentBoard.customFields + li(class="{{#if Filter.customFields.isSelected _id}}active{{/if}}") + a.name.js-toggle-custom-fields-filter + span.sidebar-list-item-description + | {{ name }} + if Filter.customFields.isSelected _id + i.fa.fa-check + hr + ul.sidebar-list + li(class="{{#if Filter.archive.isSelected _id}}active{{/if}}") + a.name.js-toggle-archive-filter + span.sidebar-list-item-description + | {{_ 'filter-show-archive'}} + if Filter.archive.isSelected _id + i.fa.fa-check + hr + ul.sidebar-list + li(class="{{#if Filter.hideEmpty.isSelected _id}}active{{/if}}") + a.name.js-toggle-hideEmpty-filter + span.sidebar-list-item-description + | {{_ 'filter-hide-empty'}} + if Filter.hideEmpty.isSelected _id + i.fa.fa-check + hr + span {{_ 'advanced-filter-label'}} + input.js-field-advanced-filter(type="text") + span {{_ 'advanced-filter-description'}} + if Filter.isActive + hr + a.sidebar-btn.js-clear-all + i.fa.fa-filter + span {{_ 'filter-clear'}} + a.sidebar-btn.js-filter-to-selection + i.fa.fa-check-square-o + span {{_ 'filter-to-selection'}} + +template(name="multiselectionSidebar") + ul.sidebar-list + each currentBoard.labels + li + a.name.js-toggle-label-multiselection + span.card-label.square(class="card-label-{{color}}") + span.sidebar-list-item-description + if name + = name + else + span.quiet {{_ "label-default" (_ (concat "color-" color))}} + if allSelectedElementHave 'label' _id + i.fa.fa-check + else if someSelectedElementHave 'label' _id + i.fa.fa-ellipsis-h + hr + ul.sidebar-list + each currentBoard.activeMembers + with getUser userId + li(class="{{#if Filter.members.isSelected _id}}active{{/if}}") + a.name.js-toggle-member-multiselection + +userAvatar(userId=this._id) + span.sidebar-list-item-description + = profile.fullname + | ({{ username }}) + if allSelectedElementHave 'member' _id + i.fa.fa-check + else if someSelectedElementHave 'member' _id + i.fa.fa-ellipsis-h + unless currentUser.isWorker + hr + a.sidebar-btn.js-move-selection + i.fa.fa-share + span {{_ 'move-selection'}} + a.sidebar-btn.js-archive-selection + i.fa.fa-archive + span {{_ 'archive-selection'}} + +template(name="disambiguateMultiLabelPopup") + p {{_ 'what-to-do'}} + button.wide.js-remove-label {{_ 'remove-label'}} + button.wide.js-add-label {{_ 'add-label'}} + +template(name="disambiguateMultiMemberPopup") + p {{_ 'what-to-do'}} + button.wide.js-unassign-member {{_ 'unassign-member'}} + button.wide.js-assign-member {{_ 'assign-member'}} + +template(name="moveSelectionPopup") + +boardLists diff --git a/client/components/sidebar/sidebarFilters.js b/client/components/sidebar/sidebarFilters.js new file mode 100644 index 0000000..56badba --- /dev/null +++ b/client/components/sidebar/sidebarFilters.js @@ -0,0 +1,165 @@ +const subManager = new SubsManager(); + +BlazeComponent.extendComponent({ + events() { + return [ + { + 'submit .js-list-filter'(evt) { + evt.preventDefault(); + Filter.lists.set(this.find('.js-list-filter input').value.trim()); + }, + 'click .js-toggle-label-filter'(evt) { + evt.preventDefault(); + Filter.labelIds.toggle(this.currentData()._id); + Filter.resetExceptions(); + }, + 'click .js-toggle-member-filter'(evt) { + evt.preventDefault(); + Filter.members.toggle(this.currentData()._id); + Filter.resetExceptions(); + }, + 'click .js-toggle-assignee-filter'(evt) { + evt.preventDefault(); + Filter.assignees.toggle(this.currentData()._id); + Filter.resetExceptions(); + }, + 'click .js-toggle-archive-filter'(evt) { + evt.preventDefault(); + Filter.archive.toggle(this.currentData()._id); + Filter.resetExceptions(); + const currentBoardId = Session.get('currentBoard'); + if (!currentBoardId) return; + subManager.subscribe( + 'board', + currentBoardId, + Filter.archive.isSelected(), + ); + }, + 'click .js-toggle-hideEmpty-filter'(evt) { + evt.preventDefault(); + Filter.hideEmpty.toggle(this.currentData()._id); + Filter.resetExceptions(); + }, + 'click .js-toggle-custom-fields-filter'(evt) { + evt.preventDefault(); + Filter.customFields.toggle(this.currentData()._id); + Filter.resetExceptions(); + }, + 'change .js-field-advanced-filter'(evt) { + evt.preventDefault(); + Filter.advanced.set( + this.find('.js-field-advanced-filter').value.trim(), + ); + Filter.resetExceptions(); + }, + 'click .js-clear-all'(evt) { + evt.preventDefault(); + Filter.reset(); + }, + 'click .js-filter-to-selection'(evt) { + evt.preventDefault(); + const selectedCards = Cards.find(Filter.mongoSelector()).map(c => { + return c._id; + }); + MultiSelection.add(selectedCards); + }, + }, + ]; + }, +}).register('filterSidebar'); + +function mutateSelectedCards(mutationName, ...args) { + Cards.find(MultiSelection.getMongoSelector()).forEach(card => { + card[mutationName](...args); + }); +} + +BlazeComponent.extendComponent({ + mapSelection(kind, _id) { + return Cards.find(MultiSelection.getMongoSelector()).map(card => { + const methodName = kind === 'label' ? 'hasLabel' : 'isAssigned'; + return card[methodName](_id); + }); + }, + + allSelectedElementHave(kind, _id) { + if (MultiSelection.isEmpty()) return false; + else return _.every(this.mapSelection(kind, _id)); + }, + + someSelectedElementHave(kind, _id) { + if (MultiSelection.isEmpty()) return false; + else return _.some(this.mapSelection(kind, _id)); + }, + + events() { + return [ + { + 'click .js-toggle-label-multiselection'(evt) { + const labelId = this.currentData()._id; + const mappedSelection = this.mapSelection('label', labelId); + + if (_.every(mappedSelection)) { + mutateSelectedCards('removeLabel', labelId); + } else if (_.every(mappedSelection, bool => !bool)) { + mutateSelectedCards('addLabel', labelId); + } else { + const popup = Popup.open('disambiguateMultiLabel'); + // XXX We need to have a better integration between the popup and the + // UI components systems. + popup.call(this.currentData(), evt); + } + }, + 'click .js-toggle-member-multiselection'(evt) { + const memberId = this.currentData()._id; + const mappedSelection = this.mapSelection('member', memberId); + if (_.every(mappedSelection)) { + mutateSelectedCards('unassignMember', memberId); + } else if (_.every(mappedSelection, bool => !bool)) { + mutateSelectedCards('assignMember', memberId); + } else { + const popup = Popup.open('disambiguateMultiMember'); + // XXX We need to have a better integration between the popup and the + // UI components systems. + popup.call(this.currentData(), evt); + } + }, + 'click .js-move-selection': Popup.open('moveSelection'), + 'click .js-archive-selection'() { + mutateSelectedCards('archive'); + EscapeActions.executeUpTo('multiselection'); + }, + }, + ]; + }, +}).register('multiselectionSidebar'); + +Template.disambiguateMultiLabelPopup.events({ + 'click .js-remove-label'() { + mutateSelectedCards('removeLabel', this._id); + Popup.close(); + }, + 'click .js-add-label'() { + mutateSelectedCards('addLabel', this._id); + Popup.close(); + }, +}); + +Template.disambiguateMultiMemberPopup.events({ + 'click .js-unassign-member'() { + mutateSelectedCards('assignMember', this._id); + Popup.close(); + }, + 'click .js-assign-member'() { + mutateSelectedCards('unassignMember', this._id); + Popup.close(); + }, +}); + +Template.moveSelectionPopup.events({ + 'click .js-select-list'(event) { + // Move the minicard to the end of the target list + mutateSelectedCards('moveToEndOfList', { listId: this._id }); + EscapeActions.executeUpTo('multiselection'); + }, +}); diff --git a/client/components/sidebar/sidebarSearches.jade b/client/components/sidebar/sidebarSearches.jade new file mode 100644 index 0000000..d75be7b --- /dev/null +++ b/client/components/sidebar/sidebarSearches.jade @@ -0,0 +1,12 @@ +template(name="searchSidebar") + form.js-search-term-form + input(type="text" name="searchTerm" placeholder="{{_ 'search-example'}}" autofocus dir="auto") + .list-body + .minilists.clearfix.js-minilists + each (lists) + a.minilist-wrapper.js-minilist(href=absoluteUrl) + +minilist(this) + .minicards.clearfix.js-minicards + each (results) + a.minicard-wrapper.js-minicard(href=absoluteUrl) + +minicard(this) diff --git a/client/components/sidebar/sidebarSearches.js b/client/components/sidebar/sidebarSearches.js new file mode 100644 index 0000000..0267726 --- /dev/null +++ b/client/components/sidebar/sidebarSearches.js @@ -0,0 +1,26 @@ +BlazeComponent.extendComponent({ + onCreated() { + this.term = new ReactiveVar(''); + }, + + results() { + const currentBoard = Boards.findOne(Session.get('currentBoard')); + return currentBoard.searchCards(this.term.get()); + }, + + lists() { + const currentBoard = Boards.findOne(Session.get('currentBoard')); + return currentBoard.searchLists(this.term.get()); + }, + + events() { + return [ + { + 'submit .js-search-term-form'(evt) { + evt.preventDefault(); + this.term.set(evt.target.searchTerm.value); + }, + }, + ]; + }, +}).register('searchSidebar'); diff --git a/client/components/sidebar/sidebarSearches.styl b/client/components/sidebar/sidebarSearches.styl new file mode 100644 index 0000000..6b8ad90 --- /dev/null +++ b/client/components/sidebar/sidebarSearches.styl @@ -0,0 +1,2 @@ +input + max-width: 100% diff --git a/client/components/swimlanes/miniswimlane.jade b/client/components/swimlanes/miniswimlane.jade new file mode 100644 index 0000000..d4be859 --- /dev/null +++ b/client/components/swimlanes/miniswimlane.jade @@ -0,0 +1,8 @@ +template(name="miniswimlane") + .minicard( + class="minicard-{{colorClass}}") + .minicard-title + .handle + .fa.fa-arrows + +viewer + = title diff --git a/client/components/swimlanes/swimlaneHeader.jade b/client/components/swimlanes/swimlaneHeader.jade new file mode 100644 index 0000000..9228bf7 --- /dev/null +++ b/client/components/swimlanes/swimlaneHeader.jade @@ -0,0 +1,66 @@ +template(name="swimlaneHeader") + .swimlane-header-wrap.js-swimlane-header(class='{{#if colorClass}}swimlane-{{colorClass}}{{/if}}') + if this.isTemplateContainer + +swimlaneFixedHeader(this) + else + +inlinedForm + +editSwimlaneTitleForm + else + +swimlaneFixedHeader(this) + +template(name="swimlaneFixedHeader") + .swimlane-header( + class="{{#if currentUser.isBoardMember}}js-open-inlined-form is-editable{{/if}}") + +viewer + = title + .swimlane-header-menu + unless currentUser.isCommentOnly + a.fa.fa-plus.js-open-add-swimlane-menu.swimlane-header-plus-icon + a.fa.fa-navicon.js-open-swimlane-menu + unless isMiniScreen + if showDesktopDragHandles + a.swimlane-header-handle.handle.fa.fa-arrows.js-swimlane-header-handle + if isMiniScreen + a.swimlane-header-miniscreen-handle.handle.fa.fa-arrows.js-swimlane-header-handle + +template(name="editSwimlaneTitleForm") + .list-composer + input.list-name-input.full-line(type="text" value=title autofocus) + .edit-controls.clearfix + button.primary.confirm(type="submit") {{_ 'save'}} + a.fa.fa-times-thin.js-close-inlined-form + +template(name="swimlaneActionPopup") + unless currentUser.isCommentOnly + ul.pop-over-list + li: a.js-set-swimlane-color {{_ 'select-color'}} + unless this.isTemplateContainer + hr + ul.pop-over-list + li: a.js-close-swimlane {{_ 'archive-swimlane'}} + +template(name="swimlaneAddPopup") + unless currentUser.isCommentOnly + form + input.swimlane-name-input.full-line(type="text" placeholder="{{_ 'add-swimlane'}}" + autocomplete="off" autofocus) + .edit-controls.clearfix + button.primary.confirm(type="submit") {{_ 'add'}} + unless currentBoard.isTemplatesBoard + unless currentBoard.isTemplateBoard + span.quiet + | {{_ 'or'}} + a.js-swimlane-template {{_ 'template'}} + +template(name="setSwimlaneColorPopup") + form.edit-label + .palette-colors: each colors + span.card-label.palette-color.js-palette-color(class="card-details-{{color}}") + if(isSelected color) + i.fa.fa-check + button.primary.confirm.js-submit {{_ 'save'}} + button.js-remove-color.negate.wide.right {{_ 'unset-color'}} + +template(name="swimlaneDeletePopup") + p {{_ "swimlane-delete-pop"}} + button.js-confirm.negate.full(type="submit") {{_ 'delete'}} diff --git a/client/components/swimlanes/swimlaneHeader.js b/client/components/swimlanes/swimlaneHeader.js new file mode 100644 index 0000000..3032966 --- /dev/null +++ b/client/components/swimlanes/swimlaneHeader.js @@ -0,0 +1,131 @@ +import { Cookies } from 'meteor/ostrio:cookies'; +const cookies = new Cookies(); +const { calculateIndexData } = Utils; + +let swimlaneColors; +Meteor.startup(() => { + swimlaneColors = Swimlanes.simpleSchema()._schema.color.allowedValues; +}); + +BlazeComponent.extendComponent({ + editTitle(event) { + event.preventDefault(); + const newTitle = this.childComponents('inlinedForm')[0] + .getValue() + .trim(); + const swimlane = this.currentData(); + if (newTitle) { + swimlane.rename(newTitle.trim()); + } + }, + + events() { + return [ + { + 'click .js-open-swimlane-menu': Popup.open('swimlaneAction'), + 'click .js-open-add-swimlane-menu': Popup.open('swimlaneAdd'), + submit: this.editTitle, + }, + ]; + }, +}).register('swimlaneHeader'); + +Template.swimlaneHeader.helpers({ + showDesktopDragHandles() { + currentUser = Meteor.user(); + if (currentUser) { + return (currentUser.profile || {}).showDesktopDragHandles; + } else if (cookies.has('showDesktopDragHandles')) { + return true; + } else { + return false; + } + }, +}); + +Template.swimlaneActionPopup.events({ + 'click .js-set-swimlane-color': Popup.open('setSwimlaneColor'), + 'click .js-close-swimlane'(event) { + event.preventDefault(); + this.archive(); + Popup.close(); + }, +}); + +BlazeComponent.extendComponent({ + onCreated() { + this.currentSwimlane = this.currentData(); + }, + + events() { + return [ + { + submit(event) { + event.preventDefault(); + const currentBoard = Boards.findOne(Session.get('currentBoard')); + const nextSwimlane = currentBoard.nextSwimlane(this.currentSwimlane); + const titleInput = this.find('.swimlane-name-input'); + const title = titleInput.value.trim(); + const sortValue = calculateIndexData( + this.currentSwimlane, + nextSwimlane, + 1, + ); + const swimlaneType = currentBoard.isTemplatesBoard() + ? 'template-swimlane' + : 'swimlane'; + + if (title) { + Swimlanes.insert({ + title, + boardId: Session.get('currentBoard'), + sort: sortValue.base, + type: swimlaneType, + }); + + titleInput.value = ''; + titleInput.focus(); + } + // XXX ideally, we should move the popup to the newly + // created swimlane so a user can add more than one swimlane + // with a minimum of interactions + Popup.close(); + }, + 'click .js-swimlane-template': Popup.open('searchElement'), + }, + ]; + }, +}).register('swimlaneAddPopup'); + +BlazeComponent.extendComponent({ + onCreated() { + this.currentSwimlane = this.currentData(); + this.currentColor = new ReactiveVar(this.currentSwimlane.color); + }, + + colors() { + return swimlaneColors.map(color => ({ color, name: '' })); + }, + + isSelected(color) { + return this.currentColor.get() === color; + }, + + events() { + return [ + { + 'click .js-palette-color'() { + this.currentColor.set(this.currentData().color); + }, + 'click .js-submit'() { + this.currentSwimlane.setColor(this.currentColor.get()); + Popup.close(); + }, + 'click .js-remove-color'() { + this.currentSwimlane.setColor(null); + Popup.close(); + }, + }, + ]; + }, +}).register('setSwimlaneColorPopup'); diff --git a/client/components/swimlanes/swimlanes.jade b/client/components/swimlanes/swimlanes.jade new file mode 100644 index 0000000..df7fede --- /dev/null +++ b/client/components/swimlanes/swimlanes.jade @@ -0,0 +1,62 @@ +template(name="swimlane") + .swimlane + +swimlaneHeader + unless collapseSwimlane + .swimlane.js-lists.js-swimlane(id="swimlane-{{_id}}") + if isMiniScreen + if currentListIsInThisSwimlane _id + +list(currentList) + unless currentList + each lists + +miniList(this) + if currentUser.isBoardMember + unless currentUser.isCommentOnly + +addListForm + else + each lists + +list(this) + if currentCardIsInThisList _id ../_id + +cardDetails(currentCard) + if currentUser.isBoardMember + unless currentUser.isCommentOnly + +addListForm + +template(name="listsGroup") + .swimlane.list-group.js-lists + if isMiniScreen + if currentList + +list(currentList) + else + each lists + +miniList(this) + if currentUser.isBoardMember + unless currentUser.isCommentOnly + +addListForm + else + each lists + if visible this + +list(this) + if currentCardIsInThisList _id null + +cardDetails(currentCard) + if currentUser.isBoardMember + unless currentUser.isCommentOnly + +addListForm + +template(name="addListForm") + unless currentUser.isWorker + .list.list-composer.js-list-composer(class="{{#if isMiniScreen}}mini-list{{/if}}") + .list-header-add + +inlinedForm(autoclose=false) + input.list-name-input.full-line(type="text" placeholder="{{_ 'add-list'}}" + autocomplete="off" autofocus) + .edit-controls.clearfix + button.primary.confirm(type="submit") {{_ 'save'}} + unless currentBoard.isTemplatesBoard + unless currentBoard.isTemplateBoard + span.quiet + | {{_ 'or'}} + a.js-list-template {{_ 'template'}} + else + a.open-list-composer.js-open-inlined-form + i.fa.fa-plus + | {{_ 'add-list'}} diff --git a/client/components/swimlanes/swimlanes.js b/client/components/swimlanes/swimlanes.js new file mode 100644 index 0000000..1fc97a8 --- /dev/null +++ b/client/components/swimlanes/swimlanes.js @@ -0,0 +1,325 @@ +import { Cookies } from 'meteor/ostrio:cookies'; +const cookies = new Cookies(); +const { calculateIndex } = Utils; + +function currentListIsInThisSwimlane(swimlaneId) { + const currentList = Lists.findOne(Session.get('currentList')); + return ( + currentList && + (currentList.swimlaneId === swimlaneId || currentList.swimlaneId === '') + ); +} + +function currentCardIsInThisList(listId, swimlaneId) { + const currentCard = Cards.findOne(Session.get('currentCard')); + const currentUser = Meteor.user(); + if ( + currentUser && + currentUser.profile && + Utils.boardView() === 'board-view-swimlanes' + ) + return ( + currentCard && + currentCard.listId === listId && + currentCard.swimlaneId === swimlaneId + ); + else return currentCard && currentCard.listId === listId; + + // https://github.com/wekan/wekan/issues/1623 + // https://github.com/ChronikEwok/wekan/commit/cad9b20451bb6149bfb527a99b5001873b06c3de + // TODO: In public board, if you would like to switch between List/Swimlane view, you could + // 1) If there is no view cookie, save to cookie board-view-lists + // board-view-lists / board-view-swimlanes / board-view-cal + // 2) If public user changes clicks board-view-lists then change view and + // then change view and save cookie with view value + // without using currentuser above, because currentuser is null. +} + +function initSortable(boardComponent, $listsDom) { + // We want to animate the card details window closing. We rely on CSS + // transition for the actual animation. + $listsDom._uihooks = { + removeElement(node) { + const removeNode = _.once(() => { + node.parentNode.removeChild(node); + }); + if ($(node).hasClass('js-card-details')) { + $(node).css({ + flexBasis: 0, + padding: 0, + }); + $listsDom.one(CSSEvents.transitionend, removeNode); + } else { + removeNode(); + } + }, + }; + + $listsDom.sortable({ + tolerance: 'pointer', + helper: 'clone', + items: '.js-list:not(.js-list-composer)', + placeholder: 'list placeholder', + distance: 7, + start(evt, ui) { + ui.placeholder.height(ui.helper.height()); + EscapeActions.executeUpTo('popup-close'); + boardComponent.setIsDragging(true); + }, + stop(evt, ui) { + // To attribute the new index number, we need to get the DOM element + // of the previous and the following card -- if any. + const prevListDom = ui.item.prev('.js-list').get(0); + const nextListDom = ui.item.next('.js-list').get(0); + const sortIndex = calculateIndex(prevListDom, nextListDom, 1); + + $listsDom.sortable('cancel'); + const listDomElement = ui.item.get(0); + const list = Blaze.getData(listDomElement); + + Lists.update(list._id, { + $set: { + sort: sortIndex.base, + }, + }); + + boardComponent.setIsDragging(false); + }, + }); + + function userIsMember() { + return ( + Meteor.user() && + Meteor.user().isBoardMember() && + !Meteor.user().isCommentOnly() && + !Meteor.user().isWorker() + ); + } + + boardComponent.autorun(() => { + let showDesktopDragHandles = false; + currentUser = Meteor.user(); + if (currentUser) { + showDesktopDragHandles = (currentUser.profile || {}) + .showDesktopDragHandles; + } else if (cookies.has('showDesktopDragHandles')) { + showDesktopDragHandles = true; + } else { + showDesktopDragHandles = false; + } + + if (Utils.isMiniScreen() || showDesktopDragHandles) { + $listsDom.sortable({ + handle: '.js-list-handle', + }); + } else if (!Utils.isMiniScreen() && !showDesktopDragHandles) { + $listsDom.sortable({ + handle: '.js-list-header', + }); + } + + const $listDom = $listsDom; + if ($listDom.data('uiSortable') || $listDom.data('sortable')) { + $listsDom.sortable( + 'option', + 'disabled', + // Disable drag-dropping when user is not member/is worker + !userIsMember() || Meteor.user().isWorker(), + // Not disable drag-dropping while in multi-selection mode + // MultiSelection.isActive() || !userIsMember(), + ); + } + }); +} + +BlazeComponent.extendComponent({ + onRendered() { + const boardComponent = this.parentComponent(); + const $listsDom = this.$('.js-lists'); + + if (!Session.get('currentCard')) { + boardComponent.scrollLeft(); + } + + initSortable(boardComponent, $listsDom); + }, + onCreated() { + this.draggingActive = new ReactiveVar(false); + + this._isDragging = false; + this._lastDragPositionX = 0; + }, + + id() { + return this._id; + }, + + currentCardIsInThisList(listId, swimlaneId) { + return currentCardIsInThisList(listId, swimlaneId); + }, + + currentListIsInThisSwimlane(swimlaneId) { + return currentListIsInThisSwimlane(swimlaneId); + }, + + events() { + return [ + { + // Click-and-drag action + 'mousedown .board-canvas'(evt) { + // Translating the board canvas using the click-and-drag action can + // conflict with the build-in browser mechanism to select text. We + // define a list of elements in which we disable the dragging because + // the user will legitimately expect to be able to select some text with + // his mouse. + + let showDesktopDragHandles = false; + currentUser = Meteor.user(); + if (currentUser) { + showDesktopDragHandles = (currentUser.profile || {}) + .showDesktopDragHandles; + } else if (cookies.has('showDesktopDragHandles')) { + showDesktopDragHandles = true; + } else { + showDesktopDragHandles = false; + } + + const noDragInside = ['a', 'input', 'textarea', 'p'].concat( + Utils.isMiniScreen() || showDesktopDragHandles + ? ['.js-list-handle', '.js-swimlane-header-handle'] + : ['.js-list-header'], + ); + + if ( + $(evt.target).closest(noDragInside.join(',')).length === 0 && + this.$('.swimlane').prop('clientHeight') > evt.offsetY + ) { + this._isDragging = true; + this._lastDragPositionX = evt.clientX; + } + }, + mouseup() { + if (this._isDragging) { + this._isDragging = false; + } + }, + mousemove(evt) { + if (this._isDragging) { + // Update the canvas position + this.listsDom.scrollLeft -= evt.clientX - this._lastDragPositionX; + this._lastDragPositionX = evt.clientX; + // Disable browser text selection while dragging + evt.stopPropagation(); + evt.preventDefault(); + // Don't close opened card or inlined form at the end of the + // click-and-drag. + EscapeActions.executeUpTo('popup-close'); + EscapeActions.preventNextClick(); + } + }, + }, + ]; + }, +}).register('swimlane'); + +BlazeComponent.extendComponent({ + onCreated() { + this.currentBoard = Boards.findOne(Session.get('currentBoard')); + this.isListTemplatesSwimlane = + this.currentBoard.isTemplatesBoard() && + this.currentData().isListTemplatesSwimlane(); + this.currentSwimlane = this.currentData(); + }, + + // Proxy + open() { + this.childComponents('inlinedForm')[0].open(); + }, + + events() { + return [ + { + submit(evt) { + evt.preventDefault(); + const titleInput = this.find('.list-name-input'); + const title = titleInput.value.trim(); + if (title) { + Lists.insert({ + title, + boardId: Session.get('currentBoard'), + sort: $('.list').length, + type: this.isListTemplatesSwimlane ? 'template-list' : 'list', + swimlaneId: this.currentBoard.isTemplatesBoard() + ? this.currentSwimlane._id + : '', + }); + + titleInput.value = ''; + titleInput.focus(); + } + }, + 'click .js-list-template': Popup.open('searchElement'), + }, + ]; + }, +}).register('addListForm'); + +Template.swimlane.helpers({ + showDesktopDragHandles() { + currentUser = Meteor.user(); + if (currentUser) { + return (currentUser.profile || {}).showDesktopDragHandles; + } else if (cookies.has('showDesktopDragHandles')) { + return true; + } else { + return false; + } + }, + canSeeAddList() { + return ( + Meteor.user() && + Meteor.user().isBoardMember() && + !Meteor.user().isCommentOnly() && + !Meteor.user().isWorker() + ); + }, +}); + +BlazeComponent.extendComponent({ + currentCardIsInThisList(listId, swimlaneId) { + return currentCardIsInThisList(listId, swimlaneId); + }, + visible(list) { + if (list.archived) { + // Show archived list only when filter archive is on or archive is selected + if (!(Filter.archive.isSelected() || archivedRequested)) { + return false; + } + } + if (Filter.lists._isActive()) { + if (!list.title.match(Filter.lists.getRegexSelector())) { + return false; + } + } + if (Filter.hideEmpty.isSelected()) { + const swimlaneId = this.parentComponent() + .parentComponent() + .data()._id; + const cards = list.cards(swimlaneId); + if (cards.count() === 0) { + return false; + } + } + return true; + }, + onRendered() { + const boardComponent = this.parentComponent(); + const $listsDom = this.$('.js-lists'); + + if (!Session.get('currentCard')) { + boardComponent.scrollLeft(); + } + + initSortable(boardComponent, $listsDom); + }, +}).register('listsGroup'); diff --git a/client/components/swimlanes/swimlanes.styl b/client/components/swimlanes/swimlanes.styl new file mode 100644 index 0000000..ca5611c --- /dev/null +++ b/client/components/swimlanes/swimlanes.styl @@ -0,0 +1,190 @@ +@import 'nib' + +/* +// Minimize swimlanes start https://www.w3schools.com/howto/howto_js_accordion.asp + +.accordion + cursor: pointer + width: 30px + height: 20px + border: none + outline: none + font-size: 18px + transition: 0.4s + padding-top: 0px + margin-top: 0px + +.accordion:after + // Unicode triagle right: + content: '\25B6' + color: #777 + font-weight: bold + float: left + +.active:after + // Unicode triangle down: + content: '\25BC' + +.panel + width: 100% + max-height: 0 + overflow: hidden + transition: max-height 0.2s ease-out + margin: 0px + padding: 0px + +// Minimize swimlanes end https://www.w3schools.com/howto/howto_js_accordion.asp +*/ + +.swimlane + // Even if this background color is the same as the body we can't leave it + // transparent, because that won't work during a swimlane drag. + background: darken(white, 13%) + display: flex + flex-direction: row + overflow: 0; + max-height: calc(100% - 26px) + + &.placeholder + background-color: rgba(0, 0, 0, .2) + border-color: transparent + box-shadow: none + height: 100px + + &.ui-sortable-helper + box-shadow: -2px 2px 8px rgba(0, 0, 0, .3), + 0 0 1px rgba(0, 0, 0, .5) + transform: rotate(2deg) + cursor: grabbing + + .swimlane-header.ui-sortable-handle + cursor: grabbing + + .swimlane-header-wrap + display: flex + flex-direction: row + flex: 1 0 100% + background-color: #ccc + + .swimlane-header + font-size: 14px + padding: 5px 5px + font-weight: bold + min-height: 9px + width: 100% + overflow: hidden + -o-text-overflow: ellipsis + text-overflow: ellipsis + word-wrap: break-word + text-align: center + + .swimlane-header-menu + position: absolute + padding: 5px 5px + + .swimlane-header-plus-icon + margin-left: 5px + margin-right: 10px + + .swimlane-header-handle + position: absolute + padding: 7px + top: 50% + transform: translateY(-50%) + left: 230px + font-size: 18px + + .swimlane-header-miniscreen-handle + position: absolute + padding: 7px + top: 50% + transform: translateY(-50%) + left: 87vw + font-size: 24px + +.list-group + height: 100% + +.moving-swimlane + display: none + +swimlane-color(background, color...) + background: background !important + if color + color: color !important //overwrite text for better visibility + +.swimlane-white + swimlane-color(#ffffff, #4d4d4d) //Black text for better visibility + border: 1px solid #eee + +.swimlane-green + swimlane-color(#3cb500, #ffffff) //White text for better visibility + +.swimlane-yellow + swimlane-color(#fad900, #4d4d4d) //Black text for better visibility + +.swimlane-orange + swimlane-color(#ff9f19, #4d4d4d) //Black text for better visibility + +.swimlane-red + swimlane-color(#eb4646, #ffffff) //White text for better visibility + +.swimlane-purple + swimlane-color(#a632db, #ffffff) //White text for better visibility + +.swimlane-blue + swimlane-color(#0079bf, #ffffff) //White text for better visibility + +.swimlane-pink + swimlane-color(#ff78cb, #4d4d4d) //Black text for better visibility + +.swimlane-sky + swimlane-color(#00c2e0, #ffffff) //White text for better visibility + +.swimlane-black + swimlane-color(#4d4d4d, #ffffff) //White text for better visibility + +.swimlane-lime + swimlane-color(#51e898, #4d4d4d) //Black text for better visibility + +.swimlane-silver + swimlane-color(unset, #4d4d4d) //Black text for better visibility + +.swimlane-peachpuff + swimlane-color(#ffdab9, #4d4d4d) //Black text for better visibility + +.swimlane-crimson + swimlane-color(#dc143c, #ffffff) //White text for better visibility + +.swimlane-plum + swimlane-color(#dda0dd, #4d4d4d) //Black text for better visibility + +.swimlane-darkgreen + swimlane-color(#006400, #ffffff) //White text for better visibility + +.swimlane-slateblue + swimlane-color(#6a5acd, #ffffff) //White text for better visibility + +.swimlane-magenta + swimlane-color(#ff00ff, #ffffff) //White text for better visibility + +.swimlane-gold + swimlane-color(#ffd700, #4d4d4d) //Black text for better visibility + +.swimlane-navy + swimlane-color(#000080, #ffffff) //White text for better visibility + +.swimlane-gray + swimlane-color(#808080, #ffffff) //White text for better visibility + +.swimlane-saddlebrown + swimlane-color(#8b4513, #ffffff) //White text for better visibility + +.swimlane-paleturquoise + swimlane-color(#afeeee, #4d4d4d) //Black text for better visibility + +.swimlane-mistyrose + swimlane-color(#ffe4e1, #4d4d4d) //Black text for better visibility + +.swimlane-indigo + swimlane-color(#4b0082, #ffffff) //White text for better visibility diff --git a/client/components/users/userAvatar.jade b/client/components/users/userAvatar.jade new file mode 100644 index 0000000..7f2067c --- /dev/null +++ b/client/components/users/userAvatar.jade @@ -0,0 +1,81 @@ +template(name="userAvatar") + a.member.js-member(title="{{userData.profile.fullname}} ({{userData.username}})") + if userData.profile.avatarUrl + img.avatar.avatar-image(src="{{userData.profile.avatarUrl}}") + else + +userAvatarInitials(userId=userData._id) + + if showStatus + span.member-presence-status(class=presenceStatusClassName) + span.member-type(class=memberType) + + unless isSandstorm + if showEdit + if $eq currentUser._id userData._id + a.edit-avatar.js-change-avatar + i.fa.fa-pencil + +template(name="userAvatarInitials") + svg.avatar.avatar-initials(viewBox="0 0 {{viewPortWidth}} 15") + text(x="50%" y="13" text-anchor="middle")= initials + +template(name="userPopup") + .board-member-menu + .mini-profile-info + +userAvatar(userId=user._id) + .info + h3= user.profile.fullname + p.quiet @{{ user.username }} + +template(name="memberName") + if showBoth + = user.profile.fullname + | ({{ user.username }}) + else if user.profile.fullname + = user.profile.fullname + else + = user.username + +template(name="changeAvatarPopup") + if error.get + .warning {{_ error.get}} + ul.pop-over-list + each uploadedAvatars + li: a.js-select-avatar + .member + img.avatar.avatar-image(src="{{url avatarUrlOptions}}") + | {{_ 'uploaded-avatar'}} + if isSelected + i.fa.fa-check + p.sub-name + unless isSelected + a.js-delete-avatar {{_ 'delete'}} + | - + = original.name + li: a.js-select-initials + .member + +userAvatarInitials(userId=currentUser._id) + | {{_ 'initials' }} + if noAvatarUrl + i.fa.fa-check + p.sub-name {{_ 'default-avatar'}} + input.hide.js-upload-avatar-input(accept="image/*;capture=camera" type="file") + button.full.js-upload-avatar + i.fa.fa-upload + | {{_ 'upload-avatar'}} + +template(name="cardMemberPopup") + .board-member-menu + .mini-profile-info + +userAvatar(userId=user._id showEdit=true) + .info + h3= user.profile.fullname + p.quiet @{{ user.username }} + ul.pop-over-list + if currentUser.isNotCommentOnly + if currentUser.isNotWorker + li: a.js-remove-member {{_ 'remove-member-from-card'}} + + if $eq currentUser._id user._id + with currentUser + li: a.js-edit-profile {{_ 'edit-profile'}} diff --git a/client/components/users/userAvatar.js b/client/components/users/userAvatar.js new file mode 100644 index 0000000..262a63a --- /dev/null +++ b/client/components/users/userAvatar.js @@ -0,0 +1,168 @@ +Template.userAvatar.helpers({ + userData() { + // We need to handle a special case for the search results provided by the + // `matteodem:easy-search` package. Since these results gets published in a + // separate collection, and not in the standard Meteor.Users collection as + // expected, we use a component parameter ("property") to distinguish the + // two cases. + const userCollection = this.esSearch ? ESSearchResults : Users; + return userCollection.findOne(this.userId, { + fields: { + profile: 1, + username: 1, + }, + }); + }, + + memberType() { + const user = Users.findOne(this.userId); + return user && user.isBoardAdmin() ? 'admin' : 'normal'; + }, + + presenceStatusClassName() { + const user = Users.findOne(this.userId); + const userPresence = presences.findOne({ userId: this.userId }); + if (user && user.isInvitedTo(Session.get('currentBoard'))) return 'pending'; + else if (!userPresence) return 'disconnected'; + else if (Session.equals('currentBoard', userPresence.state.currentBoardId)) + return 'active'; + else return 'idle'; + }, +}); + +Template.userAvatar.events({ + 'click .js-change-avatar': Popup.open('changeAvatar'), +}); + +Template.userAvatarInitials.helpers({ + initials() { + const user = Users.findOne(this.userId); + return user && user.getInitials(); + }, + + viewPortWidth() { + const user = Users.findOne(this.userId); + return ((user && user.getInitials().length) || 1) * 12; + }, +}); + +BlazeComponent.extendComponent({ + onCreated() { + this.error = new ReactiveVar(''); + + Meteor.subscribe('my-avatars'); + }, + + avatarUrlOptions() { + return { + auth: false, + brokenIsFine: true, + }; + }, + + uploadedAvatars() { + return Avatars.find({ userId: Meteor.userId() }); + }, + + isSelected() { + const userProfile = Meteor.user().profile; + const avatarUrl = userProfile && userProfile.avatarUrl; + const currentAvatarUrl = this.currentData().url(this.avatarUrlOptions()); + return avatarUrl === currentAvatarUrl; + }, + + noAvatarUrl() { + const userProfile = Meteor.user().profile; + const avatarUrl = userProfile && userProfile.avatarUrl; + return !avatarUrl; + }, + + setAvatar(avatarUrl) { + Meteor.user().setAvatarUrl(avatarUrl); + }, + + setError(error) { + this.error.set(error); + }, + + events() { + return [ + { + 'click .js-upload-avatar'() { + this.$('.js-upload-avatar-input').click(); + }, + 'change .js-upload-avatar-input'(event) { + let file, fileUrl; + + FS.Utility.eachFile(event, f => { + try { + file = Avatars.insert(new FS.File(f)); + fileUrl = file.url(this.avatarUrlOptions()); + } catch (e) { + this.setError('avatar-too-big'); + } + }); + + if (fileUrl) { + this.setError(''); + const fetchAvatarInterval = window.setInterval(() => { + $.ajax({ + url: fileUrl, + success: () => { + this.setAvatar(file.url(this.avatarUrlOptions())); + window.clearInterval(fetchAvatarInterval); + }, + }); + }, 100); + } + }, + 'click .js-select-avatar'() { + const avatarUrl = this.currentData().url(this.avatarUrlOptions()); + this.setAvatar(avatarUrl); + }, + 'click .js-select-initials'() { + this.setAvatar(''); + }, + 'click .js-delete-avatar'() { + Avatars.remove(this.currentData()._id); + }, + }, + ]; + }, +}).register('changeAvatarPopup'); + +Template.cardMembersPopup.helpers({ + isCardMember() { + const card = Template.parentData(); + const cardMembers = card.getMembers(); + + return _.contains(cardMembers, this.userId); + }, + + user() { + return Users.findOne(this.userId); + }, +}); + +Template.cardMembersPopup.events({ + 'click .js-select-member'(event) { + const card = Cards.findOne(Session.get('currentCard')); + const memberId = this.userId; + card.toggleMember(memberId); + event.preventDefault(); + }, +}); + +Template.cardMemberPopup.helpers({ + user() { + return Users.findOne(this.userId); + }, +}); + +Template.cardMemberPopup.events({ + 'click .js-remove-member'() { + Cards.findOne(this.cardId).unassignMember(this.userId); + Popup.close(); + }, + 'click .js-edit-profile': Popup.open('editProfile'), +}); diff --git a/client/components/users/userAvatar.styl b/client/components/users/userAvatar.styl new file mode 100644 index 0000000..8209f4a --- /dev/null +++ b/client/components/users/userAvatar.styl @@ -0,0 +1,119 @@ +@import 'nib' + +avatar-radius = 50% + +.member + border-radius: 3px + display: block + position: relative + float: left + height: 30px + width: @height + margin: 0 4px 4px 0 + cursor: pointer + user-select: none + z-index: 1 + text-decoration: none + border-radius: avatar-radius + + .avatar + overflow: hidden + border-radius: avatar-radius + + &.avatar-initials + height: 70% + width: @height + padding: 15% + background-color: #dbdbdb + color: #444444 + position: absolute + + &.avatar-image + object-fit: cover; + object-position: center; + height: 100% + width: @height + + .member-presence-status + background-color: #b3b3b3 + border: 1px solid #fff + border-radius: 50% + height: 7px + width: @height + position: absolute + right: -1px + bottom: -1px + border: 1px solid white + z-index: 15 + + &.active + background: #64c464 + border-color: #daf1da + + &.idle + background: #e4e467 + border-color: #f7f7d4 + + &.disconnected + background: #bdbdbd + border-color: #ededed + + &.pending + background: #e44242 + border-color: #f1dada + + .edit-avatar + position: absolute + top: 0 + height: 100% + width: 100% + border-radius: avatar-radius + background: black + display: flex + align-items: center + justify-content: center + opacity: 0 + + &:hover + opacity: 0.6 + + i.fa-pencil + color: white + + + &.add-member + display: flex + align-items: center + justify-content: center + box-shadow: 0 0 0 2px darken(white, 25%) inset + + &:hover, &.is-active + box-shadow: 0 0 0 2px darken(white, 60%) inset + +.atMention + background: #dbdbdb + border-radius: 3px + padding: 1px 4px + margin: -1px 0 + display: inline-block + + &.me + background: #cfdfe8 + +.mini-profile-info + margin-top: 10px + + .info + padding-top: 5px + + h3, p + margin-bottom: 0 + padding-left: 0 + + p + padding-top: 0 + + .member + width: 50px + height: @width + margin-right: 10px diff --git a/client/components/users/userForm.styl b/client/components/users/userForm.styl new file mode 100644 index 0000000..6788bf5 --- /dev/null +++ b/client/components/users/userForm.styl @@ -0,0 +1,95 @@ +@import 'nib' + +.auth-layout + .at-form-landing-logo + width: 249px + margin: auto + margin-top: 50px + margin-bottom: 20px + + .auth-dialog + width: 275px + padding: 25px + margin: auto + margin-bottom: 20px + background: #fff + border-radius: 3px + border: 1px solid #dbdbdb + border-bottom-color: #c2c2c2 + box-shadow: 0 1px 6px rgba(0, 0, 0, .3) + + .at-form + + .at-link + color: darken(#27AE60, 40%) + + label + margin-bottom: 3px + + input + width: 100% + + button + width: 100% + background: #216694 + color: #fff + + .at-title + background: #F7F7F7 + margin: -25px + padding: 15px 25px 5px + margin-bottom: 20px + border-bottom: 1px solid #dcdcdc + color: darken(white, 70%) + font-weight: bold + + .at-signup-link, + .at-signin-link, + .at-forgotPwd + font-size: 0.9em + margin-top: 15px + color: darken(white, 70%) + + .at-signUp, + .at-signIn + font-weight: bold + + .at-form-lang + margin-top: 0px + + .select-lang + width: 100% + margin-top: 10px + +@media screen and (max-width: 800px) + .auth-layout + width: 100% + height: 100% + margin: 0px + padding: 0px + + .at-form-landing-logo + width: 125px + position: absolute + top: 0px + right: 20px + margin-top: 5px + margin-bottom: 5px + + img + width: 125px + + .auth-dialog + width: calc(100% - 50px) + height: calc(100% - 50px) + padding: 25px + min-height: 380px + margin: 0px + margin-bottom: 0px + border: 0px + + .at-form + .at-title + h3 + width: calc(100% - 125px) + overflow-x: hidden diff --git a/client/components/users/userHeader.jade b/client/components/users/userHeader.jade new file mode 100644 index 0000000..d0adf29 --- /dev/null +++ b/client/components/users/userHeader.jade @@ -0,0 +1,133 @@ +template(name="headerUserBar") + #header-user-bar + a.header-user-bar-name.js-open-header-member-menu + .header-user-bar-avatar + +userAvatar(userId=currentUser._id) + unless isMiniScreen + unless isSandstorm + if currentUser.profile.fullname + = currentUser.profile.fullname + else + = currentUser.username + +template(name="memberMenuPopup") + ul.pop-over-list + with currentUser + li + a.js-edit-profile + i.fa.fa-user + | {{_ 'edit-profile'}} + li + a.js-change-settings + i.fa.fa-cog + | {{_ 'change-settings'}} + li + a.js-change-avatar + i.fa.fa-picture-o + | {{_ 'edit-avatar'}} + unless isSandstorm + li + a.js-change-password + i.fa.fa-key + | {{_ 'changePasswordPopup-title'}} + li + a.js-change-language + i.fa.fa-flag + | {{_ 'changeLanguagePopup-title'}} + if currentUser.isAdmin + li + a.js-go-setting(href="{{pathFor 'setting'}}") + i.fa.fa-lock + | {{_ 'admin-panel'}} + unless currentUser.isWorker + hr + ul.pop-over-list + li + a(href="{{pathFor 'board' id=templatesBoardId slug=templatesBoardSlug}}") + i.fa.fa-clone + | {{_ 'templates'}} + unless isSandstorm + hr + ul.pop-over-list + li + a.js-logout + i.fa.fa-sign-out + | {{_ 'log-out'}} + +template(name="editProfilePopup") + form + label + | {{_ 'fullname'}} + input.js-profile-fullname(type="text" value=profile.fullname autofocus) + label + | {{_ 'username'}} + span.error.hide.username-taken + | {{_ 'error-username-taken'}} + if allowUserNameChange + input.js-profile-username(type="text" value=username) + else + input.js-profile-username(type="text" value=username readonly) + label + | {{_ 'initials'}} + input.js-profile-initials(type="text" value=profile.initials) + label + | {{_ 'email'}} + span.error.hide.email-taken + | {{_ 'error-email-taken'}} + if allowEmailChange + input.js-profile-email(type="email" value="{{emails.[0].address}}") + else + input.js-profile-email(type="email" value="{{emails.[0].address}}" readonly) + div.buttonsContainer + input.primary.wide(type="submit" value="{{_ 'save'}}") + if allowUserDelete + div + input#deleteButton.primary.wide(type="button" value="{{_ 'delete'}}") + +template(name="changePasswordPopup") + +atForm(state='changePwd') + +template(name="changeLanguagePopup") + ul.pop-over-list + each languages + li(class="{{# if isCurrentLanguage}}active{{/if}}") + a.js-set-language + = name + if isCurrentLanguage + i.fa.fa-check + +template(name="changeSettingsPopup") + ul.pop-over-list + //li + // a.js-toggle-system-messages + // i.fa.fa-comments-o + // | {{_ 'hide-system-messages'}} + // if hiddenSystemMessages + // i.fa.fa-check + li + a.js-toggle-desktop-drag-handles + i.fa.fa-arrows + | {{_ 'show-desktop-drag-handles'}} + if showDesktopDragHandles + i.fa.fa-check + unless currentUser.isWorker + li + label.bold.clear + i.fa.fa-sort-numeric-asc + | {{_ 'show-cards-minimum-count'}} + input#show-cards-count-at.inline-input.left(type="number" value="#{showCardsCountAt}" min="0" max="99" onkeydown="return false") + label.bold.clear + i.fa.fa-calendar + | {{_ 'start-day-of-week'}} + select#start-day-of-week.inline-input.left + each day in weekDays startDayOfWeek + if day.isSelected + option(selected="true", value="#{day.value}") #{day.name} + else + option(value="#{day.value}") #{day.name} + input.js-apply-user-settings.left(type="submit" value="{{_ 'apply'}}") + +template(name="userDeletePopup") + unless currentUser.isWorker + p {{_ 'delete-user-confirm-popup'}} + button.js-confirm.negate.full(type="submit") {{_ 'delete'}} diff --git a/client/components/users/userHeader.js b/client/components/users/userHeader.js new file mode 100644 index 0000000..b7bb284 --- /dev/null +++ b/client/components/users/userHeader.js @@ -0,0 +1,298 @@ +import { Cookies } from 'meteor/ostrio:cookies'; +const cookies = new Cookies(); + +Template.headerUserBar.events({ + 'click .js-open-header-member-menu': Popup.open('memberMenu'), + 'click .js-change-avatar': Popup.open('changeAvatar'), +}); + +Template.memberMenuPopup.helpers({ + templatesBoardId() { + currentUser = Meteor.user(); + if (currentUser) { + return Meteor.user().getTemplatesBoardId(); + } else { + // No need to getTemplatesBoardId on public board + return false; + } + }, + templatesBoardSlug() { + currentUser = Meteor.user(); + if (currentUser) { + return Meteor.user().getTemplatesBoardSlug(); + } else { + // No need to getTemplatesBoardSlug() on public board + return false; + } + }, +}); + +Template.memberMenuPopup.events({ + 'click .js-edit-profile': Popup.open('editProfile'), + 'click .js-change-settings': Popup.open('changeSettings'), + 'click .js-change-avatar': Popup.open('changeAvatar'), + 'click .js-change-password': Popup.open('changePassword'), + 'click .js-change-language': Popup.open('changeLanguage'), + 'click .js-logout'(event) { + event.preventDefault(); + + AccountsTemplates.logout(); + }, + 'click .js-go-setting'() { + Popup.close(); + }, +}); + +Template.editProfilePopup.helpers({ + allowEmailChange() { + Meteor.call('AccountSettings.allowEmailChange', (_, result) => { + if (result) { + return true; + } else { + return false; + } + }); + }, + allowUserNameChange() { + Meteor.call('AccountSettings.allowUserNameChange', (_, result) => { + if (result) { + return true; + } else { + return false; + } + }); + }, + allowUserDelete() { + Meteor.call('AccountSettings.allowUserDelete', (_, result) => { + if (result) { + return true; + } else { + return false; + } + }); + }, +}); + +Template.editProfilePopup.events({ + submit(event, templateInstance) { + event.preventDefault(); + const fullname = templateInstance.find('.js-profile-fullname').value.trim(); + const username = templateInstance.find('.js-profile-username').value.trim(); + const initials = templateInstance.find('.js-profile-initials').value.trim(); + const email = templateInstance.find('.js-profile-email').value.trim(); + let isChangeUserName = false; + let isChangeEmail = false; + Users.update(Meteor.userId(), { + $set: { + 'profile.fullname': fullname, + 'profile.initials': initials, + }, + }); + isChangeUserName = username !== Meteor.user().username; + isChangeEmail = + email.toLowerCase() !== Meteor.user().emails[0].address.toLowerCase(); + if (isChangeUserName && isChangeEmail) { + Meteor.call( + 'setUsernameAndEmail', + username, + email.toLowerCase(), + Meteor.userId(), + function(error) { + const usernameMessageElement = templateInstance.$('.username-taken'); + const emailMessageElement = templateInstance.$('.email-taken'); + if (error) { + const errorElement = error.error; + if (errorElement === 'username-already-taken') { + usernameMessageElement.show(); + emailMessageElement.hide(); + } else if (errorElement === 'email-already-taken') { + usernameMessageElement.hide(); + emailMessageElement.show(); + } + } else { + usernameMessageElement.hide(); + emailMessageElement.hide(); + Popup.back(); + } + }, + ); + } else if (isChangeUserName) { + Meteor.call('setUsername', username, Meteor.userId(), function(error) { + const messageElement = templateInstance.$('.username-taken'); + if (error) { + messageElement.show(); + } else { + messageElement.hide(); + Popup.back(); + } + }); + } else if (isChangeEmail) { + Meteor.call('setEmail', email.toLowerCase(), Meteor.userId(), function( + error, + ) { + const messageElement = templateInstance.$('.email-taken'); + if (error) { + messageElement.show(); + } else { + messageElement.hide(); + Popup.back(); + } + }); + } else Popup.back(); + }, + 'click #deleteButton': Popup.afterConfirm('userDelete', function() { + Popup.close(); + Users.remove(Meteor.userId()); + AccountsTemplates.logout(); + }), +}); + +// XXX For some reason the useraccounts autofocus isnt working in this case. +// See https://github.com/meteor-useraccounts/core/issues/384 +Template.changePasswordPopup.onRendered(function() { + this.find('#at-field-current_password').focus(); +}); + +Template.changeLanguagePopup.helpers({ + languages() { + return _.map(TAPi18n.getLanguages(), (lang, code) => { + // Same code in /client/components/main/layouts.js + // TODO : Make code reusable + const tag = code; + let name = lang.name; + if (lang.name === 'br') { + name = 'Brezhoneg'; + } else if (lang.name === 'ig') { + name = 'Igbo'; + } else if (lang.name === 'oc') { + name = 'Occitan'; + } else if (lang.name === '繁体中文(台湾)') { + name = '繁體中文(台灣)'; + } + return { tag, name }; + }).sort(function(a, b) { + if (a.name === b.name) { + return 0; + } else { + return a.name > b.name ? 1 : -1; + } + }); + }, + + isCurrentLanguage() { + return this.tag === TAPi18n.getLanguage(); + }, +}); + +Template.changeLanguagePopup.events({ + 'click .js-set-language'(event) { + Users.update(Meteor.userId(), { + $set: { + 'profile.language': this.tag, + }, + }); + event.preventDefault(); + }, +}); + +Template.changeSettingsPopup.helpers({ + showDesktopDragHandles() { + currentUser = Meteor.user(); + if (currentUser) { + return (currentUser.profile || {}).showDesktopDragHandles; + } else if (cookies.has('showDesktopDragHandles')) { + return true; + } else { + return false; + } + }, + hiddenSystemMessages() { + currentUser = Meteor.user(); + if (currentUser) { + return (currentUser.profile || {}).hasHiddenSystemMessages; + } else if (cookies.has('hasHiddenSystemMessages')) { + return true; + } else { + return false; + } + }, + showCardsCountAt() { + currentUser = Meteor.user(); + if (currentUser) { + return Meteor.user().getLimitToShowCardsCount(); + } else { + return cookies.get('limitToShowCardsCount'); + } + }, + weekDays(startDay) { + return [ + TAPi18n.__('sunday'), + TAPi18n.__('monday'), + TAPi18n.__('tuesday'), + TAPi18n.__('wednesday'), + TAPi18n.__('thursday'), + TAPi18n.__('friday'), + TAPi18n.__('saturday'), + ].map(function(day, index) { + return { name: day, value: index, isSelected: index === startDay }; + }); + }, + startDayOfWeek() { + currentUser = Meteor.user(); + if (currentUser) { + return currentUser.getStartDayOfWeek(); + } else { + return cookies.get('startDayOfWeek'); + } + }, +}); + +Template.changeSettingsPopup.events({ + 'click .js-toggle-desktop-drag-handles'() { + currentUser = Meteor.user(); + if (currentUser) { + Meteor.call('toggleDesktopDragHandles'); + } else if (cookies.has('showDesktopDragHandles')) { + cookies.remove('showDesktopDragHandles'); + } else { + cookies.set('showDesktopDragHandles', 'true'); + } + }, + 'click .js-toggle-system-messages'() { + currentUser = Meteor.user(); + if (currentUser) { + Meteor.call('toggleSystemMessages'); + } else if (cookies.has('hasHiddenSystemMessages')) { + cookies.remove('hasHiddenSystemMessages'); + } else { + cookies.set('hasHiddenSystemMessages', 'true'); + } + }, + 'click .js-apply-user-settings'(event, templateInstance) { + event.preventDefault(); + const minLimit = parseInt( + templateInstance.$('#show-cards-count-at').val(), + 10, + ); + const startDay = parseInt( + templateInstance.$('#start-day-of-week').val(), + 10, + ); + const currentUser = Meteor.user(); + if (!isNaN(minLimit)) { + if (currentUser) { + Meteor.call('changeLimitToShowCardsCount', minLimit); + } else { + cookies.set('limitToShowCardsCount', minLimit); + } + } + if (!isNaN(startDay)) { + if (currentUser) { + Meteor.call('changeStartDayOfWeek', startDay); + } else { + cookies.set('startDayOfWeek', startDay); + } + } + Popup.back(); + }, +}); diff --git a/client/config/blazeHelpers.js b/client/config/blazeHelpers.js new file mode 100644 index 0000000..3a85731 --- /dev/null +++ b/client/config/blazeHelpers.js @@ -0,0 +1,32 @@ +Blaze.registerHelper('currentBoard', () => { + const boardId = Session.get('currentBoard'); + if (boardId) { + return Boards.findOne(boardId); + } else { + return null; + } +}); + +Blaze.registerHelper('currentCard', () => { + const cardId = Session.get('currentCard'); + if (cardId) { + return Cards.findOne(cardId); + } else { + return null; + } +}); + +Blaze.registerHelper('currentList', () => { + const listId = Session.get('currentList'); + if (listId) { + return Lists.findOne(listId); + } else { + return null; + } +}); + +Blaze.registerHelper('getUser', userId => Users.findOne(userId)); + +Blaze.registerHelper('concat', (...args) => args.slice(0, -1).join('')); + +Blaze.registerHelper('isMiniScreen', () => Utils.isMiniScreen()); diff --git a/client/config/gecko-fix.js b/client/config/gecko-fix.js new file mode 100644 index 0000000..00e2897 --- /dev/null +++ b/client/config/gecko-fix.js @@ -0,0 +1,4 @@ +if (Object.prototype.hasOwnProperty('watch')) { + Object.prototype.watch = undefined; + Object.prototype.unwatch = undefined; +} diff --git a/client/config/presence.js b/client/config/presence.js new file mode 100644 index 0000000..39b94e4 --- /dev/null +++ b/client/config/presence.js @@ -0,0 +1,7 @@ +Presence.configure({ + state() { + return { + currentBoardId: Session.get('currentBoard'), + }; + }, +}); diff --git a/client/config/reactiveTabs.js b/client/config/reactiveTabs.js new file mode 100644 index 0000000..5365c6d --- /dev/null +++ b/client/config/reactiveTabs.js @@ -0,0 +1,4 @@ +// XXX Since Blaze doesn't have a clean high component API, component API are +// also tweaky to use. I guess React would be a solution. +const template = 'basicTabs'; +ReactiveTabs.createInterface({ template }); diff --git a/client/lib/accessibility.js b/client/lib/accessibility.js new file mode 100644 index 0000000..3776e93 --- /dev/null +++ b/client/lib/accessibility.js @@ -0,0 +1,38 @@ +// In this file we define a set of DOM transformations that are specifically +// intended for blind screen readers. +// +// See https://github.com/wekan/wekan/issues/337 for the general accessibility +// considerations. + +// Without an href, links are non-keyboard-focusable and are not presented on +// blind screen readers. We default to the empty anchor `#` href. +function enforceHref(attributes) { + if (!_.has(attributes, 'href')) { + attributes.href = '#'; + } + return attributes; +} + +// `title` is inconsistently used on the web, and is thus inconsistently +// presented by screen readers. `aria-label`, on the other hand, is specific to +// accessibility and is presented in ways that title shouldn't be. +function copyTitleInAriaLabel(attributes) { + if (!_.has(attributes, 'aria-label') && _.has(attributes, 'title')) { + attributes['aria-label'] = attributes.title; + } + return attributes; +} + +// XXX Our implementation relies on overwriting Blaze virtual DOM functions, +// which is a little bit hacky -- but still reasonable with our ES6 usage. If we +// end up switching to React we will probably create lower level small +// components to handle that without overwriting any build-in function. +const { A: superA, I: superI } = HTML; + +HTML.A = (attributes, ...others) => { + return superA(copyTitleInAriaLabel(enforceHref(attributes)), ...others); +}; + +HTML.I = (attributes, ...others) => { + return superI(copyTitleInAriaLabel(attributes), ...others); +}; diff --git a/client/lib/cssEvents.js b/client/lib/cssEvents.js new file mode 100644 index 0000000..1cf6b8e --- /dev/null +++ b/client/lib/cssEvents.js @@ -0,0 +1,42 @@ +// XXX Should we use something like Moderniz instead of our custom detector? + +function whichTransitionEvent() { + const el = document.createElement('fakeelement'); + const transitions = { + transition: 'transitionend', + OTransition: 'oTransitionEnd', + MSTransition: 'msTransitionEnd', + MozTransition: 'transitionend', + WebkitTransition: 'webkitTransitionEnd', + }; + + for (const t in transitions) { + if (el.style[t] !== undefined) { + return transitions[t]; + } + } + return null; +} + +function whichAnimationEvent() { + const el = document.createElement('fakeelement'); + const transitions = { + animation: 'animationend', + OAnimation: 'oAnimationEnd', + MSTransition: 'msAnimationEnd', + MozAnimation: 'animationend', + WebkitAnimation: 'webkitAnimationEnd', + }; + + for (const t in transitions) { + if (el.style[t] !== undefined) { + return transitions[t]; + } + } + return null; +} + +CSSEvents = { + transitionend: whichTransitionEvent(), + animationend: whichAnimationEvent(), +}; diff --git a/client/lib/datepicker.js b/client/lib/datepicker.js new file mode 100644 index 0000000..aa05310 --- /dev/null +++ b/client/lib/datepicker.js @@ -0,0 +1,111 @@ +DatePicker = BlazeComponent.extendComponent({ + template() { + return 'datepicker'; + }, + + onCreated(defaultTime = '1970-01-01 08:00:00') { + this.error = new ReactiveVar(''); + this.card = this.data(); + this.date = new ReactiveVar(moment.invalid()); + this.defaultTime = defaultTime; + }, + + startDayOfWeek() { + const currentUser = Meteor.user(); + if (currentUser) { + return currentUser.getStartDayOfWeek(); + } else { + return 1; + } + }, + + onRendered() { + const $picker = this.$('.js-datepicker') + .datepicker({ + todayHighlight: true, + todayBtn: 'linked', + language: TAPi18n.getLanguage(), + weekStart: this.startDayOfWeek(), + }) + .on( + 'changeDate', + function(evt) { + this.find('#date').value = moment(evt.date).format('L'); + this.error.set(''); + const timeInput = this.find('#time'); + timeInput.focus(); + if (!timeInput.value) { + const currentHour = evt.date.getHours(); + const defaultMoment = moment( + currentHour > 0 ? evt.date : this.defaultTime, + ); // default to 8:00 am local time + timeInput.value = defaultMoment.format('LT'); + } + }.bind(this), + ); + + if (this.date.get().isValid()) { + $picker.datepicker('update', this.date.get().toDate()); + } + }, + + showDate() { + if (this.date.get().isValid()) return this.date.get().format('L'); + return ''; + }, + showTime() { + if (this.date.get().isValid()) return this.date.get().format('LT'); + return ''; + }, + dateFormat() { + return moment.localeData().longDateFormat('L'); + }, + timeFormat() { + return moment.localeData().longDateFormat('LT'); + }, + + events() { + return [ + { + 'keyup .js-date-field'() { + // parse for localized date format in strict mode + const dateMoment = moment(this.find('#date').value, 'L', true); + if (dateMoment.isValid()) { + this.error.set(''); + this.$('.js-datepicker').datepicker('update', dateMoment.toDate()); + } + }, + 'keyup .js-time-field'() { + // parse for localized time format in strict mode + const dateMoment = moment(this.find('#time').value, 'LT', true); + if (dateMoment.isValid()) { + this.error.set(''); + } + }, + 'submit .edit-date'(evt) { + evt.preventDefault(); + + // if no time was given, init with 12:00 + const time = + evt.target.time.value || + moment(new Date().setHours(12, 0, 0)).format('LT'); + + const dateString = `${evt.target.date.value} ${time}`; + const newDate = moment(dateString, 'L LT', true); + if (newDate.isValid()) { + this._storeDate(newDate.toDate()); + Popup.close(); + } else { + this.error.set('invalid-date'); + evt.target.date.focus(); + } + }, + 'click .js-delete-date'(evt) { + evt.preventDefault(); + this._deleteDate(); + Popup.close(); + }, + }, + ]; + }, +}); diff --git a/client/lib/dropImage.js b/client/lib/dropImage.js new file mode 100644 index 0000000..559754f --- /dev/null +++ b/client/lib/dropImage.js @@ -0,0 +1,65 @@ +/* eslint-disable */ + +// ------------------------------------------------------------------------ +// Created by STRd6 +// MIT License +// https://github.com/distri/jquery-image_reader/blob/master/drop.coffee.md +// +// Raymond re-write it to javascript + +(function($) { + $.event.fix = (function(originalFix) { + return function(event) { + event = originalFix.apply(this, arguments); + if ( + event.type.indexOf('drag') === 0 || + event.type.indexOf('drop') === 0 + ) { + event.dataTransfer = event.originalEvent.dataTransfer; + } + return event; + }; + })($.event.fix); + + const defaults = { + callback: $.noop, + matchType: /image.*/, + }; + + return ($.fn.dropImageReader = function(options) { + if (typeof options === 'function') { + options = { + callback: options, + }; + } + options = $.extend({}, defaults, options); + const stopFn = function(event) { + event.stopPropagation(); + return event.preventDefault(); + }; + return this.each(function() { + const element = this; + $(element).on('dragenter dragover dragleave', stopFn); + return $(element).on('drop', function(event) { + stopFn(event); + const files = event.dataTransfer.files; + for (let i = 0; i < files.length; i++) { + const f = files[i]; + if (f.type.match(options.matchType)) { + const reader = new FileReader(); + reader.onload = function(evt) { + return options.callback.call(element, { + dataURL: evt.target.result, + event: evt, + file: f, + name: f.name, + }); + }; + reader.readAsDataURL(f); + return; + } + } + }); + }); + }); +})(jQuery); diff --git a/client/lib/escapeActions.js b/client/lib/escapeActions.js new file mode 100644 index 0000000..1bf32a7 --- /dev/null +++ b/client/lib/escapeActions.js @@ -0,0 +1,142 @@ +// Pressing `Escape` should close the last opened “element” and only the last +// one. Components can register themselves using a label a condition, and an +// action. This is used by Popup or inlinedForm for instance. When we press +// escape we execute the action which have a valid condition and his the highest +// in the label hierarchy. +EscapeActions = { + _nextclickPrevented: false, + + _actions: [], + + // Executed in order + hierarchy: [ + 'textcomplete', + 'popup-back', + 'popup-close', + 'modalWindow', + 'inlinedForm', + 'detailsPane', + 'multiselection', + 'sidebarView', + ], + + register(label, action, condition = () => true, options = {}) { + const priority = this.hierarchy.indexOf(label); + if (priority === -1) { + throw Error('You must define the label in the EscapeActions hierarchy'); + } + + let enabledOnClick = options.enabledOnClick; + if (_.isUndefined(enabledOnClick)) { + enabledOnClick = true; + } + + const noClickEscapeOn = options.noClickEscapeOn; + + this._actions = _.sortBy( + [ + ...this._actions, + { + priority, + condition, + action, + noClickEscapeOn, + enabledOnClick, + }, + ], + action => action.priority, + ); + }, + + executeLowest() { + return this._execute({ + multipleActions: false, + }); + }, + + executeAll() { + return this._execute({ + multipleActions: true, + }); + }, + + executeUpTo(maxLabel) { + return this._execute({ + maxLabel, + multipleActions: true, + }); + }, + + clickExecute(target, maxLabel) { + if (this._nextclickPrevented) { + this._nextclickPrevented = false; + return false; + } else { + return this._execute({ + maxLabel, + multipleActions: false, + isClick: true, + clickTarget: target, + }); + } + }, + + preventNextClick() { + this._nextclickPrevented = true; + }, + + _stopClick(action, clickTarget) { + if (!_.isString(action.noClickEscapeOn)) return false; + else return $(clickTarget).closest(action.noClickEscapeOn).length > 0; + }, + + _execute(options) { + const maxLabel = options.maxLabel; + const multipleActions = options.multipleActions; + const isClick = Boolean(options.isClick); + const clickTarget = options.clickTarget; + + let executedAtLeastOne = false; + let maxPriority; + + if (!maxLabel) maxPriority = Infinity; + else maxPriority = this.hierarchy.indexOf(maxLabel); + + for (const currentAction of this._actions) { + if (currentAction.priority > maxPriority) return executedAtLeastOne; + + if (isClick && this._stopClick(currentAction, clickTarget)) + return executedAtLeastOne; + + const isEnabled = currentAction.enabledOnClick || !isClick; + if (isEnabled && currentAction.condition()) { + currentAction.action(); + executedAtLeastOne = true; + if (!multipleActions) return executedAtLeastOne; + } + } + return executedAtLeastOne; + }, +}; + +// Pressing escape to execute one escape action. We use `bindGloabal` vecause +// the shortcut sould work on textarea and inputs as well. +Mousetrap.bindGlobal('esc', () => { + EscapeActions.executeLowest(); +}); + +// On a left click on the document, we try to exectute one escape action (eg, +// close the popup). We don't execute any action if the user has clicked on a +// link or a button. +$(document).on('click', evt => { + if ( + evt.button === 0 && + $(evt.target).closest('a,button,.is-editable').length === 0 + ) { + EscapeActions.clickExecute(evt.target, 'multiselection'); + } +}); + +$(document).on('click', 'a[href=\\#]', evt => { + evt.preventDefault(); +}); diff --git a/client/lib/exportHTML.js b/client/lib/exportHTML.js new file mode 100644 index 0000000..59a0612 --- /dev/null +++ b/client/lib/exportHTML.js @@ -0,0 +1,204 @@ +const JSZip = require('jszip'); + +window.ExportHtml = Popup => { + const saveAs = function(blob, filename) { + const dl = document.createElement('a'); + dl.href = window.URL.createObjectURL(blob); + dl.onclick = event => document.body.removeChild(event.target); + dl.style.display = 'none'; + dl.target = '_blank'; + dl.download = filename; + document.body.appendChild(dl); + dl.click(); + }; + + const asyncForEach = async function(array, callback) { + for (let index = 0; index < array.length; index++) { + await callback(array[index], index, array); + } + }; + + const getPageHtmlString = () => { + return `${window.document.querySelector('html').outerHTML}`; + }; + + const removeAnchors = htmlString => { + const replaceOpenAnchor = htmlString.replace( + new RegExp('
{ + document.querySelector('.board-sidebar.sidebar').remove(); + }; + + const addJsonExportToZip = async (zip, boardSlug) => { + const downloadJSONLink = document.querySelector('.download-json-link'); + const downloadJSONURL = downloadJSONLink.href; + const response = await fetch(downloadJSONURL); + const responseBody = await response.text(); + zip.file(`data/${boardSlug}.json`, responseBody); + }; + + const closeSidebar = () => { + document.querySelector('.board-header-btn.js-toggle-sidebar').click(); + }; + + const cleanBoardHtml = () => { + Array.from(document.querySelectorAll('script')).forEach(elem => + elem.remove(), + ); + Array.from( + document.querySelectorAll('link:not([rel="stylesheet"])'), + ).forEach(elem => elem.remove()); + document.querySelector('#header-quick-access').remove(); + Array.from( + document.querySelectorAll('#header-main-bar .board-header-btns'), + ).forEach(elem => elem.remove()); + Array.from(document.querySelectorAll('.list-composer')).forEach(elem => + elem.remove(), + ); + Array.from( + document.querySelectorAll( + '.list-composer,.js-card-composer, .js-add-card', + ), + ).forEach(elem => elem.remove()); + Array.from(document.querySelectorAll('[href]:not(link)')).forEach(elem => + elem.attributes.removeNamedItem('href'), + ); + Array.from(document.querySelectorAll('[href]')).forEach(elem => { + // eslint-disable-next-line no-self-assign + elem.href = elem.href; + // eslint-disable-next-line no-self-assign + elem.src = elem.src; + }); + Array.from(document.querySelectorAll('.is-editable')).forEach(elem => { + elem.classList.remove('is-editable'); + }); + }; + + const getBoardSlug = () => { + return window.location.href.split('/').pop(); + }; + + const getStylesheetList = () => { + return Array.from( + document.querySelectorAll('link[href][rel="stylesheet"]'), + ); + }; + + const downloadStylesheets = async (stylesheets, zip) => { + await asyncForEach(stylesheets, async elem => { + const response = await fetch(elem.href); + const responseBody = await response.text(); + + const finalResponse = responseBody.replace( + new RegExp('packages/[^/]+/upstream/', 'gim'), + '../', + ); + + const filename = elem.href + .split('/') + .pop() + .split('?') + .shift(); + const fileFullPath = `style/${filename}`; + zip.file(fileFullPath, finalResponse); + elem.href = `../${fileFullPath}`; + }); + }; + + const getSrcAttached = () => { + return Array.from(document.querySelectorAll('[src]')); + }; + + const downloadSrcAttached = async (elements, zip, boardSlug) => { + await asyncForEach(elements, async elem => { + const response = await fetch(elem.src); + const responseBody = await response.blob(); + const filename = elem.src + .split('/') + .pop() + .split('?') + .shift(); + const fileFullPath = `${boardSlug}/${elem.tagName.toLowerCase()}/${filename}`; + zip.file(fileFullPath, responseBody); + elem.src = `./${elem.tagName.toLowerCase()}/${filename}`; + }); + }; + + const removeCssUrlSurround = url => { + const working = url || ''; + return working + .split('url(') + .join('') + .split('")') + .join('') + .split('"') + .join('') + .split("')") + .join('') + .split("'") + .join('') + .split(')') + .join(''); + }; + + const getCardCovers = () => { + return Array.from(document.querySelectorAll('.minicard-cover')).filter( + elem => elem.style['background-image'], + ); + }; + + const downloadCardCovers = async (elements, zip, boardSlug) => { + await asyncForEach(elements, async elem => { + const response = await fetch( + removeCssUrlSurround(elem.style['background-image']), + ); + const responseBody = await response.blob(); + const filename = removeCssUrlSurround(elem.style['background-image']) + .split('/') + .pop() + .split('?') + .shift() + .split('#') + .shift(); + const fileFullPath = `${boardSlug}/covers/${filename}`; + zip.file(fileFullPath, responseBody); + elem.style = "background-image: url('" + `covers/${filename}` + "')"; + }); + }; + + const addBoardHTMLToZip = (boardSlug, zip) => { + ensureSidebarRemoved(); + const htmlOutputPath = `${boardSlug}/index.html`; + zip.file( + htmlOutputPath, + new Blob([removeAnchors(getPageHtmlString())], { + type: 'application/html', + }), + ); + }; + + return async () => { + const zip = new JSZip(); + const boardSlug = getBoardSlug(); + + await addJsonExportToZip(zip, boardSlug); + Popup.close(); + closeSidebar(); + cleanBoardHtml(); + + await downloadStylesheets(getStylesheetList(), zip); + await downloadSrcAttached(getSrcAttached(), zip, boardSlug); + await downloadCardCovers(getCardCovers(), zip, boardSlug); + + addBoardHTMLToZip(boardSlug, zip); + + const content = await zip.generateAsync({ type: 'blob' }); + saveAs(content, `${boardSlug}.zip`); + window.location.reload(); + }; +}; diff --git a/client/lib/filter.js b/client/lib/filter.js new file mode 100644 index 0000000..24ca320 --- /dev/null +++ b/client/lib/filter.js @@ -0,0 +1,574 @@ +// Filtered view manager +// We define local filter objects for each different type of field (SetFilter, +// RangeFilter, dateFilter, etc.). We then define a global `Filter` object whose +// goal is to filter complete documents by using the local filters for each +// fields. +function showFilterSidebar() { + Sidebar.setView('filter'); +} + +// Use a "set" filter for a field that is a set of documents uniquely +// identified. For instance `{ labels: ['labelA', 'labelC', 'labelD'] }`. +// use "subField" for searching inside object Fields. +// For instance '{ 'customFields._id': ['field1','field2']} (subField would be: _id) +class SetFilter { + constructor(subField = '') { + this._dep = new Tracker.Dependency(); + this._selectedElements = []; + this.subField = subField; + } + + isSelected(val) { + this._dep.depend(); + return this._selectedElements.indexOf(val) > -1; + } + + add(val) { + if (this._indexOfVal(val) === -1) { + this._selectedElements.push(val); + this._dep.changed(); + showFilterSidebar(); + } + } + + remove(val) { + const indexOfVal = this._indexOfVal(val); + if (this._indexOfVal(val) !== -1) { + this._selectedElements.splice(indexOfVal, 1); + this._dep.changed(); + } + } + + toggle(val) { + if (this._indexOfVal(val) === -1) { + this.add(val); + } else { + this.remove(val); + } + } + + reset() { + this._selectedElements = []; + this._dep.changed(); + } + + _indexOfVal(val) { + return this._selectedElements.indexOf(val); + } + + _isActive() { + this._dep.depend(); + return this._selectedElements.length !== 0; + } + + _getMongoSelector() { + this._dep.depend(); + return { + $in: this._selectedElements, + }; + } + + _getEmptySelector() { + this._dep.depend(); + let includeEmpty = false; + this._selectedElements.forEach(el => { + if (el === undefined) { + includeEmpty = true; + } + }); + return includeEmpty + ? { + $eq: [], + } + : null; + } +} + +// Advanced filter forms a MongoSelector from a users String. +// Build by: Ignatz 19.05.2018 (github feuerball11) +class AdvancedFilter { + constructor() { + this._dep = new Tracker.Dependency(); + this._filter = ''; + this._lastValide = {}; + } + + set(str) { + this._filter = str; + this._dep.changed(); + } + + reset() { + this._filter = ''; + this._lastValide = {}; + this._dep.changed(); + } + + _isActive() { + this._dep.depend(); + return this._filter !== ''; + } + + _filterToCommands() { + const commands = []; + let current = ''; + let string = false; + let regex = false; + let wasString = false; + let ignore = false; + for (let i = 0; i < this._filter.length; i++) { + const char = this._filter.charAt(i); + if (ignore) { + ignore = false; + current += char; + continue; + } + if (char === '/') { + string = !string; + if (string) regex = true; + current += char; + continue; + } + // eslint-disable-next-line quotes + if (char === "'") { + string = !string; + if (string) wasString = true; + continue; + } + if (char === '\\' && !string) { + ignore = true; + continue; + } + if (char === ' ' && !string) { + commands.push({ + cmd: current, + string: wasString, + regex, + }); + wasString = false; + current = ''; + continue; + } + current += char; + } + if (current !== '') { + commands.push({ + cmd: current, + string: wasString, + regex, + }); + } + return commands; + } + + _fieldNameToId(field) { + const found = CustomFields.findOne({ + name: field, + }); + return found._id; + } + + _fieldValueToId(field, value) { + const found = CustomFields.findOne({ + name: field, + }); + if ( + found.settings.dropdownItems && + found.settings.dropdownItems.length > 0 + ) { + for (let i = 0; i < found.settings.dropdownItems.length; i++) { + if (found.settings.dropdownItems[i].name === value) { + return found.settings.dropdownItems[i]._id; + } + } + } + return value; + } + + _arrayToSelector(commands) { + try { + //let changed = false; + this._processSubCommands(commands); + } catch (e) { + return this._lastValide; + } + this._lastValide = { + $or: commands, + }; + return { + $or: commands, + }; + } + + _processSubCommands(commands) { + const subcommands = []; + let level = 0; + let start = -1; + for (let i = 0; i < commands.length; i++) { + if (commands[i].cmd) { + switch (commands[i].cmd) { + case '(': { + level++; + if (start === -1) start = i; + continue; + } + case ')': { + level--; + commands.splice(i, 1); + i--; + continue; + } + default: { + if (level > 0) { + subcommands.push(commands[i]); + commands.splice(i, 1); + i--; + continue; + } + } + } + } + } + if (start !== -1) { + this._processSubCommands(subcommands); + if (subcommands.length === 1) commands.splice(start, 0, subcommands[0]); + else commands.splice(start, 0, subcommands); + } + this._processConditions(commands); + this._processLogicalOperators(commands); + } + + _processConditions(commands) { + for (let i = 0; i < commands.length; i++) { + if (!commands[i].string && commands[i].cmd) { + switch (commands[i].cmd) { + case '=': + case '==': + case '===': { + const field = commands[i - 1].cmd; + const str = commands[i + 1].cmd; + if (commands[i + 1].regex) { + const match = str.match(new RegExp('^/(.*?)/([gimy]*)$')); + let regex = null; + if (match.length > 2) regex = new RegExp(match[1], match[2]); + else regex = new RegExp(match[1]); + commands[i] = { + 'customFields._id': this._fieldNameToId(field), + 'customFields.value': regex, + }; + } else { + commands[i] = { + 'customFields._id': this._fieldNameToId(field), + 'customFields.value': { + $in: [this._fieldValueToId(field, str), parseInt(str, 10)], + }, + }; + } + commands.splice(i - 1, 1); + commands.splice(i, 1); + //changed = true; + i--; + break; + } + case '!=': + case '!==': { + const field = commands[i - 1].cmd; + const str = commands[i + 1].cmd; + if (commands[i + 1].regex) { + const match = str.match(new RegExp('^/(.*?)/([gimy]*)$')); + let regex = null; + if (match.length > 2) regex = new RegExp(match[1], match[2]); + else regex = new RegExp(match[1]); + commands[i] = { + 'customFields._id': this._fieldNameToId(field), + 'customFields.value': { + $not: regex, + }, + }; + } else { + commands[i] = { + 'customFields._id': this._fieldNameToId(field), + 'customFields.value': { + $not: { + $in: [this._fieldValueToId(field, str), parseInt(str, 10)], + }, + }, + }; + } + commands.splice(i - 1, 1); + commands.splice(i, 1); + //changed = true; + i--; + break; + } + case '>': + case 'gt': + case 'Gt': + case 'GT': { + const field = commands[i - 1].cmd; + const str = commands[i + 1].cmd; + commands[i] = { + 'customFields._id': this._fieldNameToId(field), + 'customFields.value': { + $gt: parseInt(str, 10), + }, + }; + commands.splice(i - 1, 1); + commands.splice(i, 1); + //changed = true; + i--; + break; + } + case '>=': + case '>==': + case 'gte': + case 'Gte': + case 'GTE': { + const field = commands[i - 1].cmd; + const str = commands[i + 1].cmd; + commands[i] = { + 'customFields._id': this._fieldNameToId(field), + 'customFields.value': { + $gte: parseInt(str, 10), + }, + }; + commands.splice(i - 1, 1); + commands.splice(i, 1); + //changed = true; + i--; + break; + } + case '<': + case 'lt': + case 'Lt': + case 'LT': { + const field = commands[i - 1].cmd; + const str = commands[i + 1].cmd; + commands[i] = { + 'customFields._id': this._fieldNameToId(field), + 'customFields.value': { + $lt: parseInt(str, 10), + }, + }; + commands.splice(i - 1, 1); + commands.splice(i, 1); + //changed = true; + i--; + break; + } + case '<=': + case '<==': + case 'lte': + case 'Lte': + case 'LTE': { + const field = commands[i - 1].cmd; + const str = commands[i + 1].cmd; + commands[i] = { + 'customFields._id': this._fieldNameToId(field), + 'customFields.value': { + $lte: parseInt(str, 10), + }, + }; + commands.splice(i - 1, 1); + commands.splice(i, 1); + //changed = true; + i--; + break; + } + } + } + } + } + + _processLogicalOperators(commands) { + for (let i = 0; i < commands.length; i++) { + if (!commands[i].string && commands[i].cmd) { + switch (commands[i].cmd) { + case 'or': + case 'Or': + case 'OR': + case '|': + case '||': { + const op1 = commands[i - 1]; + const op2 = commands[i + 1]; + commands[i] = { + $or: [op1, op2], + }; + commands.splice(i - 1, 1); + commands.splice(i, 1); + //changed = true; + i--; + break; + } + case 'and': + case 'And': + case 'AND': + case '&': + case '&&': { + const op1 = commands[i - 1]; + const op2 = commands[i + 1]; + commands[i] = { + $and: [op1, op2], + }; + commands.splice(i - 1, 1); + commands.splice(i, 1); + //changed = true; + i--; + break; + } + case 'not': + case 'Not': + case 'NOT': + case '!': { + const op1 = commands[i + 1]; + commands[i] = { + $not: op1, + }; + commands.splice(i + 1, 1); + //changed = true; + i--; + break; + } + } + } + } + } + + _getMongoSelector() { + this._dep.depend(); + const commands = this._filterToCommands(); + return this._arrayToSelector(commands); + } + getRegexSelector() { + // generate a regex for filter list + this._dep.depend(); + return new RegExp( + `^.*${this._filter.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')}.*$`, + 'i', + ); + } +} + +// The global Filter object. +// XXX It would be possible to re-write this object more elegantly, and removing +// the need to provide a list of `_fields`. We also should move methods into the +// object prototype. +Filter = { + // XXX I would like to rename this field into `labels` to be consistent with + // the rest of the schema, but we need to set some migrations architecture + // before changing the schema. + labelIds: new SetFilter(), + members: new SetFilter(), + assignees: new SetFilter(), + archive: new SetFilter(), + hideEmpty: new SetFilter(), + customFields: new SetFilter('_id'), + advanced: new AdvancedFilter(), + lists: new AdvancedFilter(), // we need the ability to filter list by name as well + + _fields: [ + 'labelIds', + 'members', + 'assignees', + 'archive', + 'hideEmpty', + 'customFields', + ], + + // We don't filter cards that have been added after the last filter change. To + // implement this we keep the id of these cards in this `_exceptions` fields + // and use a `$or` condition in the mongo selector we return. + _exceptions: [], + _exceptionsDep: new Tracker.Dependency(), + + isActive() { + return ( + _.any(this._fields, fieldName => { + return this[fieldName]._isActive(); + }) || + this.advanced._isActive() || + this.lists._isActive() + ); + }, + + _getMongoSelector() { + if (!this.isActive()) return {}; + + const filterSelector = {}; + const emptySelector = {}; + let includeEmptySelectors = false; + this._fields.forEach(fieldName => { + const filter = this[fieldName]; + if (filter._isActive()) { + if (filter.subField !== '') { + filterSelector[ + `${fieldName}.${filter.subField}` + ] = filter._getMongoSelector(); + } else { + filterSelector[fieldName] = filter._getMongoSelector(); + } + emptySelector[fieldName] = filter._getEmptySelector(); + if (emptySelector[fieldName] !== null) { + includeEmptySelectors = true; + } + } + }); + + const exceptionsSelector = { + _id: { + $in: this._exceptions, + }, + }; + this._exceptionsDep.depend(); + + const selectors = [exceptionsSelector]; + + if ( + _.any(this._fields, fieldName => { + return this[fieldName]._isActive(); + }) + ) + selectors.push(filterSelector); + if (includeEmptySelectors) selectors.push(emptySelector); + if (this.advanced._isActive()) + selectors.push(this.advanced._getMongoSelector()); + + return { + $or: selectors, + }; + }, + + mongoSelector(additionalSelector) { + const filterSelector = this._getMongoSelector(); + if (_.isUndefined(additionalSelector)) return filterSelector; + else + return { + $and: [filterSelector, additionalSelector], + }; + }, + + reset() { + this._fields.forEach(fieldName => { + const filter = this[fieldName]; + filter.reset(); + }); + this.lists.reset(); + this.advanced.reset(); + this.resetExceptions(); + }, + + addException(_id) { + if (this.isActive()) { + this._exceptions.push(_id); + this._exceptionsDep.changed(); + Tracker.flush(); + } + }, + + resetExceptions() { + this._exceptions = []; + this._exceptionsDep.changed(); + }, +}; + +Blaze.registerHelper('Filter', Filter); diff --git a/client/lib/i18n.js b/client/lib/i18n.js new file mode 100644 index 0000000..b4a95ea --- /dev/null +++ b/client/lib/i18n.js @@ -0,0 +1,27 @@ +// We save the user language preference in the user profile, and use that to set +// the language reactively. If the user is not connected we use the language +// information provided by the browser, and default to english. + +Meteor.startup(() => { + TAPi18n.conf.i18n_files_route = Meteor._relativeToSiteRootUrl('/tap-i18n'); + Tracker.autorun(() => { + const currentUser = Meteor.user(); + let language; + if (currentUser) { + language = currentUser.profile && currentUser.profile.language; + } + + if (!language) { + if (navigator.languages) { + language = navigator.languages[0]; + } else { + language = navigator.language || navigator.userLanguage; + } + } + + if (language) { + TAPi18n.setLanguage(language); + T9n.setLanguage(language); + } + }); +}); diff --git a/client/lib/inlinedform.js b/client/lib/inlinedform.js new file mode 100644 index 0000000..f2ebe31 --- /dev/null +++ b/client/lib/inlinedform.js @@ -0,0 +1,98 @@ +// A inlined form is used to provide a quick edition of single field for a given +// document. Clicking on a edit button should display the form to edit the field +// value. The form can then be submited, or just closed. +// +// When the form is closed we save non-submitted values in memory to avoid any +// data loss. +// +// Usage: +// +// +inlineForm +// // the content when the form is open +// else +// // the content when the form is close (optional) + +// We can only have one inlined form element opened at a time +const currentlyOpenedForm = new ReactiveVar(null); + +InlinedForm = BlazeComponent.extendComponent({ + template() { + return 'inlinedForm'; + }, + + onCreated() { + this.isOpen = new ReactiveVar(false); + }, + + onDestroyed() { + currentlyOpenedForm.set(null); + }, + + open(evt) { + evt && evt.preventDefault(); + + // Close currently opened form, if any + EscapeActions.executeUpTo('inlinedForm'); + this.isOpen.set(true); + currentlyOpenedForm.set(this); + }, + + close() { + this.isOpen.set(false); + currentlyOpenedForm.set(null); + }, + + getValue() { + const input = this.find('textarea,input[type=text]'); + return this.isOpen.get() && input && input.value; + }, + + events() { + return [ + { + 'click .js-close-inlined-form': this.close, + 'click .js-open-inlined-form': this.open, + + // Pressing Ctrl+Enter should submit the form + 'keydown form textarea'(evt) { + if (evt.keyCode === 13 && (evt.metaKey || evt.ctrlKey)) { + this.find('button[type=submit]').click(); + } + }, + + // Close the inlined form when after its submission + submit() { + if (this.currentData().autoclose !== false) { + Tracker.afterFlush(() => { + this.close(); + }); + } + }, + }, + ]; + }, +}).register('inlinedForm'); + +// Press escape to close the currently opened inlinedForm +EscapeActions.register( + 'inlinedForm', + () => { + currentlyOpenedForm.get().close(); + }, + () => { + return currentlyOpenedForm.get() !== null; + }, + { + enabledOnClick: false, + }, +); + +// submit on click outside +//document.addEventListener('click', function(evt) { +// const openedForm = currentlyOpenedForm.get(); +// const isClickOutside = $(evt.target).closest('.js-inlined-form').length === 0; +// if (openedForm && isClickOutside) { +// $('.js-inlined-form button[type=submit]').click(); +// openedForm.close(); +// } +//}, true); diff --git a/client/lib/keyboard.js b/client/lib/keyboard.js new file mode 100755 index 0000000..e861e41 --- /dev/null +++ b/client/lib/keyboard.js @@ -0,0 +1,146 @@ +// XXX There is no reason to define these shortcuts globally, they should be +// attached to a template (most of them will go in the `board` template). + +function getHoveredCardId() { + const card = $('.js-minicard:hover').get(0); + if (!card) return null; + return Blaze.getData(card)._id; +} + +function getSelectedCardId() { + return Session.get('selectedCard') || getHoveredCardId(); +} + +Mousetrap.bind('?', () => { + FlowRouter.go('shortcuts'); +}); + +Mousetrap.bind('w', () => { + if (Sidebar.isOpen() && Sidebar.getView() === 'home') { + Sidebar.toggle(); + } else { + Sidebar.setView(); + } +}); + +Mousetrap.bind('q', () => { + const currentBoardId = Session.get('currentBoard'); + const currentUserId = Meteor.userId(); + if (currentBoardId && currentUserId) { + Filter.members.toggle(currentUserId); + } +}); + +Mousetrap.bind('x', () => { + if (Filter.isActive()) { + Filter.reset(); + } +}); + +Mousetrap.bind('f', () => { + if (Sidebar.isOpen() && Sidebar.getView() === 'filter') { + Sidebar.toggle(); + } else { + Sidebar.setView('filter'); + } +}); + +Mousetrap.bind(['down', 'up'], (evt, key) => { + if (!Session.get('currentCard')) { + return; + } + + const nextFunc = key === 'down' ? 'next' : 'prev'; + const nextCard = $('.js-minicard.is-selected') + [nextFunc]('.js-minicard') + .get(0); + if (nextCard) { + const nextCardId = Blaze.getData(nextCard)._id; + Utils.goCardId(nextCardId); + } +}); + +Mousetrap.bind('space', evt => { + const cardId = getSelectedCardId(); + if (!cardId) { + return; + } + + const currentUserId = Meteor.userId(); + if (currentUserId === null) { + return; + } + + if (Meteor.user().isBoardMember()) { + const card = Cards.findOne(cardId); + card.toggleMember(currentUserId); + // We should prevent scrolling in card when spacebar is clicked + // This should do it according to Mousetrap docs, but it doesn't + evt.preventDefault(); + } +}); + +Mousetrap.bind('c', evt => { + const cardId = getSelectedCardId(); + if (!cardId) { + return; + } + + const currentUserId = Meteor.userId(); + if (currentUserId === null) { + return; + } + + if ( + Meteor.user().isBoardMember() && + !Meteor.user().isCommentOnly() && + !Meteor.user().isWorker() + ) { + const card = Cards.findOne(cardId); + card.archive(); + // We should prevent scrolling in card when spacebar is clicked + // This should do it according to Mousetrap docs, but it doesn't + evt.preventDefault(); + } +}); + +Template.keyboardShortcuts.helpers({ + mapping: [ + { + keys: ['w'], + action: 'shortcut-toggle-sidebar', + }, + { + keys: ['q'], + action: 'shortcut-filter-my-cards', + }, + { + keys: ['f'], + action: 'shortcut-toggle-filterbar', + }, + { + keys: ['x'], + action: 'shortcut-clear-filters', + }, + { + keys: ['?'], + action: 'shortcut-show-shortcuts', + }, + { + keys: ['ESC'], + action: 'shortcut-close-dialog', + }, + { + keys: ['@'], + action: 'shortcut-autocomplete-members', + }, + { + keys: ['SPACE'], + action: 'shortcut-assign-self', + }, + { + keys: ['c'], + action: 'archive-card', + }, + ], +}); diff --git a/client/lib/mixins.js b/client/lib/mixins.js new file mode 100644 index 0000000..8d16be5 --- /dev/null +++ b/client/lib/mixins.js @@ -0,0 +1 @@ +Mixins = {}; diff --git a/client/lib/modal.js b/client/lib/modal.js new file mode 100644 index 0000000..1086734 --- /dev/null +++ b/client/lib/modal.js @@ -0,0 +1,54 @@ +const closedValue = null; + +window.Modal = new (class { + constructor() { + this._currentModal = new ReactiveVar(closedValue); + this._onCloseGoTo = ''; + this._isWideModal = false; + } + + getHeaderName() { + const currentModal = this._currentModal.get(); + return currentModal && currentModal.header; + } + + getTemplateName() { + const currentModal = this._currentModal.get(); + return currentModal && currentModal.modalName; + } + + isOpen() { + return this.getTemplateName() !== closedValue; + } + + isWide() { + return this._isWideModal; + } + + close() { + this._currentModal.set(closedValue); + if (this._onCloseGoTo) { + FlowRouter.go(this._onCloseGoTo); + } + } + + openWide(modalName, { header = '', onCloseGoTo = '' } = {}) { + this._currentModal.set({ header, modalName }); + this._onCloseGoTo = onCloseGoTo; + this._isWideModal = true; + } + + open(modalName, { header = '', onCloseGoTo = '' } = {}) { + this._currentModal.set({ header, modalName }); + this._onCloseGoTo = onCloseGoTo; + } +})(); + +Blaze.registerHelper('Modal', Modal); + +EscapeActions.register( + 'modalWindow', + () => Modal.close(), + () => Modal.isOpen(), + { noClickEscapeOn: '.modal-container' }, +); diff --git a/client/lib/multiSelection.js b/client/lib/multiSelection.js new file mode 100644 index 0000000..ab6a046 --- /dev/null +++ b/client/lib/multiSelection.js @@ -0,0 +1,167 @@ +function getCardsBetween(idA, idB) { + function pluckId(doc) { + return doc._id; + } + + function getListsStrictlyBetween(id1, id2) { + return Lists.find({ + $and: [ + { sort: { $gt: Lists.findOne(id1).sort } }, + { sort: { $lt: Lists.findOne(id2).sort } }, + ], + archived: false, + }).map(pluckId); + } + + const cards = _.sortBy([Cards.findOne(idA), Cards.findOne(idB)], c => { + return c.sort; + }); + + let selector; + if (cards[0].listId === cards[1].listId) { + selector = { + listId: cards[0].listId, + sort: { + $gte: cards[0].sort, + $lte: cards[1].sort, + }, + archived: false, + }; + } else { + selector = { + $or: [ + { + listId: cards[0].listId, + sort: { $lte: cards[0].sort }, + }, + { + listId: { + $in: getListsStrictlyBetween(cards[0].listId, cards[1].listId), + }, + }, + { + listId: cards[1].listId, + sort: { $gte: cards[1].sort }, + }, + ], + archived: false, + }; + } + + return Cards.find(Filter.mongoSelector(selector)).map(pluckId); +} + +MultiSelection = { + sidebarView: 'multiselection', + + _selectedCards: new ReactiveVar([]), + + _isActive: new ReactiveVar(false), + + startRangeCardId: null, + + reset() { + this._selectedCards.set([]); + }, + + getMongoSelector() { + return Filter.mongoSelector({ + _id: { $in: this._selectedCards.get() }, + }); + }, + + isActive() { + return this._isActive.get(); + }, + + count() { + return Cards.find(this.getMongoSelector()).count(); + }, + + isEmpty() { + return this.count() === 0; + }, + + activate() { + if (!this.isActive()) { + EscapeActions.executeUpTo('detailsPane'); + this._isActive.set(true); + Tracker.flush(); + } + Sidebar.setView(this.sidebarView); + }, + + disable() { + if (this.isActive()) { + this._isActive.set(false); + if (Sidebar && Sidebar.getView() === this.sidebarView) { + Sidebar.setView(); + } + this.reset(); + } + }, + + add(cardIds) { + return this.toggle(cardIds, { add: true, remove: false }); + }, + + remove(cardIds) { + return this.toggle(cardIds, { add: false, remove: true }); + }, + + toggleRange(cardId) { + const selectedCards = this._selectedCards.get(); + this.reset(); + if (!this.isActive() || selectedCards.length === 0) { + this.toggle(cardId); + } else { + const startRange = selectedCards[selectedCards.length - 1]; + this.toggle(getCardsBetween(startRange, cardId)); + } + }, + + toggle(cardIds, options = {}) { + cardIds = _.isString(cardIds) ? [cardIds] : cardIds; + options = { + add: true, + remove: true, + ...options, + }; + + if (!this.isActive()) { + this.reset(); + this.activate(); + } + + const selectedCards = this._selectedCards.get(); + + cardIds.forEach(cardId => { + const indexOfCard = selectedCards.indexOf(cardId); + + if (options.remove && indexOfCard > -1) + selectedCards.splice(indexOfCard, 1); + else if (options.add) selectedCards.push(cardId); + }); + + this._selectedCards.set(selectedCards); + }, + + isSelected(cardId) { + return this._selectedCards.get().indexOf(cardId) > -1; + }, +}; + +Blaze.registerHelper('MultiSelection', MultiSelection); + +EscapeActions.register( + 'multiselection', + () => { + MultiSelection.disable(); + }, + () => { + return MultiSelection.isActive(); + }, + { + noClickEscapeOn: '.js-minicard,.js-board-sidebar-content', + }, +); diff --git a/client/lib/pasteImage.js b/client/lib/pasteImage.js new file mode 100644 index 0000000..195a781 --- /dev/null +++ b/client/lib/pasteImage.js @@ -0,0 +1,63 @@ +/* eslint-disable */ + +// ------------------------------------------------------------------------ +// Created by STRd6 +// MIT License +// https://github.com/distri/jquery-image_reader/blob/master/paste.coffee.md +// +// Raymond re-write it to javascript + +(function($) { + $.event.fix = (function(originalFix) { + return function(event) { + event = originalFix.apply(this, arguments); + if ( + event.type.indexOf('copy') === 0 || + event.type.indexOf('paste') === 0 + ) { + event.clipboardData = event.originalEvent.clipboardData; + } + return event; + }; + })($.event.fix); + + const defaults = { + callback: $.noop, + matchType: /image.*/, + }; + + return ($.fn.pasteImageReader = function(options) { + if (typeof options === 'function') { + options = { + callback: options, + }; + } + options = $.extend({}, defaults, options); + return this.each(function() { + const element = this; + return $(element).on('paste', function(event) { + const types = event.clipboardData.types; + const items = event.clipboardData.items; + for (let i = 0; i < types.length; i++) { + if ( + types[i].match(options.matchType) || + items[i].type.match(options.matchType) + ) { + const f = items[i].getAsFile(); + const reader = new FileReader(); + reader.onload = function(evt) { + return options.callback.call(element, { + dataURL: evt.target.result, + event: evt, + file: f, + name: f.name, + }); + }; + reader.readAsDataURL(f); + return; + } + } + }); + }); + }); +})(jQuery); diff --git a/client/lib/popup.js b/client/lib/popup.js new file mode 100644 index 0000000..cae2265 --- /dev/null +++ b/client/lib/popup.js @@ -0,0 +1,208 @@ +window.Popup = new (class { + constructor() { + // The template we use to render popups + this.template = Template.popup; + + // We only want to display one popup at a time and we keep the view object + // in this `Popup.current` variable. If there is no popup currently opened + // the value is `null`. + this.current = null; + + // It's possible to open a sub-popup B from a popup A. In that case we keep + // the data of popup A so we can return back to it. Every time we open a new + // popup the stack grows, every time we go back the stack decrease, and if + // we close the popup the stack is reseted to the empty stack []. + this._stack = []; + + // We invalidate this internal dependency every time the top of the stack + // has changed and we want to re-render a popup with the new top-stack data. + this._dep = new Tracker.Dependency(); + } + + /// This function returns a callback that can be used in an event map: + /// Template.tplName.events({ + /// 'click .elementClass': Popup.open("popupName"), + /// }); + /// The popup inherit the data context of its parent. + open(name) { + const self = this; + const popupName = `${name}Popup`; + function clickFromPopup(evt) { + return $(evt.target).closest('.js-pop-over').length !== 0; + } + return function(evt) { + // If a popup is already opened, clicking again on the opener element + // should close it -- and interrupt the current `open` function. + if (self.isOpen()) { + const previousOpenerElement = self._getTopStack().openerElement; + if (previousOpenerElement === evt.currentTarget) { + self.close(); + return; + } else { + $(previousOpenerElement).removeClass('is-active'); + } + } + + // We determine the `openerElement` (the DOM element that is being clicked + // and the one we take in reference to position the popup) from the event + // if the popup has no parent, or from the parent `openerElement` if it + // has one. This allows us to position a sub-popup exactly at the same + // position than its parent. + let openerElement; + if (clickFromPopup(evt) && self._getTopStack()) { + openerElement = self._getTopStack().openerElement; + } else { + self._stack = []; + openerElement = evt.currentTarget; + } + $(openerElement).addClass('is-active'); + evt.preventDefault(); + + // We push our popup data to the stack. The top of the stack is always + // used as the data source for our current popup. + self._stack.push({ + popupName, + openerElement, + hasPopupParent: clickFromPopup(evt), + title: self._getTitle(popupName), + depth: self._stack.length, + offset: self._getOffset(openerElement), + dataContext: (this && this.currentData && this.currentData()) || this, + }); + + // If there are no popup currently opened we use the Blaze API to render + // one into the DOM. We use a reactive function as the data parameter that + // return the complete along with its top element and depends on our + // internal dependency that is being invalidated every time the top + // element of the stack has changed and we want to update the popup. + // + // Otherwise if there is already a popup open we just need to invalidate + // our internal dependency, and since we just changed the top element of + // our internal stack, the popup will be updated with the new data. + if (!self.isOpen()) { + self.current = Blaze.renderWithData( + self.template, + () => { + self._dep.depend(); + return { ...self._getTopStack(), stack: self._stack }; + }, + document.body, + ); + } else { + self._dep.changed(); + } + }; + } + + /// This function returns a callback that can be used in an event map: + /// Template.tplName.events({ + /// 'click .elementClass': Popup.afterConfirm("popupName", function() { + /// // What to do after the user has confirmed the action + /// }), + /// }); + afterConfirm(name, action) { + const self = this; + + return function(evt, tpl) { + const context = (this.currentData && this.currentData()) || this; + context.__afterConfirmAction = action; + self.open(name).call(context, evt, tpl); + }; + } + + /// The public reactive state of the popup. + isOpen() { + this._dep.changed(); + return Boolean(this.current); + } + + /// In case the popup was opened from a parent popup we can get back to it + /// with this `Popup.back()` function. You can go back several steps at once + /// by providing a number to this function, e.g. `Popup.back(2)`. In this case + /// intermediate popup won't even be rendered on the DOM. If the number of + /// steps back is greater than the popup stack size, the popup will be closed. + back(n = 1) { + if (this._stack.length > n) { + _.times(n, () => this._stack.pop()); + this._dep.changed(); + } else { + this.close(); + } + } + + /// Close the current opened popup. + close() { + if (this.isOpen()) { + Blaze.remove(this.current); + this.current = null; + + const openerElement = this._getTopStack().openerElement; + $(openerElement).removeClass('is-active'); + + this._stack = []; + } + } + + getOpenerComponent() { + const { openerElement } = Template.parentData(4); + return BlazeComponent.getComponentForElement(openerElement); + } + + // An utility fonction that returns the top element of the internal stack + _getTopStack() { + return this._stack[this._stack.length - 1]; + } + + // We automatically calculate the popup offset from the reference element + // position and dimensions. We also reactively use the window dimensions to + // ensure that the popup is always visible on the screen. + _getOffset(element) { + const $element = $(element); + return () => { + Utils.windowResizeDep.depend(); + + if (Utils.isMiniScreen()) return { left: 0, top: 0 }; + + const offset = $element.offset(); + const popupWidth = 300 + 15; + return { + left: Math.min(offset.left, $(window).width() - popupWidth), + top: offset.top + $element.outerHeight(), + }; + }; + } + + // We get the title from the translation files. Instead of returning the + // result, we return a function that compute the result and since `TAPi18n.__` + // is a reactive data source, the title will be changed reactively. + _getTitle(popupName) { + return () => { + const translationKey = `${popupName}-title`; + + // XXX There is no public API to check if there is an available + // translation for a given key. So we try to translate the key and if the + // translation output equals the key input we deduce that no translation + // was available and returns `false`. There is a (small) risk a false + // positives. + const title = TAPi18n.__(translationKey); + // when popup showed as full of small screen, we need a default header to clearly see [X] button + const defaultTitle = Utils.isMiniScreen() ? '' : false; + return title !== translationKey ? title : defaultTitle; + }; + } +})(); + +// We close a potential opened popup on any left click on the document, or go +// one step back by pressing escape. +const escapeActions = ['back', 'close']; +escapeActions.forEach(actionName => { + EscapeActions.register( + `popup-${actionName}`, + () => Popup[actionName](), + () => Popup.isOpen(), + { + noClickEscapeOn: '.js-pop-over,.js-open-card-title-popup', + enabledOnClick: actionName === 'close', + }, + ); +}); diff --git a/client/lib/textComplete.js b/client/lib/textComplete.js new file mode 100644 index 0000000..e97d385 --- /dev/null +++ b/client/lib/textComplete.js @@ -0,0 +1,58 @@ +// We “inherit” the jquery-textcomplete plugin to integrate with our +// EscapeActions system. You should always use `escapeableTextComplete` instead +// of the vanilla `textcomplete`. +let dropdownMenuIsOpened = false; + +$.fn.escapeableTextComplete = function(strategies, options, ...otherArgs) { + // When the autocomplete menu is shown we want both a press of both `Tab` + // or `Enter` to validation the auto-completion. We also need to stop the + // event propagation to prevent EscapeActions side effect, for instance the + // minicard submission (on `Enter`) or going on the next column (on `Tab`). + options = { + onKeydown(evt, commands) { + if (evt.keyCode === 9 || evt.keyCode === 13) { + evt.stopPropagation(); + return commands.KEY_ENTER; + } + return null; + }, + ...options, + }; + + // Proxy to the vanilla jQuery component + this.textcomplete(strategies, options, ...otherArgs); + + // Since commit d474017 jquery-textComplete automatically closes a potential + // opened dropdown menu when the user press Escape. This behavior conflicts + // with our EscapeActions system, but it's too complicated and hacky to + // monkey-pach textComplete to disable it -- I tried. Instead we listen to + // 'open' and 'hide' events, and create a ghost escapeAction when the dropdown + // is opened (and rely on textComplete to execute the actual action). + this.on({ + 'textComplete:show'() { + dropdownMenuIsOpened = true; + }, + 'textComplete:hide'() { + Tracker.afterFlush(() => { + // XXX Hack. We unfortunately need to set a setTimeout here to make the + // `noClickEscapeOn` work bellow, otherwise clicking on a autocomplete + // item will close both the autocomplete menu (as expected) but also the + // next item in the stack (for example the minicard editor) which we + // don't want. + setTimeout(() => { + dropdownMenuIsOpened = false; + }, 100); + }); + }, + }); + return this; +}; + +EscapeActions.register( + 'textcomplete', + () => {}, + () => dropdownMenuIsOpened, + { + noClickEscapeOn: '.textcomplete-dropdown', + }, +); diff --git a/client/lib/unsavedEdits.js b/client/lib/unsavedEdits.js new file mode 100644 index 0000000..a67d0ee --- /dev/null +++ b/client/lib/unsavedEdits.js @@ -0,0 +1,76 @@ +// `UnsavedEdits` is a global key-value store used to save drafts of user +// inputs. We used to have the notion of a `cachedValue` that was local to a +// component but the global store has multiple advantages: +// 1. When the component is unmounted (ie, destroyed) the draft isn't lost +// 2. The drafts are synced across multiple computers +// 3. The drafts are synced across multiple browser tabs +// XXX This currently doesn't work in purely offline mode since the sync is +// handled with the DDP connection to the server. To solve this, we could use +// something like GroundDB that syncs using localstorage. +// +// The key is a dictionary composed of two fields: +// * a `fieldName` which identifies the particular field. Since this is a global +// identifier a good practice would be to compose it with the collection name +// and the document field, eg. `boardTitle`, `cardDescription`. +// * a `docId` which identifies the appropriate document. In general we use +// MongoDB `_id` field. +// +// The value is a string containing the draft. + +UnsavedEdits = { + // XXX Wanted to have the collection has an instance variable, but + // unfortunately the collection isn't defined yet at this point. We need ES6 + // modules to solve the file order issue! + // + // _collection: UnsavedEditCollection, + + get({ fieldName, docId }, defaultTo = '') { + const unsavedValue = this._getCollectionDocument(fieldName, docId); + if (unsavedValue) { + return unsavedValue.value; + } else { + return defaultTo; + } + }, + + has({ fieldName, docId }) { + return Boolean(this.get({ fieldName, docId })); + }, + + set({ fieldName, docId }, value) { + const currentDoc = this._getCollectionDocument(fieldName, docId); + if (currentDoc) { + UnsavedEditCollection.update(currentDoc._id, { $set: { value } }); + } else { + UnsavedEditCollection.insert({ + fieldName, + docId, + value, + }); + } + }, + + reset({ fieldName, docId }) { + const currentDoc = this._getCollectionDocument(fieldName, docId); + if (currentDoc) { + UnsavedEditCollection.remove(currentDoc._id); + } + }, + + _getCollectionDocument(fieldName, docId) { + return UnsavedEditCollection.findOne({ fieldName, docId }); + }, +}; + +Blaze.registerHelper('getUnsavedValue', (fieldName, docId, defaultTo) => { + // Workaround some blaze feature that pass a list of keywords arguments as the + // last parameter (even if the caller didn't specify any). + if (!_.isString(defaultTo)) { + defaultTo = ''; + } + return UnsavedEdits.get({ fieldName, docId }, defaultTo); +}); + +Blaze.registerHelper('hasUnsavedValue', (fieldName, docId) => { + return UnsavedEdits.has({ fieldName, docId }); +}); diff --git a/client/lib/utils.js b/client/lib/utils.js new file mode 100644 index 0000000..754214c --- /dev/null +++ b/client/lib/utils.js @@ -0,0 +1,423 @@ +import { Cookies } from 'meteor/ostrio:cookies'; +const cookies = new Cookies(); + +Utils = { + setBoardView(view) { + currentUser = Meteor.user(); + if (currentUser) { + Meteor.user().setBoardView(view); + } else if (view === 'board-view-swimlanes') { + cookies.set('boardView', 'board-view-swimlanes'); //true + location.reload(); + } else if (view === 'board-view-lists') { + cookies.set('boardView', 'board-view-lists'); //true + location.reload(); + } else if (view === 'board-view-cal') { + cookies.set('boardView', 'board-view-cal'); //true + location.reload(); + } else { + cookies.set('boardView', 'board-view-swimlanes'); //true + location.reload(); + } + }, + + unsetBoardView() { + cookies.remove('boardView'); + cookies.remove('collapseSwimlane'); + }, + + boardView() { + currentUser = Meteor.user(); + if (currentUser) { + return (currentUser.profile || {}).boardView; + } else if (cookies.get('boardView') === 'board-view-swimlanes') { + return 'board-view-swimlanes'; + } else if (cookies.get('boardView') === 'board-view-lists') { + return 'board-view-lists'; + } else if (cookies.get('boardView') === 'board-view-cal') { + return 'board-view-cal'; + } else { + cookies.set('boardView', 'board-view-swimlanes'); //true + location.reload(); + return 'board-view-swimlanes'; + } + }, + + // XXX We should remove these two methods + goBoardId(_id) { + const board = Boards.findOne(_id); + return ( + board && + FlowRouter.go('board', { + id: board._id, + slug: board.slug, + }) + ); + }, + + goCardId(_id) { + const card = Cards.findOne(_id); + const board = Boards.findOne(card.boardId); + return ( + board && + FlowRouter.go('card', { + cardId: card._id, + boardId: board._id, + slug: board.slug, + }) + ); + }, + MAX_IMAGE_PIXEL: Meteor.settings.public.MAX_IMAGE_PIXEL, + COMPRESS_RATIO: Meteor.settings.public.IMAGE_COMPRESS_RATIO, + processUploadedAttachment(card, fileObj, callback) { + const next = attachment => { + if (typeof callback === 'function') { + callback(attachment); + } + }; + if (!card) { + return next(); + } + const file = new FS.File(fileObj); + if (card.isLinkedCard()) { + file.boardId = Cards.findOne(card.linkedId).boardId; + file.cardId = card.linkedId; + } else { + file.boardId = card.boardId; + file.swimlaneId = card.swimlaneId; + file.listId = card.listId; + file.cardId = card._id; + } + file.userId = Meteor.userId(); + if (file.original) { + file.original.name = fileObj.name; + } + return next(Attachments.insert(file)); + }, + shrinkImage(options) { + // shrink image to certain size + const dataurl = options.dataurl, + callback = options.callback, + toBlob = options.toBlob; + let canvas = document.createElement('canvas'), + image = document.createElement('img'); + const maxSize = options.maxSize || 1024; + const ratio = options.ratio || 1.0; + const next = function(result) { + image = null; + canvas = null; + if (typeof callback === 'function') { + callback(result); + } + }; + image.onload = function() { + let width = this.width, + height = this.height; + let changed = false; + if (width > height) { + if (width > maxSize) { + height *= maxSize / width; + width = maxSize; + changed = true; + } + } else if (height > maxSize) { + width *= maxSize / height; + height = maxSize; + changed = true; + } + canvas.width = width; + canvas.height = height; + canvas.getContext('2d').drawImage(this, 0, 0, width, height); + if (changed === true) { + const type = 'image/jpeg'; + if (toBlob) { + canvas.toBlob(next, type, ratio); + } else { + next(canvas.toDataURL(type, ratio)); + } + } else { + next(changed); + } + }; + image.onerror = function() { + next(false); + }; + image.src = dataurl; + }, + capitalize(string) { + return string.charAt(0).toUpperCase() + string.slice(1); + }, + + windowResizeDep: new Tracker.Dependency(), + + // in fact, what we really care is screen size + // large mobile device like iPad or android Pad has a big screen, it should also behave like a desktop + // in a small window (even on desktop), Wekan run in compact mode. + // we can easily debug with a small window of desktop browser. :-) + isMiniScreen() { + // OLD WINDOW WIDTH DETECTION: + this.windowResizeDep.depend(); + return $(window).width() <= 800; + + // NEW TOUCH DEVICE DETECTION: + // https://developer.mozilla.org/en-US/docs/Web/HTTP/Browser_detection_using_the_user_agent + + /* + var hasTouchScreen = false; + if ("maxTouchPoints" in navigator) { + hasTouchScreen = navigator.maxTouchPoints > 0; + } else if ("msMaxTouchPoints" in navigator) { + hasTouchScreen = navigator.msMaxTouchPoints > 0; + } else { + var mQ = window.matchMedia && matchMedia("(pointer:coarse)"); + if (mQ && mQ.media === "(pointer:coarse)") { + hasTouchScreen = !!mQ.matches; + } else if ('orientation' in window) { + hasTouchScreen = true; // deprecated, but good fallback + } else { + // Only as a last resort, fall back to user agent sniffing + var UA = navigator.userAgent; + hasTouchScreen = ( + /\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(UA) || + /\b(Android|Windows Phone|iPad|iPod)\b/i.test(UA) + ); + } + } + */ + //if (hasTouchScreen) + // document.getElementById("exampleButton").style.padding="1em"; + //return false; + }, + + calculateIndexData(prevData, nextData, nItems = 1) { + let base, increment; + // If we drop the card to an empty column + if (!prevData && !nextData) { + base = 0; + increment = 1; + // If we drop the card in the first position + } else if (!prevData) { + base = nextData.sort - 1; + increment = -1; + // If we drop the card in the last position + } else if (!nextData) { + base = prevData.sort + 1; + increment = 1; + } + // In the general case take the average of the previous and next element + // sort indexes. + else { + const prevSortIndex = prevData.sort; + const nextSortIndex = nextData.sort; + increment = (nextSortIndex - prevSortIndex) / (nItems + 1); + base = prevSortIndex + increment; + } + // XXX Return a generator that yield values instead of a base with a + // increment number. + return { + base, + increment, + }; + }, + + // Determine the new sort index + calculateIndex(prevCardDomElement, nextCardDomElement, nCards = 1) { + let base, increment; + // If we drop the card to an empty column + if (!prevCardDomElement && !nextCardDomElement) { + base = 0; + increment = 1; + // If we drop the card in the first position + } else if (!prevCardDomElement) { + base = Blaze.getData(nextCardDomElement).sort - 1; + increment = -1; + // If we drop the card in the last position + } else if (!nextCardDomElement) { + base = Blaze.getData(prevCardDomElement).sort + 1; + increment = 1; + } + // In the general case take the average of the previous and next element + // sort indexes. + else { + const prevSortIndex = Blaze.getData(prevCardDomElement).sort; + const nextSortIndex = Blaze.getData(nextCardDomElement).sort; + increment = (nextSortIndex - prevSortIndex) / (nCards + 1); + base = prevSortIndex + increment; + } + // XXX Return a generator that yield values instead of a base with a + // increment number. + return { + base, + increment, + }; + }, + + // Detect touch device + isTouchDevice() { + const isTouchable = (() => { + const prefixes = ' -webkit- -moz- -o- -ms- '.split(' '); + const mq = function(query) { + return window.matchMedia(query).matches; + }; + + if ( + 'ontouchstart' in window || + (window.DocumentTouch && document instanceof window.DocumentTouch) + ) { + return true; + } + + // include the 'heartz' as a way to have a non matching MQ to help terminate the join + // https://git.io/vznFH + const query = [ + '(', + prefixes.join('touch-enabled),('), + 'heartz', + ')', + ].join(''); + return mq(query); + })(); + Utils.isTouchDevice = () => isTouchable; + return isTouchable; + }, + + calculateTouchDistance(touchA, touchB) { + return Math.sqrt( + Math.pow(touchA.screenX - touchB.screenX, 2) + + Math.pow(touchA.screenY - touchB.screenY, 2), + ); + }, + + enableClickOnTouch(selector) { + let touchStart = null; + let lastTouch = null; + + $(document).on('touchstart', selector, function(e) { + touchStart = e.originalEvent.touches[0]; + }); + $(document).on('touchmove', selector, function(e) { + const touches = e.originalEvent.touches; + lastTouch = touches[touches.length - 1]; + }); + $(document).on('touchend', selector, function(e) { + if ( + touchStart && + lastTouch && + Utils.calculateTouchDistance(touchStart, lastTouch) <= 20 + ) { + e.preventDefault(); + const clickEvent = document.createEvent('MouseEvents'); + clickEvent.initEvent('click', true, true); + e.target.dispatchEvent(clickEvent); + } + }); + }, + + manageCustomUI() { + Meteor.call('getCustomUI', (err, data) => { + if (err && err.error[0] === 'var-not-exist') { + Session.set('customUI', false); // siteId || address server not defined + } + if (!err) { + Utils.setCustomUI(data); + } + }); + }, + + setCustomUI(data) { + const currentBoard = Boards.findOne(Session.get('currentBoard')); + if (currentBoard) { + DocHead.setTitle(`${currentBoard.title} - ${data.productName}`); + } else { + DocHead.setTitle(`${data.productName}`); + } + }, + + setMatomo(data) { + window._paq = window._paq || []; + window._paq.push(['setDoNotTrack', data.doNotTrack]); + if (data.withUserName) { + window._paq.push(['setUserId', Meteor.user().username]); + } + window._paq.push(['trackPageView']); + window._paq.push(['enableLinkTracking']); + + (function() { + window._paq.push(['setTrackerUrl', `${data.address}piwik.php`]); + window._paq.push(['setSiteId', data.siteId]); + + const script = document.createElement('script'); + Object.assign(script, { + id: 'scriptMatomo', + type: 'text/javascript', + async: 'true', + defer: 'true', + src: `${data.address}piwik.js`, + }); + + const s = document.getElementsByTagName('script')[0]; + s.parentNode.insertBefore(script, s); + })(); + + Session.set('matomo', true); + }, + + manageMatomo() { + const matomo = Session.get('matomo'); + if (matomo === undefined) { + Meteor.call('getMatomoConf', (err, data) => { + if (err && err.error[0] === 'var-not-exist') { + Session.set('matomo', false); // siteId || address server not defined + } + if (!err) { + Utils.setMatomo(data); + } + }); + } else if (matomo) { + window._paq.push(['trackPageView']); + } + }, + + getTriggerActionDesc(event, tempInstance) { + const jqueryEl = tempInstance.$(event.currentTarget.parentNode); + const triggerEls = jqueryEl.find('.trigger-content').children(); + let finalString = ''; + for (let i = 0; i < triggerEls.length; i++) { + const element = tempInstance.$(triggerEls[i]); + if (element.hasClass('trigger-text')) { + finalString += element.text().toLowerCase(); + } else if (element.hasClass('user-details')) { + let username = element.find('input').val(); + if (username === undefined || username === '') { + username = '*'; + } + finalString += `${element + .find('.trigger-text') + .text() + .toLowerCase()} ${username}`; + } else if (element.find('select').length > 0) { + finalString += element + .find('select option:selected') + .text() + .toLowerCase(); + } else if (element.find('input').length > 0) { + let inputvalue = element.find('input').val(); + if (inputvalue === undefined || inputvalue === '') { + inputvalue = '*'; + } + finalString += inputvalue; + } + // Add space + if (i !== length - 1) { + finalString += ' '; + } + } + return finalString; + }, +}; + +// A simple tracker dependency that we invalidate every time the window is +// resized. This is used to reactively re-calculate the popup position in case +// of a window resize. This is the equivalent of a "Signal" in some other +// programming environments (eg, elm). +$(window).on('resize', () => Utils.windowResizeDep.changed()); diff --git a/config/accounts.js b/config/accounts.js new file mode 100644 index 0000000..b19c12b --- /dev/null +++ b/config/accounts.js @@ -0,0 +1,90 @@ +const passwordField = AccountsTemplates.removeField('password'); +const emailField = AccountsTemplates.removeField('email'); + +AccountsTemplates.addFields([ + { + _id: 'username', + type: 'text', + displayName: 'username', + required: true, + minLength: 2, + }, + emailField, + passwordField, + { + _id: 'invitationcode', + type: 'text', + displayName: 'Invitation Code', + required: false, + minLength: 6, + template: 'invitationCode', + }, +]); + +AccountsTemplates.configure({ + defaultLayout: 'userFormsLayout', + defaultContentRegion: 'content', + confirmPassword: false, + enablePasswordChange: true, + sendVerificationEmail: true, + showForgotPasswordLink: true, + onLogoutHook() { + const homePage = 'home'; + if (FlowRouter.getRouteName() === homePage) { + FlowRouter.reload(); + } else { + FlowRouter.go(homePage); + } + }, +}); + +[ + 'signIn', + 'signUp', + 'resetPwd', + 'forgotPwd', + 'enrollAccount', +].forEach(routeName => AccountsTemplates.configureRoute(routeName)); + +// We display the form to change the password in a popup window that already +// have a title, so we unset the title automatically displayed by useraccounts. +AccountsTemplates.configure({ + texts: { + title: { + changePwd: '', + }, + }, +}); + +AccountsTemplates.configureRoute('changePwd', { + redirect() { + // XXX We should emit a notification once we have a notification system. + // Currently the user has no indication that his modification has been + // applied. + Popup.back(); + }, +}); + +if (Meteor.isServer) { + [ + 'resetPassword-subject', + 'resetPassword-text', + 'verifyEmail-subject', + 'verifyEmail-text', + 'enrollAccount-subject', + 'enrollAccount-text', + ].forEach(str => { + const [templateName, field] = str.split('-'); + Accounts.emailTemplates[templateName][field] = (user, url) => { + return TAPi18n.__( + `email-${str}`, + { + url, + user: user.getName(), + siteName: Accounts.emailTemplates.siteName, + }, + user.getLanguage(), + ); + }; + }); +} diff --git a/config/models.js b/config/models.js new file mode 100644 index 0000000..f70faae --- /dev/null +++ b/config/models.js @@ -0,0 +1,4 @@ +module.exports.models = { + connection: 'mongodb', + migrate: 'safe', +}; diff --git a/config/router.js b/config/router.js new file mode 100644 index 0000000..2e66c67 --- /dev/null +++ b/config/router.js @@ -0,0 +1,248 @@ +let previousPath; +FlowRouter.triggers.exit([ + ({ path }) => { + previousPath = path; + }, +]); + +FlowRouter.route('/', { + name: 'home', + triggersEnter: [AccountsTemplates.ensureSignedIn], + action() { + Session.set('currentBoard', null); + Session.set('currentList', null); + Session.set('currentCard', null); + + Filter.reset(); + EscapeActions.executeAll(); + + Utils.manageCustomUI(); + Utils.manageMatomo(); + + BlazeLayout.render('defaultLayout', { + headerBar: 'boardListHeaderBar', + content: 'boardList', + }); + }, +}); + +FlowRouter.route('/public', { + name: 'public', + triggersEnter: [AccountsTemplates.ensureSignedIn], + action() { + Session.set('currentBoard', null); + Session.set('currentList', null); + Session.set('currentCard', null); + + Filter.reset(); + EscapeActions.executeAll(); + + Utils.manageCustomUI(); + Utils.manageMatomo(); + + BlazeLayout.render('defaultLayout', { + headerBar: 'boardListHeaderBar', + content: 'boardList', + }); + }, +}); + +FlowRouter.route('/b/:id/:slug', { + name: 'board', + action(params) { + const currentBoard = params.id; + const previousBoard = Session.get('currentBoard'); + Session.set('currentBoard', currentBoard); + Session.set('currentCard', null); + + // If we close a card, we'll execute again this route action but we don't + // want to excape every current actions (filters, etc.) + if (previousBoard !== currentBoard) { + Filter.reset(); + EscapeActions.executeAll(); + } else { + EscapeActions.executeUpTo('popup-close'); + } + + Utils.manageCustomUI(); + Utils.manageMatomo(); + + BlazeLayout.render('defaultLayout', { + headerBar: 'boardHeaderBar', + content: 'board', + }); + }, +}); + +FlowRouter.route('/b/:boardId/:slug/:cardId', { + name: 'card', + action(params) { + EscapeActions.executeUpTo('inlinedForm'); + + Session.set('currentBoard', params.boardId); + Session.set('currentCard', params.cardId); + + Utils.manageCustomUI(); + Utils.manageMatomo(); + + BlazeLayout.render('defaultLayout', { + headerBar: 'boardHeaderBar', + content: 'board', + }); + }, +}); + +FlowRouter.route('/shortcuts', { + name: 'shortcuts', + action() { + const shortcutsTemplate = 'keyboardShortcuts'; + + EscapeActions.executeUpTo('popup-close'); + + if (previousPath) { + Modal.open(shortcutsTemplate, { + header: 'shortcutsModalTitle', + onCloseGoTo: previousPath, + }); + } else { + BlazeLayout.render('defaultLayout', { + headerBar: 'shortcutsHeaderBar', + content: shortcutsTemplate, + }); + } + }, +}); + +FlowRouter.route('/import/:source', { + name: 'import', + triggersEnter: [AccountsTemplates.ensureSignedIn], + action(params) { + if (Session.get('currentBoard')) { + Session.set('fromBoard', Session.get('currentBoard')); + } + Session.set('currentBoard', null); + Session.set('currentList', null); + Session.set('currentCard', null); + Session.set('importSource', params.source); + + Filter.reset(); + EscapeActions.executeAll(); + BlazeLayout.render('defaultLayout', { + headerBar: 'importHeaderBar', + content: 'import', + }); + }, +}); + +FlowRouter.route('/setting', { + name: 'setting', + triggersEnter: [ + AccountsTemplates.ensureSignedIn, + () => { + Session.set('currentBoard', null); + Session.set('currentList', null); + Session.set('currentCard', null); + + Filter.reset(); + EscapeActions.executeAll(); + }, + ], + action() { + Utils.manageCustomUI(); + BlazeLayout.render('defaultLayout', { + headerBar: 'settingHeaderBar', + content: 'setting', + }); + }, +}); + +FlowRouter.route('/information', { + name: 'information', + triggersEnter: [ + AccountsTemplates.ensureSignedIn, + () => { + Session.set('currentBoard', null); + Session.set('currentList', null); + Session.set('currentCard', null); + + Filter.reset(); + EscapeActions.executeAll(); + }, + ], + action() { + BlazeLayout.render('defaultLayout', { + headerBar: 'settingHeaderBar', + content: 'information', + }); + }, +}); + +FlowRouter.route('/people', { + name: 'people', + triggersEnter: [ + AccountsTemplates.ensureSignedIn, + () => { + Session.set('currentBoard', null); + Session.set('currentList', null); + Session.set('currentCard', null); + + Filter.reset(); + EscapeActions.executeAll(); + }, + ], + action() { + BlazeLayout.render('defaultLayout', { + headerBar: 'settingHeaderBar', + content: 'people', + }); + }, +}); + +FlowRouter.notFound = { + action() { + BlazeLayout.render('defaultLayout', { content: 'notFound' }); + }, +}; + +// We maintain a list of redirections to ensure that we don't break old URLs +// when we change our routing scheme. +const redirections = { + '/boards': '/', + '/boards/:id/:slug': '/b/:id/:slug', + '/boards/:id/:slug/:cardId': '/b/:id/:slug/:cardId', + '/import': '/import/trello', +}; + +_.each(redirections, (newPath, oldPath) => { + FlowRouter.route(oldPath, { + triggersEnter: [ + (context, redirect) => { + redirect(FlowRouter.path(newPath, context.params)); + }, + ], + }); +}); + +// As it is not possible to use template helpers in the page we create a +// reactive function whose role is to set any page-specific tag in the +// using the `kadira:dochead` package. Currently we only use it to display the +// board title if we are in a board page (see #364) but we may want to support +// some tags in the future. +//const appTitle = Utils.manageCustomUI(); + +// XXX The `Meteor.startup` should not be necessary -- we don't need to wait for +// the complete DOM to be ready to call `DocHead.setTitle`. But the problem is +// that the global variable `Boards` is undefined when this file loads so we +// wait a bit until hopefully all files are loaded. This will be fixed in a +// clean way once Meteor will support ES6 modules -- hopefully in Meteor 1.3. +//Meteor.isClient && Meteor.startup(() => { +// Tracker.autorun(() => { + +// const currentBoard = Boards.findOne(Session.get('currentBoard')); +// const titleStack = [appTitle]; +// if (currentBoard) { +// titleStack.push(currentBoard.title); +// } +// DocHead.setTitle(titleStack.reverse().join(' - ')); +// }); +//}); diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..daf1508 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,683 @@ +version: '2' + +# Note: Do not add single quotes '' to variables. Having spaces still works without quotes where required. +#--------------------------------------------------------------------------------------------------------- +# ==== CREATING USERS AND LOGGING IN TO WEKAN ==== +# https://github.com/wekan/wekan/wiki/Adding-users +#--------------------------------------------------------------------------------------------------------- +# ==== FORGOT PASSWORD ==== +# https://github.com/wekan/wekan/wiki/Forgot-Password +#--------------------------------------------------------------------------------------------------------- +# ==== Upgrading Wekan to new version ===== +# NOTE: MongoDB has changed from 3.x to 4.x, in that case you need backup/restore with --noIndexRestore +# see https://github.com/wekan/wekan/wiki/Backup +# 1) Stop Wekan: +# docker-compose stop +# 2) Download new version: +# docker-compose pull wekan +# 3) If you have more networks for VPN etc as described at bottom of +# this config, download for them too: +# docker-compose pull wekan2 +# 4) Start Wekan: +# docker-compose start +#---------------------------------------------------------------------------------- +# ==== OPTIONAL: DEDICATED DOCKER USER ==== +# 1) Optionally create a dedicated user for Wekan, for example: +# sudo useradd -d /home/wekan -m -s /bin/bash wekan +# 2) Add this user to the docker group, then logout+login or reboot: +# sudo usermod -aG docker wekan +# 3) Then login as user wekan. +# 4) Create this file /home/wekan/docker-compose.yml with your modifications. +#---------------------------------------------------------------------------------- +# ==== RUN DOCKER AS SERVICE ==== +# 1a) Running Docker as service, on Systemd like Debian 9, Ubuntu 16.04, CentOS 7: +# sudo systemctl enable docker +# sudo systemctl start docker +# 1b) Running Docker as service, on init.d like Debian 8, Ubuntu 14.04, CentOS 6: +# sudo update-rc.d docker defaults +# sudo service docker start +# ---------------------------------------------------------------------------------- +# ==== USAGE OF THIS docker-compose.yml ==== +# 1) For seeing does Wekan work, try this and check with your web browser: +# docker-compose up +# 2) Stop Wekan and start Wekan in background: +# docker-compose stop +# docker-compose up -d +# 3) See running Docker containers: +# docker ps +# 4) Stop Docker containers: +# docker-compose stop +# ---------------------------------------------------------------------------------- +# ===== INSIDE DOCKER CONTAINERS, AND BACKUP/RESTORE ==== +# https://github.com/wekan/wekan/wiki/Backup +# If really necessary, repair MongoDB: https://github.com/wekan/wekan-mongodb/issues/6#issuecomment-424004116 +# 1) Going inside containers: +# a) Wekan app, does not contain data +# docker exec -it wekan-app bash +# b) MongoDB, contains all data +# docker exec -it wekan-db bash +# 2) Copying database to outside of container: +# docker exec -it wekan-db bash +# cd /data +# mongodump +# exit +# docker cp wekan-db:/data/dump . +# 3) Restoring database +# # 1) Stop wekan +# docker stop wekan-app +# # 2) Go inside database container +# docker exec -it wekan-db bash +# # 3) and data directory +# cd /data +# # 4) Remove previos dump +# rm -rf dump +# # 5) Exit db container +# exit +# # 6) Copy dump to inside docker container +# docker cp dump wekan-db:/data/ +# # 7) Go inside database container +# docker exec -it wekan-db bash +# # 8) and data directory +# cd /data +# # 9) Restore +# mongorestore --drop +# # 10) Exit db container +# exit +# # 11) Start wekan +# docker start wekan-app +#------------------------------------------------------------------------- + +services: + + wekandb: + #------------------------------------------------------------------------------------- + # ==== MONGODB AND METEOR VERSION ==== + # a) For Wekan Meteor 1.8.x version at master branch, use mongo 4.x + # DOES NOT WORK: mongo 4.4, see https://github.com/wekan/wekan/issues/3247 + # WORKS: mongo 3.x and 4.2 + image: mongo:4.2 + # b) For Wekan Meteor 1.6.x version at devel branch. + # Only for Snap and Sandstorm while they are not upgraded yet to Meteor 1.8.x + #image: mongo:3.2.21 + #------------------------------------------------------------------------------------- + container_name: wekan-db + restart: always + command: mongod --oplogSize 128 + networks: + - wekan-tier + expose: + - 27017 + volumes: + - ./wekan-db:/data/db + - ./wekan-db-dump:/dump + + wekan: + #------------------------------------------------------------------------------------- + # ==== MONGODB AND METEOR VERSION ==== + # NOTE: Quay is currently not updated, use Docker Hub image below c) + # a) For Wekan Meteor 1.8.x version at master branch, + # using https://quay.io/wekan/wekan automatic builds + #image: quay.io/wekan/wekan + # b) Using specific Meteor 1.6.x version tag: + # image: quay.io/wekan/wekan:v1.95 + # c) Using Docker Hub automatic builds https://hub.docker.com/r/wekanteam/wekan + image: wekanteam/wekan + # image: wekanteam/wekan:v2.99 + #------------------------------------------------------------------------------------- + container_name: wekan-app + restart: always + networks: + - wekan-tier + - franvproxy_proxy-tier + #------------------------------------------------------------------------------------- + # ==== BUILD wekan-app DOCKER CONTAINER FROM SOURCE, if you uncomment these ==== + # ==== and use commands: docker-compose up -d --build + #build: + # context: . + # dockerfile: Dockerfile + # args: + # - NODE_VERSION=${NODE_VERSION} + # - METEOR_RELEASE=${METEOR_RELEASE} + # - NPM_VERSION=${NPM_VERSION} + # - ARCHITECTURE=${ARCHITECTURE} + # - SRC_PATH=${SRC_PATH} + # - METEOR_EDGE=${METEOR_EDGE} + # - USE_EDGE=${USE_EDGE} + #------------------------------------------------------------------------------------- +# ports: + # Docker outsideport:insideport. Do not add anything extra here. + # For example, if you want to have wekan on port 3001, + # use 3001:8080 . Do not add any extra address etc here, that way it does not work. + # remove port mapping if you use nginx reverse proxy, port 8080 is already exposed to wekan-tier network +# - 80:8080 + environment: + - VIRTUAL_HOST=board.franv.site + - LETSENCRYPT_HOST=board.franv.site + - LETSENCRYPT_EMAIL=ouch@thetrauma.org + - VIRTUAL_PORT=8080 + + - MONGO_URL=mongodb://wekandb:27017/wekan + #--------------------------------------------------------------- + # ==== ROOT_URL SETTING ==== + # Change ROOT_URL to your real Wekan URL, for example: + # If you have Caddy/Nginx/Apache providing SSL + # - https://example.com + # - https://boards.example.com + # This can be problematic with avatars https://github.com/wekan/wekan/issues/1776 + # - https://example.com/wekan + # If without https, can be only wekan node, no need for Caddy/Nginx/Apache if you don't need them + # - http://example.com + # - http://boards.example.com + # - http://192.168.1.100 <=== using at local LAN + - ROOT_URL=https://board.franv.site # <=== using only at same laptop/desktop where Wekan is installed + #--------------------------------------------------------------- + # ==== EMAIL SETTINGS ==== + # Email settings are required in both MAIL_URL and Admin Panel, + # see https://github.com/wekan/wekan/wiki/Troubleshooting-Mail + # For SSL in email, change smtp:// to smtps:// + # NOTE: Special characters need to be url-encoded in MAIL_URL. + # You can encode those characters for example at: https://www.urlencoder.org + #- MAIL_URL=smtp://user:pass@mailserver.example.com:25/ + #- MAIL_URL=smtp://:25/?ignoreTLS=true&tls={rejectUnauthorized:false} + #- MAIL_URL=smtp://xx@justappoch.com:fraal111@mail.justapooch.com:587/ + #- MAIL_URL=smtp://mailserver + #- MAIL_URL=smtp://167.86.125.173:25'\ + - MAIL_URL=SMTP://172.17.0.1 + - MAIL_FROM=Wekan Notifications + #extra_hosts: + # - "mailserver:167.86.125.173" + + #--------------------------------------------------------------- + # ==== OPTIONAL: MONGO OPLOG SETTINGS ===== + # https://github.com/wekan/wekan-mongodb/issues/2#issuecomment-378343587 + # We've fixed our CPU usage problem today with an environment + # change around Wekan. I wasn't aware during implementation + # that if you're using more than 1 instance of Wekan + # (or any MeteorJS based tool) you're supposed to set + # MONGO_OPLOG_URL as an environment variable. + # Without setting it, Meteor will perform a poll-and-diff + # update of it's dataset. With it, Meteor will update from + # the OPLOG. See here + # https://blog.meteor.com/tuning-meteor-mongo-livedata-for-scalability-13fe9deb8908 + # After setting + # MONGO_OPLOG_URL=mongodb://:@/local?authSource=admin&replicaSet=rsWekan + # the CPU usage for all Wekan instances dropped to an average + # of less than 10% with only occasional spikes to high usage + # (I guess when someone is doing a lot of work) + # - MONGO_OPLOG_URL=mongodb://:@/local?authSource=admin&replicaSet=rsWekan + #--------------------------------------------------------------- + # ==== OPTIONAL: KADIRA PERFORMANCE MONITORING FOR METEOR ==== + # https://github.com/edemaine/kadira-compose + # https://github.com/meteor/meteor-apm-agent + # https://blog.meteor.com/kadira-apm-is-now-open-source-490469ffc85f + #- APM_OPTIONS_ENDPOINT=http://:11011 + #- APM_APP_ID= + #- APM_APP_SECRET= + #--------------------------------------------------------------- + # ==== OPTIONAL: LOGS AND STATS ==== + # https://github.com/wekan/wekan/wiki/Logs + # + # Daily export of Wekan changes as JSON to Logstash and ElasticSearch / Kibana (ELK) + # https://github.com/wekan/wekan-logstash + # + # Statistics Python script for Wekan Dashboard + # https://github.com/wekan/wekan-stats + # + # Console, file, and zulip logger on database changes https://github.com/wekan/wekan/pull/1010 + # with fix to replace console.log by winston logger https://github.com/wekan/wekan/pull/1033 + # but there could be bug https://github.com/wekan/wekan/issues/1094 + # + # There is Feature Request: Logging date and time of all activity with summary reports, + # and requesting reason for changing card to other column https://github.com/wekan/wekan/issues/1598 + #--------------------------------------------------------------- + # ==== WEKAN API AND EXPORT BOARD ==== + # Wekan Export Board works when WITH_API=true. + # https://github.com/wekan/wekan/wiki/REST-API + # https://github.com/wekan/wekan-gogs + # If you disable Wekan API with false, Export Board does not work. + - WITH_API=true + #--------------------------------------------------------------- + # ==== PASSWORD BRUTE FORCE PROTECTION ==== + #https://atmospherejs.com/lucasantoniassi/accounts-lockout + #Defaults below. Uncomment to change. wekan/server/accounts-lockout.js + #- ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURES_BEFORE=3 + #- ACCOUNTS_LOCKOUT_KNOWN_USERS_PERIOD=60 + #- ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURE_WINDOW=15 + #- ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURES_BERORE=3 + #- ACCOUNTS_LOCKOUT_UNKNOWN_USERS_LOCKOUT_PERIOD=60 + #- ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURE_WINDOW=15 + #--------------------------------------------------------------- + # ==== STORE ATTACHMENT ON SERVER FILESYSTEM INSTEAD OF MONGODB ==== + # https://github.com/wekan/wekan/pull/2603 + #- ATTACHMENTS_STORE_PATH = # pathname can be relative or fullpath + #--------------------------------------------------------------- + # ==== RICH TEXT EDITOR IN CARD COMMENTS ==== + # https://github.com/wekan/wekan/pull/2560 + - RICHER_CARD_COMMENT_EDITOR=false + #--------------------------------------------------------------- + # ==== MOUSE SCROLL ==== + # https://github.com/wekan/wekan/issues/2949 + - SCROLLINERTIA=0 + - SCROLLAMOUNT=auto + - SCROLLDELTAFACTOR=auto + #--------------------------------------------------------------- + # ==== CARD OPENED, SEND WEBHOOK MESSAGE ==== + # https://github.com/wekan/wekan/issues/2518 + - CARD_OPENED_WEBHOOK_ENABLED=false + #--------------------------------------------------------------- + # ==== Allow to shrink attached/pasted image ==== + # https://github.com/wekan/wekan/pull/2544 + #-MAX_IMAGE_PIXEL=1024 + #-IMAGE_COMPRESS_RATIO=80 + #--------------------------------------------------------------- + # ==== NOTIFICATION TRAY AFTER READ DAYS BEFORE REMOVE ===== + # Number of days after a notification is read before we remove it. + # Default: 2 + #- NOTIFICATION_TRAY_AFTER_READ_DAYS_BEFORE_REMOVE=2 + #--------------------------------------------------------------- + # ==== BIGEVENTS DUE ETC NOTIFICATIONS ===== + # https://github.com/wekan/wekan/pull/2541 + # Introduced a system env var BIGEVENTS_PATTERN default as "NONE", + # so any activityType matches the pattern, system will send out + # notifications to all board members no matter they are watching + # or tracking the board or not. Owner of the wekan server can + # disable the feature by setting this variable to "NONE" or + # change the pattern to any valid regex. i.e. '|' delimited + # activityType names. + # a) Example + #- BIGEVENTS_PATTERN=due + # b) All + #- BIGEVENTS_PATTERN=received|start|due|end + # c) Disabled + - BIGEVENTS_PATTERN=NONE + #--------------------------------------------------------------- + # ==== EMAIL DUE DATE NOTIFICATION ===== + # https://github.com/wekan/wekan/pull/2536 + # System timelines will be showing any user modification for + # dueat startat endat receivedat, also notification to + # the watchers and if any card is due, about due or past due. + # + # Notify due days, default is None, 2 days before and on the event day + #- NOTIFY_DUE_DAYS_BEFORE_AND_AFTER=2,0 + # + # Notify due at hour of day. Default every morning at 8am. Can be 0-23. + # If env variable has parsing error, use default. Notification sent to watchers. + #- NOTIFY_DUE_AT_HOUR_OF_DAY=8 + #----------------------------------------------------------------- + # ==== EMAIL NOTIFICATION TIMEOUT, ms ===== + # Defaut: 30000 ms = 30s + #- EMAIL_NOTIFICATION_TIMEOUT=30000 + #----------------------------------------------------------------- + # ==== CORS ===== + # CORS: Set Access-Control-Allow-Origin header. + #- CORS=* + # CORS_ALLOW_HEADERS: Set Access-Control-Allow-Headers header. "Authorization,Content-Type" is required for cross-origin use of the API. + #- CORS_ALLOW_HEADERS=Authorization,Content-Type + # CORS_EXPOSE_HEADERS: Set Access-Control-Expose-Headers header. This is not needed for typical CORS situations + #- CORS_EXPOSE_HEADERS=* + #----------------------------------------------------------------- + # ==== MATOMO INTEGRATION ==== + # Optional: Integration with Matomo https://matomo.org that is installed to your server + # The address of the server where Matomo is hosted. + #- MATOMO_ADDRESS=https://example.com/matomo + # The value of the site ID given in Matomo server for Wekan + #- MATOMO_SITE_ID=1 + # The option do not track which enables users to not be tracked by matomo + #- MATOMO_DO_NOT_TRACK=true + # The option that allows matomo to retrieve the username: + #- MATOMO_WITH_USERNAME=true + #----------------------------------------------------------------- + # ==== BROWSER POLICY AND TRUSTED IFRAME URL ==== + # Enable browser policy and allow one trusted URL that can have iframe that has Wekan embedded inside. + # Setting this to false is not recommended, it also disables all other browser policy protections + # and allows all iframing etc. See wekan/server/policy.js + - BROWSER_POLICY_ENABLED=true + # When browser policy is enabled, HTML code at this Trusted URL can have iframe that embeds Wekan inside. + #- TRUSTED_URL=https://intra.example.com + #----------------------------------------------------------------- + # ==== OUTGOING WEBHOOKS ==== + # What to send to Outgoing Webhook, or leave out. Example, that includes all that are default: cardId,listId,oldListId,boardId,comment,user,card,commentId . + #- WEBHOOKS_ATTRIBUTES=cardId,listId,oldListId,boardId,comment,user,card,commentId + #----------------------------------------------------------------- + # ==== Debug OIDC OAuth2 etc ==== + #- DEBUG=true + #----------------------------------------------------------------- + # ==== OAUTH2 AZURE ==== + # https://github.com/wekan/wekan/wiki/Azure + # 1) Register the application with Azure. Make sure you capture + # the application ID as well as generate a secret key. + # 2) Configure the environment variables. This differs slightly + # by installation type, but make sure you have the following: + #- OAUTH2_ENABLED=true + # OAuth2 login style: popup or redirect. + #- OAUTH2_LOGIN_STYLE=redirect + # Application GUID captured during app registration: + #- OAUTH2_CLIENT_ID=xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx + # Secret key generated during app registration: + #- OAUTH2_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx + #- OAUTH2_SERVER_URL=https://login.microsoftonline.com/ + #- OAUTH2_AUTH_ENDPOINT=/oauth2/v2.0/authorize + #- OAUTH2_USERINFO_ENDPOINT=https://graph.microsoft.com/oidc/userinfo + #- OAUTH2_TOKEN_ENDPOINT=/oauth2/v2.0/token + # The claim name you want to map to the unique ID field: + #- OAUTH2_ID_MAP=email + # The claim name you want to map to the username field: + #- OAUTH2_USERNAME_MAP=email + # The claim name you want to map to the full name field: + #- OAUTH2_FULLNAME_MAP=name + # Tthe claim name you want to map to the email field: + #- OAUTH2_EMAIL_MAP=email + #----------------------------------------------------------------- + # ==== OAUTH2 Nextcloud ==== + # 1) Register the application with Nextcloud: https://your.nextcloud/index.php/settings/admin/security + # Make sure you capture the application ID as well as generate a secret key. + # Use https://your.wekan/_oauth/oidc for the redirect URI. + # 2) Configure the environment variables. This differs slightly + # by installation type, but make sure you have the following: + #- OAUTH2_ENABLED=true + # OAuth2 login style: popup or redirect. + #- OAUTH2_LOGIN_STYLE=redirect + # Application GUID captured during app registration: + #- OAUTH2_CLIENT_ID=xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx + # Secret key generated during app registration: + #- OAUTH2_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx + #- OAUTH2_SERVER_URL=https://your-nextcloud.tld + #- OAUTH2_AUTH_ENDPOINT=/index.php/apps/oauth2/authorize + #- OAUTH2_USERINFO_ENDPOINT=/ocs/v2.php/cloud/user?format=json + #- OAUTH2_TOKEN_ENDPOINT=/index.php/apps/oauth2/api/v1/token + # The claim name you want to map to the unique ID field: + #- OAUTH2_ID_MAP=id + # The claim name you want to map to the username field: + #- OAUTH2_USERNAME_MAP=id + # The claim name you want to map to the full name field: + #- OAUTH2_FULLNAME_MAP=display-name + # Tthe claim name you want to map to the email field: + #- OAUTH2_EMAIL_MAP=email + #----------------------------------------------------------------- + # ==== OAUTH2 KEYCLOAK ==== + # https://github.com/wekan/wekan/wiki/Keycloak <== MAPPING INFO, REQUIRED + #- OAUTH2_ENABLED=true + # OAuth2 login style: popup or redirect. + #- OAUTH2_LOGIN_STYLE=redirect + #- OAUTH2_CLIENT_ID= + #- OAUTH2_SERVER_URL=/auth + #- OAUTH2_AUTH_ENDPOINT=/realms//protocol/openid-connect/auth + #- OAUTH2_USERINFO_ENDPOINT=/realms//protocol/openid-connect/userinfo + #- OAUTH2_TOKEN_ENDPOINT=/realms//protocol/openid-connect/token + #- OAUTH2_SECRET= + #----------------------------------------------------------------- + # ==== OAUTH2 DOORKEEPER ==== + # https://github.com/wekan/wekan/issues/1874 + # https://github.com/wekan/wekan/wiki/OAuth2 + # Enable the OAuth2 connection + #- OAUTH2_ENABLED=true + # OAuth2 docs: https://github.com/wekan/wekan/wiki/OAuth2 + # OAuth2 login style: popup or redirect. + #- OAUTH2_LOGIN_STYLE=redirect + # OAuth2 Client ID. + #- OAUTH2_CLIENT_ID=abcde12345 + # OAuth2 Secret. + #- OAUTH2_SECRET=54321abcde + # OAuth2 Server URL. + #- OAUTH2_SERVER_URL=https://chat.example.com + # OAuth2 Authorization Endpoint. + #- OAUTH2_AUTH_ENDPOINT=/oauth/authorize + # OAuth2 Userinfo Endpoint. + #- OAUTH2_USERINFO_ENDPOINT=/oauth/userinfo + # OAuth2 Token Endpoint. + #- OAUTH2_TOKEN_ENDPOINT=/oauth/token + # OAUTH2 ID Token Whitelist Fields. + #- OAUTH2_ID_TOKEN_WHITELIST_FIELDS="" + # OAUTH2 Request Permissions. + #- OAUTH2_REQUEST_PERMISSIONS=openid profile email + # OAuth2 ID Mapping + #- OAUTH2_ID_MAP= + # OAuth2 Username Mapping + #- OAUTH2_USERNAME_MAP= + # OAuth2 Fullname Mapping + #- OAUTH2_FULLNAME_MAP= + # OAuth2 Email Mapping + #- OAUTH2_EMAIL_MAP= + #----------------------------------------------------------------- + # ==== LDAP: UNCOMMENT ALL TO ENABLE LDAP ==== + # https://github.com/wekan/wekan/wiki/LDAP + # For Snap settings see https://github.com/wekan/wekan-snap/wiki/Supported-settings-keys + # Most settings work both on Snap and Docker below. + # Note: Do not add single quotes '' to variables. Having spaces still works without quotes where required. + # + # The default authentication method used if a user does not exist to create and authenticate. Can be set as ldap. + #- DEFAULT_AUTHENTICATION_METHOD=ldap + # + # Enable or not the connection by the LDAP + #- LDAP_ENABLE=true + # + # The port of the LDAP server + #- LDAP_PORT=389 + # + # The host server for the LDAP server + #- LDAP_HOST=localhost + # + # The base DN for the LDAP Tree + #- LDAP_BASEDN=ou=user,dc=example,dc=org + # + # Fallback on the default authentication method + #- LDAP_LOGIN_FALLBACK=false + # + # Reconnect to the server if the connection is lost + #- LDAP_RECONNECT=true + # + # Overall timeout, in milliseconds + #- LDAP_TIMEOUT=10000 + # + # Specifies the timeout for idle LDAP connections in milliseconds + #- LDAP_IDLE_TIMEOUT=10000 + # + # Connection timeout, in milliseconds + #- LDAP_CONNECT_TIMEOUT=10000 + # + # If the LDAP needs a user account to search + #- LDAP_AUTHENTIFICATION=true + # + # The search user DN - You need quotes when you have spaces in parameters + # 2 examples: + #- LDAP_AUTHENTIFICATION_USERDN="CN=ldap admin,CN=users,DC=domainmatter,DC=lan" + #- LDAP_AUTHENTIFICATION_USERDN="CN=wekan_adm,OU=serviceaccounts,OU=admin,OU=prod,DC=mydomain,DC=com" + # + # The password for the search user + #- LDAP_AUTHENTIFICATION_PASSWORD=pwd + # + # Enable logs for the module + #- LDAP_LOG_ENABLED=true + # + # If the sync of the users should be done in the background + #- LDAP_BACKGROUND_SYNC=false + # + # At which interval does the background task sync. + # The format must be as specified in: + # https://bunkat.github.io/later/parsers.html#text + #- LDAP_BACKGROUND_SYNC_INTERVAL='every 1 hour' + # + #- LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED=false + # + #- LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS=false + # + # If using LDAPS: LDAP_ENCRYPTION=ssl + #- LDAP_ENCRYPTION=false + # + # The certification for the LDAPS server. Certificate needs to be included in this docker-compose.yml file. + #- LDAP_CA_CERT=-----BEGIN CERTIFICATE-----MIIE+G2FIdAgIC...-----END CERTIFICATE----- + # + # Reject Unauthorized Certificate + #- LDAP_REJECT_UNAUTHORIZED=false + # + # Option to login to the LDAP server with the user's own username and password, instead of an administrator key. Default: false (use administrator key). + #- LDAP_USER_AUTHENTICATION="true" + # + # Which field is used to find the user for the user authentication. Default: uid. + #- LDAP_USER_AUTHENTICATION_FIELD="uid" + # + # Optional extra LDAP filters. Don't forget the outmost enclosing parentheses if needed + #- LDAP_USER_SEARCH_FILTER= + # + # base (search only in the provided DN), one (search only in the provided DN and one level deep), or sub (search the whole subtree) + #- LDAP_USER_SEARCH_SCOPE=one + # + # Which field is used to find the user, like uid / sAMAccountName + #- LDAP_USER_SEARCH_FIELD=sAMAccountName + # + # Used for pagination (0=unlimited) + #- LDAP_SEARCH_PAGE_SIZE=0 + # + # The limit number of entries (0=unlimited) + #- LDAP_SEARCH_SIZE_LIMIT=0 + # + # Enable group filtering. Note the authenticated ldap user must be able to query all relevant group data with own login data from ldap. + #- LDAP_GROUP_FILTER_ENABLE=false + # + # The object class for filtering. Example: group + #- LDAP_GROUP_FILTER_OBJECTCLASS= + # + # The attribute of a group identifying it. Example: cn + #- LDAP_GROUP_FILTER_GROUP_ID_ATTRIBUTE= + # + # The attribute inside a group object listing its members. Example: member + #- LDAP_GROUP_FILTER_GROUP_MEMBER_ATTRIBUTE= + # + # The format of the value of LDAP_GROUP_FILTER_GROUP_MEMBER_ATTRIBUTE. Example: 'dn' if the users dn ist saved as value into the attribute. + #- LDAP_GROUP_FILTER_GROUP_MEMBER_FORMAT= + # + # The group name (id) that matches all users. + #- LDAP_GROUP_FILTER_GROUP_NAME= + # + # LDAP_UNIQUE_IDENTIFIER_FIELD : This field is sometimes class GUID (Globally Unique Identifier). Example: guid + #- LDAP_UNIQUE_IDENTIFIER_FIELD= + # + # LDAP_UTF8_NAMES_SLUGIFY : Convert the username to utf8 + #- LDAP_UTF8_NAMES_SLUGIFY=true + # + # LDAP_USERNAME_FIELD : Which field contains the ldap username. username / sAMAccountName + #- LDAP_USERNAME_FIELD=sAMAccountName + # + # LDAP_FULLNAME_FIELD : Which field contains the ldap fullname. fullname / sAMAccountName + #- LDAP_FULLNAME_FIELD=fullname + # + #- LDAP_MERGE_EXISTING_USERS=false + # + # Allow existing account matching by e-mail address when username does not match + #- LDAP_EMAIL_MATCH_ENABLE=true + # + # LDAP_EMAIL_MATCH_REQUIRE : require existing account matching by e-mail address when username does match + #- LDAP_EMAIL_MATCH_REQUIRE=true + # + # LDAP_EMAIL_MATCH_VERIFIED : require existing account email address to be verified for matching + #- LDAP_EMAIL_MATCH_VERIFIED=true + # + # LDAP_EMAIL_FIELD : which field contains the LDAP e-mail address + #- LDAP_EMAIL_FIELD=mail + #----------------------------------------------------------------- + #- LDAP_SYNC_USER_DATA=false + # + #- LDAP_SYNC_USER_DATA_FIELDMAP={"cn":"name", "mail":"email"} + # + #- LDAP_SYNC_GROUP_ROLES='' + # + # The default domain of the ldap it is used to create email if the field is not map correctly with the LDAP_SYNC_USER_DATA_FIELDMAP + # example : + #- LDAP_DEFAULT_DOMAIN=mydomain.com + # + # Enable/Disable syncing of admin status based on ldap groups: + #- LDAP_SYNC_ADMIN_STATUS=true + # + # Comma separated list of admin group names to sync. + #- LDAP_SYNC_ADMIN_GROUPS=group1,group2 + #--------------------------------------------------------------------- + # Login to LDAP automatically with HTTP header. + # In below example for siteminder, at right side of = is header name. + #- HEADER_LOGIN_ID=HEADERUID + #- HEADER_LOGIN_FIRSTNAME=HEADERFIRSTNAME + #- HEADER_LOGIN_LASTNAME=HEADERLASTNAME + #- HEADER_LOGIN_EMAIL=HEADEREMAILADDRESS + #--------------------------------------------------------------------- + # ==== LOGOUT TIMER, probably does not work yet ==== + # LOGOUT_WITH_TIMER : Enables or not the option logout with timer + # example : LOGOUT_WITH_TIMER=true + #- LOGOUT_WITH_TIMER= + # + # LOGOUT_IN : The number of days + # example : LOGOUT_IN=1 + #- LOGOUT_IN= + # + # LOGOUT_ON_HOURS : The number of hours + # example : LOGOUT_ON_HOURS=9 + #- LOGOUT_ON_HOURS= + # + # LOGOUT_ON_MINUTES : The number of minutes + # example : LOGOUT_ON_MINUTES=55 + #- LOGOUT_ON_MINUTES= + #------------------------------------------------------------------- + # Hide password login form + # - PASSWORD_LOGIN_ENABLED=true + #------------------------------------------------------------------- + depends_on: + - wekandb + +#--------------------------------------------------------------------------------- +# ==== OPTIONAL: SHARE DATABASE TO OFFICE LAN AND REMOTE VPN ==== +# When using Wekan both at office LAN and remote VPN: +# 1) Have above Wekan docker container config with LAN IP address +# 2) Copy all of above wekan container config below, look above of this part above and all config below it, +# before above depends_on: part: +# +# wekan: +# #------------------------------------------------------------------------------------- +# # ==== MONGODB AND METEOR VERSION ==== +# # a) For Wekan Meteor 1.8.x version at meteor-1.8 branch, ..... +# +# +# and change name to different name like wekan2 or wekanvpn, and change ROOT_URL to server VPN IP +# address. +# 3) This way both Wekan containers can use same MongoDB database +# and see the same Wekan boards. +# 4) You could also add 3rd Wekan container for 3rd network etc. +# EXAMPLE: +# wekan2: +# ....COPY CONFIG FROM ABOVE TO HERE... +# environment: +# - ROOT_URL='http://10.10.10.10' +# ...COPY CONFIG FROM ABOVE TO HERE... +#--------------------------------------------------------------------------------- + +# OPTIONAL NGINX CONFIG FOR REVERSE PROXY +# nginx: +# image: nginx +# container_name: nginx +# restart: always +# networks: +# - wekan-tier +# depends_on: +# - wekan +# ports: +# - 80:80 +# - 443:443 +# volumes: +# - ./nginx/ssl:/etc/nginx/ssl/:ro +# - ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro +## Alternative volume config: +## volumes: +## - ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf:ro +## - ./nginx/ssl/ssl.conf:/etc/nginx/conf.d/ssl/ssl.conf:ro +## - ./nginx/ssl/testvm-ehu.crt:/etc/nginx/conf.d/ssl/certs/mycert.crt:ro +## - ./nginx/ssl/testvm-ehu.key:/etc/nginx/conf.d/ssl/certs/mykey.key:ro +## - ./nginx/ssl/pphrase:/etc/nginx/conf.d/ssl/pphrase:ro + +volumes: + wekan-db: + driver: local + wekan-db-dump: + driver: local + +networks: + wekan-tier: + driver: bridge + franvproxy_proxy-tier: + external: true diff --git a/docker-compose.yml.orig b/docker-compose.yml.orig new file mode 100644 index 0000000..da8a256 --- /dev/null +++ b/docker-compose.yml.orig @@ -0,0 +1,668 @@ +version: '2' + +# Note: Do not add single quotes '' to variables. Having spaces still works without quotes where required. +#--------------------------------------------------------------------------------------------------------- +# ==== CREATING USERS AND LOGGING IN TO WEKAN ==== +# https://github.com/wekan/wekan/wiki/Adding-users +#--------------------------------------------------------------------------------------------------------- +# ==== FORGOT PASSWORD ==== +# https://github.com/wekan/wekan/wiki/Forgot-Password +#--------------------------------------------------------------------------------------------------------- +# ==== Upgrading Wekan to new version ===== +# NOTE: MongoDB has changed from 3.x to 4.x, in that case you need backup/restore with --noIndexRestore +# see https://github.com/wekan/wekan/wiki/Backup +# 1) Stop Wekan: +# docker-compose stop +# 2) Download new version: +# docker-compose pull wekan +# 3) If you have more networks for VPN etc as described at bottom of +# this config, download for them too: +# docker-compose pull wekan2 +# 4) Start Wekan: +# docker-compose start +#---------------------------------------------------------------------------------- +# ==== OPTIONAL: DEDICATED DOCKER USER ==== +# 1) Optionally create a dedicated user for Wekan, for example: +# sudo useradd -d /home/wekan -m -s /bin/bash wekan +# 2) Add this user to the docker group, then logout+login or reboot: +# sudo usermod -aG docker wekan +# 3) Then login as user wekan. +# 4) Create this file /home/wekan/docker-compose.yml with your modifications. +#---------------------------------------------------------------------------------- +# ==== RUN DOCKER AS SERVICE ==== +# 1a) Running Docker as service, on Systemd like Debian 9, Ubuntu 16.04, CentOS 7: +# sudo systemctl enable docker +# sudo systemctl start docker +# 1b) Running Docker as service, on init.d like Debian 8, Ubuntu 14.04, CentOS 6: +# sudo update-rc.d docker defaults +# sudo service docker start +# ---------------------------------------------------------------------------------- +# ==== USAGE OF THIS docker-compose.yml ==== +# 1) For seeing does Wekan work, try this and check with your web browser: +# docker-compose up +# 2) Stop Wekan and start Wekan in background: +# docker-compose stop +# docker-compose up -d +# 3) See running Docker containers: +# docker ps +# 4) Stop Docker containers: +# docker-compose stop +# ---------------------------------------------------------------------------------- +# ===== INSIDE DOCKER CONTAINERS, AND BACKUP/RESTORE ==== +# https://github.com/wekan/wekan/wiki/Backup +# If really necessary, repair MongoDB: https://github.com/wekan/wekan-mongodb/issues/6#issuecomment-424004116 +# 1) Going inside containers: +# a) Wekan app, does not contain data +# docker exec -it wekan-app bash +# b) MongoDB, contains all data +# docker exec -it wekan-db bash +# 2) Copying database to outside of container: +# docker exec -it wekan-db bash +# cd /data +# mongodump +# exit +# docker cp wekan-db:/data/dump . +# 3) Restoring database +# # 1) Stop wekan +# docker stop wekan-app +# # 2) Go inside database container +# docker exec -it wekan-db bash +# # 3) and data directory +# cd /data +# # 4) Remove previos dump +# rm -rf dump +# # 5) Exit db container +# exit +# # 6) Copy dump to inside docker container +# docker cp dump wekan-db:/data/ +# # 7) Go inside database container +# docker exec -it wekan-db bash +# # 8) and data directory +# cd /data +# # 9) Restore +# mongorestore --drop +# # 10) Exit db container +# exit +# # 11) Start wekan +# docker start wekan-app +#------------------------------------------------------------------------- + +services: + + wekandb: + #------------------------------------------------------------------------------------- + # ==== MONGODB AND METEOR VERSION ==== + # a) For Wekan Meteor 1.8.x version at master branch, use mongo 4.x + # DOES NOT WORK: mongo 4.4, see https://github.com/wekan/wekan/issues/3247 + # WORKS: mongo 3.x and 4.2 + image: mongo:4.2 + # b) For Wekan Meteor 1.6.x version at devel branch. + # Only for Snap and Sandstorm while they are not upgraded yet to Meteor 1.8.x + #image: mongo:3.2.21 + #------------------------------------------------------------------------------------- + container_name: wekan-db + restart: always + command: mongod --oplogSize 128 + networks: + - wekan-tier + expose: + - 27017 + volumes: + - wekan-db:/data/db + - wekan-db-dump:/dump + + wekan: + #------------------------------------------------------------------------------------- + # ==== MONGODB AND METEOR VERSION ==== + # NOTE: Quay is currently not updated, use Docker Hub image below c) + # a) For Wekan Meteor 1.8.x version at master branch, + # using https://quay.io/wekan/wekan automatic builds + #image: quay.io/wekan/wekan + # b) Using specific Meteor 1.6.x version tag: + # image: quay.io/wekan/wekan:v1.95 + # c) Using Docker Hub automatic builds https://hub.docker.com/r/wekanteam/wekan + image: wekanteam/wekan + # image: wekanteam/wekan:v2.99 + #------------------------------------------------------------------------------------- + container_name: wekan-app + restart: always + networks: + - wekan-tier + #------------------------------------------------------------------------------------- + # ==== BUILD wekan-app DOCKER CONTAINER FROM SOURCE, if you uncomment these ==== + # ==== and use commands: docker-compose up -d --build + #build: + # context: . + # dockerfile: Dockerfile + # args: + # - NODE_VERSION=${NODE_VERSION} + # - METEOR_RELEASE=${METEOR_RELEASE} + # - NPM_VERSION=${NPM_VERSION} + # - ARCHITECTURE=${ARCHITECTURE} + # - SRC_PATH=${SRC_PATH} + # - METEOR_EDGE=${METEOR_EDGE} + # - USE_EDGE=${USE_EDGE} + #------------------------------------------------------------------------------------- + ports: + # Docker outsideport:insideport. Do not add anything extra here. + # For example, if you want to have wekan on port 3001, + # use 3001:8080 . Do not add any extra address etc here, that way it does not work. + # remove port mapping if you use nginx reverse proxy, port 8080 is already exposed to wekan-tier network + - 80:8080 + environment: + - MONGO_URL=mongodb://wekandb:27017/wekan + #--------------------------------------------------------------- + # ==== ROOT_URL SETTING ==== + # Change ROOT_URL to your real Wekan URL, for example: + # If you have Caddy/Nginx/Apache providing SSL + # - https://example.com + # - https://boards.example.com + # This can be problematic with avatars https://github.com/wekan/wekan/issues/1776 + # - https://example.com/wekan + # If without https, can be only wekan node, no need for Caddy/Nginx/Apache if you don't need them + # - http://example.com + # - http://boards.example.com + # - http://192.168.1.100 <=== using at local LAN + - ROOT_URL=http://localhost # <=== using only at same laptop/desktop where Wekan is installed + #--------------------------------------------------------------- + # ==== EMAIL SETTINGS ==== + # Email settings are required in both MAIL_URL and Admin Panel, + # see https://github.com/wekan/wekan/wiki/Troubleshooting-Mail + # For SSL in email, change smtp:// to smtps:// + # NOTE: Special characters need to be url-encoded in MAIL_URL. + # You can encode those characters for example at: https://www.urlencoder.org + #- MAIL_URL=smtp://user:pass@mailserver.example.com:25/ + - MAIL_URL=smtp://:25/?ignoreTLS=true&tls={rejectUnauthorized:false} + - MAIL_FROM=Wekan Notifications + #--------------------------------------------------------------- + # ==== OPTIONAL: MONGO OPLOG SETTINGS ===== + # https://github.com/wekan/wekan-mongodb/issues/2#issuecomment-378343587 + # We've fixed our CPU usage problem today with an environment + # change around Wekan. I wasn't aware during implementation + # that if you're using more than 1 instance of Wekan + # (or any MeteorJS based tool) you're supposed to set + # MONGO_OPLOG_URL as an environment variable. + # Without setting it, Meteor will perform a poll-and-diff + # update of it's dataset. With it, Meteor will update from + # the OPLOG. See here + # https://blog.meteor.com/tuning-meteor-mongo-livedata-for-scalability-13fe9deb8908 + # After setting + # MONGO_OPLOG_URL=mongodb://:@/local?authSource=admin&replicaSet=rsWekan + # the CPU usage for all Wekan instances dropped to an average + # of less than 10% with only occasional spikes to high usage + # (I guess when someone is doing a lot of work) + # - MONGO_OPLOG_URL=mongodb://:@/local?authSource=admin&replicaSet=rsWekan + #--------------------------------------------------------------- + # ==== OPTIONAL: KADIRA PERFORMANCE MONITORING FOR METEOR ==== + # https://github.com/edemaine/kadira-compose + # https://github.com/meteor/meteor-apm-agent + # https://blog.meteor.com/kadira-apm-is-now-open-source-490469ffc85f + #- APM_OPTIONS_ENDPOINT=http://:11011 + #- APM_APP_ID= + #- APM_APP_SECRET= + #--------------------------------------------------------------- + # ==== OPTIONAL: LOGS AND STATS ==== + # https://github.com/wekan/wekan/wiki/Logs + # + # Daily export of Wekan changes as JSON to Logstash and ElasticSearch / Kibana (ELK) + # https://github.com/wekan/wekan-logstash + # + # Statistics Python script for Wekan Dashboard + # https://github.com/wekan/wekan-stats + # + # Console, file, and zulip logger on database changes https://github.com/wekan/wekan/pull/1010 + # with fix to replace console.log by winston logger https://github.com/wekan/wekan/pull/1033 + # but there could be bug https://github.com/wekan/wekan/issues/1094 + # + # There is Feature Request: Logging date and time of all activity with summary reports, + # and requesting reason for changing card to other column https://github.com/wekan/wekan/issues/1598 + #--------------------------------------------------------------- + # ==== WEKAN API AND EXPORT BOARD ==== + # Wekan Export Board works when WITH_API=true. + # https://github.com/wekan/wekan/wiki/REST-API + # https://github.com/wekan/wekan-gogs + # If you disable Wekan API with false, Export Board does not work. + - WITH_API=true + #--------------------------------------------------------------- + # ==== PASSWORD BRUTE FORCE PROTECTION ==== + #https://atmospherejs.com/lucasantoniassi/accounts-lockout + #Defaults below. Uncomment to change. wekan/server/accounts-lockout.js + #- ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURES_BEFORE=3 + #- ACCOUNTS_LOCKOUT_KNOWN_USERS_PERIOD=60 + #- ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURE_WINDOW=15 + #- ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURES_BERORE=3 + #- ACCOUNTS_LOCKOUT_UNKNOWN_USERS_LOCKOUT_PERIOD=60 + #- ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURE_WINDOW=15 + #--------------------------------------------------------------- + # ==== STORE ATTACHMENT ON SERVER FILESYSTEM INSTEAD OF MONGODB ==== + # https://github.com/wekan/wekan/pull/2603 + #- ATTACHMENTS_STORE_PATH = # pathname can be relative or fullpath + #--------------------------------------------------------------- + # ==== RICH TEXT EDITOR IN CARD COMMENTS ==== + # https://github.com/wekan/wekan/pull/2560 + - RICHER_CARD_COMMENT_EDITOR=false + #--------------------------------------------------------------- + # ==== MOUSE SCROLL ==== + # https://github.com/wekan/wekan/issues/2949 + - SCROLLINERTIA=0 + - SCROLLAMOUNT=auto + - SCROLLDELTAFACTOR=auto + #--------------------------------------------------------------- + # ==== CARD OPENED, SEND WEBHOOK MESSAGE ==== + # https://github.com/wekan/wekan/issues/2518 + - CARD_OPENED_WEBHOOK_ENABLED=false + #--------------------------------------------------------------- + # ==== Allow to shrink attached/pasted image ==== + # https://github.com/wekan/wekan/pull/2544 + #-MAX_IMAGE_PIXEL=1024 + #-IMAGE_COMPRESS_RATIO=80 + #--------------------------------------------------------------- + # ==== NOTIFICATION TRAY AFTER READ DAYS BEFORE REMOVE ===== + # Number of days after a notification is read before we remove it. + # Default: 2 + #- NOTIFICATION_TRAY_AFTER_READ_DAYS_BEFORE_REMOVE=2 + #--------------------------------------------------------------- + # ==== BIGEVENTS DUE ETC NOTIFICATIONS ===== + # https://github.com/wekan/wekan/pull/2541 + # Introduced a system env var BIGEVENTS_PATTERN default as "NONE", + # so any activityType matches the pattern, system will send out + # notifications to all board members no matter they are watching + # or tracking the board or not. Owner of the wekan server can + # disable the feature by setting this variable to "NONE" or + # change the pattern to any valid regex. i.e. '|' delimited + # activityType names. + # a) Example + #- BIGEVENTS_PATTERN=due + # b) All + #- BIGEVENTS_PATTERN=received|start|due|end + # c) Disabled + - BIGEVENTS_PATTERN=NONE + #--------------------------------------------------------------- + # ==== EMAIL DUE DATE NOTIFICATION ===== + # https://github.com/wekan/wekan/pull/2536 + # System timelines will be showing any user modification for + # dueat startat endat receivedat, also notification to + # the watchers and if any card is due, about due or past due. + # + # Notify due days, default is None, 2 days before and on the event day + #- NOTIFY_DUE_DAYS_BEFORE_AND_AFTER=2,0 + # + # Notify due at hour of day. Default every morning at 8am. Can be 0-23. + # If env variable has parsing error, use default. Notification sent to watchers. + #- NOTIFY_DUE_AT_HOUR_OF_DAY=8 + #----------------------------------------------------------------- + # ==== EMAIL NOTIFICATION TIMEOUT, ms ===== + # Defaut: 30000 ms = 30s + #- EMAIL_NOTIFICATION_TIMEOUT=30000 + #----------------------------------------------------------------- + # ==== CORS ===== + # CORS: Set Access-Control-Allow-Origin header. + #- CORS=* + # CORS_ALLOW_HEADERS: Set Access-Control-Allow-Headers header. "Authorization,Content-Type" is required for cross-origin use of the API. + #- CORS_ALLOW_HEADERS=Authorization,Content-Type + # CORS_EXPOSE_HEADERS: Set Access-Control-Expose-Headers header. This is not needed for typical CORS situations + #- CORS_EXPOSE_HEADERS=* + #----------------------------------------------------------------- + # ==== MATOMO INTEGRATION ==== + # Optional: Integration with Matomo https://matomo.org that is installed to your server + # The address of the server where Matomo is hosted. + #- MATOMO_ADDRESS=https://example.com/matomo + # The value of the site ID given in Matomo server for Wekan + #- MATOMO_SITE_ID=1 + # The option do not track which enables users to not be tracked by matomo + #- MATOMO_DO_NOT_TRACK=true + # The option that allows matomo to retrieve the username: + #- MATOMO_WITH_USERNAME=true + #----------------------------------------------------------------- + # ==== BROWSER POLICY AND TRUSTED IFRAME URL ==== + # Enable browser policy and allow one trusted URL that can have iframe that has Wekan embedded inside. + # Setting this to false is not recommended, it also disables all other browser policy protections + # and allows all iframing etc. See wekan/server/policy.js + - BROWSER_POLICY_ENABLED=true + # When browser policy is enabled, HTML code at this Trusted URL can have iframe that embeds Wekan inside. + #- TRUSTED_URL=https://intra.example.com + #----------------------------------------------------------------- + # ==== OUTGOING WEBHOOKS ==== + # What to send to Outgoing Webhook, or leave out. Example, that includes all that are default: cardId,listId,oldListId,boardId,comment,user,card,commentId . + #- WEBHOOKS_ATTRIBUTES=cardId,listId,oldListId,boardId,comment,user,card,commentId + #----------------------------------------------------------------- + # ==== Debug OIDC OAuth2 etc ==== + #- DEBUG=true + #----------------------------------------------------------------- + # ==== OAUTH2 AZURE ==== + # https://github.com/wekan/wekan/wiki/Azure + # 1) Register the application with Azure. Make sure you capture + # the application ID as well as generate a secret key. + # 2) Configure the environment variables. This differs slightly + # by installation type, but make sure you have the following: + #- OAUTH2_ENABLED=true + # OAuth2 login style: popup or redirect. + #- OAUTH2_LOGIN_STYLE=redirect + # Application GUID captured during app registration: + #- OAUTH2_CLIENT_ID=xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx + # Secret key generated during app registration: + #- OAUTH2_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx + #- OAUTH2_SERVER_URL=https://login.microsoftonline.com/ + #- OAUTH2_AUTH_ENDPOINT=/oauth2/v2.0/authorize + #- OAUTH2_USERINFO_ENDPOINT=https://graph.microsoft.com/oidc/userinfo + #- OAUTH2_TOKEN_ENDPOINT=/oauth2/v2.0/token + # The claim name you want to map to the unique ID field: + #- OAUTH2_ID_MAP=email + # The claim name you want to map to the username field: + #- OAUTH2_USERNAME_MAP=email + # The claim name you want to map to the full name field: + #- OAUTH2_FULLNAME_MAP=name + # Tthe claim name you want to map to the email field: + #- OAUTH2_EMAIL_MAP=email + #----------------------------------------------------------------- + # ==== OAUTH2 Nextcloud ==== + # 1) Register the application with Nextcloud: https://your.nextcloud/index.php/settings/admin/security + # Make sure you capture the application ID as well as generate a secret key. + # Use https://your.wekan/_oauth/oidc for the redirect URI. + # 2) Configure the environment variables. This differs slightly + # by installation type, but make sure you have the following: + #- OAUTH2_ENABLED=true + # OAuth2 login style: popup or redirect. + #- OAUTH2_LOGIN_STYLE=redirect + # Application GUID captured during app registration: + #- OAUTH2_CLIENT_ID=xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx + # Secret key generated during app registration: + #- OAUTH2_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx + #- OAUTH2_SERVER_URL=https://your-nextcloud.tld + #- OAUTH2_AUTH_ENDPOINT=/index.php/apps/oauth2/authorize + #- OAUTH2_USERINFO_ENDPOINT=/ocs/v2.php/cloud/user?format=json + #- OAUTH2_TOKEN_ENDPOINT=/index.php/apps/oauth2/api/v1/token + # The claim name you want to map to the unique ID field: + #- OAUTH2_ID_MAP=id + # The claim name you want to map to the username field: + #- OAUTH2_USERNAME_MAP=id + # The claim name you want to map to the full name field: + #- OAUTH2_FULLNAME_MAP=display-name + # Tthe claim name you want to map to the email field: + #- OAUTH2_EMAIL_MAP=email + #----------------------------------------------------------------- + # ==== OAUTH2 KEYCLOAK ==== + # https://github.com/wekan/wekan/wiki/Keycloak <== MAPPING INFO, REQUIRED + #- OAUTH2_ENABLED=true + # OAuth2 login style: popup or redirect. + #- OAUTH2_LOGIN_STYLE=redirect + #- OAUTH2_CLIENT_ID= + #- OAUTH2_SERVER_URL=/auth + #- OAUTH2_AUTH_ENDPOINT=/realms//protocol/openid-connect/auth + #- OAUTH2_USERINFO_ENDPOINT=/realms//protocol/openid-connect/userinfo + #- OAUTH2_TOKEN_ENDPOINT=/realms//protocol/openid-connect/token + #- OAUTH2_SECRET= + #----------------------------------------------------------------- + # ==== OAUTH2 DOORKEEPER ==== + # https://github.com/wekan/wekan/issues/1874 + # https://github.com/wekan/wekan/wiki/OAuth2 + # Enable the OAuth2 connection + #- OAUTH2_ENABLED=true + # OAuth2 docs: https://github.com/wekan/wekan/wiki/OAuth2 + # OAuth2 login style: popup or redirect. + #- OAUTH2_LOGIN_STYLE=redirect + # OAuth2 Client ID. + #- OAUTH2_CLIENT_ID=abcde12345 + # OAuth2 Secret. + #- OAUTH2_SECRET=54321abcde + # OAuth2 Server URL. + #- OAUTH2_SERVER_URL=https://chat.example.com + # OAuth2 Authorization Endpoint. + #- OAUTH2_AUTH_ENDPOINT=/oauth/authorize + # OAuth2 Userinfo Endpoint. + #- OAUTH2_USERINFO_ENDPOINT=/oauth/userinfo + # OAuth2 Token Endpoint. + #- OAUTH2_TOKEN_ENDPOINT=/oauth/token + # OAUTH2 ID Token Whitelist Fields. + #- OAUTH2_ID_TOKEN_WHITELIST_FIELDS="" + # OAUTH2 Request Permissions. + #- OAUTH2_REQUEST_PERMISSIONS=openid profile email + # OAuth2 ID Mapping + #- OAUTH2_ID_MAP= + # OAuth2 Username Mapping + #- OAUTH2_USERNAME_MAP= + # OAuth2 Fullname Mapping + #- OAUTH2_FULLNAME_MAP= + # OAuth2 Email Mapping + #- OAUTH2_EMAIL_MAP= + #----------------------------------------------------------------- + # ==== LDAP: UNCOMMENT ALL TO ENABLE LDAP ==== + # https://github.com/wekan/wekan/wiki/LDAP + # For Snap settings see https://github.com/wekan/wekan-snap/wiki/Supported-settings-keys + # Most settings work both on Snap and Docker below. + # Note: Do not add single quotes '' to variables. Having spaces still works without quotes where required. + # + # The default authentication method used if a user does not exist to create and authenticate. Can be set as ldap. + #- DEFAULT_AUTHENTICATION_METHOD=ldap + # + # Enable or not the connection by the LDAP + #- LDAP_ENABLE=true + # + # The port of the LDAP server + #- LDAP_PORT=389 + # + # The host server for the LDAP server + #- LDAP_HOST=localhost + # + # The base DN for the LDAP Tree + #- LDAP_BASEDN=ou=user,dc=example,dc=org + # + # Fallback on the default authentication method + #- LDAP_LOGIN_FALLBACK=false + # + # Reconnect to the server if the connection is lost + #- LDAP_RECONNECT=true + # + # Overall timeout, in milliseconds + #- LDAP_TIMEOUT=10000 + # + # Specifies the timeout for idle LDAP connections in milliseconds + #- LDAP_IDLE_TIMEOUT=10000 + # + # Connection timeout, in milliseconds + #- LDAP_CONNECT_TIMEOUT=10000 + # + # If the LDAP needs a user account to search + #- LDAP_AUTHENTIFICATION=true + # + # The search user DN - You need quotes when you have spaces in parameters + # 2 examples: + #- LDAP_AUTHENTIFICATION_USERDN="CN=ldap admin,CN=users,DC=domainmatter,DC=lan" + #- LDAP_AUTHENTIFICATION_USERDN="CN=wekan_adm,OU=serviceaccounts,OU=admin,OU=prod,DC=mydomain,DC=com" + # + # The password for the search user + #- LDAP_AUTHENTIFICATION_PASSWORD=pwd + # + # Enable logs for the module + #- LDAP_LOG_ENABLED=true + # + # If the sync of the users should be done in the background + #- LDAP_BACKGROUND_SYNC=false + # + # At which interval does the background task sync. + # The format must be as specified in: + # https://bunkat.github.io/later/parsers.html#text + #- LDAP_BACKGROUND_SYNC_INTERVAL='every 1 hour' + # + #- LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED=false + # + #- LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS=false + # + # If using LDAPS: LDAP_ENCRYPTION=ssl + #- LDAP_ENCRYPTION=false + # + # The certification for the LDAPS server. Certificate needs to be included in this docker-compose.yml file. + #- LDAP_CA_CERT=-----BEGIN CERTIFICATE-----MIIE+G2FIdAgIC...-----END CERTIFICATE----- + # + # Reject Unauthorized Certificate + #- LDAP_REJECT_UNAUTHORIZED=false + # + # Option to login to the LDAP server with the user's own username and password, instead of an administrator key. Default: false (use administrator key). + #- LDAP_USER_AUTHENTICATION="true" + # + # Which field is used to find the user for the user authentication. Default: uid. + #- LDAP_USER_AUTHENTICATION_FIELD="uid" + # + # Optional extra LDAP filters. Don't forget the outmost enclosing parentheses if needed + #- LDAP_USER_SEARCH_FILTER= + # + # base (search only in the provided DN), one (search only in the provided DN and one level deep), or sub (search the whole subtree) + #- LDAP_USER_SEARCH_SCOPE=one + # + # Which field is used to find the user, like uid / sAMAccountName + #- LDAP_USER_SEARCH_FIELD=sAMAccountName + # + # Used for pagination (0=unlimited) + #- LDAP_SEARCH_PAGE_SIZE=0 + # + # The limit number of entries (0=unlimited) + #- LDAP_SEARCH_SIZE_LIMIT=0 + # + # Enable group filtering. Note the authenticated ldap user must be able to query all relevant group data with own login data from ldap. + #- LDAP_GROUP_FILTER_ENABLE=false + # + # The object class for filtering. Example: group + #- LDAP_GROUP_FILTER_OBJECTCLASS= + # + # The attribute of a group identifying it. Example: cn + #- LDAP_GROUP_FILTER_GROUP_ID_ATTRIBUTE= + # + # The attribute inside a group object listing its members. Example: member + #- LDAP_GROUP_FILTER_GROUP_MEMBER_ATTRIBUTE= + # + # The format of the value of LDAP_GROUP_FILTER_GROUP_MEMBER_ATTRIBUTE. Example: 'dn' if the users dn ist saved as value into the attribute. + #- LDAP_GROUP_FILTER_GROUP_MEMBER_FORMAT= + # + # The group name (id) that matches all users. + #- LDAP_GROUP_FILTER_GROUP_NAME= + # + # LDAP_UNIQUE_IDENTIFIER_FIELD : This field is sometimes class GUID (Globally Unique Identifier). Example: guid + #- LDAP_UNIQUE_IDENTIFIER_FIELD= + # + # LDAP_UTF8_NAMES_SLUGIFY : Convert the username to utf8 + #- LDAP_UTF8_NAMES_SLUGIFY=true + # + # LDAP_USERNAME_FIELD : Which field contains the ldap username. username / sAMAccountName + #- LDAP_USERNAME_FIELD=sAMAccountName + # + # LDAP_FULLNAME_FIELD : Which field contains the ldap fullname. fullname / sAMAccountName + #- LDAP_FULLNAME_FIELD=fullname + # + #- LDAP_MERGE_EXISTING_USERS=false + # + # Allow existing account matching by e-mail address when username does not match + #- LDAP_EMAIL_MATCH_ENABLE=true + # + # LDAP_EMAIL_MATCH_REQUIRE : require existing account matching by e-mail address when username does match + #- LDAP_EMAIL_MATCH_REQUIRE=true + # + # LDAP_EMAIL_MATCH_VERIFIED : require existing account email address to be verified for matching + #- LDAP_EMAIL_MATCH_VERIFIED=true + # + # LDAP_EMAIL_FIELD : which field contains the LDAP e-mail address + #- LDAP_EMAIL_FIELD=mail + #----------------------------------------------------------------- + #- LDAP_SYNC_USER_DATA=false + # + #- LDAP_SYNC_USER_DATA_FIELDMAP={"cn":"name", "mail":"email"} + # + #- LDAP_SYNC_GROUP_ROLES='' + # + # The default domain of the ldap it is used to create email if the field is not map correctly with the LDAP_SYNC_USER_DATA_FIELDMAP + # example : + #- LDAP_DEFAULT_DOMAIN=mydomain.com + # + # Enable/Disable syncing of admin status based on ldap groups: + #- LDAP_SYNC_ADMIN_STATUS=true + # + # Comma separated list of admin group names to sync. + #- LDAP_SYNC_ADMIN_GROUPS=group1,group2 + #--------------------------------------------------------------------- + # Login to LDAP automatically with HTTP header. + # In below example for siteminder, at right side of = is header name. + #- HEADER_LOGIN_ID=HEADERUID + #- HEADER_LOGIN_FIRSTNAME=HEADERFIRSTNAME + #- HEADER_LOGIN_LASTNAME=HEADERLASTNAME + #- HEADER_LOGIN_EMAIL=HEADEREMAILADDRESS + #--------------------------------------------------------------------- + # ==== LOGOUT TIMER, probably does not work yet ==== + # LOGOUT_WITH_TIMER : Enables or not the option logout with timer + # example : LOGOUT_WITH_TIMER=true + #- LOGOUT_WITH_TIMER= + # + # LOGOUT_IN : The number of days + # example : LOGOUT_IN=1 + #- LOGOUT_IN= + # + # LOGOUT_ON_HOURS : The number of hours + # example : LOGOUT_ON_HOURS=9 + #- LOGOUT_ON_HOURS= + # + # LOGOUT_ON_MINUTES : The number of minutes + # example : LOGOUT_ON_MINUTES=55 + #- LOGOUT_ON_MINUTES= + #------------------------------------------------------------------- + # Hide password login form + # - PASSWORD_LOGIN_ENABLED=true + #------------------------------------------------------------------- + depends_on: + - wekandb + +#--------------------------------------------------------------------------------- +# ==== OPTIONAL: SHARE DATABASE TO OFFICE LAN AND REMOTE VPN ==== +# When using Wekan both at office LAN and remote VPN: +# 1) Have above Wekan docker container config with LAN IP address +# 2) Copy all of above wekan container config below, look above of this part above and all config below it, +# before above depends_on: part: +# +# wekan: +# #------------------------------------------------------------------------------------- +# # ==== MONGODB AND METEOR VERSION ==== +# # a) For Wekan Meteor 1.8.x version at meteor-1.8 branch, ..... +# +# +# and change name to different name like wekan2 or wekanvpn, and change ROOT_URL to server VPN IP +# address. +# 3) This way both Wekan containers can use same MongoDB database +# and see the same Wekan boards. +# 4) You could also add 3rd Wekan container for 3rd network etc. +# EXAMPLE: +# wekan2: +# ....COPY CONFIG FROM ABOVE TO HERE... +# environment: +# - ROOT_URL='http://10.10.10.10' +# ...COPY CONFIG FROM ABOVE TO HERE... +#--------------------------------------------------------------------------------- + +# OPTIONAL NGINX CONFIG FOR REVERSE PROXY +# nginx: +# image: nginx +# container_name: nginx +# restart: always +# networks: +# - wekan-tier +# depends_on: +# - wekan +# ports: +# - 80:80 +# - 443:443 +# volumes: +# - ./nginx/ssl:/etc/nginx/ssl/:ro +# - ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro +## Alternative volume config: +## volumes: +## - ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf:ro +## - ./nginx/ssl/ssl.conf:/etc/nginx/conf.d/ssl/ssl.conf:ro +## - ./nginx/ssl/testvm-ehu.crt:/etc/nginx/conf.d/ssl/certs/mycert.crt:ro +## - ./nginx/ssl/testvm-ehu.key:/etc/nginx/conf.d/ssl/certs/mykey.key:ro +## - ./nginx/ssl/pphrase:/etc/nginx/conf.d/ssl/pphrase:ro + +volumes: + wekan-db: + driver: local + wekan-db-dump: + driver: local + +networks: + wekan-tier: + driver: bridge diff --git a/find-replace.sh b/find-replace.sh new file mode 100755 index 0000000..522affa --- /dev/null +++ b/find-replace.sh @@ -0,0 +1,5 @@ + +# Recursive find/replace. +# Syntax: ./find-replace.sh searchtext replacetext + +egrep -lRZ '$1' . | xargs -0 -l sed -i -e 's/$1/$2/g' diff --git a/find.sh b/find.sh new file mode 100755 index 0000000..b552866 --- /dev/null +++ b/find.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +# Find text from all subdirectories +# and ignore all temporary directories: +# - node-modules = installed node modules +# - .build = Wekan bundle that is combined from source. Do not edit these, these are deleted and recreated. +# - .meteor = Meteor version, packages etc at .meteor/local +# - .git = git history + +# If less or more that 1 parameter, show usage. +if (( $# != 1 )); then + echo 'Usage: ./find.sh text-to-find' + exit 0 +fi + +find . | grep -v node_modules | grep -v .build | grep -v .meteor | grep -v .git | xargs grep --no-messages $1 | less diff --git a/fix-download-unicode/cfs_access-point.txt b/fix-download-unicode/cfs_access-point.txt new file mode 100644 index 0000000..de1c6c7 --- /dev/null +++ b/fix-download-unicode/cfs_access-point.txt @@ -0,0 +1,914 @@ +(function () { + +/* Imports */ +var Meteor = Package.meteor.Meteor; +var global = Package.meteor.global; +var meteorEnv = Package.meteor.meteorEnv; +var FS = Package['cfs:base-package'].FS; +var check = Package.check.check; +var Match = Package.check.Match; +var EJSON = Package.ejson.EJSON; +var HTTP = Package['cfs:http-methods'].HTTP; + +/* Package-scope variables */ +var rootUrlPathPrefix, baseUrl, getHeaders, getHeadersByCollection, _existingMountPoints, mountUrls; + +(function(){ + +/////////////////////////////////////////////////////////////////////// +// // +// packages/cfs_access-point/packages/cfs_access-point.js // +// // +/////////////////////////////////////////////////////////////////////// + // +(function () { + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// // +// packages/cfs:access-point/access-point-common.js // +// // +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + // +rootUrlPathPrefix = __meteor_runtime_config__.ROOT_URL_PATH_PREFIX || ""; // 1 +// Adjust the rootUrlPathPrefix if necessary // 2 +if (rootUrlPathPrefix.length > 0) { // 3 + if (rootUrlPathPrefix.slice(0, 1) !== '/') { // 4 + rootUrlPathPrefix = '/' + rootUrlPathPrefix; // 5 + } // 6 + if (rootUrlPathPrefix.slice(-1) === '/') { // 7 + rootUrlPathPrefix = rootUrlPathPrefix.slice(0, -1); // 8 + } // 9 +} // 10 + // 11 +// prepend ROOT_URL when isCordova // 12 +if (Meteor.isCordova) { // 13 + rootUrlPathPrefix = Meteor.absoluteUrl(rootUrlPathPrefix.replace(/^\/+/, '')).replace(/\/+$/, ''); // 14 +} // 15 + // 16 +baseUrl = '/cfs'; // 17 +FS.HTTP = FS.HTTP || {}; // 18 + // 19 +// Note the upload URL so that client uploader packages know what it is // 20 +FS.HTTP.uploadUrl = rootUrlPathPrefix + baseUrl + '/files'; // 21 + // 22 +/** // 23 + * @method FS.HTTP.setBaseUrl // 24 + * @public // 25 + * @param {String} newBaseUrl - Change the base URL for the HTTP GET and DELETE endpoints. // 26 + * @returns {undefined} // 27 + */ // 28 +FS.HTTP.setBaseUrl = function setBaseUrl(newBaseUrl) { // 29 + // 30 + // Adjust the baseUrl if necessary // 31 + if (newBaseUrl.slice(0, 1) !== '/') { // 32 + newBaseUrl = '/' + newBaseUrl; // 33 + } // 34 + if (newBaseUrl.slice(-1) === '/') { // 35 + newBaseUrl = newBaseUrl.slice(0, -1); // 36 + } // 37 + // 38 + // Update the base URL // 39 + baseUrl = newBaseUrl; // 40 + // 41 + // Change the upload URL so that client uploader packages know what it is // 42 + FS.HTTP.uploadUrl = rootUrlPathPrefix + baseUrl + '/files'; // 43 + // 44 + // Remount URLs with the new baseUrl, unmounting the old, on the server only. // 45 + // If existingMountPoints is empty, then we haven't run the server startup // 46 + // code yet, so this new URL will be used at that point for the initial mount. // 47 + if (Meteor.isServer && !FS.Utility.isEmpty(_existingMountPoints)) { // 48 + mountUrls(); // 49 + } // 50 +}; // 51 + // 52 +/* // 53 + * FS.File extensions // 54 + */ // 55 + // 56 +/** // 57 + * @method FS.File.prototype.url Construct the file url // 58 + * @public // 59 + * @param {Object} [options] // 60 + * @param {String} [options.store] Name of the store to get from. If not defined, the first store defined in `options.stores` for the collection on the client is used. + * @param {Boolean} [options.auth=null] Add authentication token to the URL query string? By default, a token for the current logged in user is added on the client. Set this to `false` to omit the token. Set this to a string to provide your own token. Set this to a number to specify an expiration time for the token in seconds. + * @param {Boolean} [options.download=false] Should headers be set to force a download? Typically this means that clicking the link with this URL will download the file to the user's Downloads folder instead of displaying the file in the browser. + * @param {Boolean} [options.brokenIsFine=false] Return the URL even if we know it's currently a broken link because the file hasn't been saved in the requested store yet. + * @param {Boolean} [options.metadata=false] Return the URL for the file metadata access point rather than the file itself. + * @param {String} [options.uploading=null] A URL to return while the file is being uploaded. // 66 + * @param {String} [options.storing=null] A URL to return while the file is being stored. // 67 + * @param {String} [options.filename=null] Override the filename that should appear at the end of the URL. By default it is the name of the file in the requested store. + * // 69 + * Returns the HTTP URL for getting the file or its metadata. // 70 + */ // 71 +FS.File.prototype.url = function(options) { // 72 + var self = this; // 73 + options = options || {}; // 74 + options = FS.Utility.extend({ // 75 + store: null, // 76 + auth: null, // 77 + download: false, // 78 + metadata: false, // 79 + brokenIsFine: false, // 80 + uploading: null, // return this URL while uploading // 81 + storing: null, // return this URL while storing // 82 + filename: null // override the filename that is shown to the user // 83 + }, options.hash || options); // check for "hash" prop if called as helper // 84 + // 85 + // Primarily useful for displaying a temporary image while uploading an image // 86 + if (options.uploading && !self.isUploaded()) { // 87 + return options.uploading; // 88 + } // 89 + // 90 + if (self.isMounted()) { // 91 + // See if we've stored in the requested store yet // 92 + var storeName = options.store || self.collection.primaryStore.name; // 93 + if (!self.hasStored(storeName)) { // 94 + if (options.storing) { // 95 + return options.storing; // 96 + } else if (!options.brokenIsFine) { // 97 + // We want to return null if we know the URL will be a broken // 98 + // link because then we can avoid rendering broken links, broken // 99 + // images, etc. // 100 + return null; // 101 + } // 102 + } // 103 + // 104 + // Add filename to end of URL if we can determine one // 105 + var filename = options.filename || self.name({store: storeName}); // 106 + if (typeof filename === "string" && filename.length) { // 107 + filename = '/' + filename; // 108 + } else { // 109 + filename = ''; // 110 + } // 111 + // 112 + // TODO: Could we somehow figure out if the collection requires login? // 113 + var authToken = ''; // 114 + if (Meteor.isClient && typeof Accounts !== "undefined" && typeof Accounts._storedLoginToken === "function") { // 115 + if (options.auth !== false) { // 116 + // Add reactive deps on the user // 117 + Meteor.userId(); // 118 + // 119 + var authObject = { // 120 + authToken: Accounts._storedLoginToken() || '' // 121 + }; // 122 + // 123 + // If it's a number, we use that as the expiration time (in seconds) // 124 + if (options.auth === +options.auth) { // 125 + authObject.expiration = FS.HTTP.now() + options.auth * 1000; // 126 + } // 127 + // 128 + // Set the authToken // 129 + var authString = JSON.stringify(authObject); // 130 + authToken = FS.Utility.btoa(authString); // 131 + } // 132 + } else if (typeof options.auth === "string") { // 133 + // If the user supplies auth token the user will be responsible for // 134 + // updating // 135 + authToken = options.auth; // 136 + } // 137 + // 138 + // Construct query string // 139 + var params = {}; // 140 + if (authToken !== '') { // 141 + params.token = authToken; // 142 + } // 143 + if (options.download) { // 144 + params.download = true; // 145 + } // 146 + if (options.store) { // 147 + // We use options.store here instead of storeName because we want to omit the queryString // 148 + // whenever possible, allowing users to have "clean" URLs if they want. The server will // 149 + // assume the first store defined on the server, which means that we are assuming that // 150 + // the first on the client is also the first on the server. If that's not the case, the // 151 + // store option should be supplied. // 152 + params.store = options.store; // 153 + } // 154 + var queryString = FS.Utility.encodeParams(params); // 155 + if (queryString.length) { // 156 + queryString = '?' + queryString; // 157 + } // 158 + // 159 + // Determine which URL to use // 160 + var area; // 161 + if (options.metadata) { // 162 + area = '/record'; // 163 + } else { // 164 + area = '/files'; // 165 + } // 166 + // 167 + // Construct and return the http method url // 168 + return rootUrlPathPrefix + baseUrl + area + '/' + self.collection.name + '/' + self._id + filename + queryString; // 169 + } // 170 + // 171 +}; // 172 + // 173 + // 174 + // 175 +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +}).call(this); + + + + + + +(function () { + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// // +// packages/cfs:access-point/access-point-handlers.js // +// // +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + // +getHeaders = []; // 1 +getHeadersByCollection = {}; // 2 + // 3 +FS.HTTP.Handlers = {}; // 4 + // 5 +/** // 6 + * @method FS.HTTP.Handlers.Del // 7 + * @public // 8 + * @returns {any} response // 9 + * // 10 + * HTTP DEL request handler // 11 + */ // 12 +FS.HTTP.Handlers.Del = function httpDelHandler(ref) { // 13 + var self = this; // 14 + var opts = FS.Utility.extend({}, self.query || {}, self.params || {}); // 15 + // 16 + // If DELETE request, validate with 'remove' allow/deny, delete the file, and return // 17 + FS.Utility.validateAction(ref.collection.files._validators['remove'], ref.file, self.userId); // 18 + // 19 + /* // 20 + * From the DELETE spec: // 21 + * A successful response SHOULD be 200 (OK) if the response includes an // 22 + * entity describing the status, 202 (Accepted) if the action has not // 23 + * yet been enacted, or 204 (No Content) if the action has been enacted // 24 + * but the response does not include an entity. // 25 + */ // 26 + self.setStatusCode(200); // 27 + // 28 + return { // 29 + deleted: !!ref.file.remove() // 30 + }; // 31 +}; // 32 + // 33 +/** // 34 + * @method FS.HTTP.Handlers.GetList // 35 + * @public // 36 + * @returns {Object} response // 37 + * // 38 + * HTTP GET file list request handler // 39 + */ // 40 +FS.HTTP.Handlers.GetList = function httpGetListHandler() { // 41 + // Not Yet Implemented // 42 + // Need to check publications and return file list based on // 43 + // what user is allowed to see // 44 +}; // 45 + // 46 +/* // 47 + requestRange will parse the range set in request header - if not possible it // 48 + will throw fitting errors and autofill range for both partial and full ranges // 49 + // 50 + throws error or returns the object: // 51 + { // 52 + start // 53 + end // 54 + length // 55 + unit // 56 + partial // 57 + } // 58 +*/ // 59 +var requestRange = function(req, fileSize) { // 60 + if (req) { // 61 + if (req.headers) { // 62 + var rangeString = req.headers.range; // 63 + // 64 + // Make sure range is a string // 65 + if (rangeString === ''+rangeString) { // 66 + // 67 + // range will be in the format "bytes=0-32767" // 68 + var parts = rangeString.split('='); // 69 + var unit = parts[0]; // 70 + // 71 + // Make sure parts consists of two strings and range is of type "byte" // 72 + if (parts.length == 2 && unit == 'bytes') { // 73 + // Parse the range // 74 + var range = parts[1].split('-'); // 75 + var start = Number(range[0]); // 76 + var end = Number(range[1]); // 77 + // 78 + // Fix invalid ranges? // 79 + if (range[0] != start) start = 0; // 80 + if (range[1] != end || !end) end = fileSize - 1; // 81 + // 82 + // Make sure range consists of a start and end point of numbers and start is less than end // 83 + if (start < end) { // 84 + // 85 + var partSize = 0 - start + end + 1; // 86 + // 87 + // Return the parsed range // 88 + return { // 89 + start: start, // 90 + end: end, // 91 + length: partSize, // 92 + size: fileSize, // 93 + unit: unit, // 94 + partial: (partSize < fileSize) // 95 + }; // 96 + // 97 + } else { // 98 + throw new Meteor.Error(416, "Requested Range Not Satisfiable"); // 99 + } // 100 + // 101 + } else { // 102 + // The first part should be bytes // 103 + throw new Meteor.Error(416, "Requested Range Unit Not Satisfiable"); // 104 + } // 105 + // 106 + } else { // 107 + // No range found // 108 + } // 109 + // 110 + } else { // 111 + // throw new Error('No request headers set for _parseRange function'); // 112 + } // 113 + } else { // 114 + throw new Error('No request object passed to _parseRange function'); // 115 + } // 116 + // 117 + return { // 118 + start: 0, // 119 + end: fileSize - 1, // 120 + length: fileSize, // 121 + size: fileSize, // 122 + unit: 'bytes', // 123 + partial: false // 124 + }; // 125 +}; // 126 + // 127 +/** // 128 + * @method FS.HTTP.Handlers.Get // 129 + * @public // 130 + * @returns {any} response // 131 + * // 132 + * HTTP GET request handler // 133 + */ // 134 +FS.HTTP.Handlers.Get = function httpGetHandler(ref) { // 135 + var self = this; // 136 + // Once we have the file, we can test allow/deny validators // 137 + // XXX: pass on the "share" query eg. ?share=342hkjh23ggj for shared url access? // 138 + FS.Utility.validateAction(ref.collection._validators['download'], ref.file, self.userId /*, self.query.shareId*/); // 139 + // 140 + var storeName = ref.storeName; // 141 + // 142 + // If no storeName was specified, use the first defined storeName // 143 + if (typeof storeName !== "string") { // 144 + // No store handed, we default to primary store // 145 + storeName = ref.collection.primaryStore.name; // 146 + } // 147 + // 148 + // Get the storage reference // 149 + var storage = ref.collection.storesLookup[storeName]; // 150 + // 151 + if (!storage) { // 152 + throw new Meteor.Error(404, "Not Found", 'There is no store "' + storeName + '"'); // 153 + } // 154 + // 155 + // Get the file // 156 + var copyInfo = ref.file.copies[storeName]; // 157 + // 158 + if (!copyInfo) { // 159 + throw new Meteor.Error(404, "Not Found", 'This file was not stored in the ' + storeName + ' store'); // 160 + } // 161 + // 162 + // Set the content type for file // 163 + if (typeof copyInfo.type === "string") { // 164 + self.setContentType(copyInfo.type); // 165 + } else { // 166 + self.setContentType('application/octet-stream'); // 167 + } // 168 + // 169 + // Add 'Content-Disposition' header if requested a download/attachment URL // 170 + if (typeof ref.download !== "undefined") { // 171 + var filename = ref.filename || copyInfo.name; // 172 + self.addHeader('Content-Disposition', 'attachment; filename="' + filename + '"'); // 173 + } else { // 174 + self.addHeader('Content-Disposition', 'inline'); // 175 + } // 176 + // 177 + // Get the contents range from request // 178 + var range = requestRange(self.request, copyInfo.size); // 179 + // 180 + // Some browsers cope better if the content-range header is // 181 + // still included even for the full file being returned. // 182 + self.addHeader('Content-Range', range.unit + ' ' + range.start + '-' + range.end + '/' + range.size); // 183 + // 184 + // If a chunk/range was requested instead of the whole file, serve that' // 185 + if (range.partial) { // 186 + self.setStatusCode(206, 'Partial Content'); // 187 + } else { // 188 + self.setStatusCode(200, 'OK'); // 189 + } // 190 + // 191 + // Add any other global custom headers and collection-specific custom headers // 192 + FS.Utility.each(getHeaders.concat(getHeadersByCollection[ref.collection.name] || []), function(header) { // 193 + self.addHeader(header[0], header[1]); // 194 + }); // 195 + // 196 + // Inform clients about length (or chunk length in case of ranges) // 197 + self.addHeader('Content-Length', range.length); // 198 + // 199 + // Last modified header (updatedAt from file info) // 200 + self.addHeader('Last-Modified', copyInfo.updatedAt.toUTCString()); // 201 + // 202 + // Inform clients that we accept ranges for resumable chunked downloads // 203 + self.addHeader('Accept-Ranges', range.unit); // 204 + // 205 + if (FS.debug) console.log('Read file "' + (ref.filename || copyInfo.name) + '" ' + range.unit + ' ' + range.start + '-' + range.end + '/' + range.size); + // 207 + var readStream = storage.adapter.createReadStream(ref.file, {start: range.start, end: range.end}); // 208 + // 209 + readStream.on('error', function(err) { // 210 + // Send proper error message on get error // 211 + if (err.message && err.statusCode) { // 212 + self.Error(new Meteor.Error(err.statusCode, err.message)); // 213 + } else { // 214 + self.Error(new Meteor.Error(503, 'Service unavailable')); // 215 + } // 216 + }); // 217 + // 218 + readStream.pipe(self.createWriteStream()); // 219 +}; // 220 + +const originalHandler = FS.HTTP.Handlers.Get; +FS.HTTP.Handlers.Get = function (ref) { +//console.log(ref.filename); + try { + var userAgent = (this.requestHeaders['user-agent']||'').toLowerCase(); + + if(userAgent.indexOf('msie') >= 0 || userAgent.indexOf('trident') >= 0 || userAgent.indexOf('chrome') >= 0) { + ref.filename = encodeURIComponent(ref.filename); + } else if(userAgent.indexOf('firefox') >= 0) { + ref.filename = Buffer.from(ref.filename).toString('binary'); + } else { + /* safari*/ + ref.filename = Buffer.from(ref.filename).toString('binary'); + } + } catch (ex){ + ref.filename = 'tempfix'; + } + return originalHandler.call(this, ref); +}; + // 221 +/** // 222 + * @method FS.HTTP.Handlers.PutInsert // 223 + * @public // 224 + * @returns {Object} response object with _id property // 225 + * // 226 + * HTTP PUT file insert request handler // 227 + */ // 228 +FS.HTTP.Handlers.PutInsert = function httpPutInsertHandler(ref) { // 229 + var self = this; // 230 + var opts = FS.Utility.extend({}, self.query || {}, self.params || {}); // 231 + // 232 + FS.debug && console.log("HTTP PUT (insert) handler"); // 233 + // 234 + // Create the nice FS.File // 235 + var fileObj = new FS.File(); // 236 + // 237 + // Set its name // 238 + fileObj.name(opts.filename || null); // 239 + // 240 + // Attach the readstream as the file's data // 241 + fileObj.attachData(self.createReadStream(), {type: self.requestHeaders['content-type'] || 'application/octet-stream'}); + // 243 + // Validate with insert allow/deny // 244 + FS.Utility.validateAction(ref.collection.files._validators['insert'], fileObj, self.userId); // 245 + // 246 + // Insert file into collection, triggering readStream storage // 247 + ref.collection.insert(fileObj); // 248 + // 249 + // Send response // 250 + self.setStatusCode(200); // 251 + // 252 + // Return the new file id // 253 + return {_id: fileObj._id}; // 254 +}; // 255 + // 256 +/** // 257 + * @method FS.HTTP.Handlers.PutUpdate // 258 + * @public // 259 + * @returns {Object} response object with _id and chunk properties // 260 + * // 261 + * HTTP PUT file update chunk request handler // 262 + */ // 263 +FS.HTTP.Handlers.PutUpdate = function httpPutUpdateHandler(ref) { // 264 + var self = this; // 265 + var opts = FS.Utility.extend({}, self.query || {}, self.params || {}); // 266 + // 267 + var chunk = parseInt(opts.chunk, 10); // 268 + if (isNaN(chunk)) chunk = 0; // 269 + // 270 + FS.debug && console.log("HTTP PUT (update) handler received chunk: ", chunk); // 271 + // 272 + // Validate with insert allow/deny; also mounts and retrieves the file // 273 + FS.Utility.validateAction(ref.collection.files._validators['insert'], ref.file, self.userId); // 274 + // 275 + self.createReadStream().pipe( FS.TempStore.createWriteStream(ref.file, chunk) ); // 276 + // 277 + // Send response // 278 + self.setStatusCode(200); // 279 + // 280 + return { _id: ref.file._id, chunk: chunk }; // 281 +}; // 282 + // 283 +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +}).call(this); + + + + + + +(function () { + +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// +// // +// packages/cfs:access-point/access-point-server.js // +// // +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + // +var path = Npm.require("path"); // 1 + // 2 +HTTP.publishFormats({ // 3 + fileRecordFormat: function (input) { // 4 + // Set the method scope content type to json // 5 + this.setContentType('application/json'); // 6 + if (FS.Utility.isArray(input)) { // 7 + return EJSON.stringify(FS.Utility.map(input, function (obj) { // 8 + return FS.Utility.cloneFileRecord(obj); // 9 + })); // 10 + } else { // 11 + return EJSON.stringify(FS.Utility.cloneFileRecord(input)); // 12 + } // 13 + } // 14 +}); // 15 + // 16 +/** // 17 + * @method FS.HTTP.setHeadersForGet // 18 + * @public // 19 + * @param {Array} headers - List of headers, where each is a two-item array in which item 1 is the header name and item 2 is the header value. + * @param {Array|String} [collections] - Which collections the headers should be added for. Omit this argument to add the header for all collections. + * @returns {undefined} // 22 + */ // 23 +FS.HTTP.setHeadersForGet = function setHeadersForGet(headers, collections) { // 24 + if (typeof collections === "string") { // 25 + collections = [collections]; // 26 + } // 27 + if (collections) { // 28 + FS.Utility.each(collections, function(collectionName) { // 29 + getHeadersByCollection[collectionName] = headers || []; // 30 + }); // 31 + } else { // 32 + getHeaders = headers || []; // 33 + } // 34 +}; // 35 + // 36 +/** // 37 + * @method FS.HTTP.publish // 38 + * @public // 39 + * @param {FS.Collection} collection // 40 + * @param {Function} func - Publish function that returns a cursor. // 41 + * @returns {undefined} // 42 + * // 43 + * Publishes all documents returned by the cursor at a GET URL // 44 + * with the format baseUrl/record/collectionName. The publish // 45 + * function `this` is similar to normal `Meteor.publish`. // 46 + */ // 47 +FS.HTTP.publish = function fsHttpPublish(collection, func) { // 48 + var name = baseUrl + '/record/' + collection.name; // 49 + // Mount collection listing URL using http-publish package // 50 + HTTP.publish({ // 51 + name: name, // 52 + defaultFormat: 'fileRecordFormat', // 53 + collection: collection, // 54 + collectionGet: true, // 55 + collectionPost: false, // 56 + documentGet: true, // 57 + documentPut: false, // 58 + documentDelete: false // 59 + }, func); // 60 + // 61 + FS.debug && console.log("Registered HTTP method GET URLs:\n\n" + name + '\n' + name + '/:id\n'); // 62 +}; // 63 + // 64 +/** // 65 + * @method FS.HTTP.unpublish // 66 + * @public // 67 + * @param {FS.Collection} collection // 68 + * @returns {undefined} // 69 + * // 70 + * Unpublishes a restpoint created by a call to `FS.HTTP.publish` // 71 + */ // 72 +FS.HTTP.unpublish = function fsHttpUnpublish(collection) { // 73 + // Mount collection listing URL using http-publish package // 74 + HTTP.unpublish(baseUrl + '/record/' + collection.name); // 75 +}; // 76 + // 77 +_existingMountPoints = {}; // 78 + // 79 +/** // 80 + * @method defaultSelectorFunction // 81 + * @private // 82 + * @returns { collection, file } // 83 + * // 84 + * This is the default selector function // 85 + */ // 86 +var defaultSelectorFunction = function() { // 87 + var self = this; // 88 + // Selector function // 89 + // // 90 + // This function will have to return the collection and the // 91 + // file. If file not found undefined is returned - if null is returned the // 92 + // search was not possible // 93 + var opts = FS.Utility.extend({}, self.query || {}, self.params || {}); // 94 + // 95 + // Get the collection name from the url // 96 + var collectionName = opts.collectionName; // 97 + // 98 + // Get the id from the url // 99 + var id = opts.id; // 100 + // 101 + // Get the collection // 102 + var collection = FS._collections[collectionName]; // 103 + // 104 + // Get the file if possible else return null // 105 + var file = (id && collection)? collection.findOne({ _id: id }): null; // 106 + // 107 + // Return the collection and the file // 108 + return { // 109 + collection: collection, // 110 + file: file, // 111 + storeName: opts.store, // 112 + download: opts.download, // 113 + filename: opts.filename // 114 + }; // 115 +}; // 116 + // 117 +/* // 118 + * @method FS.HTTP.mount // 119 + * @public // 120 + * @param {array of string} mountPoints mount points to map rest functinality on // 121 + * @param {function} selector_f [selector] function returns `{ collection, file }` for mount points to work with // 122 + * // 123 +*/ // 124 +FS.HTTP.mount = function(mountPoints, selector_f) { // 125 + // We take mount points as an array and we get a selector function // 126 + var selectorFunction = selector_f || defaultSelectorFunction; // 127 + // 128 + var accessPoint = { // 129 + 'stream': true, // 130 + 'auth': expirationAuth, // 131 + 'post': function(data) { // 132 + // Use the selector for finding the collection and file reference // 133 + var ref = selectorFunction.call(this); // 134 + // 135 + // We dont support post - this would be normal insert eg. of filerecord? // 136 + throw new Meteor.Error(501, "Not implemented", "Post is not supported"); // 137 + }, // 138 + 'put': function(data) { // 139 + // Use the selector for finding the collection and file reference // 140 + var ref = selectorFunction.call(this); // 141 + // 142 + // Make sure we have a collection reference // 143 + if (!ref.collection) // 144 + throw new Meteor.Error(404, "Not Found", "No collection found"); // 145 + // 146 + // Make sure we have a file reference // 147 + if (ref.file === null) { // 148 + // No id supplied so we will create a new FS.File instance and // 149 + // insert the supplied data. // 150 + return FS.HTTP.Handlers.PutInsert.apply(this, [ref]); // 151 + } else { // 152 + if (ref.file) { // 153 + return FS.HTTP.Handlers.PutUpdate.apply(this, [ref]); // 154 + } else { // 155 + throw new Meteor.Error(404, "Not Found", 'No file found'); // 156 + } // 157 + } // 158 + }, // 159 + 'get': function(data) { // 160 + // Use the selector for finding the collection and file reference // 161 + var ref = selectorFunction.call(this); // 162 + // 163 + // Make sure we have a collection reference // 164 + if (!ref.collection) // 165 + throw new Meteor.Error(404, "Not Found", "No collection found"); // 166 + // 167 + // Make sure we have a file reference // 168 + if (ref.file === null) { // 169 + // No id supplied so we will return the published list of files ala // 170 + // http.publish in json format // 171 + return FS.HTTP.Handlers.GetList.apply(this, [ref]); // 172 + } else { // 173 + if (ref.file) { // 174 + return FS.HTTP.Handlers.Get.apply(this, [ref]); // 175 + } else { // 176 + throw new Meteor.Error(404, "Not Found", 'No file found'); // 177 + } // 178 + } // 179 + }, // 180 + 'delete': function(data) { // 181 + // Use the selector for finding the collection and file reference // 182 + var ref = selectorFunction.call(this); // 183 + // 184 + // Make sure we have a collection reference // 185 + if (!ref.collection) // 186 + throw new Meteor.Error(404, "Not Found", "No collection found"); // 187 + // 188 + // Make sure we have a file reference // 189 + if (ref.file) { // 190 + return FS.HTTP.Handlers.Del.apply(this, [ref]); // 191 + } else { // 192 + throw new Meteor.Error(404, "Not Found", 'No file found'); // 193 + } // 194 + } // 195 + }; // 196 + // 197 + var accessPoints = {}; // 198 + // 199 + // Add debug message // 200 + FS.debug && console.log('Registered HTTP method URLs:'); // 201 + // 202 + FS.Utility.each(mountPoints, function(mountPoint) { // 203 + // Couple mountpoint and accesspoint // 204 + accessPoints[mountPoint] = accessPoint; // 205 + // Remember our mountpoints // 206 + _existingMountPoints[mountPoint] = mountPoint; // 207 + // Add debug message // 208 + FS.debug && console.log(mountPoint); // 209 + }); // 210 + // 211 + // XXX: HTTP:methods should unmount existing mounts in case of overwriting? // 212 + HTTP.methods(accessPoints); // 213 + // 214 +}; // 215 + // 216 +/** // 217 + * @method FS.HTTP.unmount // 218 + * @public // 219 + * @param {string | array of string} [mountPoints] Optional, if not specified all mountpoints are unmounted // 220 + * // 221 + */ // 222 +FS.HTTP.unmount = function(mountPoints) { // 223 + // The mountPoints is optional, can be string or array if undefined then // 224 + // _existingMountPoints will be used // 225 + var unmountList; // 226 + // Container for the mount points to unmount // 227 + var unmountPoints = {}; // 228 + // 229 + if (typeof mountPoints === 'undefined') { // 230 + // Use existing mount points - unmount all // 231 + unmountList = _existingMountPoints; // 232 + } else if (mountPoints === ''+mountPoints) { // 233 + // Got a string // 234 + unmountList = [mountPoints]; // 235 + } else if (mountPoints.length) { // 236 + // Got an array // 237 + unmountList = mountPoints; // 238 + } // 239 + // 240 + // If we have a list to unmount // 241 + if (unmountList) { // 242 + // Iterate over each item // 243 + FS.Utility.each(unmountList, function(mountPoint) { // 244 + // Check _existingMountPoints to make sure the mount point exists in our // 245 + // context / was created by the FS.HTTP.mount // 246 + if (_existingMountPoints[mountPoint]) { // 247 + // Mark as unmount // 248 + unmountPoints[mountPoint] = false; // 249 + // Release // 250 + delete _existingMountPoints[mountPoint]; // 251 + } // 252 + }); // 253 + FS.debug && console.log('FS.HTTP.unmount:'); // 254 + FS.debug && console.log(unmountPoints); // 255 + // Complete unmount // 256 + HTTP.methods(unmountPoints); // 257 + } // 258 +}; // 259 + // 260 +// ### FS.Collection maps on HTTP pr. default on the following restpoints: // 261 +// * // 262 +// baseUrl + '/files/:collectionName/:id/:filename', // 263 +// baseUrl + '/files/:collectionName/:id', // 264 +// baseUrl + '/files/:collectionName' // 265 +// // 266 +// Change/ replace the existing mount point by: // 267 +// ```js // 268 +// // unmount all existing // 269 +// FS.HTTP.unmount(); // 270 +// // Create new mount point // 271 +// FS.HTTP.mount([ // 272 +// '/cfs/files/:collectionName/:id/:filename', // 273 +// '/cfs/files/:collectionName/:id', // 274 +// '/cfs/files/:collectionName' // 275 +// ]); // 276 +// ``` // 277 +// // 278 +mountUrls = function mountUrls() { // 279 + // We unmount first in case we are calling this a second time // 280 + FS.HTTP.unmount(); // 281 + // 282 + FS.HTTP.mount([ // 283 + baseUrl + '/files/:collectionName/:id/:filename', // 284 + baseUrl + '/files/:collectionName/:id', // 285 + baseUrl + '/files/:collectionName' // 286 + ]); // 287 +}; // 288 + // 289 +// Returns the userId from URL token // 290 +var expirationAuth = function expirationAuth() { // 291 + var self = this; // 292 + // 293 + // Read the token from '/hello?token=base64' // 294 + var encodedToken = self.query.token; // 295 + // 296 + FS.debug && console.log("token: "+encodedToken); // 297 + // 298 + if (!encodedToken || !Meteor.users) return false; // 299 + // 300 + // Check the userToken before adding it to the db query // 301 + // Set the this.userId // 302 + var tokenString = FS.Utility.atob(encodedToken); // 303 + // 304 + var tokenObject; // 305 + try { // 306 + tokenObject = JSON.parse(tokenString); // 307 + } catch(err) { // 308 + throw new Meteor.Error(400, 'Bad Request'); // 309 + } // 310 + // 311 + // XXX: Do some check here of the object // 312 + var userToken = tokenObject.authToken; // 313 + if (userToken !== ''+userToken) { // 314 + throw new Meteor.Error(400, 'Bad Request'); // 315 + } // 316 + // 317 + // If we have an expiration token we should check that it's still valid // 318 + if (tokenObject.expiration != null) { // 319 + // check if its too old // 320 + var now = Date.now(); // 321 + if (tokenObject.expiration < now) { // 322 + FS.debug && console.log('Expired token: ' + tokenObject.expiration + ' is less than ' + now); // 323 + throw new Meteor.Error(500, 'Expired token'); // 324 + } // 325 + } // 326 + // 327 + // We are not on a secure line - so we have to look up the user... // 328 + var user = Meteor.users.findOne({ // 329 + $or: [ // 330 + {'services.resume.loginTokens.hashedToken': Accounts._hashLoginToken(userToken)}, // 331 + {'services.resume.loginTokens.token': userToken} // 332 + ] // 333 + }); // 334 + // 335 + // Set the userId in the scope // 336 + return user && user._id; // 337 +}; // 338 + // 339 +HTTP.methods( // 340 + {'/cfs/servertime': { // 341 + get: function(data) { // 342 + return Date.now().toString(); // 343 + } // 344 + } // 345 +}); // 346 + // 347 +// Unify client / server api // 348 +FS.HTTP.now = function() { // 349 + return Date.now(); // 350 +}; // 351 + // 352 +// Start up the basic mount points // 353 +Meteor.startup(function () { // 354 + mountUrls(); // 355 +}); // 356 + // 357 +//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + +}).call(this); + +/////////////////////////////////////////////////////////////////////// + +}).call(this); + + +/* Exports */ +if (typeof Package === 'undefined') Package = {}; +Package['cfs:access-point'] = {}; + +})(); diff --git a/helm/wekan/.helmignore b/helm/wekan/.helmignore new file mode 100644 index 0000000..7c04072 --- /dev/null +++ b/helm/wekan/.helmignore @@ -0,0 +1,22 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*~ +# Various IDEs +.project +.idea/ +*.tmproj +OWNERS diff --git a/helm/wekan/Chart.yaml b/helm/wekan/Chart.yaml new file mode 100644 index 0000000..ffd164b --- /dev/null +++ b/helm/wekan/Chart.yaml @@ -0,0 +1,13 @@ +name: wekan +version: 1.0.0 +appVersion: 2.x.x +kubeVersion: "^1.8.0-0" +description: Open Source kanban +home: https://wekan.github.io/ +icon: https://wekan.github.io/wekan-logo.svg +sources: + - https://github.com/wekan/wekan +maintainers: + - name: technotaff + email: github@randall.cc +engine: gotpl diff --git a/helm/wekan/OWNERS b/helm/wekan/OWNERS new file mode 100644 index 0000000..08f7d5d --- /dev/null +++ b/helm/wekan/OWNERS @@ -0,0 +1,4 @@ +approvers: +- technotaff +reviewers: +- technotaff diff --git a/helm/wekan/README.md b/helm/wekan/README.md new file mode 100644 index 0000000..38cb5fe --- /dev/null +++ b/helm/wekan/README.md @@ -0,0 +1,65 @@ +# Helm Chart for Wekan + +## Features + +o Uses a MongoDB replica set by default - this allows fault-tolerant + and scalable MongoDB deployment (or just set the replicas to 1 for + a single server install) + +o Optional Horizontal Pod Autoscaler (HPA), so that your Wekan pods + will scale automatically with increased CPU load. + +## The configurable values (values.yaml) + +Scaling Wekan: + +```yaml +## Configuration for wekan component +## + +replicaCount: 1 +``` +**replicaCount** Will set the initial number of replicas for the Wekan pod (and container) + +```yaml +## Configure an horizontal pod autoscaler +## +autoscaling: + enabled: true + config: + minReplicas: 1 + maxReplicas: 16 + ## Note: when setting this, a `resources.request.cpu` is required. You + ## likely want to set it to `1` or some lower value. + ## + targetCPUUtilizationPercentage: 80 +``` +This section (if *enabled* is set to **true**) will enable the Kubernetes Horizontal Pod Autoscaler (HPA). + +**minReplicas:** this is the minimum number of pods to scale down to (We recommend setting this to the same value as **replicaCount**). + +**maxReplicas:** this is the maximum number of pods to scale up to. + +**targetCPUUtilizationPercentage:** This is the CPU at which the HPA will scale-out the number of Wekan pods. + +```yaml +mongodb-replicaset: + enabled: true + replicas: 3 + replicaSetName: rs0 + securityContext: + runAsUser: 1000 + fsGroup: 1000 + runAsNonRoot: true +``` + +This section controls the scale of the MongoDB redundant Replica Set. + +**replicas:** This is the number of MongoDB instances to include in the set. You can set this to 1 for a single server - this will still allow you to scale-up later with a helm upgrade. + +### Install OCP route +If you use this chart to deploy Wekan on an OCP cluster, you can create route instead of ingress with following command: + +``` bash +$ helm template --set route.enabled=true,ingress.enabled=false values.yaml . | oc apply -f- +``` diff --git a/helm/wekan/charts/.gitkeep b/helm/wekan/charts/.gitkeep new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/helm/wekan/charts/.gitkeep @@ -0,0 +1 @@ + diff --git a/helm/wekan/requirements.yaml b/helm/wekan/requirements.yaml new file mode 100644 index 0000000..d19fc63 --- /dev/null +++ b/helm/wekan/requirements.yaml @@ -0,0 +1,5 @@ +dependencies: +- name: mongodb-replicaset + version: 3.11.x + repository: "https://kubernetes-charts.storage.googleapis.com/" + condition: mongodb-replicaset.enabled diff --git a/helm/wekan/templates/NOTES.txt b/helm/wekan/templates/NOTES.txt new file mode 100644 index 0000000..8aa2e27 --- /dev/null +++ b/helm/wekan/templates/NOTES.txt @@ -0,0 +1,19 @@ +1. Get the application URL by running these commands: +{{- if .Values.ingress.enabled }} +{{- range .Values.ingress.hosts }} + http{{ if $.Values.ingress.tls }}s{{ end }}://{{ . }}{{ $.Values.ingress.path }} +{{- end }} +{{- else if contains "NodePort" .Values.service.type }} + export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ template "wekan.fullname" . }}) + export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}") + echo http://$NODE_IP:$NODE_PORT +{{- else if contains "LoadBalancer" .Values.service.type }} + NOTE: It may take a few minutes for the LoadBalancer IP to be available. + You can watch the status of by running 'kubectl get svc -w {{ template "wekan.fullname" . }}' + export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "wekan.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}') + echo http://$SERVICE_IP:{{ .Values.service.port }} +{{- else if contains "ClusterIP" .Values.service.type }} + export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app={{ template "wekan.name" . }},release={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") + echo "Visit http://127.0.0.1:8080 to use your application" + kubectl port-forward $POD_NAME 8080:8080 +{{- end }} diff --git a/helm/wekan/templates/_helpers.tpl b/helm/wekan/templates/_helpers.tpl new file mode 100644 index 0000000..7f33330 --- /dev/null +++ b/helm/wekan/templates/_helpers.tpl @@ -0,0 +1,82 @@ +{{/* vim: set filetype=mustache: */}} +{{/* +Expand the name of the chart. +*/}} +{{- define "wekan.name" -}} +{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} +{{- end -}} + +{{/* +Create a default fully qualified app name. +We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). +If release name contains chart name it will be used as a full name. +*/}} +{{- define "wekan.fullname" -}} +{{- if .Values.fullnameOverride -}} +{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} +{{- else -}} +{{- $name := default .Chart.Name .Values.nameOverride -}} +{{- if contains $name .Release.Name -}} +{{- .Release.Name | trunc 63 | trimSuffix "-" -}} +{{- else -}} +{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} +{{- end -}} +{{- end -}} +{{- end -}} + +{{/* +Create a default fully qualified name for the wekan data app. +We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). +*/}} +{{- define "wekan.localdata.fullname" -}} +{{- if .Values.localdata.fullnameOverride -}} +{{- .Values.localdata.fullnameOverride | trunc 63 | trimSuffix "-" -}} +{{- else -}} +{{- $name := default .Chart.Name .Values.nameOverride -}} +{{- if contains $name .Release.Name -}} +{{- printf "%s-localdata" .Release.Name | trunc 63 | trimSuffix "-" -}} +{{- else -}} +{{- printf "%s-%s-localdata" .Release.Name $name | trunc 63 | trimSuffix "-" -}} +{{- end -}} +{{- end -}} +{{- end -}} +{{/* +Create chart name and version as used by the chart label. +*/}} +{{- define "wekan.chart" -}} +{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} +{{- end -}} + +{{/* +Create the name of the service account to use for the api component +*/}} +{{- define "wekan.serviceAccountName" -}} +{{- if .Values.serviceAccounts.create -}} + {{ default (include "wekan.fullname" .) .Values.serviceAccounts.name }} +{{- else -}} + {{ default "default" .Values.serviceAccounts.name }} +{{- end -}} +{{- end -}} + +{{/* +Create a default fully qualified mongodb-replicaset name. +We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). +*/}} +{{- define "wekan.mongodb-replicaset.fullname" -}} +{{- $name := default "mongodb-replicaset" (index .Values "mongodb-replicaset" "nameOverride") -}} +{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} +{{- end -}} + +{{/* +Create the MongoDB URL. If MongoDB is installed as part of this chart, use k8s service discovery, +else use user-provided URL. +*/}} +{{- define "mongodb-replicaset.url" -}} +{{- if (index .Values "mongodb-replicaset" "enabled") -}} +{{- $count := (int (index .Values "mongodb-replicaset" "replicas")) -}} +{{- $release := .Release.Name -}} +mongodb://{{ $release }}-mongodb-replicaset:27017/admin?replicaSet={{ index .Values "mongodb-replicaset" "replicaSetName" }} +{{- else -}} +{{- index .Values "mongodb-replicaset" "url" -}} +{{- end -}} +{{- end -}} diff --git a/helm/wekan/templates/deployment.yaml b/helm/wekan/templates/deployment.yaml new file mode 100644 index 0000000..68dbf75 --- /dev/null +++ b/helm/wekan/templates/deployment.yaml @@ -0,0 +1,64 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: {{ template "wekan.fullname" . }} + labels: + app: {{ template "wekan.name" . }} + chart: {{ template "wekan.chart" . }} + component: wekan + release: {{ .Release.Name }} + heritage: {{ .Release.Service }} +spec: + replicas: {{ .Values.replicaCount }} + selector: + matchLabels: + app: {{ template "wekan.name" . }} + component: wekan + release: {{ .Release.Name }} + template: + metadata: + annotations: + labels: + app: {{ template "wekan.name" . }} + component: wekan + release: {{ .Release.Name }} + spec: + serviceAccountName: {{ template "wekan.serviceAccountName" . }} + containers: + - name: {{ .Chart.Name }} + image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" + imagePullPolicy: {{ .Values.image.pullPolicy }} + terminationMessagePolicy: FallbackToLogsOnError + ports: + - name: http + containerPort: 8080 + env: + - name: ROOT_URL + value: {{ .Values.root_url | default "https://wekan.local" | quote }} + - name: MONGO_URL + value: "{{ template "mongodb-replicaset.url" . }}" + {{- range $key := .Values.env }} + {{- if .value }} + - name: {{ .name }} + value: {{ .value | quote }} + {{- end }} + {{- end }} + livenessProbe: + httpGet: + path: / + port: 8080 + initialDelaySeconds: 60 + resources: +{{ toYaml .Values.resources | indent 12 }} + {{- with .Values.nodeSelector }} + nodeSelector: +{{ toYaml . | indent 8 }} + {{- end }} +{{- if .Values.affinity }} + affinity: +{{ toYaml .Values.affinity | indent 8 }} + {{- end }} + {{- with .Values.tolerations }} + tolerations: +{{ toYaml . | indent 8 }} + {{- end }} diff --git a/helm/wekan/templates/hpa.yaml b/helm/wekan/templates/hpa.yaml new file mode 100644 index 0000000..5c8017c --- /dev/null +++ b/helm/wekan/templates/hpa.yaml @@ -0,0 +1,18 @@ +{{- if .Values.autoscaling.enabled -}} +apiVersion: autoscaling/v1 +kind: HorizontalPodAutoscaler +metadata: + name: {{ template "wekan.fullname" . }} + labels: + app: {{ template "wekan.name" . }} + chart: {{ template "wekan.chart" . }} + component: wekan + heritage: {{ .Release.Service }} + release: {{ .Release.Name }} +spec: + scaleTargetRef: + apiVersion: apps/v1 + kind: Deployment + name: {{ template "wekan.fullname" . }} +{{ toYaml .Values.autoscaling.config | indent 2 }} +{{- end -}} diff --git a/helm/wekan/templates/ingress.yaml b/helm/wekan/templates/ingress.yaml new file mode 100644 index 0000000..dd85ef5 --- /dev/null +++ b/helm/wekan/templates/ingress.yaml @@ -0,0 +1,40 @@ +{{- if .Values.ingress.enabled -}} +{{- $fullName := include "wekan.fullname" . -}} +{{- $servicePort := .Values.service.port -}} +{{- $ingressPath := .Values.ingress.path -}} +apiVersion: extensions/v1beta1 +kind: Ingress +metadata: + name: {{ $fullName }} + labels: + app: {{ template "wekan.name" . }} + chart: {{ template "wekan.chart" . }} + component: wekan + heritage: {{ .Release.Service }} + release: {{ .Release.Name }} +{{- with .Values.ingress.annotations }} + annotations: +{{ toYaml . | indent 4 }} +{{- end }} +spec: +{{- if .Values.ingress.tls }} + tls: + {{- range .Values.ingress.tls }} + - hosts: + {{- range .hosts }} + - {{ . }} + {{- end }} + secretName: {{ .secretName }} + {{- end }} +{{- end }} + rules: + {{- range .Values.ingress.hosts }} + - host: {{ . }} + http: + paths: + - path: {{ $ingressPath }} + backend: + serviceName: {{ $fullName }} + servicePort: 80 + {{- end }} +{{- end }} diff --git a/helm/wekan/templates/route.yaml b/helm/wekan/templates/route.yaml new file mode 100644 index 0000000..9a55591 --- /dev/null +++ b/helm/wekan/templates/route.yaml @@ -0,0 +1,23 @@ +{{- if .Values.route.enabled -}} +{{- $fullName := include "wekan.fullname" . -}} +apiVersion: route.openshift.io/v1 +kind: Route +metadata: + annotations: + haproxy.router.openshift.io/timeout: 4m + openshift.io/host.generated: "true" + labels: + app: {{ template "wekan.name" . }} + service: {{ template "wekan.name" . }} + name: {{ template "wekan.name" . }} +spec: + port: + targetPort: http + tls: + termination: edge + to: + kind: Service + name: {{ template "wekan.name" . }} + weight: 100 + wildcardPolicy: None + {{- end }} \ No newline at end of file diff --git a/helm/wekan/templates/secrets.yaml b/helm/wekan/templates/secrets.yaml new file mode 100644 index 0000000..79ae3d4 --- /dev/null +++ b/helm/wekan/templates/secrets.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: Secret +metadata: + name: {{ template "wekan.fullname" . }} + labels: + app: {{ template "wekan.name" . }} + chart: {{ template "wekan.chart" . }} + component: wekan + heritage: {{ .Release.Service }} + release: {{ .Release.Name }} +type: Opaque +data: + accessKey: {{ .Values.credentials.accessKey | b64enc }} + secretKey: {{ .Values.credentials.secretKey | b64enc }} diff --git a/helm/wekan/templates/service.yaml b/helm/wekan/templates/service.yaml new file mode 100644 index 0000000..6099fae --- /dev/null +++ b/helm/wekan/templates/service.yaml @@ -0,0 +1,25 @@ +apiVersion: v1 +kind: Service +metadata: + {{- if .Values.service.annotations }} + annotations: +{{ toYaml .Values.service.annotations | indent 4 }} + {{- end }} + name: {{ template "wekan.fullname" . }} + labels: + app: {{ template "wekan.name" . }} + chart: {{ template "wekan.chart" . }} + component: wekan + heritage: {{ .Release.Service }} + release: {{ .Release.Name }} +spec: + type: {{ .Values.service.type }} + ports: + - port: {{ .Values.service.port }} + targetPort: http + protocol: TCP + name: http + selector: + app: {{ template "wekan.name" . }} + component: wekan + release: {{ .Release.Name }} diff --git a/helm/wekan/templates/serviceaccount.yaml b/helm/wekan/templates/serviceaccount.yaml new file mode 100644 index 0000000..543e58d --- /dev/null +++ b/helm/wekan/templates/serviceaccount.yaml @@ -0,0 +1,16 @@ +{{- if .Values.serviceAccounts.create }} +apiVersion: v1 +kind: ServiceAccount +metadata: +{{- if .Values.serviceAccounts.annotations }} + annotations: +{{ .Values.serviceAccounts.annotations | indent 4}} +{{- end }} + labels: + app: {{ template "wekan.name" . }} + chart: {{ template "wekan.chart" . }} + component: wekan + heritage: {{ .Release.Service }} + release: {{ .Release.Name }} + name: {{ template "wekan.serviceAccountName" . }} +{{- end }} diff --git a/helm/wekan/templates/tests/test-cloudserver.yaml b/helm/wekan/templates/tests/test-cloudserver.yaml new file mode 100644 index 0000000..a1db728 --- /dev/null +++ b/helm/wekan/templates/tests/test-cloudserver.yaml @@ -0,0 +1,27 @@ +apiVersion: v1 +kind: Pod +metadata: + name: {{ template "wekan.fullname" . }}-test + annotations: + "helm.sh/hook": test-success +spec: + containers: + - name: {{ template "wekan.fullname" . }}-test + imagePullPolicy: IfNotPresent + image: "docker.io/mesosphere/aws-cli:1.14.5" + command: + - sh + - -c + - aws s3 --endpoint-url=http://{{ include "wekan.fullname" . }} --region=us-east-1 ls + env: + - name: AWS_ACCESS_KEY_ID + valueFrom: + secretKeyRef: + name: {{ template "wekan.fullname" . }} + key: accessKey + - name: AWS_SECRET_ACCESS_KEY + valueFrom: + secretKeyRef: + name: {{ template "wekan.fullname" . }} + key: secretKey + restartPolicy: Never diff --git a/helm/wekan/values.yaml b/helm/wekan/values.yaml new file mode 100644 index 0000000..78136af --- /dev/null +++ b/helm/wekan/values.yaml @@ -0,0 +1,116 @@ +# ------------------------------------------------------------------------------ +# Wekan: +# ------------------------------------------------------------------------------ + +## Define serviceAccount names to create or use. Defaults to component's fully +## qualified name. +## +serviceAccounts: + create: true + name: "" + annotations: "" + +## Wekan image configuration +## +image: + repository: quay.io/wekan/wekan + tag: latest + pullPolicy: IfNotPresent + +## Configuration for wekan component +## + +replicaCount: 1 + +## Specify wekan credentials +## +credentials: + accessKey: access-key + secretKey: secret-key + +## Specify additional environmental variables for the Deployment +## +env: + - name: "" + value: "" + +service: + type: NodePort + port: 80 + annotations: {} + # prometheus.io/scrape: "true" + # prometheus.io/port: "8000" + # prometheus.io/path: "/_/monitoring/metrics" + +## Comma-separated string of allowed virtual hosts for external access. +## This should match the ingress hosts +## +endpoint: wekan.local + +ingress: + enabled: true + annotations: {} + # kubernetes.io/ingress.class: nginx + # kubernetes.io/tls-acme: "true" + path: /* + # This must match 'endpoint', unless your client supports different + # hostnames. + hosts: [ wekan.local ] + # - wekan.local + tls: [] + # - secretName: wekan-example-tls + # hosts: + # - wekan-example.local + +route: + enabled: false + +resources: + requests: + memory: 128Mi + cpu: 300m + limits: + memory: 1Gi + cpu: 500m + +## Node labels for pod assignment +## ref: https://kubernetes.io/docs/user-guide/node-selection/ +## +nodeSelector: {} + +## Tolerations for pod assignment +## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ +## +tolerations: [] + +## Affinity for pod assignment +## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity +## +affinity: {} + +## Configure an horizontal pod autoscaler +## +autoscaling: + enabled: true + config: + minReplicas: 1 + maxReplicas: 16 + ## Note: when setting this, a `resources.request.cpu` is required. You + ## likely want to set it to `1` or some lower value. + ## + targetCPUUtilizationPercentage: 80 + +# ------------------------------------------------------------------------------ +# MongoDB: +# ------------------------------------------------------------------------------ + +mongodb-replicaset: + enabled: true + replicas: 3 + replicaSetName: rs0 + securityContext: + runAsUser: 1000 + fsGroup: 1000 + runAsNonRoot: true + #image: + # tag: 3.2.21 diff --git a/i18n/ar.i18n.json b/i18n/ar.i18n.json new file mode 100644 index 0000000..f884b39 --- /dev/null +++ b/i18n/ar.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "قبول", + "act-activity-notify": "اشعار النشاط", + "act-addAttachment": "added attachment __attachment__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteAttachment": "deleted attachment __attachment__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addSubtask": "added subtask __subtask__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addedLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removedLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklist": "added checklist __checklist__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklistItem": "added checklist item __checklistItem__ to checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklist": "removed checklist __checklist__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklistItem": "removed checklist item __checklistItem__ from checklist __checkList__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-checkedItem": "checked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncheckedItem": "unchecked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-completeChecklist": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncompleteChecklist": "uncompleted checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addComment": "commented on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-editComment": "edited comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteComment": "deleted comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createBoard": "created board __board__", + "act-createSwimlane": "created swimlane __swimlane__ to board __board__", + "act-createCard": "created card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-createCustomField": "created custom field __customField__ at board __board__", + "act-deleteCustomField": "deleted custom field __customField__ at board __board__", + "act-setCustomField": "edited custom field __customField__: __customFieldValue__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createList": "added list __list__ to board __board__", + "act-addBoardMember": "added member __member__ to board __board__", + "act-archivedBoard": "Board __board__ moved to Archive", + "act-archivedCard": "Card __card__ at list __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedList": "List __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedSwimlane": "Swimlane __swimlane__ at board __board__ moved to Archive", + "act-importBoard": "imported board __board__", + "act-importCard": "imported card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-importList": "imported list __list__ to swimlane __swimlane__ at board __board__", + "act-joinMember": "added member __member__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-moveCard": "moved card __card__ at board __board__ from list __oldList__ at swimlane __oldSwimlane__ to list __list__ at swimlane __swimlane__", + "act-moveCardToOtherBoard": "moved card __card__ from list __oldList__ at swimlane __oldSwimlane__ at board __oldBoard__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-removeBoardMember": "removed member __member__ from board __board__", + "act-restoredCard": "restored card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-unjoinMember": "removed member __member__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-withBoardTitle": "__لوح__", + "act-withCardTitle": "[__board__] __card__", + "actions": "الإجراءات", + "activities": "الأنشطة", + "activity": "النشاط", + "activity-added": "تمت إضافة %s ل %s", + "activity-archived": "%s انتقل الى الارشيف", + "activity-attached": "إرفاق %s ل %s", + "activity-created": "أنشأ %s", + "activity-customfield-created": "%s احدت حقل مخصص", + "activity-excluded": "استبعاد %s عن %s", + "activity-imported": "imported %s into %s from %s", + "activity-imported-board": "imported %s from %s", + "activity-joined": "انضم %s", + "activity-moved": "تم نقل %s من %s إلى %s", + "activity-on": "على %s", + "activity-removed": "حذف %s إلى %s", + "activity-sent": "إرسال %s إلى %s", + "activity-unjoined": "غادر %s", + "activity-subtask-added": "تم اضافة مهمة فرعية الى %s", + "activity-checked-item": "تحقق %s في قائمة التحقق %s من %s", + "activity-unchecked-item": "ازالة تحقق %s من قائمة التحقق %s من %s", + "activity-checklist-added": "أضاف قائمة تحقق إلى %s", + "activity-checklist-removed": "ازالة قائمة التحقق من %s", + "activity-checklist-completed": "completed checklist %s of %s", + "activity-checklist-uncompleted": "لم يتم انجاز قائمة التحقق %s من %s", + "activity-checklist-item-added": "تم اضافة عنصر قائمة التحقق الى '%s' في %s", + "activity-checklist-item-removed": "تم ازالة عنصر قائمة التحقق الى '%s' في %s", + "add": "أضف", + "activity-checked-item-card": "checked %s in checklist %s", + "activity-unchecked-item-card": "unchecked %s in checklist %s", + "activity-checklist-completed-card": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "activity-checklist-uncompleted-card": "uncompleted the checklist %s", + "activity-editComment": "edited comment %s", + "activity-deleteComment": "تعليق محذوف %s", + "add-attachment": "إضافة مرفق", + "add-board": "إضافة لوحة", + "add-card": "إضافة بطاقة", + "add-swimlane": "Add Swimlane", + "add-subtask": "إضافة مهمة فرعية", + "add-checklist": "إضافة قائمة تدقيق", + "add-checklist-item": "إضافة عنصر إلى قائمة التحقق", + "add-cover": "إضافة غلاف", + "add-label": "إضافة ملصق", + "add-list": "إضافة قائمة", + "add-members": "تعيين أعضاء", + "added": "أُضيف", + "addMemberPopup-title": "الأعضاء", + "admin": "المدير", + "admin-desc": "إمكانية مشاهدة و تعديل و حذف أعضاء ، و تعديل إعدادات اللوحة أيضا.", + "admin-announcement": "إعلان", + "admin-announcement-active": "Active System-Wide Announcement", + "admin-announcement-title": "Announcement from Administrator", + "all-boards": "كل اللوحات", + "and-n-other-card": "And __count__ other بطاقة", + "and-n-other-card_plural": "And __count__ other بطاقات", + "apply": "طبق", + "app-is-offline": "Loading, please wait. Refreshing the page will cause data loss. If loading does not work, please check that server has not stopped.", + "archive": "نقل الى الارشيف", + "archive-all": "نقل الكل الى الارشيف", + "archive-board": "نقل اللوح الى الارشيف", + "archive-card": "نقل البطاقة الى الارشيف", + "archive-list": "نقل القائمة الى الارشيف", + "archive-swimlane": "نقل خط السباحة الى الارشيف", + "archive-selection": "نقل التحديد إلى الأرشيف", + "archiveBoardPopup-title": "نقل الوح إلى الأرشيف", + "archived-items": "أرشيف", + "archived-boards": "الالواح في الأرشيف", + "restore-board": "استعادة اللوحة", + "no-archived-boards": "لا توجد لوحات في الأرشيف.", + "archives": "أرشيف", + "template": "نموذج", + "templates": "نماذج", + "assign-member": "تعيين عضو", + "attached": "أُرفق)", + "attachment": "مرفق", + "attachment-delete-pop": "حذف المرق هو حذف نهائي . لا يمكن التراجع إذا حذف.", + "attachmentDeletePopup-title": "تريد حذف المرفق ?", + "attachments": "المرفقات", + "auto-watch": "مراقبة لوحات تلقائيا عندما يتم إنشاؤها", + "avatar-too-big": "الصورة الرمزية كبيرة جدا (70 كيلوبايت كحد أقصى)", + "back": "رجوع", + "board-change-color": "تغيير اللومr", + "board-nb-stars": "%s نجوم", + "board-not-found": "لوحة مفقودة", + "board-private-info": "سوف تصبح هذه اللوحة خاصة", + "board-public-info": "سوف تصبح هذه اللوحة عامّة.", + "boardChangeColorPopup-title": "تعديل خلفية الشاشة", + "boardChangeTitlePopup-title": "إعادة تسمية اللوحة", + "boardChangeVisibilityPopup-title": "تعديل وضوح الرؤية", + "boardChangeWatchPopup-title": "تغيير المتابعة", + "boardMenuPopup-title": "Board Settings", + "boardChangeViewPopup-title": "عرض اللوحات", + "boards": "لوحات", + "board-view": "عرض اللوحات", + "board-view-cal": "التقويم", + "board-view-swimlanes": "خطوط السباحة", + "board-view-collapse": "Collapse", + "board-view-lists": "القائمات", + "bucket-example": "مثل « todo list » على سبيل المثال", + "cancel": "إلغاء", + "card-archived": "البطاقة منقولة الى الارشيف", + "board-archived": "اللوحات منقولة الى الارشيف", + "card-comments-title": "%s تعليقات لهذه البطاقة", + "card-delete-notice": "هذا حذف أبديّ . سوف تفقد كل الإجراءات المنوطة بهذه البطاقة", + "card-delete-pop": "سيتم إزالة جميع الإجراءات من تبعات النشاط، وأنك لن تكون قادرا على إعادة فتح البطاقة. لا يوجد التراجع.", + "card-delete-suggest-archive": "يمكنك نقل بطاقة إلى الأرشيف لإزالتها من اللوحة والمحافظة على النشاط.", + "card-due": "مستحق", + "card-due-on": "مستحق في", + "card-spent": "امضى وقتا", + "card-edit-attachments": "تعديل المرفقات", + "card-edit-custom-fields": "تعديل الحقل المعدل", + "card-edit-labels": "تعديل العلامات", + "card-edit-members": "تعديل الأعضاء", + "card-labels-title": "تعديل علامات البطاقة.", + "card-members-title": "إضافة او حذف أعضاء للبطاقة.", + "card-start": "بداية", + "card-start-on": "يبدأ في", + "cardAttachmentsPopup-title": "إرفاق من", + "cardCustomField-datePopup-title": "تغير التاريخ", + "cardCustomFieldsPopup-title": "تعديل الحقل المعدل", + "cardStartVotingPopup-title": "ابدأ تصويت", + "positiveVoteMembersPopup-title": "Proponents", + "negativeVoteMembersPopup-title": "Opponents", + "card-edit-voting": "Edit voting", + "editVoteEndDatePopup-title": "Change vote end date", + "allowNonBoardMembers": "Allow all logged in users", + "vote-question": "Voting question", + "vote-public": "Show who voted what", + "vote-for-it": "مع", + "vote-against": "ضد", + "deleteVotePopup-title": "Delete vote?", + "vote-delete-pop": "Deleting is permanent. You will lose all actions associated with this vote.", + "cardDeletePopup-title": "حذف البطاقة ?", + "cardDetailsActionsPopup-title": "إجراءات على البطاقة", + "cardLabelsPopup-title": "علامات", + "cardMembersPopup-title": "أعضاء", + "cardMorePopup-title": "المزيد", + "cardTemplatePopup-title": "Create template", + "cards": "بطاقات", + "cards-count": "بطاقات", + "casSignIn": "تسجيل الدخول مع CAS", + "cardType-card": "بطاقة", + "cardType-linkedCard": "البطاقة المرتبطة", + "cardType-linkedBoard": "Linked Board", + "change": "Change", + "change-avatar": "تعديل الصورة الشخصية", + "change-password": "تغيير كلمة المرور", + "change-permissions": "تعديل الصلاحيات", + "change-settings": "تغيير الاعدادات", + "changeAvatarPopup-title": "تعديل الصورة الشخصية", + "changeLanguagePopup-title": "تغيير اللغة", + "changePasswordPopup-title": "تغيير كلمة المرور", + "changePermissionsPopup-title": "تعديل الصلاحيات", + "changeSettingsPopup-title": "تغيير الاعدادات", + "subtasks": "المهمات الفرعية", + "checklists": "قوائم التّدقيق", + "click-to-star": "اضغط لإضافة اللوحة للمفضلة.", + "click-to-unstar": "اضغط لحذف اللوحة من المفضلة.", + "clipboard": "Clipboard or drag & drop", + "close": "غلق", + "close-board": "غلق اللوحة", + "close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.", + "color-black": "black", + "color-blue": "blue", + "color-crimson": "crimson", + "color-darkgreen": "اخضر غامق", + "color-gold": "ذهبي", + "color-gray": "رمادي", + "color-green": "green", + "color-indigo": "indigo", + "color-lime": "lime", + "color-magenta": "magenta", + "color-mistyrose": "mistyrose", + "color-navy": "navy", + "color-orange": "orange", + "color-paleturquoise": "paleturquoise", + "color-peachpuff": "peachpuff", + "color-pink": "pink", + "color-plum": "plum", + "color-purple": "purple", + "color-red": "red", + "color-saddlebrown": "saddlebrown", + "color-silver": "فضي", + "color-sky": "sky", + "color-slateblue": "slateblue", + "color-white": "أبيض", + "color-yellow": "yellow", + "unset-color": "Unset", + "comment": "تعليق", + "comment-placeholder": "أكتب تعليق", + "comment-only": "التعليق فقط", + "comment-only-desc": "يمكن التعليق على بطاقات فقط.", + "no-comments": "لا يوجد تعليقات", + "no-comments-desc": "Can not see comments and activities.", + "worker": "Worker", + "worker-desc": "Can only move cards, assign itself to card and comment.", + "computer": "حاسوب", + "confirm-subtask-delete-dialog": "Are you sure you want to delete subtask?", + "confirm-checklist-delete-dialog": "Are you sure you want to delete checklist?", + "copy-card-link-to-clipboard": "نسخ رابط البطاقة إلى الحافظة", + "linkCardPopup-title": "ربط البطاقة", + "searchElementPopup-title": "بحث", + "copyCardPopup-title": "نسخ البطاقة", + "copyChecklistToManyCardsPopup-title": "Copy Checklist Template to Many Cards", + "copyChecklistToManyCardsPopup-instructions": "Destination Card Titles and Descriptions in this JSON format", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"First card title\", \"description\":\"First card description\"}, {\"title\":\"Second card title\",\"description\":\"Second card description\"},{\"title\":\"Last card title\",\"description\":\"Last card description\"} ]", + "create": "إنشاء", + "createBoardPopup-title": "إنشاء لوحة", + "chooseBoardSourcePopup-title": "استيراد لوحة", + "createLabelPopup-title": "إنشاء علامة", + "createCustomField": "انشاء حقل", + "createCustomFieldPopup-title": "انشاء حقل", + "current": "الحالي", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-currency": "Currency", + "custom-field-currency-option": "Currency Code", + "custom-field-date": "تاريخ", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "رقم", + "custom-field-text": "نص", + "custom-fields": "Custom Fields", + "date": "تاريخ", + "decline": "Decline", + "default-avatar": "صورة شخصية افتراضية", + "delete": "حذف", + "deleteCustomFieldPopup-title": "Delete Custom Field?", + "deleteLabelPopup-title": "حذف العلامة ?", + "description": "وصف", + "disambiguateMultiLabelPopup-title": "تحديد الإجراء على العلامة", + "disambiguateMultiMemberPopup-title": "تحديد الإجراء على العضو", + "discard": "التخلص منها", + "done": "Done", + "download": "تنزيل", + "edit": "تعديل", + "edit-avatar": "تعديل الصورة الشخصية", + "edit-profile": "تعديل الملف الشخصي", + "edit-wip-limit": "Edit WIP Limit", + "soft-wip-limit": "Soft WIP Limit", + "editCardStartDatePopup-title": "تغيير تاريخ البدء", + "editCardDueDatePopup-title": "تغيير تاريخ الاستحقاق", + "editCustomFieldPopup-title": "Edit Field", + "editCardSpentTimePopup-title": "Change spent time", + "editLabelPopup-title": "تعديل العلامة", + "editNotificationPopup-title": "تصحيح الإشعار", + "editProfilePopup-title": "تعديل الملف الشخصي", + "email": "البريد الإلكتروني", + "email-enrollAccount-subject": "An account created for you on __siteName__", + "email-enrollAccount-text": "Hello __user__,\n\nTo start using the service, simply click the link below.\n\n__url__\n\nThanks.", + "email-fail": "Sending email failed", + "email-fail-text": "Error trying to send email", + "email-invalid": "Invalid email", + "email-invite": "Invite via Email", + "email-invite-subject": "__inviter__ sent you an invitation", + "email-invite-text": "Dear __user__,\n\n__inviter__ invites you to join board \"__board__\" for collaborations.\n\nPlease follow the link below:\n\n__url__\n\nThanks.", + "email-resetPassword-subject": "Reset your password on __siteName__", + "email-resetPassword-text": "Hello __user__,\n\nTo reset your password, simply click the link below.\n\n__url__\n\nThanks.", + "email-sent": "Email sent", + "email-verifyEmail-subject": "Verify your email address on __siteName__", + "email-verifyEmail-text": "Hello __user__,\n\nTo verify your account email, simply click the link below.\n\n__url__\n\nThanks.", + "enable-wip-limit": "Enable WIP Limit", + "error-board-doesNotExist": "This board does not exist", + "error-board-notAdmin": "You need to be admin of this board to do that", + "error-board-notAMember": "You need to be a member of this board to do that", + "error-json-malformed": "Your text is not valid JSON", + "error-json-schema": "Your JSON data does not include the proper information in the correct format", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "This list does not exist", + "error-user-doesNotExist": "This user does not exist", + "error-user-notAllowSelf": "لا يمكنك دعوة نفسك", + "error-user-notCreated": "This user is not created", + "error-username-taken": "إسم المستخدم مأخوذ مسبقا", + "error-email-taken": "البريد الإلكتروني مأخوذ بالفعل", + "export-board": "Export board", + "export-board-json": "Export board to JSON", + "export-board-csv": "Export board to CSV", + "export-board-tsv": "Export board to TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "Export board", + "sort": "Sort", + "sort-desc": "Click to Sort List", + "list-sort-by": "Sort the List By:", + "list-label-modifiedAt": "Last Access Time", + "list-label-title": "Name of the List", + "list-label-sort": "Your Manual Order", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "تصفية", + "filter-cards": "Filter Cards or Lists", + "list-filter-label": "Filter List by Title", + "filter-clear": "مسح التصفية", + "filter-no-label": "لا يوجد ملصق", + "filter-no-member": "ليس هناك أي عضو", + "filter-no-assignee": "No assignee", + "filter-no-custom-fields": "No Custom Fields", + "filter-show-archive": "Show archived lists", + "filter-hide-empty": "Hide empty lists", + "filter-on": "التصفية تشتغل", + "filter-on-desc": "أنت بصدد تصفية بطاقات هذه اللوحة. اضغط هنا لتعديل التصفية.", + "filter-to-selection": "تصفية بالتحديد", + "advanced-filter-label": "Advanced Filter", + "advanced-filter-description": "Advanced Filter allows to write a string containing following operators: == != <= >= && || ( ) A space is used as a separator between the Operators. You can filter for all Custom Fields by typing their names and values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need to encapsulate them into single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) to be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally all operators are interpreted from left to right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i", + "fullname": "الإسم الكامل", + "header-logo-title": "الرجوع إلى صفحة اللوحات", + "hide-system-messages": "إخفاء رسائل النظام", + "headerBarCreateBoardPopup-title": "إنشاء لوحة", + "home": "الرئيسية", + "import": "Import", + "link": "رابط", + "import-board": "استيراد لوحة", + "import-board-c": "استيراد لوحة", + "import-board-title-trello": "Import board from Trello", + "import-board-title-wekan": "Import board from previous export", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "من تريلو", + "from-wekan": "From previous export", + "from-csv": "From CSV/TSV", + "import-board-instruction-trello": "In your Trello board, go to 'Menu', then 'More', 'Print and Export', 'Export JSON', and copy the resulting text", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "In your board, go to 'Menu', then 'Export board', and copy the text in the downloaded file.", + "import-board-instruction-about-errors": "If you get errors when importing board, sometimes importing still works, and board is at All Boards page.", + "import-json-placeholder": "Paste your valid JSON data here", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "رسم خريطة الأعضاء", + "import-members-map": "Your imported board has some members. Please map the members you want to import to your users", + "import-show-user-mapping": "Review members mapping", + "import-user-select": "Pick your existing user you want to use as this member", + "importMapMembersAddPopup-title": "Select member", + "info": "الإصدار", + "initials": "أولية", + "invalid-date": "تاريخ غير صالح", + "invalid-time": "Invalid time", + "invalid-user": "Invalid user", + "joined": "انضمّ", + "just-invited": "You are just invited to this board", + "keyboard-shortcuts": "اختصار لوحة المفاتيح", + "label-create": "إنشاء علامة", + "label-default": "%s علامة (افتراضية)", + "label-delete-pop": "لا يوجد تراجع. سيؤدي هذا إلى إزالة هذه العلامة من جميع بطاقات والقضاء على تأريخها", + "labels": "علامات", + "language": "لغة", + "last-admin-desc": "لا يمكن تعديل الأدوار لأن ذلك يتطلب صلاحيات المدير.", + "leave-board": "مغادرة اللوحة", + "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.", + "leaveBoardPopup-title": "مغادرة اللوحة ؟", + "link-card": "ربط هذه البطاقة", + "list-archive-cards": "Move all cards in this list to Archive", + "list-archive-cards-pop": "This will remove all the cards in this list from the board. To view cards in Archive and bring them back to the board, click “Menu” > “Archive”.", + "list-move-cards": "نقل بطاقات هذه القائمة", + "list-select-cards": "تحديد بطاقات هذه القائمة", + "set-color-list": "Set Color", + "listActionPopup-title": "قائمة الإجراءات", + "swimlaneActionPopup-title": "Swimlane Actions", + "swimlaneAddPopup-title": "Add a Swimlane below", + "listImportCardPopup-title": "Import a Trello card", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "المزيد", + "link-list": "رابط إلى هذه القائمة", + "list-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the list. There is no undo.", + "list-delete-suggest-archive": "You can move a list to Archive to remove it from the board and preserve the activity.", + "lists": "القائمات", + "swimlanes": "خطوط السباحة", + "log-out": "تسجيل الخروج", + "log-in": "تسجيل الدخول", + "loginPopup-title": "تسجيل الدخول", + "memberMenuPopup-title": "أفضليات الأعضاء", + "members": "أعضاء", + "menu": "القائمة", + "move-selection": "Move selection", + "moveCardPopup-title": "نقل البطاقة", + "moveCardToBottom-title": "التحرك إلى القاع", + "moveCardToTop-title": "التحرك إلى الأعلى", + "moveSelectionPopup-title": "Move selection", + "multi-selection": "تحديد أكثر من واحدة", + "multi-selection-on": "Multi-Selection is on", + "muted": "مكتوم", + "muted-info": "You will never be notified of any changes in this board", + "my-boards": "لوحاتي", + "name": "اسم", + "no-archived-cards": "No cards in Archive.", + "no-archived-lists": "No lists in Archive.", + "no-archived-swimlanes": "No swimlanes in Archive.", + "no-results": "لا توجد نتائج", + "normal": "عادي", + "normal-desc": "يمكن مشاهدة و تعديل البطاقات. لا يمكن تغيير إعدادات الضبط.", + "not-accepted-yet": "Invitation not accepted yet", + "notify-participate": "Receive updates to any cards you participate as creater or member", + "notify-watch": "Receive updates to any boards, lists, or cards you’re watching", + "optional": "اختياري", + "or": "or", + "page-maybe-private": "قدتكون هذه الصفحة خاصة . قد تستطيع مشاهدتها ب تسجيل الدخول.", + "page-not-found": "صفحة غير موجودة", + "password": "كلمة المرور", + "paste-or-dragdrop": "to paste, or drag & drop image file to it (image only)", + "participating": "المشاركة", + "preview": "Preview", + "previewAttachedImagePopup-title": "Preview", + "previewClipboardImagePopup-title": "Preview", + "private": "خاص", + "private-desc": "هذه اللوحة خاصة . لا يسمح إلا للأعضاء .", + "profile": "ملف شخصي", + "public": "عامّ", + "public-desc": "هذه اللوحة عامة: مرئية لكلّ من يحصل على الرابط ، و هي مرئية أيضا في محركات البحث مثل جوجل. التعديل مسموح به للأعضاء فقط.", + "quick-access-description": "أضف لوحة إلى المفضلة لإنشاء اختصار في هذا الشريط.", + "remove-cover": "حذف الغلاف", + "remove-from-board": "حذف من اللوحة", + "remove-label": "إزالة التصنيف", + "listDeletePopup-title": "حذف القائمة ؟", + "remove-member": "حذف العضو", + "remove-member-from-card": "حذف من البطاقة", + "remove-member-pop": "حذف __name__ (__username__) من __boardTitle__ ? سيتم حذف هذا العضو من جميع بطاقة اللوحة مع إرسال إشعار له بذاك.", + "removeMemberPopup-title": "حذف العضو ?", + "rename": "إعادة التسمية", + "rename-board": "إعادة تسمية اللوحة", + "restore": "استعادة", + "save": "حفظ", + "search": "بحث", + "rules": "Rules", + "search-cards": "Search from card/list titles, descriptions and custom fields on this board", + "search-example": "Text to search for?", + "select-color": "اختيار اللون", + "set-wip-limit-value": "Set a limit for the maximum number of tasks in this list", + "setWipLimitPopup-title": "Set WIP Limit", + "shortcut-assign-self": "Assign yourself to current card", + "shortcut-autocomplete-emoji": "الإكمال التلقائي للرموز التعبيرية", + "shortcut-autocomplete-members": "الإكمال التلقائي لأسماء الأعضاء", + "shortcut-clear-filters": "مسح التصفيات", + "shortcut-close-dialog": "غلق النافذة", + "shortcut-filter-my-cards": "تصفية بطاقاتي", + "shortcut-show-shortcuts": "عرض قائمة الإختصارات ،تلك", + "shortcut-toggle-filterbar": "Toggle Filter Sidebar", + "shortcut-toggle-sidebar": "إظهار-إخفاء الشريط الجانبي للوحة", + "show-cards-minimum-count": "إظهار عدد البطاقات إذا كانت القائمة تتضمن أكثر من", + "sidebar-open": "فتح الشريط الجانبي", + "sidebar-close": "إغلاق الشريط الجانبي", + "signupPopup-title": "إنشاء حساب", + "star-board-title": "اضغط لإضافة هذه اللوحة إلى المفضلة . سوف يتم إظهارها على رأس بقية اللوحات.", + "starred-boards": "اللوحات المفضلة", + "starred-boards-description": "تعرض اللوحات المفضلة على رأس بقية اللوحات.", + "subscribe": "اشتراك و متابعة", + "team": "فريق", + "this-board": "هذه اللوحة", + "this-card": "هذه البطاقة", + "spent-time-hours": "Spent time (hours)", + "overtime-hours": "وقت اضافي (ساعات)", + "overtime": "وقت اضافي", + "has-overtime-cards": "Has overtime cards", + "has-spenttime-cards": "Has spent time cards", + "time": "الوقت", + "title": "عنوان", + "tracking": "تتبع", + "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "النوع", + "unassign-member": "إلغاء تعيين العضو", + "unsaved-description": "لديك وصف غير محفوظ", + "unwatch": "غير مُشاهد", + "upload": "Upload", + "upload-avatar": "رفع صورة شخصية", + "uploaded-avatar": "تم رفع الصورة الشخصية", + "username": "اسم المستخدم", + "view-it": "شاهدها", + "warn-list-archived": "warning: this card is in an list at Archive", + "watch": "مُشاهد", + "watching": "مشاهدة", + "watching-info": "You will be notified of any change in this board", + "welcome-board": "لوحة التّرحيب", + "welcome-swimlane": "Milestone 1", + "welcome-list1": "المبادئ", + "welcome-list2": "متقدم", + "card-templates-swimlane": "Card Templates", + "list-templates-swimlane": "List Templates", + "board-templates-swimlane": "Board Templates", + "what-to-do": "ماذا تريد أن تنجز?", + "wipLimitErrorPopup-title": "Invalid WIP Limit", + "wipLimitErrorPopup-dialog-pt1": "The number of tasks in this list is higher than the WIP limit you've defined.", + "wipLimitErrorPopup-dialog-pt2": "Please move some tasks out of this list, or set a higher WIP limit.", + "admin-panel": "لوحة التحكم", + "settings": "الإعدادات", + "people": "الناس", + "registration": "تسجيل", + "disable-self-registration": "Disable Self-Registration", + "invite": "دعوة", + "invite-people": "الناس المدعوين", + "to-boards": "إلى اللوحات", + "email-addresses": "عناوين البريد الإلكتروني", + "smtp-host-description": "The address of the SMTP server that handles your emails.", + "smtp-port-description": "The port your SMTP server uses for outgoing emails.", + "smtp-tls-description": "تفعيل دعم TLS من اجل خادم SMTP", + "smtp-host": "مضيف SMTP", + "smtp-port": "منفذ SMTP", + "smtp-username": "اسم المستخدم", + "smtp-password": "كلمة المرور", + "smtp-tls": "دعم التي ال سي", + "send-from": "من", + "send-smtp-test": "Send a test email to yourself", + "invitation-code": "رمز الدعوة", + "email-invite-register-subject": "__inviter__ أرسل دعوة لك", + "email-invite-register-text": "Dear __user__,\n\n__inviter__ invites you to kanban board for collaborations.\n\nPlease follow the link below:\n__url__\n\nAnd your invitation code is: __icode__\n\nThanks.", + "email-smtp-test-subject": "SMTP Test Email", + "email-smtp-test-text": "You have successfully sent an email", + "error-invitation-code-not-exist": "رمز الدعوة غير موجود", + "error-notAuthorized": "أنتَ لا تملك الصلاحيات لرؤية هذه الصفحة.", + "webhook-title": "Webhook Name", + "webhook-token": "Token (Optional for Authentication)", + "outgoing-webhooks": "الويبهوك الصادرة", + "bidirectional-webhooks": "Two-Way Webhooks", + "outgoingWebhooksPopup-title": "الويبهوك الصادرة", + "boardCardTitlePopup-title": "Card Title Filter", + "disable-webhook": "Disable This Webhook", + "global-webhook": "Global Webhooks", + "new-outgoing-webhook": "ويبهوك جديدة ", + "no-name": "(غير معروف)", + "Node_version": "إصدار النود", + "Meteor_version": "Meteor version", + "MongoDB_version": "MongoDB version", + "MongoDB_storage_engine": "MongoDB storage engine", + "MongoDB_Oplog_enabled": "MongoDB Oplog enabled", + "OS_Arch": "معمارية نظام التشغيل", + "OS_Cpus": "استهلاك وحدة المعالجة المركزية لنظام التشغيل", + "OS_Freemem": "الذاكرة الحرة لنظام التشغيل", + "OS_Loadavg": "متوسط حمل نظام التشغيل", + "OS_Platform": "منصة نظام التشغيل", + "OS_Release": "إصدار نظام التشغيل", + "OS_Totalmem": "الذاكرة الكلية لنظام التشغيل", + "OS_Type": "نوع نظام التشغيل", + "OS_Uptime": "مدة تشغيل نظام التشغيل", + "days": "أيام", + "hours": "الساعات", + "minutes": "الدقائق", + "seconds": "الثواني", + "show-field-on-card": "Show this field on card", + "automatically-field-on-card": "Auto create field to all cards", + "showLabel-field-on-card": "Show field label on minicard", + "yes": "نعم", + "no": "لا", + "accounts": "الحسابات", + "accounts-allowEmailChange": "السماح بتغيير البريد الإلكتروني", + "accounts-allowUserNameChange": "Allow Username Change", + "createdAt": "Created at", + "verified": "Verified", + "active": "نشط", + "card-received": "Received", + "card-received-on": "Received on", + "card-end": "End", + "card-end-on": "Ends on", + "editCardReceivedDatePopup-title": "Change received date", + "editCardEndDatePopup-title": "Change end date", + "setCardColorPopup-title": "حدد اللون", + "setCardActionsColorPopup-title": "اختر لوناً", + "setSwimlaneColorPopup-title": "اختر لوناً", + "setListColorPopup-title": "اختر لوناً", + "assigned-by": "Assigned By", + "requested-by": "Requested By", + "board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.", + "delete-board-confirm-popup": "All lists, cards, labels, and activities will be deleted and you won't be able to recover the board contents. There is no undo.", + "boardDeletePopup-title": "Delete Board?", + "delete-board": "Delete Board", + "default-subtasks-board": "Subtasks for __board__ board", + "default": "Default", + "queue": "Queue", + "subtask-settings": "Subtasks Settings", + "card-settings": "Card Settings", + "boardSubtaskSettingsPopup-title": "Board Subtasks Settings", + "boardCardSettingsPopup-title": "Card Settings", + "deposit-subtasks-board": "Deposit subtasks to this board:", + "deposit-subtasks-list": "Landing list for subtasks deposited here:", + "show-parent-in-minicard": "Show parent in minicard:", + "prefix-with-full-path": "Prefix with full path", + "prefix-with-parent": "Prefix with parent", + "subtext-with-full-path": "Subtext with full path", + "subtext-with-parent": "Subtext with parent", + "change-card-parent": "Change card's parent", + "parent-card": "Parent card", + "source-board": "Source board", + "no-parent": "Don't show parent", + "activity-added-label": "added label '%s' to %s", + "activity-removed-label": "removed label '%s' from %s", + "activity-delete-attach": "deleted an attachment from %s", + "activity-added-label-card": "added label '%s'", + "activity-removed-label-card": "removed label '%s'", + "activity-delete-attach-card": "deleted an attachment", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "Rule", + "r-add-trigger": "Add trigger", + "r-add-action": "Add action", + "r-board-rules": "Board rules", + "r-add-rule": "Add rule", + "r-view-rule": "View rule", + "r-delete-rule": "Delete rule", + "r-new-rule-name": "New rule title", + "r-no-rules": "No rules", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "When a card", + "r-is": "is", + "r-is-moved": "is moved", + "r-added-to": "Added to", + "r-removed-from": "Removed from", + "r-the-board": "the board", + "r-list": "list", + "set-filter": "Set Filter", + "r-moved-to": "Moved to", + "r-moved-from": "Moved from", + "r-archived": "Moved to Archive", + "r-unarchived": "Restored from Archive", + "r-a-card": "a card", + "r-when-a-label-is": "When a label is", + "r-when-the-label": "When the label", + "r-list-name": "list name", + "r-when-a-member": "When a member is", + "r-when-the-member": "When the member", + "r-name": "name", + "r-when-a-attach": "When an attachment", + "r-when-a-checklist": "When a checklist is", + "r-when-the-checklist": "When the checklist", + "r-completed": "Completed", + "r-made-incomplete": "Made incomplete", + "r-when-a-item": "When a checklist item is", + "r-when-the-item": "When the checklist item", + "r-checked": "Checked", + "r-unchecked": "Unchecked", + "r-move-card-to": "Move card to", + "r-top-of": "Top of", + "r-bottom-of": "Bottom of", + "r-its-list": "its list", + "r-archive": "نقل الى الارشيف", + "r-unarchive": "Restore from Archive", + "r-card": "card", + "r-add": "أضف", + "r-remove": "Remove", + "r-label": "label", + "r-member": "member", + "r-remove-all": "Remove all members from the card", + "r-set-color": "Set color to", + "r-checklist": "checklist", + "r-check-all": "Check all", + "r-uncheck-all": "Uncheck all", + "r-items-check": "items of checklist", + "r-check": "Check", + "r-uncheck": "Uncheck", + "r-item": "item", + "r-of-checklist": "of checklist", + "r-send-email": "Send an email", + "r-to": "to", + "r-of": "of", + "r-subject": "subject", + "r-rule-details": "Rule details", + "r-d-move-to-top-gen": "Move card to top of its list", + "r-d-move-to-top-spec": "Move card to top of list", + "r-d-move-to-bottom-gen": "Move card to bottom of its list", + "r-d-move-to-bottom-spec": "Move card to bottom of list", + "r-d-send-email": "Send email", + "r-d-send-email-to": "to", + "r-d-send-email-subject": "subject", + "r-d-send-email-message": "message", + "r-d-archive": "Move card to Archive", + "r-d-unarchive": "Restore card from Archive", + "r-d-add-label": "Add label", + "r-d-remove-label": "Remove label", + "r-create-card": "Create new card", + "r-in-list": "in list", + "r-in-swimlane": "in swimlane", + "r-d-add-member": "Add member", + "r-d-remove-member": "Remove member", + "r-d-remove-all-member": "Remove all member", + "r-d-check-all": "Check all items of a list", + "r-d-uncheck-all": "Uncheck all items of a list", + "r-d-check-one": "Check item", + "r-d-uncheck-one": "Uncheck item", + "r-d-check-of-list": "of checklist", + "r-d-add-checklist": "Add checklist", + "r-d-remove-checklist": "Remove checklist", + "r-by": "by", + "r-add-checklist": "Add checklist", + "r-with-items": "with items", + "r-items-list": "item1,item2,item3", + "r-add-swimlane": "Add swimlane", + "r-swimlane-name": "swimlane name", + "r-board-note": "Note: leave a field empty to match every possible value.", + "r-checklist-note": "Note: checklist's items have to be written as comma separated values.", + "r-when-a-card-is-moved": "When a card is moved to another list", + "r-set": "Set", + "r-update": "Update", + "r-datefield": "date field", + "r-df-start-at": "start", + "r-df-due-at": "due", + "r-df-end-at": "end", + "r-df-received-at": "received", + "r-to-current-datetime": "to current date/time", + "r-remove-value-from": "Remove value from", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Authentication method", + "authentication-type": "Authentication type", + "custom-product-name": "Custom Product Name", + "layout": "Layout", + "hide-logo": "Hide Logo", + "add-custom-html-after-body-start": "Add Custom HTML after start", + "add-custom-html-before-body-end": "Add Custom HTML before end", + "error-undefined": "Something went wrong", + "error-ldap-login": "An error occurred while trying to login", + "display-authentication-method": "Display Authentication Method", + "default-authentication-method": "Default Authentication Method", + "duplicate-board": "Duplicate Board", + "people-number": "The number of people is:", + "swimlaneDeletePopup-title": "Delete Swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Restore all", + "delete-all": "Delete all", + "loading": "Loading, please wait.", + "previous_as": "last time was", + "act-a-dueAt": "modified due time to \nWhen: __timeValue__\nWhere: __card__\n previous due was __timeOldValue__", + "act-a-endAt": "modified ending time to __timeValue__ from (__timeOldValue__)", + "act-a-startAt": "modified starting time to __timeValue__ from (__timeOldValue__)", + "act-a-receivedAt": "modified received time to __timeValue__ from (__timeOldValue__)", + "a-dueAt": "modified due time to be", + "a-endAt": "modified ending time to be", + "a-startAt": "modified starting time to be", + "a-receivedAt": "modified received time to be", + "almostdue": "current due time %s is approaching", + "pastdue": "current due time %s is past", + "duenow": "current due time %s is today", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", + "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", + "act-duenow": "was reminding the current due (__timeValue__) of __card__ is now", + "act-atUserComment": "You were mentioned in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Are you sure you want to delete this account? There is no undo.", + "accounts-allowUserDelete": "Allow users to self delete their account", + "hide-minicard-label-text": "Hide minicard label text", + "show-desktop-drag-handles": "Show desktop drag handles", + "assignee": "Assignee", + "cardAssigneesPopup-title": "Assignee", + "addmore-detail": "Add a more detailed description", + "show-on-card": "Show on Card", + "new": "New", + "editUserPopup-title": "Edit User", + "newUserPopup-title": "New User", + "notifications": "Notifications", + "view-all": "View All", + "filter-by-unread": "Filter by Unread", + "mark-all-as-read": "Mark all as read", + "remove-all-read": "Remove all read", + "allow-rename": "Allow Rename", + "allowRenamePopup-title": "Allow Rename", + "start-day-of-week": "Set day of the week start", + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archived", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/bg.i18n.json b/i18n/bg.i18n.json new file mode 100644 index 0000000..3cfe340 --- /dev/null +++ b/i18n/bg.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Приемам", + "act-activity-notify": "Activity Notification", + "act-addAttachment": "added attachment __attachment__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteAttachment": "deleted attachment __attachment__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addSubtask": "added subtask __subtask__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addedLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removedLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklist": "added checklist __checklist__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklistItem": "added checklist item __checklistItem__ to checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklist": "removed checklist __checklist__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklistItem": "removed checklist item __checklistItem__ from checklist __checkList__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-checkedItem": "checked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncheckedItem": "unchecked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-completeChecklist": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncompleteChecklist": "uncompleted checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addComment": "commented on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-editComment": "edited comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteComment": "deleted comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createBoard": "created board __board__", + "act-createSwimlane": "created swimlane __swimlane__ to board __board__", + "act-createCard": "created card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-createCustomField": "created custom field __customField__ at board __board__", + "act-deleteCustomField": "deleted custom field __customField__ at board __board__", + "act-setCustomField": "edited custom field __customField__: __customFieldValue__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createList": "added list __list__ to board __board__", + "act-addBoardMember": "added member __member__ to board __board__", + "act-archivedBoard": "Board __board__ moved to Archive", + "act-archivedCard": "Card __card__ at list __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedList": "List __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedSwimlane": "Swimlane __swimlane__ at board __board__ moved to Archive", + "act-importBoard": "imported board __board__", + "act-importCard": "imported card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-importList": "imported list __list__ to swimlane __swimlane__ at board __board__", + "act-joinMember": "added member __member__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-moveCard": "moved card __card__ at board __board__ from list __oldList__ at swimlane __oldSwimlane__ to list __list__ at swimlane __swimlane__", + "act-moveCardToOtherBoard": "moved card __card__ from list __oldList__ at swimlane __oldSwimlane__ at board __oldBoard__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-removeBoardMember": "removed member __member__ from board __board__", + "act-restoredCard": "restored card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-unjoinMember": "removed member __member__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-withBoardTitle": "__board__ ", + "act-withCardTitle": "[__board__] __card__", + "actions": "Действия", + "activities": "Действия", + "activity": "Дейности", + "activity-added": "добави %s към %s", + "activity-archived": "%s е преместена в Архива", + "activity-attached": "прикачи %s към %s", + "activity-created": "създаде %s", + "activity-customfield-created": "създаде собствено поле %s", + "activity-excluded": "изключи %s от %s", + "activity-imported": "импортира %s в/във %s от %s", + "activity-imported-board": "импортира %s от %s", + "activity-joined": "се присъедини към %s", + "activity-moved": "премести %s от %s в/във %s", + "activity-on": "на %s", + "activity-removed": "премахна %s от %s", + "activity-sent": "изпрати %s до %s", + "activity-unjoined": "вече не е част от %s", + "activity-subtask-added": "добави задача към %s", + "activity-checked-item": "отбеляза%s в списък със задачи %s на %s", + "activity-unchecked-item": "размаркира %s от списък със задачи %s на %s", + "activity-checklist-added": "добави списък със задачи към %s", + "activity-checklist-removed": "премахна списък със задачи от %s", + "activity-checklist-completed": "completed checklist %s of %s", + "activity-checklist-uncompleted": "\"отзавърши\" чеклистта %s в %s", + "activity-checklist-item-added": "добави точка към '%s' в/във %s", + "activity-checklist-item-removed": "премахна точка от '%s' в %s", + "add": "Добави", + "activity-checked-item-card": "отбеляза %s в чеклист %s", + "activity-unchecked-item-card": "размаркира %s в чеклист %s", + "activity-checklist-completed-card": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "activity-checklist-uncompleted-card": "\"отзавърши\" чеклистта %s", + "activity-editComment": "edited comment %s", + "activity-deleteComment": "deleted comment %s", + "add-attachment": "Добави прикачен файл", + "add-board": "Добави Табло", + "add-card": "Добави карта", + "add-swimlane": "Добави коридор", + "add-subtask": "Добави подзадача", + "add-checklist": "Добави списък със задачи", + "add-checklist-item": "Добави точка към списъка със задачи", + "add-cover": "Добави корица", + "add-label": "Добави етикет", + "add-list": "Добави списък", + "add-members": "Добави членове", + "added": "Добавено", + "addMemberPopup-title": "Членове", + "admin": "Администратор", + "admin-desc": "Can view and edit cards, remove members, and change settings for the board.", + "admin-announcement": "Съобщение", + "admin-announcement-active": "Active System-Wide Announcement", + "admin-announcement-title": "Съобщение от администратора", + "all-boards": "Всички табла", + "and-n-other-card": "И __count__ друга карта", + "and-n-other-card_plural": "И __count__ други карти", + "apply": "Приложи", + "app-is-offline": "Loading, please wait. Refreshing the page will cause data loss. If loading does not work, please check that server has not stopped.", + "archive": "Премести в Архива", + "archive-all": "Премести всички в Архива", + "archive-board": "Премести Таблото в Архива", + "archive-card": "Премести Картата в Архива", + "archive-list": "Премести Списъка в Архива", + "archive-swimlane": "Премести Коридора в Архива", + "archive-selection": "Премести избраното в Архива", + "archiveBoardPopup-title": "Да преместя ли Таблото в Архива?", + "archived-items": "Архив", + "archived-boards": "Табла в Архива", + "restore-board": "Възстанови Таблото", + "no-archived-boards": "Няма Табла в Архива.", + "archives": "Архив", + "template": "Template", + "templates": "Templates", + "assign-member": "Възложи на член от екипа", + "attached": "прикачен", + "attachment": "Прикаченн файл", + "attachment-delete-pop": "Изтриването на прикачен файл е завинаги. Няма как да бъде възстановен.", + "attachmentDeletePopup-title": "Желаете ли да изтриете прикачения файл?", + "attachments": "Прикачени файлове", + "auto-watch": "Автоматично наблюдаване на таблата, когато са създадени", + "avatar-too-big": "Аватарът е прекалено голям (максимум 70KB)", + "back": "Назад", + "board-change-color": "Промени цвета", + "board-nb-stars": "%s звезди", + "board-not-found": "Таблото не е намерено", + "board-private-info": "This board will be private.", + "board-public-info": "This board will be public.", + "boardChangeColorPopup-title": "Change Board Background", + "boardChangeTitlePopup-title": "Промени името на Таблото", + "boardChangeVisibilityPopup-title": "Change Visibility", + "boardChangeWatchPopup-title": "Промени наблюдаването", + "boardMenuPopup-title": "Board Settings", + "boardChangeViewPopup-title": "Board View", + "boards": "Табла", + "board-view": "Board View", + "board-view-cal": "Календар", + "board-view-swimlanes": "Коридори", + "board-view-collapse": "Collapse", + "board-view-lists": "Списъци", + "bucket-example": "Like “Bucket List” for example", + "cancel": "Cancel", + "card-archived": "Тази карта е преместена в Архива.", + "board-archived": "Това табло е преместено в Архива.", + "card-comments-title": "Тази карта има %s коментар.", + "card-delete-notice": "Deleting is permanent. You will lose all actions associated with this card.", + "card-delete-pop": "All actions will be removed from the activity feed and you won't be able to re-open the card. There is no undo.", + "card-delete-suggest-archive": "Можете да преместите картата в Архива, за да я премахнете от Таблото и така да запазите активността в него.", + "card-due": "Готова за", + "card-due-on": "Готова за", + "card-spent": "Изработено време", + "card-edit-attachments": "Промени прикачените файлове", + "card-edit-custom-fields": "Промени собствените полета", + "card-edit-labels": "Промени етикетите", + "card-edit-members": "Промени членовете", + "card-labels-title": "Промени етикетите за картата.", + "card-members-title": "Добави или премахни членове на Таблото от тази карта.", + "card-start": "Начало", + "card-start-on": "Започва на", + "cardAttachmentsPopup-title": "Прикачи от", + "cardCustomField-datePopup-title": "Промени датата", + "cardCustomFieldsPopup-title": "Промени собствените полета", + "cardStartVotingPopup-title": "Start a vote", + "positiveVoteMembersPopup-title": "Proponents", + "negativeVoteMembersPopup-title": "Opponents", + "card-edit-voting": "Edit voting", + "editVoteEndDatePopup-title": "Change vote end date", + "allowNonBoardMembers": "Allow all logged in users", + "vote-question": "Voting question", + "vote-public": "Show who voted what", + "vote-for-it": "for it", + "vote-against": "against", + "deleteVotePopup-title": "Delete vote?", + "vote-delete-pop": "Deleting is permanent. You will lose all actions associated with this vote.", + "cardDeletePopup-title": "Желаете да изтриете картата?", + "cardDetailsActionsPopup-title": "Опции", + "cardLabelsPopup-title": "Етикети", + "cardMembersPopup-title": "Членове", + "cardMorePopup-title": "Още", + "cardTemplatePopup-title": "Create template", + "cards": "Карти", + "cards-count": "Карти", + "casSignIn": "Sign In with CAS", + "cardType-card": "Карта", + "cardType-linkedCard": "Свързана карта", + "cardType-linkedBoard": "Свързано табло", + "change": "Промени", + "change-avatar": "Промени аватара", + "change-password": "Промени паролата", + "change-permissions": "Промени правата", + "change-settings": "Промени настройките", + "changeAvatarPopup-title": "Промени аватара", + "changeLanguagePopup-title": "Промени езика", + "changePasswordPopup-title": "Промени паролата", + "changePermissionsPopup-title": "Промени правата", + "changeSettingsPopup-title": "Промяна на настройките", + "subtasks": "Подзадачи", + "checklists": "Списъци със задачи", + "click-to-star": "Click to star this board.", + "click-to-unstar": "Натиснете, за да премахнете това табло от любими.", + "clipboard": "Клипборда или с драг & дроп", + "close": "Затвори", + "close-board": "Затвори Таблото", + "close-board-pop": "Ще можете да възстановите Таблото като натиснете на бутона \"Архив\" в началото на хедъра.", + "color-black": "черно", + "color-blue": "синьо", + "color-crimson": "crimson", + "color-darkgreen": "darkgreen", + "color-gold": "gold", + "color-gray": "gray", + "color-green": "зелено", + "color-indigo": "indigo", + "color-lime": "лайм", + "color-magenta": "magenta", + "color-mistyrose": "mistyrose", + "color-navy": "navy", + "color-orange": "оранжево", + "color-paleturquoise": "paleturquoise", + "color-peachpuff": "peachpuff", + "color-pink": "розово", + "color-plum": "plum", + "color-purple": "пурпурно", + "color-red": "червено", + "color-saddlebrown": "saddlebrown", + "color-silver": "silver", + "color-sky": "светло синьо", + "color-slateblue": "slateblue", + "color-white": "бяло", + "color-yellow": "жълто", + "unset-color": "Unset", + "comment": "Коментирай", + "comment-placeholder": "Напиши коментар", + "comment-only": "Само коментар", + "comment-only-desc": "Може да коментира само в карти.", + "no-comments": "Няма коментари", + "no-comments-desc": "Can not see comments and activities.", + "worker": "Worker", + "worker-desc": "Can only move cards, assign itself to card and comment.", + "computer": "Компютър", + "confirm-subtask-delete-dialog": "Сигурен ли сте, че искате да изтриете подзадачата?", + "confirm-checklist-delete-dialog": "Сигурни ли сте, че искате да изтриете този чеклист?", + "copy-card-link-to-clipboard": "Копирай връзката на картата в клипборда", + "linkCardPopup-title": "Свържи картата", + "searchElementPopup-title": "Търсене", + "copyCardPopup-title": "Копирай картата", + "copyChecklistToManyCardsPopup-title": "Копирай чеклисти в други карти", + "copyChecklistToManyCardsPopup-instructions": "Destination Card Titles and Descriptions in this JSON format", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"First card title\", \"description\":\"First card description\"}, {\"title\":\"Second card title\",\"description\":\"Second card description\"},{\"title\":\"Last card title\",\"description\":\"Last card description\"} ]", + "create": "Създай", + "createBoardPopup-title": "Създай Табло", + "chooseBoardSourcePopup-title": "Импортирай Табло", + "createLabelPopup-title": "Създай Табло", + "createCustomField": "Създай Поле", + "createCustomFieldPopup-title": "Създай Поле", + "current": "сегашен", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Чекбокс", + "custom-field-currency": "Currency", + "custom-field-currency-option": "Currency Code", + "custom-field-date": "Дата", + "custom-field-dropdown": "Падащо меню", + "custom-field-dropdown-none": "(няма)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Номер", + "custom-field-text": "Текст", + "custom-fields": "Собствени полета", + "date": "Дата", + "decline": "Отказ", + "default-avatar": "Основен аватар", + "delete": "Изтрий", + "deleteCustomFieldPopup-title": "Изтриване на Собственото поле?", + "deleteLabelPopup-title": "Желаете да изтриете етикета?", + "description": "Описание", + "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", + "disambiguateMultiMemberPopup-title": "Disambiguate Member Action", + "discard": "Отказ", + "done": "Готово", + "download": "Сваляне", + "edit": "Промени", + "edit-avatar": "Промени аватара", + "edit-profile": "Промяна на профила", + "edit-wip-limit": "Промени WIP лимита", + "soft-wip-limit": "\"Мек\" WIP лимит", + "editCardStartDatePopup-title": "Промени началната дата", + "editCardDueDatePopup-title": "Промени датата за готовност", + "editCustomFieldPopup-title": "Промени Полето", + "editCardSpentTimePopup-title": "Промени изработеното време", + "editLabelPopup-title": "Промяна на Етикета", + "editNotificationPopup-title": "Промени известията", + "editProfilePopup-title": "Промяна на профила", + "email": "Имейл", + "email-enrollAccount-subject": "Ваш профил беше създаден на __siteName__", + "email-enrollAccount-text": "Hello __user__,\n\nTo start using the service, simply click the link below.\n\n__url__\n\nThanks.", + "email-fail": "Неуспешно изпращане на имейла", + "email-fail-text": "Възникна грешка при изпращането на имейла", + "email-invalid": "Невалиден имейл", + "email-invite": "Покани чрез имейл", + "email-invite-subject": "__inviter__ sent you an invitation", + "email-invite-text": "Dear __user__,\n\n__inviter__ invites you to join board \"__board__\" for collaborations.\n\nPlease follow the link below:\n\n__url__\n\nThanks.", + "email-resetPassword-subject": "Reset your password on __siteName__", + "email-resetPassword-text": "Hello __user__,\n\nTo reset your password, simply click the link below.\n\n__url__\n\nThanks.", + "email-sent": "Имейлът е изпратен", + "email-verifyEmail-subject": "Verify your email address on __siteName__", + "email-verifyEmail-text": "Hello __user__,\n\nTo verify your account email, simply click the link below.\n\n__url__\n\nThanks.", + "enable-wip-limit": "Включи WIP лимита", + "error-board-doesNotExist": "Това табло не съществува", + "error-board-notAdmin": "За да направите това трябва да сте администратор на това табло", + "error-board-notAMember": "За да направите това трябва да сте член на това табло", + "error-json-malformed": "Текстът Ви не е валиден JSON", + "error-json-schema": "JSON информацията Ви не съдържа информация във валиден формат", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "Този списък не съществува", + "error-user-doesNotExist": "Този потребител не съществува", + "error-user-notAllowSelf": "Не можете да поканите себе си", + "error-user-notCreated": "Този потребител не е създаден", + "error-username-taken": "Това потребителско име е вече заето", + "error-email-taken": "Имейлът е вече зает", + "export-board": "Експортиране на Табло", + "export-board-json": "Export board to JSON", + "export-board-csv": "Export board to CSV", + "export-board-tsv": "Export board to TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "Експортиране на Табло", + "sort": "Sort", + "sort-desc": "Click to Sort List", + "list-sort-by": "Sort the List By:", + "list-label-modifiedAt": "Last Access Time", + "list-label-title": "Name of the List", + "list-label-sort": "Your Manual Order", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Филтър", + "filter-cards": "Filter Cards or Lists", + "list-filter-label": "Filter List by Title", + "filter-clear": "Премахване на филтрите", + "filter-no-label": "без етикет", + "filter-no-member": "без член", + "filter-no-assignee": "No assignee", + "filter-no-custom-fields": "Няма Собствени полета", + "filter-show-archive": "Show archived lists", + "filter-hide-empty": "Hide empty lists", + "filter-on": "Има приложени филтри", + "filter-on-desc": "В момента филтрирате картите в това табло. Моля, натиснете тук, за да промените филтъра.", + "filter-to-selection": "Филтрирай избраните", + "advanced-filter-label": "Advanced Filter", + "advanced-filter-description": "Advanced Filter allows to write a string containing following operators: == != <= >= && || ( ) A space is used as a separator between the Operators. You can filter for all Custom Fields by typing their names and values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need to encapsulate them into single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) to be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally all operators are interpreted from left to right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i", + "fullname": "Име", + "header-logo-title": "Назад към страницата с Вашите табла.", + "hide-system-messages": "Скриване на системните съобщения", + "headerBarCreateBoardPopup-title": "Създай Табло", + "home": "Начало", + "import": "Импорт", + "link": "Връзка", + "import-board": "Импортирай Табло", + "import-board-c": "Импортирай Табло", + "import-board-title-trello": "Импорт на табло от Trello", + "import-board-title-wekan": "Import board from previous export", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "От Trello", + "from-wekan": "From previous export", + "from-csv": "From CSV/TSV", + "import-board-instruction-trello": "In your Trello board, go to 'Menu', then 'More', 'Print and Export', 'Export JSON', and copy the resulting text.", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "In your board, go to 'Menu', then 'Export board', and copy the text in the downloaded file.", + "import-board-instruction-about-errors": "If you get errors when importing board, sometimes importing still works, and board is at All Boards page.", + "import-json-placeholder": "Копирайте валидната Ви JSON информация тук", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "Map members", + "import-members-map": "Your imported board has some members. Please map the members you want to import to your users", + "import-show-user-mapping": "Review members mapping", + "import-user-select": "Pick your existing user you want to use as this member", + "importMapMembersAddPopup-title": "Select member", + "info": "Версия", + "initials": "Инициали", + "invalid-date": "Невалидна дата", + "invalid-time": "Невалиден час", + "invalid-user": "Невалиден потребител", + "joined": "присъедини ", + "just-invited": "Бяхте поканени в това табло", + "keyboard-shortcuts": "Преки пътища с клавиатурата", + "label-create": "Създай етикет", + "label-default": "%s етикет (по подразбиране)", + "label-delete-pop": "There is no undo. This will remove this label from all cards and destroy its history.", + "labels": "Етикети", + "language": "Език", + "last-admin-desc": "You can’t change roles because there must be at least one admin.", + "leave-board": "Leave Board", + "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.", + "leaveBoardPopup-title": "Leave Board ?", + "link-card": "Връзка към тази карта", + "list-archive-cards": "Премести всички карти от този списък в Архива", + "list-archive-cards-pop": "Това ще премахне всички карти от този Списък от Таблото. За да видите картите в Архива и да ги върнете натиснете на \"Меню\" > \"Архив\".", + "list-move-cards": "Премести всички карти в този списък", + "list-select-cards": "Избери всички карти в този списък", + "set-color-list": "Set Color", + "listActionPopup-title": "List Actions", + "swimlaneActionPopup-title": "Swimlane Actions", + "swimlaneAddPopup-title": "Add a Swimlane below", + "listImportCardPopup-title": "Импорт на карта от Trello", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "Още", + "link-list": "Връзка към този списък", + "list-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the list. There is no undo.", + "list-delete-suggest-archive": "Можете да преместите списъка в Архива, за да го премахнете от Таблото и така да запазите активността в него.", + "lists": "Списъци", + "swimlanes": "Коридори", + "log-out": "Изход", + "log-in": "Вход", + "loginPopup-title": "Вход", + "memberMenuPopup-title": "Настройки на профила", + "members": "Членове", + "menu": "Меню", + "move-selection": "Move selection", + "moveCardPopup-title": "Премести картата", + "moveCardToBottom-title": "Премести в края", + "moveCardToTop-title": "Премести в началото", + "moveSelectionPopup-title": "Move selection", + "multi-selection": "Множествен избор", + "multi-selection-on": "Множественият избор е приложен", + "muted": "Muted", + "muted-info": "You will never be notified of any changes in this board", + "my-boards": "Моите табла", + "name": "Име", + "no-archived-cards": "Няма карти в Архива.", + "no-archived-lists": "Няма списъци в Архива.", + "no-archived-swimlanes": "Няма коридори в Архива.", + "no-results": "No results", + "normal": "Normal", + "normal-desc": "Can view and edit cards. Can't change settings.", + "not-accepted-yet": "Invitation not accepted yet", + "notify-participate": "Получавате информация за всички карти, в които сте отбелязани или сте създали", + "notify-watch": "Получавате информация за всички табла, списъци и карти, които наблюдавате", + "optional": "optional", + "or": "или", + "page-maybe-private": "This page may be private. You may be able to view it by logging in.", + "page-not-found": "Page not found.", + "password": "Парола", + "paste-or-dragdrop": "to paste, or drag & drop image file to it (image only)", + "participating": "Participating", + "preview": "Preview", + "previewAttachedImagePopup-title": "Preview", + "previewClipboardImagePopup-title": "Preview", + "private": "Private", + "private-desc": "This board is private. Only people added to the board can view and edit it.", + "profile": "Профил", + "public": "Public", + "public-desc": "This board is public. It's visible to anyone with the link and will show up in search engines like Google. Only people added to the board can edit.", + "quick-access-description": "Star a board to add a shortcut in this bar.", + "remove-cover": "Remove Cover", + "remove-from-board": "Remove from Board", + "remove-label": "Remove Label", + "listDeletePopup-title": "Желаете да изтриете списъка?", + "remove-member": "Премахни член", + "remove-member-from-card": "Премахни от картата", + "remove-member-pop": "Remove __name__ (__username__) from __boardTitle__? The member will be removed from all cards on this board. They will receive a notification.", + "removeMemberPopup-title": "Remove Member?", + "rename": "Rename", + "rename-board": "Промени името на Таблото", + "restore": "Възстанови", + "save": "Запази", + "search": "Търсене", + "rules": "Правила", + "search-cards": "Search from card/list titles, descriptions and custom fields on this board", + "search-example": "Text to search for?", + "select-color": "Избери цвят", + "set-wip-limit-value": "Set a limit for the maximum number of tasks in this list", + "setWipLimitPopup-title": "Въведи WIP лимит", + "shortcut-assign-self": "Добави себе си към тази карта", + "shortcut-autocomplete-emoji": "Autocomplete emoji", + "shortcut-autocomplete-members": "Autocomplete members", + "shortcut-clear-filters": "Изчистване на всички филтри", + "shortcut-close-dialog": "Close Dialog", + "shortcut-filter-my-cards": "Филтрирай моите карти", + "shortcut-show-shortcuts": "Bring up this shortcuts list", + "shortcut-toggle-filterbar": "Отвори/затвори сайдбара с филтри", + "shortcut-toggle-sidebar": "Toggle Board Sidebar", + "show-cards-minimum-count": "Покажи бройката на картите, ако списъка съдържа повече от", + "sidebar-open": "Open Sidebar", + "sidebar-close": "Close Sidebar", + "signupPopup-title": "Create an Account", + "star-board-title": "Click to star this board. It will show up at top of your boards list.", + "starred-boards": "Любими табла", + "starred-boards-description": "Любимите табла се показват в началото на списъка Ви.", + "subscribe": "Subscribe", + "team": "Team", + "this-board": "това табло", + "this-card": "картата", + "spent-time-hours": "Изработено време (часа)", + "overtime-hours": "Оувъртайм (часа)", + "overtime": "Оувъртайм", + "has-overtime-cards": "Има карти с оувъртайм", + "has-spenttime-cards": "Има карти с изработено време", + "time": "Време", + "title": "Title", + "tracking": "Следене", + "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", + "unassign-member": "Unassign member", + "unsaved-description": "You have an unsaved description.", + "unwatch": "Спри наблюдаването", + "upload": "Upload", + "upload-avatar": "Качване на аватар", + "uploaded-avatar": "Качихте аватар", + "username": "Потребителско име", + "view-it": "View it", + "warn-list-archived": "внимание: тази карта е в списък в Архива", + "watch": "Наблюдавай", + "watching": "Наблюдава", + "watching-info": "You will be notified of any change in this board", + "welcome-board": "Welcome Board", + "welcome-swimlane": "Milestone 1", + "welcome-list1": "Basics", + "welcome-list2": "Advanced", + "card-templates-swimlane": "Card Templates", + "list-templates-swimlane": "List Templates", + "board-templates-swimlane": "Board Templates", + "what-to-do": "What do you want to do?", + "wipLimitErrorPopup-title": "Невалиден WIP лимит", + "wipLimitErrorPopup-dialog-pt1": "The number of tasks in this list is higher than the WIP limit you've defined.", + "wipLimitErrorPopup-dialog-pt2": "Моля, преместете някои от задачите от този списък или въведете по-висок WIP лимит.", + "admin-panel": "Администраторски панел", + "settings": "Настройки", + "people": "Хора", + "registration": "Регистрация", + "disable-self-registration": "Disable Self-Registration", + "invite": "Покани", + "invite-people": "Покани хора", + "to-boards": "в табло/а", + "email-addresses": "Имейл адреси", + "smtp-host-description": "Адресът на SMTP сървъра, който обслужва Вашите имейли.", + "smtp-port-description": "Портът, който Вашият SMTP сървър използва за изходящи имейли.", + "smtp-tls-description": "Разреши TLS поддръжка за SMTP сървъра", + "smtp-host": "SMTP хост", + "smtp-port": "SMTP порт", + "smtp-username": "Потребителско име", + "smtp-password": "Парола", + "smtp-tls": "TLS поддръжка", + "send-from": "От", + "send-smtp-test": "Изпрати тестов имейл на себе си", + "invitation-code": "Invitation Code", + "email-invite-register-subject": "__inviter__ sent you an invitation", + "email-invite-register-text": "Dear __user__,\n\n__inviter__ invites you to kanban board for collaborations.\n\nPlease follow the link below:\n__url__\n\nAnd your invitation code is: __icode__\n\nThanks.", + "email-smtp-test-subject": "SMTP Test Email", + "email-smtp-test-text": "Успешно изпратихте имейл", + "error-invitation-code-not-exist": "Invitation code doesn't exist", + "error-notAuthorized": "You are not authorized to view this page.", + "webhook-title": "Webhook Name", + "webhook-token": "Token (Optional for Authentication)", + "outgoing-webhooks": "Outgoing Webhooks", + "bidirectional-webhooks": "Two-Way Webhooks", + "outgoingWebhooksPopup-title": "Outgoing Webhooks", + "boardCardTitlePopup-title": "Card Title Filter", + "disable-webhook": "Disable This Webhook", + "global-webhook": "Global Webhooks", + "new-outgoing-webhook": "New Outgoing Webhook", + "no-name": "(Unknown)", + "Node_version": "Версия на Node", + "Meteor_version": "Meteor version", + "MongoDB_version": "MongoDB version", + "MongoDB_storage_engine": "MongoDB storage engine", + "MongoDB_Oplog_enabled": "MongoDB Oplog enabled", + "OS_Arch": "Архитектура на ОС", + "OS_Cpus": "Брой CPU ядра", + "OS_Freemem": "Свободна памет", + "OS_Loadavg": "ОС средно натоварване", + "OS_Platform": "ОС платформа", + "OS_Release": "ОС Версия", + "OS_Totalmem": "ОС Общо памет", + "OS_Type": "Тип ОС", + "OS_Uptime": "OS Ъптайм", + "days": "дни", + "hours": "часа", + "minutes": "минути", + "seconds": "секунди", + "show-field-on-card": "Покажи това поле в картата", + "automatically-field-on-card": "Auto create field to all cards", + "showLabel-field-on-card": "Show field label on minicard", + "yes": "Да", + "no": "Не", + "accounts": "Профили", + "accounts-allowEmailChange": "Разреши промяна на имейла", + "accounts-allowUserNameChange": "Allow Username Change", + "createdAt": "Създаден на", + "verified": "Потвърден", + "active": "Активен", + "card-received": "Получена", + "card-received-on": "Получена на", + "card-end": "Завършена", + "card-end-on": "Завършена на", + "editCardReceivedDatePopup-title": "Промени датата на получаване", + "editCardEndDatePopup-title": "Промени датата на завършване", + "setCardColorPopup-title": "Set color", + "setCardActionsColorPopup-title": "Choose a color", + "setSwimlaneColorPopup-title": "Choose a color", + "setListColorPopup-title": "Choose a color", + "assigned-by": "Разпределена от", + "requested-by": "Поискан от", + "board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.", + "delete-board-confirm-popup": "All lists, cards, labels, and activities will be deleted and you won't be able to recover the board contents. There is no undo.", + "boardDeletePopup-title": "Изтриване на Таблото?", + "delete-board": "Изтрий таблото", + "default-subtasks-board": "Подзадачи за табло __board__", + "default": "по подразбиране", + "queue": "Опашка", + "subtask-settings": "Настройки на Подзадачите", + "card-settings": "Card Settings", + "boardSubtaskSettingsPopup-title": "Настройки за Подзадачите за това Табло", + "boardCardSettingsPopup-title": "Card Settings", + "deposit-subtasks-board": "Deposit subtasks to this board:", + "deposit-subtasks-list": "Landing list for subtasks deposited here:", + "show-parent-in-minicard": "Show parent in minicard:", + "prefix-with-full-path": "Prefix with full path", + "prefix-with-parent": "Prefix with parent", + "subtext-with-full-path": "Subtext with full path", + "subtext-with-parent": "Subtext with parent", + "change-card-parent": "Промени източника на картата", + "parent-card": "Карта-източник", + "source-board": "Source board", + "no-parent": "Не показвай източника", + "activity-added-label": "добави етикет '%s' към %s", + "activity-removed-label": "премахна етикет '%s' от %s", + "activity-delete-attach": "изтри прикачен файл от %s", + "activity-added-label-card": "добави етикет '%s'", + "activity-removed-label-card": "премахна етикет '%s'", + "activity-delete-attach-card": "изтри прикачения файл", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "Правило", + "r-add-trigger": "Добави спусък", + "r-add-action": "Добави действие", + "r-board-rules": "Правила за таблото", + "r-add-rule": "Добави правилото", + "r-view-rule": "Виж правилото", + "r-delete-rule": "Изтрий правилото", + "r-new-rule-name": "Заглавие за новото правило", + "r-no-rules": "Няма правила", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "Когато карта", + "r-is": "е", + "r-is-moved": "преместена", + "r-added-to": "Added to", + "r-removed-from": "премахната от", + "r-the-board": "таблото", + "r-list": "списък", + "set-filter": "Set Filter", + "r-moved-to": "Moved to", + "r-moved-from": "Moved from", + "r-archived": "Преместено в Архива", + "r-unarchived": "Възстановено от Архива", + "r-a-card": "карта", + "r-when-a-label-is": "When a label is", + "r-when-the-label": "When the label", + "r-list-name": "list name", + "r-when-a-member": "When a member is", + "r-when-the-member": "When the member", + "r-name": "име", + "r-when-a-attach": "When an attachment", + "r-when-a-checklist": "When a checklist is", + "r-when-the-checklist": "When the checklist", + "r-completed": "Completed", + "r-made-incomplete": "Made incomplete", + "r-when-a-item": "When a checklist item is", + "r-when-the-item": "When the checklist item", + "r-checked": "Checked", + "r-unchecked": "Unchecked", + "r-move-card-to": "Премести картата в", + "r-top-of": "началото на", + "r-bottom-of": "края на", + "r-its-list": "списъка й", + "r-archive": "Премести в Архива", + "r-unarchive": "Възстанови от Архива", + "r-card": "карта", + "r-add": "Добави", + "r-remove": "Remove", + "r-label": "label", + "r-member": "member", + "r-remove-all": "Remove all members from the card", + "r-set-color": "Set color to", + "r-checklist": "checklist", + "r-check-all": "Check all", + "r-uncheck-all": "Uncheck all", + "r-items-check": "items of checklist", + "r-check": "Check", + "r-uncheck": "Uncheck", + "r-item": "item", + "r-of-checklist": "of checklist", + "r-send-email": "Send an email", + "r-to": "to", + "r-of": "of", + "r-subject": "subject", + "r-rule-details": "Детайли за правилото", + "r-d-move-to-top-gen": "Move card to top of its list", + "r-d-move-to-top-spec": "Move card to top of list", + "r-d-move-to-bottom-gen": "Move card to bottom of its list", + "r-d-move-to-bottom-spec": "Move card to bottom of list", + "r-d-send-email": "Send email", + "r-d-send-email-to": "to", + "r-d-send-email-subject": "subject", + "r-d-send-email-message": "message", + "r-d-archive": "Премести картата в Архива", + "r-d-unarchive": "Възстанови картата от Архива", + "r-d-add-label": "Add label", + "r-d-remove-label": "Remove label", + "r-create-card": "Create new card", + "r-in-list": "in list", + "r-in-swimlane": "in swimlane", + "r-d-add-member": "Add member", + "r-d-remove-member": "Remove member", + "r-d-remove-all-member": "Remove all member", + "r-d-check-all": "Check all items of a list", + "r-d-uncheck-all": "Uncheck all items of a list", + "r-d-check-one": "Check item", + "r-d-uncheck-one": "Uncheck item", + "r-d-check-of-list": "of checklist", + "r-d-add-checklist": "Добави чеклист", + "r-d-remove-checklist": "Премахни чеклист", + "r-by": "by", + "r-add-checklist": "Добави чеклист", + "r-with-items": "с точки", + "r-items-list": "точка1,точка2,точка3", + "r-add-swimlane": "Добави коридор", + "r-swimlane-name": "име на коридора", + "r-board-note": "Note: leave a field empty to match every possible value.", + "r-checklist-note": "Note: checklist's items have to be written as comma separated values.", + "r-when-a-card-is-moved": "When a card is moved to another list", + "r-set": "Set", + "r-update": "Update", + "r-datefield": "date field", + "r-df-start-at": "start", + "r-df-due-at": "due", + "r-df-end-at": "end", + "r-df-received-at": "received", + "r-to-current-datetime": "to current date/time", + "r-remove-value-from": "Remove value from", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Authentication method", + "authentication-type": "Authentication type", + "custom-product-name": "Custom Product Name", + "layout": "Layout", + "hide-logo": "Hide Logo", + "add-custom-html-after-body-start": "Add Custom HTML after start", + "add-custom-html-before-body-end": "Add Custom HTML before end", + "error-undefined": "Something went wrong", + "error-ldap-login": "An error occurred while trying to login", + "display-authentication-method": "Display Authentication Method", + "default-authentication-method": "Default Authentication Method", + "duplicate-board": "Duplicate Board", + "people-number": "The number of people is:", + "swimlaneDeletePopup-title": "Delete Swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Restore all", + "delete-all": "Delete all", + "loading": "Loading, please wait.", + "previous_as": "last time was", + "act-a-dueAt": "modified due time to \nWhen: __timeValue__\nWhere: __card__\n previous due was __timeOldValue__", + "act-a-endAt": "modified ending time to __timeValue__ from (__timeOldValue__)", + "act-a-startAt": "modified starting time to __timeValue__ from (__timeOldValue__)", + "act-a-receivedAt": "modified received time to __timeValue__ from (__timeOldValue__)", + "a-dueAt": "modified due time to be", + "a-endAt": "modified ending time to be", + "a-startAt": "modified starting time to be", + "a-receivedAt": "modified received time to be", + "almostdue": "current due time %s is approaching", + "pastdue": "current due time %s is past", + "duenow": "current due time %s is today", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", + "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", + "act-duenow": "was reminding the current due (__timeValue__) of __card__ is now", + "act-atUserComment": "You were mentioned in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Are you sure you want to delete this account? There is no undo.", + "accounts-allowUserDelete": "Allow users to self delete their account", + "hide-minicard-label-text": "Hide minicard label text", + "show-desktop-drag-handles": "Show desktop drag handles", + "assignee": "Assignee", + "cardAssigneesPopup-title": "Assignee", + "addmore-detail": "Add a more detailed description", + "show-on-card": "Show on Card", + "new": "New", + "editUserPopup-title": "Edit User", + "newUserPopup-title": "New User", + "notifications": "Notifications", + "view-all": "View All", + "filter-by-unread": "Filter by Unread", + "mark-all-as-read": "Mark all as read", + "remove-all-read": "Remove all read", + "allow-rename": "Allow Rename", + "allowRenamePopup-title": "Allow Rename", + "start-day-of-week": "Set day of the week start", + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archived", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/br.i18n.json b/i18n/br.i18n.json new file mode 100644 index 0000000..a2b62c7 --- /dev/null +++ b/i18n/br.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Asantiñ", + "act-activity-notify": "Activity Notification", + "act-addAttachment": "added attachment __attachment__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteAttachment": "deleted attachment __attachment__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addSubtask": "added subtask __subtask__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addedLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removedLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklist": "added checklist __checklist__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklistItem": "added checklist item __checklistItem__ to checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklist": "removed checklist __checklist__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklistItem": "removed checklist item __checklistItem__ from checklist __checkList__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-checkedItem": "checked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncheckedItem": "unchecked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-completeChecklist": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncompleteChecklist": "uncompleted checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addComment": "commented on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-editComment": "edited comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteComment": "deleted comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createBoard": "created board __board__", + "act-createSwimlane": "created swimlane __swimlane__ to board __board__", + "act-createCard": "created card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-createCustomField": "created custom field __customField__ at board __board__", + "act-deleteCustomField": "deleted custom field __customField__ at board __board__", + "act-setCustomField": "edited custom field __customField__: __customFieldValue__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createList": "added list __list__ to board __board__", + "act-addBoardMember": "added member __member__ to board __board__", + "act-archivedBoard": "Board __board__ moved to Archive", + "act-archivedCard": "Card __card__ at list __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedList": "List __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedSwimlane": "Swimlane __swimlane__ at board __board__ moved to Archive", + "act-importBoard": "imported board __board__", + "act-importCard": "imported card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-importList": "imported list __list__ to swimlane __swimlane__ at board __board__", + "act-joinMember": "added member __member__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-moveCard": "moved card __card__ at board __board__ from list __oldList__ at swimlane __oldSwimlane__ to list __list__ at swimlane __swimlane__", + "act-moveCardToOtherBoard": "moved card __card__ from list __oldList__ at swimlane __oldSwimlane__ at board __oldBoard__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-removeBoardMember": "removed member __member__ from board __board__", + "act-restoredCard": "restored card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-unjoinMember": "removed member __member__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Oberoù", + "activities": "Oberiantizoù", + "activity": "Oberiantiz", + "activity-added": "%s ouzhpennet da %s", + "activity-archived": "%s moved to Archive", + "activity-attached": "%s liammet ouzh %s", + "activity-created": "%s krouet", + "activity-customfield-created": "created custom field %s", + "activity-excluded": "excluded %s from %s", + "activity-imported": "%s enporzhiet eus %s da %s", + "activity-imported-board": "%s enporzhiet da %s", + "activity-joined": "joined %s", + "activity-moved": "moved %s from %s to %s", + "activity-on": "on %s", + "activity-removed": "removed %s from %s", + "activity-sent": "sent %s to %s", + "activity-unjoined": "unjoined %s", + "activity-subtask-added": "added subtask to %s", + "activity-checked-item": "checked %s in checklist %s of %s", + "activity-unchecked-item": "unchecked %s in checklist %s of %s", + "activity-checklist-added": "added checklist to %s", + "activity-checklist-removed": "removed a checklist from %s", + "activity-checklist-completed": "completed checklist %s of %s", + "activity-checklist-uncompleted": "uncompleted the checklist %s of %s", + "activity-checklist-item-added": "added checklist item to '%s' in %s", + "activity-checklist-item-removed": "removed a checklist item from '%s' in %s", + "add": "Ouzhpenn", + "activity-checked-item-card": "checked %s in checklist %s", + "activity-unchecked-item-card": "unchecked %s in checklist %s", + "activity-checklist-completed-card": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "activity-checklist-uncompleted-card": "uncompleted the checklist %s", + "activity-editComment": "edited comment %s", + "activity-deleteComment": "deleted comment %s", + "add-attachment": "Add Attachment", + "add-board": "Add Board", + "add-card": "Add Card", + "add-swimlane": "Add Swimlane", + "add-subtask": "Add Subtask", + "add-checklist": "Add Checklist", + "add-checklist-item": "Add an item to checklist", + "add-cover": "Ouzphenn ur golo", + "add-label": "Add Label", + "add-list": "Add List", + "add-members": "Ouzhpenn izili", + "added": "Ouzhpennet", + "addMemberPopup-title": "Izili", + "admin": "Merour", + "admin-desc": "Can view and edit cards, remove members, and change settings for the board.", + "admin-announcement": "Announcement", + "admin-announcement-active": "Active System-Wide Announcement", + "admin-announcement-title": "Announcement from Administrator", + "all-boards": "All boards", + "and-n-other-card": "And __count__ other card", + "and-n-other-card_plural": "And __count__ other cards", + "apply": "Apply", + "app-is-offline": "Loading, please wait. Refreshing the page will cause data loss. If loading does not work, please check that server has not stopped.", + "archive": "Move to Archive", + "archive-all": "Move All to Archive", + "archive-board": "Move Board to Archive", + "archive-card": "Move Card to Archive", + "archive-list": "Move List to Archive", + "archive-swimlane": "Move Swimlane to Archive", + "archive-selection": "Move selection to Archive", + "archiveBoardPopup-title": "Move Board to Archive?", + "archived-items": "Archive", + "archived-boards": "Boards in Archive", + "restore-board": "Restore Board", + "no-archived-boards": "No Boards in Archive.", + "archives": "Archive", + "template": "Template", + "templates": "Templates", + "assign-member": "Assign member", + "attached": "attached", + "attachment": "Attachment", + "attachment-delete-pop": "Deleting an attachment is permanent. There is no undo.", + "attachmentDeletePopup-title": "Delete Attachment?", + "attachments": "Attachments", + "auto-watch": "Automatically watch boards when they are created", + "avatar-too-big": "The avatar is too large (70KB max)", + "back": "Back", + "board-change-color": "Kemmañ al liv", + "board-nb-stars": "%s stered", + "board-not-found": "Board not found", + "board-private-info": "This board will be private.", + "board-public-info": "This board will be public.", + "boardChangeColorPopup-title": "Change Board Background", + "boardChangeTitlePopup-title": "Rename Board", + "boardChangeVisibilityPopup-title": "Change Visibility", + "boardChangeWatchPopup-title": "Change Watch", + "boardMenuPopup-title": "Board Settings", + "boardChangeViewPopup-title": "Board View", + "boards": "Boards", + "board-view": "Board View", + "board-view-cal": "Calendar", + "board-view-swimlanes": "Swimlanes", + "board-view-collapse": "Collapse", + "board-view-lists": "Lists", + "bucket-example": "Like “Bucket List” for example", + "cancel": "Cancel", + "card-archived": "This card is moved to Archive.", + "board-archived": "This board is moved to Archive.", + "card-comments-title": "This card has %s comment.", + "card-delete-notice": "Deleting is permanent. You will lose all actions associated with this card.", + "card-delete-pop": "All actions will be removed from the activity feed and you won't be able to re-open the card. There is no undo.", + "card-delete-suggest-archive": "You can move a card to Archive to remove it from the board and preserve the activity.", + "card-due": "Due", + "card-due-on": "Due on", + "card-spent": "Spent Time", + "card-edit-attachments": "Edit attachments", + "card-edit-custom-fields": "Edit custom fields", + "card-edit-labels": "Edit labels", + "card-edit-members": "Edit members", + "card-labels-title": "Change the labels for the card.", + "card-members-title": "Add or remove members of the board from the card.", + "card-start": "Start", + "card-start-on": "Starts on", + "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", + "cardStartVotingPopup-title": "Start a vote", + "positiveVoteMembersPopup-title": "Proponents", + "negativeVoteMembersPopup-title": "Opponents", + "card-edit-voting": "Edit voting", + "editVoteEndDatePopup-title": "Change vote end date", + "allowNonBoardMembers": "Allow all logged in users", + "vote-question": "Voting question", + "vote-public": "Show who voted what", + "vote-for-it": "for it", + "vote-against": "against", + "deleteVotePopup-title": "Delete vote?", + "vote-delete-pop": "Deleting is permanent. You will lose all actions associated with this vote.", + "cardDeletePopup-title": "Diverkañ ar gartenn ?", + "cardDetailsActionsPopup-title": "Card Actions", + "cardLabelsPopup-title": "Labels", + "cardMembersPopup-title": "Izili", + "cardMorePopup-title": "Muioc’h", + "cardTemplatePopup-title": "Create template", + "cards": "Kartennoù", + "cards-count": "Kartennoù", + "casSignIn": "Sign In with CAS", + "cardType-card": "Card", + "cardType-linkedCard": "Linked Card", + "cardType-linkedBoard": "Linked Board", + "change": "Change", + "change-avatar": "Change Avatar", + "change-password": "Kemmañ ger-tremen", + "change-permissions": "Change permissions", + "change-settings": "Change Settings", + "changeAvatarPopup-title": "Change Avatar", + "changeLanguagePopup-title": "Change Language", + "changePasswordPopup-title": "Kemmañ ger-tremen", + "changePermissionsPopup-title": "Change Permissions", + "changeSettingsPopup-title": "Change Settings", + "subtasks": "Subtasks", + "checklists": "Checklists", + "click-to-star": "Click to star this board.", + "click-to-unstar": "Click to unstar this board.", + "clipboard": "Clipboard or drag & drop", + "close": "Close", + "close-board": "Close Board", + "close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.", + "color-black": "du", + "color-blue": "glas", + "color-crimson": "crimson", + "color-darkgreen": "darkgreen", + "color-gold": "gold", + "color-gray": "gray", + "color-green": "gwer", + "color-indigo": "indigo", + "color-lime": "melen sitroñs", + "color-magenta": "magenta", + "color-mistyrose": "mistyrose", + "color-navy": "navy", + "color-orange": "orañjez", + "color-paleturquoise": "paleturquoise", + "color-peachpuff": "peachpuff", + "color-pink": "roz", + "color-plum": "plum", + "color-purple": "mouk", + "color-red": "ruz", + "color-saddlebrown": "saddlebrown", + "color-silver": "silver", + "color-sky": "pers", + "color-slateblue": "slateblue", + "color-white": "white", + "color-yellow": "melen", + "unset-color": "Unset", + "comment": "Comment", + "comment-placeholder": "Write Comment", + "comment-only": "Comment only", + "comment-only-desc": "Can comment on cards only.", + "no-comments": "No comments", + "no-comments-desc": "Can not see comments and activities.", + "worker": "Worker", + "worker-desc": "Can only move cards, assign itself to card and comment.", + "computer": "Computer", + "confirm-subtask-delete-dialog": "Are you sure you want to delete subtask?", + "confirm-checklist-delete-dialog": "Are you sure you want to delete checklist?", + "copy-card-link-to-clipboard": "Copy card link to clipboard", + "linkCardPopup-title": "Link Card", + "searchElementPopup-title": "Search", + "copyCardPopup-title": "Copy Card", + "copyChecklistToManyCardsPopup-title": "Copy Checklist Template to Many Cards", + "copyChecklistToManyCardsPopup-instructions": "Destination Card Titles and Descriptions in this JSON format", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"First card title\", \"description\":\"First card description\"}, {\"title\":\"Second card title\",\"description\":\"Second card description\"},{\"title\":\"Last card title\",\"description\":\"Last card description\"} ]", + "create": "Krouiñ", + "createBoardPopup-title": "Create Board", + "chooseBoardSourcePopup-title": "Import board", + "createLabelPopup-title": "Create Label", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", + "current": "current", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-currency": "Currency", + "custom-field-currency-option": "Currency Code", + "custom-field-date": "Date", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", + "date": "Date", + "decline": "Decline", + "default-avatar": "Default avatar", + "delete": "Diverkañ", + "deleteCustomFieldPopup-title": "Delete Custom Field?", + "deleteLabelPopup-title": "Delete Label?", + "description": "Description", + "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", + "disambiguateMultiMemberPopup-title": "Disambiguate Member Action", + "discard": "Discard", + "done": "Graet", + "download": "Download", + "edit": "Kemmañ", + "edit-avatar": "Change Avatar", + "edit-profile": "Edit Profile", + "edit-wip-limit": "Edit WIP Limit", + "soft-wip-limit": "Soft WIP Limit", + "editCardStartDatePopup-title": "Change start date", + "editCardDueDatePopup-title": "Change due date", + "editCustomFieldPopup-title": "Edit Field", + "editCardSpentTimePopup-title": "Change spent time", + "editLabelPopup-title": "Change Label", + "editNotificationPopup-title": "Edit Notification", + "editProfilePopup-title": "Edit Profile", + "email": "Email", + "email-enrollAccount-subject": "An account created for you on __siteName__", + "email-enrollAccount-text": "Hello __user__,\n\nTo start using the service, simply click the link below.\n\n__url__\n\nThanks.", + "email-fail": "Sending email failed", + "email-fail-text": "Error trying to send email", + "email-invalid": "Invalid email", + "email-invite": "Invite via Email", + "email-invite-subject": "__inviter__ sent you an invitation", + "email-invite-text": "Dear __user__,\n\n__inviter__ invites you to join board \"__board__\" for collaborations.\n\nPlease follow the link below:\n\n__url__\n\nThanks.", + "email-resetPassword-subject": "Reset your password on __siteName__", + "email-resetPassword-text": "Hello __user__,\n\nTo reset your password, simply click the link below.\n\n__url__\n\nThanks.", + "email-sent": "Email sent", + "email-verifyEmail-subject": "Verify your email address on __siteName__", + "email-verifyEmail-text": "Hello __user__,\n\nTo verify your account email, simply click the link below.\n\n__url__\n\nThanks.", + "enable-wip-limit": "Enable WIP Limit", + "error-board-doesNotExist": "This board does not exist", + "error-board-notAdmin": "You need to be admin of this board to do that", + "error-board-notAMember": "You need to be a member of this board to do that", + "error-json-malformed": "Your text is not valid JSON", + "error-json-schema": "Your JSON data does not include the proper information in the correct format", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "This list does not exist", + "error-user-doesNotExist": "This user does not exist", + "error-user-notAllowSelf": "You can not invite yourself", + "error-user-notCreated": "This user is not created", + "error-username-taken": "This username is already taken", + "error-email-taken": "Email has already been taken", + "export-board": "Export board", + "export-board-json": "Export board to JSON", + "export-board-csv": "Export board to CSV", + "export-board-tsv": "Export board to TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "Export board", + "sort": "Sort", + "sort-desc": "Click to Sort List", + "list-sort-by": "Sort the List By:", + "list-label-modifiedAt": "Last Access Time", + "list-label-title": "Name of the List", + "list-label-sort": "Your Manual Order", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Filter", + "filter-cards": "Filter Cards or Lists", + "list-filter-label": "Filter List by Title", + "filter-clear": "Clear filter", + "filter-no-label": "No label", + "filter-no-member": "No member", + "filter-no-assignee": "No assignee", + "filter-no-custom-fields": "No Custom Fields", + "filter-show-archive": "Show archived lists", + "filter-hide-empty": "Hide empty lists", + "filter-on": "Filter is on", + "filter-on-desc": "You are filtering cards on this board. Click here to edit filter.", + "filter-to-selection": "Filter to selection", + "advanced-filter-label": "Advanced Filter", + "advanced-filter-description": "Advanced Filter allows to write a string containing following operators: == != <= >= && || ( ) A space is used as a separator between the Operators. You can filter for all Custom Fields by typing their names and values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need to encapsulate them into single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) to be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally all operators are interpreted from left to right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i", + "fullname": "Full Name", + "header-logo-title": "Go back to your boards page.", + "hide-system-messages": "Hide system messages", + "headerBarCreateBoardPopup-title": "Create Board", + "home": "Home", + "import": "Import", + "link": "Link", + "import-board": "import board", + "import-board-c": "Import board", + "import-board-title-trello": "Import board from Trello", + "import-board-title-wekan": "Import board from previous export", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "From Trello", + "from-wekan": "From previous export", + "from-csv": "From CSV/TSV", + "import-board-instruction-trello": "In your Trello board, go to 'Menu', then 'More', 'Print and Export', 'Export JSON', and copy the resulting text", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "In your board, go to 'Menu', then 'Export board', and copy the text in the downloaded file.", + "import-board-instruction-about-errors": "If you get errors when importing board, sometimes importing still works, and board is at All Boards page.", + "import-json-placeholder": "Paste your valid JSON data here", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "Map members", + "import-members-map": "Your imported board has some members. Please map the members you want to import to your users", + "import-show-user-mapping": "Review members mapping", + "import-user-select": "Pick your existing user you want to use as this member", + "importMapMembersAddPopup-title": "Select member", + "info": "Version", + "initials": "Initials", + "invalid-date": "Invalid date", + "invalid-time": "Invalid time", + "invalid-user": "Invalid user", + "joined": "joined", + "just-invited": "You are just invited to this board", + "keyboard-shortcuts": "Keyboard shortcuts", + "label-create": "Create Label", + "label-default": "%s label (default)", + "label-delete-pop": "There is no undo. This will remove this label from all cards and destroy its history.", + "labels": "Labels", + "language": "Yezh", + "last-admin-desc": "You can’t change roles because there must be at least one admin.", + "leave-board": "Leave Board", + "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.", + "leaveBoardPopup-title": "Leave Board ?", + "link-card": "Link to this card", + "list-archive-cards": "Move all cards in this list to Archive", + "list-archive-cards-pop": "This will remove all the cards in this list from the board. To view cards in Archive and bring them back to the board, click “Menu” > “Archive”.", + "list-move-cards": "Move all cards in this list", + "list-select-cards": "Select all cards in this list", + "set-color-list": "Set Color", + "listActionPopup-title": "List Actions", + "swimlaneActionPopup-title": "Swimlane Actions", + "swimlaneAddPopup-title": "Add a Swimlane below", + "listImportCardPopup-title": "Import a Trello card", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "Muioc’h", + "link-list": "Link to this list", + "list-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the list. There is no undo.", + "list-delete-suggest-archive": "You can move a list to Archive to remove it from the board and preserve the activity.", + "lists": "Lists", + "swimlanes": "Swimlanes", + "log-out": "Log Out", + "log-in": "Log In", + "loginPopup-title": "Log In", + "memberMenuPopup-title": "Member Settings", + "members": "Izili", + "menu": "Menu", + "move-selection": "Move selection", + "moveCardPopup-title": "Move Card", + "moveCardToBottom-title": "Move to Bottom", + "moveCardToTop-title": "Move to Top", + "moveSelectionPopup-title": "Move selection", + "multi-selection": "Multi-Selection", + "multi-selection-on": "Multi-Selection is on", + "muted": "Muted", + "muted-info": "You will never be notified of any changes in this board", + "my-boards": "My Boards", + "name": "Name", + "no-archived-cards": "No cards in Archive.", + "no-archived-lists": "No lists in Archive.", + "no-archived-swimlanes": "No swimlanes in Archive.", + "no-results": "No results", + "normal": "Normal", + "normal-desc": "Can view and edit cards. Can't change settings.", + "not-accepted-yet": "Invitation not accepted yet", + "notify-participate": "Receive updates to any cards you participate as creater or member", + "notify-watch": "Receive updates to any boards, lists, or cards you’re watching", + "optional": "optional", + "or": "or", + "page-maybe-private": "This page may be private. You may be able to view it by logging in.", + "page-not-found": "Page not found.", + "password": "Ger-tremen", + "paste-or-dragdrop": "to paste, or drag & drop image file to it (image only)", + "participating": "Participating", + "preview": "Preview", + "previewAttachedImagePopup-title": "Preview", + "previewClipboardImagePopup-title": "Preview", + "private": "Private", + "private-desc": "This board is private. Only people added to the board can view and edit it.", + "profile": "Profile", + "public": "Public", + "public-desc": "This board is public. It's visible to anyone with the link and will show up in search engines like Google. Only people added to the board can edit.", + "quick-access-description": "Star a board to add a shortcut in this bar.", + "remove-cover": "Remove Cover", + "remove-from-board": "Remove from Board", + "remove-label": "Remove Label", + "listDeletePopup-title": "Delete List ?", + "remove-member": "Remove Member", + "remove-member-from-card": "Remove from Card", + "remove-member-pop": "Remove __name__ (__username__) from __boardTitle__? The member will be removed from all cards on this board. They will receive a notification.", + "removeMemberPopup-title": "Remove Member?", + "rename": "Rename", + "rename-board": "Rename Board", + "restore": "Restore", + "save": "Save", + "search": "Search", + "rules": "Rules", + "search-cards": "Search from card/list titles, descriptions and custom fields on this board", + "search-example": "Text to search for?", + "select-color": "Select Color", + "set-wip-limit-value": "Set a limit for the maximum number of tasks in this list", + "setWipLimitPopup-title": "Set WIP Limit", + "shortcut-assign-self": "Assign yourself to current card", + "shortcut-autocomplete-emoji": "Autocomplete emoji", + "shortcut-autocomplete-members": "Autocomplete members", + "shortcut-clear-filters": "Clear all filters", + "shortcut-close-dialog": "Close Dialog", + "shortcut-filter-my-cards": "Filter my cards", + "shortcut-show-shortcuts": "Bring up this shortcuts list", + "shortcut-toggle-filterbar": "Toggle Filter Sidebar", + "shortcut-toggle-sidebar": "Toggle Board Sidebar", + "show-cards-minimum-count": "Show cards count if list contains more than", + "sidebar-open": "Open Sidebar", + "sidebar-close": "Close Sidebar", + "signupPopup-title": "Create an Account", + "star-board-title": "Click to star this board. It will show up at top of your boards list.", + "starred-boards": "Starred Boards", + "starred-boards-description": "Starred boards show up at the top of your boards list.", + "subscribe": "Subscribe", + "team": "Team", + "this-board": "this board", + "this-card": "this card", + "spent-time-hours": "Spent time (hours)", + "overtime-hours": "Overtime (hours)", + "overtime": "Overtime", + "has-overtime-cards": "Has overtime cards", + "has-spenttime-cards": "Has spent time cards", + "time": "Time", + "title": "Title", + "tracking": "Tracking", + "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", + "unassign-member": "Unassign member", + "unsaved-description": "You have an unsaved description.", + "unwatch": "Unwatch", + "upload": "Upload", + "upload-avatar": "Upload an avatar", + "uploaded-avatar": "Uploaded an avatar", + "username": "Username", + "view-it": "View it", + "warn-list-archived": "warning: this card is in an list at Archive", + "watch": "Watch", + "watching": "Watching", + "watching-info": "You will be notified of any change in this board", + "welcome-board": "Welcome Board", + "welcome-swimlane": "Milestone 1", + "welcome-list1": "Basics", + "welcome-list2": "Advanced", + "card-templates-swimlane": "Card Templates", + "list-templates-swimlane": "List Templates", + "board-templates-swimlane": "Board Templates", + "what-to-do": "What do you want to do?", + "wipLimitErrorPopup-title": "Invalid WIP Limit", + "wipLimitErrorPopup-dialog-pt1": "The number of tasks in this list is higher than the WIP limit you've defined.", + "wipLimitErrorPopup-dialog-pt2": "Please move some tasks out of this list, or set a higher WIP limit.", + "admin-panel": "Admin Panel", + "settings": "Settings", + "people": "People", + "registration": "Registration", + "disable-self-registration": "Disable Self-Registration", + "invite": "Invite", + "invite-people": "Invite People", + "to-boards": "To board(s)", + "email-addresses": "Email Addresses", + "smtp-host-description": "The address of the SMTP server that handles your emails.", + "smtp-port-description": "The port your SMTP server uses for outgoing emails.", + "smtp-tls-description": "Enable TLS support for SMTP server", + "smtp-host": "SMTP Host", + "smtp-port": "SMTP Port", + "smtp-username": "Username", + "smtp-password": "Ger-tremen", + "smtp-tls": "TLS support", + "send-from": "From", + "send-smtp-test": "Send a test email to yourself", + "invitation-code": "Invitation Code", + "email-invite-register-subject": "__inviter__ sent you an invitation", + "email-invite-register-text": "Dear __user__,\n\n__inviter__ invites you to kanban board for collaborations.\n\nPlease follow the link below:\n__url__\n\nAnd your invitation code is: __icode__\n\nThanks.", + "email-smtp-test-subject": "SMTP Test Email", + "email-smtp-test-text": "You have successfully sent an email", + "error-invitation-code-not-exist": "Invitation code doesn't exist", + "error-notAuthorized": "You are not authorized to view this page.", + "webhook-title": "Webhook Name", + "webhook-token": "Token (Optional for Authentication)", + "outgoing-webhooks": "Outgoing Webhooks", + "bidirectional-webhooks": "Two-Way Webhooks", + "outgoingWebhooksPopup-title": "Outgoing Webhooks", + "boardCardTitlePopup-title": "Card Title Filter", + "disable-webhook": "Disable This Webhook", + "global-webhook": "Global Webhooks", + "new-outgoing-webhook": "New Outgoing Webhook", + "no-name": "(Unknown)", + "Node_version": "Node version", + "Meteor_version": "Meteor version", + "MongoDB_version": "MongoDB version", + "MongoDB_storage_engine": "MongoDB storage engine", + "MongoDB_Oplog_enabled": "MongoDB Oplog enabled", + "OS_Arch": "OS Arch", + "OS_Cpus": "OS CPU Count", + "OS_Freemem": "OS Free Memory", + "OS_Loadavg": "OS Load Average", + "OS_Platform": "OS Platform", + "OS_Release": "OS Release", + "OS_Totalmem": "OS Total Memory", + "OS_Type": "OS Type", + "OS_Uptime": "OS Uptime", + "days": "days", + "hours": "hours", + "minutes": "minutes", + "seconds": "seconds", + "show-field-on-card": "Show this field on card", + "automatically-field-on-card": "Auto create field to all cards", + "showLabel-field-on-card": "Show field label on minicard", + "yes": "Yes", + "no": "No", + "accounts": "Accounts", + "accounts-allowEmailChange": "Allow Email Change", + "accounts-allowUserNameChange": "Allow Username Change", + "createdAt": "Created at", + "verified": "Verified", + "active": "Active", + "card-received": "Received", + "card-received-on": "Received on", + "card-end": "End", + "card-end-on": "Ends on", + "editCardReceivedDatePopup-title": "Change received date", + "editCardEndDatePopup-title": "Change end date", + "setCardColorPopup-title": "Set color", + "setCardActionsColorPopup-title": "Choose a color", + "setSwimlaneColorPopup-title": "Choose a color", + "setListColorPopup-title": "Choose a color", + "assigned-by": "Assigned By", + "requested-by": "Requested By", + "board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.", + "delete-board-confirm-popup": "All lists, cards, labels, and activities will be deleted and you won't be able to recover the board contents. There is no undo.", + "boardDeletePopup-title": "Delete Board?", + "delete-board": "Delete Board", + "default-subtasks-board": "Subtasks for __board__ board", + "default": "Default", + "queue": "Queue", + "subtask-settings": "Subtasks Settings", + "card-settings": "Card Settings", + "boardSubtaskSettingsPopup-title": "Board Subtasks Settings", + "boardCardSettingsPopup-title": "Card Settings", + "deposit-subtasks-board": "Deposit subtasks to this board:", + "deposit-subtasks-list": "Landing list for subtasks deposited here:", + "show-parent-in-minicard": "Show parent in minicard:", + "prefix-with-full-path": "Prefix with full path", + "prefix-with-parent": "Prefix with parent", + "subtext-with-full-path": "Subtext with full path", + "subtext-with-parent": "Subtext with parent", + "change-card-parent": "Change card's parent", + "parent-card": "Parent card", + "source-board": "Source board", + "no-parent": "Don't show parent", + "activity-added-label": "added label '%s' to %s", + "activity-removed-label": "removed label '%s' from %s", + "activity-delete-attach": "deleted an attachment from %s", + "activity-added-label-card": "added label '%s'", + "activity-removed-label-card": "removed label '%s'", + "activity-delete-attach-card": "deleted an attachment", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "Rule", + "r-add-trigger": "Add trigger", + "r-add-action": "Add action", + "r-board-rules": "Board rules", + "r-add-rule": "Add rule", + "r-view-rule": "View rule", + "r-delete-rule": "Delete rule", + "r-new-rule-name": "New rule title", + "r-no-rules": "No rules", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "When a card", + "r-is": "is", + "r-is-moved": "is moved", + "r-added-to": "Added to", + "r-removed-from": "Removed from", + "r-the-board": "the board", + "r-list": "list", + "set-filter": "Set Filter", + "r-moved-to": "Moved to", + "r-moved-from": "Moved from", + "r-archived": "Moved to Archive", + "r-unarchived": "Restored from Archive", + "r-a-card": "a card", + "r-when-a-label-is": "When a label is", + "r-when-the-label": "When the label", + "r-list-name": "list name", + "r-when-a-member": "When a member is", + "r-when-the-member": "When the member", + "r-name": "name", + "r-when-a-attach": "When an attachment", + "r-when-a-checklist": "When a checklist is", + "r-when-the-checklist": "When the checklist", + "r-completed": "Completed", + "r-made-incomplete": "Made incomplete", + "r-when-a-item": "When a checklist item is", + "r-when-the-item": "When the checklist item", + "r-checked": "Checked", + "r-unchecked": "Unchecked", + "r-move-card-to": "Move card to", + "r-top-of": "Top of", + "r-bottom-of": "Bottom of", + "r-its-list": "its list", + "r-archive": "Move to Archive", + "r-unarchive": "Restore from Archive", + "r-card": "card", + "r-add": "Ouzhpenn", + "r-remove": "Remove", + "r-label": "label", + "r-member": "member", + "r-remove-all": "Remove all members from the card", + "r-set-color": "Set color to", + "r-checklist": "checklist", + "r-check-all": "Check all", + "r-uncheck-all": "Uncheck all", + "r-items-check": "items of checklist", + "r-check": "Check", + "r-uncheck": "Uncheck", + "r-item": "item", + "r-of-checklist": "of checklist", + "r-send-email": "Send an email", + "r-to": "to", + "r-of": "of", + "r-subject": "subject", + "r-rule-details": "Rule details", + "r-d-move-to-top-gen": "Move card to top of its list", + "r-d-move-to-top-spec": "Move card to top of list", + "r-d-move-to-bottom-gen": "Move card to bottom of its list", + "r-d-move-to-bottom-spec": "Move card to bottom of list", + "r-d-send-email": "Send email", + "r-d-send-email-to": "to", + "r-d-send-email-subject": "subject", + "r-d-send-email-message": "message", + "r-d-archive": "Move card to Archive", + "r-d-unarchive": "Restore card from Archive", + "r-d-add-label": "Add label", + "r-d-remove-label": "Remove label", + "r-create-card": "Create new card", + "r-in-list": "in list", + "r-in-swimlane": "in swimlane", + "r-d-add-member": "Add member", + "r-d-remove-member": "Remove member", + "r-d-remove-all-member": "Remove all member", + "r-d-check-all": "Check all items of a list", + "r-d-uncheck-all": "Uncheck all items of a list", + "r-d-check-one": "Check item", + "r-d-uncheck-one": "Uncheck item", + "r-d-check-of-list": "of checklist", + "r-d-add-checklist": "Add checklist", + "r-d-remove-checklist": "Remove checklist", + "r-by": "by", + "r-add-checklist": "Add checklist", + "r-with-items": "with items", + "r-items-list": "item1,item2,item3", + "r-add-swimlane": "Add swimlane", + "r-swimlane-name": "swimlane name", + "r-board-note": "Note: leave a field empty to match every possible value.", + "r-checklist-note": "Note: checklist's items have to be written as comma separated values.", + "r-when-a-card-is-moved": "When a card is moved to another list", + "r-set": "Set", + "r-update": "Update", + "r-datefield": "date field", + "r-df-start-at": "start", + "r-df-due-at": "due", + "r-df-end-at": "end", + "r-df-received-at": "received", + "r-to-current-datetime": "to current date/time", + "r-remove-value-from": "Remove value from", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Authentication method", + "authentication-type": "Authentication type", + "custom-product-name": "Custom Product Name", + "layout": "Layout", + "hide-logo": "Hide Logo", + "add-custom-html-after-body-start": "Add Custom HTML after start", + "add-custom-html-before-body-end": "Add Custom HTML before end", + "error-undefined": "Something went wrong", + "error-ldap-login": "An error occurred while trying to login", + "display-authentication-method": "Display Authentication Method", + "default-authentication-method": "Default Authentication Method", + "duplicate-board": "Duplicate Board", + "people-number": "The number of people is:", + "swimlaneDeletePopup-title": "Delete Swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Restore all", + "delete-all": "Delete all", + "loading": "Loading, please wait.", + "previous_as": "last time was", + "act-a-dueAt": "modified due time to \nWhen: __timeValue__\nWhere: __card__\n previous due was __timeOldValue__", + "act-a-endAt": "modified ending time to __timeValue__ from (__timeOldValue__)", + "act-a-startAt": "modified starting time to __timeValue__ from (__timeOldValue__)", + "act-a-receivedAt": "modified received time to __timeValue__ from (__timeOldValue__)", + "a-dueAt": "modified due time to be", + "a-endAt": "modified ending time to be", + "a-startAt": "modified starting time to be", + "a-receivedAt": "modified received time to be", + "almostdue": "current due time %s is approaching", + "pastdue": "current due time %s is past", + "duenow": "current due time %s is today", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", + "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", + "act-duenow": "was reminding the current due (__timeValue__) of __card__ is now", + "act-atUserComment": "You were mentioned in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Are you sure you want to delete this account? There is no undo.", + "accounts-allowUserDelete": "Allow users to self delete their account", + "hide-minicard-label-text": "Hide minicard label text", + "show-desktop-drag-handles": "Show desktop drag handles", + "assignee": "Assignee", + "cardAssigneesPopup-title": "Assignee", + "addmore-detail": "Add a more detailed description", + "show-on-card": "Show on Card", + "new": "New", + "editUserPopup-title": "Edit User", + "newUserPopup-title": "New User", + "notifications": "Notifications", + "view-all": "View All", + "filter-by-unread": "Filter by Unread", + "mark-all-as-read": "Mark all as read", + "remove-all-read": "Remove all read", + "allow-rename": "Allow Rename", + "allowRenamePopup-title": "Allow Rename", + "start-day-of-week": "Set day of the week start", + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archived", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/ca.i18n.json b/i18n/ca.i18n.json new file mode 100644 index 0000000..b692574 --- /dev/null +++ b/i18n/ca.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Accepta", + "act-activity-notify": "Notificació d'activitat", + "act-addAttachment": "afegit l'adjunt __attachment__ a la targeta __card__ en la llista __list__ al canal __swimlane__ al tauler __tauler__", + "act-deleteAttachment": "deleted attachment __attachment__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addSubtask": "added subtask __subtask__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addedLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removedLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklist": "added checklist __checklist__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklistItem": "added checklist item __checklistItem__ to checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklist": "removed checklist __checklist__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklistItem": "removed checklist item __checklistItem__ from checklist __checkList__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-checkedItem": "checked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncheckedItem": "unchecked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-completeChecklist": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncompleteChecklist": "uncompleted checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addComment": "commented on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-editComment": "edited comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteComment": "deleted comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createBoard": "created board __board__", + "act-createSwimlane": "created swimlane __swimlane__ to board __board__", + "act-createCard": "created card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-createCustomField": "created custom field __customField__ at board __board__", + "act-deleteCustomField": "deleted custom field __customField__ at board __board__", + "act-setCustomField": "edited custom field __customField__: __customFieldValue__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createList": "added list __list__ to board __board__", + "act-addBoardMember": "added member __member__ to board __board__", + "act-archivedBoard": "Board __board__ moved to Archive", + "act-archivedCard": "Card __card__ at list __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedList": "List __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedSwimlane": "Swimlane __swimlane__ at board __board__ moved to Archive", + "act-importBoard": "imported board __board__", + "act-importCard": "imported card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-importList": "imported list __list__ to swimlane __swimlane__ at board __board__", + "act-joinMember": "added member __member__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-moveCard": "moved card __card__ at board __board__ from list __oldList__ at swimlane __oldSwimlane__ to list __list__ at swimlane __swimlane__", + "act-moveCardToOtherBoard": "moved card __card__ from list __oldList__ at swimlane __oldSwimlane__ at board __oldBoard__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-removeBoardMember": "removed member __member__ from board __board__", + "act-restoredCard": "restored card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-unjoinMember": "removed member __member__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-withBoardTitle": "__tauler__", + "act-withCardTitle": "[__tauler__] __fitxa__", + "actions": "Accions", + "activities": "Activitats", + "activity": "Activitat", + "activity-added": "ha afegit %s a %s", + "activity-archived": "%s mogut al Arxiu", + "activity-attached": "ha adjuntat %s a %s", + "activity-created": "ha creat %s", + "activity-customfield-created": "camp personalitzat creat %s", + "activity-excluded": "ha exclòs %s de %s", + "activity-imported": "importat %s dins %s des de %s", + "activity-imported-board": "importat %s des de %s", + "activity-joined": "s'ha unit a %s", + "activity-moved": "ha mogut %s de %s a %s", + "activity-on": "en %s", + "activity-removed": "ha eliminat %s de %s", + "activity-sent": "ha enviat %s %s", + "activity-unjoined": "desassignat %s", + "activity-subtask-added": "added subtask to %s", + "activity-checked-item": "checked %s in checklist %s of %s", + "activity-unchecked-item": "unchecked %s in checklist %s of %s", + "activity-checklist-added": "Checklist afegida a %s", + "activity-checklist-removed": "removed a checklist from %s", + "activity-checklist-completed": "completed checklist %s of %s", + "activity-checklist-uncompleted": "uncompleted the checklist %s of %s", + "activity-checklist-item-added": "afegida entrada de checklist de '%s' a %s", + "activity-checklist-item-removed": "removed a checklist item from '%s' in %s", + "add": "Afegeix", + "activity-checked-item-card": "checked %s in checklist %s", + "activity-unchecked-item-card": "unchecked %s in checklist %s", + "activity-checklist-completed-card": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "activity-checklist-uncompleted-card": "uncompleted the checklist %s", + "activity-editComment": "edited comment %s", + "activity-deleteComment": "deleted comment %s", + "add-attachment": "Afegeix adjunt", + "add-board": "Afegeix Tauler", + "add-card": "Afegeix Fitxa", + "add-swimlane": "Afegeix carril de natació", + "add-subtask": "Afegir Subtasca", + "add-checklist": "Afegeix checklist", + "add-checklist-item": "Afegeix un ítem al checklist", + "add-cover": "Afegeix coberta", + "add-label": "Afegeix etiqueta", + "add-list": "Afegeix llista", + "add-members": "Afegeix membres", + "added": "Afegit", + "addMemberPopup-title": "Membres", + "admin": "Administrador", + "admin-desc": "Pots veure i editar fitxes, eliminar usuaris, i canviar la configuració del tauler.", + "admin-announcement": "Alertes", + "admin-announcement-active": "Activar alertes del Sistema", + "admin-announcement-title": "Alertes d'administració", + "all-boards": "Tots els taulers", + "and-n-other-card": "And __count__ other card", + "and-n-other-card_plural": "And __count__ other cards", + "apply": "Aplica", + "app-is-offline": "Carregant. Per favor, espereu. Actualitzar la pàgina pot comportar pèrdua de dades. Si la càrrega no funciona, comproveu que el servidor no s'ha aturat. ", + "archive": "Moure al arxiu", + "archive-all": "Moure tot al arxiu", + "archive-board": "Moure Tauler al Arxiu", + "archive-card": "Moure Fitxa al Arxiu", + "archive-list": "Moure Llista al Arxiu", + "archive-swimlane": "Move Swimlane to Archive", + "archive-selection": "Moure selecció al Arxiu", + "archiveBoardPopup-title": "Moure el Tauler al Arxiu?", + "archived-items": "Desa", + "archived-boards": "Taulers al Arxiu", + "restore-board": "Restaura Tauler", + "no-archived-boards": "No hi han Taulers al Arxiu.", + "archives": "Desa", + "template": "Plantilla", + "templates": "Plantilles", + "assign-member": "Assignar membre", + "attached": "adjuntat", + "attachment": "Adjunt", + "attachment-delete-pop": "L'esborrat d'un arxiu adjunt és permanent. No es pot desfer.", + "attachmentDeletePopup-title": "Esborrar adjunt?", + "attachments": "Adjunts", + "auto-watch": "Segueix automàticament el taulers quan són creats", + "avatar-too-big": "L'avatar es massa gran (70KM max)", + "back": "Enrere", + "board-change-color": "Canvia el color", + "board-nb-stars": "%s estrelles", + "board-not-found": "No s'ha trobat el tauler", + "board-private-info": "Aquest tauler serà privat.", + "board-public-info": "Aquest tauler serà públic.", + "boardChangeColorPopup-title": "Canvia fons del tauler", + "boardChangeTitlePopup-title": "Canvia el nom tauler", + "boardChangeVisibilityPopup-title": "Canvia visibilitat", + "boardChangeWatchPopup-title": "Canvia seguiment", + "boardMenuPopup-title": "Configuració del tauler", + "boardChangeViewPopup-title": "Visió del tauler", + "boards": "Taulers", + "board-view": "Visió del tauler", + "board-view-cal": "Calendari", + "board-view-swimlanes": "Carrils de Natació", + "board-view-collapse": "Contraure", + "board-view-lists": "Llistes", + "bucket-example": "Igual que “Bucket List”, per exemple", + "cancel": "Cancel·la", + "card-archived": "Aquesta fitxa ha estat moguda al Arxiu.", + "board-archived": "Aquest tauler s'ha mogut al arxiu", + "card-comments-title": "Aquesta fitxa té %s comentaris.", + "card-delete-notice": "L'esborrat és permanent. Perdreu totes les accions associades a aquesta fitxa.", + "card-delete-pop": "Totes les accions s'eliminaran de l'activitat i no podreu tornar a obrir la fitxa. No es pot desfer.", + "card-delete-suggest-archive": "You can move a card to Archive to remove it from the board and preserve the activity.", + "card-due": "Finalitza", + "card-due-on": "Finalitza a", + "card-spent": "Temps Dedicat", + "card-edit-attachments": "Edita arxius adjunts", + "card-edit-custom-fields": "Editar camps personalitzats", + "card-edit-labels": "Edita etiquetes", + "card-edit-members": "Edita membres", + "card-labels-title": "Canvia les etiquetes de la fitxa", + "card-members-title": "Afegeix o eliminar membres del tauler des de la fitxa.", + "card-start": "Comença", + "card-start-on": "Comença a", + "cardAttachmentsPopup-title": "Adjunta des de", + "cardCustomField-datePopup-title": "Canviar data", + "cardCustomFieldsPopup-title": "Editar camps personalitzats", + "cardStartVotingPopup-title": "Start a vote", + "positiveVoteMembersPopup-title": "Proponents", + "negativeVoteMembersPopup-title": "Opponents", + "card-edit-voting": "Edit voting", + "editVoteEndDatePopup-title": "Change vote end date", + "allowNonBoardMembers": "Allow all logged in users", + "vote-question": "Voting question", + "vote-public": "Show who voted what", + "vote-for-it": "for it", + "vote-against": "against", + "deleteVotePopup-title": "Delete vote?", + "vote-delete-pop": "Deleting is permanent. You will lose all actions associated with this vote.", + "cardDeletePopup-title": "Esborrar fitxa?", + "cardDetailsActionsPopup-title": "Accions de fitxes", + "cardLabelsPopup-title": "Etiquetes", + "cardMembersPopup-title": "Membres", + "cardMorePopup-title": "Més", + "cardTemplatePopup-title": "Create template", + "cards": "Fitxes", + "cards-count": "Fitxes", + "casSignIn": "Sign In with CAS", + "cardType-card": "Fitxa", + "cardType-linkedCard": "Linked Card", + "cardType-linkedBoard": "Linked Board", + "change": "Canvia", + "change-avatar": "Canvia Avatar", + "change-password": "Canvia la clau", + "change-permissions": "Canvia permisos", + "change-settings": "Canvia configuració", + "changeAvatarPopup-title": "Canvia Avatar", + "changeLanguagePopup-title": "Canvia idioma", + "changePasswordPopup-title": "Canvia la contrasenya", + "changePermissionsPopup-title": "Canvia permisos", + "changeSettingsPopup-title": "Canvia configuració", + "subtasks": "Subtasca", + "checklists": "Checklists", + "click-to-star": "Fes clic per destacar aquest tauler.", + "click-to-unstar": "Fes clic per deixar de destacar aquest tauler.", + "clipboard": "Portaretalls o estirar i amollar", + "close": "Tanca", + "close-board": "Tanca tauler", + "close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.", + "color-black": "negre", + "color-blue": "blau", + "color-crimson": "carmesí", + "color-darkgreen": "verd fosc", + "color-gold": "daurat", + "color-gray": "gris", + "color-green": "verd", + "color-indigo": "índigo", + "color-lime": "llima", + "color-magenta": "magenta", + "color-mistyrose": "mistyrose", + "color-navy": "marina", + "color-orange": "taronja", + "color-paleturquoise": "paleturquoise", + "color-peachpuff": "peachpuff", + "color-pink": "rosa", + "color-plum": "pruna", + "color-purple": "púrpura", + "color-red": "vermell", + "color-saddlebrown": "saddlebrown", + "color-silver": "plata", + "color-sky": "cel", + "color-slateblue": "slateblue", + "color-white": "blanc", + "color-yellow": "groc", + "unset-color": "Unset", + "comment": "Comentari", + "comment-placeholder": "Escriu un comentari", + "comment-only": "Només comentaris", + "comment-only-desc": "Només pots fer comentaris a les fitxes", + "no-comments": "Sense comentaris", + "no-comments-desc": "Can not see comments and activities.", + "worker": "Worker", + "worker-desc": "Can only move cards, assign itself to card and comment.", + "computer": "Ordinador", + "confirm-subtask-delete-dialog": "Esteu segur que voleu eliminar la subtasca?", + "confirm-checklist-delete-dialog": "Are you sure you want to delete checklist?", + "copy-card-link-to-clipboard": "Copia l'enllaç de la ftixa al porta-retalls", + "linkCardPopup-title": "Link Card", + "searchElementPopup-title": "Cerca", + "copyCardPopup-title": "Copia la fitxa", + "copyChecklistToManyCardsPopup-title": "Copy Checklist Template to Many Cards", + "copyChecklistToManyCardsPopup-instructions": "Títols de fitxa i Descripcions de destí en aquest format JSON", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"Títol de la primera fitxa\", \"description\":\"Descripció de la primera fitxa\"}, {\"title\":\"Títol de la segona fitxa\",\"description\":\"Descripció de la segona fitxa\"},{\"title\":\"Títol de l'última fitxa\",\"description\":\"Descripció de l'última fitxa\"} ]", + "create": "Crea", + "createBoardPopup-title": "Crea tauler", + "chooseBoardSourcePopup-title": "Importa Tauler", + "createLabelPopup-title": "Crea etiqueta", + "createCustomField": "Crear camp", + "createCustomFieldPopup-title": "Crear camp", + "current": "Actual", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-currency": "Currency", + "custom-field-currency-option": "Currency Code", + "custom-field-date": "Data", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "Llista d'opcions", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Camps Personalitzats", + "date": "Data", + "decline": "Declina", + "default-avatar": "Avatar per defecte", + "delete": "Esborra", + "deleteCustomFieldPopup-title": "Delete Custom Field?", + "deleteLabelPopup-title": "Esborra etiqueta", + "description": "Descripció", + "disambiguateMultiLabelPopup-title": "Desfe l'ambigüitat en les etiquetes", + "disambiguateMultiMemberPopup-title": "Desfe l'ambigüitat en els membres", + "discard": "Descarta", + "done": "Fet", + "download": "Descarrega", + "edit": "Edita", + "edit-avatar": "Canvia Avatar", + "edit-profile": "Edita el teu Perfil", + "edit-wip-limit": "Edita el Límit de Treball en Progrès", + "soft-wip-limit": "Soft WIP Limit", + "editCardStartDatePopup-title": "Canvia data d'inici", + "editCardDueDatePopup-title": "Canvia data de finalització", + "editCustomFieldPopup-title": "Modificar camp", + "editCardSpentTimePopup-title": "Canvia temps dedicat", + "editLabelPopup-title": "Canvia etiqueta", + "editNotificationPopup-title": "Edita la notificació", + "editProfilePopup-title": "Edita teu Perfil", + "email": "Correu electrònic", + "email-enrollAccount-subject": "An account created for you on __siteName__", + "email-enrollAccount-text": "Hola __user__,\n\nPer començar a utilitzar el servei, segueix l'enllaç següent.\n\n__url__\n\nGràcies.", + "email-fail": "Error enviant el correu", + "email-fail-text": "Error en intentar enviar e-mail", + "email-invalid": "Adreça de correu invàlida", + "email-invite": "Convida mitjançant correu electrònic", + "email-invite-subject": "__inviter__ t'ha convidat", + "email-invite-text": "Benvolgut __user__,\n\n __inviter__ t'ha convidat a participar al tauler \"__board__\" per col·laborar-hi.\n\nSegueix l'enllaç següent:\n\n __url__\n\n Gràcies.", + "email-resetPassword-subject": "Reset your password on __siteName__", + "email-resetPassword-text": "Hola __user__,\n \n per resetejar la teva contrasenya, segueix l'enllaç següent.\n \n __url__\n \n Gràcies.", + "email-sent": "Correu enviat", + "email-verifyEmail-subject": "Verify your email address on __siteName__", + "email-verifyEmail-text": "Hola __user__, \n\n per verificar el teu correu, segueix l'enllaç següent.\n\n __url__\n\n Gràcies.", + "enable-wip-limit": "Activa e Límit de Treball en Progrès", + "error-board-doesNotExist": "Aquest tauler no existeix", + "error-board-notAdmin": "Necessites ser administrador d'aquest tauler per dur a lloc aquest acció", + "error-board-notAMember": "Necessites ser membre d'aquest tauler per dur a terme aquesta acció", + "error-json-malformed": "El text no és JSON vàlid", + "error-json-schema": "La dades JSON no contenen la informació en el format correcte", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "La llista no existeix", + "error-user-doesNotExist": "L'usuari no existeix", + "error-user-notAllowSelf": "No et pots convidar a tu mateix", + "error-user-notCreated": "L'usuari no s'ha creat", + "error-username-taken": "Aquest usuari ja existeix", + "error-email-taken": "L'adreça de correu electrònic ja és en ús", + "export-board": "Exporta tauler", + "export-board-json": "Export board to JSON", + "export-board-csv": "Export board to CSV", + "export-board-tsv": "Export board to TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "Exporta tauler", + "sort": "Sort", + "sort-desc": "Click to Sort List", + "list-sort-by": "Sort the List By:", + "list-label-modifiedAt": "Last Access Time", + "list-label-title": "Name of the List", + "list-label-sort": "Your Manual Order", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Filtre", + "filter-cards": "Filter Cards or Lists", + "list-filter-label": "Filter List by Title", + "filter-clear": "Elimina filtre", + "filter-no-label": "Sense etiqueta", + "filter-no-member": "Sense membres", + "filter-no-assignee": "No assignee", + "filter-no-custom-fields": "No Custom Fields", + "filter-show-archive": "Show archived lists", + "filter-hide-empty": "Hide empty lists", + "filter-on": "Filtra per", + "filter-on-desc": "Estau filtrant fitxes en aquest tauler. Feu clic aquí per editar el filtre.", + "filter-to-selection": "Filtra selecció", + "advanced-filter-label": "Filtre avançat", + "advanced-filter-description": "Advanced Filter allows to write a string containing following operators: == != <= >= && || ( ) A space is used as a separator between the Operators. You can filter for all Custom Fields by typing their names and values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need to encapsulate them into single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) to be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally all operators are interpreted from left to right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i", + "fullname": "Nom complet", + "header-logo-title": "Torna a la teva pàgina de taulers", + "hide-system-messages": "Oculta missatges del sistema", + "headerBarCreateBoardPopup-title": "Crea tauler", + "home": "Inici", + "import": "importa", + "link": "Enllaç", + "import-board": "Importa tauler", + "import-board-c": "Importa tauler", + "import-board-title-trello": "Importa tauler des de Trello", + "import-board-title-wekan": "Import board from previous export", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "Des de Trello", + "from-wekan": "From previous export", + "from-csv": "From CSV/TSV", + "import-board-instruction-trello": "En el teu tauler Trello, ves a 'Menú', 'Més'.' Imprimir i Exportar', 'Exportar JSON', i copia el text resultant.", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "In your board, go to 'Menu', then 'Export board', and copy the text in the downloaded file.", + "import-board-instruction-about-errors": "If you get errors when importing board, sometimes importing still works, and board is at All Boards page.", + "import-json-placeholder": "Aferra codi JSON vàlid aquí", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "Mapeja el membres", + "import-members-map": "Your imported board has some members. Please map the members you want to import to your users", + "import-show-user-mapping": "Revisa l'assignació de membres", + "import-user-select": "Pick your existing user you want to use as this member", + "importMapMembersAddPopup-title": "Selecciona un usuari", + "info": "Versió", + "initials": "Inicials", + "invalid-date": "Data invàlida", + "invalid-time": "Temps Invàlid", + "invalid-user": "Usuari invàlid", + "joined": "s'ha unit", + "just-invited": "Has estat convidat a aquest tauler", + "keyboard-shortcuts": "Dreceres de teclat", + "label-create": "Crea etiqueta", + "label-default": "%s etiqueta (per defecte)", + "label-delete-pop": "No es pot desfer. Això eliminarà aquesta etiqueta de totes les fitxes i destruirà la seva història.", + "labels": "Etiquetes", + "language": "Idioma", + "last-admin-desc": "No podeu canviar rols perquè ha d'haver-hi almenys un administrador.", + "leave-board": "Abandona tauler", + "leave-board-pop": "De debò voleu abandonar __boardTitle__? Se us eliminarà de totes les fitxes d'aquest tauler.", + "leaveBoardPopup-title": "Abandonar Tauler?", + "link-card": "Enllaç a aquesta fitxa", + "list-archive-cards": "Moure totes les fitxes en aquesta llista al Arxiu", + "list-archive-cards-pop": "This will remove all the cards in this list from the board. To view cards in Archive and bring them back to the board, click “Menu” > “Archive”.", + "list-move-cards": "Mou totes les fitxes d'aquesta llista", + "list-select-cards": "Selecciona totes les fitxes d'aquesta llista", + "set-color-list": "Set Color", + "listActionPopup-title": "Accions de la llista", + "swimlaneActionPopup-title": "Accions de Carril de Natació", + "swimlaneAddPopup-title": "Add a Swimlane below", + "listImportCardPopup-title": "importa una fitxa de Trello", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "Més", + "link-list": "Enllaça a aquesta llista", + "list-delete-pop": "Totes les accions seran esborrades de la llista d'activitats i no serà possible recuperar la llista", + "list-delete-suggest-archive": "You can move a list to Archive to remove it from the board and preserve the activity.", + "lists": "Llistes", + "swimlanes": "Carrils de Natació", + "log-out": "Finalitza la sessió", + "log-in": "Ingresa", + "loginPopup-title": "Inicia sessió", + "memberMenuPopup-title": "Configura membres", + "members": "Membres", + "menu": "Menú", + "move-selection": "Move selection", + "moveCardPopup-title": "Moure fitxa", + "moveCardToBottom-title": "Mou a la part inferior", + "moveCardToTop-title": "Mou a la part superior", + "moveSelectionPopup-title": "Move selection", + "multi-selection": "Multi-Selecció", + "multi-selection-on": "Multi-Selecció està activada", + "muted": "En silenci", + "muted-info": "No seràs notificat dels canvis en aquest tauler", + "my-boards": "Els meus taulers", + "name": "Nom", + "no-archived-cards": "No hi ha fitxes a l'arxiu.", + "no-archived-lists": "No hi ha llistes al arxiu.", + "no-archived-swimlanes": "No swimlanes in Archive.", + "no-results": "Sense resultats", + "normal": "Normal", + "normal-desc": "Podeu veure i editar fitxes. No podeu canviar la configuració.", + "not-accepted-yet": "La invitació no ha esta acceptada encara", + "notify-participate": "Rebre actualitzacions per a cada fitxa de la qual n'ets creador o membre", + "notify-watch": "Rebre actualitzacions per qualsevol tauler, llista o fitxa en observació", + "optional": "opcional", + "or": "o", + "page-maybe-private": "Aquesta pàgina és privada. Per veure-la entra .", + "page-not-found": "Pàgina no trobada.", + "password": "Contrasenya", + "paste-or-dragdrop": "aferra, o estira i amolla la imatge (només imatge)", + "participating": "Participant", + "preview": "Vista prèvia", + "previewAttachedImagePopup-title": "Vista prèvia", + "previewClipboardImagePopup-title": "Vista prèvia", + "private": "Privat", + "private-desc": "Aquest tauler és privat. Només les persones afegides al tauler poden veure´l i editar-lo.", + "profile": "Perfil", + "public": "Públic", + "public-desc": "Aquest tauler és públic. És visible per a qualsevol persona amb l'enllaç i es mostrarà en els motors de cerca com Google. Només persones afegides al tauler poden editar-lo.", + "quick-access-description": "Inicia un tauler per afegir un accés directe en aquest barra", + "remove-cover": "Elimina coberta", + "remove-from-board": "Elimina del tauler", + "remove-label": "Elimina l'etiqueta", + "listDeletePopup-title": "Esborrar la llista?", + "remove-member": "Elimina membre", + "remove-member-from-card": "Elimina de la fitxa", + "remove-member-pop": "Eliminar __name__ (__username__) de __boardTitle__ ? El membre serà eliminat de totes les fitxes d'aquest tauler. Ells rebran una notificació.", + "removeMemberPopup-title": "Vols suprimir el membre?", + "rename": "Canvia el nom", + "rename-board": "Canvia el nom del tauler", + "restore": "Restaura", + "save": "Desa", + "search": "Cerca", + "rules": "Regles", + "search-cards": "Search from card/list titles, descriptions and custom fields on this board", + "search-example": "Text que cercar?", + "select-color": "Selecciona color", + "set-wip-limit-value": "Limita el màxim nombre de tasques en aquesta llista", + "setWipLimitPopup-title": "Configura el Límit de Treball en Progrès", + "shortcut-assign-self": "Assigna't la ftixa actual", + "shortcut-autocomplete-emoji": "Autocompleta emoji", + "shortcut-autocomplete-members": "Autocompleta membres", + "shortcut-clear-filters": "Elimina tots els filters", + "shortcut-close-dialog": "Tanca el diàleg", + "shortcut-filter-my-cards": "Filtra les meves fitxes", + "shortcut-show-shortcuts": "Mostra aquesta lista d'accessos directes", + "shortcut-toggle-filterbar": "Canvia la barra lateral del tauler", + "shortcut-toggle-sidebar": "Canvia Sidebar del Tauler", + "show-cards-minimum-count": "Mostra contador de fitxes si la llista en conté més de", + "sidebar-open": "Mostra barra lateral", + "sidebar-close": "Amaga barra lateral", + "signupPopup-title": "Crea un compte", + "star-board-title": "Fes clic per destacar aquest tauler. Es mostrarà a la part superior de la llista de taulers.", + "starred-boards": "Taulers destacats", + "starred-boards-description": "Els taulers destacats es mostraran a la part superior de la llista de taulers.", + "subscribe": "Subscriure", + "team": "Equip", + "this-board": "aquest tauler", + "this-card": "aquesta fitxa", + "spent-time-hours": "Temps dedicat (hores)", + "overtime-hours": "Temps de més (hores)", + "overtime": "Temps de més", + "has-overtime-cards": "Té fitxes amb temps de més", + "has-spenttime-cards": "Té fitxes amb temps dedicat", + "time": "Hora", + "title": "Títol", + "tracking": "En seguiment", + "tracking-info": "Seràs notificat per cada canvi a aquelles fitxes de les que n'eres creador o membre", + "type": "Tipus", + "unassign-member": "Desassignar membre", + "unsaved-description": "Tens una descripció sense desar.", + "unwatch": "Suprimeix observació", + "upload": "Puja", + "upload-avatar": "Actualitza avatar", + "uploaded-avatar": "Avatar actualitzat", + "username": "Nom d'Usuari", + "view-it": "Vist", + "warn-list-archived": "warning: this card is in an list at Archive", + "watch": "Observa", + "watching": "En observació", + "watching-info": "Seràs notificat de cada canvi en aquest tauler", + "welcome-board": "Tauler de benvinguda", + "welcome-swimlane": "Objectiu 1", + "welcome-list1": "Bàsics", + "welcome-list2": "Avançades", + "card-templates-swimlane": "Card Templates", + "list-templates-swimlane": "List Templates", + "board-templates-swimlane": "Board Templates", + "what-to-do": "Què vols fer?", + "wipLimitErrorPopup-title": "Límit de Treball en Progrès invàlid", + "wipLimitErrorPopup-dialog-pt1": "El nombre de tasques en esta llista és superior al límit de Treball en Progrès que heu definit.", + "wipLimitErrorPopup-dialog-pt2": "Si us plau mogui algunes taques fora d'aquesta llista, o configuri un límit de Treball en Progrès superior.", + "admin-panel": "Tauler d'administració", + "settings": "Configuració", + "people": "Persones", + "registration": "Registre", + "disable-self-registration": "Deshabilita Auto-Registre", + "invite": "Convida", + "invite-people": "Convida a persones", + "to-boards": "Al tauler(s)", + "email-addresses": "Adreça de correu", + "smtp-host-description": "L'adreça del vostre servidor SMTP.", + "smtp-port-description": "El port del vostre servidor SMTP.", + "smtp-tls-description": "Activa suport TLS pel servidor SMTP", + "smtp-host": "Servidor SMTP", + "smtp-port": "Port SMTP", + "smtp-username": "Nom d'usuari", + "smtp-password": "Contrasenya", + "smtp-tls": "Suport TLS", + "send-from": "De", + "send-smtp-test": "Envia't un correu electrònic de prova", + "invitation-code": "Codi d'invitació", + "email-invite-register-subject": "__inviter__ t'ha convidat", + "email-invite-register-text": "Dear __user__,\n\n__inviter__ invites you to kanban board for collaborations.\n\nPlease follow the link below:\n__url__\n\nAnd your invitation code is: __icode__\n\nThanks.", + "email-smtp-test-subject": "SMTP Test Email", + "email-smtp-test-text": "Has enviat un missatge satisfactòriament", + "error-invitation-code-not-exist": "El codi d'invitació no existeix", + "error-notAuthorized": "No estau autoritzats per veure aquesta pàgina", + "webhook-title": "Webhook Name", + "webhook-token": "Token (Optional for Authentication)", + "outgoing-webhooks": "Webhooks sortints", + "bidirectional-webhooks": "Two-Way Webhooks", + "outgoingWebhooksPopup-title": "Webhooks sortints", + "boardCardTitlePopup-title": "Card Title Filter", + "disable-webhook": "Disable This Webhook", + "global-webhook": "Global Webhooks", + "new-outgoing-webhook": "Nou Webook sortint", + "no-name": "Importa tauler des de Wekan", + "Node_version": "Versió Node", + "Meteor_version": "Meteor version", + "MongoDB_version": "MongoDB version", + "MongoDB_storage_engine": "MongoDB storage engine", + "MongoDB_Oplog_enabled": "MongoDB Oplog enabled", + "OS_Arch": "Arquitectura SO", + "OS_Cpus": "Plataforma SO", + "OS_Freemem": "Memòria lliure", + "OS_Loadavg": "Carrega de SO", + "OS_Platform": "Plataforma de SO", + "OS_Release": "Versió SO", + "OS_Totalmem": "Memòria total", + "OS_Type": "Tipus de SO", + "OS_Uptime": "Temps d'activitat", + "days": "days", + "hours": "hores", + "minutes": "minuts", + "seconds": "segons", + "show-field-on-card": "Show this field on card", + "automatically-field-on-card": "Auto create field to all cards", + "showLabel-field-on-card": "Show field label on minicard", + "yes": "Si", + "no": "No", + "accounts": "Comptes", + "accounts-allowEmailChange": "Permet modificar correu electrònic", + "accounts-allowUserNameChange": "Allow Username Change", + "createdAt": "Creat ", + "verified": "Verificat", + "active": "Actiu", + "card-received": "Received", + "card-received-on": "Received on", + "card-end": "End", + "card-end-on": "Ends on", + "editCardReceivedDatePopup-title": "Change received date", + "editCardEndDatePopup-title": "Change end date", + "setCardColorPopup-title": "Set color", + "setCardActionsColorPopup-title": "Choose a color", + "setSwimlaneColorPopup-title": "Choose a color", + "setListColorPopup-title": "Choose a color", + "assigned-by": "Assignat Per", + "requested-by": "Demanat Per", + "board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.", + "delete-board-confirm-popup": "All lists, cards, labels, and activities will be deleted and you won't be able to recover the board contents. There is no undo.", + "boardDeletePopup-title": "Delete Board?", + "delete-board": "Delete Board", + "default-subtasks-board": "Subtasks for __board__ board", + "default": "Default", + "queue": "Queue", + "subtask-settings": "Subtasks Settings", + "card-settings": "Configuració de targeta", + "boardSubtaskSettingsPopup-title": "Board Subtasks Settings", + "boardCardSettingsPopup-title": "Configuració de targeta", + "deposit-subtasks-board": "Deposit subtasks to this board:", + "deposit-subtasks-list": "Landing list for subtasks deposited here:", + "show-parent-in-minicard": "Show parent in minicard:", + "prefix-with-full-path": "Prefix with full path", + "prefix-with-parent": "Prefix with parent", + "subtext-with-full-path": "Subtext with full path", + "subtext-with-parent": "Subtext with parent", + "change-card-parent": "Change card's parent", + "parent-card": "Parent card", + "source-board": "Source board", + "no-parent": "Don't show parent", + "activity-added-label": "added label '%s' to %s", + "activity-removed-label": "removed label '%s' from %s", + "activity-delete-attach": "deleted an attachment from %s", + "activity-added-label-card": "added label '%s'", + "activity-removed-label-card": "removed label '%s'", + "activity-delete-attach-card": "deleted an attachment", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "Rule", + "r-add-trigger": "Add trigger", + "r-add-action": "Add action", + "r-board-rules": "Regles del tauler", + "r-add-rule": "Add rule", + "r-view-rule": "View rule", + "r-delete-rule": "Delete rule", + "r-new-rule-name": "New rule title", + "r-no-rules": "No hi han regles", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "When a card", + "r-is": "is", + "r-is-moved": "is moved", + "r-added-to": "Added to", + "r-removed-from": "Removed from", + "r-the-board": "the board", + "r-list": "list", + "set-filter": "Set Filter", + "r-moved-to": "Moved to", + "r-moved-from": "Moved from", + "r-archived": "Moved to Archive", + "r-unarchived": "Restored from Archive", + "r-a-card": "una targeta", + "r-when-a-label-is": "When a label is", + "r-when-the-label": "When the label", + "r-list-name": "list name", + "r-when-a-member": "When a member is", + "r-when-the-member": "When the member", + "r-name": "name", + "r-when-a-attach": "When an attachment", + "r-when-a-checklist": "When a checklist is", + "r-when-the-checklist": "When the checklist", + "r-completed": "Completed", + "r-made-incomplete": "Made incomplete", + "r-when-a-item": "When a checklist item is", + "r-when-the-item": "When the checklist item", + "r-checked": "Checked", + "r-unchecked": "Unchecked", + "r-move-card-to": "Move card to", + "r-top-of": "Top of", + "r-bottom-of": "Bottom of", + "r-its-list": "its list", + "r-archive": "Moure al arxiu", + "r-unarchive": "Restore from Archive", + "r-card": "targeta", + "r-add": "Afegeix", + "r-remove": "Remove", + "r-label": "label", + "r-member": "member", + "r-remove-all": "Remove all members from the card", + "r-set-color": "Set color to", + "r-checklist": "checklist", + "r-check-all": "Check all", + "r-uncheck-all": "Uncheck all", + "r-items-check": "items of checklist", + "r-check": "Check", + "r-uncheck": "Uncheck", + "r-item": "item", + "r-of-checklist": "of checklist", + "r-send-email": "Send an email", + "r-to": "to", + "r-of": "of", + "r-subject": "subject", + "r-rule-details": "Rule details", + "r-d-move-to-top-gen": "Move card to top of its list", + "r-d-move-to-top-spec": "Move card to top of list", + "r-d-move-to-bottom-gen": "Move card to bottom of its list", + "r-d-move-to-bottom-spec": "Move card to bottom of list", + "r-d-send-email": "Send email", + "r-d-send-email-to": "to", + "r-d-send-email-subject": "subject", + "r-d-send-email-message": "message", + "r-d-archive": "Move card to Archive", + "r-d-unarchive": "Restore card from Archive", + "r-d-add-label": "Add label", + "r-d-remove-label": "Remove label", + "r-create-card": "Crea una targeta nova", + "r-in-list": "in list", + "r-in-swimlane": "in swimlane", + "r-d-add-member": "Add member", + "r-d-remove-member": "Remove member", + "r-d-remove-all-member": "Remove all member", + "r-d-check-all": "Check all items of a list", + "r-d-uncheck-all": "Uncheck all items of a list", + "r-d-check-one": "Check item", + "r-d-uncheck-one": "Uncheck item", + "r-d-check-of-list": "of checklist", + "r-d-add-checklist": "Add checklist", + "r-d-remove-checklist": "Remove checklist", + "r-by": "by", + "r-add-checklist": "Add checklist", + "r-with-items": "with items", + "r-items-list": "item1,item2,item3", + "r-add-swimlane": "Add swimlane", + "r-swimlane-name": "swimlane name", + "r-board-note": "Note: leave a field empty to match every possible value.", + "r-checklist-note": "Note: checklist's items have to be written as comma separated values.", + "r-when-a-card-is-moved": "Quan una targeta es mou a una altra llista", + "r-set": "Set", + "r-update": "Update", + "r-datefield": "date field", + "r-df-start-at": "start", + "r-df-due-at": "due", + "r-df-end-at": "end", + "r-df-received-at": "received", + "r-to-current-datetime": "to current date/time", + "r-remove-value-from": "Remove value from", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Authentication method", + "authentication-type": "Authentication type", + "custom-product-name": "Custom Product Name", + "layout": "Layout", + "hide-logo": "Hide Logo", + "add-custom-html-after-body-start": "Add Custom HTML after start", + "add-custom-html-before-body-end": "Add Custom HTML before end", + "error-undefined": "Something went wrong", + "error-ldap-login": "An error occurred while trying to login", + "display-authentication-method": "Display Authentication Method", + "default-authentication-method": "Default Authentication Method", + "duplicate-board": "Duplicate Board", + "people-number": "The number of people is:", + "swimlaneDeletePopup-title": "Delete Swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Restore all", + "delete-all": "Delete all", + "loading": "Loading, please wait.", + "previous_as": "last time was", + "act-a-dueAt": "modified due time to \nWhen: __timeValue__\nWhere: __card__\n previous due was __timeOldValue__", + "act-a-endAt": "modified ending time to __timeValue__ from (__timeOldValue__)", + "act-a-startAt": "modified starting time to __timeValue__ from (__timeOldValue__)", + "act-a-receivedAt": "modified received time to __timeValue__ from (__timeOldValue__)", + "a-dueAt": "modified due time to be", + "a-endAt": "modified ending time to be", + "a-startAt": "modified starting time to be", + "a-receivedAt": "modified received time to be", + "almostdue": "current due time %s is approaching", + "pastdue": "current due time %s is past", + "duenow": "current due time %s is today", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", + "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", + "act-duenow": "was reminding the current due (__timeValue__) of __card__ is now", + "act-atUserComment": "You were mentioned in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Are you sure you want to delete this account? There is no undo.", + "accounts-allowUserDelete": "Allow users to self delete their account", + "hide-minicard-label-text": "Hide minicard label text", + "show-desktop-drag-handles": "Show desktop drag handles", + "assignee": "Assignat", + "cardAssigneesPopup-title": "Assignat", + "addmore-detail": "Afegiu una descripció més detallada", + "show-on-card": "Show on Card", + "new": "New", + "editUserPopup-title": "Edit User", + "newUserPopup-title": "New User", + "notifications": "Notifications", + "view-all": "View All", + "filter-by-unread": "Filter by Unread", + "mark-all-as-read": "Mark all as read", + "remove-all-read": "Remove all read", + "allow-rename": "Allow Rename", + "allowRenamePopup-title": "Allow Rename", + "start-day-of-week": "Set day of the week start", + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archived", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/cs.i18n.json b/i18n/cs.i18n.json new file mode 100644 index 0000000..4991ac6 --- /dev/null +++ b/i18n/cs.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Přijmout", + "act-activity-notify": "Notifikace aktivit", + "act-addAttachment": "přidal(a) přílohu __attachment__ na kartu __card__ ve sloupci __list__ ve swimlane __swimlane__ na tablu __board__", + "act-deleteAttachment": "smazal(a) přílohu __attachment__ na kartě __card__ ve sloupci __list__ ve swimlane __swimlane__ na tablu __board__", + "act-addSubtask": "přidal(a) podúkol __subtask__ na kartu __card__ ve sloupci __list__ ve swimlane __swimlane__ na tablu __board__", + "act-addLabel": "Přídán štítek __label__ na kartu __card__ ve sloupci __list__ ve swimlane __swimlane__ na tablu __board__", + "act-addedLabel": "Přídán štítek __label__ na kartu __card__ ve sloupci __list__ ve swimlane __swimlane__ na tablu __board__", + "act-removeLabel": "Odstraněn štítek __label__ na kartě __card__ ve sloupci __list__ ve swimlane __swimlane__ na tablu __board__", + "act-removedLabel": "Odstraněn štítek __label__ na kartě __card__ ve sloupci __list__ ve swimlane __swimlane__ na tablu __board__", + "act-addChecklist": "přidal(a) zaškrtávací seznam __checklist__ na kartu __card__ ve sloupci __list__ ve swimlane __swimlane__ na tablu __board__", + "act-addChecklistItem": "přidal(a) položku zaškrtávacího seznamu __checklistItem__ do zaškrtávacího seznamu __checklist__ na kartě __card__ ve sloupci __list__ ve swimlane __swimlane__ na tablu __board__", + "act-removeChecklist": "smazal(a) zaškrtávací seznam __checklist__ na kartě __card__ ve sloupci __list__ ve swimlane __swimlane__ na tablu __board__", + "act-removeChecklistItem": "smazal(a) položku zaškrtávacího seznamu __checklistItem__ ze zaškrtávacího seznamu __checklist__ na kartě __card__ ve sloupci __list__ ve swimlane __swimlane__ na tablu __board__", + "act-checkedItem": "zaškrtl(a) __checklistItem__ na zaškrtávacím seznamu __checklist__ na kartě __card__ ve sloupci __list__ ve swimlane __swimlane__ na tablu __board__", + "act-uncheckedItem": "zrušil(a) zaškrtnutí __checklistItem__ na zaškrtávacím seznamu __checklist__ na kartě __card__ ve sloupci __list__ ve swimlane __swimlane__ na tablu __board__", + "act-completeChecklist": "dokončil(a) zaškrtávací seznam __checklist__ na kartě __card__ ve sloupci __list__ ve swimlane __swimlane__ na tablu __board__", + "act-uncompleteChecklist": "zrušil(a) dokončení zaškrtávacího seznamu __checklist__ na kartě __card__ ve sloupci __list__ ve swimlane __swimlane__ na tablu __board__", + "act-addComment": "přidal(a) komentář na kartě __card__: __comment__ ve sloupci __list__ ve swimlane __swimlane__ na tablu __board__", + "act-editComment": "edited comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteComment": "deleted comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createBoard": "přidal(a) tablo __board__", + "act-createSwimlane": "created swimlane __swimlane__ to board __board__", + "act-createCard": "přidal(a) kartu __card__ do sloupce __list__ ve swimlane __swimlane__ na tablu __board__", + "act-createCustomField": "přidal(a) pole __customField__ na tablo __board__", + "act-deleteCustomField": "odebral(a) pole __customField__ na tablu __board__", + "act-setCustomField": "edited custom field __customField__: __customFieldValue__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createList": "přidal(a) sloupec __list__ do tabla __board__", + "act-addBoardMember": "přidal(a) člena __member__ do tabla __board__", + "act-archivedBoard": "Tablo __board__ přesunuto do Archivu", + "act-archivedCard": "Karta __card__ ve sloupci __list__ ve swimlane __swimlane__ na tablu __board__ přesunuta do Archivu", + "act-archivedList": "Sloupec __list__ ve swimlane __swimlane__ na tablu __board__ přesunut do Archivu", + "act-archivedSwimlane": "Swimlane __swimlane__ na tablu __board__ přesunut do Archivu", + "act-importBoard": "importoval(a) tablo __board__", + "act-importCard": "importoval(a) karta __card__ do sloupce __list__ ve swimlane __swimlane__ na tablu __board__", + "act-importList": "importoval(a) sloupec __list__ do swimlane __swimlane__ na tablu __board__", + "act-joinMember": "přidal(a) člena __member__ na kartu __card__ v seznamu __list__ ve swimlane __swimlane__ na tablu __board__", + "act-moveCard": "moved card __card__ at board __board__ from list __oldList__ at swimlane __oldSwimlane__ to list __list__ at swimlane __swimlane__", + "act-moveCardToOtherBoard": "přesunul(a) kartu __card__ ze sloupce __oldList__ ve swimlane __oldSwimlane__ na tablu __oldBoard__ do sloupce __list__ ve swimlane __swimlane__ na tablu __board__", + "act-removeBoardMember": "odstranil(a) člena __member__ z tabla __board__", + "act-restoredCard": "obnovil(a) kartu __card__ do sloupce __list__ ve swimlane __swimlane__ na tablu __board__", + "act-unjoinMember": "odstranil(a) člena __member__ z karty __card__ ve sloupci __list__ ve swimlane __swimlane__ na tablu __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Akce", + "activities": "Aktivity", + "activity": "Aktivita", + "activity-added": "%s přidáno k %s", + "activity-archived": "%s bylo přesunuto do archivu", + "activity-attached": "přiloženo %s k %s", + "activity-created": "%s vytvořeno", + "activity-customfield-created": "vytvořeno vlastní pole %s", + "activity-excluded": "%s vyjmuto z %s", + "activity-imported": "importován %s do %s z %s", + "activity-imported-board": "importován %s z %s", + "activity-joined": "spojen %s", + "activity-moved": "%s přesunuto z %s do %s", + "activity-on": "na %s", + "activity-removed": "odstraněn %s z %s", + "activity-sent": "%s posláno na %s", + "activity-unjoined": "odpojen %s", + "activity-subtask-added": "podúkol přidán do %s", + "activity-checked-item": "dokončen %s v seznamu %s z %s", + "activity-unchecked-item": "nedokončen %s v seznamu %s z %s", + "activity-checklist-added": "přidán checklist do %s", + "activity-checklist-removed": "odstraněn checklist z %s", + "activity-checklist-completed": "completed checklist %s of %s", + "activity-checklist-uncompleted": "nedokončen seznam %s z %s", + "activity-checklist-item-added": "přidána položka checklist do '%s' v %s", + "activity-checklist-item-removed": "odstraněna položka seznamu do '%s' v %s", + "add": "Přidat", + "activity-checked-item-card": "dokončen %s v seznamu %s", + "activity-unchecked-item-card": "nedokončen %s v seznamu %s", + "activity-checklist-completed-card": "dokončil(a) zaškrtávací seznam __checklist__ na kartě __card__ ve sloupci __list__ ve swimlane __swimlane__ na tablu __board__", + "activity-checklist-uncompleted-card": "nedokončený seznam %s", + "activity-editComment": "upravit komentář %s", + "activity-deleteComment": "smazat komentář %s", + "add-attachment": "Přidat přílohu", + "add-board": "Přidat tablo", + "add-card": "Přidat kartu", + "add-swimlane": "Přidat Swimlane", + "add-subtask": "Přidat Podúkol", + "add-checklist": "Přidat zaškrtávací seznam", + "add-checklist-item": "Přidat položku do zaškrtávacího seznamu", + "add-cover": "Přidat obal", + "add-label": "Přidat štítek", + "add-list": "Přidat sloupec", + "add-members": "Přidat členy", + "added": "Přidán", + "addMemberPopup-title": "Členové", + "admin": "Administrátor", + "admin-desc": "Může zobrazovat a upravovat karty, mazat členy a měnit nastavení tabla.", + "admin-announcement": "Oznámení", + "admin-announcement-active": "Aktivní oznámení v celém systému", + "admin-announcement-title": "Oznámení od administrátora", + "all-boards": "Všechna tabla", + "and-n-other-card": "A __count__ další karta(y)", + "and-n-other-card_plural": "A __count__ dalších karet", + "apply": "Použít", + "app-is-offline": "Načítá se, prosím čekejte. Obnovení stránky způsobí ztrátu dat. Pokud se načítání nedaří, zkontrolujte prosím server.", + "archive": "Přesunout do archivu", + "archive-all": "Přesunout vše do archivu", + "archive-board": "Přesunout tablo do archivu", + "archive-card": "Přesunout kartu do archivu", + "archive-list": "Přesunout seznam do archivu", + "archive-swimlane": "Přesunout swimlane do archivu", + "archive-selection": "Přesunout výběr do archivu", + "archiveBoardPopup-title": "Přesunout tablo do archivu?", + "archived-items": "Archiv", + "archived-boards": "Tabla v archivu", + "restore-board": "Obnovit tablo", + "no-archived-boards": "V archivu nejsou žádná tabla.", + "archives": "Archiv", + "template": "Šablona", + "templates": "Šablony", + "assign-member": "Přiřadit člena", + "attached": "přiloženo", + "attachment": "Příloha", + "attachment-delete-pop": "Smazání přílohy je trvalé. Nejde vrátit zpět.", + "attachmentDeletePopup-title": "Smazat přílohu?", + "attachments": "Přílohy", + "auto-watch": "Automaticky sleduj tabla když jsou vytvořena", + "avatar-too-big": "Avatar obrázek je příliš velký (70KB max)", + "back": "Zpět", + "board-change-color": "Změnit barvu", + "board-nb-stars": "%s hvězdiček", + "board-not-found": "Tablo nenalezeno", + "board-private-info": "Toto tablo bude soukromé.", + "board-public-info": "Toto tablo bude veřejné.", + "boardChangeColorPopup-title": "Změnit pozadí tabla", + "boardChangeTitlePopup-title": "Přejmenovat tablo", + "boardChangeVisibilityPopup-title": "Upravit viditelnost", + "boardChangeWatchPopup-title": "Změnit sledování", + "boardMenuPopup-title": "Nastavení Tabla", + "boardChangeViewPopup-title": "Náhled tabla", + "boards": "Tabla", + "board-view": "Náhled tabla", + "board-view-cal": "Kalendář", + "board-view-swimlanes": "Swimlanes", + "board-view-collapse": "Sbalit", + "board-view-lists": "Sloupce", + "bucket-example": "Například \"O čem sním\"", + "cancel": "Zrušit", + "card-archived": "Karta byla přesunuta do archivu.", + "board-archived": "Toto tablo je přesunuto do archivu.", + "card-comments-title": "Tato karta má %s komentářů.", + "card-delete-notice": "Smazání je trvalé. Přijdete o všechny akce asociované s touto kartou.", + "card-delete-pop": "Všechny akce budou odstraněny z kanálu aktivity a nebude možné kartu obnovit. Toto nelze vrátit zpět.", + "card-delete-suggest-archive": "Můžete přesunout kartu do archivu pro odstranění z tabla a zachovat aktivitu.", + "card-due": "Termín", + "card-due-on": "Do", + "card-spent": "Strávený čas", + "card-edit-attachments": "Upravit přílohy", + "card-edit-custom-fields": "Upravit vlastní pole", + "card-edit-labels": "Upravit štítky", + "card-edit-members": "Upravit členy", + "card-labels-title": "Změnit štítky karty.", + "card-members-title": "Přidat nebo odstranit členy tohoto tabla z karty.", + "card-start": "Start", + "card-start-on": "Začít dne", + "cardAttachmentsPopup-title": "Přiložit formulář", + "cardCustomField-datePopup-title": "Změnit datum", + "cardCustomFieldsPopup-title": "Upravit vlastní pole", + "cardStartVotingPopup-title": "Začít hlasování", + "positiveVoteMembersPopup-title": "Navrhovatelé", + "negativeVoteMembersPopup-title": "Oponenti", + "card-edit-voting": "Úprava hlasování", + "editVoteEndDatePopup-title": "Změnit datum konce hlasování", + "allowNonBoardMembers": "Povolit všechny přihlášené uživatele", + "vote-question": "Otázka hlasování", + "vote-public": "Ukázat kdo jak hlasoval", + "vote-for-it": "pro", + "vote-against": "proti", + "deleteVotePopup-title": "Smazat hlas?", + "vote-delete-pop": "Smazání je nevratné. Ztratíte vše spojené s tímto hlasováním.", + "cardDeletePopup-title": "Smazat kartu?", + "cardDetailsActionsPopup-title": "Akce karty", + "cardLabelsPopup-title": "Štítky", + "cardMembersPopup-title": "Členové", + "cardMorePopup-title": "Více", + "cardTemplatePopup-title": "Vytvořit šablonu", + "cards": "Karty", + "cards-count": "Karty", + "casSignIn": "Přihlásit pomocí CAS", + "cardType-card": "Karta", + "cardType-linkedCard": "Propojená karta", + "cardType-linkedBoard": "Propojené tablo", + "change": "Změnit", + "change-avatar": "Změnit avatar", + "change-password": "Změnit heslo", + "change-permissions": "Změnit oprávnění", + "change-settings": "Změnit nastavení", + "changeAvatarPopup-title": "Změnit avatar", + "changeLanguagePopup-title": "Změnit jazyk", + "changePasswordPopup-title": "Změnit heslo", + "changePermissionsPopup-title": "Změnit oprávnění", + "changeSettingsPopup-title": "Změnit nastavení", + "subtasks": "Podúkol", + "checklists": "Checklisty", + "click-to-star": "Kliknutím přidat hvězdičku tomuto tablu.", + "click-to-unstar": "Kliknutím odebrat hvězdičku tomuto tablu.", + "clipboard": "Schránka nebo potáhnout a pustit", + "close": "Zavřít", + "close-board": "Zavřít tablo", + "close-board-pop": "Budete moci obnovit tablo kliknutím na tlačítko \"Archiv\" v hlavním menu.", + "color-black": "černá", + "color-blue": "modrá", + "color-crimson": "karmínová", + "color-darkgreen": "tmavě zelená", + "color-gold": "zlatá", + "color-gray": "šedá", + "color-green": "zelená", + "color-indigo": "indigo", + "color-lime": "světlezelená", + "color-magenta": "purpurová", + "color-mistyrose": "mistyrose", + "color-navy": "tmavě modrá", + "color-orange": "oranžová", + "color-paleturquoise": "paleturquoise", + "color-peachpuff": "peachpuff", + "color-pink": "růžová", + "color-plum": "švestková", + "color-purple": "fialová", + "color-red": "červená", + "color-saddlebrown": "saddlebrown", + "color-silver": "stříbrná", + "color-sky": "nebeská", + "color-slateblue": "slateblue", + "color-white": "bílá", + "color-yellow": "žlutá", + "unset-color": "Nenastaveno", + "comment": "Komentář", + "comment-placeholder": "Text komentáře", + "comment-only": "Pouze komentáře", + "comment-only-desc": "Může přidávat komentáře pouze do karet.", + "no-comments": "Žádné komentáře", + "no-comments-desc": "Nemůže vidět komentáře a aktivity", + "worker": "Pracovník", + "worker-desc": "Can only move cards, assign itself to card and comment.", + "computer": "Počítač", + "confirm-subtask-delete-dialog": "Opravdu chcete smazat tento podúkol?", + "confirm-checklist-delete-dialog": "Opravdu chcete smazat tento checklist?", + "copy-card-link-to-clipboard": "Kopírovat adresu karty do mezipaměti", + "linkCardPopup-title": "Propojit kartu", + "searchElementPopup-title": "Hledat", + "copyCardPopup-title": "Kopírovat kartu", + "copyChecklistToManyCardsPopup-title": "Kopírovat checklist do více karet", + "copyChecklistToManyCardsPopup-instructions": "Názvy a popisy cílové karty v tomto formátu JSON", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"Nadpis první karty\", \"description\":\"Popis druhé karty\"}, {\"title\":\"Nadpis druhé karty\",\"description\":\"Popis druhé karty\"},{\"title\":\"Nadpis poslední kary\",\"description\":\"Popis poslední karty\"} ]", + "create": "Vytvořit", + "createBoardPopup-title": "Vytvořit tablo", + "chooseBoardSourcePopup-title": "Importovat tablo", + "createLabelPopup-title": "Vytvořit štítek", + "createCustomField": "Vytvořit pole", + "createCustomFieldPopup-title": "Vytvořit pole", + "current": "Aktuální", + "custom-field-delete-pop": "Nelze vrátit zpět. Toto odebere toto vlastní pole ze všech karet a zničí jeho historii.", + "custom-field-checkbox": "Checkbox", + "custom-field-currency": "Měna", + "custom-field-currency-option": "Kód měny", + "custom-field-date": "Datum", + "custom-field-dropdown": "Rozbalovací seznam", + "custom-field-dropdown-none": "(prázdné)", + "custom-field-dropdown-options": "Seznam možností", + "custom-field-dropdown-options-placeholder": "Stiskněte enter pro přidání více možností", + "custom-field-dropdown-unknown": "(neznámé)", + "custom-field-number": "Číslo", + "custom-field-text": "Text", + "custom-fields": "Vlastní pole", + "date": "Datum", + "decline": "Zamítnout", + "default-avatar": "Výchozí avatar", + "delete": "Smazat", + "deleteCustomFieldPopup-title": "Smazat vlastní pole", + "deleteLabelPopup-title": "Smazat štítek?", + "description": "Popis", + "disambiguateMultiLabelPopup-title": "Dvojznačný štítek akce", + "disambiguateMultiMemberPopup-title": "Dvojznačná akce člena", + "discard": "Zahodit", + "done": "Hotovo", + "download": "Stáhnout", + "edit": "Upravit", + "edit-avatar": "Změnit avatar", + "edit-profile": "Upravit profil", + "edit-wip-limit": "Upravit WIP Limit", + "soft-wip-limit": "Mírný WIP limit", + "editCardStartDatePopup-title": "Změnit datum startu úkolu", + "editCardDueDatePopup-title": "Změnit datum dokončení úkolu", + "editCustomFieldPopup-title": "Upravit pole", + "editCardSpentTimePopup-title": "Změnit strávený čas", + "editLabelPopup-title": "Změnit štítek", + "editNotificationPopup-title": "Změnit notifikace", + "editProfilePopup-title": "Upravit profil", + "email": "Email", + "email-enrollAccount-subject": "Byl vytvořen účet na __siteName__", + "email-enrollAccount-text": "Ahoj __user__,\n\nMůžeš začít používat službu kliknutím na odkaz níže.\n\n__url__\n\nDěkujeme.", + "email-fail": "Odeslání emailu selhalo", + "email-fail-text": "Chyba při pokusu o odeslání emailu", + "email-invalid": "Neplatný email", + "email-invite": "Pozvat pomocí emailu", + "email-invite-subject": "__inviter__ odeslal pozvánku", + "email-invite-text": "Ahoj __user__,\n\n__inviter__ tě přizval ke spolupráci na tablu \"__board__\".\n\nNásleduj prosím odkaz níže:\n\n__url__\n\nDěkujeme.", + "email-resetPassword-subject": "Změň své heslo na __siteName__", + "email-resetPassword-text": "Ahoj __user__,\n\nPro změnu hesla klikni na odkaz níže.\n\n__url__\n\nDěkujeme.", + "email-sent": "Email byl odeslán", + "email-verifyEmail-subject": "Ověř svou emailovou adresu na", + "email-verifyEmail-text": "Ahoj __user__,\n\nPro ověření emailové adresy klikni na odkaz níže.\n\n__url__\n\nDěkujeme.", + "enable-wip-limit": "Povolit WIP Limit", + "error-board-doesNotExist": "Toto tablo neexistuje", + "error-board-notAdmin": "K provedení změny musíš být administrátor tohoto tabla", + "error-board-notAMember": "K provedení změny musíš být členem tohoto tabla", + "error-json-malformed": "Tvůj text není validní JSON", + "error-json-schema": "Tato JSON data neobsahují správné informace v platném formátu", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "Tento sloupec ;neexistuje", + "error-user-doesNotExist": "Tento uživatel neexistuje", + "error-user-notAllowSelf": "Nemůžeš pozvat sám sebe", + "error-user-notCreated": "Tento uživatel není vytvořen", + "error-username-taken": "Toto uživatelské jméno již existuje", + "error-email-taken": "Tento email byl již použit", + "export-board": "Exportovat tablo", + "export-board-json": "Exportovat tablo do JSON", + "export-board-csv": "Exportovat tablo do CSV", + "export-board-tsv": "Exportovat tablo do TSV", + "export-board-html": "Exportovat tablo do HTML", + "exportBoardPopup-title": "Exportovat tablo", + "sort": "řadit", + "sort-desc": "Kliknout pro třídění seznamu", + "list-sort-by": "řadit seznam podle", + "list-label-modifiedAt": "Čas posledního přístupu", + "list-label-title": "Název seznamu", + "list-label-sort": "Vaše ruční uspořádání", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Filtr", + "filter-cards": "Filtrovat karty nebo seznamy", + "list-filter-label": "Filtrovat seznam podle názvu", + "filter-clear": "Vyčistit filtr", + "filter-no-label": "Žádný štítek", + "filter-no-member": "Žádný člen", + "filter-no-assignee": "Bez řešitele", + "filter-no-custom-fields": "Žádné vlastní pole", + "filter-show-archive": "Zobrazit archivované listy", + "filter-hide-empty": "Skrýt prázdné listy", + "filter-on": "Filtr je zapnut", + "filter-on-desc": "Filtrujete karty tohoto tabla. Pro úpravu filtru klikni sem.", + "filter-to-selection": "Filtrovat výběr", + "advanced-filter-label": "Pokročilý filtr", + "advanced-filter-description": "Pokročilý filtr dovoluje zapsat řetězec následujících operátorů: == != <= >= && || () Operátory jsou odděleny mezerou. Můžete filtrovat všechny vlastní pole zadáním jejich názvů nebo hodnot. Například: Pole1 == Hodnota1. Poznámka: Pokud pole nebo hodnoty obsahují mezery, je potřeba je obalit v jednoduchých uvozovkách. Například: 'Pole 1' == 'Hodnota 1'. Pro ignorovaní kontrolních znaků (' \\ /) je možné použít \\. Například Pole1 == I\\'m. Můžete také kombinovat více podmínek. Například P1 == H1 || P1 == H2. Obvykle jsou operátory interpretovány zleva doprava. Jejich pořadí můžete měnit pomocí závorek. Například: P1 == H1 && ( P2 == H2 || P2 == H3 )", + "fullname": "Celé jméno", + "header-logo-title": "Jit zpět na stránku s tably.", + "hide-system-messages": "Skrýt systémové zprávy", + "headerBarCreateBoardPopup-title": "Vytvořit tablo", + "home": "Domů", + "import": "Import", + "link": "Propojit", + "import-board": "Importovat tablo", + "import-board-c": "Importovat tablo", + "import-board-title-trello": "Import board from Trello", + "import-board-title-wekan": "Importovat tablo z předchozího exportu", + "import-board-title-csv": "Importovat tablo z CSV/TSV", + "from-trello": "Z Trella", + "from-wekan": "Z předchozího exportu", + "from-csv": "Z CSV/TSV", + "import-board-instruction-trello": "Na svém Trello tablu, otevři 'Menu', pak 'More', 'Print and Export', 'Export JSON', a zkopíruj výsledný text", + "import-board-instruction-csv": "Vložit do vašeho Comma Separated Values (CSV)/ Tab Separated Values (TSV).", + "import-board-instruction-wekan": "Ve vašem tablu jděte do 'Menu', klikněte na 'Exportovat tablo' a zkopírujte text ze staženého souboru.", + "import-board-instruction-about-errors": "Někdy import funguje i přestože dostáváte chyby při importování tabla, které se zobrazí na stránce Všechna tabla.", + "import-json-placeholder": "Sem vlož validní JSON data", + "import-csv-placeholder": "Zde vložte vaše platné CSV/TSV data", + "import-map-members": "Mapovat členy", + "import-members-map": "Toto importované tablo obsahuje několik osob. Prosím namapujte osoby z importu na místní uživatelské účty.", + "import-show-user-mapping": "Zkontrolovat namapování členů", + "import-user-select": "Vyberte existující uživatelský účet, kterého chcete použít pro tuto osobu", + "importMapMembersAddPopup-title": "Zvolte osobu", + "info": "Verze", + "initials": "Iniciály", + "invalid-date": "Neplatné datum", + "invalid-time": "Neplatný čas", + "invalid-user": "Neplatný uživatel", + "joined": "spojeno", + "just-invited": "Právě jsi byl pozván(a) do tohoto tabla", + "keyboard-shortcuts": "Klávesové zkratky", + "label-create": "Vytvořit štítek", + "label-default": "%s štítek (výchozí)", + "label-delete-pop": "Nelze vrátit zpět. Toto odebere tento štítek ze všech karet a zničí jeho historii.", + "labels": "Štítky", + "language": "Jazyk", + "last-admin-desc": "Nelze změnit role, protože musí existovat alespoň jeden administrátor.", + "leave-board": "Opustit tablo", + "leave-board-pop": "Opravdu chcete opustit tablo __boardTitle__? Odstraníte se tím i ze všech karet v tomto tablu.", + "leaveBoardPopup-title": "Opustit tablo?", + "link-card": "Odkázat na tuto kartu", + "list-archive-cards": "Přesunout všechny karty v tomto seznamu do archivu.", + "list-archive-cards-pop": "Toto odstraní z tabla všechny karty z tohoto seznamu. Pro zobrazení karet v Archivu a jejich opětovné obnovení, klikni v \"Menu\" > \"Archiv\".", + "list-move-cards": "Přesunout všechny karty v tomto sloupci", + "list-select-cards": "Vybrat všechny karty v tomto sloupci", + "set-color-list": "Nastavit barvu", + "listActionPopup-title": "Vypsat akce", + "swimlaneActionPopup-title": "Akce swimlane", + "swimlaneAddPopup-title": "Přidat swimlane dolů", + "listImportCardPopup-title": "Importovat Trello kartu", + "listImportCardsTsvPopup-title": "Importovat Excel CSV/TSV", + "listMorePopup-title": "Více", + "link-list": "Odkaz na tento sloupec", + "list-delete-pop": "Všechny akce budou odstraněny z kanálu aktivity a nebude možné sloupec obnovit. Toto nelze vrátit zpět.", + "list-delete-suggest-archive": "Seznam můžete přesunout do archivu, abyste jej odstranili z tabla a zachovali si svou aktivitu.", + "lists": "Sloupce", + "swimlanes": "Swimlanes", + "log-out": "Odhlásit", + "log-in": "Přihlásit", + "loginPopup-title": "Přihlásit", + "memberMenuPopup-title": "Nastavení uživatele", + "members": "Členové", + "menu": "Menu", + "move-selection": "Přesunout výběr", + "moveCardPopup-title": "Přesunout kartu", + "moveCardToBottom-title": "Přesunout dolu", + "moveCardToTop-title": "Přesunout nahoru", + "moveSelectionPopup-title": "Přesunout výběr", + "multi-selection": "Multi-výběr", + "multi-selection-on": "Multi-výběr je zapnut", + "muted": "Umlčeno", + "muted-info": "Nikdy nedostanete oznámení o změně v tomto tablu.", + "my-boards": "Moje tabla", + "name": "Jméno", + "no-archived-cards": "V archivu nejsou žádné karty.", + "no-archived-lists": "V archivu nejsou žádné seznamy.", + "no-archived-swimlanes": "V archivu nejsou žádné swimlanes.", + "no-results": "Žádné výsledky", + "normal": "Normální", + "normal-desc": "Může zobrazovat a upravovat karty. Nemůže měnit nastavení.", + "not-accepted-yet": "Pozvánka ještě nebyla přijmuta", + "notify-participate": "Dostane aktualizace do všech karet, ve kterých se účastní jako tvůrce nebo člen", + "notify-watch": "Dostane aktualitace to všech tabel, sloupců nebo karet, které sledujete", + "optional": "volitelný", + "or": "nebo", + "page-maybe-private": "Tato stránka může být soukromá. Můžete ji zobrazit po přihlášení.", + "page-not-found": "Stránka nenalezena.", + "password": "Heslo", + "paste-or-dragdrop": "vložit, nebo přetáhnout a pustit soubor obrázku (pouze obrázek)", + "participating": "Zúčastnění", + "preview": "Náhled", + "previewAttachedImagePopup-title": "Náhled", + "previewClipboardImagePopup-title": "Náhled", + "private": "Soukromý", + "private-desc": "Toto tablo je soukromé. Pouze vybraní uživatelé ho mohou zobrazit a upravovat.", + "profile": "Profil", + "public": "Veřejný", + "public-desc": "Toto tablo je veřejné. Je viditelné pro každého, kdo na něj má odkaz a bude zobrazeno ve vyhledávačích jako je Google. Pouze vybraní uživatelé ho mohou upravovat.", + "quick-access-description": "Pro přidání odkazu do této lišty označ tablo hvězdičkou.", + "remove-cover": "Odstranit obal", + "remove-from-board": "Odstranit z tabla", + "remove-label": "Odstranit štítek", + "listDeletePopup-title": "Smazat sloupec?", + "remove-member": "Odebrat uživatele", + "remove-member-from-card": "Odstranit z karty", + "remove-member-pop": "Odstranit __name__ (__username__) z __boardTitle__? Uživatel bude odebrán ze všech karet na tomto tablu. Na tuto skutečnost bude upozorněn.", + "removeMemberPopup-title": "Odstranit člena?", + "rename": "Přejmenovat", + "rename-board": "Přejmenovat tablo", + "restore": "Obnovit", + "save": "Uložit", + "search": "Hledat", + "rules": "Pravidla", + "search-cards": "Hledání napříč názvy karet/seznamů, popisy a vlasními poli tohoto tabla", + "search-example": "Hledaný text", + "select-color": "Vybrat barvu", + "set-wip-limit-value": "Nastaví limit pro maximální počet úkolů ve sloupci.", + "setWipLimitPopup-title": "Nastavit WIP Limit", + "shortcut-assign-self": "Přiřadit sebe k aktuální kartě", + "shortcut-autocomplete-emoji": "Automatické dokončování emoji", + "shortcut-autocomplete-members": "Automatický výběr uživatel", + "shortcut-clear-filters": "Vyčistit všechny filtry", + "shortcut-close-dialog": "Zavřít dialog", + "shortcut-filter-my-cards": "Filtrovat mé karty", + "shortcut-show-shortcuts": "Otevřít tento seznam odkazů", + "shortcut-toggle-filterbar": "Přepnout lištu filtrování", + "shortcut-toggle-sidebar": "Přepnout lištu tabla", + "show-cards-minimum-count": "Zobrazit počet karet pokud sloupec obsahuje více než", + "sidebar-open": "Otevřít boční panel", + "sidebar-close": "Zavřít boční panel", + "signupPopup-title": "Vytvořit účet", + "star-board-title": "Kliknutím přidat tablu hvězdičku. Poté bude zobrazeno nahoře.", + "starred-boards": "Tabla s hvězdičkou", + "starred-boards-description": "Tabla s hvězdičkou jsou zobrazena nahoře.", + "subscribe": "Odebírat", + "team": "Tým", + "this-board": "toto tablo", + "this-card": "tuto kartu", + "spent-time-hours": "Strávený čas (hodiny)", + "overtime-hours": "Přesčas (hodiny)", + "overtime": "Přesčas", + "has-overtime-cards": "Obsahuje karty s přesčasy", + "has-spenttime-cards": "Obsahuje karty se stráveným časem", + "time": "Čas", + "title": "Název", + "tracking": "Pozorující", + "tracking-info": "Budete informováni o všech změnách v kartách, u kterých jste tvůrce nebo člen.", + "type": "Typ", + "unassign-member": "Vyřadit člena", + "unsaved-description": "Popis neni uložen.", + "unwatch": "Přestat sledovat", + "upload": "Nahrát", + "upload-avatar": "Nahrát avatar", + "uploaded-avatar": "Avatar nahrán", + "username": "Uživatelské jméno", + "view-it": "Zobrazit", + "warn-list-archived": "varování: tato karta je v seznamu v Archivu", + "watch": "Sledovat", + "watching": "Sledující", + "watching-info": "Bude vám oznámena každá změna v tomto tablu", + "welcome-board": "Uvítací tablo", + "welcome-swimlane": "Milník 1", + "welcome-list1": "Základní", + "welcome-list2": "Pokročilé", + "card-templates-swimlane": "Šablony Karty", + "list-templates-swimlane": "Šablony Sloupce", + "board-templates-swimlane": "Šablony Tabla", + "what-to-do": "Co chcete dělat?", + "wipLimitErrorPopup-title": "Neplatný WIP Limit", + "wipLimitErrorPopup-dialog-pt1": "Počet úkolů v tomto sloupci je vyšší než definovaný WIP limit.", + "wipLimitErrorPopup-dialog-pt2": "Přesuňte prosím některé úkoly mimo tento sloupec, nebo nastavte vyšší WIP limit.", + "admin-panel": "Administrátorský panel", + "settings": "Nastavení", + "people": "Lidé", + "registration": "Registrace", + "disable-self-registration": "Vypnout svévolnou registraci", + "invite": "Pozvánka", + "invite-people": "Pozvat lidi", + "to-boards": "Do tabel", + "email-addresses": "Emailové adresy", + "smtp-host-description": "Adresa SMTP serveru, který zpracovává vaše emaily.", + "smtp-port-description": "Port, který používá Váš SMTP server pro odchozí emaily.", + "smtp-tls-description": "Zapnout TLS podporu pro SMTP server", + "smtp-host": "SMTP Host", + "smtp-port": "SMTP Port", + "smtp-username": "Uživatelské jméno", + "smtp-password": "Heslo", + "smtp-tls": "podpora TLS", + "send-from": "Od", + "send-smtp-test": "Poslat si zkušební email.", + "invitation-code": "Kód pozvánky", + "email-invite-register-subject": "__inviter__ odeslal pozvánku", + "email-invite-register-text": "Ahoj __user__,\n\n__inviter__ tě přizval do kanban boardu ke spolupráci.\n\nNásleduj prosím odkaz níže:\n\n__url__\n\nKód Tvé pozvánky je: __icode__\n\nDěkujeme.", + "email-smtp-test-subject": "E-mail testující SMTP", + "email-smtp-test-text": "Email byl úspěšně odeslán", + "error-invitation-code-not-exist": "Kód pozvánky neexistuje.", + "error-notAuthorized": "Nejste autorizován k prohlížení této stránky.", + "webhook-title": "Webhook Name", + "webhook-token": "Token (Volitelné pro autentizaci)", + "outgoing-webhooks": "Odchozí Webhooky", + "bidirectional-webhooks": "Two-Way Webhooks", + "outgoingWebhooksPopup-title": "Odchozí Webhooky", + "boardCardTitlePopup-title": "Filtr názvů karet", + "disable-webhook": "Disable This Webhook", + "global-webhook": "Global Webhooks", + "new-outgoing-webhook": "Nové odchozí Webhooky", + "no-name": "(Neznámé)", + "Node_version": "Node verze", + "Meteor_version": "Meteor version", + "MongoDB_version": "MongoDB verze", + "MongoDB_storage_engine": "MongoDB storage engine", + "MongoDB_Oplog_enabled": "MongoDB Oplog enabled", + "OS_Arch": "OS Architektura", + "OS_Cpus": "OS Počet CPU", + "OS_Freemem": "OS Volná paměť", + "OS_Loadavg": "OS Průměrná zátěž systém", + "OS_Platform": "Platforma OS", + "OS_Release": "Verze OS", + "OS_Totalmem": "OS Celková paměť", + "OS_Type": "Typ OS", + "OS_Uptime": "OS Doba běhu systému", + "days": "dní", + "hours": "hodin", + "minutes": "minut", + "seconds": "sekund", + "show-field-on-card": "Ukázat toto pole na kartě", + "automatically-field-on-card": "Automaticky vytvořit pole na všech kartách", + "showLabel-field-on-card": "Ukázat štítek pole na minikartě", + "yes": "Ano", + "no": "Ne", + "accounts": "Účty", + "accounts-allowEmailChange": "Povolit změnu Emailu", + "accounts-allowUserNameChange": "Povolit změnu uživatelského jména", + "createdAt": "Vytvořeno v", + "verified": "Ověřen", + "active": "Aktivní", + "card-received": "Přijato", + "card-received-on": "Přijaté v", + "card-end": "Konec", + "card-end-on": "Končí v", + "editCardReceivedDatePopup-title": "Změnit datum přijetí", + "editCardEndDatePopup-title": "Změnit datum konce", + "setCardColorPopup-title": "Nastav barvu", + "setCardActionsColorPopup-title": "Vyber barvu", + "setSwimlaneColorPopup-title": "Vyber barvu", + "setListColorPopup-title": "Vyber barvu", + "assigned-by": "Přidělil(a)", + "requested-by": "Vyžádal(a)", + "board-delete-notice": "Smazání je trvalé. Přijdete o všechny sloupce, karty a akce spojené s tímto tablem.", + "delete-board-confirm-popup": "Všechny sloupce, štítky a aktivity budou smazány a obsah tabla nebude možné obnovit. Toto nelze vrátit zpět.", + "boardDeletePopup-title": "Smazat tablo?", + "delete-board": "Smazat tablo", + "default-subtasks-board": "Podúkoly pro tablo __board__", + "default": "Výchozí", + "queue": "Fronta", + "subtask-settings": "Nastavení podúkolů", + "card-settings": "Nastavení karet", + "boardSubtaskSettingsPopup-title": "Nastavení podúkolů tabla", + "boardCardSettingsPopup-title": "Nastavení karet", + "deposit-subtasks-board": "Vložit podúkoly do tohoto tabla", + "deposit-subtasks-list": "Landing list for subtasks deposited here:", + "show-parent-in-minicard": "Ukázat předka na minikartě", + "prefix-with-full-path": "Prefix s celou cestou", + "prefix-with-parent": "Prefix s předkem", + "subtext-with-full-path": "Podtext s celou cestou", + "subtext-with-parent": "Podtext s předkem", + "change-card-parent": "Změnit rodiče karty", + "parent-card": "Rodičovská karta", + "source-board": "Zdrojové tablo", + "no-parent": "Nezobrazovat rodiče", + "activity-added-label": "added label '%s' to %s", + "activity-removed-label": "removed label '%s' from %s", + "activity-delete-attach": "deleted an attachment from %s", + "activity-added-label-card": "přidán štítek '%s'", + "activity-removed-label-card": "odstraněn štítek '%s'", + "activity-delete-attach-card": "odstraněna příloha", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "Pravidlo", + "r-add-trigger": "Přidat spoštěč", + "r-add-action": "Přidat akci", + "r-board-rules": "Pravidla Tabla", + "r-add-rule": "Přidat pravidlo", + "r-view-rule": "Zobrazit pravidlo", + "r-delete-rule": "Smazat pravidlo", + "r-new-rule-name": "Nový název pravidla", + "r-no-rules": "Žádná pravidla", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "Pokud karta", + "r-is": "je", + "r-is-moved": "je přesunuto", + "r-added-to": "Added to", + "r-removed-from": "Odstraněno z", + "r-the-board": "tablo", + "r-list": "sloupce", + "set-filter": "Nastavit filtr", + "r-moved-to": "Přesunuto do", + "r-moved-from": "Přesunuto z", + "r-archived": "Přesunuto do archivu", + "r-unarchived": "Obnoveno z archivu", + "r-a-card": "karta", + "r-when-a-label-is": "Pokud nějaký štítek je", + "r-when-the-label": "Pokud tento štítek je", + "r-list-name": "název seznamu", + "r-when-a-member": "Pokud nějaký člen je", + "r-when-the-member": "Pokud tento člen je", + "r-name": "jméno", + "r-when-a-attach": "Pokud je nějaká příloha", + "r-when-a-checklist": "Když zaškrtávací seznam je", + "r-when-the-checklist": "Když zaškrtávací seznam", + "r-completed": "Dokončeno", + "r-made-incomplete": "Vytvořeno nehotové", + "r-when-a-item": "Když položka zaškrtávacího seznamu je", + "r-when-the-item": "Když položka zaškrtávacího seznamu", + "r-checked": "Zaškrtnuto", + "r-unchecked": "Odškrtnuto", + "r-move-card-to": "Přesunout kartu do", + "r-top-of": "Začátek", + "r-bottom-of": "Spodek", + "r-its-list": "toho sloupce", + "r-archive": "Přesunout do archivu", + "r-unarchive": "Obnovit z archivu", + "r-card": "karta", + "r-add": "Přidat", + "r-remove": "Odstranit", + "r-label": "štítek", + "r-member": "člen", + "r-remove-all": "Odstranit všechny členy z této karty", + "r-set-color": "Nastav barvu na", + "r-checklist": "zaškrtávací seznam", + "r-check-all": "Zaškrtnout vše", + "r-uncheck-all": "Odškrtnout vše", + "r-items-check": "položky zaškrtávacího seznamu", + "r-check": "Označit", + "r-uncheck": "Odznačit", + "r-item": "Položka", + "r-of-checklist": "ze zaškrtávacího seznamu", + "r-send-email": "Odeslat e-mail", + "r-to": "komu", + "r-of": "of", + "r-subject": "předmět", + "r-rule-details": "Podrobnosti pravidla", + "r-d-move-to-top-gen": "Přesunout kartu na začátek toho sloupce", + "r-d-move-to-top-spec": "Přesunout kartu na začátek sloupce", + "r-d-move-to-bottom-gen": "Přesunout kartu na konec sloupce", + "r-d-move-to-bottom-spec": "Přesunout kartu na konec sloupce", + "r-d-send-email": "Odeslat email", + "r-d-send-email-to": "komu", + "r-d-send-email-subject": "předmět", + "r-d-send-email-message": "zpráva", + "r-d-archive": "Přesunout kartu do archivu", + "r-d-unarchive": "Obnovit kartu z archivu", + "r-d-add-label": "Přidat štítek", + "r-d-remove-label": "Odstranit štítek", + "r-create-card": "Vytvořit novou kartu", + "r-in-list": "v seznamu", + "r-in-swimlane": "ve swimlane", + "r-d-add-member": "Přidat člena", + "r-d-remove-member": "Odstranit člena", + "r-d-remove-all-member": "Odstranit všechny členy", + "r-d-check-all": "Označit všechny položky na seznamu", + "r-d-uncheck-all": "Odznačit všechny položky na seznamu", + "r-d-check-one": "Označit položku", + "r-d-uncheck-one": "Odznačit položku", + "r-d-check-of-list": "ze zaškrtávacího seznamu", + "r-d-add-checklist": "Přidat zaškrtávací seznam", + "r-d-remove-checklist": "Odstranit zaškrtávací seznam", + "r-by": "by", + "r-add-checklist": "Přidat zaškrtávací seznam", + "r-with-items": "s položkami", + "r-items-list": "položka1,položka2,položka3", + "r-add-swimlane": "Přidat swimlane", + "r-swimlane-name": "Název swimlane", + "r-board-note": "Note: leave a field empty to match every possible value.", + "r-checklist-note": "Note: checklist's items have to be written as comma separated values.", + "r-when-a-card-is-moved": "Když je karta přesunuta do jiného sloupce", + "r-set": "Set", + "r-update": "Aktualizovat", + "r-datefield": "pole datum", + "r-df-start-at": "začátek", + "r-df-due-at": "do", + "r-df-end-at": "konec", + "r-df-received-at": "přijato", + "r-to-current-datetime": "to current date/time", + "r-remove-value-from": "Odstranit hodnotu z", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Metoda autentizace", + "authentication-type": "Typ autentizace", + "custom-product-name": "Vlastní název produktu", + "layout": "Uspořádání", + "hide-logo": "Skrýt logo", + "add-custom-html-after-body-start": "Přidej vlastní HTML za ", + "add-custom-html-before-body-end": "Přidej vlastní HTML před ", + "error-undefined": "Něco se pokazilo", + "error-ldap-login": "Během přihlašování nastala chyba", + "display-authentication-method": "Zobraz způsob ověřování", + "default-authentication-method": "Zobraz způsob ověřování", + "duplicate-board": "Duplikovat tablo", + "people-number": "The number of people is:", + "swimlaneDeletePopup-title": "Delete Swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Restore all", + "delete-all": "Delete all", + "loading": "Loading, please wait.", + "previous_as": "naposledy bylo", + "act-a-dueAt": "modified due time to \nWhen: __timeValue__\nWhere: __card__\n previous due was __timeOldValue__", + "act-a-endAt": "modified ending time to __timeValue__ from (__timeOldValue__)", + "act-a-startAt": "modified starting time to __timeValue__ from (__timeOldValue__)", + "act-a-receivedAt": "modified received time to __timeValue__ from (__timeOldValue__)", + "a-dueAt": "modified due time to be", + "a-endAt": "modified ending time to be", + "a-startAt": "modified starting time to be", + "a-receivedAt": "modified received time to be", + "almostdue": "current due time %s is approaching", + "pastdue": "current due time %s is past", + "duenow": "current due time %s is today", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", + "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", + "act-duenow": "was reminding the current due (__timeValue__) of __card__ is now", + "act-atUserComment": "You were mentioned in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Jste si jisti, že chcete smazat tento účet? Tuto akci nelze vrátit zpět.", + "accounts-allowUserDelete": "Dovolit uživatelům smazat vlastní účet", + "hide-minicard-label-text": "Hide minicard label text", + "show-desktop-drag-handles": "Show desktop drag handles", + "assignee": "Řešitel", + "cardAssigneesPopup-title": "Řešitel", + "addmore-detail": "Přidat detailnější popis", + "show-on-card": "Zobrazit na kartě", + "new": "Nový", + "editUserPopup-title": "Editovat uživatele", + "newUserPopup-title": "Nový uživatel", + "notifications": "Upozornění", + "view-all": "Zobrazit vše", + "filter-by-unread": "Zobrazit nepřečtené", + "mark-all-as-read": "Označit vše jako přečtené", + "remove-all-read": "Odstranit přečtené", + "allow-rename": "Povolit přejmenování", + "allowRenamePopup-title": "Povolit přejmenování", + "start-day-of-week": "Nastavit první den týdne", + "monday": "Pondělí", + "tuesday": "Úterý", + "wednesday": "Středa", + "thursday": "Čtvrtek", + "friday": "Pátek", + "saturday": "Sobota", + "sunday": "Neděle", + "status": "Stav", + "swimlane": "Dráha", + "owner": "Vlastník", + "last-modified-at": "Naposledy změněno", + "last-activity": "Poslední aktivita", + "voting": "Hlasování", + "archived": "Archivováno", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Skrýt zvolené položky" +} \ No newline at end of file diff --git a/i18n/da.i18n.json b/i18n/da.i18n.json new file mode 100644 index 0000000..b3fc68d --- /dev/null +++ b/i18n/da.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Acceptér", + "act-activity-notify": "Aktivitetsnotits", + "act-addAttachment": "tilføjede vedhæftningen __attachment__ til kortet __card__ på listen __list__ i svømmebanen __swimlane__ på tavlen __board__", + "act-deleteAttachment": "slettede vedhæftning __attachment__ til kortet __card__ på listen __list__ i svømmebanen __swimlane__ på tavlen __board__", + "act-addSubtask": "tilføjede delopgaven __subtask__ til kortet __card__ på listen __list__ i svømmebanen __swimlane__ på tavlen __board__", + "act-addLabel": "Tilføjede etiketten __label__ til kortet __card__ på listen __list__ i svømmebanen __swimlane__ på tavlen __board__", + "act-addedLabel": "Tilføjede etiketten __label__ til kortet __card__ på listen __list__ i svømmebanen __swimlane__ på tavlen __board__", + "act-removeLabel": "Fjernede etiketten __label__ fra kortet __card__ på listen __list__ i svømmebanen __swimlane__ på kortet __board__", + "act-removedLabel": "Fjernede etiketten __label__ fra kortet __card__ på listen __list__ i svømmebanen __swimlane__ på kortet __board__", + "act-addChecklist": "tilføjede tjeklisten __checklist__ til kortet __card__ på listen __list__ i svømmebanen __swimlane__ på tavlen __board__", + "act-addChecklistItem": "tilføjede elementet i tjekliste __checklistItem__ til tjeklisten __checklist__ i kortet __card__ på listen __list__ i svømmebanen __swimlane__ på tavlen __board__", + "act-removeChecklist": "fjernede tjeklisten __checklist__ fra kortet __card__ på listen __list__ i svømmebanen __swimlane__ på tavlen __board__", + "act-removeChecklistItem": "fjernede elementet i tjekliste __checklistItem__ fra tjeklisten __checkList__ fra kortet __card__ på listen __list__ i svømmebanen __swimlane__ på tavlen __board__", + "act-checkedItem": "markerede __checklistItem__ fra tjeklisten __checklist__ fra kortet __card__ på listen __list__ i svømmebanen __swimlane__ på tavlen __board__", + "act-uncheckedItem": "afmarkerede __checklistItem__ fra tjeklisten __checklist__ fra kortet __card__ på listen __list__ i svømmebanen __swimlane__ på tavlen __board__", + "act-completeChecklist": "afsluttet tjekliste __checklist__ i kortet __card__ på listen __list__ i svømmebanen __swimlane__ på tavlen __board__", + "act-uncompleteChecklist": "uafsluttet tjekliste __checklist__ i kortet __card__ på listen __list__ i svømmebanen __swimlane__ på tavlen __board__", + "act-addComment": "kommenterede på kortet __card__: __comment__ til listen __list__ i svømmebanen __swimlane__ på tavlen __board__", + "act-editComment": "redigerede kommentar på kortet __card__: __comment__ til listen __list__ i svømmebanen __swimlane__ på tavlen __board__", + "act-deleteComment": "slettede kommentar på kortet __card__: __comment__ til listen __list__ i svømmebanen __swimlane__ på tavlen __board__", + "act-createBoard": "oprettede tavlen __board__", + "act-createSwimlane": "oprettede svømmebanen __swimlane__ på tavlen __board__", + "act-createCard": "oprettede kortet __card__ på listen __list__ i svømmebanen __swimlane__ på tavlen __board__", + "act-createCustomField": "oprettede brugerdefineret felt __customField__ på tavlen __board__", + "act-deleteCustomField": "slettede brugerdefineret felt __customField__ på tavlen __board__", + "act-setCustomField": "redigerede brugerdefineret felt __customField__: __customFieldValue__ i kortet __card__ på lsten __list__ i svømmebanen __swimlane__ på tavlen __board__", + "act-createList": "tilføjede listen __list__ til tavlen __board__", + "act-addBoardMember": "tilføejede medlemmet __member__ til tavlen __board__", + "act-archivedBoard": "Tavlen __board__ blev flyttet til Arkiv", + "act-archivedCard": "Kortet __card__ på listen __list__ i svømmebanen __swimlane__ på tavlen __board__ er flyttet til arkivet", + "act-archivedList": "Listen __list__ i svømmebanen __swimlane__ på tavlen __board__ er flyttet til arkivet", + "act-archivedSwimlane": "Svømmebanen __swimlane__ på tavlen __board__ er flyttet til arkivet", + "act-importBoard": "importerede tavlen __board__", + "act-importCard": "importerede kortet __card__ til listen __list__ i svømmebanen __swimlane__ på tavlen __board__", + "act-importList": "importerede listen __list__ til svømmebanen __swimlane__ på tavlen __board__", + "act-joinMember": "tilføjede medlemmet __member__ til kortet __card__ på listen __list__ i svømmebanen __swimlane__ på tavlen __board__", + "act-moveCard": "flyttede kortet __card__ på tavlen __board__ fra listen __oldList__ i svømmebanen __oldSwimlane__ til listen __list__ i svømmebanen __swimlane__", + "act-moveCardToOtherBoard": "flyttede kortet __card__ fra listen __oldList__ i svømmebanen __oldSwimlane__ på tavlen __oldBoard__ til listen __list__ i svømmebanen __swimlane__ på tavlen __board__", + "act-removeBoardMember": "fjernede medlemmet __member__ fra tavlen __board__", + "act-restoredCard": "genskabte kortet __card__ til listen __list__ i svømmebanen __swimlane__ på tavlen __board__", + "act-unjoinMember": "fjernede medlemmet __member__ fra kortet __card__ på listen __list__ i svømmebanen __swimlane__ på tavlen __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Handlinger", + "activities": "Aktiviteter", + "activity": "Aktivitet", + "activity-added": "tilføjede %s til %s", + "activity-archived": "%s flyttet til Arkiv", + "activity-attached": "vedhæftede %s til %s", + "activity-created": "oprettede %s", + "activity-customfield-created": "oprettede brugerdefineret felt %s", + "activity-excluded": "ekskluderet %s fra %s", + "activity-imported": "importerede %s ind i %s fra %s", + "activity-imported-board": "importerede %s fra %s", + "activity-joined": "indgik i %s", + "activity-moved": "flyttede %s fra %s til %s", + "activity-on": "per %s", + "activity-removed": "fjernede %s fra %s", + "activity-sent": "sendte %s til %s", + "activity-unjoined": "udgik fra %s", + "activity-subtask-added": "tilføjede delopgave til %s", + "activity-checked-item": "afkrydsede %s i tjeklisten %s af %s", + "activity-unchecked-item": "fjernede kryds %s i tjeklisten %s af %s", + "activity-checklist-added": "tilføjede tjeklisten til %s", + "activity-checklist-removed": "fjernede en tjekliste fra %s", + "activity-checklist-completed": "færdiggjorde tjekliste %s af %s", + "activity-checklist-uncompleted": "gjorde tjeklisten ukomplet, %s af %s", + "activity-checklist-item-added": "tilføjede element i tjekliste til '%s' i %s", + "activity-checklist-item-removed": "fjernede element i tjekliste fra '%s' i %s", + "add": "Tilføj", + "activity-checked-item-card": "markerede %s i tjeklisten %s", + "activity-unchecked-item-card": "afmarkerede %s i tjeklisten %s", + "activity-checklist-completed-card": "udført tjekliste __checklist__ i kortet __card__ på listen __list__ i svømmebanen __swimlane__ på tavlen __board__", + "activity-checklist-uncompleted-card": "gjorde tjeklisten ukomplet %s", + "activity-editComment": "redigerede kommentar %s", + "activity-deleteComment": "slettede kommentar %s", + "add-attachment": "Tilføj vedhæftning", + "add-board": "Tilføj tavle", + "add-card": "Tilføj kort", + "add-swimlane": "Tilføj svømmebane", + "add-subtask": "Tilføj delopgave", + "add-checklist": "Tilføj tjekliste", + "add-checklist-item": "Tilføj et element til tjeklisten", + "add-cover": "Tilføj omslag", + "add-label": "Tilføj etikette", + "add-list": "Tilføj liste", + "add-members": "Tilføj medlemmer", + "added": "Tilføjet", + "addMemberPopup-title": "Medlemmer", + "admin": "Admin", + "admin-desc": "Kan se og redigere kort, fjerne medlemmer og ændre indstillinger for tavlen.", + "admin-announcement": "Annoncering", + "admin-announcement-active": "Aktivér annoncering på tværs af systemet", + "admin-announcement-title": "Annoncering fra administrator", + "all-boards": "Alle tavler", + "and-n-other-card": "Samt __count__ andre kort", + "and-n-other-card_plural": "Samt __count__ andre kort", + "apply": "Anvend", + "app-is-offline": "Indlæser, vent venligst. Genopfriskes siden er der risiko for tab af data. Fungerer indlæsningen ikke, så tjek venligst om serveren er stoppet. ", + "archive": "Flyt til arkiv", + "archive-all": "Flyt alle til arkiv", + "archive-board": "Flyt tavle til arkiv", + "archive-card": "Flyt kort til arkiv", + "archive-list": "Flyt liste til arkiv", + "archive-swimlane": "Flyt svømmebane til arkiv", + "archive-selection": "Flyt valgte til arkiv", + "archiveBoardPopup-title": "Flyt tavle til arkiv?", + "archived-items": "Arkiv", + "archived-boards": "Tavler i arkiv", + "restore-board": "Genskab tavle", + "no-archived-boards": "Ingen tavler i arkiv", + "archives": "Arkiv", + "template": "Skabelon", + "templates": "Skabeloner", + "assign-member": "Tilknyt medlem", + "attached": "vedhæftet", + "attachment": "Vedhæftning", + "attachment-delete-pop": "Slettes en vedhæftning sker det permanent. Det kan ikke omgøres. ", + "attachmentDeletePopup-title": "Slet vedhæftning?", + "attachments": "Vedhæftninger", + "auto-watch": "Følg automatisk tavler når de oprettes ", + "avatar-too-big": "Avataren fylder for meget (maks. 70KB)", + "back": "Tilbage", + "board-change-color": "Skift farve", + "board-nb-stars": "%s stjerner", + "board-not-found": "Fandt ikke tavle ", + "board-private-info": "Denne tavle vil være privat.", + "board-public-info": "Denne tavle vil være offentlig.", + "boardChangeColorPopup-title": "Skift tavlens baggrund", + "boardChangeTitlePopup-title": "Omdøb tavle", + "boardChangeVisibilityPopup-title": "Tilpas synlighed", + "boardChangeWatchPopup-title": "Tilpas følgefunktion", + "boardMenuPopup-title": "Tavleindstillinger", + "boardChangeViewPopup-title": "Tavlevisning", + "boards": "Tavler", + "board-view": "Tavlevisning", + "board-view-cal": "Kalender", + "board-view-swimlanes": "Svømmebaner", + "board-view-collapse": "Sammenfold", + "board-view-lists": "Lister", + "bucket-example": "Eksempelvis \"Bucked-liste\"", + "cancel": "Annullér", + "card-archived": "Dette kort blev flyttet til arkivet.", + "board-archived": "Denne tavle blev flyttet til arkivet.", + "card-comments-title": "Dette kort har %s kommentar.", + "card-delete-notice": "Sletning vil være permanent. Du mister alle handlinger knyttet til dette kort.", + "card-delete-pop": "Alle handlinger vil blive fjernet fra aktivitetsfeedet, og du kan ikke genåbne kortet. Det kan ikke omgøres.", + "card-delete-suggest-archive": "Du kan flytte et kort til arkivet for at fjerne det fra tavlen, og bevare aktiviteten.", + "card-due": "Forfalder", + "card-due-on": "Forfaldsdato", + "card-spent": "Anvendt tid", + "card-edit-attachments": "Redigér vedhæftninger", + "card-edit-custom-fields": "Redigér brugerdefinerede felter", + "card-edit-labels": "Redigér etiketter", + "card-edit-members": "Redigér medlemmer", + "card-labels-title": "Ændr etiketter for kortet.", + "card-members-title": "Tilføj eller fjern medlemmer på tavlen fra kortet.", + "card-start": "Start", + "card-start-on": "Starter per", + "cardAttachmentsPopup-title": "Vedhæft fra", + "cardCustomField-datePopup-title": "Ændringsdato", + "cardCustomFieldsPopup-title": "Redigér brugerdefinerede felter", + "cardStartVotingPopup-title": "Start en stemmeafgivning", + "positiveVoteMembersPopup-title": "Tilhængere", + "negativeVoteMembersPopup-title": "Modstandere", + "card-edit-voting": "Redigér stemmeafgivelse", + "editVoteEndDatePopup-title": "Skift slutdato for afstemning", + "allowNonBoardMembers": "Tillad alle brugere som er logget ind", + "vote-question": "Spørgsmål til afstemning", + "vote-public": "Vis hvem som stemte hvad", + "vote-for-it": "går ind for", + "vote-against": "går imod", + "deleteVotePopup-title": "Slet afstemning?", + "vote-delete-pop": "Sletning er permanent. Du mister alle handlinger knyttet til denne afstemning.", + "cardDeletePopup-title": "Slet kort?", + "cardDetailsActionsPopup-title": "Handlinger for kort", + "cardLabelsPopup-title": "Etiketter", + "cardMembersPopup-title": "Medlemmer", + "cardMorePopup-title": "Mere", + "cardTemplatePopup-title": "Opret skabelon", + "cards": "Kort", + "cards-count": "Kort", + "casSignIn": "Log ind med CAS", + "cardType-card": "Kort", + "cardType-linkedCard": "Sammenkædet kort", + "cardType-linkedBoard": "Sammenkædet tavle", + "change": "Tilpas", + "change-avatar": "Tilpas avatar", + "change-password": "Skift kodeord", + "change-permissions": "Tilpas tilladelser", + "change-settings": "Tilpas indstillinger", + "changeAvatarPopup-title": "Tilpas avatar", + "changeLanguagePopup-title": "Skift sprog", + "changePasswordPopup-title": "Skift kodeord", + "changePermissionsPopup-title": "Tilpas tilladelser", + "changeSettingsPopup-title": "Tilpas indstillinger", + "subtasks": "Delopgaver", + "checklists": "Tjeklister", + "click-to-star": "Klik for at tilføje stjerne til tavlen.", + "click-to-unstar": "Klik for at fjerne stjerne fra tavlen.", + "clipboard": "Udklipsholder eller træk-og-slip", + "close": "Luk", + "close-board": "Luk tavle", + "close-board-pop": "Du har mulighed for at genskabe tavlen ved at klikke på \"Arkiv\"-knappen fra overskriften hjem.", + "color-black": "sort", + "color-blue": "blå", + "color-crimson": "crimsonrød", + "color-darkgreen": "mørkegrøn", + "color-gold": "guld", + "color-gray": "grå", + "color-green": "grøn", + "color-indigo": "indigoblå", + "color-lime": "lime", + "color-magenta": "magenta", + "color-mistyrose": "lyserød", + "color-navy": "navyblå", + "color-orange": "orange", + "color-paleturquoise": "bleg turkis", + "color-peachpuff": "ferskenfarvet", + "color-pink": "pink", + "color-plum": "blommefarvet", + "color-purple": "lilla", + "color-red": "rød", + "color-saddlebrown": "saddelbrun", + "color-silver": "sølv", + "color-sky": "sky", + "color-slateblue": "blågrå", + "color-white": "hvid", + "color-yellow": "gul", + "unset-color": "Nulstil", + "comment": "Kommentér", + "comment-placeholder": "Skriv kommentar", + "comment-only": "Kun kommentarer", + "comment-only-desc": "Kan kun kommentere på kort.", + "no-comments": "Ingen kommentarer", + "no-comments-desc": "Kan ikke se kommentarer og aktiviteter.", + "worker": "Arbejder", + "worker-desc": "Kan kun flytte kort, tildele sig selv til kort og kommentere.", + "computer": "Computer", + "confirm-subtask-delete-dialog": "Er du sikker på du vil slette delopgaven?", + "confirm-checklist-delete-dialog": "Er du sikker på du vil slette tjeklisten?", + "copy-card-link-to-clipboard": "Kopiér link til kort til udklipsholder ", + "linkCardPopup-title": "Sammenkæd kort", + "searchElementPopup-title": "Søg", + "copyCardPopup-title": "Kopiér kort", + "copyChecklistToManyCardsPopup-title": "Kopiér tjeklisteskabelon til flere kort", + "copyChecklistToManyCardsPopup-instructions": "Destination for kortenes titler og beskrivelser i dette JSON-format", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"First card title\", \"description\":\"First card description\"}, {\"title\":\"Second card title\",\"description\":\"Second card description\"},{\"title\":\"Last card title\",\"description\":\"Last card description\"} ]", + "create": "Opret", + "createBoardPopup-title": "Opret tavle", + "chooseBoardSourcePopup-title": "Importér tavle", + "createLabelPopup-title": "Opret etikette", + "createCustomField": "Opret felt", + "createCustomFieldPopup-title": "Opret felt", + "current": "nuværende", + "custom-field-delete-pop": "Du kan ikke fortryde handlingen. Dette vil fjerne dette brugerdefinerede felt fra alle kort og tilintetgøre dens historik.", + "custom-field-checkbox": "Afkrydsningsfelt", + "custom-field-currency": "Currency", + "custom-field-currency-option": "Currency Code", + "custom-field-date": "Dato", + "custom-field-dropdown": "Rullegardinliste", + "custom-field-dropdown-none": "(ingen)", + "custom-field-dropdown-options": "Tilvalg for liste", + "custom-field-dropdown-options-placeholder": "Tryk enter for at tilføje flere tilvalg", + "custom-field-dropdown-unknown": "(ukendt)", + "custom-field-number": "Tal", + "custom-field-text": "Tekst", + "custom-fields": "Brugerdefinerede felter", + "date": "Dato", + "decline": "Afslå", + "default-avatar": "Standard-avatar", + "delete": "Slet", + "deleteCustomFieldPopup-title": "Slet brugerdefineret felt?", + "deleteLabelPopup-title": "Slet etikette?", + "description": "Beskrivelse", + "disambiguateMultiLabelPopup-title": "Tydeliggør handling for etikette", + "disambiguateMultiMemberPopup-title": "Tydeliggør handling for medlem", + "discard": "Forkast", + "done": "Færdig", + "download": "Hent", + "edit": "Redigér", + "edit-avatar": "Tilpas avatar", + "edit-profile": "Redigér profil", + "edit-wip-limit": "Redigér WIP-begrænsning", + "soft-wip-limit": "Blød WIP-begrænsning", + "editCardStartDatePopup-title": "Skift startdato", + "editCardDueDatePopup-title": "Skift forfaldsdato", + "editCustomFieldPopup-title": "Redigér felt", + "editCardSpentTimePopup-title": "Tilpas forbrugt tid", + "editLabelPopup-title": "Skift etikette", + "editNotificationPopup-title": "Redigér notifikation", + "editProfilePopup-title": "Redigér profil", + "email": "E-mail", + "email-enrollAccount-subject": "Der er oprettet konto til dig på __siteName__", + "email-enrollAccount-text": "Hej __user__,\n\nFor at begynde at benytte tjenesten, så klik linket nedenfor.\n\n__url__\n\nTak.", + "email-fail": "Afsendelse af e-mail mislykkedes", + "email-fail-text": "Fejl under afsendelse af e-mail", + "email-invalid": "Ugyldig e-mail", + "email-invite": "Invitér via e-mail", + "email-invite-subject": "__inviter__ sendte dig en invitation", + "email-invite-text": "Kære __user__,\n\n__inviter__ inviterer dig til deltagelse i tavlen \"__board__\" for samarbejde.\n\nFølg venligst linket nedenfor:\n\n__url__\n\nTak.", + "email-resetPassword-subject": "Genskab dit kodeord på __siteName__", + "email-resetPassword-text": "Hej __user__,\n\nFor at genskabe dit kodeord, så klik linket nedenfor your password.\n\n__url__\n\nTak.", + "email-sent": "E-mail er afsendt", + "email-verifyEmail-subject": "Verificér din e-mailadresse på your __siteName__", + "email-verifyEmail-text": "Hej __user__,\n\nFor at verificere din e-mail for kontoen, så klik på linket nedenfor.\n\n__url__\n\nTak.", + "enable-wip-limit": "Slå WIP-begrænsning til", + "error-board-doesNotExist": "Denne tavle eksisterer ikke.", + "error-board-notAdmin": "Du skal være administrator for tavlen for at gøre dette", + "error-board-notAMember": "Du skal være medlem af denne tavle for at gøre dette", + "error-json-malformed": "Din tekst er ikke gyldig JSON", + "error-json-schema": "Dine JSON-data indeholder ikke den rette information i det rette format", + "error-csv-schema": "Din CSV (kommaseparerede værdier)/TSV (Tabulatorseparerede værdier) indeholder ikke den rette information i det korrekte format", + "error-list-doesNotExist": "Listen findes ikke", + "error-user-doesNotExist": "Brugeren findes ikke", + "error-user-notAllowSelf": "Du kan ikke invitere dig selv", + "error-user-notCreated": "Brugeren er ikke oprettet", + "error-username-taken": "Brugernavnet er optaget", + "error-email-taken": "E-mailadressen er allerede optaget", + "export-board": "Eksportér tavle", + "export-board-json": "Eksportér tavle til JSON", + "export-board-csv": "Eksportér tavle til CSV", + "export-board-tsv": "Eksportér tavle til TSV", + "export-board-html": "Eksportér tavle til HTML", + "exportBoardPopup-title": "Eksportér tavle", + "sort": "Sortér", + "sort-desc": "Klik for at sortere listen", + "list-sort-by": "Sortér listen efter:", + "list-label-modifiedAt": "Senest tilgået:", + "list-label-title": "Navn på listen", + "list-label-sort": "Din manuelle ordre", + "list-label-short-modifiedAt": "(S)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Filter", + "filter-cards": "Filtrér kort eller lister", + "list-filter-label": "Filtrér lister efter titel", + "filter-clear": "Ryd filter", + "filter-no-label": "Ingen etikette", + "filter-no-member": "Ingen medlemmer", + "filter-no-assignee": "Utildelt", + "filter-no-custom-fields": "Ingen brugerdefinerede felter", + "filter-show-archive": "Vis arkiverede lister", + "filter-hide-empty": "Skjul tomme lister", + "filter-on": "Filter er slået til", + "filter-on-desc": "Du filtrerer kort på denne tavle. Klik her for at redigere filteret.", + "filter-to-selection": "Filtrér til valgte", + "advanced-filter-label": "Avanceret filter", + "advanced-filter-description": "Avanceret filter gør det muligt at skrive en tekststreng indeholdende følgende operatører: == != <= >= && || ( ) Mellemrum anvendes som adskillelsestegn mellem operatørerne. Du kan filtrere alle Brugerdefinerede felter ved at taste deres navne og værdier. Som eksempel: Felt1 == Værdi1. Bemærk: Hvis felter eller værdier indeholder mellemrum, så skal du indkapsle dem i enkeltcitationstegn. Som eksempel: 'Felt 1' == 'Værdi1'. For at springe over enkelte kontroltegn (' \\/), så kan \\ benyttes. Som eksempel: Felt1 == Så\\'n. Du kan også kombinere flere betingelser. Som eksempel: F1 == V1 || F1 == V2. Normalt vil alle operatører blive fortolket fra venstre mod højre. Du kan ændre rækkefølgen ved brug af parenteser. Som eksempel: F1 == V1 && (F2 == V2 || F2 == V3). Du kan også søge i tekstfelter med brug af regulære udtryk: F1 == /Tes.*/i", + "fullname": "Fuldt navn", + "header-logo-title": "Gå tilbage til siden med dine tavler", + "hide-system-messages": "Skjul systembeskeder", + "headerBarCreateBoardPopup-title": "Opret tavle", + "home": "Hjem", + "import": "Importér", + "link": "Link", + "import-board": "importér tavle", + "import-board-c": "Importér tavle", + "import-board-title-trello": "Importér tavle fra Trello", + "import-board-title-wekan": "Importér tavler fra tidligere eksport", + "import-board-title-csv": "Importér tavle fra CSV/TSV", + "from-trello": "Fra Trello", + "from-wekan": "Fra forrige eksport", + "from-csv": "Fra CSV/TSV", + "import-board-instruction-trello": "I din Trello-tavle, gå til 'Menu', dernæst 'More', 'Print and Export', 'Export JSON', og kopiér den tekst som vises.", + "import-board-instruction-csv": "Indsæt dine kommaseparerede værdier (CSV)/ Tabulatorseparerede værdier (TSV).", + "import-board-instruction-wekan": "På din tavle, gå til 'Menu', dernæst 'Eksportér tavle', og kopiér teksten i den hentede fil.", + "import-board-instruction-about-errors": "Hvis du får fejl når der importeres en tavle, så vil importen undertiden stadig fungere, og tavlen vil være under side Alle tavler.", + "import-json-placeholder": "Indsæt dine gyldige JSON-data her", + "import-csv-placeholder": "Indsæt din valide CSV/TSV-data her", + "import-map-members": "Kortlæg medlemmer", + "import-members-map": "Dine importerede tavler rummer medlemmer. Kortlæg venligst de medlemmer du ønsker at importere til dine brugere.", + "import-show-user-mapping": "Gennemse kortlægning af medlemmer", + "import-user-select": "Vælg din eksisterende bruger, som du ønsker at bruge for dette medlem", + "importMapMembersAddPopup-title": "Vælg medlem", + "info": "Version", + "initials": "Initialer", + "invalid-date": "Ugyldig dato", + "invalid-time": "Ugyldig tidsangivelse", + "invalid-user": "Ugyldig bruger", + "joined": "sluttede sig til", + "just-invited": "Du er netop blevet inviteret til denne tavle", + "keyboard-shortcuts": "Tastaturgenveje", + "label-create": "Opret etikette", + "label-default": "%s etikette (standard)", + "label-delete-pop": "Det er ikke muligt at fortryde. Dette vil fjerne etiketten fra alle kort og ødelægge dets historik.", + "labels": "Etiketter", + "language": "Sprog", + "last-admin-desc": "Du kan ikke ændre roller, da der mindst skal være én administrator.", + "leave-board": "Forlad tavle", + "leave-board-pop": "Er du sikker på du vil forlade __boardTitle__? Du vil blive fjernet fra alle kort på denne tavle.", + "leaveBoardPopup-title": "Forlad tavle?", + "link-card": "Link til dette kort", + "list-archive-cards": "Flyt alle kort i denne liste til arkivet", + "list-archive-cards-pop": "Dette vil fjerne alle kort i denne liste fra tavlen. For at se kort i arkivet og bringe dem tilbage til tavlen, så klik \"Menu\" > \"Arkiv\".", + "list-move-cards": "Flyt alle kort i denne liste", + "list-select-cards": "Vælg alle kort i denne liste", + "set-color-list": "Angiv farve", + "listActionPopup-title": "Handlinger for liste", + "swimlaneActionPopup-title": "Handlinger for svømmebane", + "swimlaneAddPopup-title": "Tilføj en svømmebane nedenfor", + "listImportCardPopup-title": "Importér et Trello-kort", + "listImportCardsTsvPopup-title": "Importér Excel CSV/TSV", + "listMorePopup-title": "Mere", + "link-list": "Link til denne liste", + "list-delete-pop": "Alle handlinger vil blive fjernet fra aktivitetsfeedet og du vil ikke have mulighed for at genskabe listen. Der er ingen måder at fortryde. ", + "list-delete-suggest-archive": "Du kan flytte en liste til arkivet for at fjerne det fra tavlen og bevare dets aktivitet.", + "lists": "Lister", + "swimlanes": "Svømmebaner", + "log-out": "Log ud", + "log-in": "Log ind", + "loginPopup-title": "Log ind", + "memberMenuPopup-title": "Medlemsindstillinger", + "members": "Medlemmer", + "menu": "Menu", + "move-selection": "Flyt valgte", + "moveCardPopup-title": "Flyt kort", + "moveCardToBottom-title": "Flyt til bunden", + "moveCardToTop-title": "Flyt til toppen", + "moveSelectionPopup-title": "Flyt valgte", + "multi-selection": "Multivalg", + "multi-selection-on": "Multivalg er slået til", + "muted": "Slukket", + "muted-info": "Du vil aldrig få notifikationer om ændringer i denne tavle", + "my-boards": "Mine tavler", + "name": "Navn", + "no-archived-cards": "Ingen kort i arkivet.", + "no-archived-lists": "Ingen lister i arkivet.", + "no-archived-swimlanes": "Ingen svømmebaner i arkivet.", + "no-results": "Ingen resultater", + "normal": "Normal", + "normal-desc": "Du kan se og redigere kort. Indstillinger kan ikke ændres.", + "not-accepted-yet": "Invitation er endnu ikke accepteret", + "notify-participate": "Modtag opdateringer for alle kort du deltager i, som opretter eller medlem ", + "notify-watch": "Modtag opdateringer for alle tavler eller kort som du følger ", + "optional": "valgfri", + "or": "eller", + "page-maybe-private": "Denne side kan være privat. Du kan eventuelt se den ved at logge ind.", + "page-not-found": "Siden blev ikke fundet.", + "password": "Kodeord", + "paste-or-dragdrop": "for at indsætte eller træk-og-slip billedfilen til den (kun billede)", + "participating": "Deltager", + "preview": "Forhåndsvisning", + "previewAttachedImagePopup-title": "Forhåndsvisning", + "previewClipboardImagePopup-title": "Forhåndsvisning", + "private": "Privat", + "private-desc": "Denne tavle er privat. Det er kun tilføjede personer som kan se og redigere den. ", + "profile": "Profil", + "public": "Offentlig", + "public-desc": "Denne tavle er offentlig. Den er synlig for alle med linket og vil blive vist i søgemaskiner som Google. Det er kun personer tilføjet til tavlen, der kan redigere. ", + "quick-access-description": "Stjernemarkér en tavle for at tilføje genvej i denne bjælke.", + "remove-cover": "Fjern omslag", + "remove-from-board": "Fjern fra tavle", + "remove-label": "Fjern etikette", + "listDeletePopup-title": "Slet liste?", + "remove-member": "Fjern medlem", + "remove-member-from-card": "Fjern fra kort", + "remove-member-pop": "Fjern __name__ (__username__) fra __boardTitle__? Medlemmet vil blive fjernetfra alle kort på denne tavle. De vil modtage en notifikation.", + "removeMemberPopup-title": "Fjern medlem?", + "rename": "Omdøb", + "rename-board": "Omdøb tavle", + "restore": "Genskab", + "save": "Gem", + "search": "Søg", + "rules": "Regler", + "search-cards": "Søg ud fra titler i kort/lister, beskrivelser og brugerdefinerede felter på denne tavle. ", + "search-example": "Tekst som der søges efter?", + "select-color": "Vælg farve", + "set-wip-limit-value": "Angiv en grænse for det maksimale antal opgaver i denne liste", + "setWipLimitPopup-title": "Angiv WIP-begrænsning", + "shortcut-assign-self": "Tilknyt dig selv til nuværende kort?", + "shortcut-autocomplete-emoji": "Auto-fuldfør emoji", + "shortcut-autocomplete-members": "Auto-fuldfør medlemmer", + "shortcut-clear-filters": "Ryd alle filtre", + "shortcut-close-dialog": "Luk dialogboks", + "shortcut-filter-my-cards": "Filtrer mine kort", + "shortcut-show-shortcuts": "Fremvis denne liste med genveje", + "shortcut-toggle-filterbar": "Slå filter-sidebjælke til/fra", + "shortcut-toggle-sidebar": "Slå tavle-sidebjælke til/fra", + "show-cards-minimum-count": "Vis antal kort når listen indeholder mere end", + "sidebar-open": "Åbn sidebjælke", + "sidebar-close": "Luk sidebjælke", + "signupPopup-title": "Opret en konto", + "star-board-title": "Klik for at stjernemarkere denne tavle. Den vil blive vist i toppen af din liste over tavler.", + "starred-boards": "Tavler med stjerner", + "starred-boards-description": "Tavler med stjerner vises i toppen af din liste over tavler.", + "subscribe": "Abonnér", + "team": "Team", + "this-board": "denne tavle", + "this-card": "dette kort", + "spent-time-hours": "Anvendt tid (timer)", + "overtime-hours": "Overtid (timer)", + "overtime": "Overtid", + "has-overtime-cards": "Har kort med overtid", + "has-spenttime-cards": "Har kort med anvendt tid", + "time": "Tid", + "title": "Titel", + "tracking": "Sporing", + "tracking-info": "Du vil få notifikation om alle ændringer i kort som du har oprettet eller er medlem af.", + "type": "Type", + "unassign-member": "Fjern medlemstilknytning", + "unsaved-description": "Du har en beskrivelse som ikke er gemt", + "unwatch": "Ophør med at følge", + "upload": "Overfør", + "upload-avatar": "Overfør en avatar", + "uploaded-avatar": "Overførte en avatar", + "username": "Brugernavn", + "view-it": "Vis den", + "warn-list-archived": "advarsel: dette kort er i en liste i arkivet", + "watch": "Følg", + "watching": "Følger", + "watching-info": "Du vil få notifikation om alle ændringer i denne tavle.", + "welcome-board": "Velkomsttavle", + "welcome-swimlane": "Milepæl 1", + "welcome-list1": "Grundlæggende", + "welcome-list2": "Avanceret", + "card-templates-swimlane": "Kortskabeloner", + "list-templates-swimlane": "Listeskabeloner", + "board-templates-swimlane": "Tavleskabeloner", + "what-to-do": "Hvad ønsker du at foretage dig?", + "wipLimitErrorPopup-title": "Ugyldig WIP-begrænsning", + "wipLimitErrorPopup-dialog-pt1": "Antallet af opgaver i denne liste er højere end WIP-begræsningen du har angivet.", + "wipLimitErrorPopup-dialog-pt2": "Flyt venligst nogle af opgaverne ud af listen, eller angiv en højere WIP-begrænsning.", + "admin-panel": "Admin-panel", + "settings": "Indstillinger", + "people": "Personer", + "registration": "Tilmelding", + "disable-self-registration": "Slå selv-tilmelding fra", + "invite": "Invitér", + "invite-people": "Invitér personer", + "to-boards": "Til tavle(r)", + "email-addresses": "E-mailadresser", + "smtp-host-description": "Adressen på SMTP-serveren som håndterer din e-mail.", + "smtp-port-description": "Den port som din SMTP-server benytter til udgående e-mail. ", + "smtp-tls-description": "Slå TLS-understøttelse til for SMTP-serveren", + "smtp-host": "SMTP-vært", + "smtp-port": "SMTP-port", + "smtp-username": "Brugernavn", + "smtp-password": "Kodeord", + "smtp-tls": "TLS-understøttelse", + "send-from": "Fra", + "send-smtp-test": "Send en e-mailtest til dig selv", + "invitation-code": "Invitationskode", + "email-invite-register-subject": "__inviter__ sendte dig en invitation", + "email-invite-register-text": "Kære __user__,\n\n__inviter__ inviterer dig til at samarbejde på kanbantavlen.\n\nFølg venligst linket nedenfor:\n__url__\n\nDin invitationskode er: __icode__\n\nTak.", + "email-smtp-test-subject": "SMTP for e-mailtest", + "email-smtp-test-text": "Afsendelse af e-mail blev udført ", + "error-invitation-code-not-exist": "Invitationskoden findes ikke", + "error-notAuthorized": "Du har ikke tilladelse til at se denne side.", + "webhook-title": "Navn på webhook", + "webhook-token": "Token (valgfri til godkendelse)", + "outgoing-webhooks": "Udgående webhooks", + "bidirectional-webhooks": "To-vejs webhooks", + "outgoingWebhooksPopup-title": "Udgående webhooks", + "boardCardTitlePopup-title": "Filter for korttitel", + "disable-webhook": "Slå denne webhook fra", + "global-webhook": "Globale webhooks", + "new-outgoing-webhook": "Ny udgående webhook", + "no-name": "(Ukendt)", + "Node_version": "Node-version", + "Meteor_version": "Meteor-version", + "MongoDB_version": "MongoDB-version", + "MongoDB_storage_engine": "Lagringsmotor for MongoDB", + "MongoDB_Oplog_enabled": "MongoDB Oplog er slået til", + "OS_Arch": "OS - Arch", + "OS_Cpus": "CPU-antal for OS", + "OS_Freemem": "Fri hukommelse for OS", + "OS_Loadavg": "Gns.belastning for OS", + "OS_Platform": "OS-platform", + "OS_Release": "OS-udgivelse", + "OS_Totalmem": "Samlet hukommelse for OS", + "OS_Type": "OS-type", + "OS_Uptime": "OS-oppetid", + "days": "dage", + "hours": "timer", + "minutes": "minutter", + "seconds": "sekunder", + "show-field-on-card": "Vis dette felt på kortet", + "automatically-field-on-card": "Auto-opret felter på alle kort", + "showLabel-field-on-card": "Vis feltetikette på minikort", + "yes": "Ja", + "no": "Nej", + "accounts": "Konti", + "accounts-allowEmailChange": "Tillad ændring af e-mail", + "accounts-allowUserNameChange": "Tillad ændring af brugernavn", + "createdAt": "Oprettet per", + "verified": "Verificeret", + "active": "Aktiv", + "card-received": "Modtaget", + "card-received-on": "Modtaget per", + "card-end": "Slut", + "card-end-on": "Slutter per", + "editCardReceivedDatePopup-title": "Tilpas modtagelsesdato", + "editCardEndDatePopup-title": "Tilpas slutdato", + "setCardColorPopup-title": "Angiv farve", + "setCardActionsColorPopup-title": "Vælg en farve", + "setSwimlaneColorPopup-title": "Vælg en farve", + "setListColorPopup-title": "Vælg en farve", + "assigned-by": "Tildelt af", + "requested-by": "Anmodet af", + "board-delete-notice": "Sletning er permanent. Du vil miste alle lister, kort og handlinger knyttet til denne tavle.", + "delete-board-confirm-popup": "Alle lister, kort, etiketter og aktiviteter vil blive slettet og du får ikke mulighed for at genskabe tavlens indhold. Dette kan ikke fortrydes.", + "boardDeletePopup-title": "Slet tavle?", + "delete-board": "Slet tavle", + "default-subtasks-board": "Delopgaver for tavlen __board__", + "default": "Standard", + "queue": "Kø", + "subtask-settings": "Indstillinger for delopgaver", + "card-settings": "Indstillinger for kort", + "boardSubtaskSettingsPopup-title": "Indstillinger for delopgaver i tavle", + "boardCardSettingsPopup-title": "Indstillinger for kort", + "deposit-subtasks-board": "Indsæt delopgaver på denne tavle: ", + "deposit-subtasks-list": "Liste som der landes på, når delopgaver indsættes her:", + "show-parent-in-minicard": "Vis overordnede i minikort:", + "prefix-with-full-path": "Præfiks med fuld sti", + "prefix-with-parent": "Præfiks med overordnede", + "subtext-with-full-path": "Undertekst med fuld sti", + "subtext-with-parent": "Undertekst med overordnede", + "change-card-parent": "Skift kortets overordnede", + "parent-card": "Overordnede kort", + "source-board": "Kilde for tavle", + "no-parent": "Vis ikke overordnede", + "activity-added-label": "tilføjede etiketten '%s' til %s", + "activity-removed-label": "tilføjede etiketten '%s' fra %s", + "activity-delete-attach": "slettede en vedhæftning fra %s", + "activity-added-label-card": "tilføjede etiketten '%s'", + "activity-removed-label-card": "fjernede etiketten '%s'", + "activity-delete-attach-card": "slettede en vedhæftning", + "activity-set-customfield": "angiv brugerdefineret felt '%s' til '%s' i %s", + "activity-unset-customfield": "fjernede brugerdefineret felt '%s' i %s", + "r-rule": "Regel", + "r-add-trigger": "Tilføj trigger-udløser", + "r-add-action": "Tilføj handling", + "r-board-rules": "Regler for tavle", + "r-add-rule": "Tilføj regel", + "r-view-rule": "Vis regel", + "r-delete-rule": "Slet regel", + "r-new-rule-name": "Ny titel for regel", + "r-no-rules": "Ingen regler", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "Når et kort", + "r-is": "er", + "r-is-moved": "flyttes", + "r-added-to": "Tilføjet til", + "r-removed-from": "Fjernes fra", + "r-the-board": "tavlen", + "r-list": "liste", + "set-filter": "Angiv filter", + "r-moved-to": "Flyttet til", + "r-moved-from": "Flyttet fra", + "r-archived": "Flyttet fra arkiv", + "r-unarchived": "Genskabt fra arkiv", + "r-a-card": "et kort", + "r-when-a-label-is": "Når en etikette er", + "r-when-the-label": "Når etiketten", + "r-list-name": "listenavn", + "r-when-a-member": "Når et medlem er", + "r-when-the-member": "Når medlemmet", + "r-name": "navn", + "r-when-a-attach": "Når en vedhæftning", + "r-when-a-checklist": "Når en tjekliste er", + "r-when-the-checklist": "Når tjeklisten", + "r-completed": "Fuldført", + "r-made-incomplete": "Gjort ukomplet", + "r-when-a-item": "Når et element i tjeklisten er", + "r-when-the-item": "Når elementet i tjeklisten", + "r-checked": "Markeret", + "r-unchecked": "Umarkeret", + "r-move-card-to": "Flyt kort til", + "r-top-of": "Toppen af", + "r-bottom-of": "Bunden af", + "r-its-list": "dens liste", + "r-archive": "Flyt til arkiv", + "r-unarchive": "Genskab fra arkiv", + "r-card": "kort", + "r-add": "Tilføj", + "r-remove": "Fjern", + "r-label": "etikette", + "r-member": "medlem", + "r-remove-all": "Fjern alle medlemmer fra kortet", + "r-set-color": "Angiv farven til", + "r-checklist": "tjekliste", + "r-check-all": "Markér alle", + "r-uncheck-all": "Fravælg alle", + "r-items-check": "elementer fra tjekliste", + "r-check": "Markér", + "r-uncheck": "Fravælg", + "r-item": "element", + "r-of-checklist": "fra tjekliste", + "r-send-email": "Send en e-mail", + "r-to": "til", + "r-of": "af", + "r-subject": "emne", + "r-rule-details": "Detaljer for regel", + "r-d-move-to-top-gen": "Flyt kortet til toppen af dens liste", + "r-d-move-to-top-spec": "Flyt kortet til toppen af listen", + "r-d-move-to-bottom-gen": "Flyt kortet til bunden af dens liste", + "r-d-move-to-bottom-spec": "Flyt kortet til bunden af listen", + "r-d-send-email": "Send e-mail", + "r-d-send-email-to": "til", + "r-d-send-email-subject": "emne", + "r-d-send-email-message": "besked", + "r-d-archive": "Flyt kortet til arkiv", + "r-d-unarchive": "Genskab kort fra arkiv", + "r-d-add-label": "Tilføj etikette", + "r-d-remove-label": "Fjern etikette", + "r-create-card": "Opret nyt kort", + "r-in-list": "i liste", + "r-in-swimlane": "i svømmebane", + "r-d-add-member": "Tilføj medlem", + "r-d-remove-member": "Fjern medlem", + "r-d-remove-all-member": "Fjern alle medlemmer", + "r-d-check-all": "Markér alle elementer fra en liste", + "r-d-uncheck-all": "Fravælg alle elementer fra en liste", + "r-d-check-one": "Markér element", + "r-d-uncheck-one": "Fravælg element", + "r-d-check-of-list": "fra tjekliste", + "r-d-add-checklist": "Tilføj tjekliste", + "r-d-remove-checklist": "Fjern tjekliste", + "r-by": "af", + "r-add-checklist": "Tilføj tjekliste", + "r-with-items": "med elementer", + "r-items-list": "element1,element2,element3", + "r-add-swimlane": "Tilføj svømmebane", + "r-swimlane-name": "navn på svømmebane", + "r-board-note": "Bemærk: lad et felt stå tomt for at matche alle værdier.", + "r-checklist-note": "Bemærk: tjeklistens elementer skal skrives som en kommaadskilte værdier.", + "r-when-a-card-is-moved": "Når et kort flyttes til en anden liste.", + "r-set": "Angiv", + "r-update": "Opdatér", + "r-datefield": "datofelt", + "r-df-start-at": "start", + "r-df-due-at": "forfalder", + "r-df-end-at": "slutter", + "r-df-received-at": "modtaget", + "r-to-current-datetime": "til nuværende dato/tidspunkt", + "r-remove-value-from": "Fjern værdi fra", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Godkendelsesmetode", + "authentication-type": "Godkendelsestype", + "custom-product-name": "Tilpasset produktnavn", + "layout": "Layout", + "hide-logo": "Skjul logo", + "add-custom-html-after-body-start": "Tilføj tilpasset HTML efter start", + "add-custom-html-before-body-end": "Tilføj tilpasset HTML før slutning", + "error-undefined": "Noget gik galt", + "error-ldap-login": "Fejl under forsøg på login", + "display-authentication-method": "Vis godkendelsesmetode", + "default-authentication-method": "Standard for godkendelsesmetode", + "duplicate-board": "Duplikér tavle", + "people-number": "Antallet af personer er:", + "swimlaneDeletePopup-title": "Slet svømmebane?", + "swimlane-delete-pop": "Alle handlinger vil blive fjernet fra aktivitetsfeedet, og du vil ikke kunne genskabe svømmebanen. Dette kan ikke fortrydes.", + "restore-all": "Genskab alle", + "delete-all": "Slet alle", + "loading": "Indlæser, vent venligst", + "previous_as": "seneste tidspunkt var", + "act-a-dueAt": "ændrede forfaldstidspunkt til \nHvornår: __timeValue__\nHvor: __card__\n forrige forfaldstidspunkt var __timeOldValue__", + "act-a-endAt": "ændrede sluttidspunkt til __timeValue__ fra (__timeOldValue__)", + "act-a-startAt": "ændrede starttidspunkt til __timeValue__ fra (__timeOldValue__)", + "act-a-receivedAt": "ændrede modtagelsestidspunkt til __timeValue__ fra (__timeOldValue__)", + "a-dueAt": "ændrede forfaldstidspunkt til at være", + "a-endAt": "ændrede sluttidspunkt til at være", + "a-startAt": "ændrede starttidspunkt til at være", + "a-receivedAt": "ændrede modtagelsestidspunkt til at være", + "almostdue": "aktuelt forfaldstidspunkt %s nærmer sig", + "pastdue": "aktuelt forfaldstidspunkt %s er passeret", + "duenow": "aktuelt forfaldstidspunkt %s er i dag", + "act-newDue": "__list__/__card__ har 1. påmindelse om forfald [__board__]", + "act-withDue": "__list__/__card__ påmindelse om forfald [__board__]", + "act-almostdue": "påmindede om at aktuelt forfald (__timeValue__) for __card__ nærmer sig", + "act-pastdue": "påmindede om at aktuelt forfald (__timeValue__) of __card__ er passeret", + "act-duenow": "påmindede om at aktuelt forfald (__timeValue__) of __card__ er nu", + "act-atUserComment": "Du blev nævnt i [__board__] __list__/__card__", + "delete-user-confirm-popup": "Er du sikker på du vil slette denne konto? Det er ikke muligt at fortryde.", + "accounts-allowUserDelete": "Tillad brugere at slette deres egen konto", + "hide-minicard-label-text": "Skjul etiketteteksten for minikort", + "show-desktop-drag-handles": "Vis trække-håndtag for skrivebord", + "assignee": "Tildelt til", + "cardAssigneesPopup-title": "Tildelt til", + "addmore-detail": "Tilføj en mere detaljeret beskrivelse", + "show-on-card": "Vis på kort", + "new": "Ny", + "editUserPopup-title": "Redigér bruger", + "newUserPopup-title": "Ny bruger", + "notifications": "Notifikationer", + "view-all": "Vis alle", + "filter-by-unread": "Filtrér efter ulæst", + "mark-all-as-read": "Markér alle som læst", + "remove-all-read": "Fjern alle læste", + "allow-rename": "Tillad omdøb", + "allowRenamePopup-title": "Tillad omdøb", + "start-day-of-week": "Angiv dag for ugestart", + "monday": "Mandag", + "tuesday": "Tirsdag", + "wednesday": "Onsdag", + "thursday": "Torsdag", + "friday": "Fredag", + "saturday": "Lørdag", + "sunday": "Søndag", + "status": "Status", + "swimlane": "Svømmebaner", + "owner": "Ejer", + "last-modified-at": "Senest ændret per", + "last-activity": "Seneste aktivitet", + "voting": "Afstemning", + "archived": "Arkiveret", + "delete-linked-card-before-this-card": "Du kan ikke slette dette kort før der slettes sammenkædede kort som har", + "delete-linked-cards-before-this-list": "Du kan ikke slette denne liste før der slettes sammenkædede kort, der peger til kort i denne liste", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/de.i18n.json b/i18n/de.i18n.json new file mode 100644 index 0000000..f6a83f3 --- /dev/null +++ b/i18n/de.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Akzeptieren", + "act-activity-notify": "Aktivitätsbenachrichtigung", + "act-addAttachment": "hat Anhang __attachment__ zur Karte __card__ auf der Liste __list__ in Swimlane __swimlane__ in Board __board__ hinzugefügt", + "act-deleteAttachment": "hat Anhang __attachment__ von Karte __card__ auf der Liste __list__ in Swimlane __swimlane__ in Board __board__ gelöscht", + "act-addSubtask": "hat Teilaufgabe __subtask__ zur Karte __card__ auf der Liste __list__ in Swimlane __swimlane__ in Board __board__ hinzugefügt", + "act-addLabel": "hat Label __label__ zur Karte __card__ auf der Liste __list__ in Swimlane __swimlane__ in Board __board__ hinzugefügt", + "act-addedLabel": "hat Label __label__ zur Karte __card__ auf der Liste __list__ in Swimlane __swimlane__ in Board __board__ hinzugefügt", + "act-removeLabel": "hat Label __label__ von Karte __card__ auf der Liste __list__ in Swimlane __swimlane__ in Board __board__ entfernt", + "act-removedLabel": "hat Label __label__ von Karte __card__ auf der Liste __list__ in Swimlane __swimlane__ in Board __board__ entfernt", + "act-addChecklist": "hat Checkliste __checklist__ zur Karte __card__ auf der Liste __list__ in Swimlane __swimlane__ in Board __board__ hinzugefügt", + "act-addChecklistItem": "hat Checklistenposition __checklistItem__ zu Checkliste __checkList__ auf der Karte __card__ auf der Liste __list__ in Swimlane __swimlane__ in Board __board__ hinzugefügt", + "act-removeChecklist": "hat Checkliste __checklist__ von Karte __card__ auf der Liste __list__ in Swimlane __swimlane__ in Board __board__ entfernt", + "act-removeChecklistItem": "hat Checklistenposition __checklistItem__ von Checkliste __checkList__ auf der Karte __card__ auf der Liste __list__ in Swimlane __swimlane__ in Board __board__ entfernt", + "act-checkedItem": "hat __checklistItem__ der Checkliste __checklist__ der Karte __card__ auf der Liste __list__ in Swimlane __swimlane__ in Board __board__ abgehakt", + "act-uncheckedItem": "hat Haken von __checklistItem__ der Checkliste __checklist__ der Karte __card__ auf der Liste __list__ in Swimlane __swimlane__ in Board __board__ entfernt", + "act-completeChecklist": "hat Checkliste __checklist__ der Karte __card__ auf der Liste __list__ in Swimlane __swimlane__ in Board __board__ vervollständigt", + "act-uncompleteChecklist": "hat Checkliste __checklist__ der Karte __card__ auf der Liste __list__ in Swimlane __swimlane__ in Board __board__ unvervollständigt", + "act-addComment": "hat Karte __card__ auf der Liste __list__ in Swimlane __swimlane__ in Board __board__ kommentiert: __comment__", + "act-editComment": "hat den Kommentar auf Karte __card__: __comment__ auf Liste __list__ in Swimlane __swimlane__ in Board __board__ bearbeitet", + "act-deleteComment": "hat den Kommentar von Karte __card__: __comment__ auf Liste __list__ in Swimlane __swimlane__ in Board __board__ gelöscht", + "act-createBoard": "hat Board __board__ erstellt", + "act-createSwimlane": "hat Swimlane __swimlane__ in Board __board__ erstellt", + "act-createCard": "hat Karte __card__ auf der Liste __list__ in Swimlane __swimlane__ in Board __board__ erstellt", + "act-createCustomField": "hat benutzerdefiniertes Feld __customField__ in Board __board__ angelegt", + "act-deleteCustomField": "hat benutzerdefiniertes Feld __customField__ in Board __board__ gelöscht", + "act-setCustomField": "hat benutzerdefiniertes Feld __customField__: __customFieldValue__ auf Karte __card__ auf Liste __list__ in Swimlane __swimlane__ in Board __board__ bearbeitet", + "act-createList": "hat Liste __list__ zu Board __board__ hinzugefügt", + "act-addBoardMember": "hat Mitglied __member__ zu Board __board__ hinzugefügt", + "act-archivedBoard": "hat Board __board__ ins Archiv verschoben", + "act-archivedCard": "hat Karte __card__ von der Liste __list__ in Swimlane __swimlane__ in Board __board__ ins Archiv verschoben", + "act-archivedList": "hat Liste __list__ in Swimlane __swimlane__ in Board __board__ ins Archiv verschoben", + "act-archivedSwimlane": "hat Swimlane __swimlane__ von Board __board__ ins Archiv verschoben", + "act-importBoard": "hat Board __board__ importiert", + "act-importCard": "hat Karte __card__ in Liste __list__ in Swimlane __swimlane__ in Board __board__ importiert", + "act-importList": "hat Liste __list__ in Swimlane __swimlane__ in Board __board__ importiert", + "act-joinMember": "hat Mitglied __member__ zur Karte __card__ auf der Liste __list__ in Swimlane __swimlane__ in Board __board__ hinzugefügt", + "act-moveCard": "hat Karte __card__ in Board __board__ von Liste __oldList__ in Swimlane __oldSwimlane__ zu Liste __list__ in Swimlane __swimlane__ verschoben", + "act-moveCardToOtherBoard": "hat Karte __card__ von Liste __oldList__ in Swimlane __oldSwimlane__ in Board __oldBoard__ zu Liste __list__ in Swimlane __swimlane__ in Board __board__ verschoben", + "act-removeBoardMember": "hat Mitglied __member__ von Board __board__ entfernt", + "act-restoredCard": "hat Karte __card__ auf der Liste __list__ in Swimlane __swimlane__ in Board __board__ wiederhergestellt", + "act-unjoinMember": "hat Mitglied __member__ von Karte __card__ auf der Liste __list__ in Swimlane __swimlane__ in Board __board__ entfernt", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Aktionen", + "activities": "Aktivitäten", + "activity": "Aktivität", + "activity-added": "hat %s zu %s hinzugefügt", + "activity-archived": "hat %s ins Archiv verschoben", + "activity-attached": "hat %s an %s angehängt", + "activity-created": "hat %s erstellt", + "activity-customfield-created": "hat das benutzerdefinierte Feld %s erstellt", + "activity-excluded": "hat %s von %s ausgeschlossen", + "activity-imported": "hat %s in %s von %s importiert", + "activity-imported-board": "hat %s von %s importiert", + "activity-joined": "ist %s beigetreten", + "activity-moved": "hat %s von %s nach %s verschoben", + "activity-on": "in %s", + "activity-removed": "hat %s von %s entfernt", + "activity-sent": "hat %s an %s gesendet", + "activity-unjoined": "hat %s verlassen", + "activity-subtask-added": "Teilaufgabe zu %s hinzugefügt", + "activity-checked-item": "markierte %s in Checkliste %s von %s", + "activity-unchecked-item": "hat %s in Checkliste %s von %s abgewählt", + "activity-checklist-added": "hat eine Checkliste zu %s hinzugefügt", + "activity-checklist-removed": "entfernte eine Checkliste von %s", + "activity-checklist-completed": "Abgeschlossene Checkliste", + "activity-checklist-uncompleted": "unvervollständigte die Checkliste %s von %s", + "activity-checklist-item-added": "hat ein Checklistenelement zu '%s' in %s hinzugefügt", + "activity-checklist-item-removed": "hat ein Checklistenelement von '%s' in %s entfernt", + "add": "Hinzufügen", + "activity-checked-item-card": "markiere %s in Checkliste %s", + "activity-unchecked-item-card": "hat %s in Checkliste %s abgewählt", + "activity-checklist-completed-card": "hat Checkliste __checklist__ der Karte __card__ auf der Liste __list__ in Swimlane __swimlane__ in Board __board__ vervollständigt", + "activity-checklist-uncompleted-card": "unvervollständigte die Checkliste %s", + "activity-editComment": "editierte Kommentar", + "activity-deleteComment": "löschte Kommentar", + "add-attachment": "Datei anhängen", + "add-board": "neues Board", + "add-card": "Karte hinzufügen", + "add-swimlane": "Swimlane hinzufügen", + "add-subtask": "Teilaufgabe hinzufügen", + "add-checklist": "Checkliste hinzufügen", + "add-checklist-item": "Element zu Checkliste hinzufügen", + "add-cover": "Cover hinzufügen", + "add-label": "Label hinzufügen", + "add-list": "Liste hinzufügen", + "add-members": "Mitglieder hinzufügen", + "added": "Hinzugefügt", + "addMemberPopup-title": "Mitglieder", + "admin": "Admin", + "admin-desc": "Kann Karten anzeigen und bearbeiten, Mitglieder entfernen und Boardeinstellungen ändern.", + "admin-announcement": "Ankündigung", + "admin-announcement-active": "Aktive systemweite Ankündigungen", + "admin-announcement-title": "Ankündigung des Administrators", + "all-boards": "Alle Boards", + "and-n-other-card": "und eine andere Karte", + "and-n-other-card_plural": "und __count__ andere Karten", + "apply": "Übernehmen", + "app-is-offline": "Laden, bitte warten. Das Aktualisieren der Seite führt zu Datenverlust. Wenn das Laden nicht funktioniert, überprüfen Sie bitte, ob der Server nicht angehalten wurde.", + "archive": "Ins Archiv verschieben", + "archive-all": "Alles ins Archiv verschieben", + "archive-board": "Board ins Archiv verschieben", + "archive-card": "Karte ins Archiv verschieben", + "archive-list": "Liste ins Archiv verschieben", + "archive-swimlane": "Swimlane ins Archiv verschieben", + "archive-selection": "Auswahl ins Archiv verschieben", + "archiveBoardPopup-title": "Board ins Archiv verschieben?", + "archived-items": "Archiv", + "archived-boards": "Boards im Archiv", + "restore-board": "Board wiederherstellen", + "no-archived-boards": "Keine Boards im Archiv.", + "archives": "Archiv", + "template": "Vorlage", + "templates": "Vorlagen", + "assign-member": "Mitglied zuweisen", + "attached": "angehängt", + "attachment": "Anhang", + "attachment-delete-pop": "Das Löschen eines Anhangs kann nicht rückgängig gemacht werden.", + "attachmentDeletePopup-title": "Anhang löschen?", + "attachments": "Anhänge", + "auto-watch": "Neue Boards nach Erstellung automatisch beobachten", + "avatar-too-big": "Das Profilbild ist zu groß (max. 70KB)", + "back": "Zurück", + "board-change-color": "Farbe ändern", + "board-nb-stars": "%s Sterne", + "board-not-found": "Board nicht gefunden", + "board-private-info": "Dieses Board wird privat sein.", + "board-public-info": "Dieses Board wird öffentlich sein.", + "boardChangeColorPopup-title": "Farbe des Boards ändern", + "boardChangeTitlePopup-title": "Board umbenennen", + "boardChangeVisibilityPopup-title": "Sichtbarkeit ändern", + "boardChangeWatchPopup-title": "Beobachtung ändern", + "boardMenuPopup-title": "Boardeinstellungen", + "boardChangeViewPopup-title": "Boardansicht", + "boards": "Boards", + "board-view": "Boardansicht", + "board-view-cal": "Kalender", + "board-view-swimlanes": "Swimlanes", + "board-view-collapse": "Einklappen", + "board-view-lists": "Listen", + "bucket-example": "z.B. \"Löffelliste\"", + "cancel": "Abbrechen", + "card-archived": "Diese Karte wurde ins Archiv verschoben", + "board-archived": "Dieses Board wurde ins Archiv verschoben.", + "card-comments-title": "Diese Karte hat %s Kommentar(e).", + "card-delete-notice": "Löschen kann nicht rückgängig gemacht werden. Alle Aktionen, die dieser Karte zugeordnet sind, werden ebenfalls gelöscht.", + "card-delete-pop": "Alle Aktionen werden aus dem Aktivitätsfeed entfernt und die Karte kann nicht wiedereröffnet werden. Die Aktion kann nicht rückgängig gemacht werden.", + "card-delete-suggest-archive": "Sie können eine Karte ins Archiv verschieben, um sie vom Board zu entfernen und die Aktivitäten zu behalten.", + "card-due": "Fällig", + "card-due-on": "Fällig am", + "card-spent": "Aufgewendete Zeit", + "card-edit-attachments": "Anhänge ändern", + "card-edit-custom-fields": "Benutzerdefinierte Felder editieren", + "card-edit-labels": "Labels ändern", + "card-edit-members": "Mitglieder ändern", + "card-labels-title": "Labels für diese Karte ändern.", + "card-members-title": "Der Karte Board-Mitglieder hinzufügen oder entfernen.", + "card-start": "Start", + "card-start-on": "Start am", + "cardAttachmentsPopup-title": "Anhängen von", + "cardCustomField-datePopup-title": "Datum ändern", + "cardCustomFieldsPopup-title": "Benutzerdefinierte Felder editieren", + "cardStartVotingPopup-title": "Abstimmung starten", + "positiveVoteMembersPopup-title": "Befürworter", + "negativeVoteMembersPopup-title": "Gegner", + "card-edit-voting": "Abstimmung editieren", + "editVoteEndDatePopup-title": "Enddatum der Abstimmung ändern", + "allowNonBoardMembers": "Alle eingeloggte Nutzer erlauben", + "vote-question": "Abstimmen über", + "vote-public": "Zeigen, wer was gewählt hat", + "vote-for-it": "Dafür", + "vote-against": "Dagegen", + "deleteVotePopup-title": "Wahl löschen?", + "vote-delete-pop": "Löschen ist unwiderruflich. Alle Aktionen die dieser Karte zugeordnet sind werden ebenfalls gelöscht.", + "cardDeletePopup-title": "Karte löschen?", + "cardDetailsActionsPopup-title": "Kartenaktionen", + "cardLabelsPopup-title": "Labels", + "cardMembersPopup-title": "Mitglieder", + "cardMorePopup-title": "Mehr", + "cardTemplatePopup-title": "Vorlage erstellen", + "cards": "Karten", + "cards-count": "Karten", + "casSignIn": "Mit CAS anmelden", + "cardType-card": "Karte", + "cardType-linkedCard": "Verknüpfte Karte", + "cardType-linkedBoard": "Verknüpftes Board", + "change": "Ändern", + "change-avatar": "Profilbild ändern", + "change-password": "Passwort ändern", + "change-permissions": "Berechtigungen ändern", + "change-settings": "Einstellungen ändern", + "changeAvatarPopup-title": "Profilbild ändern", + "changeLanguagePopup-title": "Sprache ändern", + "changePasswordPopup-title": "Passwort ändern", + "changePermissionsPopup-title": "Berechtigungen ändern", + "changeSettingsPopup-title": "Einstellungen ändern", + "subtasks": "Teilaufgaben", + "checklists": "Checklisten", + "click-to-star": "Klicken Sie, um das Board mit einem Stern zu markieren.", + "click-to-unstar": "Klicken Sie, um den Stern vom Board zu entfernen.", + "clipboard": "Zwischenablage oder Drag & Drop", + "close": "Schließen", + "close-board": "Board schließen", + "close-board-pop": "Sie können das Board wiederherstellen, indem Sie die Schaltfläche \"Archiv\" in der Kopfzeile der Startseite anklicken.", + "color-black": "schwarz", + "color-blue": "blau", + "color-crimson": "Karminrot", + "color-darkgreen": "Dunkelgrün", + "color-gold": "Gold", + "color-gray": "Grau", + "color-green": "grün", + "color-indigo": "Indigo", + "color-lime": "hellgrün", + "color-magenta": "Magentarot", + "color-mistyrose": "Altrosa", + "color-navy": "Marineblau", + "color-orange": "orange", + "color-paleturquoise": "Blasses Türkis", + "color-peachpuff": "Pfirsich", + "color-pink": "pink", + "color-plum": "Pflaume", + "color-purple": "lila", + "color-red": "rot", + "color-saddlebrown": "Sattelbraun", + "color-silver": "Silber", + "color-sky": "himmelblau", + "color-slateblue": "Schieferblau", + "color-white": "Weiß", + "color-yellow": "gelb", + "unset-color": "Nicht festgelegt", + "comment": "Kommentar", + "comment-placeholder": "Kommentar schreiben", + "comment-only": "Nur Kommentare", + "comment-only-desc": "Kann Karten nur kommentieren.", + "no-comments": "Keine Kommentare", + "no-comments-desc": "Kann keine Kommentare und Aktivitäten sehen.", + "worker": "Arbeiter", + "worker-desc": "Kann Karten nur verschieben, sich selbst zuweisen und kommentieren.", + "computer": "Computer", + "confirm-subtask-delete-dialog": "Wollen Sie die Teilaufgabe wirklich löschen?", + "confirm-checklist-delete-dialog": "Wollen Sie die Checkliste wirklich löschen?", + "copy-card-link-to-clipboard": "Kopiere Link zur Karte in die Zwischenablage", + "linkCardPopup-title": "Karte verknüpfen", + "searchElementPopup-title": "Suche", + "copyCardPopup-title": "Karte kopieren", + "copyChecklistToManyCardsPopup-title": "Checklistenvorlage in mehrere Karten kopieren", + "copyChecklistToManyCardsPopup-instructions": "Titel und Beschreibungen der Zielkarten im folgenden JSON-Format", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"Titel der ersten Karte\", \"description\":\"Beschreibung der ersten Karte\"}, {\"title\":\"Titel der zweiten Karte\",\"description\":\"Beschreibung der zweiten Karte\"},{\"title\":\"Titel der letzten Karte\",\"description\":\"Beschreibung der letzten Karte\"} ]", + "create": "Erstellen", + "createBoardPopup-title": "Board erstellen", + "chooseBoardSourcePopup-title": "Board importieren", + "createLabelPopup-title": "Label erstellen", + "createCustomField": "Feld erstellen", + "createCustomFieldPopup-title": "Feld erstellen", + "current": "aktuell", + "custom-field-delete-pop": "Dies wird das Feld aus allen Karten entfernen und den dazugehörigen Verlauf löschen. Die Aktion kann nicht rückgängig gemacht werden.", + "custom-field-checkbox": "Kontrollkästchen", + "custom-field-currency": "Währung", + "custom-field-currency-option": "Währungszeichen", + "custom-field-date": "Datum", + "custom-field-dropdown": "Dropdownliste", + "custom-field-dropdown-none": "(keiner)", + "custom-field-dropdown-options": "Listenoptionen", + "custom-field-dropdown-options-placeholder": "Drücken Sie die Eingabetaste, um weitere Optionen hinzuzufügen", + "custom-field-dropdown-unknown": "(unbekannt)", + "custom-field-number": "Zahl", + "custom-field-text": "Text", + "custom-fields": "Benutzerdefinierte Felder", + "date": "Datum", + "decline": "Ablehnen", + "default-avatar": "Standard Profilbild", + "delete": "Löschen", + "deleteCustomFieldPopup-title": "Benutzerdefiniertes Feld löschen?", + "deleteLabelPopup-title": "Label löschen?", + "description": "Beschreibung", + "disambiguateMultiLabelPopup-title": "Labels vereinheitlichen", + "disambiguateMultiMemberPopup-title": "Mitglieder vereinheitlichen", + "discard": "Verwerfen", + "done": "Erledigt", + "download": "Herunterladen", + "edit": "Bearbeiten", + "edit-avatar": "Profilbild ändern", + "edit-profile": "Profil ändern", + "edit-wip-limit": "WIP-Limit bearbeiten", + "soft-wip-limit": "Soft WIP-Limit", + "editCardStartDatePopup-title": "Startdatum ändern", + "editCardDueDatePopup-title": "Fälligkeitsdatum ändern", + "editCustomFieldPopup-title": "Feld bearbeiten", + "editCardSpentTimePopup-title": "Aufgewendete Zeit ändern", + "editLabelPopup-title": "Label ändern", + "editNotificationPopup-title": "Benachrichtigung ändern", + "editProfilePopup-title": "Profil ändern", + "email": "E-Mail", + "email-enrollAccount-subject": "Ihr Benutzerkonto auf __siteName__ wurde erstellt", + "email-enrollAccount-text": "Hallo __user__,\n\num den Dienst nutzen zu können, klicken Sie bitte auf folgenden Link:\n\n__url__\n\nDanke.", + "email-fail": "Senden der E-Mail fehlgeschlagen", + "email-fail-text": "Fehler beim Senden der E-Mail", + "email-invalid": "Ungültige E-Mail-Adresse", + "email-invite": "per E-Mail einladen", + "email-invite-subject": "__inviter__ hat Ihnen eine Einladung geschickt", + "email-invite-text": "Hallo __user__,\n\n__inviter__ hat Sie zu dem Board \"__board__\" eingeladen.\n\nBitte klicken Sie auf folgenden Link:\n\n__url__\n\nDanke.", + "email-resetPassword-subject": "Setzten Sie ihr Passwort auf __siteName__ zurück", + "email-resetPassword-text": "Hallo __user__,\n\num ihr Passwort zurückzusetzen, klicken Sie bitte auf folgenden Link:\n\n__url__\n\nDanke.", + "email-sent": "E-Mail gesendet", + "email-verifyEmail-subject": "Bestätigen Sie ihre E-Mail-Adresse auf __siteName__", + "email-verifyEmail-text": "Hallo __user__,\n\num ihre E-Mail-Adresse zu bestätigen, klicken Sie bitte auf folgenden Link:\n\n__url__\n\nDanke.", + "enable-wip-limit": "WIP-Limit einschalten", + "error-board-doesNotExist": "Dieses Board existiert nicht", + "error-board-notAdmin": "Um das zu tun, müssen Sie Administrator dieses Boards sein", + "error-board-notAMember": "Um das zu tun, müssen Sie Mitglied dieses Boards sein", + "error-json-malformed": "Ihre Eingabe ist kein gültiges JSON", + "error-json-schema": "Ihre JSON-Daten enthalten nicht die gewünschten Informationen im richtigen Format", + "error-csv-schema": "hre CSV (Comma Separated Values)/TSV (Tab Separated Values) enthalten nicht die gewünschten Informationen im richtigen Format", + "error-list-doesNotExist": "Diese Liste existiert nicht", + "error-user-doesNotExist": "Dieser Nutzer existiert nicht", + "error-user-notAllowSelf": "Sie können sich nicht selbst einladen.", + "error-user-notCreated": "Dieser Nutzer ist nicht angelegt", + "error-username-taken": "Dieser Benutzername ist bereits vergeben", + "error-email-taken": "E-Mail wird schon verwendet", + "export-board": "Board exportieren", + "export-board-json": "Board als JSON exportieren", + "export-board-csv": "Board als CSV exportieren", + "export-board-tsv": "Board als TSV exportieren", + "export-board-html": "Board als HTML exportieren", + "exportBoardPopup-title": "Board exportieren", + "sort": "Sortieren", + "sort-desc": "Zum Sortieren der Liste klicken", + "list-sort-by": "Sortieren der Liste nach:", + "list-label-modifiedAt": "Letzte Zugriffszeit", + "list-label-title": "Name der Liste", + "list-label-sort": "Ihre manuelle Sortierung", + "list-label-short-modifiedAt": "(Z)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Filter", + "filter-cards": "Karten oder Listen filtern", + "list-filter-label": "Liste nach Titel filtern", + "filter-clear": "Filter entfernen", + "filter-no-label": "Kein Label", + "filter-no-member": "Kein Mitglied", + "filter-no-assignee": "Nicht zugewiesen", + "filter-no-custom-fields": "Keine benutzerdefinierten Felder", + "filter-show-archive": "Archivierte Listen anzeigen", + "filter-hide-empty": "Leere Listen verstecken", + "filter-on": "Filter ist aktiv", + "filter-on-desc": "Sie filtern die Karten in diesem Board. Klicken Sie, um den Filter zu bearbeiten.", + "filter-to-selection": "Ergebnisse auswählen", + "advanced-filter-label": "Erweiterter Filter", + "advanced-filter-description": "Der erweiterte Filter erlaubt die Eingabe von Zeichenfolgen, die folgende Operatoren enthalten: == != <= >= && || ( ). Ein Leerzeichen wird als Trennzeichen zwischen den Operatoren verwendet. Sie können nach allen benutzerdefinierten Feldern filtern, indem Sie deren Namen und Werte eingeben. Zum Beispiel: Feld1 == Wert1. Hinweis: Wenn Felder oder Werte Leerzeichen enthalten, müssen Sie sie in einfache Anführungszeichen setzen. Zum Beispiel: 'Feld 1' == 'Wert 1'. Um einzelne Steuerzeichen (' \\/) zu überspringen, können Sie \\ verwenden. Zum Beispiel: Feld1 == Ich bin\\'s. Sie können außerdem mehrere Bedingungen kombinieren. Zum Beispiel: F1 == W1 || F1 == W2. Normalerweise werden alle Operatoren von links nach rechts interpretiert. Sie können die Reihenfolge ändern, indem Sie Klammern setzen. Zum Beispiel: F1 == W1 && ( F2 == W2 || F2 == W3 ). Sie können Textfelder auch mithilfe regulärer Ausdrücke durchsuchen: F1 == /Tes.*/i", + "fullname": "Vollständiger Name", + "header-logo-title": "Zurück zur Board Seite.", + "hide-system-messages": "Systemmeldungen ausblenden", + "headerBarCreateBoardPopup-title": "Board erstellen", + "home": "Home", + "import": "Importieren", + "link": "Verknüpfung", + "import-board": "Board importieren", + "import-board-c": "Board importieren", + "import-board-title-trello": "Board von Trello importieren", + "import-board-title-wekan": "Board aus vorherigem Export importieren", + "import-board-title-csv": "Board von CSV/TSV importieren", + "from-trello": "Von Trello", + "from-wekan": "Aus vorherigem Export", + "from-csv": "Aus CSV/TSV", + "import-board-instruction-trello": "Gehen Sie in ihrem Trello-Board auf 'Menü', dann 'Mehr', 'Drucken und Exportieren', 'JSON-Export' und kopieren Sie den dort angezeigten Text", + "import-board-instruction-csv": "Fügen Sie die Ihre Comma-Separated- (CSV) / bzw. Tab-Separated-Values (TSV) ein.", + "import-board-instruction-wekan": "Gehen Sie in Ihrem Board auf 'Menü', danach auf 'Board exportieren' und kopieren Sie den Text aus der heruntergeladenen Datei.", + "import-board-instruction-about-errors": "Treten beim importieren eines Board Fehler auf, so kann der Import dennoch erfolgreich abgeschlossen sein und das Board ist auf der Seite \"Alle Boards\" zusehen.", + "import-json-placeholder": "Fügen Sie die korrekten JSON-Daten hier ein", + "import-csv-placeholder": "Fügen Sie die korrekten CSV/TSV-Daten hier ein ", + "import-map-members": "Mitglieder zuordnen", + "import-members-map": "Das importierte Board hat einige Mitglieder. Bitte ordnen sie die Mitglieder, die Sie importieren wollen, Ihren Benutzern zu.", + "import-show-user-mapping": "Mitgliederzuordnung überprüfen", + "import-user-select": "Wählen Sie den bestehenden Benutzer aus, den Sie für dieses Mitglied verwenden wollen.", + "importMapMembersAddPopup-title": "Mitglied auswählen", + "info": "Version", + "initials": "Initialen", + "invalid-date": "Ungültiges Datum", + "invalid-time": "Ungültige Zeitangabe", + "invalid-user": "Ungültiger Benutzer", + "joined": "beigetreten", + "just-invited": "Sie wurden soeben zu diesem Board eingeladen", + "keyboard-shortcuts": "Tastaturkürzel", + "label-create": "Label erstellen", + "label-default": "%s Label (Standard)", + "label-delete-pop": "Aktion kann nicht rückgängig gemacht werden. Das Label wird von allen Karten entfernt und seine Historie gelöscht.", + "labels": "Labels", + "language": "Sprache", + "last-admin-desc": "Sie können keine Rollen ändern, weil es mindestens einen Administrator geben muss.", + "leave-board": "Board verlassen", + "leave-board-pop": "Sind Sie sicher, dass Sie __boardTitle__ verlassen möchten? Sie werden von allen Karten in diesem Board entfernt.", + "leaveBoardPopup-title": "Board verlassen?", + "link-card": "Link zu dieser Karte", + "list-archive-cards": "Alle Karten dieser Liste ins Archiv verschieben", + "list-archive-cards-pop": "Alle Karten dieser Liste werden vom Board entfernt. Um Karten im Papierkorb anzuzeigen und wiederherzustellen, klicken Sie auf \"Menü\" > \"Archiv\".", + "list-move-cards": "Alle Karten in dieser Liste verschieben", + "list-select-cards": "Alle Karten in dieser Liste auswählen", + "set-color-list": "Lege Farbe fest", + "listActionPopup-title": "Listenaktionen", + "swimlaneActionPopup-title": "Swimlaneaktionen", + "swimlaneAddPopup-title": "Swimlane unterhalb einfügen", + "listImportCardPopup-title": "Eine Trello-Karte importieren", + "listImportCardsTsvPopup-title": "CSV/TSV importieren", + "listMorePopup-title": "Mehr", + "link-list": "Link zu dieser Liste", + "list-delete-pop": "Alle Aktionen werden aus dem Verlauf gelöscht und die Liste kann nicht wiederhergestellt werden.", + "list-delete-suggest-archive": "Listen können ins Archiv verschoben werden, um sie aus dem Board zu entfernen und die Aktivitäten zu behalten.", + "lists": "Listen", + "swimlanes": "Swimlanes", + "log-out": "Ausloggen", + "log-in": "Einloggen", + "loginPopup-title": "Einloggen", + "memberMenuPopup-title": "Nutzereinstellungen", + "members": "Mitglieder", + "menu": "Menü", + "move-selection": "Auswahl verschieben", + "moveCardPopup-title": "Karte verschieben", + "moveCardToBottom-title": "Ans Ende verschieben", + "moveCardToTop-title": "Zum Anfang verschieben", + "moveSelectionPopup-title": "Auswahl verschieben", + "multi-selection": "Mehrfachauswahl", + "multi-selection-on": "Mehrfachauswahl ist aktiv", + "muted": "Stumm", + "muted-info": "Sie werden nicht über Änderungen auf diesem Board benachrichtigt", + "my-boards": "Meine Boards", + "name": "Name", + "no-archived-cards": "Keine Karten im Archiv.", + "no-archived-lists": "Keine Listen im Archiv.", + "no-archived-swimlanes": "Keine Swimlanes im Archiv.", + "no-results": "Keine Ergebnisse", + "normal": "Normal", + "normal-desc": "Kann Karten anzeigen und bearbeiten, aber keine Einstellungen ändern.", + "not-accepted-yet": "Die Einladung wurde noch nicht angenommen", + "notify-participate": "Benachrichtigungen zu allen Karten erhalten, an denen Sie teilnehmen", + "notify-watch": "Benachrichtigungen über alle Boards, Listen oder Karten erhalten, die Sie beobachten", + "optional": "optional", + "or": "oder", + "page-maybe-private": "Diese Seite könnte privat sein. Vielleicht können Sie sie sehen, wenn Sie sich einloggen.", + "page-not-found": "Seite nicht gefunden.", + "password": "Passwort", + "paste-or-dragdrop": "Einfügen oder Datei mit Drag & Drop ablegen (nur Bilder)", + "participating": "Teilnehmen", + "preview": "Vorschau", + "previewAttachedImagePopup-title": "Vorschau", + "previewClipboardImagePopup-title": "Vorschau", + "private": "Privat", + "private-desc": "Dieses Board ist privat. Nur Nutzer, die zu dem Board gehören, können es anschauen und bearbeiten.", + "profile": "Profil", + "public": "Öffentlich", + "public-desc": "Dieses Board ist öffentlich. Es ist für jeden, der den Link kennt, sichtbar und taucht in Suchmaschinen wie Google auf. Nur Nutzer, die zum Board hinzugefügt wurden, können es bearbeiten.", + "quick-access-description": "Markieren Sie ein Board mit einem Stern, um dieser Leiste eine Verknüpfung hinzuzufügen.", + "remove-cover": "Cover entfernen", + "remove-from-board": "Von Board entfernen", + "remove-label": "Label entfernen", + "listDeletePopup-title": "Liste löschen?", + "remove-member": "Nutzer entfernen", + "remove-member-from-card": "Von Karte entfernen", + "remove-member-pop": "__name__ (__username__) von __boardTitle__ entfernen? Das Mitglied wird von allen Karten auf diesem Board entfernt. Es erhält eine Benachrichtigung.", + "removeMemberPopup-title": "Mitglied entfernen?", + "rename": "Umbenennen", + "rename-board": "Board umbenennen", + "restore": "Wiederherstellen", + "save": "Speichern", + "search": "Suchen", + "rules": "Regeln", + "search-cards": "Suche nach Karten-/Listentiteln, Beschreibungen und personalisierten Feldern auf diesem Brett ", + "search-example": "Suchbegriff", + "select-color": "Farbe auswählen", + "set-wip-limit-value": "Setzen Sie ein Limit für die maximale Anzahl von Aufgaben in dieser Liste", + "setWipLimitPopup-title": "WIP-Limit setzen", + "shortcut-assign-self": "Fügen Sie sich zur aktuellen Karte hinzu", + "shortcut-autocomplete-emoji": "Emojis vervollständigen", + "shortcut-autocomplete-members": "Mitglieder vervollständigen", + "shortcut-clear-filters": "Alle Filter entfernen", + "shortcut-close-dialog": "Dialog schließen", + "shortcut-filter-my-cards": "Meine Karten filtern", + "shortcut-show-shortcuts": "Liste der Tastaturkürzel anzeigen", + "shortcut-toggle-filterbar": "Filter-Seitenleiste ein-/ausblenden", + "shortcut-toggle-sidebar": "Seitenleiste ein-/ausblenden", + "show-cards-minimum-count": "Zeigt die Kartenanzahl an, wenn die Liste mehr enthält als", + "sidebar-open": "Seitenleiste öffnen", + "sidebar-close": "Seitenleiste schließen", + "signupPopup-title": "Benutzerkonto erstellen", + "star-board-title": "Klicken Sie, um das Board mit einem Stern zu markieren. Es erscheint dann oben in ihrer Boardliste.", + "starred-boards": "Markierte Boards", + "starred-boards-description": "Markierte Boards erscheinen oben in ihrer Boardliste.", + "subscribe": "Abonnieren", + "team": "Team", + "this-board": "diesem Board", + "this-card": "diese Karte", + "spent-time-hours": "Aufgewendete Zeit (Stunden)", + "overtime-hours": "Mehrarbeit (Stunden)", + "overtime": "Mehrarbeit", + "has-overtime-cards": "Hat Karten mit Mehrarbeit", + "has-spenttime-cards": "Hat Karten mit aufgewendeten Zeiten", + "time": "Zeit", + "title": "Titel", + "tracking": "Folgen", + "tracking-info": "Sie werden über alle Änderungen an Karten benachrichtigt, an denen Sie als Ersteller oder Mitglied beteiligt sind.", + "type": "Typ", + "unassign-member": "Mitglied entfernen", + "unsaved-description": "Sie haben eine nicht gespeicherte Änderung.", + "unwatch": "Beobachtung entfernen", + "upload": "Upload", + "upload-avatar": "Profilbild hochladen", + "uploaded-avatar": "Profilbild hochgeladen", + "username": "Benutzername", + "view-it": "Ansehen", + "warn-list-archived": "Warnung: Diese Karte befindet sich in einer Liste im Archiv", + "watch": "Beobachten", + "watching": "Beobachten", + "watching-info": "Sie werden über alle Änderungen in diesem Board benachrichtigt", + "welcome-board": "Willkommen-Board", + "welcome-swimlane": "Meilenstein 1", + "welcome-list1": "Grundlagen", + "welcome-list2": "Fortgeschritten", + "card-templates-swimlane": "Kartenvorlagen", + "list-templates-swimlane": "Listenvorlagen", + "board-templates-swimlane": "Boardvorlagen", + "what-to-do": "Was wollen Sie tun?", + "wipLimitErrorPopup-title": "Ungültiges WIP-Limit", + "wipLimitErrorPopup-dialog-pt1": "Die Anzahl von Aufgaben in dieser Liste ist größer als das von Ihnen definierte WIP-Limit.", + "wipLimitErrorPopup-dialog-pt2": "Bitte verschieben Sie einige Aufgaben aus dieser Liste oder setzen Sie ein grösseres WIP-Limit.", + "admin-panel": "Administration", + "settings": "Einstellungen", + "people": "Nutzer", + "registration": "Registrierung", + "disable-self-registration": "Selbstregistrierung deaktivieren", + "invite": "Einladen", + "invite-people": "Nutzer einladen", + "to-boards": "In Board(s)", + "email-addresses": "E-Mail Adressen", + "smtp-host-description": "Die Adresse Ihres SMTP-Servers für ausgehende E-Mails.", + "smtp-port-description": "Der Port Ihres SMTP-Servers für ausgehende E-Mails.", + "smtp-tls-description": "Aktiviere TLS Unterstützung für SMTP Server", + "smtp-host": "SMTP-Server", + "smtp-port": "SMTP-Port", + "smtp-username": "Benutzername", + "smtp-password": "Passwort", + "smtp-tls": "TLS Unterstützung", + "send-from": "Absender", + "send-smtp-test": "Test-E-Mail an sich selbst schicken", + "invitation-code": "Einladungscode", + "email-invite-register-subject": "__inviter__ hat Ihnen eine Einladung geschickt", + "email-invite-register-text": "Sehr geehrte(r) __user__,\n\n__inviter__ hat Sie zur Mitarbeit an einem Kanbanboard eingeladen.\n\nBitte klicken Sie auf folgenden Link:\n__url__\n\nIhr Einladungscode lautet: __icode__\n\nDanke.", + "email-smtp-test-subject": "SMTP Test-E-Mail", + "email-smtp-test-text": "Sie haben erfolgreich eine E-Mail versandt", + "error-invitation-code-not-exist": "Ungültiger Einladungscode", + "error-notAuthorized": "Sie sind nicht berechtigt diese Seite zu sehen.", + "webhook-title": "Webhook Name", + "webhook-token": "Token (Optional für Authentifizierung)", + "outgoing-webhooks": "Ausgehende Webhooks", + "bidirectional-webhooks": "Zwei-Wege Webhooks", + "outgoingWebhooksPopup-title": "Ausgehende Webhooks", + "boardCardTitlePopup-title": "Kartentitelfilter", + "disable-webhook": "Diesen Webhook deaktivieren", + "global-webhook": "Globale Webhooks", + "new-outgoing-webhook": "Neuer ausgehender Webhook", + "no-name": "(Unbekannt)", + "Node_version": "Node-Version", + "Meteor_version": "Meteor-Version", + "MongoDB_version": "MongoDB-Version", + "MongoDB_storage_engine": "MongoDB-Speicher-Engine", + "MongoDB_Oplog_enabled": "MongoDB-Oplog aktiviert", + "OS_Arch": "Betriebssystem-Architektur", + "OS_Cpus": "Anzahl Prozessoren", + "OS_Freemem": "Freier Arbeitsspeicher", + "OS_Loadavg": "Mittlere Systembelastung", + "OS_Platform": "Plattform", + "OS_Release": "Version des Betriebssystem", + "OS_Totalmem": "Gesamter Arbeitsspeicher", + "OS_Type": "Typ des Betriebssystems", + "OS_Uptime": "Laufzeit des Systems", + "days": "Tage", + "hours": "Stunden", + "minutes": "Minuten", + "seconds": "Sekunden", + "show-field-on-card": "Zeige dieses Feld auf der Karte", + "automatically-field-on-card": "Automatisch Label für alle Karten erzeugen", + "showLabel-field-on-card": "Feldbezeichnung auf Minikarte anzeigen", + "yes": "Ja", + "no": "Nein", + "accounts": "Konten", + "accounts-allowEmailChange": "Ändern der E-Mailadresse erlauben", + "accounts-allowUserNameChange": "Ändern des Benutzernamens erlauben", + "createdAt": "Erstellt am", + "verified": "Geprüft", + "active": "Aktiv", + "card-received": "Empfangen", + "card-received-on": "Empfangen am", + "card-end": "Ende", + "card-end-on": "Endet am", + "editCardReceivedDatePopup-title": "Empfangsdatum ändern", + "editCardEndDatePopup-title": "Enddatum ändern", + "setCardColorPopup-title": "Farbe festlegen", + "setCardActionsColorPopup-title": "Farbe wählen", + "setSwimlaneColorPopup-title": "Farbe wählen", + "setListColorPopup-title": "Farbe wählen", + "assigned-by": "Zugewiesen von", + "requested-by": "Angefordert von", + "board-delete-notice": "Löschen kann nicht rückgängig gemacht werden. Sie werden alle Listen, Karten und Aktionen, die mit diesem Board verbunden sind, verlieren.", + "delete-board-confirm-popup": "Alle Listen, Karten, Labels und Akivitäten werden gelöscht und Sie können die Inhalte des Boards nicht wiederherstellen! Die Aktion kann nicht rückgängig gemacht werden.", + "boardDeletePopup-title": "Board löschen?", + "delete-board": "Board löschen", + "default-subtasks-board": "Teilaufgabe für __board__ Board", + "default": "Standard", + "queue": "Warteschlange", + "subtask-settings": "Einstellungen für Teilaufgaben", + "card-settings": "Karten-Einstellungen", + "boardSubtaskSettingsPopup-title": "Boardeinstellungen für Teilaufgaben", + "boardCardSettingsPopup-title": "Karten-Einstellungen", + "deposit-subtasks-board": "Teilaufgaben in diesem Board ablegen:", + "deposit-subtasks-list": "Zielliste für hier abgelegte Teilaufgaben:", + "show-parent-in-minicard": "Übergeordnetes Element auf Minikarte anzeigen:", + "prefix-with-full-path": "Vollständiger Pfad über Titel", + "prefix-with-parent": "Über Titel", + "subtext-with-full-path": "Vollständiger Pfad unter Titel", + "subtext-with-parent": "Unter Titel", + "change-card-parent": "Übergeordnete Karte ändern", + "parent-card": "Übergeordnete Karte", + "source-board": "Quellboard", + "no-parent": "Nicht anzeigen", + "activity-added-label": "fügte Label '%s' zu %s hinzu", + "activity-removed-label": "entfernte Label '%s' von %s", + "activity-delete-attach": "löschte ein Anhang von %s", + "activity-added-label-card": "Label hinzugefügt '%s'", + "activity-removed-label-card": "Label entfernt '%s'", + "activity-delete-attach-card": "hat einen Anhang gelöscht", + "activity-set-customfield": "setze benutzerdefiniertes Feld '%s' zu '%s' in %s", + "activity-unset-customfield": "entferne benutzerdefiniertes Feld '%s' in %s", + "r-rule": "Regel", + "r-add-trigger": "Auslöser hinzufügen", + "r-add-action": "Aktion hinzufügen", + "r-board-rules": "Boardregeln", + "r-add-rule": "Regel hinzufügen", + "r-view-rule": "Regel anzeigen", + "r-delete-rule": "Regel löschen", + "r-new-rule-name": "Neuer Regeltitel", + "r-no-rules": "Keine Regeln", + "r-trigger": "Auslöser", + "r-action": "Aktion", + "r-when-a-card": "Wenn Karte", + "r-is": "wird", + "r-is-moved": "verschoben wird", + "r-added-to": "Hinzugefügt zu", + "r-removed-from": "entfernt von", + "r-the-board": "das Board", + "r-list": "Liste", + "set-filter": "Setze Filter", + "r-moved-to": "verschoben nach", + "r-moved-from": "verschoben von", + "r-archived": "ins Archiv verschoben", + "r-unarchived": "aus dem Archiv wiederhergestellt", + "r-a-card": "einer Karte", + "r-when-a-label-is": "Wenn ein Label", + "r-when-the-label": "Wenn das Label", + "r-list-name": "Listenname", + "r-when-a-member": "Wenn ein Mitglied", + "r-when-the-member": "Wenn das Mitglied", + "r-name": "Name", + "r-when-a-attach": "Wenn ein Anhang", + "r-when-a-checklist": "Wenn eine Checkliste wird", + "r-when-the-checklist": "Wenn die Checkliste", + "r-completed": "abgeschlossen", + "r-made-incomplete": "unvollständig gemacht", + "r-when-a-item": "Wenn eine Checklistenposition", + "r-when-the-item": "Wenn die Checklistenposition", + "r-checked": "markiert wird", + "r-unchecked": "abgewählt wird", + "r-move-card-to": "Verschiebe Karte an", + "r-top-of": "Anfang von", + "r-bottom-of": "Ende von", + "r-its-list": "seiner Liste", + "r-archive": "Ins Archiv verschieben", + "r-unarchive": "Aus dem Archiv wiederherstellen", + "r-card": "Karte", + "r-add": "Hinzufügen", + "r-remove": "entfernen", + "r-label": "Label", + "r-member": "Mitglied", + "r-remove-all": "Entferne alle Mitglieder von der Karte", + "r-set-color": "Farbe festlegen auf", + "r-checklist": "Checkliste", + "r-check-all": "Alle markieren", + "r-uncheck-all": "Alle abwählen", + "r-items-check": "Elemente der Checkliste", + "r-check": "Markieren", + "r-uncheck": "Abwählen", + "r-item": "Element", + "r-of-checklist": "der Checkliste", + "r-send-email": "Eine E-Mail senden", + "r-to": "an", + "r-of": "von", + "r-subject": "Betreff", + "r-rule-details": "Regeldetails", + "r-d-move-to-top-gen": "Karte nach oben in die Liste verschieben", + "r-d-move-to-top-spec": "Karte an den Anfang der Liste verschieben", + "r-d-move-to-bottom-gen": "Karte nach unten in die Liste verschieben", + "r-d-move-to-bottom-spec": "Karte an das Ende der Liste verschieben", + "r-d-send-email": "E-Mail senden", + "r-d-send-email-to": "an", + "r-d-send-email-subject": "Betreff", + "r-d-send-email-message": "Nachricht", + "r-d-archive": "Karte ins Archiv verschieben", + "r-d-unarchive": "Karte aus dem Archiv wiederherstellen", + "r-d-add-label": "Label hinzufügen", + "r-d-remove-label": "Label entfernen", + "r-create-card": "Neue Karte erstellen", + "r-in-list": "in der Liste", + "r-in-swimlane": "in Swimlane", + "r-d-add-member": "Mitglied hinzufügen", + "r-d-remove-member": "Mitglied entfernen", + "r-d-remove-all-member": "Entferne alle Mitglieder", + "r-d-check-all": "Alle Elemente der Liste markieren", + "r-d-uncheck-all": "Alle Element der Liste abwählen", + "r-d-check-one": "Element auswählen", + "r-d-uncheck-one": "Element abwählen", + "r-d-check-of-list": "der Checkliste", + "r-d-add-checklist": "Checkliste hinzufügen", + "r-d-remove-checklist": "Checkliste entfernen", + "r-by": "durch", + "r-add-checklist": "Checkliste hinzufügen", + "r-with-items": "mit Elementen", + "r-items-list": "Element1,Element2,Element3", + "r-add-swimlane": "Füge Swimlane hinzu", + "r-swimlane-name": "Swimlanename", + "r-board-note": "Hinweis: Lassen Sie ein Feld leer, um alle möglichen Werte zu finden.", + "r-checklist-note": "Hinweis: Die Elemente der Checkliste müssen als kommagetrennte Werte geschrieben werden.", + "r-when-a-card-is-moved": "Wenn eine Karte in eine andere Liste verschoben wird", + "r-set": "Setze", + "r-update": "Aktualisiere", + "r-datefield": "Datumsfeld", + "r-df-start-at": "Start", + "r-df-due-at": "Fällig", + "r-df-end-at": "Ende", + "r-df-received-at": "Empfangen", + "r-to-current-datetime": "auf das aktuelle Datum/Zeit", + "r-remove-value-from": "Entferne Wert von", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Authentifizierungsmethode", + "authentication-type": "Authentifizierungstyp", + "custom-product-name": "Benutzerdefinierter Produktname", + "layout": "Layout", + "hide-logo": "Verstecke Logo", + "add-custom-html-after-body-start": "Füge benutzerdefiniertes HTML nach Anfang hinzu", + "add-custom-html-before-body-end": "Füge benutzerdefiniertes HTML vor Ende hinzu", + "error-undefined": "Etwas ist schief gelaufen", + "error-ldap-login": "Es ist ein Fehler beim Anmelden aufgetreten", + "display-authentication-method": "Anzeige Authentifizierungsverfahren", + "default-authentication-method": "Standardauthentifizierungsverfahren", + "duplicate-board": "Board duplizieren", + "people-number": "Anzahl der Personen:", + "swimlaneDeletePopup-title": "Swimlane löschen?", + "swimlane-delete-pop": "Alle Aktionen werden aus dem Aktivitätenfeed entfernt und die Swimlane kann nicht wiederhergestellt werden. Die Aktion kann nicht rückgängig gemacht werden.", + "restore-all": "Alles wiederherstellen", + "delete-all": "Alles löschen", + "loading": "Laden, bitte warten.", + "previous_as": "letzter Zeitpunkt war", + "act-a-dueAt": "hat Fälligkeit geändert auf\nWann: __timeValue__\nWo: __card__\nvorheriger Fälligkeitszeitpunkt war __timeOldValue__", + "act-a-endAt": "hat Ende auf __timeValue__ von (__timeOldValue__) geändert", + "act-a-startAt": "hat Start auf __timeValue__ von (__timeOldValue__) geändert", + "act-a-receivedAt": "hat Empfangszeit auf __timeValue__ von (__timeOldValue__) geändert", + "a-dueAt": "hat Fälligkeit geändert auf", + "a-endAt": "hat Ende geändert auf", + "a-startAt": "hat Startzeit geändert auf", + "a-receivedAt": "hat Empfangszeit geändert auf", + "almostdue": "aktuelles Fälligkeitsdatum %s bevorstehend", + "pastdue": "aktuelles Fälligkeitsdatum %s überschritten", + "duenow": "aktuelles Fälligkeitsdatum %s heute", + "act-newDue": "__list__/__card__ hat seine 1. fällige Erinnerung [__board__]", + "act-withDue": "Erinnerung an Fällikgeit von __card__ [__board__]", + "act-almostdue": "erinnernd an das aktuelle Fälligkeitszeitpunkt (__timeValue__) von __card__ ist bevorstehend", + "act-pastdue": "erinnernd an das aktuelle Fälligkeitszeitpunkt (__timeValue__) von __card__ ist vorbei", + "act-duenow": "erinnernd an das aktuelle Fälligkeitszeitpunkt (__timeValue__) von __card__ ist jetzt", + "act-atUserComment": "Sie wurden in [__board__] __list__/__card__ erwähnt", + "delete-user-confirm-popup": "Sind Sie sicher, dass Sie diesen Account löschen wollen? Die Aktion kann nicht rückgängig gemacht werden.", + "accounts-allowUserDelete": "Erlaube Benutzern ihren eigenen Account zu löschen", + "hide-minicard-label-text": "Labeltext auf Minikarte ausblenden", + "show-desktop-drag-handles": "Desktop-Ziehpunkte anzeigen", + "assignee": "Zugewiesen", + "cardAssigneesPopup-title": "Zugewiesen", + "addmore-detail": "Eine detailliertere Beschreibung hinzufügen", + "show-on-card": "Zeige auf Karte", + "new": "Neu", + "editUserPopup-title": "Benutzer ändern", + "newUserPopup-title": "Neuer Benutzer", + "notifications": "Benachrichtigungen", + "view-all": "Alle anzeigen", + "filter-by-unread": "Nur ungelesene", + "mark-all-as-read": "Alle als gelesen markieren", + "remove-all-read": "Alle gelesenen entfernen", + "allow-rename": "Umbenennen erlauben", + "allowRenamePopup-title": "Umbenennen erlauben", + "start-day-of-week": "Wochentagbeginn festlegen", + "monday": "Montag", + "tuesday": "Dienstag", + "wednesday": "Mittwoch", + "thursday": "Donnerstag", + "friday": "Freitag", + "saturday": "Samstag", + "sunday": "Sonntag", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Eigentümer", + "last-modified-at": "Zuletzt geändert um", + "last-activity": "Letzte Aktivität", + "voting": "Abstimunng", + "archived": "Archiviert", + "delete-linked-card-before-this-card": "Sie können diese Karte erst löschen, wenn Sie alle verbundenen Karten gelöscht haben.", + "delete-linked-cards-before-this-list": "Sie können diese Liste erst löschen, wenn Sie alle Karten gelöscht haben, die auf Karten in dieser Liste verweisen.", + "hide-checked-items": "Erledigte ausblenden" +} \ No newline at end of file diff --git a/i18n/el.i18n.json b/i18n/el.i18n.json new file mode 100644 index 0000000..e7f7417 --- /dev/null +++ b/i18n/el.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Αποδοχή", + "act-activity-notify": "Ειδοποίηση δραστηριότητας", + "act-addAttachment": "added attachment __attachment__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteAttachment": "deleted attachment __attachment__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addSubtask": "added subtask __subtask__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addedLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removedLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklist": "added checklist __checklist__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklistItem": "added checklist item __checklistItem__ to checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklist": "removed checklist __checklist__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklistItem": "removed checklist item __checklistItem__ from checklist __checkList__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-checkedItem": "checked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncheckedItem": "unchecked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-completeChecklist": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncompleteChecklist": "uncompleted checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addComment": "commented on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-editComment": "edited comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteComment": "deleted comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createBoard": "created board __board__", + "act-createSwimlane": "created swimlane __swimlane__ to board __board__", + "act-createCard": "created card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-createCustomField": "created custom field __customField__ at board __board__", + "act-deleteCustomField": "deleted custom field __customField__ at board __board__", + "act-setCustomField": "edited custom field __customField__: __customFieldValue__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createList": "added list __list__ to board __board__", + "act-addBoardMember": "added member __member__ to board __board__", + "act-archivedBoard": "Board __board__ moved to Archive", + "act-archivedCard": "Card __card__ at list __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedList": "List __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedSwimlane": "Swimlane __swimlane__ at board __board__ moved to Archive", + "act-importBoard": "imported board __board__", + "act-importCard": "imported card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-importList": "imported list __list__ to swimlane __swimlane__ at board __board__", + "act-joinMember": "added member __member__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-moveCard": "moved card __card__ at board __board__ from list __oldList__ at swimlane __oldSwimlane__ to list __list__ at swimlane __swimlane__", + "act-moveCardToOtherBoard": "moved card __card__ from list __oldList__ at swimlane __oldSwimlane__ at board __oldBoard__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-removeBoardMember": "removed member __member__ from board __board__", + "act-restoredCard": "restored card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-unjoinMember": "removed member __member__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Ενέργειες", + "activities": "Δραστηριότητες", + "activity": "Δραστηριότητα", + "activity-added": "added %s to %s", + "activity-archived": "%s μετακινήθηκε στο Αρχείο", + "activity-attached": "attached %s to %s", + "activity-created": "created %s", + "activity-customfield-created": "created custom field %s", + "activity-excluded": "excluded %s from %s", + "activity-imported": "imported %s into %s from %s", + "activity-imported-board": "imported %s from %s", + "activity-joined": "joined %s", + "activity-moved": "moved %s from %s to %s", + "activity-on": "στό %s", + "activity-removed": "removed %s from %s", + "activity-sent": "sent %s to %s", + "activity-unjoined": "unjoined %s", + "activity-subtask-added": "added subtask to %s", + "activity-checked-item": "checked %s in checklist %s of %s", + "activity-unchecked-item": "unchecked %s in checklist %s of %s", + "activity-checklist-added": "added checklist to %s", + "activity-checklist-removed": "removed a checklist from %s", + "activity-checklist-completed": "completed checklist %s of %s", + "activity-checklist-uncompleted": "uncompleted the checklist %s of %s", + "activity-checklist-item-added": "added checklist item to '%s' in %s", + "activity-checklist-item-removed": "removed a checklist item from '%s' in %s", + "add": "Προσθήκη", + "activity-checked-item-card": "checked %s in checklist %s", + "activity-unchecked-item-card": "unchecked %s in checklist %s", + "activity-checklist-completed-card": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "activity-checklist-uncompleted-card": "uncompleted the checklist %s", + "activity-editComment": "edited comment %s", + "activity-deleteComment": "deleted comment %s", + "add-attachment": "Add Attachment", + "add-board": "Προσθήκη Πίνακα", + "add-card": "Προσθήκη Κάρτας", + "add-swimlane": "Add Swimlane", + "add-subtask": "Add Subtask", + "add-checklist": "Προσθήκη Λίστας ελέγχου", + "add-checklist-item": "Add an item to checklist", + "add-cover": "Add Cover", + "add-label": "Προσθήκη Ετικέτας", + "add-list": "Προσθήκη Λίστας", + "add-members": "Προσθήκη Μελών", + "added": "Προστέθηκε", + "addMemberPopup-title": "Μέλη", + "admin": "Διαχειριστής", + "admin-desc": "Can view and edit cards, remove members, and change settings for the board.", + "admin-announcement": "Announcement", + "admin-announcement-active": "Active System-Wide Announcement", + "admin-announcement-title": "Announcement from Administrator", + "all-boards": "All boards", + "and-n-other-card": "And __count__ other card", + "and-n-other-card_plural": "And __count__ other cards", + "apply": "Εφαρμογή", + "app-is-offline": "Loading, please wait. Refreshing the page will cause data loss. If loading does not work, please check that server has not stopped.", + "archive": "Μετακίνηση στο Αρχείο", + "archive-all": "Μετακίνηση Όλων στο Αρχείο", + "archive-board": "Μετακίνηση Πίνακα στο Αρχείο", + "archive-card": "Μετακίνηση Κάρτας στο Αρχείο", + "archive-list": "Μετακίνηση Λίστας στο Αρχείο", + "archive-swimlane": "Move Swimlane to Archive", + "archive-selection": "Μετακίνηση επιλογής στο Αρχείο", + "archiveBoardPopup-title": "Να μετακινηθεί ο Πίνακας στο Αρχείο;", + "archived-items": "Αρχείο", + "archived-boards": "Πίνακες στο Αρχείο", + "restore-board": "Επαναφορά Πίνακα", + "no-archived-boards": "Δεν υπάρχουν Πίνακες στο Αρχείο.", + "archives": "Αρχείο", + "template": "Πρότυπο", + "templates": "Πρότυπα", + "assign-member": "Ανάθεση μέλους", + "attached": "attached", + "attachment": "Συνημμένο", + "attachment-delete-pop": "Deleting an attachment is permanent. There is no undo.", + "attachmentDeletePopup-title": "Διαγραφή Συννημένου;", + "attachments": "Συννημένα", + "auto-watch": "Automatically watch boards when they are created", + "avatar-too-big": "The avatar is too large (70KB max)", + "back": "Πίσω", + "board-change-color": "Αλλαγή χρώματος", + "board-nb-stars": "%s stars", + "board-not-found": "Ο πίνακας δε βρέθηκε", + "board-private-info": "This board will be private.", + "board-public-info": "This board will be public.", + "boardChangeColorPopup-title": "Αλλαγή Φόντου Πίνακα", + "boardChangeTitlePopup-title": "Μετονομασία Πίνακα", + "boardChangeVisibilityPopup-title": "Αλλαγή Ορατότητας", + "boardChangeWatchPopup-title": "Change Watch", + "boardMenuPopup-title": "Ρυθμίσεις Πίνακα", + "boardChangeViewPopup-title": "Board View", + "boards": "Πίνακες", + "board-view": "Board View", + "board-view-cal": "Ημερολόγιο", + "board-view-swimlanes": "Swimlanes", + "board-view-collapse": "Collapse", + "board-view-lists": "Λίστες", + "bucket-example": "Like “Bucket List” for example", + "cancel": "Ακύρωση", + "card-archived": "Αυτή η κάρτα μετακινήθηκε στο Αρχείο.", + "board-archived": "Αυτός ο πίνακας μετακινήθηκε στο Αρχείο.", + "card-comments-title": "This card has %s comment.", + "card-delete-notice": "Deleting is permanent. You will lose all actions associated with this card.", + "card-delete-pop": "All actions will be removed from the activity feed and you won't be able to re-open the card. There is no undo.", + "card-delete-suggest-archive": "You can move a card to Archive to remove it from the board and preserve the activity.", + "card-due": "Έως", + "card-due-on": "Έως τις", + "card-spent": "Spent Time", + "card-edit-attachments": "Edit attachments", + "card-edit-custom-fields": "Edit custom fields", + "card-edit-labels": "Edit labels", + "card-edit-members": "Edit members", + "card-labels-title": "Change the labels for the card.", + "card-members-title": "Add or remove members of the board from the card.", + "card-start": "Start", + "card-start-on": "Starts on", + "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", + "cardStartVotingPopup-title": "Start a vote", + "positiveVoteMembersPopup-title": "Proponents", + "negativeVoteMembersPopup-title": "Opponents", + "card-edit-voting": "Edit voting", + "editVoteEndDatePopup-title": "Change vote end date", + "allowNonBoardMembers": "Allow all logged in users", + "vote-question": "Voting question", + "vote-public": "Show who voted what", + "vote-for-it": "for it", + "vote-against": "against", + "deleteVotePopup-title": "Delete vote?", + "vote-delete-pop": "Deleting is permanent. You will lose all actions associated with this vote.", + "cardDeletePopup-title": "Διαγραφή Κάρτας;", + "cardDetailsActionsPopup-title": "Card Actions", + "cardLabelsPopup-title": "Ετικέτες", + "cardMembersPopup-title": "Μέλοι", + "cardMorePopup-title": "Περισσότερα", + "cardTemplatePopup-title": "Create template", + "cards": "Κάρτες", + "cards-count": "Κάρτες", + "casSignIn": "Sign In with CAS", + "cardType-card": "Card", + "cardType-linkedCard": "Linked Card", + "cardType-linkedBoard": "Linked Board", + "change": "Αλλαγή", + "change-avatar": "Change Avatar", + "change-password": "Αλλαγή Κωδικού", + "change-permissions": "Change permissions", + "change-settings": "Αλλαγή Ρυθμίσεων", + "changeAvatarPopup-title": "Change Avatar", + "changeLanguagePopup-title": "Αλλαγή Γλώσσας", + "changePasswordPopup-title": "Αλλαγή Κωδικού", + "changePermissionsPopup-title": "Change Permissions", + "changeSettingsPopup-title": "Αλλαγή Ρυθμίσεων", + "subtasks": "Subtasks", + "checklists": "Checklists", + "click-to-star": "Click to star this board.", + "click-to-unstar": "Click to unstar this board.", + "clipboard": "Clipboard or drag & drop", + "close": "Κλείσιμο", + "close-board": "Close Board", + "close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.", + "color-black": "μαύρο", + "color-blue": "μπλε", + "color-crimson": "βυσσινί", + "color-darkgreen": "σκούρο πράσινο", + "color-gold": "χρυσό", + "color-gray": "γκρι", + "color-green": "πράσινο", + "color-indigo": "λουλάκι", + "color-lime": "λάιμ", + "color-magenta": "magenta", + "color-mistyrose": "mistyrose", + "color-navy": "navy", + "color-orange": "πορτοκαλί", + "color-paleturquoise": "paleturquoise", + "color-peachpuff": "peachpuff", + "color-pink": "ροζ", + "color-plum": "plum", + "color-purple": "μωβ", + "color-red": "κόκκινο", + "color-saddlebrown": "saddlebrown", + "color-silver": "ασημί", + "color-sky": "ουρανός", + "color-slateblue": "slateblue", + "color-white": "λευκό", + "color-yellow": "κίτρινο", + "unset-color": "Unset", + "comment": "Comment", + "comment-placeholder": "Write Comment", + "comment-only": "Comment only", + "comment-only-desc": "Can comment on cards only.", + "no-comments": "Χωρίς σχόλια", + "no-comments-desc": "Can not see comments and activities.", + "worker": "Worker", + "worker-desc": "Can only move cards, assign itself to card and comment.", + "computer": "Υπολογιστής", + "confirm-subtask-delete-dialog": "Are you sure you want to delete subtask?", + "confirm-checklist-delete-dialog": "Are you sure you want to delete checklist?", + "copy-card-link-to-clipboard": "Copy card link to clipboard", + "linkCardPopup-title": "Link Card", + "searchElementPopup-title": "Αναζήτηση", + "copyCardPopup-title": "Copy Card", + "copyChecklistToManyCardsPopup-title": "Copy Checklist Template to Many Cards", + "copyChecklistToManyCardsPopup-instructions": "Destination Card Titles and Descriptions in this JSON format", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"First card title\", \"description\":\"First card description\"}, {\"title\":\"Second card title\",\"description\":\"Second card description\"},{\"title\":\"Last card title\",\"description\":\"Last card description\"} ]", + "create": "Δημιουργία", + "createBoardPopup-title": "Create Board", + "chooseBoardSourcePopup-title": "Εισαγωγή πίνακα", + "createLabelPopup-title": "Δημιουργία Ετικέτας", + "createCustomField": "Δημιουργία Πεδίου", + "createCustomFieldPopup-title": "Δημιουργία Πεδίου", + "current": "current", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-currency": "Currency", + "custom-field-currency-option": "Currency Code", + "custom-field-date": "Ημερομηνία", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Αριθμός", + "custom-field-text": "Κείμενο", + "custom-fields": "Custom Fields", + "date": "Ημερομηνία", + "decline": "Decline", + "default-avatar": "Default avatar", + "delete": "Διαγραφή", + "deleteCustomFieldPopup-title": "Delete Custom Field?", + "deleteLabelPopup-title": "Διαγραφή Ετικέτας;", + "description": "Περιγραφή", + "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", + "disambiguateMultiMemberPopup-title": "Disambiguate Member Action", + "discard": "Απόρριψη", + "done": "Done", + "download": "Download", + "edit": "Επεξεργασία", + "edit-avatar": "Change Avatar", + "edit-profile": "Επεξεργασία Προφίλ", + "edit-wip-limit": "Edit WIP Limit", + "soft-wip-limit": "Soft WIP Limit", + "editCardStartDatePopup-title": "Change start date", + "editCardDueDatePopup-title": "Change due date", + "editCustomFieldPopup-title": "Επεξεργασία Πεδίου", + "editCardSpentTimePopup-title": "Change spent time", + "editLabelPopup-title": "Αλλαγή Ετικέτας", + "editNotificationPopup-title": "Επεξεργασία Ειδοποίησης", + "editProfilePopup-title": "Επεξεργασία Προφίλ", + "email": "Email", + "email-enrollAccount-subject": "An account created for you on __siteName__", + "email-enrollAccount-text": "Hello __user__,\n\nTo start using the service, simply click the link below.\n\n__url__\n\nThanks.", + "email-fail": "Sending email failed", + "email-fail-text": "Error trying to send email", + "email-invalid": "Invalid email", + "email-invite": "Πρόσκληση μέσω Email", + "email-invite-subject": "__inviter__ sent you an invitation", + "email-invite-text": "Dear __user__,\n\n__inviter__ invites you to join board \"__board__\" for collaborations.\n\nPlease follow the link below:\n\n__url__\n\nThanks.", + "email-resetPassword-subject": "Reset your password on __siteName__", + "email-resetPassword-text": "Hello __user__,\n\nTo reset your password, simply click the link below.\n\n__url__\n\nThanks.", + "email-sent": "Email sent", + "email-verifyEmail-subject": "Verify your email address on __siteName__", + "email-verifyEmail-text": "Hello __user__,\n\nTo verify your account email, simply click the link below.\n\n__url__\n\nThanks.", + "enable-wip-limit": "Enable WIP Limit", + "error-board-doesNotExist": "This board does not exist", + "error-board-notAdmin": "You need to be admin of this board to do that", + "error-board-notAMember": "You need to be a member of this board to do that", + "error-json-malformed": "Το κείμενο δεν είναι έγκυρο JSON", + "error-json-schema": "Your JSON data does not include the proper information in the correct format", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "Η λίστα δεν υπάρχει", + "error-user-doesNotExist": "Ο χρήστης δεν υπάρχει", + "error-user-notAllowSelf": "You can not invite yourself", + "error-user-notCreated": "Ο χρήστης δε δημιουργήθηκε", + "error-username-taken": "This username is already taken", + "error-email-taken": "Email has already been taken", + "export-board": "Εξαγωγή πίνακα", + "export-board-json": "Export board to JSON", + "export-board-csv": "Export board to CSV", + "export-board-tsv": "Export board to TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "Εξαγωγή πίνακα", + "sort": "Sort", + "sort-desc": "Click to Sort List", + "list-sort-by": "Sort the List By:", + "list-label-modifiedAt": "Last Access Time", + "list-label-title": "Name of the List", + "list-label-sort": "Your Manual Order", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Φίλτρο", + "filter-cards": "Filter Cards or Lists", + "list-filter-label": "Filter List by Title", + "filter-clear": "Clear filter", + "filter-no-label": "No label", + "filter-no-member": "Κανένα μέλος", + "filter-no-assignee": "No assignee", + "filter-no-custom-fields": "No Custom Fields", + "filter-show-archive": "Show archived lists", + "filter-hide-empty": "Hide empty lists", + "filter-on": "Filter is on", + "filter-on-desc": "You are filtering cards on this board. Click here to edit filter.", + "filter-to-selection": "Filter to selection", + "advanced-filter-label": "Advanced Filter", + "advanced-filter-description": "Advanced Filter allows to write a string containing following operators: == != <= >= && || ( ) A space is used as a separator between the Operators. You can filter for all Custom Fields by typing their names and values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need to encapsulate them into single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) to be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally all operators are interpreted from left to right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i", + "fullname": "Πλήρες Όνομα", + "header-logo-title": "Go back to your boards page.", + "hide-system-messages": "Hide system messages", + "headerBarCreateBoardPopup-title": "Create Board", + "home": "Home", + "import": "Εισαγωγή", + "link": "Link", + "import-board": "import board", + "import-board-c": "Εισαγωγή πίνακα", + "import-board-title-trello": "Import board from Trello", + "import-board-title-wekan": "Import board from previous export", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "Από το Trello", + "from-wekan": "From previous export", + "from-csv": "From CSV/TSV", + "import-board-instruction-trello": "In your Trello board, go to 'Menu', then 'More', 'Print and Export', 'Export JSON', and copy the resulting text.", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "In your board, go to 'Menu', then 'Export board', and copy the text in the downloaded file.", + "import-board-instruction-about-errors": "If you get errors when importing board, sometimes importing still works, and board is at All Boards page.", + "import-json-placeholder": "Paste your valid JSON data here", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "Map members", + "import-members-map": "Your imported board has some members. Please map the members you want to import to your users", + "import-show-user-mapping": "Review members mapping", + "import-user-select": "Pick your existing user you want to use as this member", + "importMapMembersAddPopup-title": "Επιλογή μέλους", + "info": "Έκδοση", + "initials": "Initials", + "invalid-date": "Invalid date", + "invalid-time": "Invalid time", + "invalid-user": "Invalid user", + "joined": "joined", + "just-invited": "You are just invited to this board", + "keyboard-shortcuts": "Συντομεύσεις πληκτρολογίου", + "label-create": "Δημιουργία Ετικέτας", + "label-default": "%s label (default)", + "label-delete-pop": "There is no undo. This will remove this label from all cards and destroy its history.", + "labels": "Ετικέτες", + "language": "Γλώσσα", + "last-admin-desc": "You can’t change roles because there must be at least one admin.", + "leave-board": "Leave Board", + "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.", + "leaveBoardPopup-title": "Leave Board ?", + "link-card": "Link to this card", + "list-archive-cards": "Move all cards in this list to Archive", + "list-archive-cards-pop": "This will remove all the cards in this list from the board. To view cards in Archive and bring them back to the board, click “Menu” > “Archive”.", + "list-move-cards": "Move all cards in this list", + "list-select-cards": "Select all cards in this list", + "set-color-list": "Set Color", + "listActionPopup-title": "List Actions", + "swimlaneActionPopup-title": "Swimlane Actions", + "swimlaneAddPopup-title": "Add a Swimlane below", + "listImportCardPopup-title": "Εισαγωγή μιας κάρτας Trello", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "Περισσότερα", + "link-list": "Link to this list", + "list-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the list. There is no undo.", + "list-delete-suggest-archive": "You can move a list to Archive to remove it from the board and preserve the activity.", + "lists": "Λίστες", + "swimlanes": "Swimlanes", + "log-out": "Αποσύνδεση", + "log-in": "Σύνδεση", + "loginPopup-title": "Σύνδεση", + "memberMenuPopup-title": "Member Settings", + "members": "Μέλοι", + "menu": "Menu", + "move-selection": "Move selection", + "moveCardPopup-title": "Move Card", + "moveCardToBottom-title": "Move to Bottom", + "moveCardToTop-title": "Move to Top", + "moveSelectionPopup-title": "Move selection", + "multi-selection": "Multi-Selection", + "multi-selection-on": "Multi-Selection is on", + "muted": "Muted", + "muted-info": "You will never be notified of any changes in this board", + "my-boards": "My Boards", + "name": "Όνομα", + "no-archived-cards": "Δεν υπάρχουν κάρτες στο Αρχείο.", + "no-archived-lists": "No lists in Archive.", + "no-archived-swimlanes": "No swimlanes in Archive.", + "no-results": "Κανένα αποτέλεσμα", + "normal": "Normal", + "normal-desc": "Can view and edit cards. Can't change settings.", + "not-accepted-yet": "Invitation not accepted yet", + "notify-participate": "Receive updates to any cards you participate as creater or member", + "notify-watch": "Receive updates to any boards, lists, or cards you’re watching", + "optional": "optional", + "or": "ή", + "page-maybe-private": "This page may be private. You may be able to view it by logging in.", + "page-not-found": "Η σελίδα δεν βρέθηκε.", + "password": "Κωδικός", + "paste-or-dragdrop": "to paste, or drag & drop image file to it (image only)", + "participating": "Participating", + "preview": "Προεπισκόπηση", + "previewAttachedImagePopup-title": "Προεπισκόπηση", + "previewClipboardImagePopup-title": "Προεπισκόπηση", + "private": "Private", + "private-desc": "This board is private. Only people added to the board can view and edit it.", + "profile": "Προφίλ", + "public": "Public", + "public-desc": "This board is public. It's visible to anyone with the link and will show up in search engines like Google. Only people added to the board can edit.", + "quick-access-description": "Star a board to add a shortcut in this bar.", + "remove-cover": "Remove Cover", + "remove-from-board": "Αφαίρεση από Πίνακα", + "remove-label": "Αφαίρεση Ετικέτας", + "listDeletePopup-title": "Διαγραφή Λίστας;", + "remove-member": "Αφαίρεση Μέλους", + "remove-member-from-card": "Αφαίρεση από την Κάρτα", + "remove-member-pop": "Remove __name__ (__username__) from __boardTitle__? The member will be removed from all cards on this board. They will receive a notification.", + "removeMemberPopup-title": "Αφαίρεση Μέλους;", + "rename": "Μετανομασία", + "rename-board": "Μετονομασία Πίνακα", + "restore": "Restore", + "save": "Αποθήκευση", + "search": "Αναζήτηση", + "rules": "Rules", + "search-cards": "Search from card/list titles, descriptions and custom fields on this board", + "search-example": "Text to search for?", + "select-color": "Επιλέξτε Χρώμα", + "set-wip-limit-value": "Set a limit for the maximum number of tasks in this list", + "setWipLimitPopup-title": "Set WIP Limit", + "shortcut-assign-self": "Assign yourself to current card", + "shortcut-autocomplete-emoji": "Autocomplete emoji", + "shortcut-autocomplete-members": "Autocomplete members", + "shortcut-clear-filters": "Καθαρισμός φίλτρων", + "shortcut-close-dialog": "Close Dialog", + "shortcut-filter-my-cards": "Φιλτράρισμα των καρτών μου", + "shortcut-show-shortcuts": "Bring up this shortcuts list", + "shortcut-toggle-filterbar": "Toggle Filter Sidebar", + "shortcut-toggle-sidebar": "Toggle Board Sidebar", + "show-cards-minimum-count": "Show cards count if list contains more than", + "sidebar-open": "Open Sidebar", + "sidebar-close": "Close Sidebar", + "signupPopup-title": "Δημιουργία Λογαριασμού", + "star-board-title": "Click to star this board. It will show up at top of your boards list.", + "starred-boards": "Starred Boards", + "starred-boards-description": "Starred boards show up at the top of your boards list.", + "subscribe": "Εγγραφή", + "team": "Ομάδα", + "this-board": "this board", + "this-card": "αυτή η κάρτα", + "spent-time-hours": "Spent time (hours)", + "overtime-hours": "Overtime (hours)", + "overtime": "Overtime", + "has-overtime-cards": "Has overtime cards", + "has-spenttime-cards": "Has spent time cards", + "time": "Ώρα", + "title": "Τίτλος", + "tracking": "Tracking", + "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Τύπος", + "unassign-member": "Unassign member", + "unsaved-description": "You have an unsaved description.", + "unwatch": "Unwatch", + "upload": "Upload", + "upload-avatar": "Upload an avatar", + "uploaded-avatar": "Uploaded an avatar", + "username": "Όνομα Χρήστη", + "view-it": "View it", + "warn-list-archived": "warning: this card is in an list at Archive", + "watch": "Watch", + "watching": "Watching", + "watching-info": "You will be notified of any change in this board", + "welcome-board": "Πίνακας Καλωσορίσματος", + "welcome-swimlane": "Milestone 1", + "welcome-list1": "Basics", + "welcome-list2": "Advanced", + "card-templates-swimlane": "Πρότυπα Καρτών", + "list-templates-swimlane": "Πρότυπα Λίστας", + "board-templates-swimlane": "Πρότυπα Πινάκων", + "what-to-do": "What do you want to do?", + "wipLimitErrorPopup-title": "Invalid WIP Limit", + "wipLimitErrorPopup-dialog-pt1": "The number of tasks in this list is higher than the WIP limit you've defined.", + "wipLimitErrorPopup-dialog-pt2": "Please move some tasks out of this list, or set a higher WIP limit.", + "admin-panel": "Admin Panel", + "settings": "Ρυθμίσεις", + "people": "Άνθρωποι", + "registration": "Registration", + "disable-self-registration": "Disable Self-Registration", + "invite": "Πρόσκληση", + "invite-people": "Invite People", + "to-boards": "To board(s)", + "email-addresses": "Email Διευθύνσεις", + "smtp-host-description": "The address of the SMTP server that handles your emails.", + "smtp-port-description": "The port your SMTP server uses for outgoing emails.", + "smtp-tls-description": "Enable TLS support for SMTP server", + "smtp-host": "SMTP Host", + "smtp-port": "SMTP Port", + "smtp-username": "Όνομα Χρήστη", + "smtp-password": "Κωδικός", + "smtp-tls": "TLS υποστήριξη", + "send-from": "Από", + "send-smtp-test": "Send a test email to yourself", + "invitation-code": "Κωδικός Πρόσκλησης", + "email-invite-register-subject": "__inviter__ sent you an invitation", + "email-invite-register-text": "Dear __user__,\n\n__inviter__ invites you to kanban board for collaborations.\n\nPlease follow the link below:\n__url__\n\nAnd your invitation code is: __icode__\n\nThanks.", + "email-smtp-test-subject": "SMTP Test Email", + "email-smtp-test-text": "You have successfully sent an email", + "error-invitation-code-not-exist": "Ο κωδικός πρόσκλησης δεν υπάρχει", + "error-notAuthorized": "You are not authorized to view this page.", + "webhook-title": "Webhook Name", + "webhook-token": "Token (Optional for Authentication)", + "outgoing-webhooks": "Outgoing Webhooks", + "bidirectional-webhooks": "Two-Way Webhooks", + "outgoingWebhooksPopup-title": "Outgoing Webhooks", + "boardCardTitlePopup-title": "Card Title Filter", + "disable-webhook": "Disable This Webhook", + "global-webhook": "Global Webhooks", + "new-outgoing-webhook": "New Outgoing Webhook", + "no-name": "(Άγνωστο)", + "Node_version": "Έκδοση Node", + "Meteor_version": "Έκδοση Meteor", + "MongoDB_version": "Έκδοση MongoDB", + "MongoDB_storage_engine": "MongoDB storage engine", + "MongoDB_Oplog_enabled": "MongoDB Oplog enabled", + "OS_Arch": "OS Arch", + "OS_Cpus": "OS CPU Count", + "OS_Freemem": "OS Free Memory", + "OS_Loadavg": "OS Load Average", + "OS_Platform": "OS Platform", + "OS_Release": "OS Release", + "OS_Totalmem": "OS Total Memory", + "OS_Type": "OS Type", + "OS_Uptime": "OS Uptime", + "days": "days", + "hours": "ώρες", + "minutes": "λεπτά", + "seconds": "δευτερόλεπτα", + "show-field-on-card": "Show this field on card", + "automatically-field-on-card": "Auto create field to all cards", + "showLabel-field-on-card": "Show field label on minicard", + "yes": "Ναι", + "no": "Όχι", + "accounts": "Λογαριασμοί", + "accounts-allowEmailChange": "Allow Email Change", + "accounts-allowUserNameChange": "Allow Username Change", + "createdAt": "Created at", + "verified": "Verified", + "active": "Ενεργό", + "card-received": "Received", + "card-received-on": "Received on", + "card-end": "Τέλος", + "card-end-on": "Ends on", + "editCardReceivedDatePopup-title": "Change received date", + "editCardEndDatePopup-title": "Change end date", + "setCardColorPopup-title": "Set color", + "setCardActionsColorPopup-title": "Choose a color", + "setSwimlaneColorPopup-title": "Choose a color", + "setListColorPopup-title": "Choose a color", + "assigned-by": "Assigned By", + "requested-by": "Requested By", + "board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.", + "delete-board-confirm-popup": "All lists, cards, labels, and activities will be deleted and you won't be able to recover the board contents. There is no undo.", + "boardDeletePopup-title": "Διαγραφή Πίνακα;", + "delete-board": "Διαγραφή Πίνακα", + "default-subtasks-board": "Subtasks for __board__ board", + "default": "Default", + "queue": "Queue", + "subtask-settings": "Subtasks Settings", + "card-settings": "Card Settings", + "boardSubtaskSettingsPopup-title": "Board Subtasks Settings", + "boardCardSettingsPopup-title": "Card Settings", + "deposit-subtasks-board": "Deposit subtasks to this board:", + "deposit-subtasks-list": "Landing list for subtasks deposited here:", + "show-parent-in-minicard": "Show parent in minicard:", + "prefix-with-full-path": "Prefix with full path", + "prefix-with-parent": "Prefix with parent", + "subtext-with-full-path": "Subtext with full path", + "subtext-with-parent": "Subtext with parent", + "change-card-parent": "Change card's parent", + "parent-card": "Parent card", + "source-board": "Source board", + "no-parent": "Don't show parent", + "activity-added-label": "added label '%s' to %s", + "activity-removed-label": "removed label '%s' from %s", + "activity-delete-attach": "deleted an attachment from %s", + "activity-added-label-card": "added label '%s'", + "activity-removed-label-card": "removed label '%s'", + "activity-delete-attach-card": "deleted an attachment", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "Κανόνας", + "r-add-trigger": "Add trigger", + "r-add-action": "Add action", + "r-board-rules": "Board rules", + "r-add-rule": "Προσθήκη κανόνα", + "r-view-rule": "Προβολή κανόνα", + "r-delete-rule": "Διαγραφή κανόνα", + "r-new-rule-name": "New rule title", + "r-no-rules": "No rules", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "Όταν μία κάρτα", + "r-is": "is", + "r-is-moved": "is moved", + "r-added-to": "Added to", + "r-removed-from": "Removed from", + "r-the-board": "the board", + "r-list": "list", + "set-filter": "Set Filter", + "r-moved-to": "Moved to", + "r-moved-from": "Moved from", + "r-archived": "Μετακινήθηκε στο Αρχείο", + "r-unarchived": "Επαναφέρθηκε από το Αρχείο", + "r-a-card": "μία κάρτα", + "r-when-a-label-is": "When a label is", + "r-when-the-label": "When the label", + "r-list-name": "list name", + "r-when-a-member": "When a member is", + "r-when-the-member": "When the member", + "r-name": "name", + "r-when-a-attach": "When an attachment", + "r-when-a-checklist": "When a checklist is", + "r-when-the-checklist": "When the checklist", + "r-completed": "Completed", + "r-made-incomplete": "Made incomplete", + "r-when-a-item": "When a checklist item is", + "r-when-the-item": "When the checklist item", + "r-checked": "Checked", + "r-unchecked": "Unchecked", + "r-move-card-to": "Move card to", + "r-top-of": "Top of", + "r-bottom-of": "Bottom of", + "r-its-list": "its list", + "r-archive": "Μετακίνηση στο Αρχείο", + "r-unarchive": "Επαναφορά από το Αρχείο", + "r-card": "card", + "r-add": "Προσθήκη", + "r-remove": "Remove", + "r-label": "label", + "r-member": "member", + "r-remove-all": "Remove all members from the card", + "r-set-color": "Set color to", + "r-checklist": "checklist", + "r-check-all": "Check all", + "r-uncheck-all": "Uncheck all", + "r-items-check": "items of checklist", + "r-check": "Check", + "r-uncheck": "Uncheck", + "r-item": "item", + "r-of-checklist": "of checklist", + "r-send-email": "Send an email", + "r-to": "to", + "r-of": "of", + "r-subject": "subject", + "r-rule-details": "Rule details", + "r-d-move-to-top-gen": "Μετακίνηση κάρτας στην αρχή της λίστας της", + "r-d-move-to-top-spec": "Μετακίνηση κάρτας στην αρχή της λίστας", + "r-d-move-to-bottom-gen": "Μετακίνηση κάρτας στο τέλος της λίστας της", + "r-d-move-to-bottom-spec": "Μετακίνηση κάρτας στο τέλος της λίστας", + "r-d-send-email": "Send email", + "r-d-send-email-to": "to", + "r-d-send-email-subject": "subject", + "r-d-send-email-message": "message", + "r-d-archive": "Μετακίνηση κάρτας στο Αρχείο", + "r-d-unarchive": "Επαναφορά κάρτας από το Αρχείο", + "r-d-add-label": "Προσθήκη ετικέτας", + "r-d-remove-label": "Αφαίρεση ετικέτας", + "r-create-card": "Δημιουργία νέας κάρτας", + "r-in-list": "in list", + "r-in-swimlane": "in swimlane", + "r-d-add-member": "Add member", + "r-d-remove-member": "Remove member", + "r-d-remove-all-member": "Remove all member", + "r-d-check-all": "Check all items of a list", + "r-d-uncheck-all": "Uncheck all items of a list", + "r-d-check-one": "Check item", + "r-d-uncheck-one": "Uncheck item", + "r-d-check-of-list": "of checklist", + "r-d-add-checklist": "Add checklist", + "r-d-remove-checklist": "Remove checklist", + "r-by": "by", + "r-add-checklist": "Add checklist", + "r-with-items": "with items", + "r-items-list": "item1,item2,item3", + "r-add-swimlane": "Add swimlane", + "r-swimlane-name": "swimlane name", + "r-board-note": "Note: leave a field empty to match every possible value.", + "r-checklist-note": "Note: checklist's items have to be written as comma separated values.", + "r-when-a-card-is-moved": "When a card is moved to another list", + "r-set": "Set", + "r-update": "Update", + "r-datefield": "date field", + "r-df-start-at": "start", + "r-df-due-at": "due", + "r-df-end-at": "end", + "r-df-received-at": "received", + "r-to-current-datetime": "to current date/time", + "r-remove-value-from": "Remove value from", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Authentication method", + "authentication-type": "Authentication type", + "custom-product-name": "Custom Product Name", + "layout": "Layout", + "hide-logo": "Hide Logo", + "add-custom-html-after-body-start": "Add Custom HTML after start", + "add-custom-html-before-body-end": "Add Custom HTML before end", + "error-undefined": "Something went wrong", + "error-ldap-login": "An error occurred while trying to login", + "display-authentication-method": "Display Authentication Method", + "default-authentication-method": "Default Authentication Method", + "duplicate-board": "Duplicate Board", + "people-number": "The number of people is:", + "swimlaneDeletePopup-title": "Delete Swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Restore all", + "delete-all": "Delete all", + "loading": "Loading, please wait.", + "previous_as": "last time was", + "act-a-dueAt": "modified due time to \nWhen: __timeValue__\nWhere: __card__\n previous due was __timeOldValue__", + "act-a-endAt": "modified ending time to __timeValue__ from (__timeOldValue__)", + "act-a-startAt": "modified starting time to __timeValue__ from (__timeOldValue__)", + "act-a-receivedAt": "modified received time to __timeValue__ from (__timeOldValue__)", + "a-dueAt": "modified due time to be", + "a-endAt": "modified ending time to be", + "a-startAt": "modified starting time to be", + "a-receivedAt": "modified received time to be", + "almostdue": "current due time %s is approaching", + "pastdue": "current due time %s is past", + "duenow": "current due time %s is today", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", + "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", + "act-duenow": "was reminding the current due (__timeValue__) of __card__ is now", + "act-atUserComment": "You were mentioned in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Are you sure you want to delete this account? There is no undo.", + "accounts-allowUserDelete": "Allow users to self delete their account", + "hide-minicard-label-text": "Hide minicard label text", + "show-desktop-drag-handles": "Show desktop drag handles", + "assignee": "Assignee", + "cardAssigneesPopup-title": "Assignee", + "addmore-detail": "Add a more detailed description", + "show-on-card": "Show on Card", + "new": "New", + "editUserPopup-title": "Edit User", + "newUserPopup-title": "New User", + "notifications": "Notifications", + "view-all": "View All", + "filter-by-unread": "Filter by Unread", + "mark-all-as-read": "Mark all as read", + "remove-all-read": "Remove all read", + "allow-rename": "Allow Rename", + "allowRenamePopup-title": "Allow Rename", + "start-day-of-week": "Set day of the week start", + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archived", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/en-GB.i18n.json b/i18n/en-GB.i18n.json new file mode 100644 index 0000000..bcaac9e --- /dev/null +++ b/i18n/en-GB.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Accept", + "act-activity-notify": "Activity Notification", + "act-addAttachment": "added attachment __attachment__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteAttachment": "deleted attachment __attachment__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addSubtask": "added subtask __subtask__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addedLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removedLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklist": "added checklist __checklist__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklistItem": "added checklist item __checklistItem__ to checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklist": "removed checklist __checklist__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklistItem": "removed checklist item __checklistItem__ from checklist __checkList__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-checkedItem": "checked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncheckedItem": "unchecked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-completeChecklist": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncompleteChecklist": "uncompleted checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addComment": "commented on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-editComment": "edited comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteComment": "deleted comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createBoard": "created board __board__", + "act-createSwimlane": "created swimlane __swimlane__ to board __board__", + "act-createCard": "created card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-createCustomField": "created custom field __customField__ at board __board__", + "act-deleteCustomField": "deleted custom field __customField__ at board __board__", + "act-setCustomField": "edited custom field __customField__: __customFieldValue__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createList": "added list __list__ to board __board__", + "act-addBoardMember": "added member __member__ to board __board__", + "act-archivedBoard": "Board __board__ moved to Archive", + "act-archivedCard": "Card __card__ at list __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedList": "List __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedSwimlane": "Swimlane __swimlane__ at board __board__ moved to Archive", + "act-importBoard": "imported board __board__", + "act-importCard": "imported card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-importList": "imported list __list__ to swimlane __swimlane__ at board __board__", + "act-joinMember": "added member __member__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-moveCard": "moved card __card__ at board __board__ from list __oldList__ at swimlane __oldSwimlane__ to list __list__ at swimlane __swimlane__", + "act-moveCardToOtherBoard": "moved card __card__ from list __oldList__ at swimlane __oldSwimlane__ at board __oldBoard__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-removeBoardMember": "removed member __member__ from board __board__", + "act-restoredCard": "restored card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-unjoinMember": "removed member __member__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Actions", + "activities": "Activities", + "activity": "Activity", + "activity-added": "added %s to %s", + "activity-archived": "%s moved to Archive", + "activity-attached": "attached %s to %s", + "activity-created": "created %s", + "activity-customfield-created": "created custom field %s", + "activity-excluded": "excluded %s from %s", + "activity-imported": "imported %s into %s from %s", + "activity-imported-board": "imported %s from %s", + "activity-joined": "joined %s", + "activity-moved": "moved %s from %s to %s", + "activity-on": "on %s", + "activity-removed": "removed %s from %s", + "activity-sent": "sent %s to %s", + "activity-unjoined": "unjoined %s", + "activity-subtask-added": "added subtask to %s", + "activity-checked-item": "checked %s in checklist %s of %s", + "activity-unchecked-item": "unchecked %s in checklist %s of %s", + "activity-checklist-added": "added checklist to %s", + "activity-checklist-removed": "removed a checklist from %s", + "activity-checklist-completed": "completed checklist %s of %s", + "activity-checklist-uncompleted": "uncompleted the checklist %s of %s", + "activity-checklist-item-added": "added checklist item to '%s' in %s", + "activity-checklist-item-removed": "removed a checklist item from '%s' in %s", + "add": "Add", + "activity-checked-item-card": "checked %s in checklist %s", + "activity-unchecked-item-card": "unchecked %s in checklist %s", + "activity-checklist-completed-card": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "activity-checklist-uncompleted-card": "uncompleted the checklist %s", + "activity-editComment": "edited comment %s", + "activity-deleteComment": "deleted comment %s", + "add-attachment": "Add Attachment", + "add-board": "Add Board", + "add-card": "Add Card", + "add-swimlane": "Add Swimlane", + "add-subtask": "Add Subtask", + "add-checklist": "Add Checklist", + "add-checklist-item": "Add an item to checklist", + "add-cover": "Add Cover", + "add-label": "Add Label", + "add-list": "Add List", + "add-members": "Add Members", + "added": "Added", + "addMemberPopup-title": "Members", + "admin": "Admin", + "admin-desc": "Can view and edit cards, remove members, and change settings for the board.", + "admin-announcement": "Announcement", + "admin-announcement-active": "Active System-Wide Announcement", + "admin-announcement-title": "Announcement from Administrator", + "all-boards": "All boards", + "and-n-other-card": "And __count__ other card", + "and-n-other-card_plural": "And __count__ other cards", + "apply": "Apply", + "app-is-offline": "Loading, please wait. Refreshing the page will cause data loss. If loading does not work, please check that server has not stopped.", + "archive": "Move to Archive", + "archive-all": "Move All to Archive", + "archive-board": "Move Board to Archive", + "archive-card": "Move Card to Archive", + "archive-list": "Move List to Archive", + "archive-swimlane": "Move Swimlane to Archive", + "archive-selection": "Move selection to Archive", + "archiveBoardPopup-title": "Move Board to Archive?", + "archived-items": "Archive", + "archived-boards": "Boards in Archive", + "restore-board": "Restore Board", + "no-archived-boards": "No Boards in Archive.", + "archives": "Archive", + "template": "Template", + "templates": "Templates", + "assign-member": "Assign member", + "attached": "attached", + "attachment": "Attachment", + "attachment-delete-pop": "Deleting an attachment is permanent. There is no undo.", + "attachmentDeletePopup-title": "Delete Attachment?", + "attachments": "Attachments", + "auto-watch": "Automatically watch boards when they are created", + "avatar-too-big": "The avatar is too large (70KB max)", + "back": "Back", + "board-change-color": "Change colour", + "board-nb-stars": "%s stars", + "board-not-found": "Board not found", + "board-private-info": "This board will be private.", + "board-public-info": "This board will be public.", + "boardChangeColorPopup-title": "Change Board Background", + "boardChangeTitlePopup-title": "Rename Board", + "boardChangeVisibilityPopup-title": "Change Visibility", + "boardChangeWatchPopup-title": "Change Watch", + "boardMenuPopup-title": "Board Settings", + "boardChangeViewPopup-title": "Board View", + "boards": "Boards", + "board-view": "Board View", + "board-view-cal": "Calendar", + "board-view-swimlanes": "Swimlanes", + "board-view-collapse": "Collapse", + "board-view-lists": "Lists", + "bucket-example": "Like “Bucket List” for example", + "cancel": "Cancel", + "card-archived": "This card is moved to Archive.", + "board-archived": "This board is moved to Archive.", + "card-comments-title": "This card has %s comment.", + "card-delete-notice": "Deleting is permanent. You will lose all actions associated with this card.", + "card-delete-pop": "All actions will be removed from the activity feed and you won't be able to re-open the card. There is no undo.", + "card-delete-suggest-archive": "You can move a card to Archive to remove it from the board and preserve the activity.", + "card-due": "Due", + "card-due-on": "Due on", + "card-spent": "Spent Time", + "card-edit-attachments": "Edit attachments", + "card-edit-custom-fields": "Edit custom fields", + "card-edit-labels": "Edit labels", + "card-edit-members": "Edit members", + "card-labels-title": "Change the labels for the card.", + "card-members-title": "Add or remove members of the board from the card.", + "card-start": "Start", + "card-start-on": "Starts on", + "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", + "cardStartVotingPopup-title": "Start a vote", + "positiveVoteMembersPopup-title": "Proponents", + "negativeVoteMembersPopup-title": "Opponents", + "card-edit-voting": "Edit voting", + "editVoteEndDatePopup-title": "Change vote end date", + "allowNonBoardMembers": "Allow all logged in users", + "vote-question": "Voting question", + "vote-public": "Show who voted what", + "vote-for-it": "for it", + "vote-against": "against", + "deleteVotePopup-title": "Delete vote?", + "vote-delete-pop": "Deleting is permanent. You will lose all actions associated with this vote.", + "cardDeletePopup-title": "Delete Card?", + "cardDetailsActionsPopup-title": "Card Actions", + "cardLabelsPopup-title": "Labels", + "cardMembersPopup-title": "Members", + "cardMorePopup-title": "More", + "cardTemplatePopup-title": "Create template", + "cards": "Cards", + "cards-count": "Cards", + "casSignIn": "Sign In with CAS", + "cardType-card": "Card", + "cardType-linkedCard": "Linked Card", + "cardType-linkedBoard": "Linked Board", + "change": "Change", + "change-avatar": "Change Avatar", + "change-password": "Change Password", + "change-permissions": "Change permissions", + "change-settings": "Change Settings", + "changeAvatarPopup-title": "Change Avatar", + "changeLanguagePopup-title": "Change Language", + "changePasswordPopup-title": "Change Password", + "changePermissionsPopup-title": "Change Permissions", + "changeSettingsPopup-title": "Change Settings", + "subtasks": "Subtasks", + "checklists": "Checklists", + "click-to-star": "Click to star this board.", + "click-to-unstar": "Click to unstar this board.", + "clipboard": "Clipboard or drag & drop", + "close": "Close", + "close-board": "Close Board", + "close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.", + "color-black": "black", + "color-blue": "blue", + "color-crimson": "crimson", + "color-darkgreen": "darkgreen", + "color-gold": "gold", + "color-gray": "gray", + "color-green": "green", + "color-indigo": "indigo", + "color-lime": "lime", + "color-magenta": "magenta", + "color-mistyrose": "mistyrose", + "color-navy": "navy", + "color-orange": "orange", + "color-paleturquoise": "paleturquoise", + "color-peachpuff": "peachpuff", + "color-pink": "pink", + "color-plum": "plum", + "color-purple": "purple", + "color-red": "red", + "color-saddlebrown": "saddlebrown", + "color-silver": "silver", + "color-sky": "sky", + "color-slateblue": "slateblue", + "color-white": "white", + "color-yellow": "yellow", + "unset-color": "Unset", + "comment": "Comment", + "comment-placeholder": "Write Comment", + "comment-only": "Comment only", + "comment-only-desc": "Can comment on cards only.", + "no-comments": "No comments", + "no-comments-desc": "Can not see comments and activities.", + "worker": "Worker", + "worker-desc": "Can only move cards, assign itself to card and comment.", + "computer": "Computer", + "confirm-subtask-delete-dialog": "Are you sure you want to delete subtask?", + "confirm-checklist-delete-dialog": "Are you sure you want to delete checklist?", + "copy-card-link-to-clipboard": "Copy card link to clipboard", + "linkCardPopup-title": "Link Card", + "searchElementPopup-title": "Search", + "copyCardPopup-title": "Copy Card", + "copyChecklistToManyCardsPopup-title": "Copy Checklist Template to Many Cards", + "copyChecklistToManyCardsPopup-instructions": "Destination Card Titles and Descriptions in this JSON format", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"First card title\", \"description\":\"First card description\"}, {\"title\":\"Second card title\",\"description\":\"Second card description\"},{\"title\":\"Last card title\",\"description\":\"Last card description\"} ]", + "create": "Create", + "createBoardPopup-title": "Create Board", + "chooseBoardSourcePopup-title": "Import board", + "createLabelPopup-title": "Create Label", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", + "current": "current", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-currency": "Currency", + "custom-field-currency-option": "Currency Code", + "custom-field-date": "Date", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", + "date": "Date", + "decline": "Decline", + "default-avatar": "Default avatar", + "delete": "Delete", + "deleteCustomFieldPopup-title": "Delete Custom Field?", + "deleteLabelPopup-title": "Delete Label?", + "description": "Description", + "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", + "disambiguateMultiMemberPopup-title": "Disambiguate Member Action", + "discard": "Discard", + "done": "Done", + "download": "Download", + "edit": "Edit", + "edit-avatar": "Change Avatar", + "edit-profile": "Edit Profile", + "edit-wip-limit": "Edit WIP Limit", + "soft-wip-limit": "Soft WIP Limit", + "editCardStartDatePopup-title": "Change start date", + "editCardDueDatePopup-title": "Change due date", + "editCustomFieldPopup-title": "Edit Field", + "editCardSpentTimePopup-title": "Change spent time", + "editLabelPopup-title": "Change Label", + "editNotificationPopup-title": "Edit Notification", + "editProfilePopup-title": "Edit Profile", + "email": "Email", + "email-enrollAccount-subject": "An account created for you on __siteName__", + "email-enrollAccount-text": "Hello __user__,\n\nTo start using the service, simply click the link below.\n\n__url__\n\nThanks.", + "email-fail": "Sending email failed", + "email-fail-text": "Error trying to send email", + "email-invalid": "Invalid email", + "email-invite": "Invite via email", + "email-invite-subject": "__inviter__ sent you an invitation", + "email-invite-text": "Dear __user__,\n\n__inviter__ invites you to join board \"__board__\" for collaboration.\n\nPlease follow the link below:\n\n__url__\n\nThanks.", + "email-resetPassword-subject": "Reset your password on __siteName__", + "email-resetPassword-text": "Hello __user__,\n\nTo reset your password, simply click the link below.\n\n__url__\n\nThanks.", + "email-sent": "Email sent", + "email-verifyEmail-subject": "Verify your email address on __siteName__", + "email-verifyEmail-text": "Hello __user__,\n\nTo verify your account email, simply click the link below.\n\n__url__\n\nThanks.", + "enable-wip-limit": "Enable WIP Limit", + "error-board-doesNotExist": "This board does not exist", + "error-board-notAdmin": "You need to be admin of this board to do that", + "error-board-notAMember": "You need to be a member of this board to do that", + "error-json-malformed": "Your text is not valid JSON", + "error-json-schema": "Your JSON data does not include the proper information in the correct format", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "This list does not exist", + "error-user-doesNotExist": "This user does not exist", + "error-user-notAllowSelf": "You can not invite yourself", + "error-user-notCreated": "This user is not created", + "error-username-taken": "This username is already taken", + "error-email-taken": "Email has already been taken", + "export-board": "Export board", + "export-board-json": "Export board to JSON", + "export-board-csv": "Export board to CSV", + "export-board-tsv": "Export board to TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "Export board", + "sort": "Sort", + "sort-desc": "Click to Sort List", + "list-sort-by": "Sort the List By:", + "list-label-modifiedAt": "Last Access Time", + "list-label-title": "Name of the List", + "list-label-sort": "Your Manual Order", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Filter", + "filter-cards": "Filter Cards or Lists", + "list-filter-label": "Filter List by Title", + "filter-clear": "Clear filter", + "filter-no-label": "No label", + "filter-no-member": "No member", + "filter-no-assignee": "No assignee", + "filter-no-custom-fields": "No Custom Fields", + "filter-show-archive": "Show archived lists", + "filter-hide-empty": "Hide empty lists", + "filter-on": "Filter is on", + "filter-on-desc": "You are filtering cards on this board. Click here to edit filter.", + "filter-to-selection": "Filter to selection", + "advanced-filter-label": "Advanced Filter", + "advanced-filter-description": "Advanced Filter allows to write a string containing following operators: == != <= >= && || ( ) A space is used as a separator between the Operators. You can filter for all Custom Fields by typing their names and values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need to encapsulate them into single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) to be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally all operators are interpreted from left to right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i", + "fullname": "Full Name", + "header-logo-title": "Go back to your boards page.", + "hide-system-messages": "Hide system messages", + "headerBarCreateBoardPopup-title": "Create Board", + "home": "Home", + "import": "Import", + "link": "Link", + "import-board": "import board", + "import-board-c": "Import board", + "import-board-title-trello": "Import board from Trello", + "import-board-title-wekan": "Import board from previous export", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "From Trello", + "from-wekan": "From previous export", + "from-csv": "From CSV/TSV", + "import-board-instruction-trello": "In your Trello board, go to 'Menu', then 'More', 'Print and Export', 'Export JSON', and copy the resulting text.", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "In your board, go to 'Menu', then 'Export board', and copy the text in the downloaded file.", + "import-board-instruction-about-errors": "If you get errors when importing board, sometimes importing still works, and board is at All Boards page.", + "import-json-placeholder": "Paste your valid JSON data here", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "Map members", + "import-members-map": "Your imported board has some members. Please map the members you want to import to your users", + "import-show-user-mapping": "Review members mapping", + "import-user-select": "Pick your existing user you want to use as this member", + "importMapMembersAddPopup-title": "Select member", + "info": "Version", + "initials": "Initials", + "invalid-date": "Invalid date", + "invalid-time": "Invalid time", + "invalid-user": "Invalid user", + "joined": "joined", + "just-invited": "You are just invited to this board", + "keyboard-shortcuts": "Keyboard shortcuts", + "label-create": "Create Label", + "label-default": "%s label (default)", + "label-delete-pop": "There is no undo. This will remove this label from all cards and destroy its history.", + "labels": "Labels", + "language": "Language", + "last-admin-desc": "You can’t change roles because there must be at least one admin.", + "leave-board": "Leave Board", + "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.", + "leaveBoardPopup-title": "Leave Board ?", + "link-card": "Link to this card", + "list-archive-cards": "Move all cards in this list to Archive", + "list-archive-cards-pop": "This will remove all the cards in this list from the board. To view cards in Archive and bring them back to the board, click “Menu” > “Archive”.", + "list-move-cards": "Move all cards in this list", + "list-select-cards": "Select all cards in this list", + "set-color-list": "Set Color", + "listActionPopup-title": "List Actions", + "swimlaneActionPopup-title": "Swimlane Actions", + "swimlaneAddPopup-title": "Add a Swimlane below", + "listImportCardPopup-title": "Import a Trello card", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "More", + "link-list": "Link to this list", + "list-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the list. There is no undo.", + "list-delete-suggest-archive": "You can move a list to Archive to remove it from the board and preserve its activity.", + "lists": "Lists", + "swimlanes": "Swimlanes", + "log-out": "Log Out", + "log-in": "Log In", + "loginPopup-title": "Log In", + "memberMenuPopup-title": "Member Settings", + "members": "Members", + "menu": "Menu", + "move-selection": "Move selection", + "moveCardPopup-title": "Move Card", + "moveCardToBottom-title": "Move to Bottom", + "moveCardToTop-title": "Move to Top", + "moveSelectionPopup-title": "Move selection", + "multi-selection": "Multi-Selection", + "multi-selection-on": "Multi-Selection is on", + "muted": "Muted", + "muted-info": "You will never be notified of any changes in this board", + "my-boards": "My Boards", + "name": "Name", + "no-archived-cards": "No cards in Archive.", + "no-archived-lists": "No lists in Archive.", + "no-archived-swimlanes": "No swimlanes in Archive.", + "no-results": "No results", + "normal": "Normal", + "normal-desc": "Can view and edit cards. Can't change settings.", + "not-accepted-yet": "Invitation not accepted yet", + "notify-participate": "Receive updates to any cards you participate as creater or member", + "notify-watch": "Receive updates to any boards, lists, or cards you’re watching", + "optional": "optional", + "or": "or", + "page-maybe-private": "This page may be private. You may be able to view it by logging in.", + "page-not-found": "Page not found.", + "password": "Password", + "paste-or-dragdrop": "to paste, or drag & drop image file to it (image only)", + "participating": "Participating", + "preview": "Preview", + "previewAttachedImagePopup-title": "Preview", + "previewClipboardImagePopup-title": "Preview", + "private": "Private", + "private-desc": "This board is private. Only people added to the board can view and edit it.", + "profile": "Profile", + "public": "Public", + "public-desc": "This board is public. It's visible to anyone with the link and will show up in search engines like Google. Only people added to the board can edit.", + "quick-access-description": "Star a board to add a shortcut in this bar.", + "remove-cover": "Remove Cover", + "remove-from-board": "Remove from Board", + "remove-label": "Remove Label", + "listDeletePopup-title": "Delete List ?", + "remove-member": "Remove Member", + "remove-member-from-card": "Remove from Card", + "remove-member-pop": "Remove __name__ (__username__) from __boardTitle__? The member will be removed from all cards on this board. They will receive a notification.", + "removeMemberPopup-title": "Remove Member?", + "rename": "Rename", + "rename-board": "Rename Board", + "restore": "Restore", + "save": "Save", + "search": "Search", + "rules": "Rules", + "search-cards": "Search from card/list titles, descriptions and custom fields on this board", + "search-example": "Text to search for?", + "select-color": "Select Colour", + "set-wip-limit-value": "Set a limit for the maximum number of tasks in this list", + "setWipLimitPopup-title": "Set WIP Limit", + "shortcut-assign-self": "Assign yourself to current card", + "shortcut-autocomplete-emoji": "Autocomplete emoji", + "shortcut-autocomplete-members": "Autocomplete members", + "shortcut-clear-filters": "Clear all filters", + "shortcut-close-dialog": "Close Dialog", + "shortcut-filter-my-cards": "Filter my cards", + "shortcut-show-shortcuts": "Bring up this shortcuts list", + "shortcut-toggle-filterbar": "Toggle Filter Sidebar", + "shortcut-toggle-sidebar": "Toggle Board Sidebar", + "show-cards-minimum-count": "Show cards count if list contains more than", + "sidebar-open": "Open Sidebar", + "sidebar-close": "Close Sidebar", + "signupPopup-title": "Create an Account", + "star-board-title": "Click to star this board. It will show up at top of your boards list.", + "starred-boards": "Starred Boards", + "starred-boards-description": "Starred boards show up at the top of your boards list.", + "subscribe": "Subscribe", + "team": "Team", + "this-board": "this board", + "this-card": "this card", + "spent-time-hours": "Spent time (hours)", + "overtime-hours": "Overtime (hours)", + "overtime": "Overtime", + "has-overtime-cards": "Has overtime cards", + "has-spenttime-cards": "Has spent time cards", + "time": "Time", + "title": "Title", + "tracking": "Tracking", + "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", + "unassign-member": "Unassign member", + "unsaved-description": "You have an unsaved description.", + "unwatch": "Unwatch", + "upload": "Upload", + "upload-avatar": "Upload an avatar", + "uploaded-avatar": "Uploaded an avatar", + "username": "Username", + "view-it": "View it", + "warn-list-archived": "warning: this card is in a list in the Archive", + "watch": "Watch", + "watching": "Watching", + "watching-info": "You will be notified of any changes in this board", + "welcome-board": "Welcome Board", + "welcome-swimlane": "Milestone 1", + "welcome-list1": "Basics", + "welcome-list2": "Advanced", + "card-templates-swimlane": "Card Templates", + "list-templates-swimlane": "List Templates", + "board-templates-swimlane": "Board Templates", + "what-to-do": "What do you want to do?", + "wipLimitErrorPopup-title": "Invalid WIP Limit", + "wipLimitErrorPopup-dialog-pt1": "The number of tasks in this list is higher than the WIP limit you've defined.", + "wipLimitErrorPopup-dialog-pt2": "Please move some tasks out of this list, or set a higher WIP limit.", + "admin-panel": "Admin Panel", + "settings": "Settings", + "people": "People", + "registration": "Registration", + "disable-self-registration": "Disable Self-Registration", + "invite": "Invite", + "invite-people": "Invite People", + "to-boards": "To board(s)", + "email-addresses": "Email Addresses", + "smtp-host-description": "The address of the SMTP server that handles your emails.", + "smtp-port-description": "The port your SMTP server uses for outgoing emails.", + "smtp-tls-description": "Enable TLS support for SMTP server", + "smtp-host": "SMTP Host", + "smtp-port": "SMTP Port", + "smtp-username": "Username", + "smtp-password": "Password", + "smtp-tls": "TLS support", + "send-from": "From", + "send-smtp-test": "Send a test email to yourself", + "invitation-code": "Invitation Code", + "email-invite-register-subject": "__inviter__ sent you an invitation", + "email-invite-register-text": "Dear __user__,\n\n__inviter__ invites you to kanban board for collaborations.\n\nPlease follow the link below:\n__url__\n\nAnd your invitation code is: __icode__\n\nThanks.", + "email-smtp-test-subject": "SMTP Test Email", + "email-smtp-test-text": "You have successfully sent an email", + "error-invitation-code-not-exist": "Invitation code doesn't exist", + "error-notAuthorized": "You are not authorised to view this page.", + "webhook-title": "Webhook Name", + "webhook-token": "Token (Optional for Authentication)", + "outgoing-webhooks": "Outgoing Webhooks", + "bidirectional-webhooks": "Two-Way Webhooks", + "outgoingWebhooksPopup-title": "Outgoing Webhooks", + "boardCardTitlePopup-title": "Card Title Filter", + "disable-webhook": "Disable This Webhook", + "global-webhook": "Global Webhooks", + "new-outgoing-webhook": "New Outgoing Webhook", + "no-name": "(Unknown)", + "Node_version": "Node version", + "Meteor_version": "Meteor version", + "MongoDB_version": "MongoDB version", + "MongoDB_storage_engine": "MongoDB storage engine", + "MongoDB_Oplog_enabled": "MongoDB Oplog enabled", + "OS_Arch": "OS Arch", + "OS_Cpus": "OS CPU Count", + "OS_Freemem": "OS Free Memory", + "OS_Loadavg": "OS Load Average", + "OS_Platform": "OS Platform", + "OS_Release": "OS Release", + "OS_Totalmem": "OS Total Memory", + "OS_Type": "OS Type", + "OS_Uptime": "OS Uptime", + "days": "days", + "hours": "hours", + "minutes": "minutes", + "seconds": "seconds", + "show-field-on-card": "Show this field on card", + "automatically-field-on-card": "Auto create field to all cards", + "showLabel-field-on-card": "Show field label on minicard", + "yes": "Yes", + "no": "No", + "accounts": "Accounts", + "accounts-allowEmailChange": "Allow Email Change", + "accounts-allowUserNameChange": "Allow Username Change", + "createdAt": "Created at", + "verified": "Verified", + "active": "Active", + "card-received": "Received", + "card-received-on": "Received on", + "card-end": "End", + "card-end-on": "Ends on", + "editCardReceivedDatePopup-title": "Change received date", + "editCardEndDatePopup-title": "Change end date", + "setCardColorPopup-title": "Set color", + "setCardActionsColorPopup-title": "Choose a color", + "setSwimlaneColorPopup-title": "Choose a color", + "setListColorPopup-title": "Choose a color", + "assigned-by": "Assigned By", + "requested-by": "Requested By", + "board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.", + "delete-board-confirm-popup": "All lists, cards, labels, and activities will be deleted and you won't be able to recover the board contents. There is no undo.", + "boardDeletePopup-title": "Delete Board?", + "delete-board": "Delete Board", + "default-subtasks-board": "Subtasks for __board__ board", + "default": "Default", + "queue": "Queue", + "subtask-settings": "Subtasks Settings", + "card-settings": "Card Settings", + "boardSubtaskSettingsPopup-title": "Board Subtasks Settings", + "boardCardSettingsPopup-title": "Card Settings", + "deposit-subtasks-board": "Deposit subtasks to this board:", + "deposit-subtasks-list": "Landing list for subtasks deposited here:", + "show-parent-in-minicard": "Show parent in minicard:", + "prefix-with-full-path": "Prefix with full path", + "prefix-with-parent": "Prefix with parent", + "subtext-with-full-path": "Subtext with full path", + "subtext-with-parent": "Subtext with parent", + "change-card-parent": "Change card's parent", + "parent-card": "Parent card", + "source-board": "Source board", + "no-parent": "Don't show parent", + "activity-added-label": "added label '%s' to %s", + "activity-removed-label": "removed label '%s' from %s", + "activity-delete-attach": "deleted an attachment from %s", + "activity-added-label-card": "added label '%s'", + "activity-removed-label-card": "removed label '%s'", + "activity-delete-attach-card": "deleted an attachment", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "Rule", + "r-add-trigger": "Add trigger", + "r-add-action": "Add action", + "r-board-rules": "Board rules", + "r-add-rule": "Add rule", + "r-view-rule": "View rule", + "r-delete-rule": "Delete rule", + "r-new-rule-name": "New rule title", + "r-no-rules": "No rules", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "When a card", + "r-is": "is", + "r-is-moved": "is moved", + "r-added-to": "Added to", + "r-removed-from": "Removed from", + "r-the-board": "the board", + "r-list": "list", + "set-filter": "Set Filter", + "r-moved-to": "Moved to", + "r-moved-from": "Moved from", + "r-archived": "Moved to Archive", + "r-unarchived": "Restored from Archive", + "r-a-card": "a card", + "r-when-a-label-is": "When a label is", + "r-when-the-label": "When the label", + "r-list-name": "list name", + "r-when-a-member": "When a member is", + "r-when-the-member": "When the member", + "r-name": "name", + "r-when-a-attach": "When an attachment", + "r-when-a-checklist": "When a checklist is", + "r-when-the-checklist": "When the checklist", + "r-completed": "Completed", + "r-made-incomplete": "Made incomplete", + "r-when-a-item": "When a checklist item is", + "r-when-the-item": "When the checklist item", + "r-checked": "Checked", + "r-unchecked": "Unchecked", + "r-move-card-to": "Move card to", + "r-top-of": "Top of", + "r-bottom-of": "Bottom of", + "r-its-list": "its list", + "r-archive": "Move to Archive", + "r-unarchive": "Restore from Archive", + "r-card": "card", + "r-add": "Add", + "r-remove": "Remove", + "r-label": "label", + "r-member": "member", + "r-remove-all": "Remove all members from the card", + "r-set-color": "Set color to", + "r-checklist": "checklist", + "r-check-all": "Check all", + "r-uncheck-all": "Uncheck all", + "r-items-check": "items of checklist", + "r-check": "Check", + "r-uncheck": "Uncheck", + "r-item": "item", + "r-of-checklist": "of checklist", + "r-send-email": "Send an email", + "r-to": "to", + "r-of": "of", + "r-subject": "subject", + "r-rule-details": "Rule details", + "r-d-move-to-top-gen": "Move card to top of its list", + "r-d-move-to-top-spec": "Move card to top of list", + "r-d-move-to-bottom-gen": "Move card to bottom of its list", + "r-d-move-to-bottom-spec": "Move card to bottom of list", + "r-d-send-email": "Send email", + "r-d-send-email-to": "to", + "r-d-send-email-subject": "subject", + "r-d-send-email-message": "message", + "r-d-archive": "Move card to Archive", + "r-d-unarchive": "Restore card from Archive", + "r-d-add-label": "Add label", + "r-d-remove-label": "Remove label", + "r-create-card": "Create new card", + "r-in-list": "in list", + "r-in-swimlane": "in swimlane", + "r-d-add-member": "Add member", + "r-d-remove-member": "Remove member", + "r-d-remove-all-member": "Remove all member", + "r-d-check-all": "Check all items of a list", + "r-d-uncheck-all": "Uncheck all items of a list", + "r-d-check-one": "Check item", + "r-d-uncheck-one": "Uncheck item", + "r-d-check-of-list": "of checklist", + "r-d-add-checklist": "Add checklist", + "r-d-remove-checklist": "Remove checklist", + "r-by": "by", + "r-add-checklist": "Add checklist", + "r-with-items": "with items", + "r-items-list": "item1,item2,item3", + "r-add-swimlane": "Add swimlane", + "r-swimlane-name": "swimlane name", + "r-board-note": "Note: leave a field empty to match every possible value.", + "r-checklist-note": "Note: checklist's items have to be written as comma separated values.", + "r-when-a-card-is-moved": "When a card is moved to another list", + "r-set": "Set", + "r-update": "Update", + "r-datefield": "date field", + "r-df-start-at": "start", + "r-df-due-at": "due", + "r-df-end-at": "end", + "r-df-received-at": "received", + "r-to-current-datetime": "to current date/time", + "r-remove-value-from": "Remove value from", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Authentication method", + "authentication-type": "Authentication type", + "custom-product-name": "Custom Product Name", + "layout": "Layout", + "hide-logo": "Hide Logo", + "add-custom-html-after-body-start": "Add Custom HTML after start", + "add-custom-html-before-body-end": "Add Custom HTML before end", + "error-undefined": "Something went wrong", + "error-ldap-login": "An error occurred while trying to login", + "display-authentication-method": "Display Authentication Method", + "default-authentication-method": "Default Authentication Method", + "duplicate-board": "Duplicate Board", + "people-number": "The number of people is:", + "swimlaneDeletePopup-title": "Delete Swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Restore all", + "delete-all": "Delete all", + "loading": "Loading, please wait.", + "previous_as": "last time was", + "act-a-dueAt": "modified due time to \nWhen: __timeValue__\nWhere: __card__\n previous due was __timeOldValue__", + "act-a-endAt": "modified ending time to __timeValue__ from (__timeOldValue__)", + "act-a-startAt": "modified starting time to __timeValue__ from (__timeOldValue__)", + "act-a-receivedAt": "modified received time to __timeValue__ from (__timeOldValue__)", + "a-dueAt": "modified due time to be", + "a-endAt": "modified ending time to be", + "a-startAt": "modified starting time to be", + "a-receivedAt": "modified received time to be", + "almostdue": "current due time %s is approaching", + "pastdue": "current due time %s is past", + "duenow": "current due time %s is today", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", + "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", + "act-duenow": "was reminding the current due (__timeValue__) of __card__ is now", + "act-atUserComment": "You were mentioned in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Are you sure you want to delete this account? There is no undo.", + "accounts-allowUserDelete": "Allow users to self delete their account", + "hide-minicard-label-text": "Hide minicard label text", + "show-desktop-drag-handles": "Show desktop drag handles", + "assignee": "Assignee", + "cardAssigneesPopup-title": "Assignee", + "addmore-detail": "Add a more detailed description", + "show-on-card": "Show on Card", + "new": "New", + "editUserPopup-title": "Edit User", + "newUserPopup-title": "New User", + "notifications": "Notifications", + "view-all": "View All", + "filter-by-unread": "Filter by Unread", + "mark-all-as-read": "Mark all as read", + "remove-all-read": "Remove all read", + "allow-rename": "Allow Rename", + "allowRenamePopup-title": "Allow Rename", + "start-day-of-week": "Set day of the week start", + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archived", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/en.i18n.json b/i18n/en.i18n.json new file mode 100644 index 0000000..ab6faff --- /dev/null +++ b/i18n/en.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Accept", + "act-activity-notify": "Activity Notification", + "act-addAttachment": "added attachment __attachment__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteAttachment": "deleted attachment __attachment__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addSubtask": "added subtask __subtask__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addedLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removedLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklist": "added checklist __checklist__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklistItem": "added checklist item __checklistItem__ to checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklist": "removed checklist __checklist__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklistItem": "removed checklist item __checklistItem__ from checklist __checkList__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-checkedItem": "checked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncheckedItem": "unchecked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-completeChecklist": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncompleteChecklist": "uncompleted checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addComment": "commented on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-editComment": "edited comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteComment": "deleted comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createBoard": "created board __board__", + "act-createSwimlane": "created swimlane __swimlane__ to board __board__", + "act-createCard": "created card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-createCustomField": "created custom field __customField__ at board __board__", + "act-deleteCustomField": "deleted custom field __customField__ at board __board__", + "act-setCustomField": "edited custom field __customField__: __customFieldValue__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createList": "added list __list__ to board __board__", + "act-addBoardMember": "added member __member__ to board __board__", + "act-archivedBoard": "Board __board__ moved to Archive", + "act-archivedCard": "Card __card__ at list __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedList": "List __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedSwimlane": "Swimlane __swimlane__ at board __board__ moved to Archive", + "act-importBoard": "imported board __board__", + "act-importCard": "imported card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-importList": "imported list __list__ to swimlane __swimlane__ at board __board__", + "act-joinMember": "added member __member__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-moveCard": "moved card __card__ at board __board__ from list __oldList__ at swimlane __oldSwimlane__ to list __list__ at swimlane __swimlane__", + "act-moveCardToOtherBoard": "moved card __card__ from list __oldList__ at swimlane __oldSwimlane__ at board __oldBoard__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-removeBoardMember": "removed member __member__ from board __board__", + "act-restoredCard": "restored card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-unjoinMember": "removed member __member__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Actions", + "activities": "Activities", + "activity": "Activity", + "activity-added": "added %s to %s", + "activity-archived": "%s moved to Archive", + "activity-attached": "attached %s to %s", + "activity-created": "created %s", + "activity-customfield-created": "created custom field %s", + "activity-excluded": "excluded %s from %s", + "activity-imported": "imported %s into %s from %s", + "activity-imported-board": "imported %s from %s", + "activity-joined": "joined %s", + "activity-moved": "moved %s from %s to %s", + "activity-on": "on %s", + "activity-removed": "removed %s from %s", + "activity-sent": "sent %s to %s", + "activity-unjoined": "unjoined %s", + "activity-subtask-added": "added subtask to %s", + "activity-checked-item": "checked %s in checklist %s of %s", + "activity-unchecked-item": "unchecked %s in checklist %s of %s", + "activity-checklist-added": "added checklist to %s", + "activity-checklist-removed": "removed a checklist from %s", + "activity-checklist-completed": "completed checklist %s of %s", + "activity-checklist-uncompleted": "uncompleted the checklist %s of %s", + "activity-checklist-item-added": "added checklist item to '%s' in %s", + "activity-checklist-item-removed": "removed a checklist item from '%s' in %s", + "add": "Add", + "activity-checked-item-card": "checked %s in checklist %s", + "activity-unchecked-item-card": "unchecked %s in checklist %s", + "activity-checklist-completed-card": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "activity-checklist-uncompleted-card": "uncompleted the checklist %s", + "activity-editComment": "edited comment %s", + "activity-deleteComment": "deleted comment %s", + "add-attachment": "Add Attachment", + "add-board": "Add Board", + "add-card": "Add Card", + "add-swimlane": "Add Swimlane", + "add-subtask": "Add Subtask", + "add-checklist": "Add Checklist", + "add-checklist-item": "Add an item to checklist", + "add-cover": "Add Cover", + "add-label": "Add Label", + "add-list": "Add List", + "add-members": "Add Members", + "added": "Added", + "addMemberPopup-title": "Members", + "admin": "Admin", + "admin-desc": "Can view and edit cards, remove members, and change settings for the board.", + "admin-announcement": "Announcement", + "admin-announcement-active": "Active System-Wide Announcement", + "admin-announcement-title": "Announcement from Administrator", + "all-boards": "All boards", + "and-n-other-card": "And __count__ other card", + "and-n-other-card_plural": "And __count__ other cards", + "apply": "Apply", + "app-is-offline": "Loading, please wait. Refreshing the page will cause data loss. If loading does not work, please check that server has not stopped.", + "archive": "Move to Archive", + "archive-all": "Move All to Archive", + "archive-board": "Move Board to Archive", + "archive-card": "Move Card to Archive", + "archive-list": "Move List to Archive", + "archive-swimlane": "Move Swimlane to Archive", + "archive-selection": "Move selection to Archive", + "archiveBoardPopup-title": "Move Board to Archive?", + "archived-items": "Archive", + "archived-boards": "Boards in Archive", + "restore-board": "Restore Board", + "no-archived-boards": "No Boards in Archive.", + "archives": "Archive", + "template": "Template", + "templates": "Templates", + "assign-member": "Assign member", + "attached": "attached", + "attachment": "Attachment", + "attachment-delete-pop": "Deleting an attachment is permanent. There is no undo.", + "attachmentDeletePopup-title": "Delete Attachment?", + "attachments": "Attachments", + "auto-watch": "Automatically watch boards when they are created", + "avatar-too-big": "The avatar is too large (70KB max)", + "back": "Back", + "board-change-color": "Change color", + "board-nb-stars": "%s stars", + "board-not-found": "Board not found", + "board-private-info": "This board will be private.", + "board-public-info": "This board will be public.", + "boardChangeColorPopup-title": "Change Board Background", + "boardChangeTitlePopup-title": "Rename Board", + "boardChangeVisibilityPopup-title": "Change Visibility", + "boardChangeWatchPopup-title": "Change Watch", + "boardMenuPopup-title": "Board Settings", + "boardChangeViewPopup-title": "Board View", + "boards": "Boards", + "board-view": "Board View", + "board-view-cal": "Calendar", + "board-view-swimlanes": "Swimlanes", + "board-view-collapse": "Collapse", + "board-view-lists": "Lists", + "bucket-example": "Like “Bucket List” for example", + "cancel": "Cancel", + "card-archived": "This card is moved to Archive.", + "board-archived": "This board is moved to Archive.", + "card-comments-title": "This card has %s comment.", + "card-delete-notice": "Deleting is permanent. You will lose all actions associated with this card.", + "card-delete-pop": "All actions will be removed from the activity feed and you won't be able to re-open the card. There is no undo.", + "card-delete-suggest-archive": "You can move a card to Archive to remove it from the board and preserve the activity.", + "card-due": "Due", + "card-due-on": "Due on", + "card-spent": "Spent Time", + "card-edit-attachments": "Edit attachments", + "card-edit-custom-fields": "Edit custom fields", + "card-edit-labels": "Edit labels", + "card-edit-members": "Edit members", + "card-labels-title": "Change the labels for the card.", + "card-members-title": "Add or remove members of the board from the card.", + "card-start": "Start", + "card-start-on": "Starts on", + "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", + "cardStartVotingPopup-title": "Start a vote", + "positiveVoteMembersPopup-title": "Proponents", + "negativeVoteMembersPopup-title": "Opponents", + "card-edit-voting": "Edit voting", + "editVoteEndDatePopup-title": "Change vote end date", + "allowNonBoardMembers": "Allow all logged in users", + "vote-question": "Voting question", + "vote-public": "Show who voted what", + "vote-for-it": "for it", + "vote-against": "against", + "deleteVotePopup-title": "Delete vote?", + "vote-delete-pop": "Deleting is permanent. You will lose all actions associated with this vote.", + "cardDeletePopup-title": "Delete Card?", + "cardDetailsActionsPopup-title": "Card Actions", + "cardLabelsPopup-title": "Labels", + "cardMembersPopup-title": "Members", + "cardMorePopup-title": "More", + "cardTemplatePopup-title": "Create template", + "cards": "Cards", + "cards-count": "Cards", + "casSignIn": "Sign In with CAS", + "cardType-card": "Card", + "cardType-linkedCard": "Linked Card", + "cardType-linkedBoard": "Linked Board", + "change": "Change", + "change-avatar": "Change Avatar", + "change-password": "Change Password", + "change-permissions": "Change permissions", + "change-settings": "Change Settings", + "changeAvatarPopup-title": "Change Avatar", + "changeLanguagePopup-title": "Change Language", + "changePasswordPopup-title": "Change Password", + "changePermissionsPopup-title": "Change Permissions", + "changeSettingsPopup-title": "Change Settings", + "subtasks": "Subtasks", + "checklists": "Checklists", + "click-to-star": "Click to star this board.", + "click-to-unstar": "Click to unstar this board.", + "clipboard": "Clipboard or drag & drop", + "close": "Close", + "close-board": "Close Board", + "close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.", + "color-black": "black", + "color-blue": "blue", + "color-crimson": "crimson", + "color-darkgreen": "darkgreen", + "color-gold": "gold", + "color-gray": "gray", + "color-green": "green", + "color-indigo": "indigo", + "color-lime": "lime", + "color-magenta": "magenta", + "color-mistyrose": "mistyrose", + "color-navy": "navy", + "color-orange": "orange", + "color-paleturquoise": "paleturquoise", + "color-peachpuff": "peachpuff", + "color-pink": "pink", + "color-plum": "plum", + "color-purple": "purple", + "color-red": "red", + "color-saddlebrown": "saddlebrown", + "color-silver": "silver", + "color-sky": "sky", + "color-slateblue": "slateblue", + "color-white": "white", + "color-yellow": "yellow", + "unset-color": "Unset", + "comment": "Comment", + "comment-placeholder": "Write Comment", + "comment-only": "Comment only", + "comment-only-desc": "Can comment on cards only.", + "no-comments": "No comments", + "no-comments-desc": "Can not see comments and activities.", + "worker": "Worker", + "worker-desc": "Can only move cards, assign itself to card and comment.", + "computer": "Computer", + "confirm-subtask-delete-dialog": "Are you sure you want to delete subtask?", + "confirm-checklist-delete-dialog": "Are you sure you want to delete checklist?", + "copy-card-link-to-clipboard": "Copy card link to clipboard", + "linkCardPopup-title": "Link Card", + "searchElementPopup-title": "Search", + "copyCardPopup-title": "Copy Card", + "copyChecklistToManyCardsPopup-title": "Copy Checklist Template to Many Cards", + "copyChecklistToManyCardsPopup-instructions": "Destination Card Titles and Descriptions in this JSON format", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"First card title\", \"description\":\"First card description\"}, {\"title\":\"Second card title\",\"description\":\"Second card description\"},{\"title\":\"Last card title\",\"description\":\"Last card description\"} ]", + "create": "Create", + "createBoardPopup-title": "Create Board", + "chooseBoardSourcePopup-title": "Import board", + "createLabelPopup-title": "Create Label", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", + "current": "current", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-currency": "Currency", + "custom-field-currency-option": "Currency Code", + "custom-field-date": "Date", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", + "date": "Date", + "decline": "Decline", + "default-avatar": "Default avatar", + "delete": "Delete", + "deleteCustomFieldPopup-title": "Delete Custom Field?", + "deleteLabelPopup-title": "Delete Label?", + "description": "Description", + "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", + "disambiguateMultiMemberPopup-title": "Disambiguate Member Action", + "discard": "Discard", + "done": "Done", + "download": "Download", + "edit": "Edit", + "edit-avatar": "Change Avatar", + "edit-profile": "Edit Profile", + "edit-wip-limit": "Edit WIP Limit", + "soft-wip-limit": "Soft WIP Limit", + "editCardStartDatePopup-title": "Change start date", + "editCardDueDatePopup-title": "Change due date", + "editCustomFieldPopup-title": "Edit Field", + "editCardSpentTimePopup-title": "Change spent time", + "editLabelPopup-title": "Change Label", + "editNotificationPopup-title": "Edit Notification", + "editProfilePopup-title": "Edit Profile", + "email": "Email", + "email-enrollAccount-subject": "An account created for you on __siteName__", + "email-enrollAccount-text": "Hello __user__,\n\nTo start using the service, simply click the link below.\n\n__url__\n\nThanks.", + "email-fail": "Sending email failed", + "email-fail-text": "Error trying to send email", + "email-invalid": "Invalid email", + "email-invite": "Invite via Email", + "email-invite-subject": "__inviter__ sent you an invitation", + "email-invite-text": "Dear __user__,\n\n__inviter__ invites you to join board \"__board__\" for collaborations.\n\nPlease follow the link below:\n\n__url__\n\nThanks.", + "email-resetPassword-subject": "Reset your password on __siteName__", + "email-resetPassword-text": "Hello __user__,\n\nTo reset your password, simply click the link below.\n\n__url__\n\nThanks.", + "email-sent": "Email sent", + "email-verifyEmail-subject": "Verify your email address on __siteName__", + "email-verifyEmail-text": "Hello __user__,\n\nTo verify your account email, simply click the link below.\n\n__url__\n\nThanks.", + "enable-wip-limit": "Enable WIP Limit", + "error-board-doesNotExist": "This board does not exist", + "error-board-notAdmin": "You need to be admin of this board to do that", + "error-board-notAMember": "You need to be a member of this board to do that", + "error-json-malformed": "Your text is not valid JSON", + "error-json-schema": "Your JSON data does not include the proper information in the correct format", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format ", + "error-list-doesNotExist": "This list does not exist", + "error-user-doesNotExist": "This user does not exist", + "error-user-notAllowSelf": "You can not invite yourself", + "error-user-notCreated": "This user is not created", + "error-username-taken": "This username is already taken", + "error-email-taken": "Email has already been taken", + "export-board": "Export board", + "export-board-json": "Export board to JSON", + "export-board-csv": "Export board to CSV", + "export-board-tsv": "Export board to TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "Export board", + "sort": "Sort", + "sort-desc": "Click to Sort List", + "list-sort-by": "Sort the List By:", + "list-label-modifiedAt": "Last Access Time", + "list-label-title": "Name of the List", + "list-label-sort": "Your Manual Order", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Filter", + "filter-cards": "Filter Cards or Lists", + "list-filter-label": "Filter List by Title", + "filter-clear": "Clear filter", + "filter-no-label": "No label", + "filter-no-member": "No member", + "filter-no-assignee": "No assignee", + "filter-no-custom-fields": "No Custom Fields", + "filter-show-archive": "Show archived lists", + "filter-hide-empty": "Hide empty lists", + "filter-on": "Filter is on", + "filter-on-desc": "You are filtering cards on this board. Click here to edit filter.", + "filter-to-selection": "Filter to selection", + "advanced-filter-label": "Advanced Filter", + "advanced-filter-description": "Advanced Filter allows to write a string containing following operators: == != <= >= && || ( ) A space is used as a separator between the Operators. You can filter for all Custom Fields by typing their names and values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need to encapsulate them into single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) to be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally all operators are interpreted from left to right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i", + "fullname": "Full Name", + "header-logo-title": "Go back to your boards page.", + "hide-system-messages": "Hide system messages", + "headerBarCreateBoardPopup-title": "Create Board", + "home": "Home", + "import": "Import", + "link": "Link", + "import-board": "import board", + "import-board-c": "Import board", + "import-board-title-trello": "Import board from Trello", + "import-board-title-wekan": "Import board from previous export", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "From Trello", + "from-wekan": "From previous export", + "from-csv": "From CSV/TSV", + "import-board-instruction-trello": "In your Trello board, go to 'Menu', then 'More', 'Print and Export', 'Export JSON', and copy the resulting text.", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "In your board, go to 'Menu', then 'Export board', and copy the text in the downloaded file.", + "import-board-instruction-about-errors": "If you get errors when importing board, sometimes importing still works, and board is at All Boards page.", + "import-json-placeholder": "Paste your valid JSON data here", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "Map members", + "import-members-map": "Your imported board has some members. Please map the members you want to import to your users", + "import-show-user-mapping": "Review members mapping", + "import-user-select": "Pick your existing user you want to use as this member", + "importMapMembersAddPopup-title": "Select member", + "info": "Version", + "initials": "Initials", + "invalid-date": "Invalid date", + "invalid-time": "Invalid time", + "invalid-user": "Invalid user", + "joined": "joined", + "just-invited": "You are just invited to this board", + "keyboard-shortcuts": "Keyboard shortcuts", + "label-create": "Create Label", + "label-default": "%s label (default)", + "label-delete-pop": "There is no undo. This will remove this label from all cards and destroy its history.", + "labels": "Labels", + "language": "Language", + "last-admin-desc": "You can’t change roles because there must be at least one admin.", + "leave-board": "Leave Board", + "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.", + "leaveBoardPopup-title": "Leave Board ?", + "link-card": "Link to this card", + "list-archive-cards": "Move all cards in this list to Archive", + "list-archive-cards-pop": "This will remove all the cards in this list from the board. To view cards in Archive and bring them back to the board, click “Menu” > “Archive”.", + "list-move-cards": "Move all cards in this list", + "list-select-cards": "Select all cards in this list", + "set-color-list": "Set Color", + "listActionPopup-title": "List Actions", + "swimlaneActionPopup-title": "Swimlane Actions", + "swimlaneAddPopup-title": "Add a Swimlane below", + "listImportCardPopup-title": "Import a Trello card", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "More", + "link-list": "Link to this list", + "list-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the list. There is no undo.", + "list-delete-suggest-archive": "You can move a list to Archive to remove it from the board and preserve the activity.", + "lists": "Lists", + "swimlanes": "Swimlanes", + "log-out": "Log Out", + "log-in": "Log In", + "loginPopup-title": "Log In", + "memberMenuPopup-title": "Member Settings", + "members": "Members", + "menu": "Menu", + "move-selection": "Move selection", + "moveCardPopup-title": "Move Card", + "moveCardToBottom-title": "Move to Bottom", + "moveCardToTop-title": "Move to Top", + "moveSelectionPopup-title": "Move selection", + "multi-selection": "Multi-Selection", + "multi-selection-on": "Multi-Selection is on", + "muted": "Muted", + "muted-info": "You will never be notified of any changes in this board", + "my-boards": "My Boards", + "name": "Name", + "no-archived-cards": "No cards in Archive.", + "no-archived-lists": "No lists in Archive.", + "no-archived-swimlanes": "No swimlanes in Archive.", + "no-results": "No results", + "normal": "Normal", + "normal-desc": "Can view and edit cards. Can't change settings.", + "not-accepted-yet": "Invitation not accepted yet", + "notify-participate": "Receive updates to any cards you participate as creater or member", + "notify-watch": "Receive updates to any boards, lists, or cards you’re watching", + "optional": "optional", + "or": "or", + "page-maybe-private": "This page may be private. You may be able to view it by logging in.", + "page-not-found": "Page not found.", + "password": "Password", + "paste-or-dragdrop": "to paste, or drag & drop image file to it (image only)", + "participating": "Participating", + "preview": "Preview", + "previewAttachedImagePopup-title": "Preview", + "previewClipboardImagePopup-title": "Preview", + "private": "Private", + "private-desc": "This board is private. Only people added to the board can view and edit it.", + "profile": "Profile", + "public": "Public", + "public-desc": "This board is public. It's visible to anyone with the link and will show up in search engines like Google. Only people added to the board can edit.", + "quick-access-description": "Star a board to add a shortcut in this bar.", + "remove-cover": "Remove Cover", + "remove-from-board": "Remove from Board", + "remove-label": "Remove Label", + "listDeletePopup-title": "Delete List ?", + "remove-member": "Remove Member", + "remove-member-from-card": "Remove from Card", + "remove-member-pop": "Remove __name__ (__username__) from __boardTitle__? The member will be removed from all cards on this board. They will receive a notification.", + "removeMemberPopup-title": "Remove Member?", + "rename": "Rename", + "rename-board": "Rename Board", + "restore": "Restore", + "save": "Save", + "search": "Search", + "rules": "Rules", + "search-cards": "Search from card/list titles, descriptions and custom fields on this board", + "search-example": "Text to search for?", + "select-color": "Select Color", + "set-wip-limit-value": "Set a limit for the maximum number of tasks in this list", + "setWipLimitPopup-title": "Set WIP Limit", + "shortcut-assign-self": "Assign yourself to current card", + "shortcut-autocomplete-emoji": "Autocomplete emoji", + "shortcut-autocomplete-members": "Autocomplete members", + "shortcut-clear-filters": "Clear all filters", + "shortcut-close-dialog": "Close Dialog", + "shortcut-filter-my-cards": "Filter my cards", + "shortcut-show-shortcuts": "Bring up this shortcuts list", + "shortcut-toggle-filterbar": "Toggle Filter Sidebar", + "shortcut-toggle-sidebar": "Toggle Board Sidebar", + "show-cards-minimum-count": "Show cards count if list contains more than", + "sidebar-open": "Open Sidebar", + "sidebar-close": "Close Sidebar", + "signupPopup-title": "Create an Account", + "star-board-title": "Click to star this board. It will show up at top of your boards list.", + "starred-boards": "Starred Boards", + "starred-boards-description": "Starred boards show up at the top of your boards list.", + "subscribe": "Subscribe", + "team": "Team", + "this-board": "this board", + "this-card": "this card", + "spent-time-hours": "Spent time (hours)", + "overtime-hours": "Overtime (hours)", + "overtime": "Overtime", + "has-overtime-cards": "Has overtime cards", + "has-spenttime-cards": "Has spent time cards", + "time": "Time", + "title": "Title", + "tracking": "Tracking", + "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", + "unassign-member": "Unassign member", + "unsaved-description": "You have an unsaved description.", + "unwatch": "Unwatch", + "upload": "Upload", + "upload-avatar": "Upload an avatar", + "uploaded-avatar": "Uploaded an avatar", + "username": "Username", + "view-it": "View it", + "warn-list-archived": "warning: this card is in an list at Archive", + "watch": "Watch", + "watching": "Watching", + "watching-info": "You will be notified of any change in this board", + "welcome-board": "Welcome Board", + "welcome-swimlane": "Milestone 1", + "welcome-list1": "Basics", + "welcome-list2": "Advanced", + "card-templates-swimlane": "Card Templates", + "list-templates-swimlane": "List Templates", + "board-templates-swimlane": "Board Templates", + "what-to-do": "What do you want to do?", + "wipLimitErrorPopup-title": "Invalid WIP Limit", + "wipLimitErrorPopup-dialog-pt1": "The number of tasks in this list is higher than the WIP limit you've defined.", + "wipLimitErrorPopup-dialog-pt2": "Please move some tasks out of this list, or set a higher WIP limit.", + "admin-panel": "Admin Panel", + "settings": "Settings", + "people": "People", + "registration": "Registration", + "disable-self-registration": "Disable Self-Registration", + "invite": "Invite", + "invite-people": "Invite People", + "to-boards": "To board(s)", + "email-addresses": "Email Addresses", + "smtp-host-description": "The address of the SMTP server that handles your emails.", + "smtp-port-description": "The port your SMTP server uses for outgoing emails.", + "smtp-tls-description": "Enable TLS support for SMTP server", + "smtp-host": "SMTP Host", + "smtp-port": "SMTP Port", + "smtp-username": "Username", + "smtp-password": "Password", + "smtp-tls": "TLS support", + "send-from": "From", + "send-smtp-test": "Send a test email to yourself", + "invitation-code": "Invitation Code", + "email-invite-register-subject": "__inviter__ sent you an invitation", + "email-invite-register-text": "Dear __user__,\n\n__inviter__ invites you to kanban board for collaborations.\n\nPlease follow the link below:\n__url__\n\nAnd your invitation code is: __icode__\n\nThanks.", + "email-smtp-test-subject": "SMTP Test Email", + "email-smtp-test-text": "You have successfully sent an email", + "error-invitation-code-not-exist": "Invitation code doesn't exist", + "error-notAuthorized": "You are not authorized to view this page.", + "webhook-title": "Webhook Name", + "webhook-token": "Token (Optional for Authentication)", + "outgoing-webhooks": "Outgoing Webhooks", + "bidirectional-webhooks": "Two-Way Webhooks", + "outgoingWebhooksPopup-title": "Outgoing Webhooks", + "boardCardTitlePopup-title": "Card Title Filter", + "disable-webhook": "Disable This Webhook", + "global-webhook": "Global Webhooks", + "new-outgoing-webhook": "New Outgoing Webhook", + "no-name": "(Unknown)", + "Node_version": "Node version", + "Meteor_version": "Meteor version", + "MongoDB_version": "MongoDB version", + "MongoDB_storage_engine": "MongoDB storage engine", + "MongoDB_Oplog_enabled": "MongoDB Oplog enabled", + "OS_Arch": "OS Arch", + "OS_Cpus": "OS CPU Count", + "OS_Freemem": "OS Free Memory", + "OS_Loadavg": "OS Load Average", + "OS_Platform": "OS Platform", + "OS_Release": "OS Release", + "OS_Totalmem": "OS Total Memory", + "OS_Type": "OS Type", + "OS_Uptime": "OS Uptime", + "days": "days", + "hours": "hours", + "minutes": "minutes", + "seconds": "seconds", + "show-field-on-card": "Show this field on card", + "automatically-field-on-card": "Auto create field to all cards", + "showLabel-field-on-card": "Show field label on minicard", + "yes": "Yes", + "no": "No", + "accounts": "Accounts", + "accounts-allowEmailChange": "Allow Email Change", + "accounts-allowUserNameChange": "Allow Username Change", + "createdAt": "Created at", + "verified": "Verified", + "active": "Active", + "card-received": "Received", + "card-received-on": "Received on", + "card-end": "End", + "card-end-on": "Ends on", + "editCardReceivedDatePopup-title": "Change received date", + "editCardEndDatePopup-title": "Change end date", + "setCardColorPopup-title": "Set color", + "setCardActionsColorPopup-title": "Choose a color", + "setSwimlaneColorPopup-title": "Choose a color", + "setListColorPopup-title": "Choose a color", + "assigned-by": "Assigned By", + "requested-by": "Requested By", + "board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.", + "delete-board-confirm-popup": "All lists, cards, labels, and activities will be deleted and you won't be able to recover the board contents. There is no undo.", + "boardDeletePopup-title": "Delete Board?", + "delete-board": "Delete Board", + "default-subtasks-board": "Subtasks for __board__ board", + "default": "Default", + "queue": "Queue", + "subtask-settings": "Subtasks Settings", + "card-settings": "Card Settings", + "boardSubtaskSettingsPopup-title": "Board Subtasks Settings", + "boardCardSettingsPopup-title": "Card Settings", + "deposit-subtasks-board": "Deposit subtasks to this board:", + "deposit-subtasks-list": "Landing list for subtasks deposited here:", + "show-parent-in-minicard": "Show parent in minicard:", + "prefix-with-full-path": "Prefix with full path", + "prefix-with-parent": "Prefix with parent", + "subtext-with-full-path": "Subtext with full path", + "subtext-with-parent": "Subtext with parent", + "change-card-parent": "Change card's parent", + "parent-card": "Parent card", + "source-board": "Source board", + "no-parent": "Don't show parent", + "activity-added-label": "added label '%s' to %s", + "activity-removed-label": "removed label '%s' from %s", + "activity-delete-attach": "deleted an attachment from %s", + "activity-added-label-card": "added label '%s'", + "activity-removed-label-card": "removed label '%s'", + "activity-delete-attach-card": "deleted an attachment", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "Rule", + "r-add-trigger": "Add trigger", + "r-add-action": "Add action", + "r-board-rules": "Board rules", + "r-add-rule": "Add rule", + "r-view-rule": "View rule", + "r-delete-rule": "Delete rule", + "r-new-rule-name": "New rule title", + "r-no-rules": "No rules", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "When a card", + "r-is": "is", + "r-is-moved": "is moved", + "r-added-to": "Added to", + "r-removed-from": "Removed from", + "r-the-board": "the board", + "r-list": "list", + "set-filter": "Set Filter", + "r-moved-to": "Moved to", + "r-moved-from": "Moved from", + "r-archived": "Moved to Archive", + "r-unarchived": "Restored from Archive", + "r-a-card": "a card", + "r-when-a-label-is": "When a label is", + "r-when-the-label": "When the label", + "r-list-name": "list name", + "r-when-a-member": "When a member is", + "r-when-the-member": "When the member", + "r-name": "name", + "r-when-a-attach": "When an attachment", + "r-when-a-checklist": "When a checklist is", + "r-when-the-checklist": "When the checklist", + "r-completed": "Completed", + "r-made-incomplete": "Made incomplete", + "r-when-a-item": "When a checklist item is", + "r-when-the-item": "When the checklist item", + "r-checked": "Checked", + "r-unchecked": "Unchecked", + "r-move-card-to": "Move card to", + "r-top-of": "Top of", + "r-bottom-of": "Bottom of", + "r-its-list": "its list", + "r-archive": "Move to Archive", + "r-unarchive": "Restore from Archive", + "r-card": "card", + "r-add": "Add", + "r-remove": "Remove", + "r-label": "label", + "r-member": "member", + "r-remove-all": "Remove all members from the card", + "r-set-color": "Set color to", + "r-checklist": "checklist", + "r-check-all": "Check all", + "r-uncheck-all": "Uncheck all", + "r-items-check": "items of checklist", + "r-check": "Check", + "r-uncheck": "Uncheck", + "r-item": "item", + "r-of-checklist": "of checklist", + "r-send-email": "Send an email", + "r-to": "to", + "r-of": "of", + "r-subject": "subject", + "r-rule-details": "Rule details", + "r-d-move-to-top-gen": "Move card to top of its list", + "r-d-move-to-top-spec": "Move card to top of list", + "r-d-move-to-bottom-gen": "Move card to bottom of its list", + "r-d-move-to-bottom-spec": "Move card to bottom of list", + "r-d-send-email": "Send email", + "r-d-send-email-to": "to", + "r-d-send-email-subject": "subject", + "r-d-send-email-message": "message", + "r-d-archive": "Move card to Archive", + "r-d-unarchive": "Restore card from Archive", + "r-d-add-label": "Add label", + "r-d-remove-label": "Remove label", + "r-create-card": "Create new card", + "r-in-list": "in list", + "r-in-swimlane": "in swimlane", + "r-d-add-member": "Add member", + "r-d-remove-member": "Remove member", + "r-d-remove-all-member": "Remove all member", + "r-d-check-all": "Check all items of a list", + "r-d-uncheck-all": "Uncheck all items of a list", + "r-d-check-one": "Check item", + "r-d-uncheck-one": "Uncheck item", + "r-d-check-of-list": "of checklist", + "r-d-add-checklist": "Add checklist", + "r-d-remove-checklist": "Remove checklist", + "r-by": "by", + "r-add-checklist": "Add checklist", + "r-with-items": "with items", + "r-items-list": "item1,item2,item3", + "r-add-swimlane": "Add swimlane", + "r-swimlane-name": "swimlane name", + "r-board-note": "Note: leave a field empty to match every possible value. ", + "r-checklist-note": "Note: checklist's items have to be written as comma separated values.", + "r-when-a-card-is-moved": "When a card is moved to another list", + "r-set": "Set", + "r-update": "Update", + "r-datefield": "date field", + "r-df-start-at": "start", + "r-df-due-at": "due", + "r-df-end-at": "end", + "r-df-received-at": "received", + "r-to-current-datetime": "to current date/time", + "r-remove-value-from": "Remove value from", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Authentication method", + "authentication-type": "Authentication type", + "custom-product-name": "Custom Product Name", + "layout": "Layout", + "hide-logo": "Hide Logo", + "add-custom-html-after-body-start": "Add Custom HTML after start", + "add-custom-html-before-body-end": "Add Custom HTML before end", + "error-undefined": "Something went wrong", + "error-ldap-login": "An error occurred while trying to login", + "display-authentication-method": "Display Authentication Method", + "default-authentication-method": "Default Authentication Method", + "duplicate-board": "Duplicate Board", + "people-number": "The number of people is: ", + "swimlaneDeletePopup-title": "Delete Swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Restore all", + "delete-all": "Delete all", + "loading": "Loading, please wait.", + "previous_as": "last time was", + "act-a-dueAt": "modified due time to \nWhen: __timeValue__\nWhere: __card__\n previous due was __timeOldValue__", + "act-a-endAt": "modified ending time to __timeValue__ from (__timeOldValue__)", + "act-a-startAt": "modified starting time to __timeValue__ from (__timeOldValue__)", + "act-a-receivedAt": "modified received time to __timeValue__ from (__timeOldValue__)", + "a-dueAt": "modified due time to be", + "a-endAt": "modified ending time to be", + "a-startAt": "modified starting time to be", + "a-receivedAt": "modified received time to be", + "almostdue": "current due time %s is approaching", + "pastdue": "current due time %s is past", + "duenow": "current due time %s is today", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", + "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", + "act-duenow": "was reminding the current due (__timeValue__) of __card__ is now", + "act-atUserComment": "You were mentioned in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Are you sure you want to delete this account? There is no undo.", + "accounts-allowUserDelete": "Allow users to self delete their account", + "hide-minicard-label-text": "Hide minicard label text", + "show-desktop-drag-handles": "Show desktop drag handles", + "assignee": "Assignee", + "cardAssigneesPopup-title": "Assignee", + "addmore-detail": "Add a more detailed description", + "show-on-card": "Show on Card", + "new": "New", + "editUserPopup-title": "Edit User", + "newUserPopup-title": "New User", + "notifications": "Notifications", + "view-all": "View All", + "filter-by-unread": "Filter by Unread", + "mark-all-as-read": "Mark all as read", + "remove-all-read": "Remove all read", + "allow-rename": "Allow Rename", + "allowRenamePopup-title": "Allow Rename", + "start-day-of-week": "Set day of the week start", + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archived", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} diff --git a/i18n/eo.i18n.json b/i18n/eo.i18n.json new file mode 100644 index 0000000..ddc730a --- /dev/null +++ b/i18n/eo.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Akcepti", + "act-activity-notify": "Activity Notification", + "act-addAttachment": "aldonita alligitecon __attachment__ al karto __card__ en la listo __list__ en la naĝotubo __swimlane__ en la tabulo __board__", + "act-deleteAttachment": "forigita alligitecon __attachment__ al karto __card__ en la listo __list__ en la naĝotubo __swimlane__ en la tabulo __board__", + "act-addSubtask": "aldonita subtaskon __subtask__ al karto __card__ en la listo __list__ en la naĝotubo __swimlane__ en la tabulo __board__", + "act-addLabel": "Aldonita etikedo __label__ al karto __card__ en la listo __list__ en la naĝotubo __swimlane en la tabulo __board__", + "act-addedLabel": "Aldonita etikedo __label__ al karto __card__ en la listo __list__ en la naĝotubo __swimlane en la tabulo __board__", + "act-removeLabel": "Forigita etikedo __label__ de karto __card__ en la listo __list__ en la naĝotubo __swimlane__ en la tabulo __board__", + "act-removedLabel": "Forigita etikedo __label__ de karto __card__ en la listo __list__ en la naĝotubo __swimlane__ en la tabulo __board__", + "act-addChecklist": "aldonita kontrololiston __checklist__ al karto __card__ en la listo __list__ en la naĝotubo __swimlane__ en la tabulo __board__", + "act-addChecklistItem": "aldonita kontrolliston __checklistItem__ al kontrololisto __checklist__ en la karto __card__ en la listo __list__ en la naĝotubo __swimlane__ en la tabulo __board__", + "act-removeChecklist": "removed checklist __checklist__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklistItem": "removed checklist item __checklistItem__ from checklist __checkList__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-checkedItem": "checked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncheckedItem": "unchecked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-completeChecklist": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncompleteChecklist": "uncompleted checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addComment": "commented on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-editComment": "edited comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteComment": "deleted comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createBoard": "created board __board__", + "act-createSwimlane": "created swimlane __swimlane__ to board __board__", + "act-createCard": "created card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-createCustomField": "created custom field __customField__ at board __board__", + "act-deleteCustomField": "deleted custom field __customField__ at board __board__", + "act-setCustomField": "edited custom field __customField__: __customFieldValue__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createList": "added list __list__ to board __board__", + "act-addBoardMember": "added member __member__ to board __board__", + "act-archivedBoard": "Board __board__ moved to Archive", + "act-archivedCard": "Card __card__ at list __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedList": "List __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedSwimlane": "Swimlane __swimlane__ at board __board__ moved to Archive", + "act-importBoard": "imported board __board__", + "act-importCard": "imported card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-importList": "imported list __list__ to swimlane __swimlane__ at board __board__", + "act-joinMember": "added member __member__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-moveCard": "moved card __card__ at board __board__ from list __oldList__ at swimlane __oldSwimlane__ to list __list__ at swimlane __swimlane__", + "act-moveCardToOtherBoard": "moved card __card__ from list __oldList__ at swimlane __oldSwimlane__ at board __oldBoard__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-removeBoardMember": "removed member __member__ from board __board__", + "act-restoredCard": "restored card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-unjoinMember": "removed member __member__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Akcioj", + "activities": "Aktivaĵoj", + "activity": "Aktivaĵo", + "activity-added": "Aldonis %s al %s", + "activity-archived": "%s moved to Archive", + "activity-attached": "attached %s to %s", + "activity-created": "Kreiis %s", + "activity-customfield-created": "created custom field %s", + "activity-excluded": "excluded %s from %s", + "activity-imported": "imported %s into %s from %s", + "activity-imported-board": "imported %s from %s", + "activity-joined": "joined %s", + "activity-moved": "moved %s from %s to %s", + "activity-on": "on %s", + "activity-removed": "removed %s from %s", + "activity-sent": "Sendis %s al %s", + "activity-unjoined": "unjoined %s", + "activity-subtask-added": "added subtask to %s", + "activity-checked-item": "checked %s in checklist %s of %s", + "activity-unchecked-item": "unchecked %s in checklist %s of %s", + "activity-checklist-added": "added checklist to %s", + "activity-checklist-removed": "removed a checklist from %s", + "activity-checklist-completed": "completed checklist %s of %s", + "activity-checklist-uncompleted": "uncompleted the checklist %s of %s", + "activity-checklist-item-added": "added checklist item to '%s' in %s", + "activity-checklist-item-removed": "removed a checklist item from '%s' in %s", + "add": "Aldoni", + "activity-checked-item-card": "checked %s in checklist %s", + "activity-unchecked-item-card": "unchecked %s in checklist %s", + "activity-checklist-completed-card": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "activity-checklist-uncompleted-card": "uncompleted the checklist %s", + "activity-editComment": "edited comment %s", + "activity-deleteComment": "deleted comment %s", + "add-attachment": "Add Attachment", + "add-board": "Add Board", + "add-card": "Add Card", + "add-swimlane": "Add Swimlane", + "add-subtask": "Add Subtask", + "add-checklist": "Add Checklist", + "add-checklist-item": "Add an item to checklist", + "add-cover": "Add Cover", + "add-label": "Add Label", + "add-list": "Add List", + "add-members": "Aldoni membrojn", + "added": "Aldonita", + "addMemberPopup-title": "Membroj", + "admin": "Admin", + "admin-desc": "Can view and edit cards, remove members, and change settings for the board.", + "admin-announcement": "Announcement", + "admin-announcement-active": "Active System-Wide Announcement", + "admin-announcement-title": "Announcement from Administrator", + "all-boards": "All boards", + "and-n-other-card": "And __count__ other card", + "and-n-other-card_plural": "And __count__ other cards", + "apply": "Apliki", + "app-is-offline": "Loading, please wait. Refreshing the page will cause data loss. If loading does not work, please check that server has not stopped.", + "archive": "Move to Archive", + "archive-all": "Move All to Archive", + "archive-board": "Move Board to Archive", + "archive-card": "Move Card to Archive", + "archive-list": "Move List to Archive", + "archive-swimlane": "Move Swimlane to Archive", + "archive-selection": "Move selection to Archive", + "archiveBoardPopup-title": "Move Board to Archive?", + "archived-items": "Arkivi", + "archived-boards": "Boards in Archive", + "restore-board": "Restore Board", + "no-archived-boards": "No Boards in Archive.", + "archives": "Arkivi", + "template": "Template", + "templates": "Templates", + "assign-member": "Assign member", + "attached": "attached", + "attachment": "Attachment", + "attachment-delete-pop": "Deleting an attachment is permanent. There is no undo.", + "attachmentDeletePopup-title": "Delete Attachment?", + "attachments": "Attachments", + "auto-watch": "Automatically watch boards when they are created", + "avatar-too-big": "The avatar is too large (70KB max)", + "back": "Reen", + "board-change-color": "Ŝanĝi koloron", + "board-nb-stars": "%s stars", + "board-not-found": "Board not found", + "board-private-info": "This board will be private.", + "board-public-info": "This board will be public.", + "boardChangeColorPopup-title": "Change Board Background", + "boardChangeTitlePopup-title": "Renomi tavolon", + "boardChangeVisibilityPopup-title": "Change Visibility", + "boardChangeWatchPopup-title": "Change Watch", + "boardMenuPopup-title": "Board Settings", + "boardChangeViewPopup-title": "Board View", + "boards": "Boards", + "board-view": "Board View", + "board-view-cal": "Calendar", + "board-view-swimlanes": "Swimlanes", + "board-view-collapse": "Collapse", + "board-view-lists": "Listoj", + "bucket-example": "Like “Bucket List” for example", + "cancel": "Cancel", + "card-archived": "This card is moved to Archive.", + "board-archived": "This board is moved to Archive.", + "card-comments-title": "This card has %s comment.", + "card-delete-notice": "Deleting is permanent. You will lose all actions associated with this card.", + "card-delete-pop": "All actions will be removed from the activity feed and you won't be able to re-open the card. There is no undo.", + "card-delete-suggest-archive": "You can move a card to Archive to remove it from the board and preserve the activity.", + "card-due": "Due", + "card-due-on": "Due on", + "card-spent": "Spent Time", + "card-edit-attachments": "Edit attachments", + "card-edit-custom-fields": "Edit custom fields", + "card-edit-labels": "Redakti etikedojn", + "card-edit-members": "Redakti membrojn", + "card-labels-title": "Change the labels for the card.", + "card-members-title": "Add or remove members of the board from the card.", + "card-start": "Komenco", + "card-start-on": "Komencas je la", + "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", + "cardStartVotingPopup-title": "Start a vote", + "positiveVoteMembersPopup-title": "Proponents", + "negativeVoteMembersPopup-title": "Opponents", + "card-edit-voting": "Edit voting", + "editVoteEndDatePopup-title": "Change vote end date", + "allowNonBoardMembers": "Allow all logged in users", + "vote-question": "Voting question", + "vote-public": "Show who voted what", + "vote-for-it": "for it", + "vote-against": "against", + "deleteVotePopup-title": "Delete vote?", + "vote-delete-pop": "Deleting is permanent. You will lose all actions associated with this vote.", + "cardDeletePopup-title": "Delete Card?", + "cardDetailsActionsPopup-title": "Card Actions", + "cardLabelsPopup-title": "Etikedoj", + "cardMembersPopup-title": "Membroj", + "cardMorePopup-title": "Pli", + "cardTemplatePopup-title": "Create template", + "cards": "Kartoj", + "cards-count": "Kartoj", + "casSignIn": "Sign In with CAS", + "cardType-card": "Card", + "cardType-linkedCard": "Linked Card", + "cardType-linkedBoard": "Linked Board", + "change": "Ŝanĝi", + "change-avatar": "Change Avatar", + "change-password": "Ŝangi pasvorton", + "change-permissions": "Change permissions", + "change-settings": "Ŝanĝi agordojn", + "changeAvatarPopup-title": "Change Avatar", + "changeLanguagePopup-title": "Ŝanĝi lingvon", + "changePasswordPopup-title": "Ŝangi pasvorton", + "changePermissionsPopup-title": "Change Permissions", + "changeSettingsPopup-title": "Ŝanĝi agordojn", + "subtasks": "Subtasks", + "checklists": "Checklists", + "click-to-star": "Click to star this board.", + "click-to-unstar": "Click to unstar this board.", + "clipboard": "Clipboard or drag & drop", + "close": "Fermi", + "close-board": "Close Board", + "close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.", + "color-black": "nigra", + "color-blue": "blua", + "color-crimson": "crimson", + "color-darkgreen": "darkgreen", + "color-gold": "gold", + "color-gray": "gray", + "color-green": "verda", + "color-indigo": "indigo", + "color-lime": "lime", + "color-magenta": "magenta", + "color-mistyrose": "mistyrose", + "color-navy": "navy", + "color-orange": "oranĝa", + "color-paleturquoise": "paleturquoise", + "color-peachpuff": "peachpuff", + "color-pink": "pink", + "color-plum": "plum", + "color-purple": "purple", + "color-red": "ruĝa", + "color-saddlebrown": "saddlebrown", + "color-silver": "silver", + "color-sky": "sky", + "color-slateblue": "slateblue", + "color-white": "white", + "color-yellow": "flava", + "unset-color": "Unset", + "comment": "Komento", + "comment-placeholder": "Write Comment", + "comment-only": "Comment only", + "comment-only-desc": "Can comment on cards only.", + "no-comments": "No comments", + "no-comments-desc": "Can not see comments and activities.", + "worker": "Worker", + "worker-desc": "Can only move cards, assign itself to card and comment.", + "computer": "Komputilo", + "confirm-subtask-delete-dialog": "Are you sure you want to delete subtask?", + "confirm-checklist-delete-dialog": "Are you sure you want to delete checklist?", + "copy-card-link-to-clipboard": "Copy card link to clipboard", + "linkCardPopup-title": "Link Card", + "searchElementPopup-title": "Serĉi", + "copyCardPopup-title": "Copy Card", + "copyChecklistToManyCardsPopup-title": "Copy Checklist Template to Many Cards", + "copyChecklistToManyCardsPopup-instructions": "Destination Card Titles and Descriptions in this JSON format", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"First card title\", \"description\":\"First card description\"}, {\"title\":\"Second card title\",\"description\":\"Second card description\"},{\"title\":\"Last card title\",\"description\":\"Last card description\"} ]", + "create": "Krei", + "createBoardPopup-title": "Krei tavolon", + "chooseBoardSourcePopup-title": "Import board", + "createLabelPopup-title": "Create Label", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", + "current": "current", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-currency": "Currency", + "custom-field-currency-option": "Currency Code", + "custom-field-date": "Dato", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Nombro", + "custom-field-text": "Teksto", + "custom-fields": "Custom Fields", + "date": "Dato", + "decline": "Decline", + "default-avatar": "Default avatar", + "delete": "Delete", + "deleteCustomFieldPopup-title": "Delete Custom Field?", + "deleteLabelPopup-title": "Delete Label?", + "description": "Description", + "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", + "disambiguateMultiMemberPopup-title": "Disambiguate Member Action", + "discard": "Discard", + "done": "Farite", + "download": "Elŝuti", + "edit": "Redakti", + "edit-avatar": "Change Avatar", + "edit-profile": "Redakti profilon", + "edit-wip-limit": "Edit WIP Limit", + "soft-wip-limit": "Soft WIP Limit", + "editCardStartDatePopup-title": "Redakti komencdaton", + "editCardDueDatePopup-title": "Change due date", + "editCustomFieldPopup-title": "Edit Field", + "editCardSpentTimePopup-title": "Change spent time", + "editLabelPopup-title": "Ŝanĝi etikedon", + "editNotificationPopup-title": "Edit Notification", + "editProfilePopup-title": "Redakti profilon", + "email": "Retpoŝtadreso", + "email-enrollAccount-subject": "An account created for you on __siteName__", + "email-enrollAccount-text": "Hello __user__,\n\nTo start using the service, simply click the link below.\n\n__url__\n\nThanks.", + "email-fail": "Malsukcesis sendi retpoŝton", + "email-fail-text": "Error trying to send email", + "email-invalid": "Nevalida retpoŝtadreso", + "email-invite": "Inviti per retpoŝto", + "email-invite-subject": "__inviter__ sent you an invitation", + "email-invite-text": "Dear __user__,\n\n__inviter__ invites you to join board \"__board__\" for collaborations.\n\nPlease follow the link below:\n\n__url__\n\nThanks.", + "email-resetPassword-subject": "Reset your password on __siteName__", + "email-resetPassword-text": "Hello __user__,\n\nTo reset your password, simply click the link below.\n\n__url__\n\nThanks.", + "email-sent": "Sendis retpoŝton", + "email-verifyEmail-subject": "Verify your email address on __siteName__", + "email-verifyEmail-text": "Hello __user__,\n\nTo verify your account email, simply click the link below.\n\n__url__\n\nThanks.", + "enable-wip-limit": "Enable WIP Limit", + "error-board-doesNotExist": "This board does not exist", + "error-board-notAdmin": "You need to be admin of this board to do that", + "error-board-notAMember": "You need to be a member of this board to do that", + "error-json-malformed": "Via teksto estas nevalida JSON", + "error-json-schema": "Via JSON ne enhavas la ĝustajn informojn en ĝusta formato", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "Tio listo ne ekzistas", + "error-user-doesNotExist": "Tio uzanto ne ekzistas", + "error-user-notAllowSelf": "You can not invite yourself", + "error-user-notCreated": "Uzanto ne kreita", + "error-username-taken": "Uzantnomo jam prenita", + "error-email-taken": "Email has already been taken", + "export-board": "Export board", + "export-board-json": "Export board to JSON", + "export-board-csv": "Export board to CSV", + "export-board-tsv": "Export board to TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "Export board", + "sort": "Sort", + "sort-desc": "Click to Sort List", + "list-sort-by": "Sort the List By:", + "list-label-modifiedAt": "Last Access Time", + "list-label-title": "Name of the List", + "list-label-sort": "Your Manual Order", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Filter", + "filter-cards": "Filter Cards or Lists", + "list-filter-label": "Filter List by Title", + "filter-clear": "Clear filter", + "filter-no-label": "Nenia etikedo", + "filter-no-member": "Nenia membro", + "filter-no-assignee": "No assignee", + "filter-no-custom-fields": "No Custom Fields", + "filter-show-archive": "Show archived lists", + "filter-hide-empty": "Hide empty lists", + "filter-on": "Filter is on", + "filter-on-desc": "You are filtering cards on this board. Click here to edit filter.", + "filter-to-selection": "Filter to selection", + "advanced-filter-label": "Advanced Filter", + "advanced-filter-description": "Advanced Filter allows to write a string containing following operators: == != <= >= && || ( ) A space is used as a separator between the Operators. You can filter for all Custom Fields by typing their names and values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need to encapsulate them into single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) to be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally all operators are interpreted from left to right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i", + "fullname": "Plena nomo", + "header-logo-title": "Go back to your boards page.", + "hide-system-messages": "Hide system messages", + "headerBarCreateBoardPopup-title": "Krei tavolon", + "home": "Hejmo", + "import": "Importi", + "link": "Ligilo", + "import-board": "import board", + "import-board-c": "Import board", + "import-board-title-trello": "Import board from Trello", + "import-board-title-wekan": "Import board from previous export", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "From Trello", + "from-wekan": "From previous export", + "from-csv": "From CSV/TSV", + "import-board-instruction-trello": "In your Trello board, go to 'Menu', then 'More', 'Print and Export', 'Export JSON', and copy the resulting text.", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "In your board, go to 'Menu', then 'Export board', and copy the text in the downloaded file.", + "import-board-instruction-about-errors": "If you get errors when importing board, sometimes importing still works, and board is at All Boards page.", + "import-json-placeholder": "Paste your valid JSON data here", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "Map members", + "import-members-map": "Your imported board has some members. Please map the members you want to import to your users", + "import-show-user-mapping": "Review members mapping", + "import-user-select": "Pick your existing user you want to use as this member", + "importMapMembersAddPopup-title": "Select member", + "info": "Version", + "initials": "Initials", + "invalid-date": "Invalid date", + "invalid-time": "Invalid time", + "invalid-user": "Invalid user", + "joined": "joined", + "just-invited": "You are just invited to this board", + "keyboard-shortcuts": "Keyboard shortcuts", + "label-create": "Create Label", + "label-default": "%s label (default)", + "label-delete-pop": "There is no undo. This will remove this label from all cards and destroy its history.", + "labels": "Etikedoj", + "language": "Lingvo", + "last-admin-desc": "You can’t change roles because there must be at least one admin.", + "leave-board": "Leave Board", + "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.", + "leaveBoardPopup-title": "Leave Board ?", + "link-card": "Ligi al ĉitiu karto", + "list-archive-cards": "Move all cards in this list to Archive", + "list-archive-cards-pop": "This will remove all the cards in this list from the board. To view cards in Archive and bring them back to the board, click “Menu” > “Archive”.", + "list-move-cards": "Movu ĉiujn kartojn en tiu listo.", + "list-select-cards": "Elektu ĉiujn kartojn en tiu listo.", + "set-color-list": "Set Color", + "listActionPopup-title": "List Actions", + "swimlaneActionPopup-title": "Swimlane Actions", + "swimlaneAddPopup-title": "Add a Swimlane below", + "listImportCardPopup-title": "Import a Trello card", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "Pli", + "link-list": "Link to this list", + "list-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the list. There is no undo.", + "list-delete-suggest-archive": "You can move a list to Archive to remove it from the board and preserve the activity.", + "lists": "Listoj", + "swimlanes": "Swimlanes", + "log-out": "Elsaluti", + "log-in": "Ensaluti", + "loginPopup-title": "Ensaluti", + "memberMenuPopup-title": "Membraj agordoj", + "members": "Membroj", + "menu": "Menuo", + "move-selection": "Movi elekton", + "moveCardPopup-title": "Movi karton", + "moveCardToBottom-title": "Movi suben", + "moveCardToTop-title": "Movi supren", + "moveSelectionPopup-title": "Movi elekton", + "multi-selection": "Multi-Selection", + "multi-selection-on": "Multi-Selection is on", + "muted": "Muted", + "muted-info": "You will never be notified of any changes in this board", + "my-boards": "My Boards", + "name": "Nomo", + "no-archived-cards": "No cards in Archive.", + "no-archived-lists": "No lists in Archive.", + "no-archived-swimlanes": "No swimlanes in Archive.", + "no-results": "Neniaj rezultoj", + "normal": "Normala", + "normal-desc": "Can view and edit cards. Can't change settings.", + "not-accepted-yet": "Invitation not accepted yet", + "notify-participate": "Receive updates to any cards you participate as creater or member", + "notify-watch": "Receive updates to any boards, lists, or cards you’re watching", + "optional": "optional", + "or": "aŭ", + "page-maybe-private": "This page may be private. You may be able to view it by logging in.", + "page-not-found": "Netrovita paĝo.", + "password": "Pasvorto", + "paste-or-dragdrop": "to paste, or drag & drop image file to it (image only)", + "participating": "Participating", + "preview": "Preview", + "previewAttachedImagePopup-title": "Preview", + "previewClipboardImagePopup-title": "Preview", + "private": "Privata", + "private-desc": "This board is private. Only people added to the board can view and edit it.", + "profile": "Profilo", + "public": "Publika", + "public-desc": "This board is public. It's visible to anyone with the link and will show up in search engines like Google. Only people added to the board can edit.", + "quick-access-description": "Star a board to add a shortcut in this bar.", + "remove-cover": "Remove Cover", + "remove-from-board": "Remove from Board", + "remove-label": "Remove Label", + "listDeletePopup-title": "Delete List ?", + "remove-member": "Forigi membron", + "remove-member-from-card": "Forigi de karto", + "remove-member-pop": "Remove __name__ (__username__) from __boardTitle__? The member will be removed from all cards on this board. They will receive a notification.", + "removeMemberPopup-title": "Remove Member?", + "rename": "Renomi", + "rename-board": "Renomi tavolon", + "restore": "Forigi", + "save": "Savi", + "search": "Serĉi", + "rules": "Reguloj", + "search-cards": "Search from card/list titles, descriptions and custom fields on this board", + "search-example": "Text to search for?", + "select-color": "Select Color", + "set-wip-limit-value": "Set a limit for the maximum number of tasks in this list", + "setWipLimitPopup-title": "Set WIP Limit", + "shortcut-assign-self": "Assign yourself to current card", + "shortcut-autocomplete-emoji": "Autocomplete emoji", + "shortcut-autocomplete-members": "Autocomplete members", + "shortcut-clear-filters": "Clear all filters", + "shortcut-close-dialog": "Close Dialog", + "shortcut-filter-my-cards": "Filter my cards", + "shortcut-show-shortcuts": "Bring up this shortcuts list", + "shortcut-toggle-filterbar": "Toggle Filter Sidebar", + "shortcut-toggle-sidebar": "Toggle Board Sidebar", + "show-cards-minimum-count": "Show cards count if list contains more than", + "sidebar-open": "Open Sidebar", + "sidebar-close": "Close Sidebar", + "signupPopup-title": "Create an Account", + "star-board-title": "Click to star this board. It will show up at top of your boards list.", + "starred-boards": "Starred Boards", + "starred-boards-description": "Starred boards show up at the top of your boards list.", + "subscribe": "Subscribe", + "team": "Teamo", + "this-board": "this board", + "this-card": "this card", + "spent-time-hours": "Spent time (hours)", + "overtime-hours": "Overtime (hours)", + "overtime": "Overtime", + "has-overtime-cards": "Has overtime cards", + "has-spenttime-cards": "Has spent time cards", + "time": "Tempo", + "title": "Titolo", + "tracking": "Tracking", + "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Tipo", + "unassign-member": "Unassign member", + "unsaved-description": "You have an unsaved description.", + "unwatch": "Unwatch", + "upload": "Alŝuti", + "upload-avatar": "Upload an avatar", + "uploaded-avatar": "Uploaded an avatar", + "username": "Uzantnomo", + "view-it": "View it", + "warn-list-archived": "warning: this card is in an list at Archive", + "watch": "Rigardi", + "watching": "Rigardante", + "watching-info": "You will be notified of any change in this board", + "welcome-board": "Welcome Board", + "welcome-swimlane": "Milestone 1", + "welcome-list1": "Basics", + "welcome-list2": "Advanced", + "card-templates-swimlane": "Card Templates", + "list-templates-swimlane": "List Templates", + "board-templates-swimlane": "Board Templates", + "what-to-do": "Kion vi volas fari?", + "wipLimitErrorPopup-title": "Invalid WIP Limit", + "wipLimitErrorPopup-dialog-pt1": "The number of tasks in this list is higher than the WIP limit you've defined.", + "wipLimitErrorPopup-dialog-pt2": "Please move some tasks out of this list, or set a higher WIP limit.", + "admin-panel": "Admin Panel", + "settings": "Settings", + "people": "People", + "registration": "Registration", + "disable-self-registration": "Disable Self-Registration", + "invite": "Invite", + "invite-people": "Invite People", + "to-boards": "To board(s)", + "email-addresses": "Email Addresses", + "smtp-host-description": "The address of the SMTP server that handles your emails.", + "smtp-port-description": "The port your SMTP server uses for outgoing emails.", + "smtp-tls-description": "Enable TLS support for SMTP server", + "smtp-host": "SMTP Host", + "smtp-port": "SMTP Port", + "smtp-username": "Uzantnomo", + "smtp-password": "Pasvorto", + "smtp-tls": "TLS support", + "send-from": "From", + "send-smtp-test": "Send a test email to yourself", + "invitation-code": "Invitation Code", + "email-invite-register-subject": "__inviter__ sent you an invitation", + "email-invite-register-text": "Dear __user__,\n\n__inviter__ invites you to kanban board for collaborations.\n\nPlease follow the link below:\n__url__\n\nAnd your invitation code is: __icode__\n\nThanks.", + "email-smtp-test-subject": "SMTP Test Email", + "email-smtp-test-text": "You have successfully sent an email", + "error-invitation-code-not-exist": "Invitation code doesn't exist", + "error-notAuthorized": "You are not authorized to view this page.", + "webhook-title": "Webhook Name", + "webhook-token": "Token (Optional for Authentication)", + "outgoing-webhooks": "Outgoing Webhooks", + "bidirectional-webhooks": "Two-Way Webhooks", + "outgoingWebhooksPopup-title": "Outgoing Webhooks", + "boardCardTitlePopup-title": "Card Title Filter", + "disable-webhook": "Disable This Webhook", + "global-webhook": "Global Webhooks", + "new-outgoing-webhook": "New Outgoing Webhook", + "no-name": "(Unknown)", + "Node_version": "Node version", + "Meteor_version": "Meteor version", + "MongoDB_version": "MongoDB version", + "MongoDB_storage_engine": "MongoDB storage engine", + "MongoDB_Oplog_enabled": "MongoDB Oplog enabled", + "OS_Arch": "OS Arch", + "OS_Cpus": "OS CPU Count", + "OS_Freemem": "OS Free Memory", + "OS_Loadavg": "OS Load Average", + "OS_Platform": "OS Platform", + "OS_Release": "OS Release", + "OS_Totalmem": "OS Total Memory", + "OS_Type": "OS Type", + "OS_Uptime": "OS Uptime", + "days": "days", + "hours": "hours", + "minutes": "minutes", + "seconds": "seconds", + "show-field-on-card": "Show this field on card", + "automatically-field-on-card": "Auto create field to all cards", + "showLabel-field-on-card": "Show field label on minicard", + "yes": "Jes", + "no": "Ne", + "accounts": "Accounts", + "accounts-allowEmailChange": "Allow Email Change", + "accounts-allowUserNameChange": "Allow Username Change", + "createdAt": "Created at", + "verified": "Verified", + "active": "Active", + "card-received": "Received", + "card-received-on": "Received on", + "card-end": "End", + "card-end-on": "Ends on", + "editCardReceivedDatePopup-title": "Change received date", + "editCardEndDatePopup-title": "Change end date", + "setCardColorPopup-title": "Set color", + "setCardActionsColorPopup-title": "Choose a color", + "setSwimlaneColorPopup-title": "Choose a color", + "setListColorPopup-title": "Choose a color", + "assigned-by": "Assigned By", + "requested-by": "Requested By", + "board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.", + "delete-board-confirm-popup": "All lists, cards, labels, and activities will be deleted and you won't be able to recover the board contents. There is no undo.", + "boardDeletePopup-title": "Delete Board?", + "delete-board": "Delete Board", + "default-subtasks-board": "Subtasks for __board__ board", + "default": "Defaŭlto", + "queue": "Queue", + "subtask-settings": "Subtasks Settings", + "card-settings": "Card Settings", + "boardSubtaskSettingsPopup-title": "Board Subtasks Settings", + "boardCardSettingsPopup-title": "Card Settings", + "deposit-subtasks-board": "Deposit subtasks to this board:", + "deposit-subtasks-list": "Landing list for subtasks deposited here:", + "show-parent-in-minicard": "Show parent in minicard:", + "prefix-with-full-path": "Prefix with full path", + "prefix-with-parent": "Prefix with parent", + "subtext-with-full-path": "Subtext with full path", + "subtext-with-parent": "Subtext with parent", + "change-card-parent": "Change card's parent", + "parent-card": "Parent card", + "source-board": "Source board", + "no-parent": "Don't show parent", + "activity-added-label": "added label '%s' to %s", + "activity-removed-label": "removed label '%s' from %s", + "activity-delete-attach": "deleted an attachment from %s", + "activity-added-label-card": "added label '%s'", + "activity-removed-label-card": "removed label '%s'", + "activity-delete-attach-card": "deleted an attachment", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "Regulo", + "r-add-trigger": "Add trigger", + "r-add-action": "Add action", + "r-board-rules": "Board rules", + "r-add-rule": "Aldoni regulon", + "r-view-rule": "View rule", + "r-delete-rule": "Forigi regulon", + "r-new-rule-name": "New rule title", + "r-no-rules": "No rules", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "When a card", + "r-is": "is", + "r-is-moved": "is moved", + "r-added-to": "Added to", + "r-removed-from": "Removed from", + "r-the-board": "the board", + "r-list": "listo", + "set-filter": "Set Filter", + "r-moved-to": "Moved to", + "r-moved-from": "Moved from", + "r-archived": "Moved to Archive", + "r-unarchived": "Restored from Archive", + "r-a-card": "a card", + "r-when-a-label-is": "When a label is", + "r-when-the-label": "When the label", + "r-list-name": "list name", + "r-when-a-member": "When a member is", + "r-when-the-member": "When the member", + "r-name": "nomo", + "r-when-a-attach": "When an attachment", + "r-when-a-checklist": "When a checklist is", + "r-when-the-checklist": "When the checklist", + "r-completed": "Completed", + "r-made-incomplete": "Made incomplete", + "r-when-a-item": "When a checklist item is", + "r-when-the-item": "When the checklist item", + "r-checked": "Checked", + "r-unchecked": "Unchecked", + "r-move-card-to": "Move card to", + "r-top-of": "Top of", + "r-bottom-of": "Bottom of", + "r-its-list": "its list", + "r-archive": "Move to Archive", + "r-unarchive": "Restore from Archive", + "r-card": "card", + "r-add": "Aldoni", + "r-remove": "Forigi", + "r-label": "label", + "r-member": "membro", + "r-remove-all": "Remove all members from the card", + "r-set-color": "Set color to", + "r-checklist": "kontrololisto", + "r-check-all": "Check all", + "r-uncheck-all": "Uncheck all", + "r-items-check": "items of checklist", + "r-check": "Check", + "r-uncheck": "Uncheck", + "r-item": "item", + "r-of-checklist": "of checklist", + "r-send-email": "Send an email", + "r-to": "to", + "r-of": "of", + "r-subject": "temo", + "r-rule-details": "Rule details", + "r-d-move-to-top-gen": "Move card to top of its list", + "r-d-move-to-top-spec": "Move card to top of list", + "r-d-move-to-bottom-gen": "Move card to bottom of its list", + "r-d-move-to-bottom-spec": "Move card to bottom of list", + "r-d-send-email": "Send email", + "r-d-send-email-to": "to", + "r-d-send-email-subject": "temo", + "r-d-send-email-message": "mesaĝo", + "r-d-archive": "Move card to Archive", + "r-d-unarchive": "Restore card from Archive", + "r-d-add-label": "Add label", + "r-d-remove-label": "Remove label", + "r-create-card": "Create new card", + "r-in-list": "in list", + "r-in-swimlane": "in swimlane", + "r-d-add-member": "Aldoni membron", + "r-d-remove-member": "Forigi membron", + "r-d-remove-all-member": "Forigi ĉiujn membrojn", + "r-d-check-all": "Check all items of a list", + "r-d-uncheck-all": "Uncheck all items of a list", + "r-d-check-one": "Check item", + "r-d-uncheck-one": "Uncheck item", + "r-d-check-of-list": "of checklist", + "r-d-add-checklist": "Aldoni kontrololiston", + "r-d-remove-checklist": "Forigi kontrololiston", + "r-by": "by", + "r-add-checklist": "Aldoni kontrololiston", + "r-with-items": "with items", + "r-items-list": "item1,item2,item3", + "r-add-swimlane": "Add swimlane", + "r-swimlane-name": "swimlane name", + "r-board-note": "Note: leave a field empty to match every possible value.", + "r-checklist-note": "Note: checklist's items have to be written as comma separated values.", + "r-when-a-card-is-moved": "When a card is moved to another list", + "r-set": "Set", + "r-update": "Update", + "r-datefield": "date field", + "r-df-start-at": "start", + "r-df-due-at": "due", + "r-df-end-at": "end", + "r-df-received-at": "received", + "r-to-current-datetime": "to current date/time", + "r-remove-value-from": "Remove value from", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Authentication method", + "authentication-type": "Authentication type", + "custom-product-name": "Custom Product Name", + "layout": "Layout", + "hide-logo": "Hide Logo", + "add-custom-html-after-body-start": "Add Custom HTML after start", + "add-custom-html-before-body-end": "Add Custom HTML before end", + "error-undefined": "Something went wrong", + "error-ldap-login": "An error occurred while trying to login", + "display-authentication-method": "Display Authentication Method", + "default-authentication-method": "Default Authentication Method", + "duplicate-board": "Duplicate Board", + "people-number": "The number of people is:", + "swimlaneDeletePopup-title": "Delete Swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Restore all", + "delete-all": "Delete all", + "loading": "Loading, please wait.", + "previous_as": "last time was", + "act-a-dueAt": "modified due time to \nWhen: __timeValue__\nWhere: __card__\n previous due was __timeOldValue__", + "act-a-endAt": "modified ending time to __timeValue__ from (__timeOldValue__)", + "act-a-startAt": "modified starting time to __timeValue__ from (__timeOldValue__)", + "act-a-receivedAt": "modified received time to __timeValue__ from (__timeOldValue__)", + "a-dueAt": "modified due time to be", + "a-endAt": "modified ending time to be", + "a-startAt": "modified starting time to be", + "a-receivedAt": "modified received time to be", + "almostdue": "current due time %s is approaching", + "pastdue": "current due time %s is past", + "duenow": "current due time %s is today", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", + "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", + "act-duenow": "was reminding the current due (__timeValue__) of __card__ is now", + "act-atUserComment": "You were mentioned in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Are you sure you want to delete this account? There is no undo.", + "accounts-allowUserDelete": "Allow users to self delete their account", + "hide-minicard-label-text": "Hide minicard label text", + "show-desktop-drag-handles": "Show desktop drag handles", + "assignee": "Assignee", + "cardAssigneesPopup-title": "Assignee", + "addmore-detail": "Add a more detailed description", + "show-on-card": "Show on Card", + "new": "New", + "editUserPopup-title": "Edit User", + "newUserPopup-title": "New User", + "notifications": "Notifications", + "view-all": "View All", + "filter-by-unread": "Filter by Unread", + "mark-all-as-read": "Mark all as read", + "remove-all-read": "Remove all read", + "allow-rename": "Allow Rename", + "allowRenamePopup-title": "Allow Rename", + "start-day-of-week": "Set day of the week start", + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archived", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/es-AR.i18n.json b/i18n/es-AR.i18n.json new file mode 100644 index 0000000..2d4594b --- /dev/null +++ b/i18n/es-AR.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Aceptar", + "act-activity-notify": "Notificación de Actividad", + "act-addAttachment": "agregado archivo adjunto __attachment__ a tarjeta __card__ en la lista __list__ en el swimlane __swimlane__ en el tablero __board__", + "act-deleteAttachment": "eliminado archivo adjunto __attachment__ de la tarjeta __card__ en la lista __list__ en el swimlane __swimlane__ en el tablero __board__", + "act-addSubtask": "agregada subtarea __subtask__ a tarjeta __card__ en la lista __list__ en el swimlane __swimlane__ en el tablero __board__", + "act-addLabel": "Agregada etiqueta __label__ a tarjeta __card__ en la lista __list__ en el swimlane __swimlane__ en el tablero __board__", + "act-addedLabel": "Agregada etiqueta __label__ a tarjeta __card__ en la lista __list__ en el swimlane __swimlane__ en el tablero __board__", + "act-removeLabel": "Eliminada etiqueta __label__ de tarjeta __card__ en la lista __list__ en el swimlane __swimlane__ en el tablero __board__", + "act-removedLabel": "Eliminada etiqueta __label__ de tarjeta __card__ en la lista __list__ en el swimlane __swimlane__ en el tablero __board__", + "act-addChecklist": "agregada checklist __checklist__ a tarjeta __card__ en la lista __list__ en el swimlane __swimlane__ en el tablero __board__", + "act-addChecklistItem": "agregado ítem __checklistItem__ a checklist __checklist__ en la tarjeta __card__ en la lista __list__ en el swimlane __swimlane__ en el tablero __board__", + "act-removeChecklist": "eliminada checklist __checklist__ de tarjeta __card__ en la lista __list__ en el swimlane __swimlane__ en el tablero __board__", + "act-removeChecklistItem": "eliminado ítem __checklistItem__ de checklist __checklist__ en la tarjeta __card__ en la lista __list__ en el swimlane __swimlane__ en el tablero __board__", + "act-checkedItem": "marcado ítem __checklistItem__ de checklist __checklist__ en la tarjeta __card__ en la lista __list__ en el swimlane __swimlane__ en el tablero __board__", + "act-uncheckedItem": "desmarcado ítem __checklistItem__ de checklist __checklist__ en la tarjeta __card__ en la lista __list__ en el swimlane __swimlane__ en el tablero __board__", + "act-completeChecklist": "completada checklist __checklist__ en la tarjeta __card__ en la lista __list__ en el swimlane __swimlane__ en el tablero __board__", + "act-uncompleteChecklist": "uncompleted checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addComment": "commented on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-editComment": "edited comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteComment": "deleted comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createBoard": "created board __board__", + "act-createSwimlane": "created swimlane __swimlane__ to board __board__", + "act-createCard": "created card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-createCustomField": "created custom field __customField__ at board __board__", + "act-deleteCustomField": "deleted custom field __customField__ at board __board__", + "act-setCustomField": "edited custom field __customField__: __customFieldValue__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createList": "added list __list__ to board __board__", + "act-addBoardMember": "added member __member__ to board __board__", + "act-archivedBoard": "Board __board__ moved to Archive", + "act-archivedCard": "Card __card__ at list __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedList": "List __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedSwimlane": "Swimlane __swimlane__ at board __board__ moved to Archive", + "act-importBoard": "imported board __board__", + "act-importCard": "imported card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-importList": "imported list __list__ to swimlane __swimlane__ at board __board__", + "act-joinMember": "added member __member__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-moveCard": "moved card __card__ at board __board__ from list __oldList__ at swimlane __oldSwimlane__ to list __list__ at swimlane __swimlane__", + "act-moveCardToOtherBoard": "moved card __card__ from list __oldList__ at swimlane __oldSwimlane__ at board __oldBoard__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-removeBoardMember": "removed member __member__ from board __board__", + "act-restoredCard": "restored card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-unjoinMember": "removed member __member__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "__card__ [__board__] ", + "actions": "Acciones", + "activities": "Actividades", + "activity": "Actividad", + "activity-added": "agregadas %s a %s", + "activity-archived": "%s moved to Archive", + "activity-attached": "adjuntadas %s a %s", + "activity-created": "creadas %s", + "activity-customfield-created": "created custom field %s", + "activity-excluded": "excluidas %s de %s", + "activity-imported": "importadas %s en %s de %s", + "activity-imported-board": "importadas %s de %s", + "activity-joined": "unidas %s", + "activity-moved": "movidas %s de %s a %s", + "activity-on": "en %s", + "activity-removed": "eliminadas %s de %s", + "activity-sent": "enviadas %s a %s", + "activity-unjoined": "separadas %s", + "activity-subtask-added": "added subtask to %s", + "activity-checked-item": "checked %s in checklist %s of %s", + "activity-unchecked-item": "unchecked %s in checklist %s of %s", + "activity-checklist-added": "agregada lista de tareas a %s", + "activity-checklist-removed": "removed a checklist from %s", + "activity-checklist-completed": "completed checklist %s of %s", + "activity-checklist-uncompleted": "uncompleted the checklist %s of %s", + "activity-checklist-item-added": "agregado item de lista de tareas a '%s' en %s", + "activity-checklist-item-removed": "removed a checklist item from '%s' in %s", + "add": "Agregar", + "activity-checked-item-card": "checked %s in checklist %s", + "activity-unchecked-item-card": "unchecked %s in checklist %s", + "activity-checklist-completed-card": "completada checklist __checklist__ en la tarjeta __card__ en la lista __list__ en el swimlane __swimlane__ en el tablero __board__", + "activity-checklist-uncompleted-card": "uncompleted the checklist %s", + "activity-editComment": "comentario %s editado", + "activity-deleteComment": "comentario %s eliminado", + "add-attachment": "Agregar Adjunto", + "add-board": "Agregar Tablero", + "add-card": "Agregar Tarjeta", + "add-swimlane": "Agregar Calle", + "add-subtask": "Agregar Subtarea", + "add-checklist": "Agregar Lista de Tareas", + "add-checklist-item": "Agregar ítem a lista de tareas", + "add-cover": "Agregar Portadas", + "add-label": "Agregar Etiqueta", + "add-list": "Agregar Lista", + "add-members": "Agregar Miembros", + "added": "Agregadas", + "addMemberPopup-title": "Miembros", + "admin": "Administrador", + "admin-desc": "Puede ver y editar tarjetas, eliminar miembros, y cambiar opciones para el tablero.", + "admin-announcement": "Anuncio", + "admin-announcement-active": "Anuncio del Sistema Activo", + "admin-announcement-title": "Anuncio del Administrador", + "all-boards": "Todos los tableros", + "and-n-other-card": "Y __count__ otra tarjeta", + "and-n-other-card_plural": "Y __count__ otras tarjetas", + "apply": "Aplicar", + "app-is-offline": "Loading, please wait. Refreshing the page will cause data loss. If loading does not work, please check that server has not stopped.", + "archive": "Mover al Archivo", + "archive-all": "Mover Todo al Archivo", + "archive-board": "Mover Tablero al Archivo", + "archive-card": "Mover Tarjeta al Archivo", + "archive-list": "Mover Lista al Archivo", + "archive-swimlane": "Mover Calle al Archivo", + "archive-selection": "Mover selección al Archivo", + "archiveBoardPopup-title": "¿Mover Tablero al Archivo?", + "archived-items": "Archivar", + "archived-boards": "Tableros en el Archivo", + "restore-board": "Restaurar Tablero", + "no-archived-boards": "No hay Tableros en el Archivo", + "archives": "Archivar", + "template": "Plantilla", + "templates": "Plantillas", + "assign-member": "Asignar miembro", + "attached": "adjunto(s)", + "attachment": "Adjunto", + "attachment-delete-pop": "Borrar un adjunto es permanente. No hay deshacer.", + "attachmentDeletePopup-title": "¿Borrar Adjunto?", + "attachments": "Adjuntos", + "auto-watch": "Seguir tableros automáticamente al crearlos", + "avatar-too-big": "El avatar es muy grande (70KB max)", + "back": "Atrás", + "board-change-color": "Cambiar color", + "board-nb-stars": "%s estrellas", + "board-not-found": "Tablero no encontrado", + "board-private-info": "Este tablero va a ser privado.", + "board-public-info": "Este tablero va a ser público.", + "boardChangeColorPopup-title": "Cambiar Fondo del Tablero", + "boardChangeTitlePopup-title": "Renombrar Tablero", + "boardChangeVisibilityPopup-title": "Cambiar Visibilidad", + "boardChangeWatchPopup-title": "Alternar Seguimiento", + "boardMenuPopup-title": "Opciones del Tablero", + "boardChangeViewPopup-title": "Vista de Tablero", + "boards": "Tableros", + "board-view": "Vista de Tablero", + "board-view-cal": "Calendario", + "board-view-swimlanes": "Calles", + "board-view-collapse": "Collapse", + "board-view-lists": "Listas", + "bucket-example": "Como \"Lista de Contenedores\" por ejemplo", + "cancel": "Cancelar", + "card-archived": "Esta tarjeta es movida al Archivo.", + "board-archived": "Este tablero es movido al Archivo.", + "card-comments-title": "Esta tarjeta tiene %s comentario.", + "card-delete-notice": "Borrar es permanente. Perderás todas las acciones asociadas con esta tarjeta.", + "card-delete-pop": "Todas las acciones van a ser eliminadas del agregador de actividad y no podrás re-abrir la tarjeta. No hay deshacer.", + "card-delete-suggest-archive": "Podés mover una tarjeta al Archivo para eliminarla del tablero y preservar la actividad.", + "card-due": "Vence", + "card-due-on": "Vence en", + "card-spent": "Tiempo Empleado", + "card-edit-attachments": "Editar adjuntos", + "card-edit-custom-fields": "Editar campos personalizados", + "card-edit-labels": "Editar etiquetas", + "card-edit-members": "Editar miembros", + "card-labels-title": "Cambiar las etiquetas de la tarjeta.", + "card-members-title": "Agregar o eliminar de la tarjeta miembros del tablero.", + "card-start": "Empieza", + "card-start-on": "Empieza el", + "cardAttachmentsPopup-title": "Adjuntar De", + "cardCustomField-datePopup-title": "Cambiar fecha", + "cardCustomFieldsPopup-title": "Editar campos personalizados", + "cardStartVotingPopup-title": "Start a vote", + "positiveVoteMembersPopup-title": "Proponents", + "negativeVoteMembersPopup-title": "Opponents", + "card-edit-voting": "Edit voting", + "editVoteEndDatePopup-title": "Change vote end date", + "allowNonBoardMembers": "Allow all logged in users", + "vote-question": "Voting question", + "vote-public": "Show who voted what", + "vote-for-it": "for it", + "vote-against": "against", + "deleteVotePopup-title": "Delete vote?", + "vote-delete-pop": "Deleting is permanent. You will lose all actions associated with this vote.", + "cardDeletePopup-title": "¿Borrar Tarjeta?", + "cardDetailsActionsPopup-title": "Acciones de la Tarjeta", + "cardLabelsPopup-title": "Etiquetas", + "cardMembersPopup-title": "Miembros", + "cardMorePopup-title": "Mas", + "cardTemplatePopup-title": "Crear plantilla", + "cards": "Tarjetas", + "cards-count": "Tarjetas", + "casSignIn": "Ingresar con CAS", + "cardType-card": "Tarjeta", + "cardType-linkedCard": "Tarjeta Vinculada", + "cardType-linkedBoard": "Tablero Vinculado", + "change": "Cambiar", + "change-avatar": "Cambiar Avatar", + "change-password": "Cambiar Contraseña", + "change-permissions": "Cambiar permisos", + "change-settings": "Cambiar Opciones", + "changeAvatarPopup-title": "Cambiar Avatar", + "changeLanguagePopup-title": "Cambiar Lenguaje", + "changePasswordPopup-title": "Cambiar Contraseña", + "changePermissionsPopup-title": "Cambiar Permisos", + "changeSettingsPopup-title": "Cambiar Opciones", + "subtasks": "Subtareas", + "checklists": "Listas de ítems", + "click-to-star": "Clickeá para darle una estrella a este tablero.", + "click-to-unstar": "Clickeá para sacarle la estrella al tablero.", + "clipboard": "Portapapeles o arrastrar y soltar", + "close": "Cerrar", + "close-board": "Cerrar Tablero", + "close-board-pop": "Podrás restaurar el tablero clickeando el \"Archivo\" desde el encabesado de inicio.", + "color-black": "negro", + "color-blue": "azul", + "color-crimson": "crimson", + "color-darkgreen": "verdeoscuro", + "color-gold": "dorado", + "color-gray": "gris", + "color-green": "verde", + "color-indigo": "índigo", + "color-lime": "lima", + "color-magenta": "magenta", + "color-mistyrose": "rosamística", + "color-navy": "navy", + "color-orange": "naranja", + "color-paleturquoise": "paleturquoise", + "color-peachpuff": "peachpuff", + "color-pink": "rosa", + "color-plum": "plum", + "color-purple": "púrpura", + "color-red": "rojo", + "color-saddlebrown": "marróntriste", + "color-silver": "plata", + "color-sky": "cielo", + "color-slateblue": "slateblue", + "color-white": "blanco", + "color-yellow": "amarillo", + "unset-color": "Deseleccionado", + "comment": "Comentario", + "comment-placeholder": "Comentar", + "comment-only": "Comentar solamente", + "comment-only-desc": "Puede comentar en tarjetas solamente.", + "no-comments": "Sin comentarios", + "no-comments-desc": "Can not see comments and activities.", + "worker": "Worker", + "worker-desc": "Can only move cards, assign itself to card and comment.", + "computer": "Computadora", + "confirm-subtask-delete-dialog": "Are you sure you want to delete subtask?", + "confirm-checklist-delete-dialog": "Are you sure you want to delete checklist?", + "copy-card-link-to-clipboard": "Copiar enlace a tarjeta en el portapapeles", + "linkCardPopup-title": "Tarjeta vinculada", + "searchElementPopup-title": "Buscar", + "copyCardPopup-title": "Copiar Tarjeta", + "copyChecklistToManyCardsPopup-title": "Copiar Plantilla Checklist a Muchas Tarjetas", + "copyChecklistToManyCardsPopup-instructions": "Títulos y Descripciones de la Tarjeta Destino en este formato JSON", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"Título de primera tarjeta\", \"description\":\"Descripción de primera tarjeta\"}, {\"title\":\"Título de segunda tarjeta\",\"description\":\"Descripción de segunda tarjeta\"},{\"title\":\"Título de última tarjeta\",\"description\":\"Descripción de última tarjeta\"} ]", + "create": "Crear", + "createBoardPopup-title": "Crear Tablero", + "chooseBoardSourcePopup-title": "Importar tablero", + "createLabelPopup-title": "Crear Etiqueta", + "createCustomField": "Crear Campo", + "createCustomFieldPopup-title": "Crear Campo", + "current": "actual", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-currency": "Currency", + "custom-field-currency-option": "Currency Code", + "custom-field-date": "Fecha", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(ninguno)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Número", + "custom-field-text": "Texto", + "custom-fields": "Custom Fields", + "date": "Fecha", + "decline": "Rechazar", + "default-avatar": "Avatar por defecto", + "delete": "Borrar", + "deleteCustomFieldPopup-title": "Delete Custom Field?", + "deleteLabelPopup-title": "¿Borrar Etiqueta?", + "description": "Descripción", + "disambiguateMultiLabelPopup-title": "Desambiguación de Acción de Etiqueta", + "disambiguateMultiMemberPopup-title": "Desambiguación de Acción de Miembro", + "discard": "Descartar", + "done": "Hecho", + "download": "Descargar", + "edit": "Editar", + "edit-avatar": "Cambiar Avatar", + "edit-profile": "Editar Perfil", + "edit-wip-limit": "Editar Lìmite de TEP", + "soft-wip-limit": "Límite TEP suave", + "editCardStartDatePopup-title": "Cambiar fecha de inicio", + "editCardDueDatePopup-title": "Cambiar fecha de vencimiento", + "editCustomFieldPopup-title": "Edit Field", + "editCardSpentTimePopup-title": "Cambiar tiempo empleado", + "editLabelPopup-title": "Cambiar Etiqueta", + "editNotificationPopup-title": "Editar Notificación", + "editProfilePopup-title": "Editar Perfil", + "email": "Email", + "email-enrollAccount-subject": "Una cuenta creada para vos en __siteName__", + "email-enrollAccount-text": "Hola __user__,\n\nPara empezar a usar el servicio, simplemente clickeá en el enlace de abajo.\n\n__url__\n\nGracias.", + "email-fail": "Fallo envío de email", + "email-fail-text": "Error intentando enviar email", + "email-invalid": "Email inválido", + "email-invite": "Invitar vía Email", + "email-invite-subject": "__inviter__ te envió una invitación", + "email-invite-text": "Querido __user__,\n\n__inviter__ te invita a unirte al tablero \"__board__\" para colaborar.\n\nPor favor sigue el enlace de abajo:\n\n__url__\n\nGracias.", + "email-resetPassword-subject": "Restaurá tu contraseña en __siteName__", + "email-resetPassword-text": "Hola __user__,\n\nPara restaurar tu contraseña, simplemente clickeá el enlace de abajo.\n\n__url__\n\nGracias.", + "email-sent": "Email enviado", + "email-verifyEmail-subject": "Verificá tu dirección de email en __siteName__", + "email-verifyEmail-text": "Hola __user__,\n\nPara verificar tu cuenta de email, simplemente clickeá el enlace de abajo.\n\n__url__\n\nGracias.", + "enable-wip-limit": "Activar Límite TEP", + "error-board-doesNotExist": "Este tablero no existe", + "error-board-notAdmin": "Necesitás ser administrador de este tablero para hacer eso", + "error-board-notAMember": "Necesitás ser miembro de este tablero para hacer eso", + "error-json-malformed": "Tu texto no es JSON válido", + "error-json-schema": "Tus datos JSON no incluyen la información correcta en el formato adecuado", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "Esta lista no existe", + "error-user-doesNotExist": "Este usuario no existe", + "error-user-notAllowSelf": "No podés invitarte a vos mismo", + "error-user-notCreated": " El usuario no se creó", + "error-username-taken": "El nombre de usuario ya existe", + "error-email-taken": "El email ya existe", + "export-board": "Exportar tablero", + "export-board-json": "Export board to JSON", + "export-board-csv": "Export board to CSV", + "export-board-tsv": "Export board to TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "Exportar tablero", + "sort": "Sort", + "sort-desc": "Click to Sort List", + "list-sort-by": "Sort the List By:", + "list-label-modifiedAt": "Last Access Time", + "list-label-title": "Name of the List", + "list-label-sort": "Your Manual Order", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Filtrar", + "filter-cards": "Filter Cards or Lists", + "list-filter-label": "Filter List by Title", + "filter-clear": "Sacar filtro", + "filter-no-label": "Sin etiqueta", + "filter-no-member": "No es miembro", + "filter-no-assignee": "No assignee", + "filter-no-custom-fields": "No Custom Fields", + "filter-show-archive": "Show archived lists", + "filter-hide-empty": "Hide empty lists", + "filter-on": "El filtro está activado", + "filter-on-desc": "Estás filtrando cartas en este tablero. Clickeá acá para editar el filtro.", + "filter-to-selection": "Filtrar en la selección", + "advanced-filter-label": "Advanced Filter", + "advanced-filter-description": "Advanced Filter allows to write a string containing following operators: == != <= >= && || ( ) A space is used as a separator between the Operators. You can filter for all Custom Fields by typing their names and values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need to encapsulate them into single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) to be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally all operators are interpreted from left to right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i", + "fullname": "Nombre Completo", + "header-logo-title": "Retroceder a tu página de tableros.", + "hide-system-messages": "Esconder mensajes del sistema", + "headerBarCreateBoardPopup-title": "Crear Tablero", + "home": "Inicio", + "import": "Importar", + "link": "Link", + "import-board": "importar tablero", + "import-board-c": "Importar tablero", + "import-board-title-trello": "Importar tablero de Trello", + "import-board-title-wekan": "Import board from previous export", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "De Trello", + "from-wekan": "From previous export", + "from-csv": "From CSV/TSV", + "import-board-instruction-trello": "En tu tablero de Trello, ve a 'Menú', luego a 'Más', 'Imprimir y Exportar', 'Exportar JSON', y copia el texto resultante.", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "In your board, go to 'Menu', then 'Export board', and copy the text in the downloaded file.", + "import-board-instruction-about-errors": "If you get errors when importing board, sometimes importing still works, and board is at All Boards page.", + "import-json-placeholder": "Pegá tus datos JSON válidos acá", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "Mapear Miembros", + "import-members-map": "Your imported board has some members. Please map the members you want to import to your users", + "import-show-user-mapping": "Revisar mapeo de miembros", + "import-user-select": "Pick your existing user you want to use as this member", + "importMapMembersAddPopup-title": "Select member", + "info": "Versión", + "initials": "Iniciales", + "invalid-date": "Fecha inválida", + "invalid-time": "Tiempo inválido", + "invalid-user": "Usuario inválido", + "joined": "unido", + "just-invited": "Fuiste invitado a este tablero", + "keyboard-shortcuts": "Atajos de teclado", + "label-create": "Crear Etiqueta", + "label-default": "%s etiqueta (por defecto)", + "label-delete-pop": "No hay deshacer. Esto va a eliminar esta etiqueta de todas las tarjetas y destruir su historia.", + "labels": "Etiquetas", + "language": "Lenguaje", + "last-admin-desc": "No podés cambiar roles porque tiene que haber al menos un administrador.", + "leave-board": "Dejar Tablero", + "leave-board-pop": "¿Estás seguro que querés dejar __boardTitle__? Vas a salir de todas las tarjetas en este tablero.", + "leaveBoardPopup-title": "¿Dejar Tablero?", + "link-card": "Enlace a esta tarjeta", + "list-archive-cards": "Move all cards in this list to Archive", + "list-archive-cards-pop": "This will remove all the cards in this list from the board. To view cards in Archive and bring them back to the board, click “Menu” > “Archive”.", + "list-move-cards": "Mueve todas las tarjetas en esta lista", + "list-select-cards": "Selecciona todas las tarjetas en esta lista", + "set-color-list": "Set Color", + "listActionPopup-title": "Listar Acciones", + "swimlaneActionPopup-title": "Acciones de la Calle", + "swimlaneAddPopup-title": "Add a Swimlane below", + "listImportCardPopup-title": "Importar una tarjeta Trello", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "Mas", + "link-list": "Enlace a esta lista", + "list-delete-pop": "Todas las acciones van a ser eliminadas del agregador de actividad y no podás recuperar la lista. No se puede deshacer.", + "list-delete-suggest-archive": "You can move a list to Archive to remove it from the board and preserve the activity.", + "lists": "Listas", + "swimlanes": "Calles", + "log-out": "Salir", + "log-in": "Entrar", + "loginPopup-title": "Entrar", + "memberMenuPopup-title": "Opciones de Miembros", + "members": "Miembros", + "menu": "Menú", + "move-selection": "Mover selección", + "moveCardPopup-title": "Mover Tarjeta", + "moveCardToBottom-title": "Mover al Final", + "moveCardToTop-title": "Mover al Tope", + "moveSelectionPopup-title": "Mover selección", + "multi-selection": "Multi-Selección", + "multi-selection-on": "Multi-selección está activo", + "muted": "Silenciado", + "muted-info": "No serás notificado de ningún cambio en este tablero", + "my-boards": "Mis Tableros", + "name": "Nombre", + "no-archived-cards": "No cards in Archive.", + "no-archived-lists": "No lists in Archive.", + "no-archived-swimlanes": "No swimlanes in Archive.", + "no-results": "No hay resultados", + "normal": "Normal", + "normal-desc": "Puede ver y editar tarjetas. No puede cambiar opciones.", + "not-accepted-yet": "Invitación no aceptada todavía", + "notify-participate": "Recibí actualizaciones en cualquier tarjeta que participés como creador o miembro", + "notify-watch": "Recibí actualizaciones en cualquier tablero, lista, o tarjeta que estés siguiendo", + "optional": "opcional", + "or": "o", + "page-maybe-private": "Esta página puede ser privada. Vos podrás verla entrando.", + "page-not-found": "Página no encontrada.", + "password": "Contraseña", + "paste-or-dragdrop": "pegar, arrastrar y soltar el archivo de imagen a esto (imagen sola)", + "participating": "Participando", + "preview": "Previsualización", + "previewAttachedImagePopup-title": "Previsualización", + "previewClipboardImagePopup-title": "Previsualización", + "private": "Privado", + "private-desc": "Este tablero es privado. Solo personas agregadas a este tablero pueden verlo y editarlo.", + "profile": "Perfil", + "public": "Público", + "public-desc": "Este tablero es público. Es visible para cualquiera con un enlace y se va a mostrar en los motores de búsqueda como Google. Solo personas agregadas a este tablero pueden editarlo.", + "quick-access-description": "Dale una estrella al tablero para agregar un acceso directo en esta barra.", + "remove-cover": "Remover Portada", + "remove-from-board": "Remover del Tablero", + "remove-label": "Remover Etiqueta", + "listDeletePopup-title": "¿Borrar Lista?", + "remove-member": "Remover Miembro", + "remove-member-from-card": "Remover de Tarjeta", + "remove-member-pop": "¿Remover __name__ (__username__) de __boardTitle__? Los miembros va a ser removido de todas las tarjetas en este tablero. Serán notificados.", + "removeMemberPopup-title": "¿Remover Miembro?", + "rename": "Renombrar", + "rename-board": "Renombrar Tablero", + "restore": "Restaurar", + "save": "Grabar", + "search": "Buscar", + "rules": "Rules", + "search-cards": "Search from card/list titles, descriptions and custom fields on this board", + "search-example": "¿Texto a buscar?", + "select-color": "Seleccionar Color", + "set-wip-limit-value": "Fijar un límite para el número máximo de tareas en esta lista", + "setWipLimitPopup-title": "Establecer Límite TEP", + "shortcut-assign-self": "Asignarte a vos mismo en la tarjeta actual", + "shortcut-autocomplete-emoji": "Autocompletar emonji", + "shortcut-autocomplete-members": "Autocompletar miembros", + "shortcut-clear-filters": "Limpiar todos los filtros", + "shortcut-close-dialog": "Cerrar Diálogo", + "shortcut-filter-my-cards": "Filtrar mis tarjetas", + "shortcut-show-shortcuts": "Traer esta lista de atajos", + "shortcut-toggle-filterbar": "Activar/Desactivar Barra Lateral de Filtros", + "shortcut-toggle-sidebar": "Activar/Desactivar Barra Lateral de Tableros", + "show-cards-minimum-count": "Mostrar cuenta de tarjetas si la lista contiene más que", + "sidebar-open": "Abrir Barra Lateral", + "sidebar-close": "Cerrar Barra Lateral", + "signupPopup-title": "Crear Cuenta", + "star-board-title": "Clickear para darle una estrella a este tablero. Se mostrará arriba en el tope de tu lista de tableros.", + "starred-boards": "Tableros con estrellas", + "starred-boards-description": "Tableros con estrellas se muestran en el tope de tu lista de tableros.", + "subscribe": "Suscribirse", + "team": "Equipo", + "this-board": "este tablero", + "this-card": "esta tarjeta", + "spent-time-hours": "Tiempo empleado (horas)", + "overtime-hours": "Sobretiempo (horas)", + "overtime": "Sobretiempo", + "has-overtime-cards": "Tiene tarjetas con sobretiempo", + "has-spenttime-cards": "Ha gastado tarjetas de tiempo", + "time": "Hora", + "title": "Título", + "tracking": "Seguimiento", + "tracking-info": "Serás notificado de cualquier cambio a aquellas tarjetas en las que seas creador o miembro.", + "type": "Type", + "unassign-member": "Desasignar miembro", + "unsaved-description": "Tienes una descripción sin guardar.", + "unwatch": "Dejar de seguir", + "upload": "Cargar", + "upload-avatar": "Cargar un avatar", + "uploaded-avatar": "Cargado un avatar", + "username": "Nombre de usuario", + "view-it": "Verlo", + "warn-list-archived": "warning: this card is in an list at Archive", + "watch": "Seguir", + "watching": "Siguiendo", + "watching-info": "Serás notificado de cualquier cambio en este tablero", + "welcome-board": "Tablero de Bienvenida", + "welcome-swimlane": "Hito 1", + "welcome-list1": "Básicos", + "welcome-list2": "Avanzado", + "card-templates-swimlane": "Card Templates", + "list-templates-swimlane": "List Templates", + "board-templates-swimlane": "Board Templates", + "what-to-do": "¿Qué querés hacer?", + "wipLimitErrorPopup-title": "Límite TEP Inválido", + "wipLimitErrorPopup-dialog-pt1": " El número de tareas en esta lista es mayor que el límite TEP que definiste.", + "wipLimitErrorPopup-dialog-pt2": "Por favor mové algunas tareas fuera de esta lista, o seleccioná un límite TEP más alto.", + "admin-panel": "Panel de Administración", + "settings": "Opciones", + "people": "Gente", + "registration": "Registro", + "disable-self-registration": "Desactivar auto-registro", + "invite": "Invitar", + "invite-people": "Invitar Gente", + "to-boards": "A tarjeta(s)", + "email-addresses": "Dirección de Email", + "smtp-host-description": "La dirección del servidor SMTP que maneja tus emails", + "smtp-port-description": "El puerto que tu servidor SMTP usa para correos salientes", + "smtp-tls-description": "Activar soporte TLS para el servidor SMTP", + "smtp-host": "Servidor SMTP", + "smtp-port": "Puerto SMTP", + "smtp-username": "Usuario", + "smtp-password": "Contraseña", + "smtp-tls": "Soporte TLS", + "send-from": "De", + "send-smtp-test": "Enviarse un email de prueba", + "invitation-code": "Código de Invitación", + "email-invite-register-subject": "__inviter__ te envió una invitación", + "email-invite-register-text": "Dear __user__,\n\n__inviter__ invites you to kanban board for collaborations.\n\nPlease follow the link below:\n__url__\n\nAnd your invitation code is: __icode__\n\nThanks.", + "email-smtp-test-subject": "SMTP Test Email", + "email-smtp-test-text": "Enviaste el correo correctamente", + "error-invitation-code-not-exist": "El código de invitación no existe", + "error-notAuthorized": "No estás autorizado para ver esta página.", + "webhook-title": "Webhook Name", + "webhook-token": "Token (Optional for Authentication)", + "outgoing-webhooks": "Ganchos Web Salientes", + "bidirectional-webhooks": "Two-Way Webhooks", + "outgoingWebhooksPopup-title": "Ganchos Web Salientes", + "boardCardTitlePopup-title": "Card Title Filter", + "disable-webhook": "Disable This Webhook", + "global-webhook": "Global Webhooks", + "new-outgoing-webhook": "Nuevo Gancho Web", + "no-name": "(desconocido)", + "Node_version": "Versión de Node", + "Meteor_version": "Meteor version", + "MongoDB_version": "MongoDB version", + "MongoDB_storage_engine": "MongoDB storage engine", + "MongoDB_Oplog_enabled": "MongoDB Oplog enabled", + "OS_Arch": "Arch del SO", + "OS_Cpus": "Cantidad de CPU del SO", + "OS_Freemem": "Memoria Libre del SO", + "OS_Loadavg": "Carga Promedio del SO", + "OS_Platform": "Plataforma del SO", + "OS_Release": "Revisión del SO", + "OS_Totalmem": "Memoria Total del SO", + "OS_Type": "Tipo de SO", + "OS_Uptime": "Tiempo encendido del SO", + "days": "days", + "hours": "horas", + "minutes": "minutos", + "seconds": "segundos", + "show-field-on-card": "Show this field on card", + "automatically-field-on-card": "Auto create field to all cards", + "showLabel-field-on-card": "Show field label on minicard", + "yes": "Si", + "no": "No", + "accounts": "Cuentas", + "accounts-allowEmailChange": "Permitir Cambio de Email", + "accounts-allowUserNameChange": "Allow Username Change", + "createdAt": "Creado en", + "verified": "Verificado", + "active": "Activo", + "card-received": "Recibido", + "card-received-on": "Recibido en", + "card-end": "Termino", + "card-end-on": "Termina en", + "editCardReceivedDatePopup-title": "Cambiar fecha de recepción", + "editCardEndDatePopup-title": "Cambiar fecha de término", + "setCardColorPopup-title": "Set color", + "setCardActionsColorPopup-title": "Choose a color", + "setSwimlaneColorPopup-title": "Choose a color", + "setListColorPopup-title": "Choose a color", + "assigned-by": "Assigned By", + "requested-by": "Requested By", + "board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.", + "delete-board-confirm-popup": "All lists, cards, labels, and activities will be deleted and you won't be able to recover the board contents. There is no undo.", + "boardDeletePopup-title": "Delete Board?", + "delete-board": "Delete Board", + "default-subtasks-board": "Subtasks for __board__ board", + "default": "Default", + "queue": "Queue", + "subtask-settings": "Subtasks Settings", + "card-settings": "Card Settings", + "boardSubtaskSettingsPopup-title": "Board Subtasks Settings", + "boardCardSettingsPopup-title": "Card Settings", + "deposit-subtasks-board": "Deposit subtasks to this board:", + "deposit-subtasks-list": "Landing list for subtasks deposited here:", + "show-parent-in-minicard": "Show parent in minicard:", + "prefix-with-full-path": "Prefix with full path", + "prefix-with-parent": "Prefix with parent", + "subtext-with-full-path": "Subtext with full path", + "subtext-with-parent": "Subtext with parent", + "change-card-parent": "Change card's parent", + "parent-card": "Parent card", + "source-board": "Source board", + "no-parent": "Don't show parent", + "activity-added-label": "added label '%s' to %s", + "activity-removed-label": "removed label '%s' from %s", + "activity-delete-attach": "deleted an attachment from %s", + "activity-added-label-card": "added label '%s'", + "activity-removed-label-card": "removed label '%s'", + "activity-delete-attach-card": "deleted an attachment", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "Rule", + "r-add-trigger": "Add trigger", + "r-add-action": "Add action", + "r-board-rules": "Board rules", + "r-add-rule": "Add rule", + "r-view-rule": "View rule", + "r-delete-rule": "Delete rule", + "r-new-rule-name": "New rule title", + "r-no-rules": "No rules", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "When a card", + "r-is": "is", + "r-is-moved": "is moved", + "r-added-to": "Added to", + "r-removed-from": "Removed from", + "r-the-board": "the board", + "r-list": "list", + "set-filter": "Set Filter", + "r-moved-to": "Moved to", + "r-moved-from": "Moved from", + "r-archived": "Moved to Archive", + "r-unarchived": "Restored from Archive", + "r-a-card": "a card", + "r-when-a-label-is": "When a label is", + "r-when-the-label": "When the label", + "r-list-name": "list name", + "r-when-a-member": "When a member is", + "r-when-the-member": "When the member", + "r-name": "name", + "r-when-a-attach": "When an attachment", + "r-when-a-checklist": "When a checklist is", + "r-when-the-checklist": "When the checklist", + "r-completed": "Completed", + "r-made-incomplete": "Made incomplete", + "r-when-a-item": "When a checklist item is", + "r-when-the-item": "When the checklist item", + "r-checked": "Checked", + "r-unchecked": "Unchecked", + "r-move-card-to": "Move card to", + "r-top-of": "Top of", + "r-bottom-of": "Bottom of", + "r-its-list": "its list", + "r-archive": "Mover al Archivo", + "r-unarchive": "Restore from Archive", + "r-card": "card", + "r-add": "Agregar", + "r-remove": "Remove", + "r-label": "label", + "r-member": "member", + "r-remove-all": "Remove all members from the card", + "r-set-color": "Set color to", + "r-checklist": "checklist", + "r-check-all": "Check all", + "r-uncheck-all": "Uncheck all", + "r-items-check": "items of checklist", + "r-check": "Check", + "r-uncheck": "Uncheck", + "r-item": "item", + "r-of-checklist": "of checklist", + "r-send-email": "Send an email", + "r-to": "to", + "r-of": "of", + "r-subject": "subject", + "r-rule-details": "Rule details", + "r-d-move-to-top-gen": "Move card to top of its list", + "r-d-move-to-top-spec": "Move card to top of list", + "r-d-move-to-bottom-gen": "Move card to bottom of its list", + "r-d-move-to-bottom-spec": "Move card to bottom of list", + "r-d-send-email": "Send email", + "r-d-send-email-to": "to", + "r-d-send-email-subject": "subject", + "r-d-send-email-message": "message", + "r-d-archive": "Move card to Archive", + "r-d-unarchive": "Restore card from Archive", + "r-d-add-label": "Add label", + "r-d-remove-label": "Remove label", + "r-create-card": "Create new card", + "r-in-list": "in list", + "r-in-swimlane": "in swimlane", + "r-d-add-member": "Add member", + "r-d-remove-member": "Remove member", + "r-d-remove-all-member": "Remove all member", + "r-d-check-all": "Check all items of a list", + "r-d-uncheck-all": "Uncheck all items of a list", + "r-d-check-one": "Check item", + "r-d-uncheck-one": "Uncheck item", + "r-d-check-of-list": "of checklist", + "r-d-add-checklist": "Add checklist", + "r-d-remove-checklist": "Remove checklist", + "r-by": "by", + "r-add-checklist": "Add checklist", + "r-with-items": "with items", + "r-items-list": "item1,item2,item3", + "r-add-swimlane": "Add swimlane", + "r-swimlane-name": "swimlane name", + "r-board-note": "Note: leave a field empty to match every possible value.", + "r-checklist-note": "Note: checklist's items have to be written as comma separated values.", + "r-when-a-card-is-moved": "When a card is moved to another list", + "r-set": "Set", + "r-update": "Update", + "r-datefield": "date field", + "r-df-start-at": "start", + "r-df-due-at": "due", + "r-df-end-at": "end", + "r-df-received-at": "received", + "r-to-current-datetime": "to current date/time", + "r-remove-value-from": "Remove value from", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Authentication method", + "authentication-type": "Authentication type", + "custom-product-name": "Custom Product Name", + "layout": "Layout", + "hide-logo": "Hide Logo", + "add-custom-html-after-body-start": "Add Custom HTML after start", + "add-custom-html-before-body-end": "Add Custom HTML before end", + "error-undefined": "Something went wrong", + "error-ldap-login": "An error occurred while trying to login", + "display-authentication-method": "Display Authentication Method", + "default-authentication-method": "Default Authentication Method", + "duplicate-board": "Duplicate Board", + "people-number": "The number of people is:", + "swimlaneDeletePopup-title": "Delete Swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Restore all", + "delete-all": "Delete all", + "loading": "Loading, please wait.", + "previous_as": "last time was", + "act-a-dueAt": "modified due time to \nWhen: __timeValue__\nWhere: __card__\n previous due was __timeOldValue__", + "act-a-endAt": "modified ending time to __timeValue__ from (__timeOldValue__)", + "act-a-startAt": "modified starting time to __timeValue__ from (__timeOldValue__)", + "act-a-receivedAt": "modified received time to __timeValue__ from (__timeOldValue__)", + "a-dueAt": "modified due time to be", + "a-endAt": "modified ending time to be", + "a-startAt": "modified starting time to be", + "a-receivedAt": "modified received time to be", + "almostdue": "current due time %s is approaching", + "pastdue": "current due time %s is past", + "duenow": "current due time %s is today", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", + "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", + "act-duenow": "was reminding the current due (__timeValue__) of __card__ is now", + "act-atUserComment": "You were mentioned in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Are you sure you want to delete this account? There is no undo.", + "accounts-allowUserDelete": "Allow users to self delete their account", + "hide-minicard-label-text": "Hide minicard label text", + "show-desktop-drag-handles": "Show desktop drag handles", + "assignee": "Assignee", + "cardAssigneesPopup-title": "Assignee", + "addmore-detail": "Add a more detailed description", + "show-on-card": "Show on Card", + "new": "New", + "editUserPopup-title": "Edit User", + "newUserPopup-title": "New User", + "notifications": "Notifications", + "view-all": "View All", + "filter-by-unread": "Filter by Unread", + "mark-all-as-read": "Mark all as read", + "remove-all-read": "Remove all read", + "allow-rename": "Allow Rename", + "allowRenamePopup-title": "Allow Rename", + "start-day-of-week": "Set day of the week start", + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archived", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/es-CL.i18n.json b/i18n/es-CL.i18n.json new file mode 100644 index 0000000..6e2a04d --- /dev/null +++ b/i18n/es-CL.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Aceptar", + "act-activity-notify": "Notificación de actividad", + "act-addAttachment": "añadido el adjunto __attachment__ a la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-deleteAttachment": "eliminado el adjunto __attachment__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-addSubtask": "añadida la subtarea __subtask__ a la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-addLabel": "añadida la etiqueta __label__ a la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-addedLabel": "añadida la etiqueta __label__ a la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-removeLabel": "eliminada la etiqueta __label__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-removedLabel": "eliminada la etiqueta __label__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-addChecklist": "añadida la lista de verificación __checklist__ a la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-addChecklistItem": "añadido el elemento __checklistItem__ a la lista de verificación __checklist__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-removeChecklist": "eliminada la lista de verificación __checklist__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-removeChecklistItem": "eliminado el elemento __checklistItem__ de la lista de verificación __checkList__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-checkedItem": "marcado el elemento __checklistItem__ de la lista de verificación __checklist__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-uncheckedItem": "desmarcado el elemento __checklistItem__ de la lista de verificación __checklist__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-completeChecklist": "completada la lista de verificación __checklist__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-uncompleteChecklist": "no completada la lista de verificación __checklist__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-addComment": "comentario en la tarjeta__card__: __comment__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-editComment": "comentario editado en la tarjeta __card__: __comment__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-deleteComment": "comentario eliminado en la tarjeta __card__: __comment__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-createBoard": "creó el tablero __board__", + "act-createSwimlane": "creó el carril de flujo __swimlane__ en el tablero __board__", + "act-createCard": "creada la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-createCustomField": "creado el campo personalizado __customField__ en el tablero __board__", + "act-deleteCustomField": "eliminado el campo personalizado __customField__ del tablero __board__", + "act-setCustomField": "editado el campo personalizado __customField__: __customFieldValue__ en la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-createList": "añadida la lista __list__ al tablero __board__", + "act-addBoardMember": "añadido el mimbro __member__ al tablero __board__", + "act-archivedBoard": "El tablero __board__ se ha archivado", + "act-archivedCard": "La tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__ se ha archivado", + "act-archivedList": "La lista __list__ del carril __swimlane__ del tablero __board__ se ha archivado", + "act-archivedSwimlane": "El carril __swimlane__ del tablero __board__ se ha archivado", + "act-importBoard": "importado el tablero __board__", + "act-importCard": "importada la tarjeta __card__ a la lista __list__ del carrril __swimlane__ del tablero __board__", + "act-importList": "importada la lista __list__ al carril __swimlane__ del tablero __board__", + "act-joinMember": "añadido el miembro __member__ a la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-moveCard": "movida la tarjeta __card__ del tablero __board__ de la lista __oldList__ del carril __oldSwimlane__ a la lista __list__ del carril __swimlane__", + "act-moveCardToOtherBoard": "movida la tarjeta __card__ de la lista __oldList__ del carril __oldSwimlane__ del tablero __oldBoard__ a la lista __list__ del carril __swimlane__ del tablero __board__", + "act-removeBoardMember": "eliminado el miembro __member__ del tablero __board__", + "act-restoredCard": "restaurada la tarjeta __card__ a la lista __list__ del carril __swimlane__ del tablero __board__", + "act-unjoinMember": "eliminado el miembro __member__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Acciones", + "activities": "Actividades", + "activity": "Actividad", + "activity-added": "ha añadido %s a %s", + "activity-archived": "%s se ha archivado", + "activity-attached": "ha adjuntado %s a %s", + "activity-created": "ha creado %s", + "activity-customfield-created": "creó el campo personalizado %s", + "activity-excluded": "ha excluido %s de %s", + "activity-imported": "ha importado %s a %s desde %s", + "activity-imported-board": "ha importado %s desde %s", + "activity-joined": "se ha unido a %s", + "activity-moved": "ha movido %s de %s a %s", + "activity-on": "en %s", + "activity-removed": "ha eliminado %s de %s", + "activity-sent": "ha enviado %s a %s", + "activity-unjoined": "se ha desvinculado de %s", + "activity-subtask-added": "ha añadido la subtarea a %s", + "activity-checked-item": "marcado %s en la lista de verificación %s de %s", + "activity-unchecked-item": "desmarcado %s en lista %s de %s", + "activity-checklist-added": "ha añadido una lista de verificación a %s", + "activity-checklist-removed": "eliminada una lista de verificación desde %s", + "activity-checklist-completed": "lista de verificación completada %s de %s", + "activity-checklist-uncompleted": "no completado la lista %s de %s", + "activity-checklist-item-added": "ha añadido el elemento de la lista de verificación a '%s' en %s", + "activity-checklist-item-removed": "eliminado un elemento de la lista de verificación desde '%s' en %s", + "add": "Añadir", + "activity-checked-item-card": "marcado %s en la lista de verificación %s", + "activity-unchecked-item-card": "desmarcado %s en la lista de verificación %s", + "activity-checklist-completed-card": "completada la lista de verificación __checklist__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "activity-checklist-uncompleted-card": "no completó la lista de verificación %s", + "activity-editComment": "comentario editado", + "activity-deleteComment": "comentario eliminado", + "add-attachment": "Añadir adjunto", + "add-board": "Añadir tablero", + "add-card": "Añadir una tarjeta", + "add-swimlane": "Añadir un carril de flujo", + "add-subtask": "Añadir subtarea", + "add-checklist": "Añadir una lista de verificación", + "add-checklist-item": "Añadir un elemento a la lista de verificación", + "add-cover": "Añadir portada", + "add-label": "Añadir una etiqueta", + "add-list": "Añadir una lista", + "add-members": "Añadir miembros", + "added": "Añadida el", + "addMemberPopup-title": "Miembros", + "admin": "Administrador", + "admin-desc": "Puedes ver y editar tarjetas, eliminar miembros, y cambiar las preferencias del tablero", + "admin-announcement": "Aviso", + "admin-announcement-active": "Activar el aviso para todo el sistema", + "admin-announcement-title": "Aviso del administrador", + "all-boards": "Tableros", + "and-n-other-card": "y __count__ tarjeta más", + "and-n-other-card_plural": "y otras __count__ tarjetas", + "apply": "Aplicar", + "app-is-offline": "Cargando, espera por favor. Refrescar esta página causará pérdida de datos. Si la carga no funciona, por favor comprueba que el servidor no se ha parado.", + "archive": "Archivar", + "archive-all": "Archivar todo", + "archive-board": "Archivar este tablero", + "archive-card": "Archivar esta tarjeta", + "archive-list": "Archivar esta lista", + "archive-swimlane": "Archivar este carril", + "archive-selection": "Archivar esta selección", + "archiveBoardPopup-title": "¿Archivar este tablero?", + "archived-items": "Archivo", + "archived-boards": "Tableros en el Archivo", + "restore-board": "Restaurar el tablero", + "no-archived-boards": "No hay Tableros en el Archivo", + "archives": "Archivo", + "template": "Plantilla", + "templates": "Plantillas", + "assign-member": "Asignar miembros", + "attached": "adjuntado", + "attachment": "Adjunto", + "attachment-delete-pop": "La eliminación de un fichero adjunto es permanente. Esta acción no puede deshacerse.", + "attachmentDeletePopup-title": "¿Eliminar el adjunto?", + "attachments": "Adjuntos", + "auto-watch": "Suscribirse automáticamente a los tableros cuando son creados", + "avatar-too-big": "El avatar es muy grande (70KB máx.)", + "back": "Atrás", + "board-change-color": "Cambiar el color", + "board-nb-stars": "%s destacados", + "board-not-found": "Tablero no encontrado", + "board-private-info": "Este tablero será privado.", + "board-public-info": "Este tablero será público.", + "boardChangeColorPopup-title": "Cambiar el fondo del tablero", + "boardChangeTitlePopup-title": "Renombrar el tablero", + "boardChangeVisibilityPopup-title": "Cambiar visibilidad", + "boardChangeWatchPopup-title": "Cambiar vigilancia", + "boardMenuPopup-title": "Preferencias del tablero", + "boardChangeViewPopup-title": "Vista del tablero", + "boards": "Tableros", + "board-view": "Vista del tablero", + "board-view-cal": "Calendario", + "board-view-swimlanes": "Carriles", + "board-view-collapse": "Contraer", + "board-view-lists": "Listas", + "bucket-example": "Como “Cosas por hacer” por ejemplo", + "cancel": "Cancelar", + "card-archived": "Se archivó esta tarjeta", + "board-archived": "Se archivó este tablero", + "card-comments-title": "Esta tarjeta tiene %s comentarios.", + "card-delete-notice": "la eliminación es permanente. Perderás todas las acciones asociadas a esta tarjeta.", + "card-delete-pop": "Se eliminarán todas las acciones del historial de actividades y no se podrá volver a abrir la tarjeta. Esta acción no puede deshacerse.", + "card-delete-suggest-archive": "Puedes mover una tarjeta al Archivo para quitarla del tablero y preservar la actividad.", + "card-due": "Vence", + "card-due-on": "Vence el", + "card-spent": "Tiempo consumido", + "card-edit-attachments": "Editar los adjuntos", + "card-edit-custom-fields": "Editar los campos personalizados", + "card-edit-labels": "Editar las etiquetas", + "card-edit-members": "Editar los miembros", + "card-labels-title": "Cambia las etiquetas de la tarjeta", + "card-members-title": "Añadir o eliminar miembros del tablero desde la tarjeta.", + "card-start": "Comienza", + "card-start-on": "Comienza el", + "cardAttachmentsPopup-title": "Adjuntar desde", + "cardCustomField-datePopup-title": "Cambiar la fecha", + "cardCustomFieldsPopup-title": "Editar los campos personalizados", + "cardStartVotingPopup-title": "Comience a votar", + "positiveVoteMembersPopup-title": "Favorables", + "negativeVoteMembersPopup-title": "Contrarios", + "card-edit-voting": "Editar votación", + "editVoteEndDatePopup-title": "Cambie fecha de termino del voto", + "allowNonBoardMembers": "Permitir todos los usuarios autentificados", + "vote-question": "Pregunta de votación", + "vote-public": "Mostrar quien voto que", + "vote-for-it": "por esto", + "vote-against": "contrarios", + "deleteVotePopup-title": "¿Borrar voto?", + "vote-delete-pop": "El Borrado es permanente. Perderá todas las acciones asociadas con este voto.", + "cardDeletePopup-title": "¿Eliminar la tarjeta?", + "cardDetailsActionsPopup-title": "Acciones de la tarjeta", + "cardLabelsPopup-title": "Etiquetas", + "cardMembersPopup-title": "Miembros", + "cardMorePopup-title": "Más", + "cardTemplatePopup-title": "Crear plantilla", + "cards": "Tarjetas", + "cards-count": "Tarjetas", + "casSignIn": "Iniciar sesión con CAS", + "cardType-card": "Tarjeta", + "cardType-linkedCard": "Tarjeta enlazada", + "cardType-linkedBoard": "Tablero enlazado", + "change": "Cambiar", + "change-avatar": "Cambiar el avatar", + "change-password": "Cambiar la contraseña", + "change-permissions": "Cambiar los permisos", + "change-settings": "Cambiar las preferencias", + "changeAvatarPopup-title": "Cambiar el avatar", + "changeLanguagePopup-title": "Cambiar el idioma", + "changePasswordPopup-title": "Cambiar la contraseña", + "changePermissionsPopup-title": "Cambiar los permisos", + "changeSettingsPopup-title": "Cambiar las preferencias", + "subtasks": "Subtareas", + "checklists": "Lista de verificación", + "click-to-star": "Haz clic para destacar este tablero.", + "click-to-unstar": "Haz clic para dejar de destacar este tablero.", + "clipboard": "el portapapeles o con arrastrar y soltar", + "close": "Cerrar", + "close-board": "Cerrar el tablero", + "close-board-pop": "Podrás restaurar el tablero haciendo clic en el botón \"Archivo\" del encabezado de la pantalla inicial.", + "color-black": "negra", + "color-blue": "azul", + "color-crimson": "carmesí", + "color-darkgreen": "verde oscuro", + "color-gold": "oro", + "color-gray": "gris", + "color-green": "verde", + "color-indigo": "añil", + "color-lime": "lima", + "color-magenta": "magenta", + "color-mistyrose": "rosa claro", + "color-navy": "azul marino", + "color-orange": "naranja", + "color-paleturquoise": "turquesa", + "color-peachpuff": "melocotón", + "color-pink": "rosa", + "color-plum": "púrpura", + "color-purple": "violeta", + "color-red": "roja", + "color-saddlebrown": "marrón", + "color-silver": "plata", + "color-sky": "celeste", + "color-slateblue": "azul", + "color-white": "blanco", + "color-yellow": "amarilla", + "unset-color": "Desmarcar", + "comment": "Comentar", + "comment-placeholder": "Escribir comentario", + "comment-only": "Sólo comentarios", + "comment-only-desc": "Solo puedes comentar en las tarjetas.", + "no-comments": "No hay comentarios", + "no-comments-desc": "No se pueden mostrar comentarios ni actividades.", + "worker": "Trabajador", + "worker-desc": "Solo puede mover tarjetas, asignarse a la tarjeta y comentar.", + "computer": "el ordenador", + "confirm-subtask-delete-dialog": "¿Seguro que quieres eliminar la subtarea?", + "confirm-checklist-delete-dialog": "¿Seguro que quieres eliminar la lista de verificación?", + "copy-card-link-to-clipboard": "Copiar el enlace de la tarjeta al portapapeles", + "linkCardPopup-title": "Enlazar tarjeta", + "searchElementPopup-title": "Buscar", + "copyCardPopup-title": "Copiar la tarjeta", + "copyChecklistToManyCardsPopup-title": "Copiar la plantilla de la lista de verificación en varias tarjetas", + "copyChecklistToManyCardsPopup-instructions": "Títulos y descripciones de las tarjetas de destino en formato JSON", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"Título de la primera tarjeta\", \"description\":\"Descripción de la primera tarjeta\"}, {\"title\":\"Título de la segunda tarjeta\",\"description\":\"Descripción de la segunda tarjeta\"},{\"title\":\"Título de la última tarjeta\",\"description\":\"Descripción de la última tarjeta\"} ]", + "create": "Crear", + "createBoardPopup-title": "Crear tablero", + "chooseBoardSourcePopup-title": "Importar un tablero", + "createLabelPopup-title": "Crear etiqueta", + "createCustomField": "Crear un campo", + "createCustomFieldPopup-title": "Crear un campo", + "current": "actual", + "custom-field-delete-pop": "Se eliminará este campo personalizado de todas las tarjetas y se destruirá su historial. Esta acción no puede deshacerse.", + "custom-field-checkbox": "Casilla de verificación", + "custom-field-currency": "Currency", + "custom-field-currency-option": "Currency Code", + "custom-field-date": "Fecha", + "custom-field-dropdown": "Lista desplegable", + "custom-field-dropdown-none": "(nada)", + "custom-field-dropdown-options": "Opciones de la lista", + "custom-field-dropdown-options-placeholder": "Pulsa Intro para añadir más opciones", + "custom-field-dropdown-unknown": "(desconocido)", + "custom-field-number": "Número", + "custom-field-text": "Texto", + "custom-fields": "Campos personalizados", + "date": "Fecha", + "decline": "Declinar", + "default-avatar": "Avatar por defecto", + "delete": "Eliminar", + "deleteCustomFieldPopup-title": "¿Eliminar el campo personalizado?", + "deleteLabelPopup-title": "¿Eliminar la etiqueta?", + "description": "Descripción", + "disambiguateMultiLabelPopup-title": "Desambiguar la acción de etiqueta", + "disambiguateMultiMemberPopup-title": "Desambiguar la acción de miembro", + "discard": "Descartarla", + "done": "Hecho", + "download": "Descargar", + "edit": "Editar", + "edit-avatar": "Cambiar el avatar", + "edit-profile": "Editar el perfil", + "edit-wip-limit": "Cambiar el límite del trabajo en proceso", + "soft-wip-limit": "Límite del trabajo en proceso flexible", + "editCardStartDatePopup-title": "Cambiar la fecha de comienzo", + "editCardDueDatePopup-title": "Cambiar la fecha de vencimiento", + "editCustomFieldPopup-title": "Editar el campo", + "editCardSpentTimePopup-title": "Cambiar el tiempo consumido", + "editLabelPopup-title": "Cambiar la etiqueta", + "editNotificationPopup-title": "Editar las notificaciones", + "editProfilePopup-title": "Editar el perfil", + "email": "Correo electrónico", + "email-enrollAccount-subject": "Cuenta creada en __siteName__", + "email-enrollAccount-text": "Hola __user__,\n\nPara empezar a utilizar el servicio, simplemente haz clic en el siguiente enlace.\n\n__url__\n\nGracias.", + "email-fail": "Error al enviar el correo", + "email-fail-text": "Error al intentar enviar el correo", + "email-invalid": "Correo no válido", + "email-invite": "Invitar vía correo electrónico", + "email-invite-subject": "__inviter__ ha enviado una invitación", + "email-invite-text": "Estimado __user__,\n\n__inviter__ te invita a unirte al tablero '__board__' para colaborar.\n\nPor favor, haz clic en el siguiente enlace:\n\n__url__\n\nGracias.", + "email-resetPassword-subject": "Restablecer tu contraseña en __siteName__", + "email-resetPassword-text": "Hola __user__,\n\nPara restablecer tu contraseña, haz clic en el siguiente enlace.\n\n__url__\n\nGracias.", + "email-sent": "Correo enviado", + "email-verifyEmail-subject": "Verifica tu dirección de correo en __siteName__", + "email-verifyEmail-text": "Hola __user__,\n\nPara verificar tu cuenta de correo electrónico, haz clic en el siguiente enlace.\n\n__url__\n\nGracias.", + "enable-wip-limit": "Habilitar el límite del trabajo en proceso", + "error-board-doesNotExist": "El tablero no existe", + "error-board-notAdmin": "Es necesario ser administrador de este tablero para hacer eso", + "error-board-notAMember": "Es necesario ser miembro de este tablero para hacer eso", + "error-json-malformed": "El texto no es un JSON válido", + "error-json-schema": "Sus datos JSON no incluyen la información apropiada en el formato correcto", + "error-csv-schema": "Su CSV(Valores separados por coma)/TSV(Valores separados por tab) no incluyen la información apropiada en el formato correcto", + "error-list-doesNotExist": "La lista no existe", + "error-user-doesNotExist": "El usuario no existe", + "error-user-notAllowSelf": "No puedes invitarte a ti mismo", + "error-user-notCreated": "El usuario no ha sido creado", + "error-username-taken": "Este nombre de usuario ya está en uso", + "error-email-taken": "Esta dirección de correo ya está en uso", + "export-board": "Exportar el tablero", + "export-board-json": "Exportar tablero a JSON", + "export-board-csv": "Exportar tablero a CSV", + "export-board-tsv": "Exportar tablero a TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "Exportar el tablero", + "sort": "Ordenar", + "sort-desc": "Click para ordenar la lista", + "list-sort-by": "Ordenar la lista por:", + "list-label-modifiedAt": "Hora de último acceso", + "list-label-title": "Nombre de la lista", + "list-label-sort": "Tu orden manual", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Filtrar", + "filter-cards": "Filtrar tarjetas o listas", + "list-filter-label": "Filtrar listas por título", + "filter-clear": "Limpiar el filtro", + "filter-no-label": "Sin etiqueta", + "filter-no-member": "Sin miembro", + "filter-no-assignee": "No asignado", + "filter-no-custom-fields": "Sin campos personalizados", + "filter-show-archive": "Mostrar las listas archivadas", + "filter-hide-empty": "Ocultar las listas vacías", + "filter-on": "Filtrado activado", + "filter-on-desc": "Estás filtrando tarjetas en este tablero. Haz clic aquí para editar el filtro.", + "filter-to-selection": "Filtrar la selección", + "advanced-filter-label": "Filtrado avanzado", + "advanced-filter-description": "El filtrado avanzado permite escribir una cadena que contiene los siguientes operadores: == != <= >= && || ( ) Se utiliza un espacio como separador entre los operadores. Se pueden filtrar todos los campos personalizados escribiendo sus nombres y valores. Por ejemplo: Campo1 == Valor1. Nota: Si los campos o valores contienen espacios, deben encapsularse entre comillas simples. Por ejemplo: 'Campo 1' == 'Valor 1'. Para omitir los caracteres de control único (' \\/), se usa \\. Por ejemplo: Campo1 = I\\'m. También se pueden combinar múltiples condiciones. Por ejemplo: C1 == V1 || C1 == V2. Normalmente todos los operadores se interpretan de izquierda a derecha. Se puede cambiar el orden colocando paréntesis. Por ejemplo: C1 == V1 && ( C2 == V2 || C2 == V3 ). También se puede buscar en campos de texto usando expresiones regulares: C1 == /Tes.*/i", + "fullname": "Nombre completo", + "header-logo-title": "Volver a tu página de tableros", + "hide-system-messages": "Ocultar las notificaciones de actividad", + "headerBarCreateBoardPopup-title": "Crear tablero", + "home": "Inicio", + "import": "Importar", + "link": "Enlace", + "import-board": "importar un tablero", + "import-board-c": "Importar un tablero", + "import-board-title-trello": "Importar un tablero desde Trello", + "import-board-title-wekan": "Importar tablero desde una exportación previa", + "import-board-title-csv": "Importar tablero desde CSV/TSV", + "from-trello": "Desde Trello", + "from-wekan": "Desde exportación previa", + "from-csv": "Desde CSV/TSV", + "import-board-instruction-trello": "En tu tablero de Trello, ve a 'Menú', luego 'Más' > 'Imprimir y exportar' > 'Exportar JSON', y copia el texto resultante.", + "import-board-instruction-csv": "Pegue en sus Valores separados por coma(CSV)/Valores separados por tab(TSV).", + "import-board-instruction-wekan": "En tu tablero, vete a 'Menú', luego 'Exportar tablero', y copia el texto en el archivo descargado.", + "import-board-instruction-about-errors": "Aunque obtengas errores cuando importes el tablero, a veces la importación funciona igualmente, y el tablero se encontrará en la página de tableros.", + "import-json-placeholder": "Pega tus datos JSON válidos aquí", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "Mapa de miembros", + "import-members-map": "Tu tablero importado tiene algunos miembros. Por favor, mapea los miembros que quieres importar con tus usuarios.", + "import-show-user-mapping": "Revisión de la asignación de miembros", + "import-user-select": "Selecciona el miembro existe que quieres usar como este miembro.", + "importMapMembersAddPopup-title": "Seleccionar miembro", + "info": "Versión", + "initials": "Iniciales", + "invalid-date": "Fecha no válida", + "invalid-time": "Tiempo no válido", + "invalid-user": "Usuario no válido", + "joined": "se ha unido", + "just-invited": "Has sido invitado a este tablero", + "keyboard-shortcuts": "Atajos de teclado", + "label-create": "Crear una etiqueta", + "label-default": "etiqueta %s (por defecto)", + "label-delete-pop": "Se eliminará esta etiqueta de todas las tarjetas y se destruirá su historial. Esta acción no puede deshacerse.", + "labels": "Etiquetas", + "language": "Cambiar el idioma", + "last-admin-desc": "No puedes cambiar roles porque debe haber al menos un administrador.", + "leave-board": "Abandonar el tablero", + "leave-board-pop": "¿Seguro que quieres abandonar __boardTitle__? Serás desvinculado de todas las tarjetas en este tablero.", + "leaveBoardPopup-title": "¿Abandonar el tablero?", + "link-card": "Enlazar a esta tarjeta", + "list-archive-cards": "Archivar todas las tarjetas de esta lista", + "list-archive-cards-pop": "Esto eliminará del tablero todas las tarjetas en esta lista. Para ver las tarjetas en el Archivo y recuperarlas al tablero haga click en \"Menu\" > \"Archivo\"", + "list-move-cards": "Mover todas las tarjetas de esta lista", + "list-select-cards": "Seleccionar todas las tarjetas de esta lista", + "set-color-list": "Cambiar el color", + "listActionPopup-title": "Acciones de la lista", + "swimlaneActionPopup-title": "Acciones del carril de flujo", + "swimlaneAddPopup-title": "Añadir un carril de flujo debajo", + "listImportCardPopup-title": "Importar una tarjeta de Trello", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "Más", + "link-list": "Enlazar a esta lista", + "list-delete-pop": "Todas las acciones serán eliminadas del historial de actividades y no se podrá recuperar la lista. Esta acción no puede deshacerse.", + "list-delete-suggest-archive": "Puedes mover una lista al Archivo para quitarla del tablero y preservar la actividad.", + "lists": "Listas", + "swimlanes": "Carriles", + "log-out": "Finalizar la sesión", + "log-in": "Iniciar sesión", + "loginPopup-title": "Iniciar sesión", + "memberMenuPopup-title": "Preferencias de miembro", + "members": "Miembros", + "menu": "Menú", + "move-selection": "Mover la selección", + "moveCardPopup-title": "Mover la tarjeta", + "moveCardToBottom-title": "Mover al final", + "moveCardToTop-title": "Mover al principio", + "moveSelectionPopup-title": "Mover la selección", + "multi-selection": "Selección múltiple", + "multi-selection-on": "Selección múltiple activada", + "muted": "Silenciado", + "muted-info": "No serás notificado de ningún cambio en este tablero", + "my-boards": "Mis tableros", + "name": "Nombre", + "no-archived-cards": "No hay tarjetas archivadas.", + "no-archived-lists": "No hay listas archivadas.", + "no-archived-swimlanes": "No hay carriles archivados.", + "no-results": "Sin resultados", + "normal": "Normal", + "normal-desc": "Puedes ver y editar tarjetas. No puedes cambiar la configuración.", + "not-accepted-yet": "La invitación no ha sido aceptada aún", + "notify-participate": "Recibir actualizaciones de cualquier tarjeta en la que participas como creador o miembro", + "notify-watch": "Recibir actuaizaciones de cualquier tablero, lista o tarjeta que estés vigilando", + "optional": "opcional", + "or": "o", + "page-maybe-private": "Esta página puede ser privada. Es posible que puedas verla al iniciar sesión.", + "page-not-found": "Página no encontrada.", + "password": "Contraseña", + "paste-or-dragdrop": "pegar o arrastrar y soltar un fichero de imagen (sólo imagen)", + "participating": "Participando", + "preview": "Previsualizar", + "previewAttachedImagePopup-title": "Previsualizar", + "previewClipboardImagePopup-title": "Previsualizar", + "private": "Privado", + "private-desc": "Este tablero es privado. Sólo las personas añadidas al tablero pueden verlo y editarlo.", + "profile": "Perfil", + "public": "Público", + "public-desc": "Este tablero es público. Es visible para cualquiera a través del enlace, y se mostrará en los buscadores como Google. Sólo las personas añadidas al tablero pueden editarlo.", + "quick-access-description": "Destaca un tablero para añadir un acceso directo en esta barra.", + "remove-cover": "Eliminar portada", + "remove-from-board": "Desvincular del tablero", + "remove-label": "Eliminar la etiqueta", + "listDeletePopup-title": "¿Eliminar la lista?", + "remove-member": "Eliminar miembro", + "remove-member-from-card": "Eliminar de la tarjeta", + "remove-member-pop": "¿Eliminar __name__ (__username__) de __boardTitle__? El miembro será eliminado de todas las tarjetas de este tablero. En ellas se mostrará una notificación.", + "removeMemberPopup-title": "¿Eliminar miembro?", + "rename": "Renombrar", + "rename-board": "Renombrar el tablero", + "restore": "Restaurar", + "save": "Añadir", + "search": "Buscar", + "rules": "Reglas", + "search-cards": "Buscar entre los títulos, las descripciones de las tarjetas/listas y los campos personalizados en este tablero.", + "search-example": "¿Texto a buscar?", + "select-color": "Seleccionar el color", + "set-wip-limit-value": "Cambiar el límite para el número máximo de tareas en esta lista.", + "setWipLimitPopup-title": "Cambiar el límite del trabajo en proceso", + "shortcut-assign-self": "Asignarte a ti mismo a la tarjeta actual", + "shortcut-autocomplete-emoji": "Autocompletar emoji", + "shortcut-autocomplete-members": "Autocompletar miembros", + "shortcut-clear-filters": "Limpiar todos los filtros", + "shortcut-close-dialog": "Cerrar el cuadro de diálogo", + "shortcut-filter-my-cards": "Filtrar mis tarjetas", + "shortcut-show-shortcuts": "Mostrar esta lista de atajos", + "shortcut-toggle-filterbar": "Conmutar la barra lateral del filtro", + "shortcut-toggle-sidebar": "Conmutar la barra lateral del tablero", + "show-cards-minimum-count": "Mostrar recuento de tarjetas si la lista contiene más de", + "sidebar-open": "Abrir la barra lateral", + "sidebar-close": "Cerrar la barra lateral", + "signupPopup-title": "Crear una cuenta", + "star-board-title": "Haz clic para destacar este tablero. Se mostrará en la parte superior de tu lista de tableros.", + "starred-boards": "Tableros destacados", + "starred-boards-description": "Los tableros destacados se mostrarán en la parte superior de tu lista de tableros.", + "subscribe": "Suscribirse", + "team": "Equipo", + "this-board": "este tablero", + "this-card": "esta tarjeta", + "spent-time-hours": "Tiempo consumido (horas)", + "overtime-hours": "Tiempo excesivo (horas)", + "overtime": "Tiempo excesivo", + "has-overtime-cards": "Hay tarjetas con el tiempo excedido", + "has-spenttime-cards": "Se ha excedido el tiempo de las tarjetas", + "time": "Hora", + "title": "Título", + "tracking": "Siguiendo", + "tracking-info": "Serás notificado de cualquier cambio en las tarjetas en las que participas como creador o miembro.", + "type": "Tipo", + "unassign-member": "Desvincular al miembro", + "unsaved-description": "Tienes una descripción por añadir.", + "unwatch": "Dejar de vigilar", + "upload": "Cargar", + "upload-avatar": "Cargar un avatar", + "uploaded-avatar": "Avatar cargado", + "username": "Nombre de usuario", + "view-it": "Verla", + "warn-list-archived": "advertencia: esta tarjeta está en una lista en el Archivo", + "watch": "Vigilar", + "watching": "Vigilando", + "watching-info": "Serás notificado de cualquier cambio en este tablero", + "welcome-board": "Tablero de bienvenida", + "welcome-swimlane": "Hito 1", + "welcome-list1": "Básicos", + "welcome-list2": "Avanzados", + "card-templates-swimlane": "Plantilla de tarjeta", + "list-templates-swimlane": "Listar plantillas", + "board-templates-swimlane": "Plantilla de tablero", + "what-to-do": "¿Qué quieres hacer?", + "wipLimitErrorPopup-title": "El límite del trabajo en proceso no es válido.", + "wipLimitErrorPopup-dialog-pt1": "El número de tareas en esta lista es mayor que el límite del trabajo en proceso que has definido.", + "wipLimitErrorPopup-dialog-pt2": "Por favor, mueve algunas tareas fuera de esta lista, o fija un límite del trabajo en proceso más alto.", + "admin-panel": "Panel del administrador", + "settings": "Preferencias", + "people": "Personas", + "registration": "Registro", + "disable-self-registration": "Deshabilitar autoregistro", + "invite": "Invitar", + "invite-people": "Invitar a personas", + "to-boards": "A el(los) tablero(s)", + "email-addresses": "Direcciones de correo electrónico", + "smtp-host-description": "Dirección del servidor SMTP para gestionar tus correos", + "smtp-port-description": "Puerto usado por el servidor SMTP para mandar correos", + "smtp-tls-description": "Habilitar el soporte TLS para el servidor SMTP", + "smtp-host": "Servidor SMTP", + "smtp-port": "Puerto SMTP", + "smtp-username": "Nombre de usuario", + "smtp-password": "Contraseña", + "smtp-tls": "Soporte TLS", + "send-from": "Desde", + "send-smtp-test": "Enviarte un correo de prueba a ti mismo", + "invitation-code": "Código de Invitación", + "email-invite-register-subject": "__inviter__ te ha enviado una invitación", + "email-invite-register-text": "Querido __user__,\n__inviter__ le invita al tablero kanban para colaborar.\n\nPor favor, siga el siguiente enlace:\n__url__\n\nY tu código de invitación es: __icode__\n\nGracias.", + "email-smtp-test-subject": "Prueba de email SMTP", + "email-smtp-test-text": "El correo se ha enviado correctamente", + "error-invitation-code-not-exist": "El código de invitación no existe", + "error-notAuthorized": "No estás autorizado a ver esta página.", + "webhook-title": "Nombre del Webhook", + "webhook-token": "Token (opcional para la autenticación)", + "outgoing-webhooks": "Webhooks salientes", + "bidirectional-webhooks": "Webhooks de doble sentido", + "outgoingWebhooksPopup-title": "Webhooks salientes", + "boardCardTitlePopup-title": "Filtro de títulos de tarjeta", + "disable-webhook": "Deshabilitar este Webhook", + "global-webhook": "Webhooks globales", + "new-outgoing-webhook": "Nuevo webhook saliente", + "no-name": "(Desconocido)", + "Node_version": "Versión de Node", + "Meteor_version": "Versión de Meteor", + "MongoDB_version": "Versión de MongoDB", + "MongoDB_storage_engine": "Motor de almacenamiento de MongoDB", + "MongoDB_Oplog_enabled": "Oplog de MongoDB habilitado", + "OS_Arch": "Arquitectura del sistema", + "OS_Cpus": "Número de CPUs del sistema", + "OS_Freemem": "Memoria libre del sistema", + "OS_Loadavg": "Carga media del sistema", + "OS_Platform": "Plataforma del sistema", + "OS_Release": "Publicación del sistema", + "OS_Totalmem": "Memoria total del sistema", + "OS_Type": "Tipo de sistema", + "OS_Uptime": "Tiempo activo del sistema", + "days": "días", + "hours": "horas", + "minutes": "minutos", + "seconds": "segundos", + "show-field-on-card": "Mostrar este campo en la tarjeta", + "automatically-field-on-card": "Crear campos automáticamente para todas las tarjetas.", + "showLabel-field-on-card": "Mostrar etiquetas de campos en la minitarjeta.", + "yes": "Sí", + "no": "No", + "accounts": "Cuentas", + "accounts-allowEmailChange": "Permitir cambiar el correo electrónico", + "accounts-allowUserNameChange": "Permitir cambiar el nombre de usuario", + "createdAt": "Fecha de alta", + "verified": "Verificado", + "active": "Activo", + "card-received": "Recibido", + "card-received-on": "Recibido el", + "card-end": "Finalizado", + "card-end-on": "Finalizado el", + "editCardReceivedDatePopup-title": "Cambiar la fecha de recepción", + "editCardEndDatePopup-title": "Cambiar la fecha de finalización", + "setCardColorPopup-title": "Cambiar el color", + "setCardActionsColorPopup-title": "Elegir un color", + "setSwimlaneColorPopup-title": "Elegir un color", + "setListColorPopup-title": "Elegir un color", + "assigned-by": "Asignado por", + "requested-by": "Solicitado por", + "board-delete-notice": "Se eliminarán todas las listas, tarjetas y acciones asociadas a este tablero. Esta acción no puede deshacerse.", + "delete-board-confirm-popup": "Se eliminarán todas las listas, tarjetas, etiquetas y actividades, y no podrás recuperar los contenidos del tablero. Esta acción no puede deshacerse.", + "boardDeletePopup-title": "¿Eliminar el tablero?", + "delete-board": "Eliminar el tablero", + "default-subtasks-board": "Subtareas para el tablero __board__", + "default": "Por defecto", + "queue": "Cola", + "subtask-settings": "Preferencias de las subtareas", + "card-settings": "Preferencias de la tarjeta", + "boardSubtaskSettingsPopup-title": "Preferencias de las subtareas del tablero", + "boardCardSettingsPopup-title": "Preferencias de la tarjeta", + "deposit-subtasks-board": "Depositar subtareas en este tablero:", + "deposit-subtasks-list": "Lista de destino para subtareas depositadas aquí:", + "show-parent-in-minicard": "Mostrar el padre en una minitarjeta:", + "prefix-with-full-path": "Prefijo con ruta completa", + "prefix-with-parent": "Prefijo con el padre", + "subtext-with-full-path": "Subtexto con ruta completa", + "subtext-with-parent": "Subtexto con el padre", + "change-card-parent": "Cambiar la tarjeta padre", + "parent-card": "Tarjeta padre", + "source-board": "Tablero de origen", + "no-parent": "No mostrar la tarjeta padre", + "activity-added-label": "añadida etiqueta %s a %s", + "activity-removed-label": "eliminada etiqueta '%s' desde %s", + "activity-delete-attach": "eliminado un adjunto desde %s", + "activity-added-label-card": "añadida etiqueta '%s'", + "activity-removed-label-card": "eliminada etiqueta '%s'", + "activity-delete-attach-card": "eliminado un adjunto", + "activity-set-customfield": "Cambiar el campo personalizado '%s' a '%s' en %s", + "activity-unset-customfield": "Desmarcar el campo personalizado '%s' en %s", + "r-rule": "Regla", + "r-add-trigger": "Añadir disparador", + "r-add-action": "Añadir acción", + "r-board-rules": "Reglas del tablero", + "r-add-rule": "Añadir regla", + "r-view-rule": "Ver regla", + "r-delete-rule": "Eliminar regla", + "r-new-rule-name": "Nueva título de regla", + "r-no-rules": "No hay reglas", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "Cuando una tarjeta", + "r-is": "es", + "r-is-moved": "es movida", + "r-added-to": "Added to", + "r-removed-from": "eliminado de", + "r-the-board": "el tablero", + "r-list": "la lista", + "set-filter": "Filtrar", + "r-moved-to": "Movido a", + "r-moved-from": "Movido desde", + "r-archived": "Se archivó", + "r-unarchived": "Restaurado del archivo", + "r-a-card": "una tarjeta", + "r-when-a-label-is": "Cuando una etiqueta es", + "r-when-the-label": "Cuando la etiqueta es", + "r-list-name": "Nombre de lista", + "r-when-a-member": "Cuando un miembro es", + "r-when-the-member": "Cuando el miembro", + "r-name": "nombre", + "r-when-a-attach": "Cuando un adjunto", + "r-when-a-checklist": "Cuando una lista de verificación es", + "r-when-the-checklist": "Cuando la lista de verificación", + "r-completed": "Completada", + "r-made-incomplete": "Hecha incompleta", + "r-when-a-item": "Cuando un elemento de la lista de verificación es", + "r-when-the-item": "Cuando el elemento de la lista de verificación es", + "r-checked": "Marcado", + "r-unchecked": "Desmarcado", + "r-move-card-to": "Mover la tarjeta", + "r-top-of": "Arriba de", + "r-bottom-of": "Abajo de", + "r-its-list": "su lista", + "r-archive": "Archivar", + "r-unarchive": "Restaurar del Archivo", + "r-card": "la tarjeta", + "r-add": "Añadir", + "r-remove": "Eliminar", + "r-label": "etiqueta", + "r-member": "miembro", + "r-remove-all": "Eliminar todos los miembros de la tarjeta", + "r-set-color": "Cambiar el color a", + "r-checklist": "lista de verificación", + "r-check-all": "Marcar todo", + "r-uncheck-all": "Desmarcar todo", + "r-items-check": "elementos de la lista de verificación", + "r-check": "Marcar", + "r-uncheck": "Desmarcar", + "r-item": "elemento", + "r-of-checklist": "de la lista de verificación", + "r-send-email": "Enviar un email", + "r-to": "a", + "r-of": "of", + "r-subject": "asunto", + "r-rule-details": "Detalle de la regla", + "r-d-move-to-top-gen": "Mover la tarjeta al inicio de su lista", + "r-d-move-to-top-spec": "Mover la tarjeta al inicio de la lista", + "r-d-move-to-bottom-gen": "Mover la tarjeta al final de su lista", + "r-d-move-to-bottom-spec": "Mover la tarjeta al final de la lista", + "r-d-send-email": "Enviar email", + "r-d-send-email-to": "a", + "r-d-send-email-subject": "asunto", + "r-d-send-email-message": "mensaje", + "r-d-archive": "Archivar la tarjeta", + "r-d-unarchive": "Restaurar tarjeta del Archivo", + "r-d-add-label": "Añadir etiqueta", + "r-d-remove-label": "Eliminar etiqueta", + "r-create-card": "Crear una nueva tarjeta", + "r-in-list": "en la lista", + "r-in-swimlane": "en el carril", + "r-d-add-member": "Añadir miembro", + "r-d-remove-member": "Eliminar miembro", + "r-d-remove-all-member": "Eliminar todos los miembros", + "r-d-check-all": "Marcar todos los elementos de una lista", + "r-d-uncheck-all": "Desmarcar todos los elementos de una lista", + "r-d-check-one": "Marcar elemento", + "r-d-uncheck-one": "Desmarcar elemento", + "r-d-check-of-list": "de la lista de verificación", + "r-d-add-checklist": "Añadir una lista de verificación", + "r-d-remove-checklist": "Eliminar lista de verificación", + "r-by": "por", + "r-add-checklist": "Añadir una lista de verificación", + "r-with-items": "con items", + "r-items-list": "item1,item2,item3", + "r-add-swimlane": "Agregar el carril", + "r-swimlane-name": "nombre del carril", + "r-board-note": "Nota: deje un campo vacío para que coincida con todos los valores posibles", + "r-checklist-note": "Nota: los ítems de la lista tienen que escribirse como valores separados por coma.", + "r-when-a-card-is-moved": "Cuando una tarjeta es movida a otra lista", + "r-set": "Cambiar", + "r-update": "Actualizar", + "r-datefield": "campo de fecha", + "r-df-start-at": "comienza", + "r-df-due-at": "vencimiento", + "r-df-end-at": "finalizado", + "r-df-received-at": "recibido", + "r-to-current-datetime": "a la fecha/hora actual", + "r-remove-value-from": "Eliminar el valor de", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Método de autenticación", + "authentication-type": "Tipo de autenticación", + "custom-product-name": "Nombre de producto personalizado", + "layout": "Diseño", + "hide-logo": "Ocultar el logo", + "add-custom-html-after-body-start": "Añade HTML personalizado después de ", + "add-custom-html-before-body-end": "Añade HTML personalizado después de ", + "error-undefined": "Algo no está bien", + "error-ldap-login": "Ocurrió un error al intentar acceder", + "display-authentication-method": "Mostrar el método de autenticación", + "default-authentication-method": "Método de autenticación por defecto", + "duplicate-board": "Duplicar tablero", + "people-number": "El número de personas es:", + "swimlaneDeletePopup-title": "¿Eliminar el carril de flujo?", + "swimlane-delete-pop": "Todas las acciones serán eliminadas del historial de actividades y no se podrá recuperar el carril de flujo. Esta acción no puede deshacerse.", + "restore-all": "Restaurar todas", + "delete-all": "Borrar todas", + "loading": "Cargando. Por favor, espere.", + "previous_as": "el último tiempo fue", + "act-a-dueAt": "cambiada la hora de vencimiento a \nCuándo: __timeValue__\nDónde: __card__\n el vencimiento anterior fue __timeOldValue__", + "act-a-endAt": "cambiada la hora de finalización a __timeValue__ Fecha anterior: (__timeOldValue__)", + "act-a-startAt": "cambiada la hora de comienzo a __timeValue__ Fecha anterior: (__timeOldValue__)", + "act-a-receivedAt": "cambiada la fecha de recepción a __timeValue__ Fecha anterior: (__timeOldValue__)", + "a-dueAt": "cambiada la hora de vencimiento a", + "a-endAt": "cambiada la hora de finalización a", + "a-startAt": "cambiada la hora de comienzo a", + "a-receivedAt": "cambiada la hora de recepción a", + "almostdue": "está próxima la hora de vencimiento actual %s", + "pastdue": "se sobrepasó la hora de vencimiento actual%s", + "duenow": "la hora de vencimiento actual %s es hoy", + "act-newDue": "__list__/__card__ tiene una 1ra notificación de vencimiento [__board__]", + "act-withDue": "__list__/__card__ notificaciones de vencimiento [__board__]", + "act-almostdue": "se ha notificado que el vencimiento actual (__timeValue__) de __card__ está próximo", + "act-pastdue": "se ha notificado que el vencimiento actual (__timeValue__) de __card__ se sobrepasó", + "act-duenow": "se ha notificado que el vencimiento actual (__timeValue__) de __card__ es ahora", + "act-atUserComment": "Se te mencionó en [__board__] __list__/__card__", + "delete-user-confirm-popup": "¿Seguro que quieres eliminar esta cuenta? Esta acción no puede deshacerse.", + "accounts-allowUserDelete": "Permitir a los usuarios eliminar su cuenta", + "hide-minicard-label-text": "Ocultar el texto de la etiqueta de la minitarjeta", + "show-desktop-drag-handles": "Mostrar los controles de arrastre del escritorio", + "assignee": "Asignado", + "cardAssigneesPopup-title": "Asignado", + "addmore-detail": "Añadir una descripción detallada", + "show-on-card": "Mostrar en la tarjeta", + "new": "Nuevo", + "editUserPopup-title": "Editar el usuario", + "newUserPopup-title": "Nuevo usuario", + "notifications": "Notificaciones", + "view-all": "Ver todo", + "filter-by-unread": "Filtrar por no leído", + "mark-all-as-read": "Marcar todo como leido", + "remove-all-read": "Remove all read", + "allow-rename": "Permitir renombrar", + "allowRenamePopup-title": "Permitir renombrar", + "start-day-of-week": "Set day of the week start", + "monday": "Lunes", + "tuesday": "Martes", + "wednesday": "Miércoles", + "thursday": "Jueves", + "friday": "Viernes", + "saturday": "Sábado", + "sunday": "Domingo", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archived", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/es-PE.i18n.json b/i18n/es-PE.i18n.json new file mode 100644 index 0000000..b544aca --- /dev/null +++ b/i18n/es-PE.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Aceptar", + "act-activity-notify": "Notificación de actividad", + "act-addAttachment": "agregado el adjunto __attachment__ a la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-deleteAttachment": "eliminado el adjunto __attachment__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-addSubtask": "agregada la subtarea __subtask__ a la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-addLabel": "agregada la etiqueta __label__ a la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-addedLabel": "agregada la etiqueta __label__ a la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-removeLabel": "eliminada la etiqueta __label__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-removedLabel": "eliminada la etiqueta __label__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-addChecklist": "agregada la lista de comprobación __checklist__ a la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-addChecklistItem": "agregado el elemento __checklistItem__ a la lista de comprobación __checklist__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-removeChecklist": "eliminada la lista de comprobación __checklist__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-removeChecklistItem": "eliminado el elemento __checklistItem__ de la lista de comprobación __checkList__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-checkedItem": "marcado el elemento __checklistItem__ de la lista de comprobación __checklist__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-uncheckedItem": "desmarcado el elemento __checklistItem__ de la lista de comprobación __checklist__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-completeChecklist": "completada la lista de comprobación __checklist__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-uncompleteChecklist": "no completada la lista de comprobación __checklist__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-addComment": "comentario en la tarjeta__card__: __comment__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-editComment": "comentario editado en la tarjeta __card__: __comment__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-deleteComment": "comentario eliminado en la tarjeta __card__: __comment__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-createBoard": "creó el tablero __board__", + "act-createSwimlane": "creó el carril «swimlane» __swimlane__ en el tablero __board__", + "act-createCard": "creada la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-createCustomField": "creado el campo personalizado __customField__ en el tablero __board__", + "act-deleteCustomField": "eliminado el campo personalizado __customField__ del tablero __board__", + "act-setCustomField": "editado el campo personalizado __customField__: __customFieldValue__ en la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-createList": "agregada la lista __list__ al tablero __board__", + "act-addBoardMember": "agregado el mimbro __member__ al tablero __board__", + "act-archivedBoard": "El tablero __board__ se ha archivado", + "act-archivedCard": "La tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__ se ha archivado", + "act-archivedList": "La lista __list__ del carril __swimlane__ del tablero __board__ se ha archivado", + "act-archivedSwimlane": "El carril __swimlane__ del tablero __board__ se ha archivado", + "act-importBoard": "importado el tablero __board__", + "act-importCard": "importada la tarjeta __card__ a la lista __list__ del carrril __swimlane__ del tablero __board__", + "act-importList": "importada la lista __list__ al carril __swimlane__ del tablero __board__", + "act-joinMember": "agregado el miembro __member__ a la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-moveCard": "movida la tarjeta __card__ del tablero __board__ de la lista __oldList__ del carril __oldSwimlane__ a la lista __list__ del carril __swimlane__", + "act-moveCardToOtherBoard": "movida la tarjeta __card__ de la lista __oldList__ del carril __oldSwimlane__ del tablero __oldBoard__ a la lista __list__ del carril __swimlane__ del tablero __board__", + "act-removeBoardMember": "eliminado el miembro __member__ del tablero __board__", + "act-restoredCard": "restaurada la tarjeta __card__ a la lista __list__ del carril __swimlane__ del tablero __board__", + "act-unjoinMember": "eliminado el miembro __member__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Acciones", + "activities": "Actividades", + "activity": "Actividad", + "activity-added": "ha agregado %s a %s", + "activity-archived": "%s se ha archivado", + "activity-attached": "ha adjuntado %s a %s", + "activity-created": "ha creado %s", + "activity-customfield-created": "creó el campo personalizado %s", + "activity-excluded": "ha excluido %s de %s", + "activity-imported": "ha importado %s a %s desde %s", + "activity-imported-board": "ha importado %s desde %s", + "activity-joined": "se ha unido a %s", + "activity-moved": "ha movido %s de %s a %s", + "activity-on": "en %s", + "activity-removed": "ha eliminado %s de %s", + "activity-sent": "ha enviado %s a %s", + "activity-unjoined": "se ha desvinculado de %s", + "activity-subtask-added": "ha agregado la subtarea a %s", + "activity-checked-item": "marcado %s en la lista de comprobación %s de %s", + "activity-unchecked-item": "desmarcado %s en la lista de comprobación %s de %s", + "activity-checklist-added": "ha agregado una lista de comprobación a %s", + "activity-checklist-removed": "eliminada una lista de comprobación desde %s", + "activity-checklist-completed": "lista de comprobación completada %s de %s", + "activity-checklist-uncompleted": "no completado la lista de comprobación %s de %s", + "activity-checklist-item-added": "ha agregado el elemento de la lista de comprobación a «%s» en %s", + "activity-checklist-item-removed": "eliminado un elemento de la lista de comprobación desde «%s» en %s", + "add": "Agregar", + "activity-checked-item-card": "marcado %s en la lista de comprobación %s", + "activity-unchecked-item-card": "desmarcado %s en la lista de comprobación %s", + "activity-checklist-completed-card": "completada la lista de comprobación __checklist__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "activity-checklist-uncompleted-card": "no completó la lista de comprobación %s", + "activity-editComment": "comentario editado", + "activity-deleteComment": "comentario eliminado", + "add-attachment": "Agregar adjunto", + "add-board": "Agregar tablero", + "add-card": "Agregar una tarjeta", + "add-swimlane": "Agregar un carril «swimlane»", + "add-subtask": "Agregar subtarea", + "add-checklist": "Agregar lista de comprobación", + "add-checklist-item": "Agregar un elemento a la lista de comprobación", + "add-cover": "Agregar portada", + "add-label": "Agregar una etiqueta", + "add-list": "Agregar una lista", + "add-members": "Agregar miembros", + "added": "Agregada el", + "addMemberPopup-title": "Miembros", + "admin": "Administrador", + "admin-desc": "Puede ver y editar tarjetas, eliminar miembros y cambiar la configuración del tablero.", + "admin-announcement": "Anuncio", + "admin-announcement-active": "Habilitar los anuncios en todo el sistema", + "admin-announcement-title": "Anuncio del administrador", + "all-boards": "Todos los tableros", + "and-n-other-card": "y __count__ tarjeta más", + "and-n-other-card_plural": "y otras __count__ tarjetas", + "apply": "Aplicar", + "app-is-offline": "Cargando, por favor espere. Actualizar la página causará pérdida de datos. Si la carga no funciona, por favor compruebe que el servidor no se ha detenido.", + "archive": "Archivar", + "archive-all": "Archivar todo", + "archive-board": "Archivar este tablero", + "archive-card": "Archivar esta tarjeta", + "archive-list": "Archivar esta lista", + "archive-swimlane": "Archivar este carril", + "archive-selection": "Archivar esta selección", + "archiveBoardPopup-title": "¿Archivar este tablero?", + "archived-items": "Archivo", + "archived-boards": "Tableros en el archivo", + "restore-board": "Restaurar el tablero", + "no-archived-boards": "No hay tableros en el archivo", + "archives": "Archivo", + "template": "Plantilla", + "templates": "Plantillas", + "assign-member": "Asignar miembros", + "attached": "adjuntado", + "attachment": "Adjunto", + "attachment-delete-pop": "La eliminación de un fichero adjunto es permanente. Esta acción no puede deshacerse.", + "attachmentDeletePopup-title": "¿Eliminar el adjunto?", + "attachments": "Adjuntos", + "auto-watch": "Suscribirse automáticamente a los tableros cuando son creados", + "avatar-too-big": "El avatar es muy grande (70 KB máx.)", + "back": "Atrás", + "board-change-color": "Cambiar el color", + "board-nb-stars": "%s destacados", + "board-not-found": "Tablero no encontrado", + "board-private-info": "Este tablero será privado.", + "board-public-info": "Este tablero será público.", + "boardChangeColorPopup-title": "Cambiar el fondo del tablero", + "boardChangeTitlePopup-title": "Renombrar el tablero", + "boardChangeVisibilityPopup-title": "Cambiar visibilidad", + "boardChangeWatchPopup-title": "Cambiar vigilancia", + "boardMenuPopup-title": "Configuración del tablero", + "boardChangeViewPopup-title": "Vista del tablero", + "boards": "Tableros", + "board-view": "Vista del tablero", + "board-view-cal": "Calendario", + "board-view-swimlanes": "Carriles", + "board-view-collapse": "Contraer", + "board-view-lists": "Listas", + "bucket-example": "Como «Cosas por hacer» por ejemplo", + "cancel": "Cancelar", + "card-archived": "Se archivó esta tarjeta", + "board-archived": "Se archivó este tablero", + "card-comments-title": "Esta tarjeta tiene %s comentarios.", + "card-delete-notice": "la eliminación es permanente. Perderá todas las acciones asociadas a esta tarjeta.", + "card-delete-pop": "Se eliminarán todas las acciones de la fuente de actividades y no se podrá volver a abrir la tarjeta. Esta acción no puede deshacerse.", + "card-delete-suggest-archive": "Puede mover una tarjeta al archivo para quitarla del tablero y preservar la actividad.", + "card-due": "Vence", + "card-due-on": "Vence el", + "card-spent": "Tiempo consumido", + "card-edit-attachments": "Editar los adjuntos", + "card-edit-custom-fields": "Editar los campos personalizados", + "card-edit-labels": "Editar las etiquetas", + "card-edit-members": "Editar los miembros", + "card-labels-title": "Cambia las etiquetas de la tarjeta.", + "card-members-title": "Agregar o eliminar miembros del tablero desde la tarjeta.", + "card-start": "Comienza", + "card-start-on": "Comienza el", + "cardAttachmentsPopup-title": "Adjuntar desde", + "cardCustomField-datePopup-title": "Cambiar la fecha", + "cardCustomFieldsPopup-title": "Editar los campos personalizados", + "cardStartVotingPopup-title": "Comience a votar", + "positiveVoteMembersPopup-title": "Favorables", + "negativeVoteMembersPopup-title": "Contrarios", + "card-edit-voting": "Editar votación", + "editVoteEndDatePopup-title": "Cambie fecha de termino del voto", + "allowNonBoardMembers": "Permitir todos los usuarios autentificados", + "vote-question": "Pregunta de votación", + "vote-public": "Mostrar quien voto que", + "vote-for-it": "por esto", + "vote-against": "contrarios", + "deleteVotePopup-title": "¿Borrar voto?", + "vote-delete-pop": "El borrado es permanente. Perderá todas las acciones asociadas con este voto.", + "cardDeletePopup-title": "¿Eliminar la tarjeta?", + "cardDetailsActionsPopup-title": "Acciones de la tarjeta", + "cardLabelsPopup-title": "Etiquetas", + "cardMembersPopup-title": "Miembros", + "cardMorePopup-title": "Más", + "cardTemplatePopup-title": "Crear plantilla", + "cards": "Tarjetas", + "cards-count": "Tarjetas", + "casSignIn": "Iniciar sesión con CAS", + "cardType-card": "Tarjeta", + "cardType-linkedCard": "Tarjeta enlazada", + "cardType-linkedBoard": "Tablero enlazado", + "change": "Cambiar", + "change-avatar": "Cambiar el avatar", + "change-password": "Cambiar la contraseña", + "change-permissions": "Cambiar los permisos", + "change-settings": "Cambiar la configuración", + "changeAvatarPopup-title": "Cambiar el avatar", + "changeLanguagePopup-title": "Cambiar el idioma", + "changePasswordPopup-title": "Cambiar la contraseña", + "changePermissionsPopup-title": "Cambiar los permisos", + "changeSettingsPopup-title": "Cambiar la configuración", + "subtasks": "Subtareas", + "checklists": "Listas de comprobación", + "click-to-star": "Haga clic para destacar este tablero.", + "click-to-unstar": "Haga clic para dejar de destacar este tablero.", + "clipboard": "el portapapeles o con arrastrar y soltar", + "close": "Cerrar", + "close-board": "Cerrar el tablero", + "close-board-pop": "Podrá restaurar el tablero haciendo clic en el botón «Archivo» de la cabecera de inicio.", + "color-black": "negro", + "color-blue": "azul", + "color-crimson": "carmesí", + "color-darkgreen": "verde oscuro", + "color-gold": "oro", + "color-gray": "gris", + "color-green": "verde", + "color-indigo": "añil", + "color-lime": "lima", + "color-magenta": "magenta", + "color-mistyrose": "rosa claro", + "color-navy": "azul marino", + "color-orange": "naranja", + "color-paleturquoise": "turquesa", + "color-peachpuff": "melocotón", + "color-pink": "rosa", + "color-plum": "púrpura", + "color-purple": "violeta", + "color-red": "roja", + "color-saddlebrown": "marrón", + "color-silver": "plata", + "color-sky": "celeste", + "color-slateblue": "azul", + "color-white": "blanco", + "color-yellow": "amarillo", + "unset-color": "Desmarcar", + "comment": "Comentar", + "comment-placeholder": "Escribir comentario", + "comment-only": "Sólo comentarios", + "comment-only-desc": "Sólo puede comentar en las tarjetas.", + "no-comments": "No hay comentarios", + "no-comments-desc": "No se pueden mostrar comentarios ni actividades.", + "worker": "Trabajador", + "worker-desc": "Sólo puede mover tarjetas, asignarse a la tarjeta y comentar.", + "computer": "Computadora", + "confirm-subtask-delete-dialog": "¿Seguro que desea eliminar la subtarea?", + "confirm-checklist-delete-dialog": "¿Seguro que desea eliminar la lista de comprobación?", + "copy-card-link-to-clipboard": "Copiar el enlace de la tarjeta al portapapeles", + "linkCardPopup-title": "Enlazar tarjeta", + "searchElementPopup-title": "Buscar", + "copyCardPopup-title": "Copiar la tarjeta", + "copyChecklistToManyCardsPopup-title": "Copiar la plantilla de la lista de comprobación en varias tarjetas", + "copyChecklistToManyCardsPopup-instructions": "Títulos y descripciones de las tarjetas de destino en formato JSON", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"Título de la primera tarjeta\", \"description\":\"Descripción de la primera tarjeta\"}, {\"title\":\"Título de la segunda tarjeta\",\"description\":\"Descripción de la segunda tarjeta\"},{\"title\":\"Título de la última tarjeta\",\"description\":\"Descripción de la última tarjeta\"} ]", + "create": "Crear", + "createBoardPopup-title": "Crear tablero", + "chooseBoardSourcePopup-title": "Importar un tablero", + "createLabelPopup-title": "Crear etiqueta", + "createCustomField": "Crear un campo", + "createCustomFieldPopup-title": "Crear un campo", + "current": "actual", + "custom-field-delete-pop": "Se eliminará este campo personalizado de todas las tarjetas y se destruirá su historial. Esta acción no puede deshacerse.", + "custom-field-checkbox": "Casilla de verificación", + "custom-field-currency": "Divisa", + "custom-field-currency-option": "Código de divisa", + "custom-field-date": "Fecha", + "custom-field-dropdown": "Lista desplegable", + "custom-field-dropdown-none": "(ninguno)", + "custom-field-dropdown-options": "Opciones de la lista", + "custom-field-dropdown-options-placeholder": "Presione Entrar para agregar más opciones", + "custom-field-dropdown-unknown": "(desconocido)", + "custom-field-number": "Número", + "custom-field-text": "Texto", + "custom-fields": "Campos personalizados", + "date": "Fecha", + "decline": "Declinar", + "default-avatar": "Avatar por defecto", + "delete": "Eliminar", + "deleteCustomFieldPopup-title": "¿Eliminar el campo personalizado?", + "deleteLabelPopup-title": "¿Eliminar la etiqueta?", + "description": "Descripción", + "disambiguateMultiLabelPopup-title": "Desambiguar la acción de etiqueta", + "disambiguateMultiMemberPopup-title": "Desambiguar la acción de miembro", + "discard": "Descartar", + "done": "Hecho", + "download": "Descargar", + "edit": "Editar", + "edit-avatar": "Cambiar el avatar", + "edit-profile": "Editar el perfil", + "edit-wip-limit": "Cambiar el límite del trabajo en proceso", + "soft-wip-limit": "Límite del trabajo en proceso flexible", + "editCardStartDatePopup-title": "Cambiar la fecha de comienzo", + "editCardDueDatePopup-title": "Cambiar la fecha de vencimiento", + "editCustomFieldPopup-title": "Editar el campo", + "editCardSpentTimePopup-title": "Cambiar el tiempo consumido", + "editLabelPopup-title": "Cambiar la etiqueta", + "editNotificationPopup-title": "Editar las notificaciones", + "editProfilePopup-title": "Editar el perfil", + "email": "Correo electrónico", + "email-enrollAccount-subject": "Cuenta creada en __siteName__", + "email-enrollAccount-text": "Hola __user__,\n\nPara empezar a utilizar el servicio, simplemente haga clic en el siguiente enlace.\n\n__url__\n\nGracias.", + "email-fail": "Error al enviar el correo", + "email-fail-text": "Error al intentar enviar el correo", + "email-invalid": "Correo no válido", + "email-invite": "Invitar vía correo electrónico", + "email-invite-subject": "__inviter__ ha enviado una invitación", + "email-invite-text": "Estimado __user__,\n\n__inviter__ le invita a unirse al tablero «__board__» para colaborar.\n\nPor favor, haga clic en el siguiente enlace:\n\n__url__\n\nGracias.", + "email-resetPassword-subject": "Restablezca su contraseña en __siteName__", + "email-resetPassword-text": "Hola __user__,\n\nPara restablecer su contraseña, simplemente haga clic en el siguiente enlace.\n\n__url__\n\nGracias.", + "email-sent": "Correo enviado", + "email-verifyEmail-subject": "Verifique su dirección de correo electrónico en __siteName__", + "email-verifyEmail-text": "Hola __user__,\n\nPara verificar el correo electrónico de su cuenta, simplemente haga clic en el siguiente enlace.\n\n__url__\n\nGracias.", + "enable-wip-limit": "Habilitar el límite del trabajo en proceso", + "error-board-doesNotExist": "El tablero no existe", + "error-board-notAdmin": "Es necesario ser administrador de este tablero para hacer eso", + "error-board-notAMember": "Es necesario ser miembro de este tablero para hacer eso", + "error-json-malformed": "El texto no es un JSON válido", + "error-json-schema": "Sus datos JSON no incluyen la información apropiada en el formato correcto", + "error-csv-schema": "Su archivo CSV (valores separados por comas) o TSV (valores separados por tabulaciones) no incluye la información adecuada en el formato correcto", + "error-list-doesNotExist": "La lista no existe", + "error-user-doesNotExist": "El usuario no existe", + "error-user-notAllowSelf": "No se puede invitar a sí mismo", + "error-user-notCreated": "El usuario no ha sido creado", + "error-username-taken": "Este nombre de usuario ya está en uso", + "error-email-taken": "Esta dirección de correo ya está en uso", + "export-board": "Exportar tablero", + "export-board-json": "Exportar tablero a JSON", + "export-board-csv": "Exportar tablero a CSV", + "export-board-tsv": "Exportar tablero a TSV", + "export-board-html": "Exportar tablero a HTML", + "exportBoardPopup-title": "Exportar tablero", + "sort": "Ordenar", + "sort-desc": "Clic para ordenar lista", + "list-sort-by": "Ordenar la lista por:", + "list-label-modifiedAt": "Hora de último acceso", + "list-label-title": "Nombre de la lista", + "list-label-sort": "Su orden manual", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Filtrar", + "filter-cards": "Filtrar tarjetas o listas", + "list-filter-label": "Filtrar listas por título", + "filter-clear": "Limpiar el filtro", + "filter-no-label": "Sin etiqueta", + "filter-no-member": "Sin miembro", + "filter-no-assignee": "No asignado", + "filter-no-custom-fields": "Sin campos personalizados", + "filter-show-archive": "Mostrar las listas archivadas", + "filter-hide-empty": "Ocultar las listas vacías", + "filter-on": "Filtrado activado", + "filter-on-desc": "Está filtrando las tarjetas en este tablero. Haga clic aquí para editar el filtro.", + "filter-to-selection": "Filtrar la selección", + "advanced-filter-label": "Filtrado avanzado", + "advanced-filter-description": "El filtrado avanzado permite escribir una cadena que contiene los siguientes operadores: == != <= >= && || ( ) Se utiliza un espacio como separador entre los operadores. Se pueden filtrar todos los campos personalizados escribiendo sus nombres y valores. Por ejemplo: Campo1 == Valor1. Nota: Si los campos o valores contienen espacios, deben encapsularse entre comillas simples. Por ejemplo: 'Campo 1' == 'Valor 1'. Para omitir los caracteres de control único (' \\/), se usa \\. Por ejemplo: Campo1 = I\\'m. También se pueden combinar múltiples condiciones. Por ejemplo: C1 == V1 || C1 == V2. Normalmente todos los operadores se interpretan de izquierda a derecha. Se puede cambiar el orden colocando paréntesis. Por ejemplo: C1 == V1 && ( C2 == V2 || C2 == V3 ). También se puede buscar en campos de texto usando expresiones regulares: C1 == /Tes.*/i", + "fullname": "Nombre completo", + "header-logo-title": "Volver a su página de tableros", + "hide-system-messages": "Ocultar las notificaciones de actividad", + "headerBarCreateBoardPopup-title": "Crear tablero", + "home": "Inicio", + "import": "Importar", + "link": "Enlace", + "import-board": "importar un tablero", + "import-board-c": "Importar un tablero", + "import-board-title-trello": "Importar un tablero desde Trello", + "import-board-title-wekan": "Importar tablero desde una exportación previa", + "import-board-title-csv": "Importar tablero desde CSV/TSV", + "from-trello": "Desde Trello", + "from-wekan": "Desde exportación previa", + "from-csv": "Desde CSV/TSV", + "import-board-instruction-trello": "En su tablero de Trello, vaya a «Menú», luego «Más», «Imprimir y exportar», «Exportar en formato JSON», y copie el texto resultante.", + "import-board-instruction-csv": "Pegue en sus Valores separados por comas (CSV)/Valores separados por tabulaciones (TSV).", + "import-board-instruction-wekan": "En su tablero, vaya a «Menú», luego «Exportar tablero», y copie el texto en el archivo descargado.", + "import-board-instruction-about-errors": "Si se obtienen errores al importar el tablero, a veces la importación sigue funcionando, y el tablero está en la página de todos los tableros.", + "import-json-placeholder": "Pegue sus datos JSON válidos aquí", + "import-csv-placeholder": "Pegue sus datos CSV/TSV válidos aquí", + "import-map-members": "Asignar miembros", + "import-members-map": "Su tablero importado tiene algunos miembros. Por favor, asigne los miembros que desea importar a sus usuarios", + "import-show-user-mapping": "Revisión de la asignación de miembros", + "import-user-select": "Elija su usuario existente que desea utilizar como este miembro", + "importMapMembersAddPopup-title": "Seleccionar miembro", + "info": "Versión", + "initials": "Iniciales", + "invalid-date": "Fecha no válida", + "invalid-time": "Tiempo no válido", + "invalid-user": "Usuario no válido", + "joined": "se ha unido", + "just-invited": "Ha sido invitado a este tablero", + "keyboard-shortcuts": "Atajos de teclado", + "label-create": "Crear una etiqueta", + "label-default": "etiqueta %s (por defecto)", + "label-delete-pop": "Se eliminará esta etiqueta de todas las tarjetas y se destruirá su historial. Esta acción no puede deshacerse.", + "labels": "Etiquetas", + "language": "Cambiar el idioma", + "last-admin-desc": "No se pueden cambiar los roles porque debe haber al menos un administrador.", + "leave-board": "Abandonar el tablero", + "leave-board-pop": "¿Seguro que desea abandonar __boardTitle__? Será desvinculado de todas las tarjetas en este tablero.", + "leaveBoardPopup-title": "¿Abandonar el tablero?", + "link-card": "Enlazar a esta tarjeta", + "list-archive-cards": "Archivar todas las tarjetas de esta lista", + "list-archive-cards-pop": "Esto eliminará todas las tarjetas de esta lista del tablero. Para ver las tarjetas en el archivo y traerlas de vuelta al tablero, haga clic en «Menú» > «Archivo».", + "list-move-cards": "Mover todas las tarjetas de esta lista", + "list-select-cards": "Seleccionar todas las tarjetas de esta lista", + "set-color-list": "Cambiar el color", + "listActionPopup-title": "Acciones de la lista", + "swimlaneActionPopup-title": "Acciones del carril «swimlane»", + "swimlaneAddPopup-title": "Agregar un carril «swimlane» debajo", + "listImportCardPopup-title": "Importar una tarjeta de Trello", + "listImportCardsTsvPopup-title": "Importar CSV/TSV", + "listMorePopup-title": "Más", + "link-list": "Enlazar a esta lista", + "list-delete-pop": "Todas las acciones serán eliminadas de la fuente de actividades y no se podrá recuperar la lista. Esta acción no puede deshacerse.", + "list-delete-suggest-archive": "Puede mover una lista a archivo para eliminarla del tablero y preservar la actividad.", + "lists": "Listas", + "swimlanes": "Carriles", + "log-out": "Finalizar la sesión", + "log-in": "Iniciar sesión", + "loginPopup-title": "Iniciar sesión", + "memberMenuPopup-title": "Configuración de miembros", + "members": "Miembros", + "menu": "Menú", + "move-selection": "Mover la selección", + "moveCardPopup-title": "Mover la tarjeta", + "moveCardToBottom-title": "Mover al final", + "moveCardToTop-title": "Mover al principio", + "moveSelectionPopup-title": "Mover la selección", + "multi-selection": "Selección múltiple", + "multi-selection-on": "Selección múltiple activada", + "muted": "Silenciado", + "muted-info": "Nunca se le notificará ningún cambio en este tablero", + "my-boards": "Mis tableros", + "name": "Nombre", + "no-archived-cards": "No hay tarjetas archivadas.", + "no-archived-lists": "No hay listas archivadas.", + "no-archived-swimlanes": "No hay carriles archivados.", + "no-results": "Sin resultados", + "normal": "Normal", + "normal-desc": "Puede ver y editar las tarjetas. No puede cambiar la configuración.", + "not-accepted-yet": "La invitación no ha sido aceptada aún", + "notify-participate": "Recibir actualizaciones de cualquier tarjeta en la que participas como creador o miembro", + "notify-watch": "Recibir actualizaciones de cualquier tablero, lista o tarjeta que esté vigilando", + "optional": "opcional", + "or": "o", + "page-maybe-private": "Esta página puede ser privada. Puede verla iniciando sesión.", + "page-not-found": "Página no encontrada.", + "password": "Contraseña", + "paste-or-dragdrop": "pegar o arrastrar y soltar un fichero de imagen (sólo imagen)", + "participating": "Participando", + "preview": "Previsualizar", + "previewAttachedImagePopup-title": "Previsualizar", + "previewClipboardImagePopup-title": "Previsualizar", + "private": "Privado", + "private-desc": "Este tablero es privado. Sólo las personas agregadas al tablero pueden verlo y editarlo.", + "profile": "Perfil", + "public": "Público", + "public-desc": "Este tablero es público. Es visible para cualquiera a través del enlace, y se mostrará en los buscadores como Google. Sólo las personas agregadas al tablero pueden editarlo.", + "quick-access-description": "Destaca un tablero para añadir un acceso directo en esta barra.", + "remove-cover": "Eliminar portada", + "remove-from-board": "Desvincular del tablero", + "remove-label": "Eliminar la etiqueta", + "listDeletePopup-title": "¿Eliminar la lista?", + "remove-member": "Eliminar miembro", + "remove-member-from-card": "Eliminar de la tarjeta", + "remove-member-pop": "¿Eliminar a __name__ (__username__) de __boardTitle__? El miembro será eliminado de todas las tarjetas de este tablero y recibirá una notificación.", + "removeMemberPopup-title": "¿Eliminar miembro?", + "rename": "Renombrar", + "rename-board": "Renombrar el tablero", + "restore": "Restaurar", + "save": "Guardar", + "search": "Buscar", + "rules": "Reglas", + "search-cards": "Buscar entre los títulos, las descripciones de las tarjetas/listas y los campos personalizados en este tablero.", + "search-example": "¿Texto a buscar?", + "select-color": "Seleccionar el color", + "set-wip-limit-value": "Cambiar el límite para el número máximo de tareas en esta lista.", + "setWipLimitPopup-title": "Cambiar el límite del trabajo en proceso", + "shortcut-assign-self": "Asignarse a la tarjeta actual", + "shortcut-autocomplete-emoji": "Autocompletar emoji", + "shortcut-autocomplete-members": "Autocompletar miembros", + "shortcut-clear-filters": "Limpiar todos los filtros", + "shortcut-close-dialog": "Cerrar el cuadro de diálogo", + "shortcut-filter-my-cards": "Filtrar mis tarjetas", + "shortcut-show-shortcuts": "Mostrar esta lista de atajos", + "shortcut-toggle-filterbar": "Alternar la barra lateral del filtro", + "shortcut-toggle-sidebar": "Alternar la barra lateral del tablero", + "show-cards-minimum-count": "Mostrar recuento de tarjetas si la lista contiene más de", + "sidebar-open": "Abrir la barra lateral", + "sidebar-close": "Cerrar la barra lateral", + "signupPopup-title": "Crear una cuenta", + "star-board-title": "Haga clic para destacar este tablero. Se mostrará en la parte superior de su lista de tableros.", + "starred-boards": "Tableros destacados", + "starred-boards-description": "Los tableros destacados se mostrarán en la parte superior de su lista de tableros.", + "subscribe": "Suscribirse", + "team": "Equipo", + "this-board": "este tablero", + "this-card": "esta tarjeta", + "spent-time-hours": "Tiempo consumido (horas)", + "overtime-hours": "Tiempo excesivo (horas)", + "overtime": "Tiempo excesivo", + "has-overtime-cards": "Hay tarjetas con el tiempo excedido", + "has-spenttime-cards": "Se ha excedido el tiempo de las tarjetas", + "time": "Hora", + "title": "Título", + "tracking": "Siguiendo", + "tracking-info": "Será notificado de cualquier cambio en las tarjetas en las que participa como creador o miembro.", + "type": "Tipo", + "unassign-member": "Desasignar miembro", + "unsaved-description": "Tiene una descripción sin guardar.", + "unwatch": "Dejar de vigilar", + "upload": "Cargar", + "upload-avatar": "Cargar un avatar", + "uploaded-avatar": "Avatar cargado", + "username": "Nombre de usuario", + "view-it": "Verla", + "warn-list-archived": "advertencia: esta tarjeta está en una lista en el archivo", + "watch": "Vigilar", + "watching": "Vigilando", + "watching-info": "Será notificado de cualquier cambio en este tablero", + "welcome-board": "Tablero de bienvenida", + "welcome-swimlane": "Hito 1", + "welcome-list1": "Básicos", + "welcome-list2": "Avanzados", + "card-templates-swimlane": "Plantilla de tarjeta", + "list-templates-swimlane": "Listar plantillas", + "board-templates-swimlane": "Plantilla de tablero", + "what-to-do": "¿Qué desea hacer?", + "wipLimitErrorPopup-title": "El límite del trabajo en proceso no es válido.", + "wipLimitErrorPopup-dialog-pt1": "El número de tareas en esta lista es mayor que el límite del trabajo en proceso que ha definido.", + "wipLimitErrorPopup-dialog-pt2": "Por favor, mueva algunas tareas de esta lista, o establezca un límite de trabajo en proceso más alto.", + "admin-panel": "Panel de administración", + "settings": "Configuración", + "people": "Personas", + "registration": "Registro", + "disable-self-registration": "Deshabilitar autoregistro", + "invite": "Invitar", + "invite-people": "Invitar a personas", + "to-boards": "A el(los) tablero(s)", + "email-addresses": "Direcciones de correo electrónico", + "smtp-host-description": "La dirección del servidor SMTP que maneja sus correos electrónicos.", + "smtp-port-description": "Puerto usado por el servidor SMTP para mandar correos", + "smtp-tls-description": "Habilitar el soporte TLS para el servidor SMTP", + "smtp-host": "Servidor SMTP", + "smtp-port": "Puerto SMTP", + "smtp-username": "Nombre de usuario", + "smtp-password": "Contraseña", + "smtp-tls": "Soporte TLS", + "send-from": "Desde", + "send-smtp-test": "Enviarte un correo de prueba a ti mismo", + "invitation-code": "Código de Invitación", + "email-invite-register-subject": "__inviter__ le envió una invitación", + "email-invite-register-text": "Estimado __user__,\n\n__inviter__ le invita a participar en un tablero Kanban para colaborar.\n\nPor favor, siga el siguiente enlace:\n__url__\n\nY su código de invitación es: __icode__\n\nGracias.", + "email-smtp-test-subject": "Prueba de email SMTP", + "email-smtp-test-text": "El correo se ha enviado correctamente", + "error-invitation-code-not-exist": "El código de invitación no existe", + "error-notAuthorized": "No está autorizado a ver esta página.", + "webhook-title": "Nombre del Webhook", + "webhook-token": "Token (opcional para la autenticación)", + "outgoing-webhooks": "Webhooks salientes", + "bidirectional-webhooks": "Webhooks de doble sentido", + "outgoingWebhooksPopup-title": "Webhooks salientes", + "boardCardTitlePopup-title": "Filtro de títulos de tarjeta", + "disable-webhook": "Deshabilitar este Webhook", + "global-webhook": "Webhooks globales", + "new-outgoing-webhook": "Nuevo webhook saliente", + "no-name": "(Desconocido)", + "Node_version": "Versión de Node", + "Meteor_version": "Versión de Meteor", + "MongoDB_version": "Versión de MongoDB", + "MongoDB_storage_engine": "Motor de almacenamiento de MongoDB", + "MongoDB_Oplog_enabled": "Oplog de MongoDB habilitado", + "OS_Arch": "Arquitectura del sistema", + "OS_Cpus": "Número de CPUs del sistema", + "OS_Freemem": "Memoria libre del sistema", + "OS_Loadavg": "Carga media del sistema", + "OS_Platform": "Plataforma del sistema", + "OS_Release": "Publicación del sistema", + "OS_Totalmem": "Memoria total del sistema", + "OS_Type": "Tipo de sistema", + "OS_Uptime": "Tiempo activo del sistema", + "days": "días", + "hours": "horas", + "minutes": "minutos", + "seconds": "segundos", + "show-field-on-card": "Mostrar este campo en la tarjeta", + "automatically-field-on-card": "Crear campos automáticamente para todas las tarjetas.", + "showLabel-field-on-card": "Mostrar etiquetas de campos en la minitarjeta.", + "yes": "Sí", + "no": "No", + "accounts": "Cuentas", + "accounts-allowEmailChange": "Permitir cambiar el correo electrónico", + "accounts-allowUserNameChange": "Permitir cambiar el nombre de usuario", + "createdAt": "Creado en", + "verified": "Verificado", + "active": "Activo", + "card-received": "Recibido", + "card-received-on": "Recibido el", + "card-end": "Finalizado", + "card-end-on": "Finalizado el", + "editCardReceivedDatePopup-title": "Cambiar la fecha de recepción", + "editCardEndDatePopup-title": "Cambiar la fecha de finalización", + "setCardColorPopup-title": "Cambiar el color", + "setCardActionsColorPopup-title": "Elegir un color", + "setSwimlaneColorPopup-title": "Elegir un color", + "setListColorPopup-title": "Elegir un color", + "assigned-by": "Asignado por", + "requested-by": "Solicitado por", + "board-delete-notice": "Se eliminarán todas las listas, tarjetas y acciones asociadas a este tablero. Esta acción no puede deshacerse.", + "delete-board-confirm-popup": "Se eliminarán todas las listas, tarjetas, etiquetas y actividades, y no podrás recuperar los contenidos del tablero. Esta acción no puede deshacerse.", + "boardDeletePopup-title": "¿Eliminar el tablero?", + "delete-board": "Eliminar el tablero", + "default-subtasks-board": "Subtareas para el tablero __board__", + "default": "Por defecto", + "queue": "Cola", + "subtask-settings": "Configuración de subtareas", + "card-settings": "Configuración de tarjetas", + "boardSubtaskSettingsPopup-title": "Configuración de subtareas del tablero", + "boardCardSettingsPopup-title": "Configuración de tarjeta", + "deposit-subtasks-board": "Depositar subtareas en este tablero:", + "deposit-subtasks-list": "Lista de destino para subtareas depositadas aquí:", + "show-parent-in-minicard": "Mostrar el padre en una minitarjeta:", + "prefix-with-full-path": "Prefijo con ruta completa", + "prefix-with-parent": "Prefijo con el padre", + "subtext-with-full-path": "Subtexto con ruta completa", + "subtext-with-parent": "Subtexto con el padre", + "change-card-parent": "Cambiar la tarjeta padre", + "parent-card": "Tarjeta padre", + "source-board": "Tablero de origen", + "no-parent": "No mostrar la tarjeta padre", + "activity-added-label": "agregada etiqueta «%s» a %s", + "activity-removed-label": "eliminada etiqueta '%s' desde %s", + "activity-delete-attach": "eliminado un adjunto desde %s", + "activity-added-label-card": "agregada etiqueta «%s»", + "activity-removed-label-card": "eliminada etiqueta '%s'", + "activity-delete-attach-card": "eliminado un adjunto", + "activity-set-customfield": "Cambiar el campo personalizado '%s' a '%s' en %s", + "activity-unset-customfield": "Desmarcar el campo personalizado '%s' en %s", + "r-rule": "Regla", + "r-add-trigger": "Agregar desencadenador", + "r-add-action": "Agregar acción", + "r-board-rules": "Reglas del tablero", + "r-add-rule": "Agregar regla", + "r-view-rule": "Ver regla", + "r-delete-rule": "Eliminar regla", + "r-new-rule-name": "Nuevo título de regla", + "r-no-rules": "No hay reglas", + "r-trigger": "Desencadenador", + "r-action": "Acción", + "r-when-a-card": "Cuando una tarjeta", + "r-is": "es", + "r-is-moved": "es movida", + "r-added-to": "Agregado a", + "r-removed-from": "eliminado de", + "r-the-board": "el tablero", + "r-list": "la lista", + "set-filter": "Filtrar", + "r-moved-to": "Movido a", + "r-moved-from": "Movido desde", + "r-archived": "Se archivó", + "r-unarchived": "Restaurado del archivo", + "r-a-card": "una tarjeta", + "r-when-a-label-is": "Cuando una etiqueta es", + "r-when-the-label": "Cuando la etiqueta es", + "r-list-name": "Nombre de lista", + "r-when-a-member": "Cuando un miembro es", + "r-when-the-member": "Cuando el miembro", + "r-name": "nombre", + "r-when-a-attach": "Cuando un adjunto", + "r-when-a-checklist": "Cuando una lista de comprobación es", + "r-when-the-checklist": "Cuando la lista de comprobación", + "r-completed": "Completada", + "r-made-incomplete": "Hecha incompleta", + "r-when-a-item": "Cuando un elemento de la lista de comprobación es", + "r-when-the-item": "Cuando el elemento de la lista de comprobación es", + "r-checked": "Marcado", + "r-unchecked": "Desmarcado", + "r-move-card-to": "Mover la tarjeta", + "r-top-of": "Arriba de", + "r-bottom-of": "Abajo de", + "r-its-list": "su lista", + "r-archive": "Archivar", + "r-unarchive": "Restaurar del archivo", + "r-card": "la tarjeta", + "r-add": "Agregar", + "r-remove": "Eliminar", + "r-label": "etiqueta", + "r-member": "miembro", + "r-remove-all": "Eliminar todos los miembros de la tarjeta", + "r-set-color": "Cambiar el color a", + "r-checklist": "lista de comprobación", + "r-check-all": "Marcar todo", + "r-uncheck-all": "Desmarcar todo", + "r-items-check": "elementos de la lista de comprobación", + "r-check": "Marcar", + "r-uncheck": "Desmarcar", + "r-item": "elemento", + "r-of-checklist": "de la lista de comprobación", + "r-send-email": "Enviar un email", + "r-to": "a", + "r-of": "de", + "r-subject": "asunto", + "r-rule-details": "Detalle de la regla", + "r-d-move-to-top-gen": "Mover la tarjeta al inicio de su lista", + "r-d-move-to-top-spec": "Mover la tarjeta al inicio de la lista", + "r-d-move-to-bottom-gen": "Mover la tarjeta al final de su lista", + "r-d-move-to-bottom-spec": "Mover la tarjeta al final de la lista", + "r-d-send-email": "Enviar email", + "r-d-send-email-to": "a", + "r-d-send-email-subject": "asunto", + "r-d-send-email-message": "mensaje", + "r-d-archive": "Archivar la tarjeta", + "r-d-unarchive": "Restaurar tarjeta del archivo", + "r-d-add-label": "Agregar etiqueta", + "r-d-remove-label": "Eliminar etiqueta", + "r-create-card": "Crear nueva tarjeta", + "r-in-list": "en la lista", + "r-in-swimlane": "en el carril", + "r-d-add-member": "Agregar miembro", + "r-d-remove-member": "Eliminar miembro", + "r-d-remove-all-member": "Eliminar todos los miembros", + "r-d-check-all": "Marcar todos los elementos de una lista", + "r-d-uncheck-all": "Desmarcar todos los elementos de una lista", + "r-d-check-one": "Marcar elemento", + "r-d-uncheck-one": "Desmarcar elemento", + "r-d-check-of-list": "de la lista de comprobación", + "r-d-add-checklist": "Agregar lista de comprobación", + "r-d-remove-checklist": "Eliminar lista de comprobación", + "r-by": "por", + "r-add-checklist": "Agregar lista de comprobación", + "r-with-items": "con elementos", + "r-items-list": "elemento1,elemento2,elemento3", + "r-add-swimlane": "Agregar el carril", + "r-swimlane-name": "nombre del carril", + "r-board-note": "Nota: deje un campo vacío para que coincida con todos los valores posibles", + "r-checklist-note": "Nota: los elementos de la lista de comprobación deben escribirse como valores separados por comas.", + "r-when-a-card-is-moved": "Cuando una tarjeta es movida a otra lista", + "r-set": "Cambiar", + "r-update": "Actualizar", + "r-datefield": "campo de fecha", + "r-df-start-at": "comienza", + "r-df-due-at": "vencimiento", + "r-df-end-at": "finalizado", + "r-df-received-at": "recibido", + "r-to-current-datetime": "a la fecha/hora actual", + "r-remove-value-from": "Eliminar el valor de", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Método de autenticación", + "authentication-type": "Tipo de autenticación", + "custom-product-name": "Nombre de producto personalizado", + "layout": "Diseño", + "hide-logo": "Ocultar el logo", + "add-custom-html-after-body-start": "Agrega HTML personalizado después de ", + "add-custom-html-before-body-end": "Agrega HTML personalizado después de ", + "error-undefined": "Algo no está bien", + "error-ldap-login": "Ocurrió un error al intentar acceder", + "display-authentication-method": "Mostrar el método de autenticación", + "default-authentication-method": "Método de autenticación por defecto", + "duplicate-board": "Duplicar tablero", + "people-number": "El número de personas es:", + "swimlaneDeletePopup-title": "¿Eliminar el carril «swimlane»?", + "swimlane-delete-pop": "Todas las acciones serán eliminadas de la fuente de actividades y no se podrá recuperar el carril «swimlane». Esta acción no puede deshacerse.", + "restore-all": "Restaurar todas", + "delete-all": "Borrar todas", + "loading": "Cargando. Por favor, espere.", + "previous_as": "el último tiempo fue", + "act-a-dueAt": "cambiada la hora de vencimiento a \nCuándo: __timeValue__\nDónde: __card__\n el vencimiento anterior fue __timeOldValue__", + "act-a-endAt": "cambiada la hora de finalización a __timeValue__ Fecha anterior: (__timeOldValue__)", + "act-a-startAt": "cambiada la hora de comienzo a __timeValue__ Fecha anterior: (__timeOldValue__)", + "act-a-receivedAt": "cambiada la fecha de recepción a __timeValue__ Fecha anterior: (__timeOldValue__)", + "a-dueAt": "cambiada la hora de vencimiento a", + "a-endAt": "cambiada la hora de finalización a", + "a-startAt": "cambiada la hora de comienzo a", + "a-receivedAt": "cambiada la hora de recepción a", + "almostdue": "está próxima la hora de vencimiento actual %s", + "pastdue": "se sobrepasó la hora de vencimiento actual %s", + "duenow": "la hora de vencimiento actual %s es hoy", + "act-newDue": "__list__/__card__ tiene una 1ra notificación de vencimiento [__board__]", + "act-withDue": "__list__/__card__ notificaciones de vencimiento [__board__]", + "act-almostdue": "se ha notificado que el vencimiento actual (__timeValue__) de __card__ está próximo", + "act-pastdue": "se ha notificado que el vencimiento actual (__timeValue__) de __card__ se sobrepasó", + "act-duenow": "se ha notificado que el vencimiento actual (__timeValue__) de __card__ es ahora", + "act-atUserComment": "Se le mencionó en [__board__] __list__/__card__", + "delete-user-confirm-popup": "¿Seguro que desea eliminar esta cuenta? Esta acción no puede deshacerse.", + "accounts-allowUserDelete": "Permitir a los usuarios eliminar su cuenta", + "hide-minicard-label-text": "Ocultar el texto de la etiqueta de la minitarjeta", + "show-desktop-drag-handles": "Mostrar los controles de arrastre del escritorio", + "assignee": "Asignado", + "cardAssigneesPopup-title": "Asignado", + "addmore-detail": "Agregar una descripción detallada", + "show-on-card": "Mostrar en la tarjeta", + "new": "Nuevo", + "editUserPopup-title": "Editar el usuario", + "newUserPopup-title": "Nuevo usuario", + "notifications": "Notificaciones", + "view-all": "Ver todo", + "filter-by-unread": "Filtrar por no leído", + "mark-all-as-read": "Marcar todo como leido", + "remove-all-read": "Eliminar todos los leídos", + "allow-rename": "Permitir renombrar", + "allowRenamePopup-title": "Permitir renombrar", + "start-day-of-week": "Establecer el día de inicio de la semana", + "monday": "lunes", + "tuesday": "martes", + "wednesday": "miércoles", + "thursday": "jueves", + "friday": "viernes", + "saturday": "sábado", + "sunday": "domingo", + "status": "Estado", + "swimlane": "Carril", + "owner": "Propietario", + "last-modified-at": "Última modificación", + "last-activity": "Última actividad", + "voting": "Votar", + "archived": "Archivado", + "delete-linked-card-before-this-card": "No puede borrar esta tarjeta antes de borrar la tarjeta enlazada que tiene", + "delete-linked-cards-before-this-list": "No puede borrar esta lista antes de borrar las tarjetas enlazadas que apuntan a tarjetas en esta lista", + "hide-checked-items": "Ocultar elementos marcados" +} \ No newline at end of file diff --git a/i18n/es.i18n.json b/i18n/es.i18n.json new file mode 100644 index 0000000..a88f923 --- /dev/null +++ b/i18n/es.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Aceptar", + "act-activity-notify": "Notificación de actividad", + "act-addAttachment": "añadido el adjunto __attachment__ a la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-deleteAttachment": "eliminado el adjunto __attachment__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-addSubtask": "añadida la subtarea __subtask__ a la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-addLabel": "añadida la etiqueta __label__ a la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-addedLabel": "añadida la etiqueta __label__ a la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-removeLabel": "eliminada la etiqueta __label__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-removedLabel": "eliminada la etiqueta __label__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-addChecklist": "añadida la lista de verificación __checklist__ a la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-addChecklistItem": "añadido el elemento __checklistItem__ a la lista de verificación __checklist__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-removeChecklist": "eliminada la lista de verificación __checklist__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-removeChecklistItem": "eliminado el elemento __checklistItem__ de la lista de verificación __checkList__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-checkedItem": "marcado el elemento __checklistItem__ de la lista de verificación __checklist__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-uncheckedItem": "desmarcado el elemento __checklistItem__ de la lista de verificación __checklist__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-completeChecklist": "completada la lista de verificación __checklist__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-uncompleteChecklist": "no completada la lista de verificación __checklist__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-addComment": "comentario en la tarjeta__card__: __comment__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-editComment": "comentario editado en la tarjeta __card__: __comment__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-deleteComment": "comentario eliminado en la tarjeta __card__: __comment__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-createBoard": "creó el tablero __board__", + "act-createSwimlane": "creó el carril de flujo __swimlane__ en el tablero __board__", + "act-createCard": "creada la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-createCustomField": " creado el campo personalizado __customField__ en el tablero __board__", + "act-deleteCustomField": "eliminado el campo personalizado __customField__ del tablero __board__", + "act-setCustomField": "editado el campo personalizado __customField__: __customFieldValue__ en la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-createList": "añadida la lista __list__ al tablero __board__", + "act-addBoardMember": "añadido el mimbro __member__ al tablero __board__", + "act-archivedBoard": "El tablero __board__ se ha archivado", + "act-archivedCard": "La tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__ se ha archivado", + "act-archivedList": "La lista __list__ del carril __swimlane__ del tablero __board__ se ha archivado", + "act-archivedSwimlane": "El carril __swimlane__ del tablero __board__ se ha archivado", + "act-importBoard": "importado el tablero __board__", + "act-importCard": "importada la tarjeta __card__ a la lista __list__ del carrril __swimlane__ del tablero __board__", + "act-importList": "importada la lista __list__ al carril __swimlane__ del tablero __board__", + "act-joinMember": "añadido el miembro __member__ a la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-moveCard": "movida la tarjeta __card__ del tablero __board__ de la lista __oldList__ del carril __oldSwimlane__ a la lista __list__ del carril __swimlane__", + "act-moveCardToOtherBoard": "movida la tarjeta __card__ de la lista __oldList__ del carril __oldSwimlane__ del tablero __oldBoard__ a la lista __list__ del carril __swimlane__ del tablero __board__", + "act-removeBoardMember": "eliminado el miembro __member__ del tablero __board__", + "act-restoredCard": "restaurada la tarjeta __card__ a la lista __list__ del carril __swimlane__ del tablero __board__", + "act-unjoinMember": "eliminado el miembro __member__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Acciones", + "activities": "Actividades", + "activity": "Actividad", + "activity-added": "ha añadido %s a %s", + "activity-archived": "%s se ha archivado", + "activity-attached": "ha adjuntado %s a %s", + "activity-created": "ha creado %s", + "activity-customfield-created": "creó el campo personalizado %s", + "activity-excluded": "ha excluido %s de %s", + "activity-imported": "ha importado %s a %s desde %s", + "activity-imported-board": "ha importado %s desde %s", + "activity-joined": "se ha unido a %s", + "activity-moved": "ha movido %s de %s a %s", + "activity-on": "en %s", + "activity-removed": "ha eliminado %s de %s", + "activity-sent": "ha enviado %s a %s", + "activity-unjoined": "se ha desvinculado de %s", + "activity-subtask-added": "ha añadido la subtarea a %s", + "activity-checked-item": "marcado %s en la lista de verificación %s de %s", + "activity-unchecked-item": "desmarcado %s en lista %s de %s", + "activity-checklist-added": "ha añadido una lista de verificación a %s", + "activity-checklist-removed": "eliminada una lista de verificación desde %s", + "activity-checklist-completed": "lista de verificación completada %s de %s", + "activity-checklist-uncompleted": "no completado la lista %s de %s", + "activity-checklist-item-added": "ha añadido el elemento de la lista de verificación a '%s' en %s", + "activity-checklist-item-removed": "eliminado un elemento de la lista de verificación desde '%s' en %s", + "add": "Añadir", + "activity-checked-item-card": "marcado %s en la lista de verificación %s", + "activity-unchecked-item-card": "desmarcado %s en la lista de verificación %s", + "activity-checklist-completed-card": "completada la lista de verificación __checklist__ de la tarjeta __card__ de la lista __list__ del carril __swimlane__ del tablero __board__", + "activity-checklist-uncompleted-card": "no completó la lista de verificación %s", + "activity-editComment": "comentario editado", + "activity-deleteComment": "comentario eliminado", + "add-attachment": "Añadir adjunto", + "add-board": "Añadir tablero", + "add-card": "Añadir una tarjeta", + "add-swimlane": "Añadir un carril de flujo", + "add-subtask": "Añadir subtarea", + "add-checklist": "Añadir una lista de verificación", + "add-checklist-item": "Añadir un elemento a la lista de verificación", + "add-cover": "Añadir portada", + "add-label": "Añadir una etiqueta", + "add-list": "Añadir una lista", + "add-members": "Añadir miembros", + "added": "Añadida el", + "addMemberPopup-title": "Miembros", + "admin": "Administrador", + "admin-desc": "Puedes ver y editar tarjetas, eliminar miembros, y cambiar las preferencias del tablero", + "admin-announcement": "Aviso", + "admin-announcement-active": "Activar el aviso para todo el sistema", + "admin-announcement-title": "Aviso del administrador", + "all-boards": "Tableros", + "and-n-other-card": "y __count__ tarjeta más", + "and-n-other-card_plural": "y otras __count__ tarjetas", + "apply": "Aplicar", + "app-is-offline": "Cargando, espera por favor. Refrescar esta página causará pérdida de datos. Si la carga no funciona, por favor comprueba que el servidor no se ha parado.", + "archive": "Archivar", + "archive-all": "Archivar todo", + "archive-board": "Archivar este tablero", + "archive-card": "Archivar esta tarjeta", + "archive-list": "Archivar esta lista", + "archive-swimlane": "Archivar este carril", + "archive-selection": "Archivar esta selección", + "archiveBoardPopup-title": "¿Archivar este tablero?", + "archived-items": "Archivo", + "archived-boards": "Tableros en el Archivo", + "restore-board": "Restaurar el tablero", + "no-archived-boards": "No hay Tableros en el Archivo", + "archives": "Archivo", + "template": "Plantilla", + "templates": "Plantillas", + "assign-member": "Asignar miembros", + "attached": "adjuntado", + "attachment": "Adjunto", + "attachment-delete-pop": "La eliminación de un fichero adjunto es permanente. Esta acción no puede deshacerse.", + "attachmentDeletePopup-title": "¿Eliminar el adjunto?", + "attachments": "Adjuntos", + "auto-watch": "Suscribirse automáticamente a los tableros cuando son creados", + "avatar-too-big": "El avatar es muy grande (70KB máx.)", + "back": "Atrás", + "board-change-color": "Cambiar el color", + "board-nb-stars": "%s destacados", + "board-not-found": "Tablero no encontrado", + "board-private-info": "Este tablero será privado.", + "board-public-info": "Este tablero será público.", + "boardChangeColorPopup-title": "Cambiar el fondo del tablero", + "boardChangeTitlePopup-title": "Renombrar el tablero", + "boardChangeVisibilityPopup-title": "Cambiar visibilidad", + "boardChangeWatchPopup-title": "Cambiar vigilancia", + "boardMenuPopup-title": "Preferencias del tablero", + "boardChangeViewPopup-title": "Vista del tablero", + "boards": "Tableros", + "board-view": "Vista del tablero", + "board-view-cal": "Calendario", + "board-view-swimlanes": "Carriles", + "board-view-collapse": "Contraer", + "board-view-lists": "Listas", + "bucket-example": "Como “Cosas por hacer” por ejemplo", + "cancel": "Cancelar", + "card-archived": "Se archivó esta tarjeta", + "board-archived": "Se archivó este tablero", + "card-comments-title": "Esta tarjeta tiene %s comentarios.", + "card-delete-notice": "la eliminación es permanente. Perderás todas las acciones asociadas a esta tarjeta.", + "card-delete-pop": "Se eliminarán todas las acciones del historial de actividades y no se podrá volver a abrir la tarjeta. Esta acción no puede deshacerse.", + "card-delete-suggest-archive": "Puedes mover una tarjeta al Archivo para quitarla del tablero y preservar la actividad.", + "card-due": "Vence", + "card-due-on": "Vence el", + "card-spent": "Tiempo consumido", + "card-edit-attachments": "Editar los adjuntos", + "card-edit-custom-fields": "Editar los campos personalizados", + "card-edit-labels": "Editar las etiquetas", + "card-edit-members": "Editar los miembros", + "card-labels-title": "Cambia las etiquetas de la tarjeta", + "card-members-title": "Añadir o eliminar miembros del tablero desde la tarjeta.", + "card-start": "Comienza", + "card-start-on": "Comienza el", + "cardAttachmentsPopup-title": "Adjuntar desde", + "cardCustomField-datePopup-title": "Cambiar la fecha", + "cardCustomFieldsPopup-title": "Editar los campos personalizados", + "cardStartVotingPopup-title": "Comience a votar", + "positiveVoteMembersPopup-title": "Favorables", + "negativeVoteMembersPopup-title": "Contrarios", + "card-edit-voting": "Editar votación", + "editVoteEndDatePopup-title": "Cambie fecha de termino del voto", + "allowNonBoardMembers": "Permitir todos los usuarios autentificados", + "vote-question": "Pregunta de votación", + "vote-public": "Mostrar quien voto que", + "vote-for-it": "por esto", + "vote-against": "contrarios", + "deleteVotePopup-title": "¿Borrar voto?", + "vote-delete-pop": "El Borrado es permanente. Perderá todas las acciones asociadas con este voto.", + "cardDeletePopup-title": "¿Eliminar la tarjeta?", + "cardDetailsActionsPopup-title": "Acciones de la tarjeta", + "cardLabelsPopup-title": "Etiquetas", + "cardMembersPopup-title": "Miembros", + "cardMorePopup-title": "Más", + "cardTemplatePopup-title": "Crear plantilla", + "cards": "Tarjetas", + "cards-count": "Tarjetas", + "casSignIn": "Iniciar sesión con CAS", + "cardType-card": "Tarjeta", + "cardType-linkedCard": "Tarjeta enlazada", + "cardType-linkedBoard": "Tablero enlazado", + "change": "Cambiar", + "change-avatar": "Cambiar el avatar", + "change-password": "Cambiar la contraseña", + "change-permissions": "Cambiar los permisos", + "change-settings": "Cambiar las preferencias", + "changeAvatarPopup-title": "Cambiar el avatar", + "changeLanguagePopup-title": "Cambiar el idioma", + "changePasswordPopup-title": "Cambiar la contraseña", + "changePermissionsPopup-title": "Cambiar los permisos", + "changeSettingsPopup-title": "Cambiar las preferencias", + "subtasks": "Subtareas", + "checklists": "Lista de verificación", + "click-to-star": "Haz clic para destacar este tablero.", + "click-to-unstar": "Haz clic para dejar de destacar este tablero.", + "clipboard": "el portapapeles o con arrastrar y soltar", + "close": "Cerrar", + "close-board": "Cerrar el tablero", + "close-board-pop": "Podrás restaurar el tablero haciendo clic en el botón \"Archivo\" del encabezado de la pantalla inicial.", + "color-black": "negra", + "color-blue": "azul", + "color-crimson": "carmesí", + "color-darkgreen": "verde oscuro", + "color-gold": "oro", + "color-gray": "gris", + "color-green": "verde", + "color-indigo": "añil", + "color-lime": "lima", + "color-magenta": "magenta", + "color-mistyrose": "rosa claro", + "color-navy": "azul marino", + "color-orange": "naranja", + "color-paleturquoise": "turquesa", + "color-peachpuff": "melocotón", + "color-pink": "rosa", + "color-plum": "púrpura", + "color-purple": "violeta", + "color-red": "roja", + "color-saddlebrown": "marrón", + "color-silver": "plata", + "color-sky": "celeste", + "color-slateblue": "azul", + "color-white": "blanco", + "color-yellow": "amarilla", + "unset-color": "Desmarcar", + "comment": "Comentar", + "comment-placeholder": "Escribir comentario", + "comment-only": "Sólo comentarios", + "comment-only-desc": "Solo puedes comentar en las tarjetas.", + "no-comments": "No hay comentarios", + "no-comments-desc": "No se pueden mostrar comentarios ni actividades.", + "worker": "Trabajador", + "worker-desc": "Solo puede mover tarjetas, asignarse a la tarjeta y comentar.", + "computer": "el ordenador", + "confirm-subtask-delete-dialog": "¿Seguro que quieres eliminar la subtarea?", + "confirm-checklist-delete-dialog": "¿Seguro que quieres eliminar la lista de verificación?", + "copy-card-link-to-clipboard": "Copiar el enlace de la tarjeta al portapapeles", + "linkCardPopup-title": "Enlazar tarjeta", + "searchElementPopup-title": "Buscar", + "copyCardPopup-title": "Copiar la tarjeta", + "copyChecklistToManyCardsPopup-title": "Copiar la plantilla de la lista de verificación en varias tarjetas", + "copyChecklistToManyCardsPopup-instructions": "Títulos y descripciones de las tarjetas de destino en formato JSON", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"Título de la primera tarjeta\", \"description\":\"Descripción de la primera tarjeta\"}, {\"title\":\"Título de la segunda tarjeta\",\"description\":\"Descripción de la segunda tarjeta\"},{\"title\":\"Título de la última tarjeta\",\"description\":\"Descripción de la última tarjeta\"} ]", + "create": "Crear", + "createBoardPopup-title": "Crear tablero", + "chooseBoardSourcePopup-title": "Importar un tablero", + "createLabelPopup-title": "Crear etiqueta", + "createCustomField": "Crear un campo", + "createCustomFieldPopup-title": "Crear un campo", + "current": "actual", + "custom-field-delete-pop": "Se eliminará este campo personalizado de todas las tarjetas y se destruirá su historial. Esta acción no puede deshacerse.", + "custom-field-checkbox": "Casilla de verificación", + "custom-field-currency": "Moneda", + "custom-field-currency-option": "Código de moneda", + "custom-field-date": "Fecha", + "custom-field-dropdown": "Lista desplegable", + "custom-field-dropdown-none": "(nada)", + "custom-field-dropdown-options": "Opciones de la lista", + "custom-field-dropdown-options-placeholder": "Pulsa Intro para añadir más opciones", + "custom-field-dropdown-unknown": "(desconocido)", + "custom-field-number": "Número", + "custom-field-text": "Texto", + "custom-fields": "Campos personalizados", + "date": "Fecha", + "decline": "Declinar", + "default-avatar": "Avatar por defecto", + "delete": "Eliminar", + "deleteCustomFieldPopup-title": "¿Eliminar el campo personalizado?", + "deleteLabelPopup-title": "¿Eliminar la etiqueta?", + "description": "Descripción", + "disambiguateMultiLabelPopup-title": "Desambiguar la acción de etiqueta", + "disambiguateMultiMemberPopup-title": "Desambiguar la acción de miembro", + "discard": "Descartarla", + "done": "Hecho", + "download": "Descargar", + "edit": "Editar", + "edit-avatar": "Cambiar el avatar", + "edit-profile": "Editar el perfil", + "edit-wip-limit": "Cambiar el límite del trabajo en proceso", + "soft-wip-limit": "Límite del trabajo en proceso flexible", + "editCardStartDatePopup-title": "Cambiar la fecha de comienzo", + "editCardDueDatePopup-title": "Cambiar la fecha de vencimiento", + "editCustomFieldPopup-title": "Editar el campo", + "editCardSpentTimePopup-title": "Cambiar el tiempo consumido", + "editLabelPopup-title": "Cambiar la etiqueta", + "editNotificationPopup-title": "Editar las notificaciones", + "editProfilePopup-title": "Editar el perfil", + "email": "Correo electrónico", + "email-enrollAccount-subject": "Cuenta creada en __siteName__", + "email-enrollAccount-text": "Hola __user__,\n\nPara empezar a utilizar el servicio, simplemente haz clic en el siguiente enlace.\n\n__url__\n\nGracias.", + "email-fail": "Error al enviar el correo", + "email-fail-text": "Error al intentar enviar el correo", + "email-invalid": "Correo no válido", + "email-invite": "Invitar vía correo electrónico", + "email-invite-subject": "__inviter__ ha enviado una invitación", + "email-invite-text": "Estimado __user__,\n\n__inviter__ te invita a unirte al tablero '__board__' para colaborar.\n\nPor favor, haz clic en el siguiente enlace:\n\n__url__\n\nGracias.", + "email-resetPassword-subject": "Restablecer tu contraseña en __siteName__", + "email-resetPassword-text": "Hola __user__,\n\nPara restablecer tu contraseña, haz clic en el siguiente enlace.\n\n__url__\n\nGracias.", + "email-sent": "Correo enviado", + "email-verifyEmail-subject": "Verifica tu dirección de correo en __siteName__", + "email-verifyEmail-text": "Hola __user__,\n\nPara verificar tu cuenta de correo electrónico, haz clic en el siguiente enlace.\n\n__url__\n\nGracias.", + "enable-wip-limit": "Habilitar el límite del trabajo en proceso", + "error-board-doesNotExist": "El tablero no existe", + "error-board-notAdmin": "Es necesario ser administrador de este tablero para hacer eso", + "error-board-notAMember": "Es necesario ser miembro de este tablero para hacer eso", + "error-json-malformed": "El texto no es un JSON válido", + "error-json-schema": "Sus datos JSON no incluyen la información apropiada en el formato correcto", + "error-csv-schema": "Su CSV(Valores separados por coma)/TSV(Valores separados por tab) no incluyen la información apropiada en el formato correcto", + "error-list-doesNotExist": "La lista no existe", + "error-user-doesNotExist": "El usuario no existe", + "error-user-notAllowSelf": "No puedes invitarte a ti mismo", + "error-user-notCreated": "El usuario no ha sido creado", + "error-username-taken": "Este nombre de usuario ya está en uso", + "error-email-taken": "Esta dirección de correo ya está en uso", + "export-board": "Exportar el tablero", + "export-board-json": "Exportar tablero a JSON", + "export-board-csv": "Exportar tablero a CSV", + "export-board-tsv": "Exportar tablero a TSV", + "export-board-html": "Exportar tablero a HTML", + "exportBoardPopup-title": "Exportar el tablero", + "sort": "Ordenar", + "sort-desc": "Click para ordenar la lista", + "list-sort-by": "Ordenar la lista por:", + "list-label-modifiedAt": "Hora de último acceso", + "list-label-title": "Nombre de la lista", + "list-label-sort": "Tu orden manual", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Filtrar", + "filter-cards": "Filtrar tarjetas o listas", + "list-filter-label": "Filtrar listas por título", + "filter-clear": "Limpiar el filtro", + "filter-no-label": "Sin etiqueta", + "filter-no-member": "Sin miembro", + "filter-no-assignee": "No asignado", + "filter-no-custom-fields": "Sin campos personalizados", + "filter-show-archive": "Mostrar las listas archivadas", + "filter-hide-empty": "Ocultar las listas vacías", + "filter-on": "Filtrado activado", + "filter-on-desc": "Estás filtrando tarjetas en este tablero. Haz clic aquí para editar el filtro.", + "filter-to-selection": "Filtrar la selección", + "advanced-filter-label": "Filtrado avanzado", + "advanced-filter-description": "El filtrado avanzado permite escribir una cadena que contiene los siguientes operadores: == != <= >= && || ( ) Se utiliza un espacio como separador entre los operadores. Se pueden filtrar todos los campos personalizados escribiendo sus nombres y valores. Por ejemplo: Campo1 == Valor1. Nota: Si los campos o valores contienen espacios, deben encapsularse entre comillas simples. Por ejemplo: 'Campo 1' == 'Valor 1'. Para omitir los caracteres de control único (' \\/), se usa \\. Por ejemplo: Campo1 = I\\'m. También se pueden combinar múltiples condiciones. Por ejemplo: C1 == V1 || C1 == V2. Normalmente todos los operadores se interpretan de izquierda a derecha. Se puede cambiar el orden colocando paréntesis. Por ejemplo: C1 == V1 && ( C2 == V2 || C2 == V3 ). También se puede buscar en campos de texto usando expresiones regulares: C1 == /Tes.*/i", + "fullname": "Nombre completo", + "header-logo-title": "Volver a tu página de tableros", + "hide-system-messages": "Ocultar las notificaciones de actividad", + "headerBarCreateBoardPopup-title": "Crear tablero", + "home": "Inicio", + "import": "Importar", + "link": "Enlace", + "import-board": "importar un tablero", + "import-board-c": "Importar un tablero", + "import-board-title-trello": "Importar un tablero desde Trello", + "import-board-title-wekan": "Importar tablero desde una exportación previa", + "import-board-title-csv": "Importar tablero desde CSV/TSV", + "from-trello": "Desde Trello", + "from-wekan": "Desde exportación previa", + "from-csv": "Desde CSV/TSV", + "import-board-instruction-trello": "En tu tablero de Trello, ve a 'Menú', luego 'Más' > 'Imprimir y exportar' > 'Exportar JSON', y copia el texto resultante.", + "import-board-instruction-csv": "Pegue en sus Valores separados por coma(CSV)/Valores separados por tab(TSV).", + "import-board-instruction-wekan": "En tu tablero, vete a 'Menú', luego 'Exportar tablero', y copia el texto en el archivo descargado.", + "import-board-instruction-about-errors": "Aunque obtengas errores cuando importes el tablero, a veces la importación funciona igualmente, y el tablero se encontrará en la página de tableros.", + "import-json-placeholder": "Pega tus datos JSON válidos aquí", + "import-csv-placeholder": "Pega tus datos CSV/TSV válidos aquí", + "import-map-members": "Mapa de miembros", + "import-members-map": "Tu tablero importado tiene algunos miembros. Por favor, mapea los miembros que quieres importar con tus usuarios.", + "import-show-user-mapping": "Revisión de la asignación de miembros", + "import-user-select": "Selecciona el miembro existe que quieres usar como este miembro.", + "importMapMembersAddPopup-title": "Seleccionar miembro", + "info": "Versión", + "initials": "Iniciales", + "invalid-date": "Fecha no válida", + "invalid-time": "Tiempo no válido", + "invalid-user": "Usuario no válido", + "joined": "se ha unido", + "just-invited": "Has sido invitado a este tablero", + "keyboard-shortcuts": "Atajos de teclado", + "label-create": "Crear una etiqueta", + "label-default": "etiqueta %s (por defecto)", + "label-delete-pop": "Se eliminará esta etiqueta de todas las tarjetas y se destruirá su historial. Esta acción no puede deshacerse.", + "labels": "Etiquetas", + "language": "Cambiar el idioma", + "last-admin-desc": "No puedes cambiar roles porque debe haber al menos un administrador.", + "leave-board": "Abandonar el tablero", + "leave-board-pop": "¿Seguro que quieres abandonar __boardTitle__? Serás desvinculado de todas las tarjetas en este tablero.", + "leaveBoardPopup-title": "¿Abandonar el tablero?", + "link-card": "Enlazar a esta tarjeta", + "list-archive-cards": "Archivar todas las tarjetas de esta lista", + "list-archive-cards-pop": "Esto eliminará del tablero todas las tarjetas en esta lista. Para ver las tarjetas en el Archivo y recuperarlas al tablero haga click en \"Menu\" > \"Archivo\"", + "list-move-cards": "Mover todas las tarjetas de esta lista", + "list-select-cards": "Seleccionar todas las tarjetas de esta lista", + "set-color-list": "Cambiar el color", + "listActionPopup-title": "Acciones de la lista", + "swimlaneActionPopup-title": "Acciones del carril de flujo", + "swimlaneAddPopup-title": "Añadir un carril de flujo debajo", + "listImportCardPopup-title": "Importar una tarjeta de Trello", + "listImportCardsTsvPopup-title": "Importar CSV/TSV", + "listMorePopup-title": "Más", + "link-list": "Enlazar a esta lista", + "list-delete-pop": "Todas las acciones serán eliminadas del historial de actividades y no se podrá recuperar la lista. Esta acción no puede deshacerse.", + "list-delete-suggest-archive": "Puedes mover una lista al Archivo para quitarla del tablero y preservar la actividad.", + "lists": "Listas", + "swimlanes": "Carriles", + "log-out": "Finalizar la sesión", + "log-in": "Iniciar sesión", + "loginPopup-title": "Iniciar sesión", + "memberMenuPopup-title": "Preferencias de miembro", + "members": "Miembros", + "menu": "Menú", + "move-selection": "Mover la selección", + "moveCardPopup-title": "Mover la tarjeta", + "moveCardToBottom-title": "Mover al final", + "moveCardToTop-title": "Mover al principio", + "moveSelectionPopup-title": "Mover la selección", + "multi-selection": "Selección múltiple", + "multi-selection-on": "Selección múltiple activada", + "muted": "Silenciado", + "muted-info": "No serás notificado de ningún cambio en este tablero", + "my-boards": "Mis tableros", + "name": "Nombre", + "no-archived-cards": "No hay tarjetas archivadas.", + "no-archived-lists": "No hay listas archivadas.", + "no-archived-swimlanes": "No hay carriles archivados.", + "no-results": "Sin resultados", + "normal": "Normal", + "normal-desc": "Puedes ver y editar tarjetas. No puedes cambiar la configuración.", + "not-accepted-yet": "La invitación no ha sido aceptada aún", + "notify-participate": "Recibir actualizaciones de cualquier tarjeta en la que participas como creador o miembro", + "notify-watch": "Recibir actuaizaciones de cualquier tablero, lista o tarjeta que estés vigilando", + "optional": "opcional", + "or": "o", + "page-maybe-private": "Esta página puede ser privada. Es posible que puedas verla al iniciar sesión.", + "page-not-found": "Página no encontrada.", + "password": "Contraseña", + "paste-or-dragdrop": "pegar o arrastrar y soltar un fichero de imagen (sólo imagen)", + "participating": "Participando", + "preview": "Previsualizar", + "previewAttachedImagePopup-title": "Previsualizar", + "previewClipboardImagePopup-title": "Previsualizar", + "private": "Privado", + "private-desc": "Este tablero es privado. Sólo las personas añadidas al tablero pueden verlo y editarlo.", + "profile": "Perfil", + "public": "Público", + "public-desc": "Este tablero es público. Es visible para cualquiera a través del enlace, y se mostrará en los buscadores como Google. Sólo las personas añadidas al tablero pueden editarlo.", + "quick-access-description": "Destaca un tablero para añadir un acceso directo en esta barra.", + "remove-cover": "Eliminar portada", + "remove-from-board": "Desvincular del tablero", + "remove-label": "Eliminar la etiqueta", + "listDeletePopup-title": "¿Eliminar la lista?", + "remove-member": "Eliminar miembro", + "remove-member-from-card": "Eliminar de la tarjeta", + "remove-member-pop": "¿Eliminar __name__ (__username__) de __boardTitle__? El miembro será eliminado de todas las tarjetas de este tablero. En ellas se mostrará una notificación.", + "removeMemberPopup-title": "¿Eliminar miembro?", + "rename": "Renombrar", + "rename-board": "Renombrar el tablero", + "restore": "Restaurar", + "save": "Añadir", + "search": "Buscar", + "rules": "Reglas", + "search-cards": "Buscar entre los títulos, las descripciones de las tarjetas/listas y los campos personalizados en este tablero. ", + "search-example": "¿Texto a buscar?", + "select-color": "Seleccionar el color", + "set-wip-limit-value": "Cambiar el límite para el número máximo de tareas en esta lista.", + "setWipLimitPopup-title": "Cambiar el límite del trabajo en proceso", + "shortcut-assign-self": "Asignarte a ti mismo a la tarjeta actual", + "shortcut-autocomplete-emoji": "Autocompletar emoji", + "shortcut-autocomplete-members": "Autocompletar miembros", + "shortcut-clear-filters": "Limpiar todos los filtros", + "shortcut-close-dialog": "Cerrar el cuadro de diálogo", + "shortcut-filter-my-cards": "Filtrar mis tarjetas", + "shortcut-show-shortcuts": "Mostrar esta lista de atajos", + "shortcut-toggle-filterbar": "Conmutar la barra lateral del filtro", + "shortcut-toggle-sidebar": "Conmutar la barra lateral del tablero", + "show-cards-minimum-count": "Mostrar recuento de tarjetas si la lista contiene más de", + "sidebar-open": "Abrir la barra lateral", + "sidebar-close": "Cerrar la barra lateral", + "signupPopup-title": "Crear una cuenta", + "star-board-title": "Haz clic para destacar este tablero. Se mostrará en la parte superior de tu lista de tableros.", + "starred-boards": "Tableros destacados", + "starred-boards-description": "Los tableros destacados se mostrarán en la parte superior de tu lista de tableros.", + "subscribe": "Suscribirse", + "team": "Equipo", + "this-board": "este tablero", + "this-card": "esta tarjeta", + "spent-time-hours": "Tiempo consumido (horas)", + "overtime-hours": "Tiempo excesivo (horas)", + "overtime": "Tiempo excesivo", + "has-overtime-cards": "Hay tarjetas con el tiempo excedido", + "has-spenttime-cards": "Se ha excedido el tiempo de las tarjetas", + "time": "Hora", + "title": "Título", + "tracking": "Siguiendo", + "tracking-info": "Serás notificado de cualquier cambio en las tarjetas en las que participas como creador o miembro.", + "type": "Tipo", + "unassign-member": "Desvincular al miembro", + "unsaved-description": "Tienes una descripción por añadir.", + "unwatch": "Dejar de vigilar", + "upload": "Cargar", + "upload-avatar": "Cargar un avatar", + "uploaded-avatar": "Avatar cargado", + "username": "Nombre de usuario", + "view-it": "Verla", + "warn-list-archived": "advertencia: esta tarjeta está en una lista en el Archivo", + "watch": "Vigilar", + "watching": "Vigilando", + "watching-info": "Serás notificado de cualquier cambio en este tablero", + "welcome-board": "Tablero de bienvenida", + "welcome-swimlane": "Hito 1", + "welcome-list1": "Básicos", + "welcome-list2": "Avanzados", + "card-templates-swimlane": "Plantilla de tarjeta", + "list-templates-swimlane": "Listar plantillas", + "board-templates-swimlane": "Plantilla de tablero", + "what-to-do": "¿Qué quieres hacer?", + "wipLimitErrorPopup-title": "El límite del trabajo en proceso no es válido.", + "wipLimitErrorPopup-dialog-pt1": "El número de tareas en esta lista es mayor que el límite del trabajo en proceso que has definido.", + "wipLimitErrorPopup-dialog-pt2": "Por favor, mueve algunas tareas fuera de esta lista, o fija un límite del trabajo en proceso más alto.", + "admin-panel": "Panel del administrador", + "settings": "Preferencias", + "people": "Personas", + "registration": "Registro", + "disable-self-registration": "Deshabilitar autoregistro", + "invite": "Invitar", + "invite-people": "Invitar a personas", + "to-boards": "A el(los) tablero(s)", + "email-addresses": "Direcciones de correo electrónico", + "smtp-host-description": "Dirección del servidor SMTP para gestionar tus correos", + "smtp-port-description": "Puerto usado por el servidor SMTP para mandar correos", + "smtp-tls-description": "Habilitar el soporte TLS para el servidor SMTP", + "smtp-host": "Servidor SMTP", + "smtp-port": "Puerto SMTP", + "smtp-username": "Nombre de usuario", + "smtp-password": "Contraseña", + "smtp-tls": "Soporte TLS", + "send-from": "Desde", + "send-smtp-test": "Enviarte un correo de prueba a ti mismo", + "invitation-code": "Código de Invitación", + "email-invite-register-subject": "__inviter__ te ha enviado una invitación", + "email-invite-register-text": "Querido __user__,\n__inviter__ le invita al tablero kanban para colaborar.\n\nPor favor, siga el siguiente enlace:\n__url__\n\nY tu código de invitación es: __icode__\n\nGracias.", + "email-smtp-test-subject": "Prueba de email SMTP", + "email-smtp-test-text": "El correo se ha enviado correctamente", + "error-invitation-code-not-exist": "El código de invitación no existe", + "error-notAuthorized": "No estás autorizado a ver esta página.", + "webhook-title": "Nombre del Webhook", + "webhook-token": "Token (opcional para la autenticación)", + "outgoing-webhooks": "Webhooks salientes", + "bidirectional-webhooks": "Webhooks de doble sentido", + "outgoingWebhooksPopup-title": "Webhooks salientes", + "boardCardTitlePopup-title": "Filtro de títulos de tarjeta", + "disable-webhook": "Deshabilitar este Webhook", + "global-webhook": "Webhooks globales", + "new-outgoing-webhook": "Nuevo webhook saliente", + "no-name": "(Desconocido)", + "Node_version": "Versión de Node", + "Meteor_version": "Versión de Meteor", + "MongoDB_version": "Versión de MongoDB", + "MongoDB_storage_engine": "Motor de almacenamiento de MongoDB", + "MongoDB_Oplog_enabled": "Oplog de MongoDB habilitado", + "OS_Arch": "Arquitectura del sistema", + "OS_Cpus": "Número de CPUs del sistema", + "OS_Freemem": "Memoria libre del sistema", + "OS_Loadavg": "Carga media del sistema", + "OS_Platform": "Plataforma del sistema", + "OS_Release": "Publicación del sistema", + "OS_Totalmem": "Memoria total del sistema", + "OS_Type": "Tipo de sistema", + "OS_Uptime": "Tiempo activo del sistema", + "days": "días", + "hours": "horas", + "minutes": "minutos", + "seconds": "segundos", + "show-field-on-card": "Mostrar este campo en la tarjeta", + "automatically-field-on-card": "Crear campos automáticamente para todas las tarjetas.", + "showLabel-field-on-card": "Mostrar etiquetas de campos en la minitarjeta.", + "yes": "Sí", + "no": "No", + "accounts": "Cuentas", + "accounts-allowEmailChange": "Permitir cambiar el correo electrónico", + "accounts-allowUserNameChange": "Permitir cambiar el nombre de usuario", + "createdAt": "Fecha de alta", + "verified": "Verificado", + "active": "Activo", + "card-received": "Recibido", + "card-received-on": "Recibido el", + "card-end": "Finalizado", + "card-end-on": "Finalizado el", + "editCardReceivedDatePopup-title": "Cambiar la fecha de recepción", + "editCardEndDatePopup-title": "Cambiar la fecha de finalización", + "setCardColorPopup-title": "Cambiar el color", + "setCardActionsColorPopup-title": "Elegir un color", + "setSwimlaneColorPopup-title": "Elegir un color", + "setListColorPopup-title": "Elegir un color", + "assigned-by": "Asignado por", + "requested-by": "Solicitado por", + "board-delete-notice": "Se eliminarán todas las listas, tarjetas y acciones asociadas a este tablero. Esta acción no puede deshacerse.", + "delete-board-confirm-popup": "Se eliminarán todas las listas, tarjetas, etiquetas y actividades, y no podrás recuperar los contenidos del tablero. Esta acción no puede deshacerse.", + "boardDeletePopup-title": "¿Eliminar el tablero?", + "delete-board": "Eliminar el tablero", + "default-subtasks-board": "Subtareas para el tablero __board__", + "default": "Por defecto", + "queue": "Cola", + "subtask-settings": "Preferencias de las subtareas", + "card-settings": "Preferencias de la tarjeta", + "boardSubtaskSettingsPopup-title": "Preferencias de las subtareas del tablero", + "boardCardSettingsPopup-title": "Preferencias de la tarjeta", + "deposit-subtasks-board": "Depositar subtareas en este tablero:", + "deposit-subtasks-list": "Lista de destino para subtareas depositadas aquí:", + "show-parent-in-minicard": "Mostrar el padre en una minitarjeta:", + "prefix-with-full-path": "Prefijo con ruta completa", + "prefix-with-parent": "Prefijo con el padre", + "subtext-with-full-path": "Subtexto con ruta completa", + "subtext-with-parent": "Subtexto con el padre", + "change-card-parent": "Cambiar la tarjeta padre", + "parent-card": "Tarjeta padre", + "source-board": "Tablero de origen", + "no-parent": "No mostrar la tarjeta padre", + "activity-added-label": "añadida etiqueta %s a %s", + "activity-removed-label": "eliminada etiqueta '%s' desde %s", + "activity-delete-attach": "eliminado un adjunto desde %s", + "activity-added-label-card": "añadida etiqueta '%s'", + "activity-removed-label-card": "eliminada etiqueta '%s'", + "activity-delete-attach-card": "eliminado un adjunto", + "activity-set-customfield": "Cambiar el campo personalizado '%s' a '%s' en %s", + "activity-unset-customfield": "Desmarcar el campo personalizado '%s' en %s", + "r-rule": "Regla", + "r-add-trigger": "Añadir disparador", + "r-add-action": "Añadir acción", + "r-board-rules": "Reglas del tablero", + "r-add-rule": "Añadir regla", + "r-view-rule": "Ver regla", + "r-delete-rule": "Eliminar regla", + "r-new-rule-name": "Nueva título de regla", + "r-no-rules": "No hay reglas", + "r-trigger": "disparador", + "r-action": "acción", + "r-when-a-card": "Cuando una tarjeta", + "r-is": "es", + "r-is-moved": "es movida", + "r-added-to": "Añadido a", + "r-removed-from": "eliminado de", + "r-the-board": "el tablero", + "r-list": "la lista", + "set-filter": "Filtrar", + "r-moved-to": "Movido a", + "r-moved-from": "Movido desde", + "r-archived": "Se archivó", + "r-unarchived": "Restaurado del archivo", + "r-a-card": "una tarjeta", + "r-when-a-label-is": "Cuando una etiqueta es", + "r-when-the-label": "Cuando la etiqueta es", + "r-list-name": "Nombre de lista", + "r-when-a-member": "Cuando un miembro es", + "r-when-the-member": "Cuando el miembro", + "r-name": "nombre", + "r-when-a-attach": "Cuando un adjunto", + "r-when-a-checklist": "Cuando una lista de verificación es", + "r-when-the-checklist": "Cuando la lista de verificación", + "r-completed": "Completada", + "r-made-incomplete": "Hecha incompleta", + "r-when-a-item": "Cuando un elemento de la lista de verificación es", + "r-when-the-item": "Cuando el elemento de la lista de verificación es", + "r-checked": "Marcado", + "r-unchecked": "Desmarcado", + "r-move-card-to": "Mover la tarjeta", + "r-top-of": "Arriba de", + "r-bottom-of": "Abajo de", + "r-its-list": "su lista", + "r-archive": "Archivar", + "r-unarchive": "Restaurar del Archivo", + "r-card": "la tarjeta", + "r-add": "Añadir", + "r-remove": "Eliminar", + "r-label": "etiqueta", + "r-member": "miembro", + "r-remove-all": "Eliminar todos los miembros de la tarjeta", + "r-set-color": "Cambiar el color a", + "r-checklist": "lista de verificación", + "r-check-all": "Marcar todo", + "r-uncheck-all": "Desmarcar todo", + "r-items-check": "elementos de la lista de verificación", + "r-check": "Marcar", + "r-uncheck": "Desmarcar", + "r-item": "elemento", + "r-of-checklist": "de la lista de verificación", + "r-send-email": "Enviar un email", + "r-to": "a", + "r-of": "de", + "r-subject": "asunto", + "r-rule-details": "Detalle de la regla", + "r-d-move-to-top-gen": "Mover la tarjeta al inicio de su lista", + "r-d-move-to-top-spec": "Mover la tarjeta al inicio de la lista", + "r-d-move-to-bottom-gen": "Mover la tarjeta al final de su lista", + "r-d-move-to-bottom-spec": "Mover la tarjeta al final de la lista", + "r-d-send-email": "Enviar email", + "r-d-send-email-to": "a", + "r-d-send-email-subject": "asunto", + "r-d-send-email-message": "mensaje", + "r-d-archive": "Archivar la tarjeta", + "r-d-unarchive": "Restaurar tarjeta del Archivo", + "r-d-add-label": "Añadir etiqueta", + "r-d-remove-label": "Eliminar etiqueta", + "r-create-card": "Crear una nueva tarjeta", + "r-in-list": "en la lista", + "r-in-swimlane": "en el carril", + "r-d-add-member": "Añadir miembro", + "r-d-remove-member": "Eliminar miembro", + "r-d-remove-all-member": "Eliminar todos los miembros", + "r-d-check-all": "Marcar todos los elementos de una lista", + "r-d-uncheck-all": "Desmarcar todos los elementos de una lista", + "r-d-check-one": "Marcar elemento", + "r-d-uncheck-one": "Desmarcar elemento", + "r-d-check-of-list": "de la lista de verificación", + "r-d-add-checklist": "Añadir una lista de verificación", + "r-d-remove-checklist": "Eliminar lista de verificación", + "r-by": "por", + "r-add-checklist": "Añadir una lista de verificación", + "r-with-items": "con items", + "r-items-list": "item1,item2,item3", + "r-add-swimlane": "Agregar el carril", + "r-swimlane-name": "nombre del carril", + "r-board-note": "Nota: deje un campo vacío para que coincida con todos los valores posibles", + "r-checklist-note": "Nota: los ítems de la lista tienen que escribirse como valores separados por coma.", + "r-when-a-card-is-moved": "Cuando una tarjeta es movida a otra lista", + "r-set": "Cambiar", + "r-update": "Actualizar", + "r-datefield": "campo de fecha", + "r-df-start-at": "comienza", + "r-df-due-at": "vencimiento", + "r-df-end-at": "finalizado", + "r-df-received-at": "recibido", + "r-to-current-datetime": "a la fecha/hora actual", + "r-remove-value-from": "Eliminar el valor de", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Método de autenticación", + "authentication-type": "Tipo de autenticación", + "custom-product-name": "Nombre de producto personalizado", + "layout": "Diseño", + "hide-logo": "Ocultar el logo", + "add-custom-html-after-body-start": "Añade HTML personalizado después de ", + "add-custom-html-before-body-end": "Añade HTML personalizado después de ", + "error-undefined": "Algo no está bien", + "error-ldap-login": "Ocurrió un error al intentar acceder", + "display-authentication-method": "Mostrar el método de autenticación", + "default-authentication-method": "Método de autenticación por defecto", + "duplicate-board": "Duplicar tablero", + "people-number": "El número de personas es:", + "swimlaneDeletePopup-title": "¿Eliminar el carril de flujo?", + "swimlane-delete-pop": "Todas las acciones serán eliminadas del historial de actividades y no se podrá recuperar el carril de flujo. Esta acción no puede deshacerse.", + "restore-all": "Restaurar todas", + "delete-all": "Borrar todas", + "loading": "Cargando. Por favor, espere.", + "previous_as": "el último tiempo fue", + "act-a-dueAt": "cambiada la hora de vencimiento a \nCuándo: __timeValue__\nDónde: __card__\n el vencimiento anterior fue __timeOldValue__", + "act-a-endAt": "cambiada la hora de finalización a __timeValue__ Fecha anterior: (__timeOldValue__)", + "act-a-startAt": "cambiada la hora de comienzo a __timeValue__ Fecha anterior: (__timeOldValue__)", + "act-a-receivedAt": "cambiada la fecha de recepción a __timeValue__ Fecha anterior: (__timeOldValue__)", + "a-dueAt": "cambiada la hora de vencimiento a", + "a-endAt": "cambiada la hora de finalización a", + "a-startAt": "cambiada la hora de comienzo a", + "a-receivedAt": "cambiada la hora de recepción a", + "almostdue": "está próxima la hora de vencimiento actual %s", + "pastdue": "se sobrepasó la hora de vencimiento actual%s", + "duenow": "la hora de vencimiento actual %s es hoy", + "act-newDue": "__list__/__card__ tiene una 1ra notificación de vencimiento [__board__]", + "act-withDue": "__list__/__card__ notificaciones de vencimiento [__board__]", + "act-almostdue": "se ha notificado que el vencimiento actual (__timeValue__) de __card__ está próximo", + "act-pastdue": "se ha notificado que el vencimiento actual (__timeValue__) de __card__ se sobrepasó", + "act-duenow": "se ha notificado que el vencimiento actual (__timeValue__) de __card__ es ahora", + "act-atUserComment": "Se te mencionó en [__board__] __list__/__card__", + "delete-user-confirm-popup": "¿Seguro que quieres eliminar esta cuenta? Esta acción no puede deshacerse.", + "accounts-allowUserDelete": "Permitir a los usuarios eliminar su cuenta", + "hide-minicard-label-text": "Ocultar el texto de la etiqueta de la minitarjeta", + "show-desktop-drag-handles": "Mostrar los controles de arrastre del escritorio", + "assignee": "Asignado", + "cardAssigneesPopup-title": "Asignado", + "addmore-detail": "Añadir una descripción detallada", + "show-on-card": "Mostrar en la tarjeta", + "new": "Nuevo", + "editUserPopup-title": "Editar el usuario", + "newUserPopup-title": "Nuevo usuario", + "notifications": "Notificaciones", + "view-all": "Ver todo", + "filter-by-unread": "Filtrar por no leído", + "mark-all-as-read": "Marcar todo como leido", + "remove-all-read": "Eliminar todos los leídos", + "allow-rename": "Permitir renombrar", + "allowRenamePopup-title": "Permitir renombrar", + "start-day-of-week": "Establecer el dia de comienzo de la semana", + "monday": "Lunes", + "tuesday": "Martes", + "wednesday": "Miércoles", + "thursday": "Jueves", + "friday": "Viernes", + "saturday": "Sábado", + "sunday": "Domingo", + "status": "Estado", + "swimlane": "Carril", + "owner": "Propietario", + "last-modified-at": "Última modificación ", + "last-activity": "Última actividad", + "voting": "Votar", + "archived": "Archivado", + "delete-linked-card-before-this-card": "No puede borrar esta tarjeta antes de borrar la tarjeta enlazada que tiene", + "delete-linked-cards-before-this-list": "No puede borrar esta lista antes de borrar las tarjetas enlazadas que apuntan a tarjetas en esta lista", + "hide-checked-items": "Ocultar elementos marcados" +} \ No newline at end of file diff --git a/i18n/eu.i18n.json b/i18n/eu.i18n.json new file mode 100644 index 0000000..4a58874 --- /dev/null +++ b/i18n/eu.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Onartu", + "act-activity-notify": "Jardueraren jakinarazpena", + "act-addAttachment": "added attachment __attachment__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteAttachment": "deleted attachment __attachment__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addSubtask": "added subtask __subtask__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addedLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removedLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklist": "added checklist __checklist__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklistItem": "added checklist item __checklistItem__ to checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklist": "removed checklist __checklist__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklistItem": "removed checklist item __checklistItem__ from checklist __checkList__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-checkedItem": "checked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncheckedItem": "unchecked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-completeChecklist": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncompleteChecklist": "uncompleted checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addComment": "commented on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-editComment": "edited comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteComment": "deleted comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createBoard": "created board __board__", + "act-createSwimlane": "created swimlane __swimlane__ to board __board__", + "act-createCard": "created card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-createCustomField": "created custom field __customField__ at board __board__", + "act-deleteCustomField": "deleted custom field __customField__ at board __board__", + "act-setCustomField": "edited custom field __customField__: __customFieldValue__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createList": "added list __list__ to board __board__", + "act-addBoardMember": "added member __member__ to board __board__", + "act-archivedBoard": "Board __board__ moved to Archive", + "act-archivedCard": "Card __card__ at list __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedList": "List __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedSwimlane": "Swimlane __swimlane__ at board __board__ moved to Archive", + "act-importBoard": "imported board __board__", + "act-importCard": "imported card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-importList": "imported list __list__ to swimlane __swimlane__ at board __board__", + "act-joinMember": "added member __member__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-moveCard": "moved card __card__ at board __board__ from list __oldList__ at swimlane __oldSwimlane__ to list __list__ at swimlane __swimlane__", + "act-moveCardToOtherBoard": "moved card __card__ from list __oldList__ at swimlane __oldSwimlane__ at board __oldBoard__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-removeBoardMember": "removed member __member__ from board __board__", + "act-restoredCard": "restored card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-unjoinMember": "removed member __member__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Ekintzak", + "activities": "Jarduerak", + "activity": "Jarduera", + "activity-added": "%s %s(e)ra gehituta", + "activity-archived": "%s moved to Archive", + "activity-attached": "%s %s(e)ra erantsita", + "activity-created": "%s sortuta", + "activity-customfield-created": "created custom field %s", + "activity-excluded": "%s %s(e)tik kanpo utzita", + "activity-imported": "%s inportatuta %s(e)ra %s(e)tik", + "activity-imported-board": "%s inportatuta %s(e)tik", + "activity-joined": "%s(e)ra elkartuta", + "activity-moved": "%s %s(e)tik %s(e)ra eramanda", + "activity-on": "%s", + "activity-removed": "%s %s(e)tik kenduta", + "activity-sent": "%s %s(e)ri bidalita", + "activity-unjoined": "%s utzita", + "activity-subtask-added": "added subtask to %s", + "activity-checked-item": "checked %s in checklist %s of %s", + "activity-unchecked-item": "unchecked %s in checklist %s of %s", + "activity-checklist-added": "egiaztaketa zerrenda %s(e)ra gehituta", + "activity-checklist-removed": "removed a checklist from %s", + "activity-checklist-completed": "completed checklist %s of %s", + "activity-checklist-uncompleted": "uncompleted the checklist %s of %s", + "activity-checklist-item-added": "egiaztaketa zerrendako elementuak '%s'(e)ra gehituta %s(e)n", + "activity-checklist-item-removed": "removed a checklist item from '%s' in %s", + "add": "Gehitu", + "activity-checked-item-card": "checked %s in checklist %s", + "activity-unchecked-item-card": "unchecked %s in checklist %s", + "activity-checklist-completed-card": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "activity-checklist-uncompleted-card": "uncompleted the checklist %s", + "activity-editComment": "edited comment %s", + "activity-deleteComment": "deleted comment %s", + "add-attachment": "Gehitu eranskina", + "add-board": "Gehitu arbela", + "add-card": "Gehitu txartela", + "add-swimlane": "Add Swimlane", + "add-subtask": "Add Subtask", + "add-checklist": "Gehitu egiaztaketa zerrenda", + "add-checklist-item": "Gehitu elementu bat egiaztaketa zerrendara", + "add-cover": "Gehitu azala", + "add-label": "Gehitu etiketa", + "add-list": "Gehitu zerrenda", + "add-members": "Gehitu kideak", + "added": "Gehituta", + "addMemberPopup-title": "Kideak", + "admin": "Kudeatzailea", + "admin-desc": "Txartelak ikusi eta editatu ditzake, kideak kendu, eta arbelaren ezarpenak aldatu.", + "admin-announcement": "Jakinarazpena", + "admin-announcement-active": "Gaitu Sistema-eremuko Jakinarazpena", + "admin-announcement-title": "Administrariaren jakinarazpena", + "all-boards": "Arbel guztiak", + "and-n-other-card": "Eta beste txartel __count__", + "and-n-other-card_plural": "Eta beste __count__ txartel", + "apply": "Aplikatu", + "app-is-offline": "Loading, please wait. Refreshing the page will cause data loss. If loading does not work, please check that server has not stopped.", + "archive": "Move to Archive", + "archive-all": "Move All to Archive", + "archive-board": "Move Board to Archive", + "archive-card": "Move Card to Archive", + "archive-list": "Move List to Archive", + "archive-swimlane": "Move Swimlane to Archive", + "archive-selection": "Move selection to Archive", + "archiveBoardPopup-title": "Move Board to Archive?", + "archived-items": "Artxibatu", + "archived-boards": "Boards in Archive", + "restore-board": "Berreskuratu arbela", + "no-archived-boards": "No Boards in Archive.", + "archives": "Artxibatu", + "template": "Template", + "templates": "Templates", + "assign-member": "Esleitu kidea", + "attached": "erantsita", + "attachment": "Eranskina", + "attachment-delete-pop": "Eranskina ezabatzea behin betikoa da. Ez dago desegiterik.", + "attachmentDeletePopup-title": "Ezabatu eranskina?", + "attachments": "Eranskinak", + "auto-watch": "Automatikoki jarraitu arbelak hauek sortzean", + "avatar-too-big": "Avatarra handiegia da (Gehienez 70Kb)", + "back": "Atzera", + "board-change-color": "Aldatu kolorea", + "board-nb-stars": "%s izar", + "board-not-found": "Ez da arbela aurkitu", + "board-private-info": "Arbel hau pribatua izango da.", + "board-public-info": "Arbel hau publikoa izango da.", + "boardChangeColorPopup-title": "Aldatu arbelaren atzealdea", + "boardChangeTitlePopup-title": "Aldatu izena arbelari", + "boardChangeVisibilityPopup-title": "Aldatu ikusgaitasuna", + "boardChangeWatchPopup-title": "Aldatu ikuskatzea", + "boardMenuPopup-title": "Board Settings", + "boardChangeViewPopup-title": "Board View", + "boards": "Arbelak", + "board-view": "Board View", + "board-view-cal": "Calendar", + "board-view-swimlanes": "Swimlanes", + "board-view-collapse": "Collapse", + "board-view-lists": "Zerrendak", + "bucket-example": "Esaterako \"Pertz zerrenda\"", + "cancel": "Utzi", + "card-archived": "This card is moved to Archive.", + "board-archived": "This board is moved to Archive.", + "card-comments-title": "Txartel honek iruzkin %s dauka.", + "card-delete-notice": "Ezabaketa behin betiko da. Txartel honi lotutako ekintza guztiak galduko dituzu.", + "card-delete-pop": "Ekintza guztiak ekintza jariotik kenduko dira eta ezin izango duzu txartela berrireki. Ez dago desegiterik.", + "card-delete-suggest-archive": "You can move a card to Archive to remove it from the board and preserve the activity.", + "card-due": "Epemuga", + "card-due-on": "Epemuga", + "card-spent": "Erabilitako denbora", + "card-edit-attachments": "Editatu eranskinak", + "card-edit-custom-fields": "Edit custom fields", + "card-edit-labels": "Editatu etiketak", + "card-edit-members": "Editatu kideak", + "card-labels-title": "Aldatu txartelaren etiketak", + "card-members-title": "Gehitu edo kendu arbeleko kideak txarteletik.", + "card-start": "Hasiera", + "card-start-on": "Hasiera", + "cardAttachmentsPopup-title": "Erantsi hemendik", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", + "cardStartVotingPopup-title": "Start a vote", + "positiveVoteMembersPopup-title": "Proponents", + "negativeVoteMembersPopup-title": "Opponents", + "card-edit-voting": "Edit voting", + "editVoteEndDatePopup-title": "Change vote end date", + "allowNonBoardMembers": "Allow all logged in users", + "vote-question": "Voting question", + "vote-public": "Show who voted what", + "vote-for-it": "for it", + "vote-against": "against", + "deleteVotePopup-title": "Delete vote?", + "vote-delete-pop": "Deleting is permanent. You will lose all actions associated with this vote.", + "cardDeletePopup-title": "Ezabatu txartela?", + "cardDetailsActionsPopup-title": "Txartel-ekintzak", + "cardLabelsPopup-title": "Etiketak", + "cardMembersPopup-title": "Kideak", + "cardMorePopup-title": "Gehiago", + "cardTemplatePopup-title": "Create template", + "cards": "Txartelak", + "cards-count": "Txartelak", + "casSignIn": "Sign In with CAS", + "cardType-card": "Card", + "cardType-linkedCard": "Linked Card", + "cardType-linkedBoard": "Linked Board", + "change": "Aldatu", + "change-avatar": "Aldatu avatarra", + "change-password": "Aldatu pasahitza", + "change-permissions": "Aldatu baimenak", + "change-settings": "Aldatu ezarpenak", + "changeAvatarPopup-title": "Aldatu avatarra", + "changeLanguagePopup-title": "Aldatu hizkuntza", + "changePasswordPopup-title": "Aldatu pasahitza", + "changePermissionsPopup-title": "Aldatu baimenak", + "changeSettingsPopup-title": "Aldatu ezarpenak", + "subtasks": "Subtasks", + "checklists": "Egiaztaketa zerrenda", + "click-to-star": "Egin klik arbel honi izarra jartzeko", + "click-to-unstar": "Egin klik arbel honi izarra kentzeko", + "clipboard": "Kopiatu eta itsatsi edo arrastatu eta jaregin", + "close": "Itxi", + "close-board": "Itxi arbela", + "close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.", + "color-black": "beltza", + "color-blue": "urdina", + "color-crimson": "crimson", + "color-darkgreen": "darkgreen", + "color-gold": "gold", + "color-gray": "gray", + "color-green": "berdea", + "color-indigo": "indigo", + "color-lime": "lima", + "color-magenta": "magenta", + "color-mistyrose": "mistyrose", + "color-navy": "navy", + "color-orange": "laranja", + "color-paleturquoise": "paleturquoise", + "color-peachpuff": "peachpuff", + "color-pink": "larrosa", + "color-plum": "plum", + "color-purple": "purpura", + "color-red": "gorria", + "color-saddlebrown": "saddlebrown", + "color-silver": "silver", + "color-sky": "zerua", + "color-slateblue": "slateblue", + "color-white": "white", + "color-yellow": "horia", + "unset-color": "Unset", + "comment": "Iruzkina", + "comment-placeholder": "Idatzi iruzkin bat", + "comment-only": "Iruzkinak besterik ez", + "comment-only-desc": "Iruzkinak txarteletan soilik egin ditzake", + "no-comments": "No comments", + "no-comments-desc": "Can not see comments and activities.", + "worker": "Worker", + "worker-desc": "Can only move cards, assign itself to card and comment.", + "computer": "Ordenagailua", + "confirm-subtask-delete-dialog": "Are you sure you want to delete subtask?", + "confirm-checklist-delete-dialog": "Are you sure you want to delete checklist?", + "copy-card-link-to-clipboard": "Kopiatu txartela arbelera", + "linkCardPopup-title": "Link Card", + "searchElementPopup-title": "Bilatu", + "copyCardPopup-title": "Kopiatu txartela", + "copyChecklistToManyCardsPopup-title": "Copy Checklist Template to Many Cards", + "copyChecklistToManyCardsPopup-instructions": "Destination Card Titles and Descriptions in this JSON format", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"First card title\", \"description\":\"First card description\"}, {\"title\":\"Second card title\",\"description\":\"Second card description\"},{\"title\":\"Last card title\",\"description\":\"Last card description\"} ]", + "create": "Sortu", + "createBoardPopup-title": "Sortu arbela", + "chooseBoardSourcePopup-title": "Inportatu arbela", + "createLabelPopup-title": "Sortu etiketa", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", + "current": "unekoa", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-currency": "Currency", + "custom-field-currency-option": "Currency Code", + "custom-field-date": "Data", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", + "date": "Data", + "decline": "Ukatu", + "default-avatar": "Lehenetsitako avatarra", + "delete": "Ezabatu", + "deleteCustomFieldPopup-title": "Delete Custom Field?", + "deleteLabelPopup-title": "Ezabatu etiketa?", + "description": "Deskripzioa", + "disambiguateMultiLabelPopup-title": "Argitu etiketaren ekintza", + "disambiguateMultiMemberPopup-title": "Argitu kidearen ekintza", + "discard": "Baztertu", + "done": "Egina", + "download": "Deskargatu", + "edit": "Editatu", + "edit-avatar": "Aldatu avatarra", + "edit-profile": "Editatu profila", + "edit-wip-limit": "WIP muga editatu", + "soft-wip-limit": "WIP muga malgua", + "editCardStartDatePopup-title": "Aldatu hasiera data", + "editCardDueDatePopup-title": "Aldatu epemuga data", + "editCustomFieldPopup-title": "Edit Field", + "editCardSpentTimePopup-title": "Aldatu erabilitako denbora", + "editLabelPopup-title": "Aldatu etiketa", + "editNotificationPopup-title": "Editatu jakinarazpena", + "editProfilePopup-title": "Editatu profila", + "email": "e-posta", + "email-enrollAccount-subject": "Kontu bat sortu zaizu __siteName__ gunean", + "email-enrollAccount-text": "Kaixo __user__,\n\nZerbitzua erabiltzen hasteko, egin klik beheko loturan.\n\n__url__\n\nEskerrik asko.", + "email-fail": "E-posta bidalketak huts egin du", + "email-fail-text": "Arazoa mezua bidaltzen saiatzen", + "email-invalid": "Baliogabeko e-posta", + "email-invite": "Gonbidatu e-posta bidez", + "email-invite-subject": "__inviter__ erabiltzaileak gonbidapen bat bidali dizu", + "email-invite-text": "Kaixo __user__,\n\n__inviter__ erabiltzaileak \"__board__\" arbelera elkartzera gonbidatzen zaitu elkar-lanean aritzeko.\n\nJarraitu mesedez lotura hau:\n\n__url__\n\nEskerrik asko.", + "email-resetPassword-subject": "Leheneratu zure __siteName__ guneko pasahitza", + "email-resetPassword-text": "Kaixo __user__,\n\nZure pasahitza berrezartzeko, egin klik beheko loturan.\n\n__url__\n\nEskerrik asko.", + "email-sent": "E-posta bidali da", + "email-verifyEmail-subject": "Egiaztatu __siteName__ guneko zure e-posta helbidea.", + "email-verifyEmail-text": "Kaixo __user__,\n\nZure e-posta kontua egiaztatzeko, egin klik beheko loturan.\n\n__url__\n\nEskerrik asko.", + "enable-wip-limit": "WIP muga gaitu", + "error-board-doesNotExist": "Arbel hau ez da existitzen", + "error-board-notAdmin": "Arbel honetako kudeatzailea izan behar zara hori egin ahal izateko", + "error-board-notAMember": "Arbel honetako kidea izan behar zara hori egin ahal izateko", + "error-json-malformed": "Zure testua ez da baliozko JSON", + "error-json-schema": "Zure JSON datuek ez dute formatu zuzenaren informazio egokia", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "Zerrenda hau ez da existitzen", + "error-user-doesNotExist": "Erabiltzaile hau ez da existitzen", + "error-user-notAllowSelf": "Ezin duzu zure burua gonbidatu", + "error-user-notCreated": "Erabiltzaile hau sortu gabe dago", + "error-username-taken": "Erabiltzaile-izen hori hartuta dago", + "error-email-taken": "E-mail hori hartuta dago", + "export-board": "Esportatu arbela", + "export-board-json": "Export board to JSON", + "export-board-csv": "Export board to CSV", + "export-board-tsv": "Export board to TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "Esportatu arbela", + "sort": "Sort", + "sort-desc": "Click to Sort List", + "list-sort-by": "Sort the List By:", + "list-label-modifiedAt": "Last Access Time", + "list-label-title": "Name of the List", + "list-label-sort": "Your Manual Order", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Iragazi", + "filter-cards": "Filter Cards or Lists", + "list-filter-label": "Filter List by Title", + "filter-clear": "Garbitu iragazkia", + "filter-no-label": "Etiketarik ez", + "filter-no-member": "Kiderik ez", + "filter-no-assignee": "No assignee", + "filter-no-custom-fields": "No Custom Fields", + "filter-show-archive": "Show archived lists", + "filter-hide-empty": "Hide empty lists", + "filter-on": "Iragazkia gaituta dago", + "filter-on-desc": "Arbel honetako txartela iragazten ari zara. Egin klik hemen iragazkia editatzeko.", + "filter-to-selection": "Iragazketa aukerara", + "advanced-filter-label": "Advanced Filter", + "advanced-filter-description": "Advanced Filter allows to write a string containing following operators: == != <= >= && || ( ) A space is used as a separator between the Operators. You can filter for all Custom Fields by typing their names and values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need to encapsulate them into single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) to be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally all operators are interpreted from left to right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i", + "fullname": "Izen abizenak", + "header-logo-title": "Itzuli zure arbelen orrira.", + "hide-system-messages": "Ezkutatu sistemako mezuak", + "headerBarCreateBoardPopup-title": "Sortu arbela", + "home": "Hasiera", + "import": "Inportatu", + "link": "Link", + "import-board": "inportatu arbela", + "import-board-c": "Inportatu arbela", + "import-board-title-trello": "Inportatu arbela Trellotik", + "import-board-title-wekan": "Import board from previous export", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "Trellotik", + "from-wekan": "From previous export", + "from-csv": "From CSV/TSV", + "import-board-instruction-trello": "Zure Trello arbelean, aukeratu 'Menu\", 'More', 'Print and Export', 'Export JSON', eta kopiatu jasotako testua hemen.", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "In your board, go to 'Menu', then 'Export board', and copy the text in the downloaded file.", + "import-board-instruction-about-errors": "If you get errors when importing board, sometimes importing still works, and board is at All Boards page.", + "import-json-placeholder": "Isatsi baliozko JSON datuak hemen", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "Kideen mapa", + "import-members-map": "Your imported board has some members. Please map the members you want to import to your users", + "import-show-user-mapping": "Berrikusi kideen mapa", + "import-user-select": "Pick your existing user you want to use as this member", + "importMapMembersAddPopup-title": "Select member", + "info": "Bertsioa", + "initials": "Inizialak", + "invalid-date": "Baliogabeko data", + "invalid-time": "Baliogabeko denbora", + "invalid-user": "Baliogabeko erabiltzailea", + "joined": "elkartu da", + "just-invited": "Arbel honetara gonbidatu berri zaituzte", + "keyboard-shortcuts": "Teklatu laster-bideak", + "label-create": "Sortu etiketa", + "label-default": "%s etiketa (lehenetsia)", + "label-delete-pop": "Ez dago desegiterik. Honek etiketa hau kenduko du txartel guztietatik eta bere historiala suntsitu.", + "labels": "Etiketak", + "language": "Hizkuntza", + "last-admin-desc": "Ezin duzu rola aldatu gutxienez kudeatzaile bat behar delako.", + "leave-board": "Utzi arbela", + "leave-board-pop": "Ziur zaude __boardTitle__ utzi nahi duzula? Arbel honetako txartel guztietatik ezabatua izango zara.", + "leaveBoardPopup-title": "Arbela utzi?", + "link-card": "Lotura txartel honetara", + "list-archive-cards": "Move all cards in this list to Archive", + "list-archive-cards-pop": "This will remove all the cards in this list from the board. To view cards in Archive and bring them back to the board, click “Menu” > “Archive”.", + "list-move-cards": "Lekuz aldatu zerrendako txartel guztiak", + "list-select-cards": "Aukeratu zerrenda honetako txartel guztiak", + "set-color-list": "Set Color", + "listActionPopup-title": "Zerrendaren ekintzak", + "swimlaneActionPopup-title": "Swimlane Actions", + "swimlaneAddPopup-title": "Add a Swimlane below", + "listImportCardPopup-title": "Inportatu Trello txartel bat", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "Gehiago", + "link-list": "Lotura zerrenda honetara", + "list-delete-pop": "Ekintza guztiak ekintza jariotik kenduko dira eta ezin izango duzu zerrenda berreskuratu. Ez dago desegiterik.", + "list-delete-suggest-archive": "You can move a list to Archive to remove it from the board and preserve the activity.", + "lists": "Zerrendak", + "swimlanes": "Swimlanes", + "log-out": "Itxi saioa", + "log-in": "Hasi saioa", + "loginPopup-title": "Hasi saioa", + "memberMenuPopup-title": "Kidearen ezarpenak", + "members": "Kideak", + "menu": "Menua", + "move-selection": "Lekuz aldatu hautaketa", + "moveCardPopup-title": "Lekuz aldatu txartela", + "moveCardToBottom-title": "Eraman behera", + "moveCardToTop-title": "Eraman gora", + "moveSelectionPopup-title": "Lekuz aldatu hautaketa", + "multi-selection": "Hautaketa anitza", + "multi-selection-on": "Hautaketa anitza gaituta dago", + "muted": "Mututua", + "muted-info": "Ez zaizkizu jakinaraziko arbel honi egindako aldaketak", + "my-boards": "Nire arbelak", + "name": "Izena", + "no-archived-cards": "No cards in Archive.", + "no-archived-lists": "No lists in Archive.", + "no-archived-swimlanes": "No swimlanes in Archive.", + "no-results": "Emaitzarik ez", + "normal": "Arrunta", + "normal-desc": "Txartelak ikusi eta editatu ditzake. Ezin ditu ezarpenak aldatu.", + "not-accepted-yet": "Gonbidapena ez da oraindik onartu", + "notify-participate": "Jaso sortzaile edo kide zaren txartelen jakinarazpenak", + "notify-watch": "Jaso ikuskatzen dituzun arbel, zerrenda edo txartelen jakinarazpenak", + "optional": "aukerazkoa", + "or": "edo", + "page-maybe-private": "Orri hau pribatua izan daiteke. Agian saioa hasi eta gero ikusi ahal izango duzu.", + "page-not-found": "Ez da orria aurkitu.", + "password": "Pasahitza", + "paste-or-dragdrop": "itsasteko, edo irudi fitxategia arrastatu eta jaregiteko (irudia besterik ez)", + "participating": "Parte-hartzen", + "preview": "Aurreikusi", + "previewAttachedImagePopup-title": "Aurreikusi", + "previewClipboardImagePopup-title": "Aurreikusi", + "private": "Pribatua", + "private-desc": "Arbel hau pribatua da. Arbelera gehitutako jendeak besterik ezin du ikusi eta editatu.", + "profile": "Profila", + "public": "Publikoa", + "public-desc": "Arbel hau publikoa da lotura duen edonorentzat ikusgai dago eta Google bezalako bilatzaileetan agertuko da. Arbelera gehitutako kideek besterik ezin dute editatu.", + "quick-access-description": "Jarri izarra arbel bati barra honetan lasterbide bat sortzeko", + "remove-cover": "Kendu azala", + "remove-from-board": "Kendu arbeletik", + "remove-label": "Kendu etiketa", + "listDeletePopup-title": "Ezabatu zerrenda?", + "remove-member": "Kendu kidea", + "remove-member-from-card": "Kendu txarteletik", + "remove-member-pop": "Kendu __name__ (__username__) __boardTitle__ arbeletik? Kidea arbel honetako txartel guztietatik kenduko da. Jakinarazpenak bidaliko dira.", + "removeMemberPopup-title": "Kendu kidea?", + "rename": "Aldatu izena", + "rename-board": "Aldatu izena arbelari", + "restore": "Berrezarri", + "save": "Gorde", + "search": "Bilatu", + "rules": "Rules", + "search-cards": "Search from card/list titles, descriptions and custom fields on this board", + "search-example": "Text to search for?", + "select-color": "Aukeratu kolorea", + "set-wip-limit-value": "Zerrenda honetako atazen muga maximoa ezarri", + "setWipLimitPopup-title": "WIP muga ezarri", + "shortcut-assign-self": "Esleitu zure burua txartel honetara", + "shortcut-autocomplete-emoji": "Automatikoki osatu emojia", + "shortcut-autocomplete-members": "Automatikoki osatu kideak", + "shortcut-clear-filters": "Garbitu iragazki guztiak", + "shortcut-close-dialog": "Itxi elkarrizketa-koadroa", + "shortcut-filter-my-cards": "Iragazi nire txartelak", + "shortcut-show-shortcuts": "Erakutsi lasterbideen zerrenda hau", + "shortcut-toggle-filterbar": "Txandakatu iragazkiaren albo-barra", + "shortcut-toggle-sidebar": "Txandakatu arbelaren albo-barra", + "show-cards-minimum-count": "Erakutsi txartel kopurua hau baino handiagoa denean:", + "sidebar-open": "Ireki albo-barra", + "sidebar-close": "Itxi albo-barra", + "signupPopup-title": "Sortu kontu bat", + "star-board-title": "Egin klik arbel honi izarra jartzeko, zure arbelen zerrendaren goialdean agertuko da", + "starred-boards": "Izardun arbelak", + "starred-boards-description": "Izardun arbelak zure arbelen zerrendaren goialdean agertuko dira", + "subscribe": "Harpidetu", + "team": "Taldea", + "this-board": "arbel hau", + "this-card": "txartel hau", + "spent-time-hours": "Erabilitako denbora (orduak)", + "overtime-hours": "Luzapena (orduak)", + "overtime": "Luzapena", + "has-overtime-cards": "Luzapen txartelak ditu", + "has-spenttime-cards": "Erabilitako denbora txartelak ditu", + "time": "Ordua", + "title": "Izenburua", + "tracking": "Jarraitzen", + "tracking-info": "Sortzaile edo kide gisa parte-hartzen duzun txartelei egindako aldaketak jakinaraziko zaizkizu.", + "type": "Type", + "unassign-member": "Kendu kidea", + "unsaved-description": "Gorde gabeko deskripzio bat duzu", + "unwatch": "Utzi ikuskatzeari", + "upload": "Igo", + "upload-avatar": "Igo avatar bat", + "uploaded-avatar": "Avatar bat igo da", + "username": "Erabiltzaile-izena", + "view-it": "Ikusi", + "warn-list-archived": "warning: this card is in an list at Archive", + "watch": "Ikuskatu", + "watching": "Ikuskatzen", + "watching-info": "Arbel honi egindako aldaketak jakinaraziko zaizkizu", + "welcome-board": "Ongi etorri arbela", + "welcome-swimlane": "Milestone 1", + "welcome-list1": "Oinarrizkoa", + "welcome-list2": "Aurreratua", + "card-templates-swimlane": "Card Templates", + "list-templates-swimlane": "List Templates", + "board-templates-swimlane": "Board Templates", + "what-to-do": "Zer egin nahi duzu?", + "wipLimitErrorPopup-title": "Baliogabeko WIP muga", + "wipLimitErrorPopup-dialog-pt1": "Zerrenda honetako atazen muga, WIP-en ezarritakoa baina handiagoa da", + "wipLimitErrorPopup-dialog-pt2": "Mugitu zenbait ataza zerrenda honetatik, edo WIP muga handiagoa ezarri.", + "admin-panel": "Kudeaketa panela", + "settings": "Ezarpenak", + "people": "Jendea", + "registration": "Izen-ematea", + "disable-self-registration": "Desgaitu nork bere burua erregistratzea", + "invite": "Gonbidatu", + "invite-people": "Gonbidatu jendea", + "to-boards": "Arbele(ta)ra", + "email-addresses": "E-posta helbideak", + "smtp-host-description": "Zure e-posta mezuez arduratzen den SMTP zerbitzariaren helbidea", + "smtp-port-description": "Zure SMTP zerbitzariak bidalitako e-posta mezuentzat erabiltzen duen kaia.", + "smtp-tls-description": "Gaitu TLS euskarria SMTP zerbitzariarentzat", + "smtp-host": "SMTP ostalaria", + "smtp-port": "SMTP kaia", + "smtp-username": "Erabiltzaile-izena", + "smtp-password": "Pasahitza", + "smtp-tls": "TLS euskarria", + "send-from": "Nork", + "send-smtp-test": "Bidali posta elektroniko mezu bat zure buruari", + "invitation-code": "Gonbidapen kodea", + "email-invite-register-subject": "__inviter__ erabiltzaileak gonbidapen bat bidali dizu", + "email-invite-register-text": "Dear __user__,\n\n__inviter__ invites you to kanban board for collaborations.\n\nPlease follow the link below:\n__url__\n\nAnd your invitation code is: __icode__\n\nThanks.", + "email-smtp-test-subject": "SMTP Test Email", + "email-smtp-test-text": "Arrakastaz bidali duzu posta elektroniko mezua", + "error-invitation-code-not-exist": "Gonbidapen kodea ez da existitzen", + "error-notAuthorized": "Ez duzu orri hau ikusteko baimenik.", + "webhook-title": "Webhook Name", + "webhook-token": "Token (Optional for Authentication)", + "outgoing-webhooks": "Irteerako Webhook-ak", + "bidirectional-webhooks": "Two-Way Webhooks", + "outgoingWebhooksPopup-title": "Irteerako Webhook-ak", + "boardCardTitlePopup-title": "Card Title Filter", + "disable-webhook": "Disable This Webhook", + "global-webhook": "Global Webhooks", + "new-outgoing-webhook": "Irteera-webhook berria", + "no-name": "(Ezezaguna)", + "Node_version": "Nodo bertsioa", + "Meteor_version": "Meteor version", + "MongoDB_version": "MongoDB version", + "MongoDB_storage_engine": "MongoDB storage engine", + "MongoDB_Oplog_enabled": "MongoDB Oplog enabled", + "OS_Arch": "SE Arkitektura", + "OS_Cpus": "SE PUZ kopurua", + "OS_Freemem": "SE Memoria librea", + "OS_Loadavg": "SE batez besteko karga", + "OS_Platform": "SE plataforma", + "OS_Release": "SE kaleratzea", + "OS_Totalmem": "SE memoria guztira", + "OS_Type": "SE mota", + "OS_Uptime": "SE denbora abiatuta", + "days": "days", + "hours": "ordu", + "minutes": "minutu", + "seconds": "segundo", + "show-field-on-card": "Show this field on card", + "automatically-field-on-card": "Auto create field to all cards", + "showLabel-field-on-card": "Show field label on minicard", + "yes": "Bai", + "no": "Ez", + "accounts": "Kontuak", + "accounts-allowEmailChange": "Baimendu e-mail aldaketa", + "accounts-allowUserNameChange": "Allow Username Change", + "createdAt": "Noiz sortua", + "verified": "Egiaztatuta", + "active": "Gaituta", + "card-received": "Received", + "card-received-on": "Received on", + "card-end": "End", + "card-end-on": "Ends on", + "editCardReceivedDatePopup-title": "Change received date", + "editCardEndDatePopup-title": "Change end date", + "setCardColorPopup-title": "Set color", + "setCardActionsColorPopup-title": "Choose a color", + "setSwimlaneColorPopup-title": "Choose a color", + "setListColorPopup-title": "Choose a color", + "assigned-by": "Assigned By", + "requested-by": "Requested By", + "board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.", + "delete-board-confirm-popup": "All lists, cards, labels, and activities will be deleted and you won't be able to recover the board contents. There is no undo.", + "boardDeletePopup-title": "Delete Board?", + "delete-board": "Delete Board", + "default-subtasks-board": "Subtasks for __board__ board", + "default": "Default", + "queue": "Queue", + "subtask-settings": "Subtasks Settings", + "card-settings": "Card Settings", + "boardSubtaskSettingsPopup-title": "Board Subtasks Settings", + "boardCardSettingsPopup-title": "Card Settings", + "deposit-subtasks-board": "Deposit subtasks to this board:", + "deposit-subtasks-list": "Landing list for subtasks deposited here:", + "show-parent-in-minicard": "Show parent in minicard:", + "prefix-with-full-path": "Prefix with full path", + "prefix-with-parent": "Prefix with parent", + "subtext-with-full-path": "Subtext with full path", + "subtext-with-parent": "Subtext with parent", + "change-card-parent": "Change card's parent", + "parent-card": "Parent card", + "source-board": "Source board", + "no-parent": "Don't show parent", + "activity-added-label": "added label '%s' to %s", + "activity-removed-label": "removed label '%s' from %s", + "activity-delete-attach": "deleted an attachment from %s", + "activity-added-label-card": "added label '%s'", + "activity-removed-label-card": "removed label '%s'", + "activity-delete-attach-card": "deleted an attachment", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "Rule", + "r-add-trigger": "Add trigger", + "r-add-action": "Add action", + "r-board-rules": "Board rules", + "r-add-rule": "Add rule", + "r-view-rule": "View rule", + "r-delete-rule": "Delete rule", + "r-new-rule-name": "New rule title", + "r-no-rules": "No rules", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "When a card", + "r-is": "is", + "r-is-moved": "is moved", + "r-added-to": "Added to", + "r-removed-from": "Removed from", + "r-the-board": "the board", + "r-list": "list", + "set-filter": "Set Filter", + "r-moved-to": "Moved to", + "r-moved-from": "Moved from", + "r-archived": "Moved to Archive", + "r-unarchived": "Restored from Archive", + "r-a-card": "a card", + "r-when-a-label-is": "When a label is", + "r-when-the-label": "When the label", + "r-list-name": "list name", + "r-when-a-member": "When a member is", + "r-when-the-member": "When the member", + "r-name": "name", + "r-when-a-attach": "When an attachment", + "r-when-a-checklist": "When a checklist is", + "r-when-the-checklist": "When the checklist", + "r-completed": "Completed", + "r-made-incomplete": "Made incomplete", + "r-when-a-item": "When a checklist item is", + "r-when-the-item": "When the checklist item", + "r-checked": "Checked", + "r-unchecked": "Unchecked", + "r-move-card-to": "Move card to", + "r-top-of": "Top of", + "r-bottom-of": "Bottom of", + "r-its-list": "its list", + "r-archive": "Move to Archive", + "r-unarchive": "Restore from Archive", + "r-card": "card", + "r-add": "Gehitu", + "r-remove": "Remove", + "r-label": "label", + "r-member": "member", + "r-remove-all": "Remove all members from the card", + "r-set-color": "Set color to", + "r-checklist": "checklist", + "r-check-all": "Check all", + "r-uncheck-all": "Uncheck all", + "r-items-check": "items of checklist", + "r-check": "Check", + "r-uncheck": "Uncheck", + "r-item": "item", + "r-of-checklist": "of checklist", + "r-send-email": "Send an email", + "r-to": "to", + "r-of": "of", + "r-subject": "subject", + "r-rule-details": "Rule details", + "r-d-move-to-top-gen": "Move card to top of its list", + "r-d-move-to-top-spec": "Move card to top of list", + "r-d-move-to-bottom-gen": "Move card to bottom of its list", + "r-d-move-to-bottom-spec": "Move card to bottom of list", + "r-d-send-email": "Send email", + "r-d-send-email-to": "to", + "r-d-send-email-subject": "subject", + "r-d-send-email-message": "message", + "r-d-archive": "Move card to Archive", + "r-d-unarchive": "Restore card from Archive", + "r-d-add-label": "Add label", + "r-d-remove-label": "Remove label", + "r-create-card": "Create new card", + "r-in-list": "in list", + "r-in-swimlane": "in swimlane", + "r-d-add-member": "Add member", + "r-d-remove-member": "Remove member", + "r-d-remove-all-member": "Remove all member", + "r-d-check-all": "Check all items of a list", + "r-d-uncheck-all": "Uncheck all items of a list", + "r-d-check-one": "Check item", + "r-d-uncheck-one": "Uncheck item", + "r-d-check-of-list": "of checklist", + "r-d-add-checklist": "Add checklist", + "r-d-remove-checklist": "Remove checklist", + "r-by": "by", + "r-add-checklist": "Add checklist", + "r-with-items": "with items", + "r-items-list": "item1,item2,item3", + "r-add-swimlane": "Add swimlane", + "r-swimlane-name": "swimlane name", + "r-board-note": "Note: leave a field empty to match every possible value.", + "r-checklist-note": "Note: checklist's items have to be written as comma separated values.", + "r-when-a-card-is-moved": "When a card is moved to another list", + "r-set": "Set", + "r-update": "Update", + "r-datefield": "date field", + "r-df-start-at": "start", + "r-df-due-at": "due", + "r-df-end-at": "end", + "r-df-received-at": "received", + "r-to-current-datetime": "to current date/time", + "r-remove-value-from": "Remove value from", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Authentication method", + "authentication-type": "Authentication type", + "custom-product-name": "Custom Product Name", + "layout": "Layout", + "hide-logo": "Hide Logo", + "add-custom-html-after-body-start": "Add Custom HTML after start", + "add-custom-html-before-body-end": "Add Custom HTML before end", + "error-undefined": "Something went wrong", + "error-ldap-login": "An error occurred while trying to login", + "display-authentication-method": "Display Authentication Method", + "default-authentication-method": "Default Authentication Method", + "duplicate-board": "Duplicate Board", + "people-number": "The number of people is:", + "swimlaneDeletePopup-title": "Delete Swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Restore all", + "delete-all": "Delete all", + "loading": "Loading, please wait.", + "previous_as": "last time was", + "act-a-dueAt": "modified due time to \nWhen: __timeValue__\nWhere: __card__\n previous due was __timeOldValue__", + "act-a-endAt": "modified ending time to __timeValue__ from (__timeOldValue__)", + "act-a-startAt": "modified starting time to __timeValue__ from (__timeOldValue__)", + "act-a-receivedAt": "modified received time to __timeValue__ from (__timeOldValue__)", + "a-dueAt": "modified due time to be", + "a-endAt": "modified ending time to be", + "a-startAt": "modified starting time to be", + "a-receivedAt": "modified received time to be", + "almostdue": "current due time %s is approaching", + "pastdue": "current due time %s is past", + "duenow": "current due time %s is today", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", + "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", + "act-duenow": "was reminding the current due (__timeValue__) of __card__ is now", + "act-atUserComment": "You were mentioned in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Are you sure you want to delete this account? There is no undo.", + "accounts-allowUserDelete": "Allow users to self delete their account", + "hide-minicard-label-text": "Hide minicard label text", + "show-desktop-drag-handles": "Show desktop drag handles", + "assignee": "Assignee", + "cardAssigneesPopup-title": "Assignee", + "addmore-detail": "Add a more detailed description", + "show-on-card": "Show on Card", + "new": "New", + "editUserPopup-title": "Edit User", + "newUserPopup-title": "New User", + "notifications": "Notifications", + "view-all": "View All", + "filter-by-unread": "Filter by Unread", + "mark-all-as-read": "Mark all as read", + "remove-all-read": "Remove all read", + "allow-rename": "Allow Rename", + "allowRenamePopup-title": "Allow Rename", + "start-day-of-week": "Set day of the week start", + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archived", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/fa.i18n.json b/i18n/fa.i18n.json new file mode 100644 index 0000000..b6bd88a --- /dev/null +++ b/i18n/fa.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "پذیرش", + "act-activity-notify": "اعلان فعالیت", + "act-addAttachment": "ضمیمه __attachment__ را به کارت __card__ در لیست __list__ در مسیر شناور __swimlane__ در برد __board__ اضافه کرد", + "act-deleteAttachment": "ضمیمه __attachment__ را از کارت __card__ در لیست __list__ در مسیر شناور __swimlane__ در برد __board__ حذف کرد", + "act-addSubtask": "زیر وظیفه __subtask__ را به کارت __card__ در لیست __list__ در مسیر شناور __swimlane__ در برد __board__ اضافه کرد", + "act-addLabel": "برچسب __label__ را به کارت __card__ در لیست __list__ در مسیر شناور __swimlane__ در برد __board__ اضافه کرد", + "act-addedLabel": "برچسب __label__ را به کارت __card__ در لیست __list__ در مسیر شناور __swimlane__ در برد __board__ اضافه کرد", + "act-removeLabel": "برچسب __label__ را از کارت __card__ در لیست __list__ در مسیر شناور __swimlane__ در برد __board__ حذف کرد", + "act-removedLabel": "برچسب __label__ را از کارت __card__ در لیست __list__ در مسیر شناور __swimlane__ در برد __board__ حذف کرد", + "act-addChecklist": "سیاهه __checklist__ را به کارت __card__ در لیست __list__ در مسیر شناور __swimlane__ در برد __board__ اضافه کرد", + "act-addChecklistItem": "چک لیست __checklistItem__ را به سیاهه __checklist__ در کارت __card__ در لیست __list__ در مسیر شناور __swimlane__ در برد __board__ اضافه کرد", + "act-removeChecklist": "سیاهه __checklist__ را از کارت __card__ در لیست __list__ در مسیر شناور __swimlane__ در برد __board__ حذف کرد", + "act-removeChecklistItem": "چک لیست __checklistItem__ را از سیاهه __checkList__ در کارت __card__ در لیست __list__ در مسیر شناور __swimlane__ در برد __board__ حذف کرد", + "act-checkedItem": "چک لیست __checklistItem__ را از سیاهه __checklist__ در کارت __card__ در لیست __list__ در مسیر شناور __swimlane__ در برد __board__ تیک زد", + "act-uncheckedItem": "چک لیست __checklistItem__ را از سیاهه __checklist__ در کارت __card__ در لیست __list__ در مسیر شناور __swimlane__ در برد __board__ بدونِ تیک کرد", + "act-completeChecklist": "سیاهه __checklist__ را در کارت __card__ در لیست __list__ در مسیر شناور __swimlane__ در برد __board__ کامل کرد", + "act-uncompleteChecklist": "سیاهه __checklist__ را در کارت __card__ در لیست __list__ در مسیر شناور __swimlane__ در برد __board__ ناقص کرد", + "act-addComment": "روی کارت __card__ نظر داد: __comment__ در لیست __list__ در مسیر شناور __swimlane__ در برد __board__", + "act-editComment": "نظر روی کارت __card__ را ویرایش کرد: __comment__ در لیست __list__ در مسیر شناور __swimlane__ در برد __board__", + "act-deleteComment": "نظر روی کارت __card__ را حذف کرد: __comment__ در لیست __list__ در مسیر شناور __swimlane__ در برد __board__", + "act-createBoard": "برد __board__ را ایجاد کرد", + "act-createSwimlane": "مسیر شناور __swimlane__ را در برد __board__ ایجاد کرد", + "act-createCard": "کارت __card__ را در لیست __list__ در مسیر شناور __swimlane__ در برد __board__ ایجاد کرد", + "act-createCustomField": "فیلد شخصی __customField__ را در برد __board__ ایجاد کرد", + "act-deleteCustomField": "فیلد شخصی __customField__ را در برد __board__ حذف کرد", + "act-setCustomField": "فیلد شخصی __customField__ را ویرایش کرد: __customFieldValue__ در کارت __card__ در لیست __list__ در مسیر شناور __swimlane__ در برد __board__", + "act-createList": "لیست __list__ را به برد __board__ اضافه کرد", + "act-addBoardMember": "عضو __member__ را به برد __board__ اضافه کرد", + "act-archivedBoard": "برد __board__ را بایگانی کرد", + "act-archivedCard": "کارت __card__ را در لیست __list__ در مسیر شناور __swimlane__ در برد __board__ بایگانی کرد", + "act-archivedList": "لیست __list__ را در مسیر شناور __swimlane__ در برد __board__ بایگانی کرد", + "act-archivedSwimlane": "مسیر شناور __swimlane__ را در برد __board__ بایگانی کرد", + "act-importBoard": "برد __board__ را وارد کرد", + "act-importCard": "کارت __card__ را به لیست __list__ در مسیر شناور __swimlane__ در برد __board__ وارد کرد", + "act-importList": "لیست __list__ را به مسیر شناور __swimlane__ در برد __board__ وارد کرد", + "act-joinMember": "عضو __member__ را به کارت __card__ در لیست __list__ در مسیر شناور __swimlane__ در برد __board__ اضافه کرد", + "act-moveCard": "کارت __card__ را در برد __board__ از لیست __oldList__ در مسیر شناور __oldSwimlane__ به لیست __list__ در مسیر شناور __swimlane__ منتقل کرد", + "act-moveCardToOtherBoard": "کارت __card__ را از لیست __oldList__ در مسیر شناور __oldSwimlane__ در برد __oldBoard__ به لیست __list__ در مسیر شناور __swimlane__ در برد __board__ منتقل کرد", + "act-removeBoardMember": "عضو __member__ را از برد __board__ حذف کرد", + "act-restoredCard": "کارت __card__ را به لیست __list__ در مسیر شناور __swimlane__ در برد __board__ بازگرداند", + "act-unjoinMember": "عضو __member__ را از کارت __card__ در لیست __list__ در مسیر شناور __swimlane__ در برد __board__ حذف کرد", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "اعمال", + "activities": "فعالیت‌ها", + "activity": "فعالیت", + "activity-added": "%s به %s اضافه شد", + "activity-archived": "%s به آرشیو انتقال یافت", + "activity-attached": "%s به %s پیوست شد", + "activity-created": "%s ایجاد شد", + "activity-customfield-created": "%s فیلدشخصی ایجاد شد", + "activity-excluded": "%s از %s مستثنی گردید", + "activity-imported": "%s از %s وارد %s شد", + "activity-imported-board": "%s از %s وارد شد", + "activity-joined": "اتصال به %s", + "activity-moved": "%s از %s به %s منتقل شد", + "activity-on": "%s", + "activity-removed": "%s از %s حذف شد", + "activity-sent": "ارسال %s به %s", + "activity-unjoined": "قطع اتصال %s", + "activity-subtask-added": "زیروظیفه به %s اضافه شد", + "activity-checked-item": "چک شده %s در چک لیست %s از %s", + "activity-unchecked-item": "چک نشده %s در چک لیست %s از %s", + "activity-checklist-added": "سیاهه به %s اضافه شد", + "activity-checklist-removed": "از چک لیست حذف گردید", + "activity-checklist-completed": "چک‌لیست انجام شده %s از %s", + "activity-checklist-uncompleted": "تمام نشده ها در چک لیست %s از %s", + "activity-checklist-item-added": "added checklist item to '%s' in %s", + "activity-checklist-item-removed": "حذف شده از چک لیست '%s' در %s", + "add": "افزودن", + "activity-checked-item-card": "چک شده %s در چک لیست %s", + "activity-unchecked-item-card": "چک نشده %s در چک لیست %s", + "activity-checklist-completed-card": "سیاهه __checklist__ را در کارت __card__ در لیست __list__ در مسیر شناور __swimlane__ در برد __board__ کامل کرد", + "activity-checklist-uncompleted-card": "چک لیست تمام نشده %s", + "activity-editComment": "نظر ویرایش شد %s", + "activity-deleteComment": "نظر حذف شد %s", + "add-attachment": "افزودن ضمیمه", + "add-board": "افزودن برد", + "add-card": "افزودن کارت", + "add-swimlane": "اضافه کردن مسیر شناور", + "add-subtask": "افزودن زیر وظیفه", + "add-checklist": "افزودن چک لیست", + "add-checklist-item": "افزودن مورد به سیاهه", + "add-cover": "جلد کردن", + "add-label": "افزودن لیبل", + "add-list": "افزودن لیست", + "add-members": "افزودن اعضا", + "added": "اضافه گردید", + "addMemberPopup-title": "اعضا", + "admin": "مدیر", + "admin-desc": "امکان دیدن و ویرایش کارت‌ها، پاک کردن کاربران و تغییر تنظیمات برای برد.", + "admin-announcement": "اعلان", + "admin-announcement-active": "اعلان سراسری فعال", + "admin-announcement-title": "اعلان از سوی مدیر", + "all-boards": "تمام بردها", + "and-n-other-card": "و __count__ کارت دیگر", + "and-n-other-card_plural": "و __count__ کارت دیگر", + "apply": "اعمال", + "app-is-offline": "در حال بارگزاری لطفا منتظر بمانید. بازخوانی صفحه باعث از بین رفتن اطلاعات می شود. اگر بارگذاری کار نمی کند، لطفا بررسی کنید که این سرور متوقف نشده است.", + "archive": "انتقال به آرشیو", + "archive-all": "انتقال همه به آرشیو", + "archive-board": "انتقال برد به آرشیو", + "archive-card": "انتقال کارت به آرشیو", + "archive-list": "انتقال لیست به آرشیو", + "archive-swimlane": "انتقال مسیر به آرشیو", + "archive-selection": "انتقال انتخاب شده ها به آرشیو", + "archiveBoardPopup-title": "انتقال برد به آرشیو؟", + "archived-items": "بایگانی", + "archived-boards": "برد های داخل آرشیو", + "restore-board": "بازیابی برد", + "no-archived-boards": "هیچ بردی داخل آرشیو نیست", + "archives": "بایگانی", + "template": "Template", + "templates": "Templates", + "assign-member": "تعیین عضو", + "attached": "ضمیمه شده", + "attachment": "ضمیمه", + "attachment-delete-pop": "حذف پیوست دایمی و بی بازگشت خواهد بود.", + "attachmentDeletePopup-title": "آیا می خواهید ضمیمه را حذف کنید؟", + "attachments": "ضمائم", + "auto-watch": "اضافه شدن خودکار دیده‌بانی بردها زمانی که ایجاد می‌شوند", + "avatar-too-big": "تصویر کاربر بسیار بزرگ است ـ حداکثر۷۰ کیلوبایت ـ", + "back": "بازگشت", + "board-change-color": "تغییر رنگ", + "board-nb-stars": "%s ستاره", + "board-not-found": "برد مورد نظر پیدا نشد", + "board-private-info": "این برد خصوصی خواهد بود.", + "board-public-info": "این برد عمومی خواهد بود.", + "boardChangeColorPopup-title": "تغییر پس زمینه برد", + "boardChangeTitlePopup-title": "تغییر نام برد", + "boardChangeVisibilityPopup-title": "تغییر وضعیت نمایش", + "boardChangeWatchPopup-title": "تغییر دیده بانی", + "boardMenuPopup-title": "Board Settings", + "boardChangeViewPopup-title": "نمایش برد", + "boards": "بردها", + "board-view": "نمایش برد", + "board-view-cal": "تقویم", + "board-view-swimlanes": "Swimlanes", + "board-view-collapse": "بستن", + "board-view-lists": "فهرست‌ها", + "bucket-example": "برای مثال چیزی شبیه \"لیست سبدها\"", + "cancel": "انصراف", + "card-archived": "این کارت به آرشیو انتقال داده شد", + "board-archived": "این برد به آرشیو انتقال یافت", + "card-comments-title": "این کارت دارای %s نظر است.", + "card-delete-notice": "حذف دائمی. تمامی موارد مرتبط با این کارت از بین خواهند رفت.", + "card-delete-pop": "همه اقدامات از این پردازه حذف خواهد شد و امکان بازگرداندن کارت وجود نخواهد داشت.", + "card-delete-suggest-archive": "شما می توانید کارت را به بایگانی منتقل کنید تا آن را از هیئت مدیره حذف کنید و فعالیت را حفظ کنید.", + "card-due": "تا", + "card-due-on": "تا", + "card-spent": "زمان صرف شده", + "card-edit-attachments": "ویرایش ضمائم", + "card-edit-custom-fields": "ویرایش فیلدهای شخصی", + "card-edit-labels": "ویرایش برچسب", + "card-edit-members": "ویرایش اعضا", + "card-labels-title": "تغییر برچسب کارت", + "card-members-title": "افزودن یا حذف اعضا از کارت.", + "card-start": "شروع", + "card-start-on": "شروع از", + "cardAttachmentsPopup-title": "ضمیمه از", + "cardCustomField-datePopup-title": "تغییر تاریخ", + "cardCustomFieldsPopup-title": "ویرایش فیلدهای شخصی", + "cardStartVotingPopup-title": "شروع به رای", + "positiveVoteMembersPopup-title": "طرفداران", + "negativeVoteMembersPopup-title": "مخالفان", + "card-edit-voting": "ویرایش رای", + "editVoteEndDatePopup-title": "تغییر تاریخ پایان رای گیری", + "allowNonBoardMembers": "اجازه دادن به همه کاربران وارد شده", + "vote-question": "سوال رای گیری", + "vote-public": "نمایش چه کسی به چه رای داده است", + "vote-for-it": "برای این", + "vote-against": "بر خلاف", + "deleteVotePopup-title": "رای حذف شود ؟", + "vote-delete-pop": "حذف کردن به صورت دائمی هست و قابل برگشت نیست.", + "cardDeletePopup-title": "آیا می خواهید کارت را حذف کنید؟", + "cardDetailsActionsPopup-title": "اعمال کارت", + "cardLabelsPopup-title": "برچسب ها", + "cardMembersPopup-title": "اعضا", + "cardMorePopup-title": "بیشتر", + "cardTemplatePopup-title": "Create template", + "cards": "کارت‌ها", + "cards-count": "کارت‌ها", + "casSignIn": "ورود با استفاده از CAS", + "cardType-card": "کارت", + "cardType-linkedCard": "کارت‌های مرتبط", + "cardType-linkedBoard": "برد مرتبط", + "change": "تغییر", + "change-avatar": "تغییر تصویر", + "change-password": "تغییر کلمه عبور", + "change-permissions": "تغییر دسترسی‌ها", + "change-settings": "تغییر تنظیمات", + "changeAvatarPopup-title": "تغییر تصویر", + "changeLanguagePopup-title": "تغییر زبان", + "changePasswordPopup-title": "تغییر کلمه عبور", + "changePermissionsPopup-title": "تغییر دسترسی‌ها", + "changeSettingsPopup-title": "تغییر تنظیمات", + "subtasks": "زیر وظیفه", + "checklists": "سیاهه‌ها", + "click-to-star": "با کلیک کردن ستاره بدهید", + "click-to-unstar": "با کلیک کردن ستاره را کم کنید", + "clipboard": "ذخیره در حافظه ویا بردار-رهاکن", + "close": "بستن", + "close-board": "بستن برد", + "close-board-pop": "شما می توانید با کلیک کردن بر روی دکمه «بایگانی» از صفحه هدر، صفحه را بازگردانید.", + "color-black": "مشکی", + "color-blue": "آبی", + "color-crimson": "قرمز", + "color-darkgreen": "سبز تیره", + "color-gold": "طلایی", + "color-gray": "خاکستری", + "color-green": "سبز", + "color-indigo": "نیلی", + "color-lime": "لیمویی", + "color-magenta": "ارغوانی", + "color-mistyrose": "صورتی روشن", + "color-navy": "لاجوردی", + "color-orange": "نارنجی", + "color-paleturquoise": "فیروزه‌ای کدر", + "color-peachpuff": "هلویی", + "color-pink": "صورتی", + "color-plum": "بنفش کدر", + "color-purple": "بنفش", + "color-red": "قرمز", + "color-saddlebrown": "کاکائویی", + "color-silver": "نقره‌ای", + "color-sky": "آبی آسمانی", + "color-slateblue": "آبی فولادی", + "color-white": "سفید", + "color-yellow": "زرد", + "unset-color": "بازنشانی", + "comment": "نظر", + "comment-placeholder": "درج نظر", + "comment-only": "فقط نظر", + "comment-only-desc": "فقط می‌تواند روی کارت‌ها نظر دهد.", + "no-comments": "هیچ کامنتی موجود نیست", + "no-comments-desc": "نظرات و فعالیت ها را نمی توان دید.", + "worker": "کارگر", + "worker-desc": "تنها میتوانید کارت ها را جابجا کنید، این را به یک کارت اضافه کنید.", + "computer": "رایانه", + "confirm-subtask-delete-dialog": "از حذف این زیر وظیفه اطمینان دارید؟", + "confirm-checklist-delete-dialog": "مطمئنا چک لیست پاک شود؟", + "copy-card-link-to-clipboard": "درج پیوند کارت در حافظه", + "linkCardPopup-title": "ارتباط دادن کارت", + "searchElementPopup-title": "جستجو", + "copyCardPopup-title": "کپی کارت", + "copyChecklistToManyCardsPopup-title": "کپی قالب کارت به کارت‌های متعدد", + "copyChecklistToManyCardsPopup-instructions": "عنوان و توضیحات کارت مقصد در این قالب JSON", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"First card title\", \"description\":\"First card description\"}, {\"title\":\"Second card title\",\"description\":\"Second card description\"},{\"title\":\"Last card title\",\"description\":\"Last card description\"} ]", + "create": "ایجاد", + "createBoardPopup-title": "ایجاد برد", + "chooseBoardSourcePopup-title": "بارگذاری برد", + "createLabelPopup-title": "ایجاد برچسب", + "createCustomField": "ایجاد فیلد", + "createCustomFieldPopup-title": "ایجاد فیلد", + "current": "جاری", + "custom-field-delete-pop": "این اقدام فیلدشخصی را بهمراه تمامی تاریخچه آن از کارت ها پاک می کند و برگشت پذیر نمی باشد", + "custom-field-checkbox": "جعبه انتخابی", + "custom-field-currency": "واحد پولی", + "custom-field-currency-option": "کد واحد پولی", + "custom-field-date": "تاریخ", + "custom-field-dropdown": "لیست افتادنی", + "custom-field-dropdown-none": "(هیچ)", + "custom-field-dropdown-options": "لیست امکانات", + "custom-field-dropdown-options-placeholder": "کلید Enter را جهت افزودن امکانات بیشتر فشار دهید", + "custom-field-dropdown-unknown": "(ناشناخته)", + "custom-field-number": "عدد", + "custom-field-text": "متن", + "custom-fields": "فیلدهای شخصی", + "date": "تاریخ", + "decline": "رد", + "default-avatar": "تصویر پیش فرض", + "delete": "حذف", + "deleteCustomFieldPopup-title": "آیا فیلدشخصی پاک شود؟", + "deleteLabelPopup-title": "آیا می خواهید برچسب را حذف کنید؟", + "description": "توضیحات", + "disambiguateMultiLabelPopup-title": "عمل ابهام زدایی از برچسب", + "disambiguateMultiMemberPopup-title": "عمل ابهام زدایی از کاربر", + "discard": "لغو", + "done": "انجام شده", + "download": "دریافت", + "edit": "ویرایش", + "edit-avatar": "تغییر تصویر", + "edit-profile": "ویرایش پروفایل", + "edit-wip-limit": "Edit WIP Limit", + "soft-wip-limit": "Soft WIP Limit", + "editCardStartDatePopup-title": "تغییر تاریخ آغاز", + "editCardDueDatePopup-title": "تغییر تاریخ پایان", + "editCustomFieldPopup-title": "ویرایش فیلد", + "editCardSpentTimePopup-title": "تغییر زمان صرف شده", + "editLabelPopup-title": "تغیر برچسب", + "editNotificationPopup-title": "اصلاح اعلان", + "editProfilePopup-title": "ویرایش پروفایل", + "email": "پست الکترونیک", + "email-enrollAccount-subject": "یک حساب کاربری برای شما در __siteName__ ایجاد شد", + "email-enrollAccount-text": "سلام __user__ \nبرای شروع به استفاده از این سرویس برروی آدرس زیر کلیک کنید.\n__url__\nبا تشکر.", + "email-fail": "عدم موفقیت در فرستادن رایانامه", + "email-fail-text": "خطا در تلاش برای فرستادن رایانامه", + "email-invalid": "رایانامه نادرست", + "email-invite": "دعوت از طریق رایانامه", + "email-invite-subject": "__inviter__ برای شما دعوت نامه ارسال کرده است", + "email-invite-text": "__User__ عزیز\n __inviter__ شما را به عضویت برد \"__board__\" برای همکاری دعوت کرده است.\nلطفا لینک زیر را دنبال کنید، باتشکر:\n__url__", + "email-resetPassword-subject": "تنظیم مجدد کلمه عبور در __siteName__", + "email-resetPassword-text": "سلام __user__\nجهت تنظیم مجدد کلمه عبور آدرس زیر را دنبال نمایید، باتشکر:\n__url__", + "email-sent": "نامه الکترونیکی فرستاده شد", + "email-verifyEmail-subject": "تایید آدرس الکترونیکی شما در __siteName__", + "email-verifyEmail-text": "سلام __user__\nبه منظور تایید آدرس الکترونیکی حساب خود، آدرس زیر را دنبال نمایید، باتشکر:\n__url__.", + "enable-wip-limit": "Enable WIP Limit", + "error-board-doesNotExist": "برد مورد نظر وجود ندارد", + "error-board-notAdmin": "شما جهت انجام آن باید مدیر برد باشید", + "error-board-notAMember": "شما برای انجام آن، باید عضو این برد باشید", + "error-json-malformed": "متن درغالب صحیح Json نمی باشد.", + "error-json-schema": "داده های Json شما، شامل اطلاعات صحیح در غالب درستی نمی باشد.", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "این لیست موجود نیست", + "error-user-doesNotExist": "این کاربر وجود ندارد", + "error-user-notAllowSelf": "عدم امکان دعوت خود", + "error-user-notCreated": "این کاربر ایجاد نشده است", + "error-username-taken": "این نام کاربری استفاده شده است", + "error-email-taken": "رایانامه توسط گیرنده دریافت شده است", + "export-board": "انتقال به بیرون برد", + "export-board-json": "Export board to JSON", + "export-board-csv": "Export board to CSV", + "export-board-tsv": "Export board to TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "انتقال به بیرون برد", + "sort": "مرتب سازی", + "sort-desc": "برای مرتب سازی لیست کلیک کنید", + "list-sort-by": "مرتب سازی لیست بر اساس:", + "list-label-modifiedAt": "زمان دسترسی قبلی", + "list-label-title": "نام لیست", + "list-label-sort": "دلخواه شما", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "صافی ـ فیلتر ـ", + "filter-cards": "فیلتر کارت‌ها یا لیست‌ها", + "list-filter-label": "فیلتر لیست بر اساس عنوان", + "filter-clear": "حذف صافی ـ فیلتر ـ", + "filter-no-label": "بدون برچسب", + "filter-no-member": "بدون عضو", + "filter-no-assignee": "الحاق نشده", + "filter-no-custom-fields": "هیچ فیلدشخصی ای وجود ندارد", + "filter-show-archive": "نمایش لیست‌های آرشیو شده", + "filter-hide-empty": "مخفی کردن لیست‌های خالی", + "filter-on": "صافی ـ فیلتر ـ فعال است", + "filter-on-desc": "شما درحال صافی ـ فیلتر ـ کارت‌های این برد هستید. برای ویرایش فیلتر کلیک نمایید.", + "filter-to-selection": "صافی ـ فیلتر ـ برای موارد انتخابی", + "advanced-filter-label": "صافی ـ فیلتر ـ پیشرفته", + "advanced-filter-description": "فیلتر پیشرفته اجازه می دهد تا برای نوشتن رشته حاوی اپراتورهای زیر: ==! = <=> = && || () یک فضای به عنوان یک جداساز بین اپراتورها استفاده می شود. با تایپ کردن نام ها و مقادیر آنها می توانید برای تمام زمینه های سفارشی فیلتر کنید. به عنوان مثال: Field1 == Value1. نکته: اگر فیلدها یا مقادیر حاوی فضاها باشند، شما باید آنها را به یک نقل قول کپسول کنید. برای مثال: 'فیلد 1' == 'مقدار 1'. برای تک تک کاراکترهای کنترل (\\\\) که می توانید از آنها استفاده کنید، می توانید از \\ استفاده کنید. به عنوان مثال: Field1 == I \\ 'm. همچنین شما می توانید شرایط مختلف را ترکیب کنید. برای مثال: F1 == V1 || F1 == V2. به طور معمول همه اپراتورها از چپ به راست تفسیر می شوند. شما می توانید سفارش را با قرار دادن براکت تغییر دهید. برای مثال: F1 == V1 && (F2 == V2 || F2 == V3). همچنین می توانید فیلدهای متنی را با استفاده از regex جستجو کنید: F1 == /Tes.*/i", + "fullname": "نام و نام خانوادگی", + "header-logo-title": "بازگشت به صفحه بردها.", + "hide-system-messages": "عدم نمایش پیامهای سیستمی", + "headerBarCreateBoardPopup-title": "ایجاد برد", + "home": "خانه", + "import": "وارد کردن", + "link": "ارتباط", + "import-board": "وارد کردن برد", + "import-board-c": "وارد کردن برد", + "import-board-title-trello": "وارد کردن برد از Trello", + "import-board-title-wekan": "بارگذاری برد ها از آخرین خروجی", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "از Trello", + "from-wekan": "از آخرین خروجی", + "from-csv": "From CSV/TSV", + "import-board-instruction-trello": "در Trello-ی خود به 'Menu'، 'More'، 'Print'، 'Export to JSON رفته و متن نهایی را دراینجا وارد نمایید.", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "در هیئت مدیره خود، به 'Menu' بروید، سپس 'Export Board'، و متن را در فایل دانلود شده کپی کنید.", + "import-board-instruction-about-errors": "اگر هنگام بازگردانی با خطا مواجه شدید بعضی اوقات بازگردانی انجام می شود و تمامی برد ها در داخل صفحه All Boards هستند", + "import-json-placeholder": "اطلاعات Json معتبر خود را اینجا وارد کنید.", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "نگاشت اعضا", + "import-members-map": "برد ها بازگردانده شده تعدادی کاربر دارند . لطفا کاربر های که می خواهید را انتخاب نمایید", + "import-show-user-mapping": "بررسی نقشه کاربران", + "import-user-select": "کاربر فعلی خود را انتخاب نمایید اگر میخواهیپ بعنوان کاربر باشد", + "importMapMembersAddPopup-title": "انتخاب کاربر", + "info": "نسخه", + "initials": "تخصیصات اولیه", + "invalid-date": "تاریخ نامعتبر", + "invalid-time": "زمان نامعتبر", + "invalid-user": "کاربر نامعتیر", + "joined": "متصل", + "just-invited": "هم اکنون، شما به این برد دعوت شده‌اید.", + "keyboard-shortcuts": "میانبر کلیدها", + "label-create": "ایجاد برچسب", + "label-default": "%s برچسب(پیش فرض)", + "label-delete-pop": "این اقدام، برچسب را از همه کارت‌ها پاک خواهد کرد و تاریخچه آن را نیز از بین می‌برد.", + "labels": "برچسب ها", + "language": "زبان", + "last-admin-desc": "شما نمی توانید نقش ـroleـ را تغییر دهید چراکه باید حداقل یک مدیری وجود داشته باشد.", + "leave-board": "خروج از برد", + "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.", + "leaveBoardPopup-title": "Leave Board ?", + "link-card": "ارجاع به این کارت", + "list-archive-cards": "انتقال تمامی کارت های این لیست به آرشیو", + "list-archive-cards-pop": "این کارتباعث حذف تمامی کارت های این لیست از برد می شود . برای مشاهده کارت ها در آرشیو و برگرداندن آنها به برد بر بروی \"Menu\">\"Archive\" کلیک نمایید", + "list-move-cards": "انتقال تمام کارت های این لیست", + "list-select-cards": "انتخاب تمام کارت های این لیست", + "set-color-list": "انتخاب رنگ", + "listActionPopup-title": "لیست اقدامات", + "swimlaneActionPopup-title": "Swimlane Actions", + "swimlaneAddPopup-title": "اضافه کردن مسیر شناور", + "listImportCardPopup-title": "وارد کردن کارت Trello", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "بیشتر", + "link-list": "پیوند به این فهرست", + "list-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the list. There is no undo.", + "list-delete-suggest-archive": "شما می توانید لیست را به آرشیو انتقال دهید تا آن را از برد حذف نمایید و فعالیت های خود را حفظ نمایید", + "lists": "لیست ها", + "swimlanes": "Swimlanes", + "log-out": "خروج", + "log-in": "ورود", + "loginPopup-title": "ورود", + "memberMenuPopup-title": "تنظیمات اعضا", + "members": "اعضا", + "menu": "منو", + "move-selection": "حرکت مورد انتخابی", + "moveCardPopup-title": "حرکت کارت", + "moveCardToBottom-title": "انتقال به پایین", + "moveCardToTop-title": "انتقال به بالا", + "moveSelectionPopup-title": "حرکت مورد انتخابی", + "multi-selection": "امکان چند انتخابی", + "multi-selection-on": "حالت چند انتخابی روشن است", + "muted": "بی صدا", + "muted-info": "شما هیچگاه از تغییرات این برد مطلع نخواهید شد", + "my-boards": "بردهای من", + "name": "نام", + "no-archived-cards": "هیچ کارتی در آرشیو موجود نمی باشد", + "no-archived-lists": "هیچ لیستی در آرشیو موجود نمی باشد", + "no-archived-swimlanes": "هیچ مسیری در آرشیو موجود نمی باشد", + "no-results": "بدون نتیجه", + "normal": "عادی", + "normal-desc": "امکان نمایش و تنظیم کارت بدون امکان تغییر تنظیمات", + "not-accepted-yet": "دعوت نامه هنوز پذیرفته نشده است", + "notify-participate": "اطلاع رسانی از هرگونه تغییر در کارتهایی که ایجاد کرده اید ویا عضو آن هستید", + "notify-watch": "اطلاع رسانی از هرگونه تغییر در بردها، لیست‌ها یا کارت‌هایی که از آنها دیده‌بانی می‌کنید", + "optional": "انتخابی", + "or": "یا", + "page-maybe-private": "این صفحه ممکن است خصوصی باشد. شما باورود می‌توانید آن را ببینید.", + "page-not-found": "صفحه پیدا نشد.", + "password": "کلمه عبور", + "paste-or-dragdrop": "جهت چسباندن، یا برداشتن-رهاسازی فایل تصویر به آن (تصویر)", + "participating": "شرکت کنندگان", + "preview": "پیش‌نمایش", + "previewAttachedImagePopup-title": "پیش‌نمایش", + "previewClipboardImagePopup-title": "پیش‌نمایش", + "private": "خصوصی", + "private-desc": "این برد خصوصی است. فقط افراد اضافه شده به برد می‌توانند مشاهده و ویرایش کنند.", + "profile": "حساب کاربری", + "public": "عمومی", + "public-desc": "این برد عمومی است. برای هر کسی با آدرس و یا جستجو در موتورها مانند گوگل قابل مشاهده است. فقط افرادی که به برد اضافه شده‌اند امکان ویرایش دارند.", + "quick-access-description": "جهت افزودن یک برد به اینجا، آن را ستاره دار نمایید.", + "remove-cover": "حذف کاور", + "remove-from-board": "حذف از برد", + "remove-label": "حذف برچسب", + "listDeletePopup-title": "حذف فهرست؟", + "remove-member": "حذف عضو", + "remove-member-from-card": "حذف از کارت", + "remove-member-pop": "آیا __name__ (__username__) را از __boardTitle__ حذف می‌کنید؟ کاربر از تمام کارت‌ها در این برد حذف خواهد شد. آنها از این اقدام مطلع خواهند شد.", + "removeMemberPopup-title": "آیا می خواهید کاربر را حذف کنید؟", + "rename": "تغیر نام", + "rename-board": "تغییر نام برد", + "restore": "بازیابی", + "save": "ذخیره", + "search": "جستجو", + "rules": "قوانین", + "search-cards": "Search from card/list titles, descriptions and custom fields on this board", + "search-example": "متن مورد جستجو؟", + "select-color": "انتخاب رنگ", + "set-wip-limit-value": "تعیین بیشینه تعداد وظایف در این فهرست", + "setWipLimitPopup-title": "Set WIP Limit", + "shortcut-assign-self": "اختصاص خود به کارت فعلی", + "shortcut-autocomplete-emoji": "تکمیل خودکار شکلکها", + "shortcut-autocomplete-members": "تکمیل خودکار کاربرها", + "shortcut-clear-filters": "حذف تمامی صافی‌ها ـ فیلترها ـ", + "shortcut-close-dialog": "بستن محاوره", + "shortcut-filter-my-cards": "کارت های من", + "shortcut-show-shortcuts": "بالا آوردن میانبر این لیست", + "shortcut-toggle-filterbar": "ضامن نوار جداکننده صافی ـ فیلتر ـ", + "shortcut-toggle-sidebar": "ضامن نوار جداکننده برد", + "show-cards-minimum-count": "نمایش تعداد کارتها اگر لیست شامل بیشتراز", + "sidebar-open": "بازکردن جداکننده", + "sidebar-close": "بستن جداکننده", + "signupPopup-title": "ایجاد یک کاربر", + "star-board-title": "برای ستاره دار کردن این برد کلیک کنید. این در بالای لیست بردهای شما نمایش داده خواهد شد.", + "starred-boards": "بردهای ستاره دار", + "starred-boards-description": "بردهای ستاره دار در بالای لیست بردها نمایش داده می‌شود.", + "subscribe": "عضوشدن", + "team": "تیم", + "this-board": "این برد", + "this-card": "این کارت", + "spent-time-hours": "زمان صرف شده (ساعت)", + "overtime-hours": "Overtime (hours)", + "overtime": "Overtime", + "has-overtime-cards": "Has overtime cards", + "has-spenttime-cards": "Has spent time cards", + "time": "زمان", + "title": "عنوان", + "tracking": "پیگردی", + "tracking-info": "شما از هرگونه تغییر در کارتهایی که بعنوان ایجاد کننده ویا عضو آن هستید، آگاه خواهید شد", + "type": "نوع", + "unassign-member": "عدم انتصاب کاربر", + "unsaved-description": "شما توضیحات ذخیره نشده دارید.", + "unwatch": "عدم دیده بانی", + "upload": "ارسال", + "upload-avatar": "ارسال تصویر", + "uploaded-avatar": "تصویر ارسال شد", + "username": "نام کاربری", + "view-it": "مشاهده", + "warn-list-archived": "اخطار:این کارت در یک لیست در آرشیو موجود می باشد", + "watch": "دیده بانی", + "watching": "درحال دیده بانی", + "watching-info": "شما از هر تغییری در این برد آگاه خواهید شد", + "welcome-board": "به این برد خوش آمدید", + "welcome-swimlane": "Milestone 1", + "welcome-list1": "پایه ای ها", + "welcome-list2": "پیشرفته", + "card-templates-swimlane": "Card Templates", + "list-templates-swimlane": "List Templates", + "board-templates-swimlane": "Board Templates", + "what-to-do": "چه کاری می خواهید انجام دهید؟", + "wipLimitErrorPopup-title": "Invalid WIP Limit", + "wipLimitErrorPopup-dialog-pt1": "The number of tasks in this list is higher than the WIP limit you've defined.", + "wipLimitErrorPopup-dialog-pt2": "Please move some tasks out of this list, or set a higher WIP limit.", + "admin-panel": "پیشخوان مدیریتی", + "settings": "تنظمات", + "people": "افراد", + "registration": "ثبت نام", + "disable-self-registration": "‌غیرفعال‌سازی خودثبت‌نامی", + "invite": "دعوت", + "invite-people": "دعوت از افراد", + "to-boards": "به برد(ها)", + "email-addresses": "نشانی رایانامه", + "smtp-host-description": "آدرس سرور SMTP ای که پست الکترونیکی شما برروی آن است", + "smtp-port-description": "شماره درگاه ـPortـ ای که سرور SMTP شما جهت ارسال از آن استفاده می کند", + "smtp-tls-description": "پشتیبانی از TLS برای سرور SMTP", + "smtp-host": "آدرس سرور SMTP", + "smtp-port": "شماره درگاه ـPortـ سرور SMTP", + "smtp-username": "نام کاربری", + "smtp-password": "کلمه عبور", + "smtp-tls": "پشتیبانی از SMTP", + "send-from": "از", + "send-smtp-test": "فرستادن رایانامه آزمایشی به خود", + "invitation-code": "کد دعوت نامه", + "email-invite-register-subject": "__inviter__ برای شما دعوت نامه ارسال کرده است", + "email-invite-register-text": "__user__ عزیز,\n\n__inviter__ شما را به این برد دعوت کرده است.\n\nلطفا روی لینک زیر کلیک نمایید:\n__url__\n\nو کد معرفی شما: __icode__\n\nبا تشکر.", + "email-smtp-test-subject": "SMTP تست ایمیل", + "email-smtp-test-text": "با موفقیت، یک رایانامه را فرستادید", + "error-invitation-code-not-exist": "چنین کد دعوتی یافت نشد", + "error-notAuthorized": "شما مجاز به دیدن این صفحه نیستید.", + "webhook-title": "نام وب‌هوک", + "webhook-token": "توکن", + "outgoing-webhooks": "Outgoing Webhooks", + "bidirectional-webhooks": "وب‌هوک two-way", + "outgoingWebhooksPopup-title": "Outgoing Webhooks", + "boardCardTitlePopup-title": "فیلتر موضوع کارت", + "disable-webhook": "حذف این وب‌هوک", + "global-webhook": "وب‌هوک‌های سراسری", + "new-outgoing-webhook": "New Outgoing Webhook", + "no-name": "(ناشناخته)", + "Node_version": "نسخه Node", + "Meteor_version": "نسخه متئور", + "MongoDB_version": "ورژن MongoDB", + "MongoDB_storage_engine": "موتور ذخیره سازی MongoDB", + "MongoDB_Oplog_enabled": "MongoDB Oplog فعال", + "OS_Arch": "OS Arch", + "OS_Cpus": "OS CPU Count", + "OS_Freemem": "OS Free Memory", + "OS_Loadavg": "OS Load Average", + "OS_Platform": "OS Platform", + "OS_Release": "OS Release", + "OS_Totalmem": "OS Total Memory", + "OS_Type": "OS Type", + "OS_Uptime": "OS Uptime", + "days": "روزه‌ها", + "hours": "ساعت", + "minutes": "دقیقه", + "seconds": "ثانیه", + "show-field-on-card": "این رشته را در کارت نمایش بده", + "automatically-field-on-card": "اتوماتیک این رشته را در همه ی کارت ها اضافه کن", + "showLabel-field-on-card": "نمایش نام رشته در کارت های کوچک", + "yes": "بله", + "no": "خیر", + "accounts": "حساب‌ها", + "accounts-allowEmailChange": "اجازه تغییر رایانامه", + "accounts-allowUserNameChange": "اجازه تغییر نام کاربری", + "createdAt": "ساخته شده در", + "verified": "معتبر", + "active": "فعال", + "card-received": "رسیده", + "card-received-on": "رسیده در", + "card-end": "پایان", + "card-end-on": "پایان در", + "editCardReceivedDatePopup-title": "تغییر تاریخ رسید", + "editCardEndDatePopup-title": "تغییر تاریخ پایان", + "setCardColorPopup-title": "انتخاب رنگ", + "setCardActionsColorPopup-title": "انتخاب کردن رنگ", + "setSwimlaneColorPopup-title": "انتخاب کردن رنگ", + "setListColorPopup-title": "انتخاب کردن رنگ", + "assigned-by": "محول شده توسط", + "requested-by": "تقاضا شده توسط", + "board-delete-notice": "حذف دائمی است شما تمام لیست ها، کارت ها و اقدامات مرتبط با این برد را از دست خواهید داد.", + "delete-board-confirm-popup": "تمام لیست ها، کارت ها، برچسب ها و فعالیت ها حذف خواهند شد و شما نمی توانید محتوای برد را بازیابی کنید. هیچ واکنشی وجود ندارد", + "boardDeletePopup-title": "حذف برد؟", + "delete-board": "حذف برد", + "default-subtasks-board": "ریزکار برای __board__ برد", + "default": "پیش‌فرض", + "queue": "صف", + "subtask-settings": "تنظیمات ریزکارها", + "card-settings": "تنظیمات کارت", + "boardSubtaskSettingsPopup-title": "تنظیمات ریزکار های برد", + "boardCardSettingsPopup-title": "تنظیمات کارت", + "deposit-subtasks-board": "افزودن ریزکار به برد:", + "deposit-subtasks-list": "لیست برای ریزکار های افزوده شده", + "show-parent-in-minicard": "نمایش خانواده در ریز کارت", + "prefix-with-full-path": "پیشوند با مسیر کامل", + "prefix-with-parent": "پیشوند با خانواده", + "subtext-with-full-path": "زیرنویس با مسیر کامل", + "subtext-with-parent": "زیرنویس با خانواده", + "change-card-parent": "تغییرخانواده کارت", + "parent-card": "کارت خانواده", + "source-board": "کارت مرجع", + "no-parent": "خانواده نمایش داده نشود", + "activity-added-label": "افزودن لیبل '%s' به %s", + "activity-removed-label": "حذف لیبل '%s' از %s", + "activity-delete-attach": "حذف ضمیمه از %s", + "activity-added-label-card": "افزودن لیبل '%s'", + "activity-removed-label-card": "حذف لیبل '%s'", + "activity-delete-attach-card": "حذف ضمیمه", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "نقش", + "r-add-trigger": "افزودن گیره", + "r-add-action": "افزودن عملیات", + "r-board-rules": "قوانین برد", + "r-add-rule": "افزودن نقش", + "r-view-rule": "نمایش قانون", + "r-delete-rule": "حذف قانون", + "r-new-rule-name": "تیتر قانون جدید", + "r-no-rules": "بدون قانون", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "زمانی که کارت", + "r-is": "هست", + "r-is-moved": "جابه‌جا شده", + "r-added-to": "Added to", + "r-removed-from": "حذف از", + "r-the-board": "برد", + "r-list": "لیست", + "set-filter": "اضافه کردن فیلتر", + "r-moved-to": "انتقال به", + "r-moved-from": "انتقال از", + "r-archived": "انتقال به آرشیو", + "r-unarchived": "بازگردانی از آرشیو", + "r-a-card": "کارت", + "r-when-a-label-is": "زمانی که لیبل هست", + "r-when-the-label": "زمانی که لیبل هست", + "r-list-name": "نام لیست", + "r-when-a-member": "زمانی که کاربر هست", + "r-when-the-member": "زمانی که کاربر", + "r-name": "نام", + "r-when-a-attach": "زمانی که ضمیمه", + "r-when-a-checklist": "زمانی که چک لیست هست", + "r-when-the-checklist": "زمانی که چک لیست", + "r-completed": "تمام شده", + "r-made-incomplete": "تمام نشده", + "r-when-a-item": "زمانی که چک لیست ایتم هست", + "r-when-the-item": "زمانی که چک لیست ایتم", + "r-checked": "انتخاب شده", + "r-unchecked": "لغو انتخاب", + "r-move-card-to": "انتقال کارت به", + "r-top-of": "بالای", + "r-bottom-of": "پایین", + "r-its-list": "لیست خود", + "r-archive": "انتقال به آرشیو", + "r-unarchive": "بازگردانی از آرشیو", + "r-card": "کارت", + "r-add": "افزودن", + "r-remove": "حذف", + "r-label": "برچسب", + "r-member": "عضو", + "r-remove-all": "حذف همه کاربران از کارت", + "r-set-color": "انتخاب رنگ به", + "r-checklist": "چک لیست", + "r-check-all": "انتخاب همه", + "r-uncheck-all": "لغو انتخاب همه", + "r-items-check": "آیتم از چک لیست", + "r-check": "انتخاب", + "r-uncheck": "لغو انتخاب", + "r-item": "آیتم", + "r-of-checklist": "از چک لیست", + "r-send-email": "ارسال ایمیل", + "r-to": "به", + "r-of": "of", + "r-subject": "عنوان", + "r-rule-details": "جزئیات قوانین", + "r-d-move-to-top-gen": "انتقال کارت به ابتدای لیست خود", + "r-d-move-to-top-spec": "انتقال کارت به ابتدای لیست", + "r-d-move-to-bottom-gen": "انتقال کارت به انتهای لیست خود", + "r-d-move-to-bottom-spec": "انتقال کارت به انتهای لیست", + "r-d-send-email": "ارسال ایمیل", + "r-d-send-email-to": "به", + "r-d-send-email-subject": "عنوان", + "r-d-send-email-message": "پیام", + "r-d-archive": "انتقال کارت به آرشیو", + "r-d-unarchive": "بازگردانی کارت از آرشیو", + "r-d-add-label": "افزودن برچسب", + "r-d-remove-label": "حذف برچسب", + "r-create-card": "ساخت کارت جدید", + "r-in-list": "در لیست", + "r-in-swimlane": "در مسیرِ شناور", + "r-d-add-member": "افزودن عضو", + "r-d-remove-member": "حذف عضو", + "r-d-remove-all-member": "حذف تمامی کاربران", + "r-d-check-all": "انتخاب تمام آیتم های لیست", + "r-d-uncheck-all": "لغوانتخاب تمام آیتم های لیست", + "r-d-check-one": "انتخاب آیتم", + "r-d-uncheck-one": "لغو انتخاب آیتم", + "r-d-check-of-list": "از چک لیست", + "r-d-add-checklist": "افزودن چک لیست", + "r-d-remove-checklist": "حذف چک لیست", + "r-by": "توسط", + "r-add-checklist": "افزودن چک لیست", + "r-with-items": "با موارد", + "r-items-list": "مورد۱،مورد۲،مورد۳", + "r-add-swimlane": "اضافه کردن مسیر شناور", + "r-swimlane-name": "نام مسیر شناور", + "r-board-note": "نکته: برای نمایش موارد ممکن کادر را خالی بگذارید.", + "r-checklist-note": "نکته: چک‌لیست‌ها باید توسط کاما از یک‌دیگر جدا شوند.", + "r-when-a-card-is-moved": "زمانی که یک کارت به لیست دیگری منتقل شد", + "r-set": "تنظیم", + "r-update": "به روز رسانی", + "r-datefield": "تاریخ", + "r-df-start-at": "شروع", + "r-df-due-at": "ناشی از", + "r-df-end-at": "پایان", + "r-df-received-at": "رسیده", + "r-to-current-datetime": "به تاریخ/زمان فعلی", + "r-remove-value-from": "حذف مقدار از", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "متد اعتبارسنجی", + "authentication-type": "نوع اعتبارسنجی", + "custom-product-name": "نام سفارشی محصول", + "layout": "لایه", + "hide-logo": "مخفی سازی نماد", + "add-custom-html-after-body-start": "افزودن کد های HTML بعد از شروع", + "add-custom-html-before-body-end": "افزودن کد های HTML قبل از پایان", + "error-undefined": "یک اشتباه رخ داده شده است", + "error-ldap-login": "هنگام تلاش برای ورود به یک خطا رخ داد", + "display-authentication-method": "نمایش نوع اعتبارسنجی", + "default-authentication-method": "نوع اعتبارسنجی پیشفرض", + "duplicate-board": "Duplicate Board", + "people-number": "The number of people is:", + "swimlaneDeletePopup-title": "Delete Swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Restore all", + "delete-all": "Delete all", + "loading": "Loading, please wait.", + "previous_as": "آخرین زمان بوده", + "act-a-dueAt": "اصلاح زمان انجام به \nکِی: __timeValue__\nکجا: __card__\n زمان قبلی انجام __timeOldValue__ بوده", + "act-a-endAt": "modified ending time to __timeValue__ from (__timeOldValue__)", + "act-a-startAt": "modified starting time to __timeValue__ from (__timeOldValue__)", + "act-a-receivedAt": "modified received time to __timeValue__ from (__timeOldValue__)", + "a-dueAt": "modified due time to be", + "a-endAt": "modified ending time to be", + "a-startAt": "modified starting time to be", + "a-receivedAt": "modified received time to be", + "almostdue": "current due time %s is approaching", + "pastdue": "current due time %s is past", + "duenow": "current due time %s is today", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", + "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", + "act-duenow": "was reminding the current due (__timeValue__) of __card__ is now", + "act-atUserComment": "You were mentioned in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Are you sure you want to delete this account? There is no undo.", + "accounts-allowUserDelete": "Allow users to self delete their account", + "hide-minicard-label-text": "مخفی کردن اسم برچسب مینی کارت", + "show-desktop-drag-handles": "Show desktop drag handles", + "assignee": "الحاق شده", + "cardAssigneesPopup-title": "الحاق شده", + "addmore-detail": "افزودن توضیحات کامل تر", + "show-on-card": "نمایش در کارت", + "new": "جدید", + "editUserPopup-title": "ویرایش کاربر", + "newUserPopup-title": "کاربر جدید", + "notifications": "اعلان‌ها", + "view-all": "مشاهده همه", + "filter-by-unread": "فیلتر با خوانده نشده", + "mark-all-as-read": "علامت همه به خوانده شده", + "remove-all-read": "حذف همه خوانده شده", + "allow-rename": "اجازه تغییر نام", + "allowRenamePopup-title": "اجازه تغییر نام", + "start-day-of-week": "تنظیم روز شروع هفته", + "monday": "دوشنبه", + "tuesday": "سه شنبه", + "wednesday": "چهارشنبه", + "thursday": "پنجشنبه", + "friday": "جمعه", + "saturday": "شنبه", + "sunday": "یکشنبه", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "آخرین فعالیت‌ها", + "voting": "Voting", + "archived": "بایگانی شده", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/fi.i18n.json b/i18n/fi.i18n.json new file mode 100644 index 0000000..68da8c5 --- /dev/null +++ b/i18n/fi.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Hyväksy", + "act-activity-notify": "Toimintailmoitus", + "act-addAttachment": "lisätty liite __attachment__ kortille __card__ listalla __list__ swimlanella __swimlane__ taululla __board__", + "act-deleteAttachment": "poistettu liite __attachment__ kortilla __card__ listalla __list__ swimlanella __swimlane__ taululla __board__", + "act-addSubtask": "lisätty alitehtävä __subtask__ kortille __card__ listalla __list__ swimlanella __swimlane__ taululla __board__", + "act-addLabel": "Lisätty nimilappu __label__ kortille __card__ listalla __list__ swimlanella __swimlane__ taululla __board__", + "act-addedLabel": "Lisätty nimilappu __label__ kortille __card__ listalla __list__ swimlanella __swimlane__ taululla __board__", + "act-removeLabel": "Poistettu nimilappu __label__ kortilta __card__ listalla __list__ swimlanella __swimlane__ taululla __board__", + "act-removedLabel": "Poistettu nimilappu __label__ kortilta __card__ listalla __list__ swimlanella __swimlane__ taululla __board__", + "act-addChecklist": "lisätty tarkistuslista __checklist__ kortille __card__ listalla __list__ swimlanella __swimlane__ taululla __board__", + "act-addChecklistItem": "lisätty tarkistuslistan kohta __checklistItem__ tarkistuslistalle __checklist__ kortilla __card__ listalla __list__ swimlanella __swimlane__ taululla __board__", + "act-removeChecklist": "poistettu tarkistuslista __checklist__ kortilta __card__ listalla __list__ swimlanella __swimlane__ taululla __board__", + "act-removeChecklistItem": "poistettu tarkistuslistan kohta __checklistItem__ tarkistuslistalta __checklist__ kortilla __card__ listalla __list__ swimlanella __swimlane__ taululla __board__", + "act-checkedItem": "ruksattu __checklistItem__ tarkistuslistalla __checklist__ kortilla __card__ listalla __list__ swimlanella __swimlane__ taululla __board__", + "act-uncheckedItem": "poistettu ruksi __checklistItem__ tarkistuslistalta __checklist__ kortilla __card__ listalla __list__ swimlanella __swimlane__ taululla __board__", + "act-completeChecklist": "valmistui tarkistuslista __checklist__ kortilla __card__ listalla __list__ swimlanella __swimlane__ taululla __board__", + "act-uncompleteChecklist": "tehty ei valmistuneeksi tarkistuslista __checklist__ kortilla __card__ listalla __list__ swimlanella __swimlane__ taululla __board__", + "act-addComment": "kommentoitu kortilla __card__: __comment__ listalla __list__ swimlanella __swimlane__ taululla __board__", + "act-editComment": "muokkasi kommenttia kortilla __card__: __comment__ listalla __list__ swimlanella __swimlane__ at taululla __board__", + "act-deleteComment": "poisti kommentin kortilla __card__: __comment__ listalla __list__ swimlanella __swimlane__ taululla __board__", + "act-createBoard": "luotu taulu __board__", + "act-createSwimlane": "loi swimlanen __swimlane__ taululle __board__", + "act-createCard": "luotu kortti __card__ listalle __list__ swimlanella __swimlane__ taululla __board__", + "act-createCustomField": "loi mukautetun kentän __customField__ taululla __board__", + "act-deleteCustomField": "poisti mukautetun kentän __customField__ taululla __board__", + "act-setCustomField": "muokkasi mukautettua kenttää __customField__: __customFieldValue__ kortilla __card__ listalla __list__ swimlanella __swimlane__ taululla __board__", + "act-createList": "lisätty lista __list__ taululle __board__", + "act-addBoardMember": "lisätty jäsen __member__ taululle __board__", + "act-archivedBoard": "Taulu __board__ siirretty Arkistoon", + "act-archivedCard": "Kortti __card__ listalla __list__ swimlanella __swimlane__ taululla __board__ siirretty Arkistoon", + "act-archivedList": "Lista __list__ swimlanella __swimlane__ taululla __board__ siirretty Arkistoon", + "act-archivedSwimlane": "Swimlane __swimlane__ taululla __board__ siirretty Arkistoon", + "act-importBoard": "tuotu taulu __board__", + "act-importCard": "tuotu kortti __card__ listalle __list__ swimlanella __swimlane__ taululla __board__", + "act-importList": "tuotu lista __list__ swimlanelle __swimlane__ taululla __board__", + "act-joinMember": "lisätty jäsen __member__ kortille __card__ listalla __list__ swimlanella __swimlane__ taululla __board__", + "act-moveCard": "siirsi kortin __card__ taululla __board__ listasta __oldList__ swimlanelta __oldSwimlane__ listalle __list__ swimlanelle __swimlane__", + "act-moveCardToOtherBoard": "siirretty kortti __card__ listasta __oldList__ swimlanella __oldSwimlane__ taululla __oldBoard__ listalle __list__ swimlanella __swimlane__ taululla __board__", + "act-removeBoardMember": "poistettu jäsen __member__ taululta __board__", + "act-restoredCard": "palautettu kortti __card__ listalle __list__ swimlanella __swimlane__ taululla __board__", + "act-unjoinMember": "poistettu jäsen __member__ kortilta __card__ listalla __list__ swimlanella __swimlane__ taululla __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Toimet", + "activities": "Toimet", + "activity": "Toiminta", + "activity-added": "lisätty %s kohteeseen %s", + "activity-archived": "%s siirretty Arkistoon", + "activity-attached": "liitetty %s kohteeseen %s", + "activity-created": "luotu %s", + "activity-customfield-created": "luotu mukautettu kenttä %s", + "activity-excluded": "poistettu %s kohteesta %s", + "activity-imported": "tuotu %s kohteeseen %s lähteestä %s", + "activity-imported-board": "tuotu %s lähteestä %s", + "activity-joined": "liitytty kohteeseen %s", + "activity-moved": "siirretty %s kohteesta %s kohteeseen %s", + "activity-on": "kohteessa %s", + "activity-removed": "poistettu %s kohteesta %s", + "activity-sent": "lähetetty %s kohteeseen %s", + "activity-unjoined": "peruttu %s liittyminen", + "activity-subtask-added": "lisätty alitehtävä kohteeseen %s", + "activity-checked-item": "ruksattu %s tarkistuslistassa %s / %s", + "activity-unchecked-item": "poistettu ruksi %s tarkistuslistassa %s / %s", + "activity-checklist-added": "lisätty tarkistuslista kortille %s", + "activity-checklist-removed": "poistettu tarkistuslista kohteesta %s", + "activity-checklist-completed": "saatiin valmiiksi tarkistuslista %s / %s", + "activity-checklist-uncompleted": "ei saatu valmiiksi tarkistuslista %s / %s", + "activity-checklist-item-added": "lisäsi kohdan tarkistuslistaan '%s' kortilla %s", + "activity-checklist-item-removed": "poistettu tarkistuslistan kohta '%s' / %s", + "add": "Lisää", + "activity-checked-item-card": "ruksattu %s tarkistuslistassa %s", + "activity-unchecked-item-card": "poistettu ruksi %s tarkistuslistassa %s", + "activity-checklist-completed-card": "valmistui tarkistuslista __checklist__ kortilla __card__ listalla __list__ swimlanella __swimlane__ taululla __board__", + "activity-checklist-uncompleted-card": "ei valmistunut tarkistuslista %s", + "activity-editComment": "muokkasi kommenttia %s", + "activity-deleteComment": "poisti kommentin %s", + "add-attachment": "Lisää liite", + "add-board": "Lisää taulu", + "add-card": "Lisää kortti", + "add-swimlane": "Lisää Swimlane", + "add-subtask": "Lisää alitehtävä", + "add-checklist": "Lisää tarkistuslista", + "add-checklist-item": "Lisää kohta tarkistuslistaan", + "add-cover": "Lisää kansi", + "add-label": "Lisää nimilappu", + "add-list": "Lisää lista", + "add-members": "Lisää jäseniä", + "added": "Lisätty", + "addMemberPopup-title": "Jäsenet", + "admin": "Ylläpitäjä", + "admin-desc": "Voi nähdä ja muokata kortteja, poistaa jäseniä, ja muuttaa taulun asetuksia.", + "admin-announcement": "Ilmoitus", + "admin-announcement-active": "Aktiivinen järjestelmänlaajuinen ilmoitus", + "admin-announcement-title": "Ilmoitus ylläpitäjältä", + "all-boards": "Kaikki taulut", + "and-n-other-card": "Ja __count__ muu kortti", + "and-n-other-card_plural": "Ja __count__ muuta korttia", + "apply": "Käytä", + "app-is-offline": "Ladataan, odota. Sivun uudelleenlataus aiheuttaa tietojen menettämisen. Jos lataaminen ei toimi, tarkista että palvelin ei ole pysähtynyt.", + "archive": "Siirrä Arkistoon", + "archive-all": "Siirrä kaikki Arkistoon", + "archive-board": "Siirrä taulu Arkistoon", + "archive-card": "Siirrä kortti Arkistoon", + "archive-list": "Siirrä lista Arkistoon", + "archive-swimlane": "Siirrä Swimlane Arkistoon", + "archive-selection": "Siirrä valinta Arkistoon", + "archiveBoardPopup-title": "Siirrä taulu Arkistoon?", + "archived-items": "Arkisto", + "archived-boards": "Taulut Arkistossa", + "restore-board": "Palauta taulu", + "no-archived-boards": "Ei tauluja Arkistossa.", + "archives": "Arkisto", + "template": "Malli", + "templates": "Mallit", + "assign-member": "Valitse jäsen", + "attached": "liitetty", + "attachment": "Liitetiedosto", + "attachment-delete-pop": "Liitetiedoston poistaminen on lopullista. Tätä ei pysty peruuttamaan.", + "attachmentDeletePopup-title": "Poista liitetiedosto?", + "attachments": "Liitetiedostot", + "auto-watch": "Automaattisesti seuraa tauluja kun ne on luotu", + "avatar-too-big": "Profiilikuva on liian suuri (enintään 70 kt)", + "back": "Takaisin", + "board-change-color": "Muokkaa väriä", + "board-nb-stars": "%s tähteä", + "board-not-found": "Taulua ei löytynyt", + "board-private-info": "Tämä taulu tulee olemaan yksityinen.", + "board-public-info": "Tämä taulu tulee olemaan julkinen.", + "boardChangeColorPopup-title": "Muokkaa taulun taustaa", + "boardChangeTitlePopup-title": "Nimeä taulu uudelleen", + "boardChangeVisibilityPopup-title": "Muokkaa näkyvyyttä", + "boardChangeWatchPopup-title": "Muokkaa seuraamista", + "boardMenuPopup-title": "Tauluasetukset", + "boardChangeViewPopup-title": "Taulunäkymä", + "boards": "Taulut", + "board-view": "Taulunäkymä", + "board-view-cal": "Kalenteri", + "board-view-swimlanes": "Swimlanet", + "board-view-collapse": "Pienennä", + "board-view-lists": "Listat", + "bucket-example": "Kuten “Laatikko lista” esimerkiksi", + "cancel": "Peruuta", + "card-archived": "Tämä kortti on siirretty Arkistoon.", + "board-archived": "Tämä taulu on siirretty Arkistoon.", + "card-comments-title": "Tässä kortissa on %s kommenttia.", + "card-delete-notice": "Poistaminen on lopullista. Menetät kaikki tähän korttiin liitetyt toimet.", + "card-delete-pop": "Kaikki toimet poistetaan toimintasyötteestä, etkä pysty avata korttia uudelleen. Tätä ei voi peruuttaa.", + "card-delete-suggest-archive": "Voit siirtää kortin Arkistoon poistaaksesi sen taululta ja säilyttääksesi toimintalokin.", + "card-due": "Erääntyy", + "card-due-on": "Erääntyy", + "card-spent": "Käytetty aika", + "card-edit-attachments": "Muokkaa liitetiedostoja", + "card-edit-custom-fields": "Muokkaa mukautettuja kenttiä", + "card-edit-labels": "Muokkaa nimilappuja", + "card-edit-members": "Muokkaa jäseniä", + "card-labels-title": "Muokkaa kortin nimilappuja.", + "card-members-title": "Lisää tai poista taulun jäseniä tältä kortilta.", + "card-start": "Alkaa", + "card-start-on": "Alkaa", + "cardAttachmentsPopup-title": "Liitä mistä", + "cardCustomField-datePopup-title": "Muokkaa päivää", + "cardCustomFieldsPopup-title": "Muokkaa mukautettuja kenttiä", + "cardStartVotingPopup-title": "Äänestä", + "positiveVoteMembersPopup-title": "Kannattajat", + "negativeVoteMembersPopup-title": "Vastustajat", + "card-edit-voting": "Muokkaa äänestystä", + "editVoteEndDatePopup-title": "Muokkaa äänestyksen loppumispäivää", + "allowNonBoardMembers": "Salli kaikki kirjautuneet käyttäjät", + "vote-question": "Äänestys kysymys", + "vote-public": "Näytä kuka äänesti mitäkin", + "vote-for-it": "puolesta", + "vote-against": "vastaan", + "deleteVotePopup-title": "Poista ääni?", + "vote-delete-pop": "Poistaminen on lopullista. Menetät kaikki tähän äänestykseen liitetyt toimet.", + "cardDeletePopup-title": "Poista kortti?", + "cardDetailsActionsPopup-title": "Korttitoimet", + "cardLabelsPopup-title": "Nimilaput", + "cardMembersPopup-title": "Jäsenet", + "cardMorePopup-title": "Lisää", + "cardTemplatePopup-title": "Luo malli", + "cards": "Kortit", + "cards-count": "korttia", + "casSignIn": "CAS-kirjautuminen", + "cardType-card": "Kortti", + "cardType-linkedCard": "Linkitetty kortti", + "cardType-linkedBoard": "Linkitetty taulu", + "change": "Muokkaa", + "change-avatar": "Muokkaa profiilikuvaa", + "change-password": "Vaihda salasana", + "change-permissions": "Muokkaa oikeuksia", + "change-settings": "Muokkaa asetuksia", + "changeAvatarPopup-title": "Muokkaa profiilikuvaa", + "changeLanguagePopup-title": "Vaihda kieltä", + "changePasswordPopup-title": "Vaihda salasana", + "changePermissionsPopup-title": "Muokkaa oikeuksia", + "changeSettingsPopup-title": "Muokkaa asetuksia", + "subtasks": "Alitehtävät", + "checklists": "Tarkistuslistat", + "click-to-star": "Klikkaa merkataksesi tämä taulu tähdellä.", + "click-to-unstar": "Klikkaa poistaaksesi tähtimerkintä taululta.", + "clipboard": "Leikepöytä tai raahaa ja pudota", + "close": "Sulje", + "close-board": "Sulje taulu", + "close-board-pop": "Voit palauttaa taulun klikkaamalla “Arkisto”-painiketta taululistan yläpalkista.", + "color-black": "musta", + "color-blue": "sininen", + "color-crimson": "karmiininpunainen", + "color-darkgreen": "tummanvihreä", + "color-gold": "kulta", + "color-gray": "harmaa", + "color-green": "vihreä", + "color-indigo": "syvän sininen", + "color-lime": "lime", + "color-magenta": "magenta", + "color-mistyrose": "vaaleanpunainen ruusu", + "color-navy": "laivastonsininen", + "color-orange": "oranssi", + "color-paleturquoise": "vaalean turkoosi", + "color-peachpuff": "persikanpunainen", + "color-pink": "vaaleanpunainen", + "color-plum": "luumunvärinen", + "color-purple": "violetti", + "color-red": "punainen", + "color-saddlebrown": "satulanruskea", + "color-silver": "hopea", + "color-sky": "taivas", + "color-slateblue": "liuskekivi sininen", + "color-white": "valkoinen", + "color-yellow": "keltainen", + "unset-color": "Peru väri", + "comment": "Kommentti", + "comment-placeholder": "Kirjoita kommentti", + "comment-only": "Vain kommentointi", + "comment-only-desc": "Voi vain kommentoida kortteja", + "no-comments": "Ei kommentteja", + "no-comments-desc": "Ei voi nähdä kommentteja ja toimintaa.", + "worker": "Työntekijä", + "worker-desc": "Voi vain siirtää kortteja, ilmoittautua kortin käsittelijäksi ja kommentoida.", + "computer": "Tietokone", + "confirm-subtask-delete-dialog": "Haluatko varmasti poistaa alitehtävän?", + "confirm-checklist-delete-dialog": "Haluatko varmasti poistaa tarkistuslistan?", + "copy-card-link-to-clipboard": "Kopioi kortin linkki leikepöydälle", + "linkCardPopup-title": "Linkitä kortti", + "searchElementPopup-title": "Etsi", + "copyCardPopup-title": "Kopioi kortti", + "copyChecklistToManyCardsPopup-title": "Kopioi tarkistuslistan malli monille korteille", + "copyChecklistToManyCardsPopup-instructions": "Kohde korttien otsikot ja kuvaukset JSON-muodossa", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"Ensimmäisen kortin otsikko\", \"description\":\"Ensimmäisen kortin kuvaus\"}, {\"title\":\"Toisen kortin otsikko\",\"description\":\"Toisen kortin kuvaus\"},{\"title\":\"Viimeisen kortin otsikko\",\"description\":\"Viimeisen kortin kuvaus\"} ]", + "create": "Luo", + "createBoardPopup-title": "Luo taulu", + "chooseBoardSourcePopup-title": "Tuo taulu", + "createLabelPopup-title": "Luo nimilappu", + "createCustomField": "Luo kenttä", + "createCustomFieldPopup-title": "Luo kenttä", + "current": "nykyinen", + "custom-field-delete-pop": "Tätä ei voi peruuttaa. Tämä poistaa tämän mukautetun kentän kaikista korteista ja poistaa sen historian.", + "custom-field-checkbox": "Valintaruutu", + "custom-field-currency": "Valuutta", + "custom-field-currency-option": "Valuutta koodi", + "custom-field-date": "Päivämäärä", + "custom-field-dropdown": "Pudotusvalikko", + "custom-field-dropdown-none": "(ei mitään)", + "custom-field-dropdown-options": "Listan vaihtoehdot", + "custom-field-dropdown-options-placeholder": "Paina Enter lisätäksesi lisää vaihtoehtoja", + "custom-field-dropdown-unknown": "(tuntematon)", + "custom-field-number": "Numero", + "custom-field-text": "Teksti", + "custom-fields": "Mukautetut kentät", + "date": "Päivämäärä", + "decline": "Kieltäydy", + "default-avatar": "Oletusprofiilikuva", + "delete": "Poista", + "deleteCustomFieldPopup-title": "Poista mukautettu kenttä?", + "deleteLabelPopup-title": "Poista nimilappu?", + "description": "Kuvaus", + "disambiguateMultiLabelPopup-title": "Yksikäsitteistä nimilapputoiminta", + "disambiguateMultiMemberPopup-title": "Yksikäsitteistä jäsentoiminta", + "discard": "Hylkää", + "done": "Valmis", + "download": "Lataa", + "edit": "Muokkaa", + "edit-avatar": "Muokkaa profiilikuvaa", + "edit-profile": "Muokkaa profiilia", + "edit-wip-limit": "Muokkaa WIP-rajaa", + "soft-wip-limit": "Pehmeä WIP-raja", + "editCardStartDatePopup-title": "Muokkaa aloituspäivää", + "editCardDueDatePopup-title": "Muokkaa eräpäivää", + "editCustomFieldPopup-title": "Muokkaa kenttää", + "editCardSpentTimePopup-title": "Muuta käytettyä aikaa", + "editLabelPopup-title": "Muokkaa nimilappua", + "editNotificationPopup-title": "Muokkaa ilmoituksia", + "editProfilePopup-title": "Muokkaa profiilia", + "email": "Sähköposti", + "email-enrollAccount-subject": "Sinulle on luotu tili palveluun __siteName__", + "email-enrollAccount-text": "Hei __user__,\n\nKlikkaa alla olevaa linkkiä aloittaaksesi palvelun käytön.\n\n__url__\n\nKiitos.", + "email-fail": "Sähköpostin lähettäminen epäonnistui", + "email-fail-text": "Virhe yrittäessä lähettää sähköpostia", + "email-invalid": "Virheellinen sähköposti", + "email-invite": "Kutsu sähköpostilla", + "email-invite-subject": "__inviter__ lähetti sinulle kutsun", + "email-invite-text": "Hyvä __user__,\n\n__inviter__ kutsuu sinut liittymään taululle \"__board__\" yhteistyötä varten.\n\nOle hyvä ja seuraa alla olevaa linkkiä:\n\n__url__\n\nKiitos.", + "email-resetPassword-subject": "Nollaa salasanasi palvelussa __siteName__", + "email-resetPassword-text": "Hei __user__,\n\nNollataksesi salasanasi, klikkaa alla olevaa linkkiä.\n\n__url__\n\nKiitos.", + "email-sent": "Sähköposti lähetetty", + "email-verifyEmail-subject": "Varmista sähköpostiosoitteesi osoitteessa __url__", + "email-verifyEmail-text": "Hei __user__,\n\nvahvistaaksesi sähköpostiosoitteesi, klikkaa alla olevaa linkkiä.\n\n__url__\n\nKiitos.", + "enable-wip-limit": "Ota käyttöön WIP-raja", + "error-board-doesNotExist": "Tätä taulua ei ole olemassa", + "error-board-notAdmin": "Tehdäksesi tämän sinun täytyy olla tämän taulun ylläpitäjä", + "error-board-notAMember": "Tehdäksesi tämän sinun täytyy olla tämän taulun jäsen", + "error-json-malformed": "Tekstisi ei ole kelvollisessa JSON-muodossa", + "error-json-schema": "JSON-tietosi ei sisällä oikeaa tietoa oikeassa muodossa", + "error-csv-schema": "CSV tietosi (pilkulla erotetut arvot)/TSV (tabilla erotetut arvot) ei sisällä oikeaa tietoa oikeassa muodossa", + "error-list-doesNotExist": "Tätä listaa ei ole olemassa", + "error-user-doesNotExist": "Tätä käyttäjää ei ole olemassa", + "error-user-notAllowSelf": "Et voi kutsua itseäsi", + "error-user-notCreated": "Tätä käyttäjää ei ole luotu", + "error-username-taken": "Tämä käyttäjätunnus on jo käytössä", + "error-email-taken": "Sähköpostiosoite on jo käytössä", + "export-board": "Vie taulu", + "export-board-json": "Vie taulu JSON", + "export-board-csv": "Vie taulu CSV", + "export-board-tsv": "Vie taulu TSV", + "export-board-html": "Vie taulu HTML", + "exportBoardPopup-title": "Vie taulu", + "sort": "Lajittele", + "sort-desc": "Klikkaa lajitellaksesi listan", + "list-sort-by": "Lajittele lista:", + "list-label-modifiedAt": "Viimeinen käyttöaika", + "list-label-title": "Listan nimi", + "list-label-sort": "Oma manuaalinen järjestys", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Suodata", + "filter-cards": "Suodata kortit tai listat", + "list-filter-label": "Suodata listat otsikon mukaan", + "filter-clear": "Poista suodatin", + "filter-no-label": "Ei nimilappua", + "filter-no-member": "Ei jäseniä", + "filter-no-assignee": "Ei käsittelijää", + "filter-no-custom-fields": "Ei mukautettuja kenttiä", + "filter-show-archive": "Näytä arkistoidut listat", + "filter-hide-empty": "Näytä tyhjät listat", + "filter-on": "Suodatus on päällä", + "filter-on-desc": "Suodatat kortteja tällä taululla. Klikkaa tästä muokataksesi suodatinta.", + "filter-to-selection": "Suodata valintaan", + "advanced-filter-label": "Edistynyt suodatin", + "advanced-filter-description": "Edistynyt suodatin mahdollistaa merkkijonon, joka sisältää seuraavat operaattorit: == != <= >= && || ( ) Operaattorien välissä käytetään välilyöntiä. Voit suodattaa kaikki mukautetut kentät kirjoittamalla niiden nimet ja arvot. Esimerkiksi: Field1 == Value1. Huom: Jos kentillä tai arvoilla on välilyöntejä, sinun on sijoitettava ne yksittäisiin lainausmerkkeihin. Esimerkki: 'Kenttä 1' == 'Arvo 1'. Voit hypätä yksittäisen kontrollimerkkien (' \\/) yli käyttämällä \\. Esimerkki: Field1 = I\\'m. Voit myös yhdistää useita ehtoja. Esimerkiksi: F1 == V1 || F1 == V2. Yleensä kaikki operaattorit tulkitaan vasemmalta oikealle. Voit muuttaa järjestystä asettamalla sulkuja. Esimerkiksi: F1 == V1 && (F2 == V2 || F2 == V3). Voit myös etsiä tekstikentistä regexillä: F1 == /Tes.*/i", + "fullname": "Koko nimi", + "header-logo-title": "Palaa taulut sivullesi.", + "hide-system-messages": "Piilota järjestelmäviestit", + "headerBarCreateBoardPopup-title": "Luo taulu", + "home": "Koti", + "import": "Tuo", + "link": "Linkitä", + "import-board": "tuo taulu", + "import-board-c": "Tuo taulu", + "import-board-title-trello": "Tuo taulu Trellosta", + "import-board-title-wekan": "Tuo taulu edellisestä viennistä", + "import-board-title-csv": "Tuo taulu CSV/TSV", + "from-trello": "Trellosta", + "from-wekan": "Edellisestä viennistä", + "from-csv": "CSV/TSV muodosta", + "import-board-instruction-trello": "Mene Trello-taulullasi 'Menu', sitten 'More', 'Print and Export', 'Export JSON', ja kopioi tuloksena saamasi teksti", + "import-board-instruction-csv": "Liitä pilkulla erotellut arvot (CSV)/ tabilla erotetut arvot (TSV).", + "import-board-instruction-wekan": "Taulullasi, mene 'Valikko', sitten 'Vie taulu', ja kopioi teksti ladatusta tiedostosta.", + "import-board-instruction-about-errors": "Jos virheitä tulee taulua tuotaessa, joskus tuonti silti toimii, ja taulu on Kaikki taulut sivulla.", + "import-json-placeholder": "Liitä kelvollinen JSON-tietosi tähän", + "import-csv-placeholder": "Liitä kelvollinen CSV/TSV tietosi tähän", + "import-map-members": "Vastaavat jäsenet", + "import-members-map": "Tuomallasi taululla on muutamia jäseniä. Ole hyvä ja valitse tuomiasi jäseniä vastaavat käyttäjäsi", + "import-show-user-mapping": "Tarkasta vastaavat jäsenet", + "import-user-select": "Valitse olemassaoleva käyttäjä jota haluat käyttää tänä käyttäjänä", + "importMapMembersAddPopup-title": "Valitse käyttäjä", + "info": "Versio", + "initials": "Nimikirjaimet", + "invalid-date": "Virheellinen päivämäärä", + "invalid-time": "Virheellinen aika", + "invalid-user": "Virheellinen käyttäjä", + "joined": "liittyi", + "just-invited": "Sinut on juuri kutsuttu tälle taululle", + "keyboard-shortcuts": "Pikanäppäimet", + "label-create": "Luo nimilappu", + "label-default": "%s nimilappu (oletus)", + "label-delete-pop": "Tätä ei voi peruuttaa. Tämä poistaa tämän nimilapun kaikista korteista ja tuhoaa sen historian.", + "labels": "Nimilaput", + "language": "Kieli", + "last-admin-desc": "Et voi vaihtaa rooleja koska täytyy olla olemassa ainakin yksi ylläpitäjä.", + "leave-board": "Jää pois taululta", + "leave-board-pop": "Haluatko varmasti poistua taululta __boardTitle__? Sinut poistetaan kaikista tämän taulun korteista.", + "leaveBoardPopup-title": "Poistu taululta?", + "link-card": "Linkki tähän korttiin", + "list-archive-cards": "Siirrä kaikki tämän listan kortit Arkistoon", + "list-archive-cards-pop": "Tämä poistaa kaikki tämän listan kortit taululta. Nähdäksesi Arkistossa olevat kortit ja tuodaksesi ne takaisin taululle, klikkaa “Valikko” > “Arkisto”.", + "list-move-cards": "Siirrä kaikki kortit tässä listassa", + "list-select-cards": "Valitse kaikki kortit tässä listassa", + "set-color-list": "Aseta väri", + "listActionPopup-title": "Listatoimet", + "swimlaneActionPopup-title": "Swimlane-toimet", + "swimlaneAddPopup-title": "Lisää Swimlane alle", + "listImportCardPopup-title": "Tuo Trello-kortti", + "listImportCardsTsvPopup-title": "Tuo Excel CSV/TSV", + "listMorePopup-title": "Lisää", + "link-list": "Linkki tähän listaan", + "list-delete-pop": "Kaikki toimet poistetaan toimintasyötteestä ja listan poistaminen on lopullista. Tätä ei pysty peruuttamaan.", + "list-delete-suggest-archive": "Voit siirtää listan Arkistoon poistaaksesi sen taululta ja säilyttääksesi toimintalokin.", + "lists": "Listat", + "swimlanes": "Swimlanet", + "log-out": "Kirjaudu ulos", + "log-in": "Kirjaudu sisään", + "loginPopup-title": "Kirjaudu sisään", + "memberMenuPopup-title": "Jäsenasetukset", + "members": "Jäsenet", + "menu": "Valikko", + "move-selection": "Siirrä valinta", + "moveCardPopup-title": "Siirrä kortti", + "moveCardToBottom-title": "Siirrä alimmaiseksi", + "moveCardToTop-title": "Siirrä ylimmäiseksi", + "moveSelectionPopup-title": "Siirrä valinta", + "multi-selection": "Monivalinta", + "multi-selection-on": "Monivalinta on päällä", + "muted": "Vaimennettu", + "muted-info": "Et saa koskaan ilmoituksia tämän taulun muutoksista", + "my-boards": "Tauluni", + "name": "Nimi", + "no-archived-cards": "Ei kortteja Arkistossa.", + "no-archived-lists": "Ei listoja Arkistossa.", + "no-archived-swimlanes": "Ei Swimlaneja Arkistossa.", + "no-results": "Ei tuloksia", + "normal": "Normaali", + "normal-desc": "Voi nähdä ja muokata kortteja. Ei voi muokata asetuksia.", + "not-accepted-yet": "Kutsua ei ole hyväksytty vielä", + "notify-participate": "Vastaanota päivityksiä kaikilta korteilta jotka olet tehnyt tai joihin osallistut.", + "notify-watch": "Vastaanota päivityksiä kaikilta tauluilta, listoilta tai korteilta joita seuraat.", + "optional": "valinnainen", + "or": "tai", + "page-maybe-private": "Tämä sivu voi olla yksityinen. Saatat nähdä sen kirjautumalla sisään.", + "page-not-found": "Sivua ei löytynyt.", + "password": "Salasana", + "paste-or-dragdrop": "liittääksesi, tai vedä & pudota kuvatiedosto siihen (vain kuva)", + "participating": "Osallistutaan", + "preview": "Esikatsele", + "previewAttachedImagePopup-title": "Esikatsele", + "previewClipboardImagePopup-title": "Esikatsele", + "private": "Yksityinen", + "private-desc": "Tämä taulu on yksityinen. Vain taululle lisätyt henkilöt voivat nähdä ja muokata sitä.", + "profile": "Profiili", + "public": "Julkinen", + "public-desc": "Tämä taulu on julkinen. Se näkyy kenelle tahansa jolla on linkki ja näkyy myös hakukoneissa kuten Google. Vain taululle lisätyt henkilöt voivat muokata sitä.", + "quick-access-description": "Merkkaa taulu tähdellä lisätäksesi pikavalinta tähän palkkiin.", + "remove-cover": "Poista kansi", + "remove-from-board": "Poista taululta", + "remove-label": "Poista nimilappu", + "listDeletePopup-title": "Poista lista?", + "remove-member": "Poista jäsen", + "remove-member-from-card": "Poista kortilta", + "remove-member-pop": "Poista __name__ (__username__) taululta __boardTitle__? Jäsen poistetaan kaikilta taulun korteilta. Heille lähetetään ilmoitus.", + "removeMemberPopup-title": "Poista jäsen?", + "rename": "Nimeä uudelleen", + "rename-board": "Nimeä taulu uudelleen", + "restore": "Palauta", + "save": "Tallenna", + "search": "Etsi", + "rules": "Säännöt", + "search-cards": "Etsi kortin/listan otsikoista, kuvauksista ja mukautetuista kentistä tällä taululla ", + "search-example": "Etsittävä teksti?", + "select-color": "Valitse väri", + "set-wip-limit-value": "Aseta tämän listan tehtävien enimmäismäärä", + "setWipLimitPopup-title": "Aseta WIP-raja", + "shortcut-assign-self": "Valitse itsesi nykyiselle kortille", + "shortcut-autocomplete-emoji": "Automaattinen täydennys emojille", + "shortcut-autocomplete-members": "Automaattinen täydennys jäsenille", + "shortcut-clear-filters": "Poista kaikki suodattimet", + "shortcut-close-dialog": "Sulje valintaikkuna", + "shortcut-filter-my-cards": "Suodata korttini", + "shortcut-show-shortcuts": "Tuo esiin tämä pikavalintalista", + "shortcut-toggle-filterbar": "Muokkaa suodatussivupalkin näkyvyyttä", + "shortcut-toggle-sidebar": "Muokkaa taulusivupalkin näkyvyyttä", + "show-cards-minimum-count": "Näytä korttien lukumäärä jos lista sisältää enemmän kuin", + "sidebar-open": "Avaa sivupalkki", + "sidebar-close": "Sulje sivupalkki", + "signupPopup-title": "Luo tili", + "star-board-title": "Klikkaa merkataksesi taulu tähdellä. Se tulee näkymään ylimpänä taululistallasi.", + "starred-boards": "Tähdellä merkatut taulut", + "starred-boards-description": "Tähdellä merkatut taulut näkyvät ylimpänä taululistallasi.", + "subscribe": "Tilaa", + "team": "Tiimi", + "this-board": "tämä taulu", + "this-card": "tämä kortti", + "spent-time-hours": "Käytetty aika (tuntia)", + "overtime-hours": "Ylityö (tuntia)", + "overtime": "Ylityö", + "has-overtime-cards": "Sisältää ylityökortteja", + "has-spenttime-cards": "Sisältää käytetty aika -kortteja", + "time": "Aika", + "title": "Otsikko", + "tracking": "Ilmoitukset", + "tracking-info": "Sinulle ilmoitetaan muutoksista korteissa joihin olet osallistunut luojana tai jäsenenä.", + "type": "Tyyppi", + "unassign-member": "Peru jäsenvalinta", + "unsaved-description": "Sinulla on tallentamaton kuvaus.", + "unwatch": "Lopeta seuraaminen", + "upload": "Lähetä", + "upload-avatar": "Lähetä profiilikuva", + "uploaded-avatar": "Profiilikuva lähetetty", + "username": "Käyttäjätunnus", + "view-it": "Näytä se", + "warn-list-archived": "varoitus: tämä kortti on Arkistossa olevassa listassa", + "watch": "Seuraa", + "watching": "Seurataan", + "watching-info": "Sinulle ilmoitetaan tämän taulun muutoksista", + "welcome-board": "Tervetuloa-taulu", + "welcome-swimlane": "Merkkipaalu 1", + "welcome-list1": "Perusasiat", + "welcome-list2": "Edistynyt", + "card-templates-swimlane": "Korttimallit", + "list-templates-swimlane": "Listamallit", + "board-templates-swimlane": "Taulumallit", + "what-to-do": "Mitä haluat tehdä?", + "wipLimitErrorPopup-title": "Virheellinen WIP-raja", + "wipLimitErrorPopup-dialog-pt1": "Tässä listassa olevien tehtävien määrä on korkeampi kuin asettamasi WIP-raja.", + "wipLimitErrorPopup-dialog-pt2": "Siirrä joitain tehtäviä pois tästä listasta tai määritä korkeampi WIP-raja.", + "admin-panel": "Hallintapaneeli", + "settings": "Asetukset", + "people": "Ihmiset", + "registration": "Rekisteröinti", + "disable-self-registration": "Poista käytöstä itserekisteröityminen", + "invite": "Kutsu", + "invite-people": "Kutsu ihmisiä", + "to-boards": "Taulu(i)lle", + "email-addresses": "Sähköpostiosoite", + "smtp-host-description": "SMTP-palvelimen osoite jolla sähköpostit lähetetään.", + "smtp-port-description": "STMP-palvelimesi käyttämä lähteville sähköposteille tarkoitettu portti.", + "smtp-tls-description": "Ota käyttöön TLS-tuki SMTP-palvelimelle", + "smtp-host": "SMTP-isäntä", + "smtp-port": "SMTP-portti", + "smtp-username": "Käyttäjätunnus", + "smtp-password": "Salasana", + "smtp-tls": "TLS-tuki", + "send-from": "Lähettäjä", + "send-smtp-test": "Lähetä testisähköposti itsellesi", + "invitation-code": "Kutsukoodi", + "email-invite-register-subject": "__inviter__ lähetti sinulle kutsun", + "email-invite-register-text": "Hei __user__,\n\n__inviter__ kutsuu sinut mukaan kanban-taulun käyttöön.\n\nOle hyvä ja seuraa alla olevaa linkkiä:\n__url__\n\nKutsukoodisi on: __icode__\n\nKiitos.", + "email-smtp-test-subject": "SMTP-testisähköposti", + "email-smtp-test-text": "Olet onnistuneesti lähettänyt sähköpostin", + "error-invitation-code-not-exist": "Kutsukoodia ei ole olemassa", + "error-notAuthorized": "Sinulla ei ole oikeutta tarkastella tätä sivua.", + "webhook-title": "Webkoukun nimi", + "webhook-token": "Token (Valinnainen autentikoinnissa)", + "outgoing-webhooks": "Lähtevät Webkoukut", + "bidirectional-webhooks": "Kaksisuuntaiset Webkoukut", + "outgoingWebhooksPopup-title": "Lähtevät Webkoukut", + "boardCardTitlePopup-title": "Kortin otsikkosuodatin", + "disable-webhook": "Poista käytöstä tämä Webkoukku", + "global-webhook": "Kaikenkattavat Webkoukut", + "new-outgoing-webhook": "Uusi lähtevä Webkoukku", + "no-name": "(Tuntematon)", + "Node_version": "Node-versio", + "Meteor_version": "Meteor-versio", + "MongoDB_version": "MongoDB-versio", + "MongoDB_storage_engine": "MongoDB tallennusmoottori", + "MongoDB_Oplog_enabled": "MongoDB Oplog käytössä", + "OS_Arch": "Käyttöjärjestelmän arkkitehtuuri", + "OS_Cpus": "Käyttöjärjestelmän CPU-määrä", + "OS_Freemem": "Käyttöjärjestelmän vapaa muisti", + "OS_Loadavg": "Käyttöjärjestelmän kuorman keskiarvo", + "OS_Platform": "Käyttöjärjestelmäalusta", + "OS_Release": "Käyttöjärjestelmän julkaisu", + "OS_Totalmem": "Käyttöjärjestelmän muistin kokonaismäärä", + "OS_Type": "Käyttöjärjestelmän tyyppi", + "OS_Uptime": "Käyttöjärjestelmä ollut käynnissä", + "days": "päivää", + "hours": "tuntia", + "minutes": "minuuttia", + "seconds": "sekuntia", + "show-field-on-card": "Näytä tämä kenttä kortilla", + "automatically-field-on-card": "Luo kenttä automaattisesti kaikille korteille", + "showLabel-field-on-card": "Näytä kentän nimilappu minikortilla", + "yes": "Kyllä", + "no": "Ei", + "accounts": "Tilit", + "accounts-allowEmailChange": "Salli sähköpostiosoitteen muuttaminen", + "accounts-allowUserNameChange": "Salli käyttäjätunnuksen muuttaminen", + "createdAt": "Luotu", + "verified": "Varmistettu", + "active": "Aktiivinen", + "card-received": "Vastaanotettu", + "card-received-on": "Vastaanotettu", + "card-end": "Loppuu", + "card-end-on": "Loppuu", + "editCardReceivedDatePopup-title": "Vaihda vastaanottamispäivää", + "editCardEndDatePopup-title": "Vaihda loppumispäivää", + "setCardColorPopup-title": "Aseta väri", + "setCardActionsColorPopup-title": "Valitse väri", + "setSwimlaneColorPopup-title": "Valitse väri", + "setListColorPopup-title": "Valitse väri", + "assigned-by": "Tehtävänantaja", + "requested-by": "Pyytäjä", + "board-delete-notice": "Poistaminen on lopullista. Menetät kaikki listat, kortit ja toimet tällä taululla.", + "delete-board-confirm-popup": "Kaikki listat, kortit, nimilaput ja toimet poistetaan ja et pysty palauttamaan taulun sisältöä. Tätä ei voi peruuttaa.", + "boardDeletePopup-title": "Poista taulu?", + "delete-board": "Poista taulu", + "default-subtasks-board": "Alitehtävät taululle __board__", + "default": "Oletus", + "queue": "Jono", + "subtask-settings": "Alitehtävä-asetukset", + "card-settings": "Kortin asetukset", + "boardSubtaskSettingsPopup-title": "Taulualitehtävien asetukset", + "boardCardSettingsPopup-title": "Kortin asetukset", + "deposit-subtasks-board": "Talleta alitehtävät tälle taululle:", + "deposit-subtasks-list": "Laskeutumislista alatehtäville tallennettu tänne:", + "show-parent-in-minicard": "Näytä ylätehtävä minikortilla:", + "prefix-with-full-path": "Etuliite koko polulla", + "prefix-with-parent": "Etuliite ylätehtävällä", + "subtext-with-full-path": "Aliteksti koko polulla", + "subtext-with-parent": "Aliteksti ylätehtävällä", + "change-card-parent": "Muuta kortin ylätehtävää", + "parent-card": "Ylätehtäväkortti", + "source-board": "Lähdetaulu", + "no-parent": "Älä näytä ylätehtävää", + "activity-added-label": "lisätty nimilappu '%s' kohteeseen %s", + "activity-removed-label": "poistettu nimilappu '%s' kohteesta %s", + "activity-delete-attach": "poistettu liitetiedosto kohteesta %s", + "activity-added-label-card": "lisätty nimilappu '%s'", + "activity-removed-label-card": "poistettu nimilappu '%s'", + "activity-delete-attach-card": "poistettu liitetiedosto", + "activity-set-customfield": "asetettu mukautettu kentän '%s' sisällöksi '%s' kortilla %s", + "activity-unset-customfield": "poistettu mukautettu kenttä '%s' kortilla %s", + "r-rule": "Sääntö", + "r-add-trigger": "Lisää liipaisin", + "r-add-action": "Lisää toimi", + "r-board-rules": "Taulusäännöt", + "r-add-rule": "Lisää sääntö", + "r-view-rule": "Näytä sääntö", + "r-delete-rule": "Poista sääntö", + "r-new-rule-name": "Uuden säännön otsikko", + "r-no-rules": "Ei sääntöjä", + "r-trigger": "Liipaisin", + "r-action": "Toimi", + "r-when-a-card": "Kun kortti", + "r-is": "on", + "r-is-moved": "on siirretty", + "r-added-to": "Lisätty kohteeseen", + "r-removed-from": "Poistettu kohteesta", + "r-the-board": "taulu", + "r-list": "lista", + "set-filter": "Aseta suodatin", + "r-moved-to": "Siirretty kohteeseen", + "r-moved-from": "Siirretty kohteesta", + "r-archived": "Siirretty Arkistoon", + "r-unarchived": "Palautettu Arkistosta", + "r-a-card": "kortti", + "r-when-a-label-is": "Kun nimilappu on", + "r-when-the-label": "Kun nimilappu on", + "r-list-name": "listan nimi", + "r-when-a-member": "Kun jäsen on", + "r-when-the-member": "Kun käyttäjä", + "r-name": "nimi", + "r-when-a-attach": "Kun liitetiedosto", + "r-when-a-checklist": "Kun tarkistuslista on", + "r-when-the-checklist": "Kun tarkistuslista", + "r-completed": "Valmistunut", + "r-made-incomplete": "Tehty ei valmistuneeksi", + "r-when-a-item": "Kun tarkistuslistan kohta on", + "r-when-the-item": "Kun tarkistuslistan kohta", + "r-checked": "Ruksattu", + "r-unchecked": "Poistettu ruksi", + "r-move-card-to": "Siirrä kortti kohteeseen", + "r-top-of": "Ylimmäiseksi", + "r-bottom-of": "Alimmaiseksi", + "r-its-list": "sen lista", + "r-archive": "Siirrä Arkistoon", + "r-unarchive": "Palauta Arkistosta", + "r-card": "kortti", + "r-add": "Lisää", + "r-remove": "Poista", + "r-label": "nimilappu", + "r-member": "jäsen", + "r-remove-all": "Poista kaikki jäsenet kortilta", + "r-set-color": "Aseta väriksi", + "r-checklist": "tarkistuslista", + "r-check-all": "Ruksaa kaikki", + "r-uncheck-all": "Poista ruksi kaikista", + "r-items-check": "kohtaa tarkistuslistassa", + "r-check": "Ruksaa", + "r-uncheck": "Poista ruksi", + "r-item": "kohta", + "r-of-checklist": "tarkistuslistasta", + "r-send-email": "Lähetä sähköposti", + "r-to": "vastaanottajalle", + "r-of": "/", + "r-subject": "aihe", + "r-rule-details": "Säännön yksityiskohdat", + "r-d-move-to-top-gen": "Siirrä kortti listansa alkuun", + "r-d-move-to-top-spec": "Siirrä kortti listan alkuun", + "r-d-move-to-bottom-gen": "Siirrä kortti listansa loppuun", + "r-d-move-to-bottom-spec": "Siirrä kortti listan loppuun", + "r-d-send-email": "Lähetä sähköposti", + "r-d-send-email-to": "vastaanottajalle", + "r-d-send-email-subject": "aihe", + "r-d-send-email-message": "viesti", + "r-d-archive": "Siirrä kortti Arkistoon", + "r-d-unarchive": "Palauta kortti Arkistosta", + "r-d-add-label": "Lisää nimilappu", + "r-d-remove-label": "Poista nimilappu", + "r-create-card": "Luo uusi kortti", + "r-in-list": "listassa", + "r-in-swimlane": "swimlanessa", + "r-d-add-member": "Lisää jäsen", + "r-d-remove-member": "Poista jäsen", + "r-d-remove-all-member": "Poista kaikki jäsenet", + "r-d-check-all": "Ruksaa kaikki listan kohdat", + "r-d-uncheck-all": "Poista ruksi kaikista listan kohdista", + "r-d-check-one": "Ruksaa kohta", + "r-d-uncheck-one": "Poista ruksi kohdasta", + "r-d-check-of-list": "tarkistuslistasta", + "r-d-add-checklist": "Lisää tarkistuslista", + "r-d-remove-checklist": "Poista tarkistuslista", + "r-by": "mennessä", + "r-add-checklist": "Lisää tarkistuslista", + "r-with-items": "kohteiden kanssa", + "r-items-list": "kohde1,kohde2,kohde3", + "r-add-swimlane": "Lisää swimlane", + "r-swimlane-name": "swimlanen nimi", + "r-board-note": "Huom: jätä kenttä tyhjäksi täsmätäksesi jokaiseen mahdolliseen arvoon.", + "r-checklist-note": "Huom: tarkistuslistan kohteet täytyy kirjoittaa pilkulla eroteltuina.", + "r-when-a-card-is-moved": "Kun kortti on siirretty toiseen listaan", + "r-set": "Aseta", + "r-update": "Päivitä", + "r-datefield": "päivämäärä kenttä", + "r-df-start-at": "alkaa", + "r-df-due-at": "erääntyy", + "r-df-end-at": "loppuu", + "r-df-received-at": "vastaanotettu", + "r-to-current-datetime": "nykyiseen päivään/aikaan", + "r-remove-value-from": "Poista arvo kohteesta", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Kirjautumistapa", + "authentication-type": "Kirjautumistyyppi", + "custom-product-name": "Mukautettu tuotenimi", + "layout": "Ulkoasu", + "hide-logo": "Piilota Logo", + "add-custom-html-after-body-start": "Lisää HTML alun jälkeen", + "add-custom-html-before-body-end": "Lisä HTML ennen loppua", + "error-undefined": "Jotain meni pieleen", + "error-ldap-login": "Virhe tapahtui yrittäessä kirjautua sisään", + "display-authentication-method": "Näytä kirjautumistapa", + "default-authentication-method": "Oletuskirjautumistapa", + "duplicate-board": "Tee kaksoiskappale taulusta", + "people-number": "Ihmisten määrä on:", + "swimlaneDeletePopup-title": "Poista Swimlane?", + "swimlane-delete-pop": "Kaikki toimet poistetaan toimintasyötteestä ja swimlanen poistaminen on lopullista. Tätä ei pysty peruuttamaan.", + "restore-all": "Palauta kaikki", + "delete-all": "Poista kaikki", + "loading": "Ladataan, odota hetki.", + "previous_as": "viimeksi oli", + "act-a-dueAt": "muokattu eräätymisaikaa \nMilloin: __timeValue__\nMissä: __card__\n edellinen erääntymisaika oli __timeOldValue__", + "act-a-endAt": "muokattu loppumisajaksi __timeValue__ alkuperäisestä (__timeOldValue__)", + "act-a-startAt": "muokattu aloitusajaksi __timeValue__ alkuperäisestä (__timeOldValue__)", + "act-a-receivedAt": "muutettu vastaanottamisajaksi __timeValue__ alkuperäisestä (__timeOldValue__)", + "a-dueAt": "muutettu vastaanottamisajaksi", + "a-endAt": "muokattu loppumisajaksi", + "a-startAt": "muokattu aloitusajaksi", + "a-receivedAt": "muokattu vastaanottamisajaksi", + "almostdue": "nykyinen eräaika %s lähestyy", + "pastdue": "nykyinen eräaika %s on mennyt", + "duenow": "nykyinen eräaika %s on tänään", + "act-newDue": "__list__/__card__ on 1. erääntymismuistutus [__board__]", + "act-withDue": "__list__/__card__ erääntymismuistutukset [__board__]", + "act-almostdue": "muistutti nykyisen eräajan (__timeValue__) kortilla __card__ lähestyvän", + "act-pastdue": "muistutti nykyisen eräajan (__timeValue__) kortilla __card__ menneen", + "act-duenow": "muistutti nykyisen eräajan (__timeValue__) kortilla __card__ olevan nyt", + "act-atUserComment": "Sinut mainittiin [__board__] __list__/__card__", + "delete-user-confirm-popup": "Haluatko varmasti poistaa tämän käyttäjätilin? Tätä ei voi peruuttaa.", + "accounts-allowUserDelete": "Salli käyttäjien poistaa tilinsä itse", + "hide-minicard-label-text": "Piilota minikortin nimilappu teksti", + "show-desktop-drag-handles": "Näytä työpöydän vedon kahvat", + "assignee": "Käsittelijä", + "cardAssigneesPopup-title": "Käsittelijä", + "addmore-detail": "Lisää tarkempi kuvaus", + "show-on-card": "Näytä kortilla", + "new": "Uusi", + "editUserPopup-title": "Muokkaa käyttäjää", + "newUserPopup-title": "Uusi käyttäjä", + "notifications": "Ilmoitukset", + "view-all": "Näytä kaikki", + "filter-by-unread": "Suodata lukemattomat", + "mark-all-as-read": "Merkkaa kaikki luetuksi", + "remove-all-read": "Poista kaikki luetut", + "allow-rename": "Salli uudelleennimeäminen", + "allowRenamePopup-title": "Salli uudelleennimeäminen", + "start-day-of-week": "Aseta viikon alkamispäivä", + "monday": "Maanantai", + "tuesday": "Tiistai", + "wednesday": "Keskiviikko", + "thursday": "Torstai", + "friday": "Perjantai", + "saturday": "Lauantai", + "sunday": "Sunnuntai", + "status": "Tilanne", + "swimlane": "Swimlane", + "owner": "Omistaja", + "last-modified-at": "Viimeksi muokattu", + "last-activity": "Viimeisin toiminta", + "voting": "Äänestys", + "archived": "Arkistoitu", + "delete-linked-card-before-this-card": "Et voi poistaa tätä korttia ennenkuin ensin poistat linkitetyn kortin jolla on", + "delete-linked-cards-before-this-list": "Et voi poistaa tätä listaa ennenkuin poistat linkitetyt kortit jotka osoittavat kortteihin tässä listassa", + "hide-checked-items": "Piilota ruksatut kohdat" +} \ No newline at end of file diff --git a/i18n/fr.i18n.json b/i18n/fr.i18n.json new file mode 100644 index 0000000..cb3adb0 --- /dev/null +++ b/i18n/fr.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Accepter", + "act-activity-notify": "Notification d'activité", + "act-addAttachment": "a ajouté la pièce jointe __attachment__ à la carte __card__ de la liste __list__ du couloir __swimlane__ du tableau __board__", + "act-deleteAttachment": "a supprimé la pièce jointe __attachment__ de la carte __card__ de la liste __list__ du couloir __swimlane__ du tableau __board__", + "act-addSubtask": "a ajouté la sous-tâche __checklist__ à la carte __card__ de la liste __list__ du couloir __swimlane__ du tableau __board__", + "act-addLabel": "a ajouté l'étiquette __label__ à la carte __card__ de la liste __list__ du couloir __swimlane__ du tableau __board__", + "act-addedLabel": "a ajouté l'étiquette __label__ à la carte __card__ de la liste __list__ du couloir __swimlane__ du tableau __board__", + "act-removeLabel": "a enlevé l'étiquette __label__ de la carte __card__ de la liste __list__ du couloir __swimlane__ du tableau __board__", + "act-removedLabel": "a enlevé l'étiquette __label__ de la carte __card__ de la liste __list__ du couloir __swimlane__ du tableau __board__", + "act-addChecklist": "a ajouté la checklist __checklist__ à la carte __card__ de la liste __list__ du couloir __swimlane__ du tableau __board__", + "act-addChecklistItem": "a ajouté l'élément __checklistItem__ à la checklist __checklist__ de la carte __card__ de la liste __list__ du couloir __swimlane__ du tableau __board__", + "act-removeChecklist": "a supprimé la checklist __checklist__ de la carte __card__ de la liste __list__ du couloir __swimlane__ du tableau __board__", + "act-removeChecklistItem": "a supprimé l'élément __checklistItem__ de la checklist __checklist__ de la carte __card__ de la liste __list__ du couloir __swimlane__ du tableau __board__", + "act-checkedItem": "a coché __checklistItem__ de la checklist __checklist__ de la carte __card__ de la liste __list__ du couloir __swimlane__ du tableau __board__", + "act-uncheckedItem": "a décoché __checklistItem__ de la checklist __checklist__ de la carte __card__ de la liste __list__ du couloir __swimlane__ du tableau __board__", + "act-completeChecklist": "a complété la checklist __checklist__ de la carte __card__ de la liste __list__ du couloir __swimlane__ du tableau __board__", + "act-uncompleteChecklist": "a rendu incomplet la checklist __checklist__ de la carte __card__ de la liste __list__ du couloir __swimlane__ du tableau __board__", + "act-addComment": "a commenté la carte __card__ : __comment__ dans la liste __list__ du couloir __swimlane__ du tableau __board__", + "act-editComment": "a édité le commentaire de la carte __card__ : __comment__ de la liste __list__ du couloir __swimlane__ du tableau __board__", + "act-deleteComment": "a supprimé le commentaire de la carte __card__ : __comment__ de la liste __list__ du couloir __swimlane__ du tableau __board__", + "act-createBoard": "a créé le tableau __board__", + "act-createSwimlane": "a créé le couloir __swimlane__ dans le tableau __board__", + "act-createCard": "a créé la carte __card__ de la liste __list__ du couloir __swimlane__ du tableau __board__", + "act-createCustomField": "a créé le champ personnalisé __customField__ du tableau __board__", + "act-deleteCustomField": "a supprimé le champ personnalisé __customField__ du tableau __board__", + "act-setCustomField": "a édité le champ personnalisé __customField__ : __customFieldValue de la carte __card__ de la liste __list__ du couloir __swimlane__ du tableau __board__", + "act-createList": "a ajouté la liste __list__ au tableau __board__", + "act-addBoardMember": "a ajouté le participant __member__ au tableau __board__", + "act-archivedBoard": "Le tableau __board__ a été déplacé vers les archives", + "act-archivedCard": "Carte __card__ de la liste __list__ du couloir __swimlane__ du tableau __board__ archivée", + "act-archivedList": "Liste __list__ du couloir __swimlane__ du tableau __board__ archivée", + "act-archivedSwimlane": "Couloir __swimlane__ du tableau __board__ archivé", + "act-importBoard": "a importé le tableau __board__", + "act-importCard": "a importé la carte __card__ de la liste __list__ du couloir __swimlane__ du tableau __board__", + "act-importList": "a importé la liste __list__ du couloir __swimlane__ du tableau __board__", + "act-joinMember": "a ajouté le participant __member__ à la carte __card__ de la liste __list__ du couloir __swimlane__ du tableau __board__", + "act-moveCard": "a déplacé la carte __card__ du tableau __board__ de la liste __oldList__ du couloir __oldSwimlane__ vers la liste __list__ du couloir __swimlane__", + "act-moveCardToOtherBoard": "a déplacé la carte __card__ de la liste __oldList__ du couloir __oldSwimlane__ du tableau __oldBoard__ vers la liste __list__ du couloir __swimlane__ du tableau __board__", + "act-removeBoardMember": "a supprimé le participant __member__ du tableau __board__", + "act-restoredCard": "a restauré la carte __card__ de la liste __list__ du couloir __swimlane__ du tableau __board__", + "act-unjoinMember": "a supprimé le participant __member__ de la carte __card__ de la liste __list__ du couloir __swimlane__ du tableau __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Actions", + "activities": "Activités", + "activity": "Activité", + "activity-added": "a ajouté %s à %s", + "activity-archived": "%s a été archivé", + "activity-attached": "a attaché %s à %s", + "activity-created": "a créé %s", + "activity-customfield-created": "a créé le champ personnalisé %s", + "activity-excluded": "a exclu %s de %s", + "activity-imported": "a importé %s vers %s depuis %s", + "activity-imported-board": "a importé %s depuis %s", + "activity-joined": "a rejoint %s", + "activity-moved": "a déplacé %s de %s vers %s", + "activity-on": "sur %s", + "activity-removed": "a supprimé %s de %s", + "activity-sent": "a envoyé %s vers %s", + "activity-unjoined": "a quitté %s", + "activity-subtask-added": "a ajouté une sous-tâche à %s", + "activity-checked-item": "a coché %s dans la checklist %s de %s", + "activity-unchecked-item": "a décoché %s dans la checklist %s de %s", + "activity-checklist-added": "a ajouté une checklist à %s", + "activity-checklist-removed": "a supprimé une checklist de %s", + "activity-checklist-completed": "a complété la checklist %s de %s", + "activity-checklist-uncompleted": "a rendu incomplète la checklist %s de %s", + "activity-checklist-item-added": "a ajouté un élément à la checklist '%s' dans %s", + "activity-checklist-item-removed": "a supprimé une checklist de '%s' dans %s", + "add": "Ajouter", + "activity-checked-item-card": "a coché %s dans la checklist %s", + "activity-unchecked-item-card": "a décoché %s dans la checklist %s", + "activity-checklist-completed-card": "a complété la checklist __checklist__ de la carte __card__ de la liste __list__ du couloir __swimlane__ du tableau __board__", + "activity-checklist-uncompleted-card": "a rendu incomplète la checklist %s", + "activity-editComment": "commentaire modifié %s", + "activity-deleteComment": "commentaire supprimé %s", + "add-attachment": "Ajouter une pièce jointe", + "add-board": "Ajouter un tableau", + "add-card": "Ajouter une carte", + "add-swimlane": "Ajouter un couloir", + "add-subtask": "Ajouter une sous-tâche", + "add-checklist": "Ajouter une checklist", + "add-checklist-item": "Ajouter un élément à la checklist", + "add-cover": "Ajouter la couverture", + "add-label": "Ajouter une étiquette", + "add-list": "Ajouter une liste", + "add-members": "Assigner des participants", + "added": "Ajouté le", + "addMemberPopup-title": "Participants", + "admin": "Admin", + "admin-desc": "Peut voir et éditer les cartes, supprimer des participants et changer les paramètres du tableau.", + "admin-announcement": "Annonce", + "admin-announcement-active": "Annonce destinée à tous", + "admin-announcement-title": "Annonce de l'administrateur", + "all-boards": "Tous les tableaux", + "and-n-other-card": "Et __count__ autre carte", + "and-n-other-card_plural": "Et __count__ autres cartes", + "apply": "Appliquer", + "app-is-offline": "Chargement en cours, veuillez patienter. Vous risquez de perdre des données si vous rechargez la page. Si le chargement échoue, veuillez vérifier que le serveur n'est pas arrêté.", + "archive": "Archiver", + "archive-all": "Tout archiver", + "archive-board": "Archiver le tableau", + "archive-card": "Archiver la carte", + "archive-list": "Archiver la liste", + "archive-swimlane": "Archiver le couloir", + "archive-selection": "Archiver la sélection", + "archiveBoardPopup-title": "Archiver le tableau ?", + "archived-items": "Archives", + "archived-boards": "Tableaux archivés", + "restore-board": "Restaurer le tableau", + "no-archived-boards": "Aucun tableau archivé.", + "archives": "Archives", + "template": "Modèle", + "templates": "Modèles", + "assign-member": "Affecter un participant", + "attached": "joint", + "attachment": "Pièce jointe", + "attachment-delete-pop": "La suppression d'une pièce jointe est définitive. Elle ne peut être annulée.", + "attachmentDeletePopup-title": "Supprimer la pièce jointe ?", + "attachments": "Pièces jointes", + "auto-watch": "Surveiller automatiquement les tableaux quand ils sont créés", + "avatar-too-big": "La taille du fichier de l'avatar est trop importante (70 ko au maximum)", + "back": "Retour", + "board-change-color": "Changer la couleur", + "board-nb-stars": "%s étoiles", + "board-not-found": "Tableau non trouvé", + "board-private-info": "Ce tableau sera privé", + "board-public-info": "Ce tableau sera public.", + "boardChangeColorPopup-title": "Change la couleur de fond du tableau", + "boardChangeTitlePopup-title": "Renommer le tableau", + "boardChangeVisibilityPopup-title": "Changer la visibilité", + "boardChangeWatchPopup-title": "Modifier le suivi", + "boardMenuPopup-title": "Paramètres du tableau", + "boardChangeViewPopup-title": "Vue du tableau", + "boards": "Tableaux", + "board-view": "Vue du tableau", + "board-view-cal": "Calendrier", + "board-view-swimlanes": "Couloirs", + "board-view-collapse": "Diminuer", + "board-view-lists": "Listes", + "bucket-example": "Comme « todo list » par exemple", + "cancel": "Annuler", + "card-archived": "Cette carte est archivée", + "board-archived": "Ce tableau est archivé", + "card-comments-title": "Cette carte a %s commentaires.", + "card-delete-notice": "La suppression est permanente. Vous perdrez toutes les actions associées à cette carte.", + "card-delete-pop": "Toutes les actions vont être supprimées du suivi d'activités et vous ne pourrez plus utiliser cette carte. Cette action est irréversible.", + "card-delete-suggest-archive": "Vous pouvez déplacer une carte vers les archives afin de l'enlever du tableau tout en préservant l'activité.", + "card-due": "À échéance", + "card-due-on": "Échéance le", + "card-spent": "Temps passé", + "card-edit-attachments": "Modifier les pièces jointes", + "card-edit-custom-fields": "Éditer les champs personnalisés", + "card-edit-labels": "Gérer les étiquettes", + "card-edit-members": "Gérer les participants", + "card-labels-title": "Modifier les étiquettes de la carte.", + "card-members-title": "Assigner ou supprimer des participants à la carte.", + "card-start": "Début", + "card-start-on": "Commence le", + "cardAttachmentsPopup-title": "Ajouter depuis", + "cardCustomField-datePopup-title": "Modifier la date", + "cardCustomFieldsPopup-title": "Éditer les champs personnalisés", + "cardStartVotingPopup-title": "Commencer un vote", + "positiveVoteMembersPopup-title": "Pour", + "negativeVoteMembersPopup-title": "Contre", + "card-edit-voting": "Éditer le vote", + "editVoteEndDatePopup-title": "Modifier la date de fin de vote", + "allowNonBoardMembers": "Autoriser tous les utilisateurs authentifiés", + "vote-question": "Question du vote", + "vote-public": "Montrer qui a voté quoi", + "vote-for-it": "pour", + "vote-against": "contre", + "deleteVotePopup-title": "Supprimer le vote ?", + "vote-delete-pop": "La suppression est permanente. Vous perdrez toute action associée à ce vote.", + "cardDeletePopup-title": "Supprimer la carte ?", + "cardDetailsActionsPopup-title": "Actions sur la carte", + "cardLabelsPopup-title": "Étiquettes", + "cardMembersPopup-title": "Participants", + "cardMorePopup-title": "Plus", + "cardTemplatePopup-title": "Créer un modèle", + "cards": "Cartes", + "cards-count": "Cartes", + "casSignIn": "Se connecter avec CAS", + "cardType-card": "Carte", + "cardType-linkedCard": "Carte liée", + "cardType-linkedBoard": "Tableau lié", + "change": "Modifier", + "change-avatar": "Modifier l'avatar", + "change-password": "Modifier le mot de passe", + "change-permissions": "Modifier les permissions", + "change-settings": "Modifier les paramètres", + "changeAvatarPopup-title": "Modifier l'avatar", + "changeLanguagePopup-title": "Modifier la langue", + "changePasswordPopup-title": "Modifier le mot de passe", + "changePermissionsPopup-title": "Modifier les permissions", + "changeSettingsPopup-title": "Modifier les paramètres", + "subtasks": "Sous-tâches", + "checklists": "Checklists", + "click-to-star": "Cliquez pour ajouter ce tableau aux favoris.", + "click-to-unstar": "Cliquez pour retirer ce tableau des favoris.", + "clipboard": "Presse-papier ou glisser-déposer", + "close": "Fermer", + "close-board": "Fermer le tableau", + "close-board-pop": "Vous pouvez restaurer le tableau en cliquant sur le bouton « Archives » depuis le menu en entête.", + "color-black": "noir", + "color-blue": "bleu", + "color-crimson": "rouge cramoisi", + "color-darkgreen": "vert foncé", + "color-gold": "or", + "color-gray": "gris", + "color-green": "vert", + "color-indigo": "indigo", + "color-lime": "citron vert", + "color-magenta": "magenta", + "color-mistyrose": "rose brumeux", + "color-navy": "bleu marin", + "color-orange": "orange", + "color-paleturquoise": "azurin", + "color-peachpuff": "beige pêche", + "color-pink": "rose", + "color-plum": "prune", + "color-purple": "violet", + "color-red": "rouge", + "color-saddlebrown": "brun cuir", + "color-silver": "argent", + "color-sky": "ciel", + "color-slateblue": "bleu ardoise", + "color-white": "blanc", + "color-yellow": "jaune", + "unset-color": "Enlever", + "comment": "Commenter", + "comment-placeholder": "Écrire un commentaire", + "comment-only": "Commentaire uniquement", + "comment-only-desc": "Ne peut que commenter des cartes.", + "no-comments": "Aucun commentaire", + "no-comments-desc": "Ne peut pas voir les commentaires et les activités.", + "worker": "Travailleur", + "worker-desc": "Peut seulement déplacer des cartes, s'assigner à une carte et la commenter.", + "computer": "Ordinateur", + "confirm-subtask-delete-dialog": "Êtes-vous sûr de vouloir supprimer la sous-tâche ?", + "confirm-checklist-delete-dialog": "Êtes-vous sûr de vouloir supprimer la checklist ?", + "copy-card-link-to-clipboard": "Copier le lien vers la carte dans le presse-papier", + "linkCardPopup-title": "Lier une Carte", + "searchElementPopup-title": "Chercher", + "copyCardPopup-title": "Copier la carte", + "copyChecklistToManyCardsPopup-title": "Copier le modèle de checklist vers plusieurs cartes", + "copyChecklistToManyCardsPopup-instructions": "Titres et descriptions des cartes de destination dans ce format JSON", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"Titre de la première carte\", \"description\":\"Description de la première carte\"}, {\"title\":\"Titre de la seconde carte\",\"description\":\"Description de la seconde carte\"},{\"title\":\"Titre de la dernière carte\",\"description\":\"Description de la dernière carte\"} ]", + "create": "Créer", + "createBoardPopup-title": "Créer un tableau", + "chooseBoardSourcePopup-title": "Importer un tableau", + "createLabelPopup-title": "Créer une étiquette", + "createCustomField": "Créer un champ personnalisé", + "createCustomFieldPopup-title": "Créer un champ personnalisé", + "current": "actuel", + "custom-field-delete-pop": "Cette action n'est pas réversible. Elle supprimera ce champ personnalisé de toutes les cartes et détruira son historique.", + "custom-field-checkbox": "Case à cocher", + "custom-field-currency": "Devise", + "custom-field-currency-option": "Code devise", + "custom-field-date": "Date", + "custom-field-dropdown": "Liste de choix", + "custom-field-dropdown-none": "(aucun)", + "custom-field-dropdown-options": "Options de liste", + "custom-field-dropdown-options-placeholder": "Appuyez sur Entrée pour ajouter d'autres options", + "custom-field-dropdown-unknown": "(inconnu)", + "custom-field-number": "Nombre", + "custom-field-text": "Texte", + "custom-fields": "Champs personnalisés", + "date": "Date", + "decline": "Refuser", + "default-avatar": "Avatar par défaut", + "delete": "Supprimer", + "deleteCustomFieldPopup-title": "Supprimer le champ personnalisé ?", + "deleteLabelPopup-title": "Supprimer l'étiquette ?", + "description": "Description", + "disambiguateMultiLabelPopup-title": "Préciser l'action sur l'étiquette", + "disambiguateMultiMemberPopup-title": "Préciser l'action sur le participant", + "discard": "Mettre à la corbeille", + "done": "Fait", + "download": "Télécharger", + "edit": "Modifier", + "edit-avatar": "Modifier l'avatar", + "edit-profile": "Modifier le profil", + "edit-wip-limit": "Éditer la limite WIP", + "soft-wip-limit": "Limite WIP douce", + "editCardStartDatePopup-title": "Modifier la date de début", + "editCardDueDatePopup-title": "Modifier la date d'échéance", + "editCustomFieldPopup-title": "Éditer le champ personnalisé", + "editCardSpentTimePopup-title": "Modifier le temps passé", + "editLabelPopup-title": "Modifier l'étiquette", + "editNotificationPopup-title": "Modifier la notification", + "editProfilePopup-title": "Modifier le profil", + "email": "E-mail", + "email-enrollAccount-subject": "Un compte a été créé pour vous sur __siteName__", + "email-enrollAccount-text": "Bonjour __user__,\n\nPour commencer à utiliser ce service, il suffit de cliquer sur le lien ci-dessous.\n\n__url__\n\nMerci.", + "email-fail": "Échec de l'envoi du courriel.", + "email-fail-text": "Une erreur est survenue en tentant d'envoyer l'email", + "email-invalid": "Adresse e-mail incorrecte.", + "email-invite": "Inviter par e-mail", + "email-invite-subject": "__inviter__ vous a envoyé une invitation", + "email-invite-text": "Cher __user__,\n\n__inviter__ vous invite à rejoindre le tableau \"__board__\" pour collaborer.\n\nVeuillez suivre le lien ci-dessous :\n\n__url__\n\nMerci.", + "email-resetPassword-subject": "Réinitialiser votre mot de passe sur __siteName__", + "email-resetPassword-text": "Bonjour __user__,\n\nPour réinitialiser votre mot de passe, cliquez sur le lien ci-dessous.\n\n__url__\n\nMerci.", + "email-sent": "Courriel envoyé", + "email-verifyEmail-subject": "Vérifier votre adresse de courriel sur __siteName__", + "email-verifyEmail-text": "Bonjour __user__,\n\nPour vérifier votre compte courriel, il suffit de cliquer sur le lien ci-dessous.\n\n__url__\n\nMerci.", + "enable-wip-limit": "Activer la limite WIP", + "error-board-doesNotExist": "Ce tableau n'existe pas", + "error-board-notAdmin": "Vous devez être administrateur de ce tableau pour faire cela", + "error-board-notAMember": "Vous devez être participant de ce tableau pour faire cela", + "error-json-malformed": "Votre texte JSON n'est pas valide", + "error-json-schema": "Vos données JSON ne contiennent pas l'information appropriée dans un format correct", + "error-csv-schema": "Votre fichier CSV (valeurs séparées par des virgules) / TSV (valeurs séparées par des tabulations) ne contient pas d'informations au bon format", + "error-list-doesNotExist": "Cette liste n'existe pas", + "error-user-doesNotExist": "Cet utilisateur n'existe pas", + "error-user-notAllowSelf": "Vous ne pouvez pas vous inviter vous-même", + "error-user-notCreated": "Cet utilisateur n'a pas encore été créé", + "error-username-taken": "Ce nom d'utilisateur est déjà utilisé", + "error-email-taken": "Cette adresse mail est déjà utilisée", + "export-board": "Exporter le tableau", + "export-board-json": "Exporter le tableau en JSON", + "export-board-csv": "Exporter le tableau en CSV", + "export-board-tsv": "Exporter le tableau en TSV", + "export-board-html": "Exporter le tableau en HTML", + "exportBoardPopup-title": "Exporter le tableau", + "sort": "Tri", + "sort-desc": "Cliquez pour trier la liste", + "list-sort-by": "Trier la liste par:", + "list-label-modifiedAt": "Dernier accès", + "list-label-title": "Nom de liste", + "list-label-sort": "Votre manuel", + "list-label-short-modifiedAt": "(D)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Filtrer", + "filter-cards": "Filtrer les cartes ou listes", + "list-filter-label": "Filtrer la liste par titre", + "filter-clear": "Supprimer les filtres", + "filter-no-label": "Aucune étiquette", + "filter-no-member": "Aucun participant", + "filter-no-assignee": "Pas de personne assignée", + "filter-no-custom-fields": "Pas de champs personnalisés", + "filter-show-archive": "Montrer les listes archivées", + "filter-hide-empty": "Cacher les listes vides", + "filter-on": "Le filtre est actif", + "filter-on-desc": "Vous êtes en train de filtrer les cartes sur ce tableau. Cliquez ici pour modifier les filtres.", + "filter-to-selection": "Filtre vers la sélection", + "advanced-filter-label": "Filtre avancé", + "advanced-filter-description": "Le filtre avancé permet d'écrire une chaîne contenant les opérateur suivants : == != <= >= && || ( ). Les opérateurs doivent être séparés par des espaces. Vous pouvez filtrer tous les champs personnalisés en saisissant leur nom et leur valeur. Par exemple : champ1 == valeur1. Remarque : si des champs ou valeurs contiennent des espaces, vous devez les mettre entre apostrophes. Par exemple : 'champ 1' = 'valeur 1'. Pour échapper un caractère de contrôle (' \\/), vous pouvez utiliser \\. Par exemple : champ1 = I\\'m. Il est également possible de combiner plusieurs conditions. Par exemple : f1 == v1 || f2 == v2. Normalement, tous les opérateurs sont interprétés de gauche à droite. Vous pouvez changer l'ordre à l'aide de parenthèses. Par exemple : f1 == v1 and (f2 == v2 || f2 == v3). Vous pouvez également chercher parmi les champs texte en utilisant des expressions régulières : f1 == /Test.*/i", + "fullname": "Nom complet", + "header-logo-title": "Retourner à la page des tableaux", + "hide-system-messages": "Masquer les messages système", + "headerBarCreateBoardPopup-title": "Créer un tableau", + "home": "Accueil", + "import": "Importer", + "link": "Lien", + "import-board": "importer un tableau", + "import-board-c": "Importer un tableau", + "import-board-title-trello": "Importer un tableau depuis Trello", + "import-board-title-wekan": "Importer un tableau depuis un export précédent", + "import-board-title-csv": "Importer un tableau depuis CSV/TSV", + "from-trello": "Depuis Trello", + "from-wekan": "Depuis un export précédent", + "from-csv": "Depuis CSV/TSV", + "import-board-instruction-trello": "Dans votre tableau Trello, allez sur 'Menu', puis sur 'Plus', 'Imprimer et exporter', 'Exporter en JSON' et copiez le texte du résultat", + "import-board-instruction-csv": "Déposez vos données en CSV (valeurs séparées par des virgules) ou TSV (valeurs séparées par des tabulations).", + "import-board-instruction-wekan": "Dans votre tableau, allez dans 'Menu', puis 'Exporter un tableau', et copier le texte du fichier téléchargé.", + "import-board-instruction-about-errors": "Si une erreur survient en important le tableau, il se peut que l'import ait fonctionné, et que le tableau se trouve sur la page \"Tous les tableaux\".", + "import-json-placeholder": "Collez ici les données JSON valides", + "import-csv-placeholder": "Déposez ici vos données valides CSV/TSV", + "import-map-members": "Assigner des participants", + "import-members-map": "Le tableau que vous venez d'importer contient des participants. Veuillez assigner les participants que vous souhaitez importer à vos utilisateurs.", + "import-show-user-mapping": "Contrôler l'assignation des participants", + "import-user-select": "Sélectionnez l'utilisateur existant que vous voulez associer à ce participant", + "importMapMembersAddPopup-title": "Sélectionner le participant", + "info": "Version", + "initials": "Initiales", + "invalid-date": "Date invalide", + "invalid-time": "Heure invalide", + "invalid-user": "Utilisateur invalide", + "joined": "a rejoint", + "just-invited": "Vous venez d'être invité à ce tableau", + "keyboard-shortcuts": "Raccourcis clavier", + "label-create": "Créer une étiquette", + "label-default": "étiquette %s (défaut)", + "label-delete-pop": "Cette action est irréversible. Elle supprimera cette étiquette de toutes les cartes ainsi que l'historique associé.", + "labels": "Étiquettes", + "language": "Langue", + "last-admin-desc": "Vous ne pouvez pas changer les rôles car il doit y avoir au moins un administrateur.", + "leave-board": "Quitter le tableau", + "leave-board-pop": "Êtes-vous sur de vouloir quitter __boardTitle__ ? Vous ne serez plus associé aux cartes de ce tableau.", + "leaveBoardPopup-title": "Quitter le tableau", + "link-card": "Lier à cette carte", + "list-archive-cards": "Déplacer toutes les cartes de cette liste vers les archives", + "list-archive-cards-pop": "Cela supprimera du tableau toutes les cartes de cette liste. Pour voir les cartes archivées et les renvoyer vers le tableau, cliquez sur « Menu » puis « Archives ».", + "list-move-cards": "Déplacer toutes les cartes de cette liste", + "list-select-cards": "Sélectionner toutes les cartes de cette liste", + "set-color-list": "Définir la couleur", + "listActionPopup-title": "Actions sur la liste", + "swimlaneActionPopup-title": "Actions du couloir", + "swimlaneAddPopup-title": "Ajouter un couloir en dessous", + "listImportCardPopup-title": "Importer une carte Trello", + "listImportCardsTsvPopup-title": "Importer un fichier Excel CSV/TSV", + "listMorePopup-title": "Plus", + "link-list": "Lien vers cette liste", + "list-delete-pop": "Toutes les actions seront supprimées du fil d'activité et il ne sera plus possible de les récupérer. Cette action est irréversible.", + "list-delete-suggest-archive": "Vous pouvez archiver une liste pour l'enlever du tableau tout en conservant son activité.", + "lists": "Listes", + "swimlanes": "Couloirs", + "log-out": "Déconnexion", + "log-in": "Connexion", + "loginPopup-title": "Connexion", + "memberMenuPopup-title": "Préférence du participant", + "members": "Participants", + "menu": "Menu", + "move-selection": "Déplacer la sélection", + "moveCardPopup-title": "Déplacer la carte", + "moveCardToBottom-title": "Déplacer tout en bas", + "moveCardToTop-title": "Déplacer tout en haut", + "moveSelectionPopup-title": "Déplacer la sélection", + "multi-selection": "Sélection multiple", + "multi-selection-on": "Multi-Selection active", + "muted": "Silencieux", + "muted-info": "Vous ne serez jamais averti des modifications effectuées dans ce tableau", + "my-boards": "Mes tableaux", + "name": "Nom", + "no-archived-cards": "Aucune carte archivée.", + "no-archived-lists": "Aucune liste archivée.", + "no-archived-swimlanes": "Aucun couloir archivé.", + "no-results": "Pas de résultats", + "normal": "Normal", + "normal-desc": "Peut voir et modifier les cartes. Ne peut pas changer les paramètres.", + "not-accepted-yet": "L'invitation n'a pas encore été acceptée", + "notify-participate": "Recevoir les mises à jour de toutes les cartes auxquelles vous participez en tant que créateur ou que participant", + "notify-watch": "Recevoir les mises à jour de tous les tableaux, listes ou cartes que vous suivez", + "optional": "optionnel", + "or": "ou", + "page-maybe-private": "Cette page est peut-être privée. Vous pourrez peut-être la voir en vous connectant.", + "page-not-found": "Page non trouvée", + "password": "Mot de passe", + "paste-or-dragdrop": "pour coller, ou glissez-déposez une image ici (seulement une image)", + "participating": "Participant", + "preview": "Prévisualiser", + "previewAttachedImagePopup-title": "Prévisualiser", + "previewClipboardImagePopup-title": "Prévisualiser", + "private": "Privé", + "private-desc": "Ce tableau est privé. Seuls les membres peuvent y accéder et le modifier.", + "profile": "Profil", + "public": "Public", + "public-desc": "Ce tableau est public. Il est accessible par toutes les personnes disposant du lien et apparaîtra dans les résultats des moteurs de recherche tels que Google. Seuls les membres peuvent le modifier.", + "quick-access-description": "Ajouter un tableau à vos favoris pour créer un raccourci dans cette barre.", + "remove-cover": "Enlever la page de présentation", + "remove-from-board": "Retirer du tableau", + "remove-label": "Retirer l'étiquette", + "listDeletePopup-title": "Supprimer la liste ?", + "remove-member": "Supprimer le participant", + "remove-member-from-card": "Supprimer de la carte", + "remove-member-pop": "Supprimer __name__ (__username__) de __boardTitle__ ? Ce participant sera supprimé de toutes les cartes du tableau et recevra une notification.", + "removeMemberPopup-title": "Supprimer le participant ?", + "rename": "Renommer", + "rename-board": "Renommer le tableau", + "restore": "Restaurer", + "save": "Enregistrer", + "search": "Chercher", + "rules": "Règles", + "search-cards": "Rechercher parmi les titres, descriptions et champs personnalisés des cartes/listes de ce tableau", + "search-example": "Texte à rechercher ?", + "select-color": "Sélectionner une couleur", + "set-wip-limit-value": "Définit une limite maximale au nombre de cartes de cette liste", + "setWipLimitPopup-title": "Définir la limite WIP", + "shortcut-assign-self": "Affecter cette carte à vous-même", + "shortcut-autocomplete-emoji": "Auto-complétion des emoji", + "shortcut-autocomplete-members": "Auto-complétion des participants", + "shortcut-clear-filters": "Retirer tous les filtres", + "shortcut-close-dialog": "Fermer la boîte de dialogue", + "shortcut-filter-my-cards": "Filtrer mes cartes", + "shortcut-show-shortcuts": "Afficher cette liste de raccourcis", + "shortcut-toggle-filterbar": "Afficher/Masquer la barre latérale des filtres", + "shortcut-toggle-sidebar": "Afficher/Masquer la barre latérale du tableau", + "show-cards-minimum-count": "Afficher le nombre de cartes si la liste en contient plus de", + "sidebar-open": "Ouvrir le panneau", + "sidebar-close": "Fermer le panneau", + "signupPopup-title": "Créer un compte", + "star-board-title": "Cliquer pour ajouter ce tableau aux favoris. Il sera affiché en tête de votre liste de tableaux.", + "starred-boards": "Tableaux favoris", + "starred-boards-description": "Les tableaux favoris s'affichent en tête de votre liste de tableaux.", + "subscribe": "Suivre", + "team": "Équipe", + "this-board": "ce tableau", + "this-card": "cette carte", + "spent-time-hours": "Temps passé (heures)", + "overtime-hours": "Temps supplémentaire (heures)", + "overtime": "Temps supplémentaire", + "has-overtime-cards": "A des cartes avec du temps supplémentaire", + "has-spenttime-cards": "A des cartes avec du temps passé", + "time": "Temps", + "title": "Titre", + "tracking": "Suivi", + "tracking-info": "Vous serez notifié de toute modification concernant les cartes pour lesquelles vous êtes impliqué en tant que créateur ou participant.", + "type": "Type", + "unassign-member": "Retirer le participant", + "unsaved-description": "Vous avez une description non sauvegardée", + "unwatch": "Arrêter de suivre", + "upload": "Télécharger", + "upload-avatar": "Télécharger un avatar", + "uploaded-avatar": "Avatar téléchargé", + "username": "Nom d'utilisateur", + "view-it": "Le voir", + "warn-list-archived": "attention : cette carte est dans une liste archivée", + "watch": "Suivre", + "watching": "Suivi", + "watching-info": "Vous serez notifié de toute modification dans ce tableau", + "welcome-board": "Tableau de bienvenue", + "welcome-swimlane": "Jalon 1", + "welcome-list1": "Basiques", + "welcome-list2": "Avancés", + "card-templates-swimlane": "Modèles de cartes", + "list-templates-swimlane": "Modèles de listes", + "board-templates-swimlane": "Modèles de tableaux", + "what-to-do": "Que voulez-vous faire ?", + "wipLimitErrorPopup-title": "Limite WIP invalide", + "wipLimitErrorPopup-dialog-pt1": "Le nombre de cartes de cette liste est supérieur à la limite WIP que vous avez définie.", + "wipLimitErrorPopup-dialog-pt2": "Veuillez enlever des cartes de cette liste, ou définir une limite WIP plus importante.", + "admin-panel": "Panneau d'administration", + "settings": "Paramètres", + "people": "Personne", + "registration": "Inscription", + "disable-self-registration": "Désactiver l'inscription", + "invite": "Inviter", + "invite-people": "Inviter une personne", + "to-boards": "Au(x) tableau(x)", + "email-addresses": "Adresses mail", + "smtp-host-description": "L'adresse du serveur SMTP qui gère vos mails.", + "smtp-port-description": "Le port des mails sortants du serveur SMTP.", + "smtp-tls-description": "Activer la gestion de TLS sur le serveur SMTP", + "smtp-host": "Hôte SMTP", + "smtp-port": "Port SMTP", + "smtp-username": "Nom d'utilisateur", + "smtp-password": "Mot de passe", + "smtp-tls": "Prise en charge de TLS", + "send-from": "De", + "send-smtp-test": "Envoyer un mail de test à vous-même", + "invitation-code": "Code d'invitation", + "email-invite-register-subject": "__inviter__ vous a envoyé une invitation", + "email-invite-register-text": "Cher __user__,\n\n__inviter__ vous invite à le rejoindre sur le tableau kanban pour collaborer.\n\nVeuillez suivre le lien ci-dessous :\n__url__\n\nVotre code d'invitation est : __icode__\n\nMerci.", + "email-smtp-test-subject": "E-mail de test SMTP", + "email-smtp-test-text": "Vous avez envoyé un mail avec succès", + "error-invitation-code-not-exist": "Ce code d'invitation n'existe pas.", + "error-notAuthorized": "Vous n'êtes pas autorisé à accéder à cette page.", + "webhook-title": "Nom du webhook", + "webhook-token": "Jeton (optionnel pour l'authentification)", + "outgoing-webhooks": "Webhooks sortants", + "bidirectional-webhooks": "Webhooks bidirectionnels", + "outgoingWebhooksPopup-title": "Webhooks sortants", + "boardCardTitlePopup-title": "Filtre par titre de carte", + "disable-webhook": "Désactiver ce webhook", + "global-webhook": "Webhooks globaux", + "new-outgoing-webhook": "Nouveau webhook sortant", + "no-name": "(Inconnu)", + "Node_version": "Version de Node", + "Meteor_version": "Version de Meteor", + "MongoDB_version": "Version de MongoDB", + "MongoDB_storage_engine": "Moteur de stockage MongoDB", + "MongoDB_Oplog_enabled": "MongoDB Oplog activé", + "OS_Arch": "OS Architecture", + "OS_Cpus": "OS Nombre CPU", + "OS_Freemem": "OS Mémoire libre", + "OS_Loadavg": "OS Charge moyenne", + "OS_Platform": "OS Plate-forme", + "OS_Release": "OS Version", + "OS_Totalmem": "OS Mémoire totale", + "OS_Type": "Type d'OS", + "OS_Uptime": "OS Durée de fonctionnement", + "days": "jours", + "hours": "heures", + "minutes": "minutes", + "seconds": "secondes", + "show-field-on-card": "Afficher ce champ sur la carte", + "automatically-field-on-card": "Créer automatiquement le champ sur toutes les cartes", + "showLabel-field-on-card": "Indiquer l'étiquette du champ sur la mini-carte", + "yes": "Oui", + "no": "Non", + "accounts": "Comptes", + "accounts-allowEmailChange": "Autoriser le changement d'adresse mail", + "accounts-allowUserNameChange": "Autoriser le changement d'identifiant", + "createdAt": "Créé le", + "verified": "Vérifié", + "active": "Actif", + "card-received": "Reçue", + "card-received-on": "Reçue le", + "card-end": "Fin", + "card-end-on": "Se termine le", + "editCardReceivedDatePopup-title": "Modifier la date de réception", + "editCardEndDatePopup-title": "Modifier la date de fin", + "setCardColorPopup-title": "Définir la couleur", + "setCardActionsColorPopup-title": "Choisissez une couleur", + "setSwimlaneColorPopup-title": "Choisissez une couleur", + "setListColorPopup-title": "Choisissez une couleur", + "assigned-by": "Assigné par", + "requested-by": "Demandé par", + "board-delete-notice": "La suppression est définitive. Vous perdrez toutes les listes, cartes et actions associées à ce tableau.", + "delete-board-confirm-popup": "Toutes les listes, cartes, étiquettes et activités seront supprimées et vous ne pourrez pas retrouver le contenu du tableau. Il n'y a pas d'annulation possible.", + "boardDeletePopup-title": "Supprimer le tableau ?", + "delete-board": "Supprimer le tableau", + "default-subtasks-board": "Sous-tâches du tableau __board__", + "default": "Défaut", + "queue": "Queue", + "subtask-settings": "Paramètres des sous-tâches", + "card-settings": "Paramètres de la carte", + "boardSubtaskSettingsPopup-title": "Paramètres des sous-tâches du tableau", + "boardCardSettingsPopup-title": "Paramètres de la carte", + "deposit-subtasks-board": "Déposer des sous-tâches dans ce tableau :", + "deposit-subtasks-list": "Liste de destination pour les sous-tâches déposées ici :", + "show-parent-in-minicard": "Voir la carte parente dans la mini-carte :", + "prefix-with-full-path": "Préfixer avec le chemin complet", + "prefix-with-parent": "Préfixer avec le parent", + "subtext-with-full-path": "Sous-titre avec le chemin complet", + "subtext-with-parent": "Sous-titre avec le parent", + "change-card-parent": "Changer le parent de la carte", + "parent-card": "Carte parente", + "source-board": "Tableau source", + "no-parent": "Ne pas afficher le parent", + "activity-added-label": "a ajouté l'étiquette '%s' à %s", + "activity-removed-label": "a supprimé l'étiquette '%s' de %s", + "activity-delete-attach": "a supprimé une pièce jointe de %s", + "activity-added-label-card": "a ajouté l'étiquette '%s'", + "activity-removed-label-card": "a supprimé l'étiquette '%s'", + "activity-delete-attach-card": "a supprimé une pièce jointe", + "activity-set-customfield": "a défini le champ personnalisé '%s' à '%s' dans %s", + "activity-unset-customfield": "a effacé le champ personnalisé '%s' dans %s", + "r-rule": "Règle", + "r-add-trigger": "Ajouter un déclencheur", + "r-add-action": "Ajouter une action", + "r-board-rules": "Règles du tableau", + "r-add-rule": "Ajouter une règle", + "r-view-rule": "Voir la règle", + "r-delete-rule": "Supprimer la règle", + "r-new-rule-name": "Titre de la nouvelle règle", + "r-no-rules": "Pas de règles", + "r-trigger": "Déclencheur", + "r-action": "Action", + "r-when-a-card": "Quand une carte", + "r-is": "est", + "r-is-moved": "est déplacée", + "r-added-to": "Ajouté à", + "r-removed-from": "Supprimé de", + "r-the-board": "tableau", + "r-list": "liste", + "set-filter": "Définir un filtre", + "r-moved-to": "Déplacé vers", + "r-moved-from": "Déplacé depuis", + "r-archived": "Archivé", + "r-unarchived": "Restauré depuis l'Archive", + "r-a-card": "carte", + "r-when-a-label-is": "Quand une étiquette est", + "r-when-the-label": "Quand l'étiquette est", + "r-list-name": "Nom de la liste", + "r-when-a-member": "Quand un participant est", + "r-when-the-member": "Quand le participant", + "r-name": "nom", + "r-when-a-attach": "Quand une pièce jointe", + "r-when-a-checklist": "Quand une checklist est", + "r-when-the-checklist": "Quand la checklist", + "r-completed": "Terminé", + "r-made-incomplete": "Rendu incomplet", + "r-when-a-item": "Quand un élément de la checklist est", + "r-when-the-item": "Quand l'élément de la checklist", + "r-checked": "Coché", + "r-unchecked": "Décoché", + "r-move-card-to": "Déplacer la carte vers", + "r-top-of": "En haut de", + "r-bottom-of": "En bas de", + "r-its-list": "sa liste", + "r-archive": "Archiver", + "r-unarchive": "Restaurer depuis l'Archive", + "r-card": "carte", + "r-add": "Ajouter", + "r-remove": "Supprimer", + "r-label": "étiquette", + "r-member": "participant", + "r-remove-all": "Supprimer tous les membres de la carte", + "r-set-color": "Définir la couleur à", + "r-checklist": "checklist", + "r-check-all": "Tout cocher", + "r-uncheck-all": "Tout décocher", + "r-items-check": "Élément de checklist", + "r-check": "Cocher", + "r-uncheck": "Décocher", + "r-item": "élément", + "r-of-checklist": "de la checklist", + "r-send-email": "Envoyer un email", + "r-to": "à", + "r-of": "sur", + "r-subject": "sujet", + "r-rule-details": "Détails de la règle", + "r-d-move-to-top-gen": "Déplacer la carte en haut de sa liste", + "r-d-move-to-top-spec": "Déplacer la carte en haut de la liste", + "r-d-move-to-bottom-gen": "Déplacer la carte en bas de sa liste", + "r-d-move-to-bottom-spec": "Déplacer la carte en bas de la liste", + "r-d-send-email": "Envoyer un email", + "r-d-send-email-to": "à", + "r-d-send-email-subject": "sujet", + "r-d-send-email-message": "message", + "r-d-archive": "Archiver la carte", + "r-d-unarchive": "Restaurer la carte depuis l'Archive", + "r-d-add-label": "Ajouter une étiquette", + "r-d-remove-label": "Supprimer l'étiquette", + "r-create-card": "Créer une nouvelle carte", + "r-in-list": "dans la liste", + "r-in-swimlane": "Dans le couloir", + "r-d-add-member": "Ajouter un participant", + "r-d-remove-member": "Supprimer un participant", + "r-d-remove-all-member": "Supprimer tous les participants", + "r-d-check-all": "Cocher tous les éléments d'une liste", + "r-d-uncheck-all": "Décocher tous les éléments d'une liste", + "r-d-check-one": "Cocher l'élément", + "r-d-uncheck-one": "Décocher l'élément", + "r-d-check-of-list": "de la checklist", + "r-d-add-checklist": "Ajouter une checklist", + "r-d-remove-checklist": "Supprimer la checklist", + "r-by": "par", + "r-add-checklist": "Ajouter une checklist", + "r-with-items": "avec les items", + "r-items-list": "item1, item2, item3", + "r-add-swimlane": "Ajouter un couloir", + "r-swimlane-name": "Nom du couloir", + "r-board-note": "Note : laisser le champ vide pour faire correspondre avec toutes les valeurs possibles.", + "r-checklist-note": "Note : les items de la checklist doivent être séparés par des virgules.", + "r-when-a-card-is-moved": "Quand une carte est déplacée vers une autre liste", + "r-set": "Définir", + "r-update": "Mettre à jour", + "r-datefield": "champ date", + "r-df-start-at": "début", + "r-df-due-at": "échéance", + "r-df-end-at": "fin", + "r-df-received-at": "reçu", + "r-to-current-datetime": "à la date/heure courante", + "r-remove-value-from": "Supprimer la valeur de", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Méthode d'authentification", + "authentication-type": "Type d'authentification", + "custom-product-name": "Nom personnalisé", + "layout": "Interface", + "hide-logo": "Cacher le logo", + "add-custom-html-after-body-start": "Ajouter le HTML personnalisé après le début du ", + "add-custom-html-before-body-end": "Ajouter le HTML personnalisé avant la fin du ", + "error-undefined": "Une erreur inconnue s'est produite", + "error-ldap-login": "Une erreur s'est produite lors de la tentative de connexion", + "display-authentication-method": "Afficher la méthode d'authentification", + "default-authentication-method": "Méthode d'authentification par défaut", + "duplicate-board": "Dupliquer le tableau", + "people-number": "Le nombre d'utilisateurs est de :", + "swimlaneDeletePopup-title": "Supprimer le couloir ?", + "swimlane-delete-pop": "Toutes les actions vont être supprimées du suivi d'activités et vous ne pourrez plus utiliser ce couloir. Cette action est irréversible.", + "restore-all": "Tout restaurer", + "delete-all": "Tout supprimer", + "loading": "Chargement, merci de patienter.", + "previous_as": "dernière heure était", + "act-a-dueAt": "Echéance modifiée à\nQuand: __timeValue__\nOù: __card__\n L'échéance précédente était __timeOldValue__", + "act-a-endAt": "Modification de la date de fin de __timeOldValue__ à __timeValue__", + "act-a-startAt": "Modification de la date de début de __timeOldValue__ à __timeValue__", + "act-a-receivedAt": "Modification de la date de réception de __timeOldValue__ à __timeValue__", + "a-dueAt": "Echéance modifiée à ", + "a-endAt": "Date de fin modifiée à", + "a-startAt": "Date de début modifiée à", + "a-receivedAt": "Date de réception modifiée à", + "almostdue": "La date d'échéance %s approche", + "pastdue": "La date d'échéance %s est passée", + "duenow": "La date d'échéance %s est aujourd'hui", + "act-newDue": "__list__/__card__ a un 1er rappel d'échéance [__board__]", + "act-withDue": "__list__/__card__ rappel d'échéance [__board__]", + "act-almostdue": "rappelle que l'échéance (__timeValue__) de __card__ approche", + "act-pastdue": "rappelle que l'échéance (__timeValue__) de __card__ est passée", + "act-duenow": "rappelle que l'échéance (__timeValue__) de __card__ est maintenant", + "act-atUserComment": "Vous avez été mentionné dans [__board__] __list__/__card__", + "delete-user-confirm-popup": "Êtes-vous sûr de vouloir supprimer ce compte ? Cette opération ne peut pas être annulée. ", + "accounts-allowUserDelete": "Autoriser les utilisateurs à supprimer leur compte", + "hide-minicard-label-text": "Cacher le label de la minicarte", + "show-desktop-drag-handles": "Voir les poignées de déplacement du bureau", + "assignee": "Personne assignée", + "cardAssigneesPopup-title": "Personne assignée", + "addmore-detail": "Ajouter une description plus détaillée", + "show-on-card": "Afficher sur la carte", + "new": "Nouveau", + "editUserPopup-title": "Éditer l'utilisateur", + "newUserPopup-title": "Nouvel utilisateur", + "notifications": "Notifications", + "view-all": "Voir tout", + "filter-by-unread": "Filtrer par non lu", + "mark-all-as-read": "Marquer comme lus", + "remove-all-read": "Supprimer les lus", + "allow-rename": "Autoriser le renommage", + "allowRenamePopup-title": "Autoriser le renommage", + "start-day-of-week": "Définir le jour de début de semaine", + "monday": "Lundi", + "tuesday": "Mardi", + "wednesday": "Mercredi", + "thursday": "Jeudi", + "friday": "Vendredi", + "saturday": "Samedi", + "sunday": "Dimanche", + "status": "Statut", + "swimlane": "Couloir", + "owner": "Propriétaire", + "last-modified-at": "Dernière modification le", + "last-activity": "Dernière activité", + "voting": "Vote", + "archived": "Archivé", + "delete-linked-card-before-this-card": "Vous ne pouvez pas supprimer cette carte avant d'avoir d'abord supprimé la carte liée qui a", + "delete-linked-cards-before-this-list": "Vous ne pouvez pas supprimer cette liste avant d'avoir d'abord supprimé les cartes liées qui pointent vers des cartes de cette liste", + "hide-checked-items": "Cacher les éléments cochés" +} \ No newline at end of file diff --git a/i18n/gl.i18n.json b/i18n/gl.i18n.json new file mode 100644 index 0000000..ecd511d --- /dev/null +++ b/i18n/gl.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Aceptar", + "act-activity-notify": "Activity Notification", + "act-addAttachment": "added attachment __attachment__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteAttachment": "deleted attachment __attachment__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addSubtask": "added subtask __subtask__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addedLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removedLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklist": "added checklist __checklist__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklistItem": "added checklist item __checklistItem__ to checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklist": "removed checklist __checklist__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklistItem": "removed checklist item __checklistItem__ from checklist __checkList__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-checkedItem": "checked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncheckedItem": "unchecked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-completeChecklist": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncompleteChecklist": "uncompleted checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addComment": "commented on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-editComment": "edited comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteComment": "deleted comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createBoard": "created board __board__", + "act-createSwimlane": "created swimlane __swimlane__ to board __board__", + "act-createCard": "created card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-createCustomField": "created custom field __customField__ at board __board__", + "act-deleteCustomField": "deleted custom field __customField__ at board __board__", + "act-setCustomField": "edited custom field __customField__: __customFieldValue__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createList": "added list __list__ to board __board__", + "act-addBoardMember": "added member __member__ to board __board__", + "act-archivedBoard": "Board __board__ moved to Archive", + "act-archivedCard": "Card __card__ at list __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedList": "List __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedSwimlane": "Swimlane __swimlane__ at board __board__ moved to Archive", + "act-importBoard": "imported board __board__", + "act-importCard": "imported card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-importList": "imported list __list__ to swimlane __swimlane__ at board __board__", + "act-joinMember": "added member __member__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-moveCard": "moved card __card__ at board __board__ from list __oldList__ at swimlane __oldSwimlane__ to list __list__ at swimlane __swimlane__", + "act-moveCardToOtherBoard": "moved card __card__ from list __oldList__ at swimlane __oldSwimlane__ at board __oldBoard__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-removeBoardMember": "removed member __member__ from board __board__", + "act-restoredCard": "restored card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-unjoinMember": "removed member __member__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Accións", + "activities": "Actividades", + "activity": "Actividade", + "activity-added": "engadiuse %s a %s", + "activity-archived": "%s moved to Archive", + "activity-attached": "attached %s to %s", + "activity-created": "created %s", + "activity-customfield-created": "created custom field %s", + "activity-excluded": "excluded %s from %s", + "activity-imported": "imported %s into %s from %s", + "activity-imported-board": "imported %s from %s", + "activity-joined": "joined %s", + "activity-moved": "moved %s from %s to %s", + "activity-on": "on %s", + "activity-removed": "removed %s from %s", + "activity-sent": "sent %s to %s", + "activity-unjoined": "unjoined %s", + "activity-subtask-added": "added subtask to %s", + "activity-checked-item": "checked %s in checklist %s of %s", + "activity-unchecked-item": "unchecked %s in checklist %s of %s", + "activity-checklist-added": "added checklist to %s", + "activity-checklist-removed": "removed a checklist from %s", + "activity-checklist-completed": "completed checklist %s of %s", + "activity-checklist-uncompleted": "uncompleted the checklist %s of %s", + "activity-checklist-item-added": "added checklist item to '%s' in %s", + "activity-checklist-item-removed": "removed a checklist item from '%s' in %s", + "add": "Engadir", + "activity-checked-item-card": "checked %s in checklist %s", + "activity-unchecked-item-card": "unchecked %s in checklist %s", + "activity-checklist-completed-card": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "activity-checklist-uncompleted-card": "uncompleted the checklist %s", + "activity-editComment": "edited comment %s", + "activity-deleteComment": "deleted comment %s", + "add-attachment": "Engadir anexo", + "add-board": "Engadir taboleiro", + "add-card": "Engadir tarxeta", + "add-swimlane": "Add Swimlane", + "add-subtask": "Add Subtask", + "add-checklist": "Add Checklist", + "add-checklist-item": "Add an item to checklist", + "add-cover": "Add Cover", + "add-label": "Engadir etiqueta", + "add-list": "Engadir lista", + "add-members": "Engadir membros", + "added": "Added", + "addMemberPopup-title": "Membros", + "admin": "Admin", + "admin-desc": "Pode ver e editar tarxetas, retirar membros e cambiar a configuración do taboleiro.", + "admin-announcement": "Announcement", + "admin-announcement-active": "Active System-Wide Announcement", + "admin-announcement-title": "Announcement from Administrator", + "all-boards": "Todos os taboleiros", + "and-n-other-card": "And __count__ other card", + "and-n-other-card_plural": "And __count__ other cards", + "apply": "Apply", + "app-is-offline": "Loading, please wait. Refreshing the page will cause data loss. If loading does not work, please check that server has not stopped.", + "archive": "Move to Archive", + "archive-all": "Move All to Archive", + "archive-board": "Move Board to Archive", + "archive-card": "Move Card to Archive", + "archive-list": "Move List to Archive", + "archive-swimlane": "Move Swimlane to Archive", + "archive-selection": "Move selection to Archive", + "archiveBoardPopup-title": "Move Board to Archive?", + "archived-items": "Arquivar", + "archived-boards": "Boards in Archive", + "restore-board": "Restaurar taboleiro", + "no-archived-boards": "No Boards in Archive.", + "archives": "Arquivar", + "template": "Template", + "templates": "Templates", + "assign-member": "Assign member", + "attached": "attached", + "attachment": "Anexo", + "attachment-delete-pop": "A eliminación de anexos é permanente. Non se pode desfacer.", + "attachmentDeletePopup-title": "Eliminar anexo?", + "attachments": "Anexos", + "auto-watch": "Automatically watch boards when they are created", + "avatar-too-big": "The avatar is too large (70KB max)", + "back": "Back", + "board-change-color": "Cambiar cor", + "board-nb-stars": "%s stars", + "board-not-found": "Board not found", + "board-private-info": "This board will be private.", + "board-public-info": "This board will be public.", + "boardChangeColorPopup-title": "Change Board Background", + "boardChangeTitlePopup-title": "Rename Board", + "boardChangeVisibilityPopup-title": "Change Visibility", + "boardChangeWatchPopup-title": "Change Watch", + "boardMenuPopup-title": "Board Settings", + "boardChangeViewPopup-title": "Board View", + "boards": "Taboleiros", + "board-view": "Board View", + "board-view-cal": "Calendar", + "board-view-swimlanes": "Swimlanes", + "board-view-collapse": "Collapse", + "board-view-lists": "Listas", + "bucket-example": "Like “Bucket List” for example", + "cancel": "Cancelar", + "card-archived": "This card is moved to Archive.", + "board-archived": "This board is moved to Archive.", + "card-comments-title": "This card has %s comment.", + "card-delete-notice": "Deleting is permanent. You will lose all actions associated with this card.", + "card-delete-pop": "All actions will be removed from the activity feed and you won't be able to re-open the card. There is no undo.", + "card-delete-suggest-archive": "You can move a card to Archive to remove it from the board and preserve the activity.", + "card-due": "Due", + "card-due-on": "Due on", + "card-spent": "Spent Time", + "card-edit-attachments": "Editar anexos", + "card-edit-custom-fields": "Edit custom fields", + "card-edit-labels": "Editar etiquetas", + "card-edit-members": "Editar membros", + "card-labels-title": "Cambiar as etiquetas da tarxeta.", + "card-members-title": "Add or remove members of the board from the card.", + "card-start": "Start", + "card-start-on": "Starts on", + "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", + "cardStartVotingPopup-title": "Start a vote", + "positiveVoteMembersPopup-title": "Proponents", + "negativeVoteMembersPopup-title": "Opponents", + "card-edit-voting": "Edit voting", + "editVoteEndDatePopup-title": "Change vote end date", + "allowNonBoardMembers": "Allow all logged in users", + "vote-question": "Voting question", + "vote-public": "Show who voted what", + "vote-for-it": "for it", + "vote-against": "against", + "deleteVotePopup-title": "Delete vote?", + "vote-delete-pop": "Deleting is permanent. You will lose all actions associated with this vote.", + "cardDeletePopup-title": "Delete Card?", + "cardDetailsActionsPopup-title": "Card Actions", + "cardLabelsPopup-title": "Etiquetas", + "cardMembersPopup-title": "Membros", + "cardMorePopup-title": "Máis", + "cardTemplatePopup-title": "Create template", + "cards": "Tarxetas", + "cards-count": "Tarxetas", + "casSignIn": "Sign In with CAS", + "cardType-card": "Card", + "cardType-linkedCard": "Linked Card", + "cardType-linkedBoard": "Linked Board", + "change": "Cambiar", + "change-avatar": "Cambiar o avatar", + "change-password": "Cambiar o contrasinal", + "change-permissions": "Cambiar os permisos", + "change-settings": "Cambiar a configuración", + "changeAvatarPopup-title": "Cambiar o avatar", + "changeLanguagePopup-title": "Cambiar de idioma", + "changePasswordPopup-title": "Cambiar o contrasinal", + "changePermissionsPopup-title": "Cambiar os permisos", + "changeSettingsPopup-title": "Cambiar a configuración", + "subtasks": "Subtasks", + "checklists": "Checklists", + "click-to-star": "Click to star this board.", + "click-to-unstar": "Click to unstar this board.", + "clipboard": "Clipboard or drag & drop", + "close": "Close", + "close-board": "Close Board", + "close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.", + "color-black": "negro", + "color-blue": "azul", + "color-crimson": "crimson", + "color-darkgreen": "darkgreen", + "color-gold": "gold", + "color-gray": "gray", + "color-green": "verde", + "color-indigo": "indigo", + "color-lime": "lime", + "color-magenta": "magenta", + "color-mistyrose": "mistyrose", + "color-navy": "navy", + "color-orange": "laranxa", + "color-paleturquoise": "paleturquoise", + "color-peachpuff": "peachpuff", + "color-pink": "rosa", + "color-plum": "plum", + "color-purple": "purple", + "color-red": "vermello", + "color-saddlebrown": "saddlebrown", + "color-silver": "silver", + "color-sky": "celeste", + "color-slateblue": "slateblue", + "color-white": "white", + "color-yellow": "amarelo", + "unset-color": "Unset", + "comment": "Comentario", + "comment-placeholder": "Escribir un comentario", + "comment-only": "Comment only", + "comment-only-desc": "Can comment on cards only.", + "no-comments": "No comments", + "no-comments-desc": "Can not see comments and activities.", + "worker": "Worker", + "worker-desc": "Can only move cards, assign itself to card and comment.", + "computer": "Computador", + "confirm-subtask-delete-dialog": "Are you sure you want to delete subtask?", + "confirm-checklist-delete-dialog": "Are you sure you want to delete checklist?", + "copy-card-link-to-clipboard": "Copy card link to clipboard", + "linkCardPopup-title": "Link Card", + "searchElementPopup-title": "Search", + "copyCardPopup-title": "Copy Card", + "copyChecklistToManyCardsPopup-title": "Copy Checklist Template to Many Cards", + "copyChecklistToManyCardsPopup-instructions": "Destination Card Titles and Descriptions in this JSON format", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"First card title\", \"description\":\"First card description\"}, {\"title\":\"Second card title\",\"description\":\"Second card description\"},{\"title\":\"Last card title\",\"description\":\"Last card description\"} ]", + "create": "Crear", + "createBoardPopup-title": "Crear taboleiro", + "chooseBoardSourcePopup-title": "Importar taboleiro", + "createLabelPopup-title": "Crear etiqueta", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", + "current": "actual", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-currency": "Currency", + "custom-field-currency-option": "Currency Code", + "custom-field-date": "Data", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", + "date": "Data", + "decline": "Rexeitar", + "default-avatar": "Avatar predeterminado", + "delete": "Eliminar", + "deleteCustomFieldPopup-title": "Delete Custom Field?", + "deleteLabelPopup-title": "Eliminar a etiqueta?", + "description": "Descrición", + "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", + "disambiguateMultiMemberPopup-title": "Disambiguate Member Action", + "discard": "Desbotar", + "done": "Feito", + "download": "Descargar", + "edit": "Editar", + "edit-avatar": "Cambiar de avatar", + "edit-profile": "Editar o perfil", + "edit-wip-limit": "Edit WIP Limit", + "soft-wip-limit": "Soft WIP Limit", + "editCardStartDatePopup-title": "Cambiar a data de inicio", + "editCardDueDatePopup-title": "Cambiar a data límite", + "editCustomFieldPopup-title": "Edit Field", + "editCardSpentTimePopup-title": "Change spent time", + "editLabelPopup-title": "Cambiar a etiqueta", + "editNotificationPopup-title": "Editar a notificación", + "editProfilePopup-title": "Editar o perfil", + "email": "Correo electrónico", + "email-enrollAccount-subject": "An account created for you on __siteName__", + "email-enrollAccount-text": "Hello __user__,\n\nTo start using the service, simply click the link below.\n\n__url__\n\nThanks.", + "email-fail": "Sending email failed", + "email-fail-text": "Error trying to send email", + "email-invalid": "Invalid email", + "email-invite": "Invite via Email", + "email-invite-subject": "__inviter__ sent you an invitation", + "email-invite-text": "Dear __user__,\n\n__inviter__ invites you to join board \"__board__\" for collaborations.\n\nPlease follow the link below:\n\n__url__\n\nThanks.", + "email-resetPassword-subject": "Reset your password on __siteName__", + "email-resetPassword-text": "Hello __user__,\n\nTo reset your password, simply click the link below.\n\n__url__\n\nThanks.", + "email-sent": "Email sent", + "email-verifyEmail-subject": "Verify your email address on __siteName__", + "email-verifyEmail-text": "Hello __user__,\n\nTo verify your account email, simply click the link below.\n\n__url__\n\nThanks.", + "enable-wip-limit": "Enable WIP Limit", + "error-board-doesNotExist": "This board does not exist", + "error-board-notAdmin": "You need to be admin of this board to do that", + "error-board-notAMember": "You need to be a member of this board to do that", + "error-json-malformed": "Your text is not valid JSON", + "error-json-schema": "Your JSON data does not include the proper information in the correct format", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "Esta lista non existe", + "error-user-doesNotExist": "Este usuario non existe", + "error-user-notAllowSelf": "Non é posíbel convidarse a un mesmo", + "error-user-notCreated": "Este usuario non está creado", + "error-username-taken": "Este nome de usuario xa está collido", + "error-email-taken": "Email has already been taken", + "export-board": "Exportar taboleiro", + "export-board-json": "Export board to JSON", + "export-board-csv": "Export board to CSV", + "export-board-tsv": "Export board to TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "Exportar taboleiro", + "sort": "Sort", + "sort-desc": "Click to Sort List", + "list-sort-by": "Sort the List By:", + "list-label-modifiedAt": "Last Access Time", + "list-label-title": "Name of the List", + "list-label-sort": "Your Manual Order", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Filtro", + "filter-cards": "Filter Cards or Lists", + "list-filter-label": "Filter List by Title", + "filter-clear": "Limpar filtro", + "filter-no-label": "Non hai etiquetas", + "filter-no-member": "Non hai membros", + "filter-no-assignee": "No assignee", + "filter-no-custom-fields": "No Custom Fields", + "filter-show-archive": "Show archived lists", + "filter-hide-empty": "Hide empty lists", + "filter-on": "O filtro está activado", + "filter-on-desc": "You are filtering cards on this board. Click here to edit filter.", + "filter-to-selection": "Filter to selection", + "advanced-filter-label": "Advanced Filter", + "advanced-filter-description": "Advanced Filter allows to write a string containing following operators: == != <= >= && || ( ) A space is used as a separator between the Operators. You can filter for all Custom Fields by typing their names and values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need to encapsulate them into single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) to be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally all operators are interpreted from left to right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i", + "fullname": "Nome completo", + "header-logo-title": "Retornar á páxina dos seus taboleiros.", + "hide-system-messages": "Agochar as mensaxes do sistema", + "headerBarCreateBoardPopup-title": "Crear taboleiro", + "home": "Inicio", + "import": "Importar", + "link": "Link", + "import-board": "importar taboleiro", + "import-board-c": "Importar taboleiro", + "import-board-title-trello": "Importar taboleiro de Trello", + "import-board-title-wekan": "Import board from previous export", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "De Trello", + "from-wekan": "From previous export", + "from-csv": "From CSV/TSV", + "import-board-instruction-trello": "In your Trello board, go to 'Menu', then 'More', 'Print and Export', 'Export JSON', and copy the resulting text.", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "In your board, go to 'Menu', then 'Export board', and copy the text in the downloaded file.", + "import-board-instruction-about-errors": "If you get errors when importing board, sometimes importing still works, and board is at All Boards page.", + "import-json-placeholder": "Paste your valid JSON data here", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "Map members", + "import-members-map": "Your imported board has some members. Please map the members you want to import to your users", + "import-show-user-mapping": "Review members mapping", + "import-user-select": "Pick your existing user you want to use as this member", + "importMapMembersAddPopup-title": "Select member", + "info": "Version", + "initials": "Iniciais", + "invalid-date": "A data é incorrecta", + "invalid-time": "Invalid time", + "invalid-user": "Invalid user", + "joined": "joined", + "just-invited": "You are just invited to this board", + "keyboard-shortcuts": "Keyboard shortcuts", + "label-create": "Crear etiqueta", + "label-default": "%s label (default)", + "label-delete-pop": "There is no undo. This will remove this label from all cards and destroy its history.", + "labels": "Etiquetas", + "language": "Idioma", + "last-admin-desc": "You can’t change roles because there must be at least one admin.", + "leave-board": "Saír do taboleiro", + "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.", + "leaveBoardPopup-title": "Leave Board ?", + "link-card": "Link to this card", + "list-archive-cards": "Move all cards in this list to Archive", + "list-archive-cards-pop": "This will remove all the cards in this list from the board. To view cards in Archive and bring them back to the board, click “Menu” > “Archive”.", + "list-move-cards": "Move all cards in this list", + "list-select-cards": "Select all cards in this list", + "set-color-list": "Set Color", + "listActionPopup-title": "List Actions", + "swimlaneActionPopup-title": "Swimlane Actions", + "swimlaneAddPopup-title": "Add a Swimlane below", + "listImportCardPopup-title": "Import a Trello card", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "Máis", + "link-list": "Link to this list", + "list-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the list. There is no undo.", + "list-delete-suggest-archive": "You can move a list to Archive to remove it from the board and preserve the activity.", + "lists": "Listas", + "swimlanes": "Swimlanes", + "log-out": "Pechar a sesión", + "log-in": "Acceder", + "loginPopup-title": "Acceder", + "memberMenuPopup-title": "Member Settings", + "members": "Membros", + "menu": "Menú", + "move-selection": "Mover selección", + "moveCardPopup-title": "Mover tarxeta", + "moveCardToBottom-title": "Mover abaixo de todo", + "moveCardToTop-title": "Mover arriba de todo", + "moveSelectionPopup-title": "Mover selección", + "multi-selection": "Selección múltipla", + "multi-selection-on": "Multi-Selection is on", + "muted": "Muted", + "muted-info": "You will never be notified of any changes in this board", + "my-boards": "My Boards", + "name": "Nome", + "no-archived-cards": "No cards in Archive.", + "no-archived-lists": "No lists in Archive.", + "no-archived-swimlanes": "No swimlanes in Archive.", + "no-results": "Non hai resultados", + "normal": "Normal", + "normal-desc": "Pode ver e editar tarxetas. Non pode cambiar a configuración.", + "not-accepted-yet": "O convite aínda non foi aceptado", + "notify-participate": "Receive updates to any cards you participate as creater or member", + "notify-watch": "Receive updates to any boards, lists, or cards you’re watching", + "optional": "opcional", + "or": "ou", + "page-maybe-private": "This page may be private. You may be able to view it by logging in.", + "page-not-found": "Non se atopou a páxina.", + "password": "Contrasinal", + "paste-or-dragdrop": "to paste, or drag & drop image file to it (image only)", + "participating": "Participating", + "preview": "Preview", + "previewAttachedImagePopup-title": "Preview", + "previewClipboardImagePopup-title": "Preview", + "private": "Private", + "private-desc": "This board is private. Only people added to the board can view and edit it.", + "profile": "Perfil", + "public": "Público", + "public-desc": "This board is public. It's visible to anyone with the link and will show up in search engines like Google. Only people added to the board can edit.", + "quick-access-description": "Star a board to add a shortcut in this bar.", + "remove-cover": "Remove Cover", + "remove-from-board": "Remove from Board", + "remove-label": "Remove Label", + "listDeletePopup-title": "Delete List ?", + "remove-member": "Remove Member", + "remove-member-from-card": "Remove from Card", + "remove-member-pop": "Remove __name__ (__username__) from __boardTitle__? The member will be removed from all cards on this board. They will receive a notification.", + "removeMemberPopup-title": "Remove Member?", + "rename": "Rename", + "rename-board": "Rename Board", + "restore": "Restore", + "save": "Save", + "search": "Search", + "rules": "Rules", + "search-cards": "Search from card/list titles, descriptions and custom fields on this board", + "search-example": "Text to search for?", + "select-color": "Select Color", + "set-wip-limit-value": "Set a limit for the maximum number of tasks in this list", + "setWipLimitPopup-title": "Set WIP Limit", + "shortcut-assign-self": "Assign yourself to current card", + "shortcut-autocomplete-emoji": "Autocomplete emoji", + "shortcut-autocomplete-members": "Autocomplete members", + "shortcut-clear-filters": "Clear all filters", + "shortcut-close-dialog": "Close Dialog", + "shortcut-filter-my-cards": "Filter my cards", + "shortcut-show-shortcuts": "Bring up this shortcuts list", + "shortcut-toggle-filterbar": "Toggle Filter Sidebar", + "shortcut-toggle-sidebar": "Toggle Board Sidebar", + "show-cards-minimum-count": "Show cards count if list contains more than", + "sidebar-open": "Open Sidebar", + "sidebar-close": "Close Sidebar", + "signupPopup-title": "Create an Account", + "star-board-title": "Click to star this board. It will show up at top of your boards list.", + "starred-boards": "Starred Boards", + "starred-boards-description": "Starred boards show up at the top of your boards list.", + "subscribe": "Subscribir", + "team": "Equipo", + "this-board": "este taboleiro", + "this-card": "esta tarxeta", + "spent-time-hours": "Spent time (hours)", + "overtime-hours": "Overtime (hours)", + "overtime": "Overtime", + "has-overtime-cards": "Has overtime cards", + "has-spenttime-cards": "Has spent time cards", + "time": "Hora", + "title": "Título", + "tracking": "Seguimento", + "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", + "unassign-member": "Unassign member", + "unsaved-description": "You have an unsaved description.", + "unwatch": "Unwatch", + "upload": "Enviar", + "upload-avatar": "Enviar un avatar", + "uploaded-avatar": "Uploaded an avatar", + "username": "Nome de usuario", + "view-it": "Velo", + "warn-list-archived": "warning: this card is in an list at Archive", + "watch": "Vixiar", + "watching": "Vixiando", + "watching-info": "Recibirá unha notificación sobre calquera cambio que se produza neste taboleiro", + "welcome-board": "Taboleiro de benvida", + "welcome-swimlane": "Milestone 1", + "welcome-list1": "Fundamentos", + "welcome-list2": "Avanzado", + "card-templates-swimlane": "Card Templates", + "list-templates-swimlane": "List Templates", + "board-templates-swimlane": "Board Templates", + "what-to-do": "Que desexa facer?", + "wipLimitErrorPopup-title": "Invalid WIP Limit", + "wipLimitErrorPopup-dialog-pt1": "The number of tasks in this list is higher than the WIP limit you've defined.", + "wipLimitErrorPopup-dialog-pt2": "Please move some tasks out of this list, or set a higher WIP limit.", + "admin-panel": "Panel de administración", + "settings": "Configuración", + "people": "Persoas", + "registration": "Rexistro", + "disable-self-registration": "Desactivar o auto-rexistro", + "invite": "Convidar", + "invite-people": "Convidar persoas", + "to-boards": "Ao(s) taboleiro(s)", + "email-addresses": "Enderezos de correo", + "smtp-host-description": "O enderezo do servidor de SMTP que xestiona os seu correo electrónico.", + "smtp-port-description": "O porto que o servidor de SMTP emprega para o correo saínte.", + "smtp-tls-description": "Enable TLS support for SMTP server", + "smtp-host": "Servidor de SMTP", + "smtp-port": "Porto de SMTP", + "smtp-username": "Nome de usuario", + "smtp-password": "Contrasinal", + "smtp-tls": "TLS support", + "send-from": "De", + "send-smtp-test": "Send a test email to yourself", + "invitation-code": "Invitation Code", + "email-invite-register-subject": "__inviter__ sent you an invitation", + "email-invite-register-text": "Dear __user__,\n\n__inviter__ invites you to kanban board for collaborations.\n\nPlease follow the link below:\n__url__\n\nAnd your invitation code is: __icode__\n\nThanks.", + "email-smtp-test-subject": "SMTP Test Email", + "email-smtp-test-text": "You have successfully sent an email", + "error-invitation-code-not-exist": "Invitation code doesn't exist", + "error-notAuthorized": "You are not authorized to view this page.", + "webhook-title": "Webhook Name", + "webhook-token": "Token (Optional for Authentication)", + "outgoing-webhooks": "Outgoing Webhooks", + "bidirectional-webhooks": "Two-Way Webhooks", + "outgoingWebhooksPopup-title": "Outgoing Webhooks", + "boardCardTitlePopup-title": "Card Title Filter", + "disable-webhook": "Disable This Webhook", + "global-webhook": "Global Webhooks", + "new-outgoing-webhook": "New Outgoing Webhook", + "no-name": "(Unknown)", + "Node_version": "Node version", + "Meteor_version": "Meteor version", + "MongoDB_version": "MongoDB version", + "MongoDB_storage_engine": "MongoDB storage engine", + "MongoDB_Oplog_enabled": "MongoDB Oplog enabled", + "OS_Arch": "OS Arch", + "OS_Cpus": "OS CPU Count", + "OS_Freemem": "OS Free Memory", + "OS_Loadavg": "OS Load Average", + "OS_Platform": "OS Platform", + "OS_Release": "OS Release", + "OS_Totalmem": "OS Total Memory", + "OS_Type": "OS Type", + "OS_Uptime": "OS Uptime", + "days": "days", + "hours": "hours", + "minutes": "minutes", + "seconds": "seconds", + "show-field-on-card": "Show this field on card", + "automatically-field-on-card": "Auto create field to all cards", + "showLabel-field-on-card": "Show field label on minicard", + "yes": "Yes", + "no": "No", + "accounts": "Accounts", + "accounts-allowEmailChange": "Allow Email Change", + "accounts-allowUserNameChange": "Allow Username Change", + "createdAt": "Created at", + "verified": "Verified", + "active": "Active", + "card-received": "Received", + "card-received-on": "Received on", + "card-end": "End", + "card-end-on": "Ends on", + "editCardReceivedDatePopup-title": "Change received date", + "editCardEndDatePopup-title": "Change end date", + "setCardColorPopup-title": "Set color", + "setCardActionsColorPopup-title": "Choose a color", + "setSwimlaneColorPopup-title": "Choose a color", + "setListColorPopup-title": "Choose a color", + "assigned-by": "Assigned By", + "requested-by": "Requested By", + "board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.", + "delete-board-confirm-popup": "All lists, cards, labels, and activities will be deleted and you won't be able to recover the board contents. There is no undo.", + "boardDeletePopup-title": "Delete Board?", + "delete-board": "Delete Board", + "default-subtasks-board": "Subtasks for __board__ board", + "default": "Default", + "queue": "Queue", + "subtask-settings": "Subtasks Settings", + "card-settings": "Card Settings", + "boardSubtaskSettingsPopup-title": "Board Subtasks Settings", + "boardCardSettingsPopup-title": "Card Settings", + "deposit-subtasks-board": "Deposit subtasks to this board:", + "deposit-subtasks-list": "Landing list for subtasks deposited here:", + "show-parent-in-minicard": "Show parent in minicard:", + "prefix-with-full-path": "Prefix with full path", + "prefix-with-parent": "Prefix with parent", + "subtext-with-full-path": "Subtext with full path", + "subtext-with-parent": "Subtext with parent", + "change-card-parent": "Change card's parent", + "parent-card": "Parent card", + "source-board": "Source board", + "no-parent": "Don't show parent", + "activity-added-label": "added label '%s' to %s", + "activity-removed-label": "removed label '%s' from %s", + "activity-delete-attach": "deleted an attachment from %s", + "activity-added-label-card": "added label '%s'", + "activity-removed-label-card": "removed label '%s'", + "activity-delete-attach-card": "deleted an attachment", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "Rule", + "r-add-trigger": "Add trigger", + "r-add-action": "Add action", + "r-board-rules": "Board rules", + "r-add-rule": "Add rule", + "r-view-rule": "View rule", + "r-delete-rule": "Delete rule", + "r-new-rule-name": "New rule title", + "r-no-rules": "No rules", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "When a card", + "r-is": "is", + "r-is-moved": "is moved", + "r-added-to": "Added to", + "r-removed-from": "Removed from", + "r-the-board": "the board", + "r-list": "list", + "set-filter": "Set Filter", + "r-moved-to": "Moved to", + "r-moved-from": "Moved from", + "r-archived": "Moved to Archive", + "r-unarchived": "Restored from Archive", + "r-a-card": "a card", + "r-when-a-label-is": "When a label is", + "r-when-the-label": "When the label", + "r-list-name": "list name", + "r-when-a-member": "When a member is", + "r-when-the-member": "When the member", + "r-name": "name", + "r-when-a-attach": "When an attachment", + "r-when-a-checklist": "When a checklist is", + "r-when-the-checklist": "When the checklist", + "r-completed": "Completed", + "r-made-incomplete": "Made incomplete", + "r-when-a-item": "When a checklist item is", + "r-when-the-item": "When the checklist item", + "r-checked": "Checked", + "r-unchecked": "Unchecked", + "r-move-card-to": "Move card to", + "r-top-of": "Top of", + "r-bottom-of": "Bottom of", + "r-its-list": "its list", + "r-archive": "Move to Archive", + "r-unarchive": "Restore from Archive", + "r-card": "card", + "r-add": "Engadir", + "r-remove": "Remove", + "r-label": "label", + "r-member": "member", + "r-remove-all": "Remove all members from the card", + "r-set-color": "Set color to", + "r-checklist": "checklist", + "r-check-all": "Check all", + "r-uncheck-all": "Uncheck all", + "r-items-check": "items of checklist", + "r-check": "Check", + "r-uncheck": "Uncheck", + "r-item": "item", + "r-of-checklist": "of checklist", + "r-send-email": "Send an email", + "r-to": "to", + "r-of": "of", + "r-subject": "subject", + "r-rule-details": "Rule details", + "r-d-move-to-top-gen": "Move card to top of its list", + "r-d-move-to-top-spec": "Move card to top of list", + "r-d-move-to-bottom-gen": "Move card to bottom of its list", + "r-d-move-to-bottom-spec": "Move card to bottom of list", + "r-d-send-email": "Send email", + "r-d-send-email-to": "to", + "r-d-send-email-subject": "subject", + "r-d-send-email-message": "message", + "r-d-archive": "Move card to Archive", + "r-d-unarchive": "Restore card from Archive", + "r-d-add-label": "Add label", + "r-d-remove-label": "Remove label", + "r-create-card": "Create new card", + "r-in-list": "in list", + "r-in-swimlane": "in swimlane", + "r-d-add-member": "Add member", + "r-d-remove-member": "Remove member", + "r-d-remove-all-member": "Remove all member", + "r-d-check-all": "Check all items of a list", + "r-d-uncheck-all": "Uncheck all items of a list", + "r-d-check-one": "Check item", + "r-d-uncheck-one": "Uncheck item", + "r-d-check-of-list": "of checklist", + "r-d-add-checklist": "Add checklist", + "r-d-remove-checklist": "Remove checklist", + "r-by": "by", + "r-add-checklist": "Add checklist", + "r-with-items": "with items", + "r-items-list": "item1,item2,item3", + "r-add-swimlane": "Add swimlane", + "r-swimlane-name": "swimlane name", + "r-board-note": "Note: leave a field empty to match every possible value.", + "r-checklist-note": "Note: checklist's items have to be written as comma separated values.", + "r-when-a-card-is-moved": "When a card is moved to another list", + "r-set": "Set", + "r-update": "Update", + "r-datefield": "date field", + "r-df-start-at": "start", + "r-df-due-at": "due", + "r-df-end-at": "end", + "r-df-received-at": "received", + "r-to-current-datetime": "to current date/time", + "r-remove-value-from": "Remove value from", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Authentication method", + "authentication-type": "Authentication type", + "custom-product-name": "Custom Product Name", + "layout": "Layout", + "hide-logo": "Hide Logo", + "add-custom-html-after-body-start": "Add Custom HTML after start", + "add-custom-html-before-body-end": "Add Custom HTML before end", + "error-undefined": "Something went wrong", + "error-ldap-login": "An error occurred while trying to login", + "display-authentication-method": "Display Authentication Method", + "default-authentication-method": "Default Authentication Method", + "duplicate-board": "Duplicate Board", + "people-number": "The number of people is:", + "swimlaneDeletePopup-title": "Delete Swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Restore all", + "delete-all": "Delete all", + "loading": "Loading, please wait.", + "previous_as": "last time was", + "act-a-dueAt": "modified due time to \nWhen: __timeValue__\nWhere: __card__\n previous due was __timeOldValue__", + "act-a-endAt": "modified ending time to __timeValue__ from (__timeOldValue__)", + "act-a-startAt": "modified starting time to __timeValue__ from (__timeOldValue__)", + "act-a-receivedAt": "modified received time to __timeValue__ from (__timeOldValue__)", + "a-dueAt": "modified due time to be", + "a-endAt": "modified ending time to be", + "a-startAt": "modified starting time to be", + "a-receivedAt": "modified received time to be", + "almostdue": "current due time %s is approaching", + "pastdue": "current due time %s is past", + "duenow": "current due time %s is today", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", + "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", + "act-duenow": "was reminding the current due (__timeValue__) of __card__ is now", + "act-atUserComment": "You were mentioned in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Are you sure you want to delete this account? There is no undo.", + "accounts-allowUserDelete": "Allow users to self delete their account", + "hide-minicard-label-text": "Hide minicard label text", + "show-desktop-drag-handles": "Show desktop drag handles", + "assignee": "Assignee", + "cardAssigneesPopup-title": "Assignee", + "addmore-detail": "Add a more detailed description", + "show-on-card": "Show on Card", + "new": "New", + "editUserPopup-title": "Edit User", + "newUserPopup-title": "New User", + "notifications": "Notifications", + "view-all": "View All", + "filter-by-unread": "Filter by Unread", + "mark-all-as-read": "Mark all as read", + "remove-all-read": "Remove all read", + "allow-rename": "Allow Rename", + "allowRenamePopup-title": "Allow Rename", + "start-day-of-week": "Set day of the week start", + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archived", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/he.i18n.json b/i18n/he.i18n.json new file mode 100644 index 0000000..52268a2 --- /dev/null +++ b/i18n/he.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "אישור", + "act-activity-notify": "הודעת פעילות", + "act-addAttachment": "הקובץ __attachment__ צורף אל הכרטיס __card__ ברשימה __list__ למסלול __swimlane__ שבלוח __board__", + "act-deleteAttachment": "הקובץ __attachment__ נמחק מהכרטיס __card__ ברשימה __list__ מהמסלול __swimlane__ שבלוח __board__", + "act-addSubtask": "תת־משימה __attachment__ נוספה אל הכרטיס __card__ ברשימה __list__ למסלול __swimlane__ שבלוח __board__", + "act-addLabel": "התווית __label__ נוספה לכרטיס __card__ ברשימה __list__ למסלול __swimlane__ שבלוח __board__", + "act-addedLabel": "התווית __label__ נוספה לכרטיס __card__ ברשימה __list__ למסלול __swimlane__ שבלוח __board__", + "act-removeLabel": "התווית __label__ הוסרה מהכרטיס __card__ ברשימה __list__ מהמסלול __swimlane__ שבלוח __board__", + "act-removedLabel": "התווית __label__ הוסרה מהכרטיס __card__ ברשימה __list__ מהמסלול __swimlane__ שבלוח __board__", + "act-addChecklist": "נוספה רשימת מטלות __checklist__ לכרטיס __card__ ברשימה __list__ שבמסלול __swimlane__ בלוח __board__", + "act-addChecklistItem": "נוסף פריט סימון __checklistItem__ לרשימת המטלות __checklist__ לכרטיס __card__ ברשימה __list__ במסלול __swimlane__ בלוח __board__", + "act-removeChecklist": "הוסרה רשימת מטלות __checklist__ מהכרטיס __card__ ברשימה __list__ שבמסלול __swimlane__ בלוח __board__", + "act-removeChecklistItem": "פריט הסימון __checklistItem__ הוסר מרשימת המטלות __checkList__ בכרטיס __card__ ברשימה __list__ מהמסלול __swimlane__ בלוח __board__", + "act-checkedItem": "הפריט __checklistItem__ ששייך לרשימת המשימות __checklist__ בכרטיס __card__ שברשימת __list__ במסלול __swimlane__ שבלוח __board__ סומן", + "act-uncheckedItem": "בוטל הסימון __checklistItem__ ברשימת המטלות __checklist__ בכרטיס __card__ ברשימה __list__ במסלול __swimlane__ בלוח __board__", + "act-completeChecklist": "רשימת המטלות __checklist__ בכרטיס __card__ שברשימה __list__ תחת המסלול __swimlane__ בלוח __board__ הושלמה", + "act-uncompleteChecklist": "ההשלמה של רשימת המטלות __checklist__ בכרטיס __card__ שברשימה __list__ תחת המסלול __swimlane__ בלוח __board__ בוטלה", + "act-addComment": "התקבלה תגובה על הכרטיס __card__:‏ __comment__ ברשימה __list__ במסלול __swimlane__ בלוח __board__", + "act-editComment": "התגובה בכרטיס __card__: __comment__ שברשימה __list__ שבמסלול __swimlane__ שבלוח __board__ נערכה", + "act-deleteComment": "התגובה בכרטיס __card__: __comment__ שברשימה __list__ שבמסלול __swimlane__ שבלוח __board__ נמחקה", + "act-createBoard": "הלוח __board__ נוצר", + "act-createSwimlane": "נוצר מסלול __swimlane__ בלוח __board__", + "act-createCard": "הכרטיס __card__ נוצר ברשימה __list__ במסלול __swimlane__ שבלוח __board__", + "act-createCustomField": "השדה המותאם אישית __customField__ שבלוח __board__ נוצר", + "act-deleteCustomField": "השדה המותאם אישית __customField__ שבלוח __board__ נמחק", + "act-setCustomField": "השדה המותאם אישית _customField__: __customFieldValue__ בכרטיס __card__ ברשימה __list__  במסלול __swimlane__ שבלוח __board__ נערך", + "act-createList": "הרשימה __list__ נוספה ללוח __board__", + "act-addBoardMember": "החבר __member__ נוסף אל __board__", + "act-archivedBoard": "הלוח __board__ הועבר לארכיון", + "act-archivedCard": "הכרטיס __card__ ברשימה __list__ במסלול __swimlane__ בלוח __board__ הועבר לארכיון", + "act-archivedList": "הרשימה __list__ במסלול __swimlane__ בלוח __board__ הועברה לארכיון", + "act-archivedSwimlane": "המסלול __swimlane__ בלוח __board__ הועבר לארכיון", + "act-importBoard": "הייבוא של הלוח __board__ הושלם", + "act-importCard": "הייבוא של הכרטיס __card__ לרשימה __list__ למסלול __swimlane__ ללוח __board__ הושלם", + "act-importList": "הרשימה __list__ ייובאה למסלול __swimlane__ שבלוח __board__", + "act-joinMember": "החבר __member__ נוסף לכרטיס __card__ לרשימה __list__ במסלול __swimlane__ בלוח __board__", + "act-moveCard": "הועבר הכרטיס __card__ בלוח __board__ מהרשימה __oldList__ במסלול __oldSwimlane__ לרשימה __list__ במסלול __swimlane__.", + "act-moveCardToOtherBoard": "הכרטיס __card__ הועבר מהרשימה __oldList__ במסלול __oldSwimlane__ בלוח __oldBoard__ לרשימה __list__ במסלול __swimlane__ בלוח __board__", + "act-removeBoardMember": "החבר __member__ הוסר מהלוח __board__", + "act-restoredCard": "הכרטיס __card__ שוחזר לרשימה __list__ למסלול __swimlane__ ללוח __board__", + "act-unjoinMember": "החבר __member__ הוסר מהכרטיס __card__ ברשימה __list__ במסלול __swimlane__ בלוח __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "פעולות", + "activities": "פעילויות", + "activity": "פעילות", + "activity-added": "%s נוסף ל%s", + "activity-archived": "%s הועבר לארכיון", + "activity-attached": "%s צורף ל%s", + "activity-created": "%s נוצר", + "activity-customfield-created": "נוצר שדה בהתאמה אישית %s", + "activity-excluded": "%s לא נכלל ב%s", + "activity-imported": "%s ייובא מ%s אל %s", + "activity-imported-board": "%s יובא מ%s", + "activity-joined": "הצטרפות אל %s", + "activity-moved": "%s עבר מ%s ל%s", + "activity-on": "ב%s", + "activity-removed": "%s הוסר מ%s", + "activity-sent": "%s נשלח ל%s", + "activity-unjoined": "בוטל צירוף אל %s", + "activity-subtask-added": "נוספה תת־משימה אל %s", + "activity-checked-item": "%s סומן ברשימת המשימות %s מתוך %s", + "activity-unchecked-item": "בוטל הסימון של %s ברשימת המשימות %s מתוך %s", + "activity-checklist-added": "נוספה רשימת משימות אל %s", + "activity-checklist-removed": "הוסרה רשימת משימות מ־%s", + "activity-checklist-completed": "הושלמה רשימת משימות %s מתוך %s", + "activity-checklist-uncompleted": "רשימת המשימות %s מתוך %s סומנה כבלתי מושלמת", + "activity-checklist-item-added": "נוסף פריט רשימת משימות אל ‚%s‘ תחת %s", + "activity-checklist-item-removed": "הוסר פריט מרשימת המשימות ‚%s’ תחת %s", + "add": "הוספה", + "activity-checked-item-card": "סומן %s ברשימת המשימות %s", + "activity-unchecked-item-card": "הסימון של %s בוטל ברשימת המשימות %s", + "activity-checklist-completed-card": "רשימת המטלות __checklist__ בכרטיס __card__ שברשימה __list__ תחת המסלול __swimlane__ בלוח __board__ הושלמה", + "activity-checklist-uncompleted-card": "רשימת המשימות %s סומנה כבלתי מושלמת", + "activity-editComment": "התגובה %s נערכה", + "activity-deleteComment": "התגובה %s נמחקה", + "add-attachment": "הוספת קובץ מצורף", + "add-board": "הוספת לוח", + "add-card": "הוספת כרטיס", + "add-swimlane": "הוספת מסלול", + "add-subtask": "הוסף תת משימה", + "add-checklist": "הוספת רשימת מטלות", + "add-checklist-item": "הוספת פריט לרשימת משימות", + "add-cover": "הוספת כיסוי", + "add-label": "הוספת תווית", + "add-list": "הוספת רשימה", + "add-members": "הוספת חברים", + "added": "התווסף", + "addMemberPopup-title": "חברים", + "admin": "מנהל", + "admin-desc": "יש הרשאות לצפייה ולעריכת כרטיסים, להסרת חברים ולשינוי הגדרות לוח.", + "admin-announcement": "הכרזה", + "admin-announcement-active": "הכרזת מערכת פעילה", + "admin-announcement-title": "הכרזה ממנהל המערכת", + "all-boards": "כל הלוחות", + "and-n-other-card": "וכרטיס נוסף", + "and-n-other-card_plural": "ו־__count__ כרטיסים נוספים", + "apply": "החלה", + "app-is-offline": "בטעינה, נא להמתין. רענון הדף תוביל לאבדן מידע. אם הטעינה אורכת זמן רב מדי, מוטב לבדוק אם השרת מקוון.", + "archive": "העברה לארכיון", + "archive-all": "אחסן הכל בארכיון", + "archive-board": "העברת הלוח לארכיון", + "archive-card": "העברת הכרטיס לארכיון", + "archive-list": "העברת הרשימה לארכיון", + "archive-swimlane": "העברת מסלול לארכיון", + "archive-selection": "העברת הבחירה לארכיון", + "archiveBoardPopup-title": "להעביר לוח זה לארכיון?", + "archived-items": "להעביר לארכיון", + "archived-boards": "לוחות שנשמרו בארכיון", + "restore-board": "שחזור לוח", + "no-archived-boards": "לא נשמרו לוחות בארכיון.", + "archives": "להעביר לארכיון", + "template": "תבנית", + "templates": "תבניות", + "assign-member": "הקצאת חבר", + "attached": "מצורף", + "attachment": "קובץ מצורף", + "attachment-delete-pop": "מחיקת קובץ מצורף הנה סופית. אין דרך חזרה.", + "attachmentDeletePopup-title": "למחוק קובץ מצורף?", + "attachments": "קבצים מצורפים", + "auto-watch": "הוספת לוחות למעקב כשהם נוצרים", + "avatar-too-big": "תמונת המשתמש גדולה מדי (70 ק״ב לכל היותר)", + "back": "חזרה", + "board-change-color": "שינוי צבע", + "board-nb-stars": "%s כוכבים", + "board-not-found": "לוח לא נמצא", + "board-private-info": "לוח זה יהיה פרטי.", + "board-public-info": "לוח זה יהיה ציבורי.", + "boardChangeColorPopup-title": "שינוי רקע ללוח", + "boardChangeTitlePopup-title": "שינוי שם הלוח", + "boardChangeVisibilityPopup-title": "שינוי מצב הצגה", + "boardChangeWatchPopup-title": "שינוי הגדרת המעקב", + "boardMenuPopup-title": "הגדרות לוח", + "boardChangeViewPopup-title": "תצוגת לוח", + "boards": "לוחות", + "board-view": "תצוגת לוח", + "board-view-cal": "לוח שנה", + "board-view-swimlanes": "מסלולים", + "board-view-collapse": "צמצום", + "board-view-lists": "רשימות", + "bucket-example": "כמו למשל „רשימת המשימות“", + "cancel": "ביטול", + "card-archived": "כרטיס זה שמור בארכיון.", + "board-archived": "הלוח עבר לארכיון", + "card-comments-title": "לכרטיס זה %s תגובות.", + "card-delete-notice": "מחיקה היא סופית. כל הפעולות המשויכות לכרטיס זה תלכנה לאיבוד.", + "card-delete-pop": "כל הפעולות יוסרו מלוח הפעילות ולא תהיה אפשרות לפתוח מחדש את הכרטיס. אין דרך חזרה.", + "card-delete-suggest-archive": "על מנת להסיר כרטיסים מהלוח מבלי לאבד את היסטוריית הפעילות שלהם, ניתן לשמור אותם בארכיון.", + "card-due": "תאריך יעד", + "card-due-on": "תאריך יעד", + "card-spent": "זמן שהושקע", + "card-edit-attachments": "עריכת קבצים מצורפים", + "card-edit-custom-fields": "עריכת שדות בהתאמה אישית", + "card-edit-labels": "עריכת תוויות", + "card-edit-members": "עריכת חברים", + "card-labels-title": "שינוי תוויות לכרטיס.", + "card-members-title": "הוספה או הסרה של חברי הלוח מהכרטיס.", + "card-start": "התחלה", + "card-start-on": "מתחיל ב־", + "cardAttachmentsPopup-title": "לצרף מ־", + "cardCustomField-datePopup-title": "החלפת תאריך", + "cardCustomFieldsPopup-title": "עריכת שדות בהתאמה אישית", + "cardStartVotingPopup-title": "התחלת הצבעה", + "positiveVoteMembersPopup-title": "תומכים", + "negativeVoteMembersPopup-title": "יריבים", + "card-edit-voting": "שינוי הצבעה", + "editVoteEndDatePopup-title": "החלפת מועד סיום הצבעה", + "allowNonBoardMembers": "לאפשר לכל המשתמשים הרשומים", + "vote-question": "שאלת הסקר", + "vote-public": "להציג מי הצביע למה", + "vote-for-it": "בעד", + "vote-against": "נגד", + "deleteVotePopup-title": "למחוק הצבעה?", + "vote-delete-pop": "מחיקה היא לצמיתות. כל הפעולות המשויכות להצבעה זו תלכנה לאיבוד.", + "cardDeletePopup-title": "למחוק כרטיס?", + "cardDetailsActionsPopup-title": "פעולות על הכרטיס", + "cardLabelsPopup-title": "תוויות", + "cardMembersPopup-title": "חברים", + "cardMorePopup-title": "עוד", + "cardTemplatePopup-title": "יצירת תבנית", + "cards": "כרטיסים", + "cards-count": "כרטיסים", + "casSignIn": "כניסה עם CAS", + "cardType-card": "כרטיס", + "cardType-linkedCard": "כרטיס מקושר", + "cardType-linkedBoard": "לוח מקושר", + "change": "שינוי", + "change-avatar": "החלפת תמונת משתמש", + "change-password": "החלפת ססמה", + "change-permissions": "שינוי הרשאות", + "change-settings": "שינוי הגדרות", + "changeAvatarPopup-title": "שינוי תמונת משתמש", + "changeLanguagePopup-title": "החלפת שפה", + "changePasswordPopup-title": "החלפת ססמה", + "changePermissionsPopup-title": "שינוי הרשאות", + "changeSettingsPopup-title": "שינוי הגדרות", + "subtasks": "תת משימות", + "checklists": "רשימות", + "click-to-star": "יש ללחוץ להוספת הלוח למועדפים.", + "click-to-unstar": "יש ללחוץ להסרת הלוח מהמועדפים.", + "clipboard": "לוח גזירים או גרירה ושחרור", + "close": "סגירה", + "close-board": "סגירת לוח", + "close-board-pop": "ניתן לשחזר את הלוח בלחיצה על כפתור „ארכיונים“ מהכותרת העליונה.", + "color-black": "שחור", + "color-blue": "כחול", + "color-crimson": "שני", + "color-darkgreen": "ירוק כהה", + "color-gold": "זהב", + "color-gray": "אפור", + "color-green": "ירוק", + "color-indigo": "אינדיגו", + "color-lime": "ליים", + "color-magenta": "ארגמן", + "color-mistyrose": "ורד", + "color-navy": "כחול כהה", + "color-orange": "כתום", + "color-paleturquoise": "טורקיז חיוור", + "color-peachpuff": "נשיפת אפרסק", + "color-pink": "ורוד", + "color-plum": "שזיף", + "color-purple": "סגול", + "color-red": "אדום", + "color-saddlebrown": "חום אוכף", + "color-silver": "כסף", + "color-sky": "תכלת", + "color-slateblue": "צפחה כחולה", + "color-white": "לבן", + "color-yellow": "צהוב", + "unset-color": "בטל הגדרה", + "comment": "לפרסם", + "comment-placeholder": "כתיבת הערה", + "comment-only": "הערה בלבד", + "comment-only-desc": "ניתן להגיב על כרטיסים בלבד.", + "no-comments": "אין הערות", + "no-comments-desc": "לא ניתן לצפות בתגובות ובפעילויות.", + "worker": "עובד/ת", + "worker-desc": "אפשר רק להעביר כרטיסים, להקצות כרטיסים לעצמו/ה ולהגיב.", + "computer": "מחשב", + "confirm-subtask-delete-dialog": "למחוק את תת המשימה?", + "confirm-checklist-delete-dialog": "למחוק את רשימת המשימות?", + "copy-card-link-to-clipboard": "העתקת קישור הכרטיס ללוח הגזירים", + "linkCardPopup-title": "קישור כרטיס", + "searchElementPopup-title": "חיפוש", + "copyCardPopup-title": "העתקת כרטיס", + "copyChecklistToManyCardsPopup-title": "העתקת תבנית רשימת מטלות למגוון כרטיסים", + "copyChecklistToManyCardsPopup-instructions": "כותרות ותיאורים של כרטיסי יעד בתצורת JSON זו", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"כותרת כרטיס ראשון\", \"description\":\"תיאור כרטיס ראשון\"}, {\"title\":\"כותרת כרטיס שני\",\"description\":\"תיאור כרטיס שני\"},{\"title\":\"כותרת כרטיס אחרון\",\"description\":\"תיאור כרטיס אחרון\"} ]", + "create": "יצירה", + "createBoardPopup-title": "יצירת לוח", + "chooseBoardSourcePopup-title": "יבוא לוח", + "createLabelPopup-title": "יצירת תווית", + "createCustomField": "יצירת שדה", + "createCustomFieldPopup-title": "יצירת שדה", + "current": "נוכחי", + "custom-field-delete-pop": "אין אפשרות לבטל את הפעולה. הפעולה תסיר את השדה שהותאם אישית מכל הכרטיסים ותשמיד את ההיסטוריה שלו.", + "custom-field-checkbox": "תיבת סימון", + "custom-field-currency": "מטבע", + "custom-field-currency-option": "קוד מטבע", + "custom-field-date": "תאריך", + "custom-field-dropdown": "רשימה נגללת", + "custom-field-dropdown-none": "(ללא)", + "custom-field-dropdown-options": "אפשרויות רשימה", + "custom-field-dropdown-options-placeholder": "יש ללחוץ על enter כדי להוסיף עוד אפשרויות", + "custom-field-dropdown-unknown": "(לא ידוע)", + "custom-field-number": "מספר", + "custom-field-text": "טקסט", + "custom-fields": "שדות מותאמים אישית", + "date": "תאריך", + "decline": "סירוב", + "default-avatar": "תמונת משתמש כבררת מחדל", + "delete": "מחיקה", + "deleteCustomFieldPopup-title": "למחוק שדה מותאם אישית?", + "deleteLabelPopup-title": "למחוק תווית?", + "description": "תיאור", + "disambiguateMultiLabelPopup-title": "הבהרת פעולת תווית", + "disambiguateMultiMemberPopup-title": "הבהרת פעולת חבר", + "discard": "התעלמות", + "done": "בוצע", + "download": "הורדה", + "edit": "עריכה", + "edit-avatar": "החלפת תמונת משתמש", + "edit-profile": "עריכת פרופיל", + "edit-wip-limit": "עריכת מגבלת „בעבודה”", + "soft-wip-limit": "מגבלת „בעבודה” רכה", + "editCardStartDatePopup-title": "שינוי מועד התחלה", + "editCardDueDatePopup-title": "שינוי מועד סיום", + "editCustomFieldPopup-title": "עריכת שדה", + "editCardSpentTimePopup-title": "שינוי הזמן שהושקע", + "editLabelPopup-title": "שינוי תווית", + "editNotificationPopup-title": "שינוי דיווח", + "editProfilePopup-title": "עריכת פרופיל", + "email": "דוא״ל", + "email-enrollAccount-subject": "נוצר עבורך חשבון באתר __siteName__", + "email-enrollAccount-text": "__user__ שלום,\n\nכדי להתחיל להשתמש בשירות, יש ללחוץ על הקישור המופיע להלן.\n\n__url__\n\nתודה.", + "email-fail": "שליחת ההודעה בדוא״ל נכשלה", + "email-fail-text": "שגיאה בעת ניסיון לשליחת הודעת דוא״ל", + "email-invalid": "כתובת דוא״ל לא חוקית", + "email-invite": "הזמנה באמצעות דוא״ל", + "email-invite-subject": "נשלחה אליך הזמנה מאת __inviter__", + "email-invite-text": "__user__ שלום,\n\nהוזמנת על ידי __inviter__ להצטרף ללוח „__board__“ להמשך שיתוף הפעולה.\n\nנא ללחוץ על הקישור המופיע להלן:\n\n__url__\n\nתודה.", + "email-resetPassword-subject": "ניתן לאפס את ססמתך לאתר __siteName__", + "email-resetPassword-text": "__user__ שלום,\n\nכדי לאפס את ססמתך, יש ללחוץ על הקישור המופיע להלן.\n\n__url__\n\nתודה.", + "email-sent": "הודעת הדוא״ל נשלחה", + "email-verifyEmail-subject": "אימות כתובת הדוא״ל שלך באתר __siteName__", + "email-verifyEmail-text": "__user__ שלום,\n\nלאימות כתובת הדוא״ל המשויכת לחשבונך, עליך פשוט ללחוץ על הקישור המופיע להלן.\n\n__url__\n\nתודה.", + "enable-wip-limit": "הפעלת מגבלת „בעבודה”", + "error-board-doesNotExist": "לוח זה אינו קיים", + "error-board-notAdmin": "צריכות להיות לך הרשאות ניהול על לוח זה כדי לעשות זאת", + "error-board-notAMember": "עליך לקבל חברות בלוח זה כדי לעשות זאת", + "error-json-malformed": "הטקסט שלך אינו JSON תקין", + "error-json-schema": "נתוני ה־JSON שלך לא כוללים את המידע הנכון בתבנית הנכונה", + "error-csv-schema": "ה־CSV (ערכים מופרדים בפסיקים)/‏TSV (ערכים מופרדים בטאבים) שלך לא כולל את המידע הנכון בצורה הנכונה.", + "error-list-doesNotExist": "רשימה זו לא קיימת", + "error-user-doesNotExist": "משתמש זה לא קיים", + "error-user-notAllowSelf": "אינך יכול להזמין את עצמך", + "error-user-notCreated": "משתמש זה לא נוצר", + "error-username-taken": "המשתמש כבר קיים במערכת", + "error-email-taken": "כתובת הדוא״ל כבר נמצאת בשימוש", + "export-board": "ייצוא לוח", + "export-board-json": "ייצוא לוח ל־JSON", + "export-board-csv": "ייצוא לוח ל־CSV", + "export-board-tsv": "ייצוא לוח ל־TSV", + "export-board-html": "ייצוא לוח ל־HTML", + "exportBoardPopup-title": "ייצוא לוח", + "sort": "מיון", + "sort-desc": "לחיצה למיון הרשימה", + "list-sort-by": "מיון הרשימה לפי:", + "list-label-modifiedAt": "מועד הגישה האחרון:", + "list-label-title": "שם הרשימה", + "list-label-sort": "סדר ידני משלך", + "list-label-short-modifiedAt": "(ג)", + "list-label-short-title": "(ש)", + "list-label-short-sort": "(י)", + "filter": "מסנן", + "filter-cards": "סינון כרטיסים או רשימות", + "list-filter-label": "סינון רשימה לפי כותרת", + "filter-clear": "ניקוי המסנן", + "filter-no-label": "אין תווית", + "filter-no-member": "אין חבר כזה", + "filter-no-assignee": "אין אחראי", + "filter-no-custom-fields": "אין שדות מותאמים אישית", + "filter-show-archive": "הצגת רשימות שהועברו לארכיון", + "filter-hide-empty": "הסתרת רשימות ריקות", + "filter-on": "המסנן פועל", + "filter-on-desc": "מסנן כרטיסים פעיל בלוח זה. יש ללחוץ כאן לעריכת המסנן.", + "filter-to-selection": "סינון לבחירה", + "advanced-filter-label": "מסנן מתקדם", + "advanced-filter-description": "המסנן המתקדם מאפשר לך לכתוב מחרוזת שמכילה את הפעולות הבאות: == != <= >= && || ( ) רווח מכהן כמפריד בין הפעולות. ניתן לסנן את כל השדות המותאמים אישית על ידי הקלדת שמם והערך שלהם. למשל: שדה1 == ערך1. לתשומת לבך: אם שדות או ערכים מכילים רווח, יש לעטוף אותם במירכא מכל צד. למשל: 'שדה 1' == 'ערך 1'. ניתן גם לשלב מגוון תנאים. למשל: F1 == V1 || F1 == V2. על פי רוב כל הפעולות מפוענחות משמאל לימין. ניתן לשנות את הסדר על ידי הצבת סוגריים. למשל: ( F1 == V1 && ( F2 == V2 || F2 == V3. כמו כן, ניתן לחפש בשדה טקסט באופן הבא: F1 == /Tes.*/i", + "fullname": "שם מלא", + "header-logo-title": "חזרה לדף הלוחות שלך.", + "hide-system-messages": "הסתרת הודעות מערכת", + "headerBarCreateBoardPopup-title": "יצירת לוח", + "home": "בית", + "import": "יבוא", + "link": "קישור", + "import-board": "ייבוא לוח", + "import-board-c": "יבוא לוח", + "import-board-title-trello": "ייבוא לוח מטרלו", + "import-board-title-wekan": "ייבוא לוח מייצוא קודם", + "import-board-title-csv": "ייבוא לוח מ־CSV/TSV", + "from-trello": "מ־Trello", + "from-wekan": "מייצוא קודם", + "from-csv": "מ־CSV/TSV", + "import-board-instruction-trello": "בלוח הטרלו שלך, עליך ללחוץ על ‚תפריט‘, ואז על ‚עוד‘, ‚הדפסה וייצוא‘, ‚יצוא JSON‘ ולהעתיק את הטקסט שנוצר.", + "import-board-instruction-csv": "נא להדביק את הערכים מופרדים בפסיקים (CSV)/ערכים מופרדים בטאבים (TSV) שלך.", + "import-board-instruction-wekan": "בלוח שלך עליך לגשת אל ‚תפריט’, לאחר מכן ‚ייצוא לוח’ ואז להעתיק את הטקסט מהקובץ שהתקבל.", + "import-board-instruction-about-errors": "גם אם התקבלו שגיאות בעת יבוא לוח, ייתכן שהייבוא עבד. כדי לבדוק זאת, יש להיכנס ל„כל הלוחות”.", + "import-json-placeholder": "יש להדביק את נתוני ה־JSON התקינים לכאן", + "import-csv-placeholder": "נא להדביק את נתוני ה־CSV/TSV התקינים שלך כאן", + "import-map-members": "מיפוי חברים", + "import-members-map": "הלוחות המיובאים שלך מכילים חברים. נא למפות את החברים שברצונך לייבא למשתמשים שלך", + "import-show-user-mapping": "סקירת מיפוי חברים", + "import-user-select": "נא לבחור את המשתמש ב־Wekan אותו ברצונך למפות אל חבר זה", + "importMapMembersAddPopup-title": "בחירת משתמש", + "info": "גרסה", + "initials": "ראשי תיבות", + "invalid-date": "תאריך שגוי", + "invalid-time": "זמן שגוי", + "invalid-user": "משתמש שגוי", + "joined": "הצטרף", + "just-invited": "הוזמנת ללוח זה", + "keyboard-shortcuts": "קיצורי מקלדת", + "label-create": "יצירת תווית", + "label-default": "תווית בצבע %s (בררת מחדל)", + "label-delete-pop": "אין דרך חזרה. התווית תוסר מכל הכרטיסים וההיסטוריה תימחק.", + "labels": "תוויות", + "language": "שפה", + "last-admin-desc": "אין אפשרות לשנות תפקידים כיוון שחייב להיות מנהל אחד לפחות.", + "leave-board": "עזיבת הלוח", + "leave-board-pop": "לעזוב את __boardTitle__? שמך יוסר מכל הכרטיסים שבלוח זה.", + "leaveBoardPopup-title": "לעזוב לוח ?", + "link-card": "קישור לכרטיס זה", + "list-archive-cards": "העברת כל הכרטיסים שברשימה זו לארכיון", + "list-archive-cards-pop": "כל הכרטיסים מרשימה זו יוסרו מהלוח. לצפייה בכרטיסים השמורים בארכיון ולהחזירם ללוח, ניתן ללחוץ על „תפריט” > „פריטים בארכיון”.", + "list-move-cards": "העברת כל הכרטיסים שברשימה זו", + "list-select-cards": "בחירת כל הכרטיסים שברשימה זו", + "set-color-list": "הגדרת צבע", + "listActionPopup-title": "פעולות רשימה", + "swimlaneActionPopup-title": "פעולות על מסלול", + "swimlaneAddPopup-title": "הוספת מסלול מתחת", + "listImportCardPopup-title": "יבוא כרטיס מ־Trello", + "listImportCardsTsvPopup-title": "ייבוא CSV/TSV מסוג Excel", + "listMorePopup-title": "עוד", + "link-list": "קישור לרשימה זו", + "list-delete-pop": "כל הפעולות תוסרנה מרצף הפעילות ולא תהיה לך אפשרות לשחזר את הרשימה. אין ביטול.", + "list-delete-suggest-archive": "ניתן לשמור רשימה בארכיון כדי להסיר אותה מהלוח ולשמור על היסטוריית הפעילות.", + "lists": "רשימות", + "swimlanes": "מסלולים", + "log-out": "יציאה", + "log-in": "כניסה", + "loginPopup-title": "כניסה", + "memberMenuPopup-title": "הגדרות חברות", + "members": "חברים", + "menu": "תפריט", + "move-selection": "העברת הבחירה", + "moveCardPopup-title": "העברת כרטיס", + "moveCardToBottom-title": "העברה לתחתית הרשימה", + "moveCardToTop-title": "העברה לראש הרשימה", + "moveSelectionPopup-title": "העברת בחירה", + "multi-selection": "בחירה מרובה", + "multi-selection-on": "בחירה מרובה פועלת", + "muted": "מושתק", + "muted-info": "מעתה לא תתקבלנה אצלך התרעות על שינויים בלוח זה", + "my-boards": "הלוחות שלי", + "name": "שם", + "no-archived-cards": "אין כרטיסים בארכיון", + "no-archived-lists": "אין רשימות בארכיון", + "no-archived-swimlanes": "אין מסלולים בארכיון.", + "no-results": "אין תוצאות", + "normal": "רגיל", + "normal-desc": "הרשאה לצפות ולערוך כרטיסים. לא ניתן לשנות הגדרות.", + "not-accepted-yet": "ההזמנה לא אושרה עדיין", + "notify-participate": "קבלת עדכונים על כרטיסים בהם יש לך מעורבות הן בתהליך היצירה והן כחבר", + "notify-watch": "קבלת עדכונים על כל לוח, רשימה או כרטיס שסימנת למעקב", + "optional": "רשות", + "or": "או", + "page-maybe-private": "יתכן שדף זה פרטי. ניתן לצפות בו על ידי כניסה למערכת", + "page-not-found": "דף לא נמצא.", + "password": "ססמה", + "paste-or-dragdrop": "כדי להדביק או לגרור ולשחרר קובץ תמונה אליו (תמונות בלבד)", + "participating": "משתתפים", + "preview": "תצוגה מקדימה", + "previewAttachedImagePopup-title": "תצוגה מקדימה", + "previewClipboardImagePopup-title": "תצוגה מקדימה", + "private": "פרטי", + "private-desc": "לוח זה פרטי. רק אנשים שנוספו ללוח יכולים לצפות ולערוך אותו.", + "profile": "פרופיל", + "public": "ציבורי", + "public-desc": "לוח זה ציבורי. כל מי שמחזיק בקישור יכול לצפות בלוח והוא יופיע בתוצאות מנועי חיפוש כגון גוגל. רק אנשים שנוספו ללוח יכולים לערוך אותו.", + "quick-access-description": "לחיצה על הכוכב תוסיף קיצור דרך ללוח בשורה זו.", + "remove-cover": "הסרת כיסוי", + "remove-from-board": "הסרה מהלוח", + "remove-label": "הסרת תווית", + "listDeletePopup-title": "למחוק את הרשימה?", + "remove-member": "הסרת חבר", + "remove-member-from-card": "הסרה מהכרטיס", + "remove-member-pop": "להסיר את __name__ (__username__) מ__boardTitle__? התהליך יגרום להסרת החבר מכל הכרטיסים בלוח זה. תישלח הודעה אל החבר.", + "removeMemberPopup-title": "להסיר חבר?", + "rename": "שינוי שם", + "rename-board": "שינוי שם ללוח", + "restore": "שחזור", + "save": "שמירה", + "search": "חיפוש", + "rules": "כללים", + "search-cards": "חיפוש מבין כותרות של כרטיסים/רשימות, תיאורים ושדות בהתאמה אישית בלוח זה", + "search-example": "טקסט לחיפוש ?", + "select-color": "בחירת צבע", + "set-wip-limit-value": "הגדרת מגבלה למספר המרבי של משימות ברשימה זו", + "setWipLimitPopup-title": "הגדרת מגבלת „בעבודה”", + "shortcut-assign-self": "להקצות אותי לכרטיס הנוכחי", + "shortcut-autocomplete-emoji": "השלמה אוטומטית לאימוג׳י", + "shortcut-autocomplete-members": "השלמה אוטומטית של חברים", + "shortcut-clear-filters": "ביטול כל המסננים", + "shortcut-close-dialog": "סגירת החלון", + "shortcut-filter-my-cards": "סינון הכרטיסים שלי", + "shortcut-show-shortcuts": "העלאת רשימת קיצורים זו", + "shortcut-toggle-filterbar": "הצגה או הסתרה של סרגל צד הסינון", + "shortcut-toggle-sidebar": "הצגה או הסתרה של סרגל צד הלוח", + "show-cards-minimum-count": "הצגת ספירת כרטיסים אם רשימה מכילה למעלה מ־", + "sidebar-open": "פתיחת סרגל צד", + "sidebar-close": "סגירת סרגל צד", + "signupPopup-title": "יצירת חשבון", + "star-board-title": "ניתן ללחוץ כדי לסמן בכוכב. הלוח יופיע בראש רשימת הלוחות שלך.", + "starred-boards": "לוחות שסומנו בכוכב", + "starred-boards-description": "לוחות מסומנים בכוכב מופיעים בראש רשימת הלוחות שלך.", + "subscribe": "הרשמה", + "team": "צוות", + "this-board": "לוח זה", + "this-card": "כרטיס זה", + "spent-time-hours": "זמן שהושקע (שעות)", + "overtime-hours": "שעות נוספות", + "overtime": "שעות נוספות", + "has-overtime-cards": "יש כרטיסי שעות נוספות", + "has-spenttime-cards": "יש כרטיסי זמן שהושקע", + "time": "זמן", + "title": "כותרת", + "tracking": "מעקב", + "tracking-info": "על כל שינוי בכרטיסים בהם הייתה לך מעורבות ברמת היצירה או כחברות תגיע אליך הודעה.", + "type": "סוג", + "unassign-member": "ביטול הקצאת חבר", + "unsaved-description": "יש לך תיאור לא שמור.", + "unwatch": "ביטול מעקב", + "upload": "העלאה", + "upload-avatar": "העלאת תמונת משתמש", + "uploaded-avatar": "הועלתה תמונה משתמש", + "username": "שם משתמש", + "view-it": "הצגה", + "warn-list-archived": "אזהרה: כרטיס זה הוא חלק מרשימה שנמצאת בארכיון", + "watch": "לעקוב", + "watching": "במעקב", + "watching-info": "מעתה יגיעו אליך דיווחים על כל שינוי בלוח זה", + "welcome-board": "לוח קבלת פנים", + "welcome-swimlane": "ציון דרך 1", + "welcome-list1": "יסודות", + "welcome-list2": "מתקדם", + "card-templates-swimlane": "תבניות כרטיסים", + "list-templates-swimlane": "תבניות רשימות", + "board-templates-swimlane": "תבניות לוחות", + "what-to-do": "מה ברצונך לעשות?", + "wipLimitErrorPopup-title": "מגבלת „בעבודה” שגויה", + "wipLimitErrorPopup-dialog-pt1": "מספר המשימות ברשימה זו גדולה ממגבלת הפריטים „בעבודה” שהגדרת.", + "wipLimitErrorPopup-dialog-pt2": "נא להוציא חלק מהמשימות מרשימה זו או להגדיר מגבלת „בעבודה” גדולה יותר.", + "admin-panel": "חלונית ניהול המערכת", + "settings": "הגדרות", + "people": "אנשים", + "registration": "הרשמה", + "disable-self-registration": "השבתת הרשמה עצמית", + "invite": "הזמנה", + "invite-people": "הזמנת אנשים", + "to-boards": "ללוח/ות", + "email-addresses": "כתובות דוא״ל", + "smtp-host-description": "כתובת שרת ה־SMTP שמטפל בהודעות הדוא״ל שלך.", + "smtp-port-description": "מספר הפתחה בה שרת ה־SMTP שלך משתמש לדוא״ל יוצא.", + "smtp-tls-description": "הפעל תמיכה ב־TLS עבור שרת ה־SMTP", + "smtp-host": "כתובת ה־SMTP", + "smtp-port": "פתחת ה־SMTP", + "smtp-username": "שם משתמש", + "smtp-password": "ססמה", + "smtp-tls": "תמיכה ב־TLS", + "send-from": "מאת", + "send-smtp-test": "שליחת דוא״ל בדיקה לעצמך", + "invitation-code": "קוד הזמנה", + "email-invite-register-subject": "נשלחה אליך הזמנה מאת __inviter__", + "email-invite-register-text": "לכבוד __user__,\n\nהוזמנת על ידי __inviter__ לקחת חלק בלוח קנבאן.\n\nנא ללחוץ על הקישור הבא:\n__url__\n\nקוד ההזמנה הוא: __icode__\n\nתודה.", + "email-smtp-test-subject": "דוא״ל לבדיקת SMTP", + "email-smtp-test-text": "שלחת הודעת דוא״ל בהצלחה", + "error-invitation-code-not-exist": "קוד ההזמנה אינו קיים", + "error-notAuthorized": "אין לך הרשאה לצפות בעמוד זה.", + "webhook-title": "שם ההתלייה", + "webhook-token": "אסימון (כרשות לצורך אימות)", + "outgoing-webhooks": "קרסי רשת יוצאים", + "bidirectional-webhooks": "התליות דו־כיווניות", + "outgoingWebhooksPopup-title": "קרסי רשת יוצאים", + "boardCardTitlePopup-title": "מסנן כותרת כרטיס", + "disable-webhook": "השבתת ההתלייה הזאת", + "global-webhook": "התליות גלובליות", + "new-outgoing-webhook": "קרסי רשת יוצאים חדשים", + "no-name": "(לא ידוע)", + "Node_version": "גרסת Node", + "Meteor_version": "גרסת Meteor", + "MongoDB_version": "גרסת MongoDB", + "MongoDB_storage_engine": "מנוע אחסון MongoDB", + "MongoDB_Oplog_enabled": "יומן הפעילות (Oplog) של MongoDB פעיל", + "OS_Arch": "ארכיטקטורת מערכת הפעלה", + "OS_Cpus": "מספר מעבדים", + "OS_Freemem": "זיכרון (RAM) פנוי", + "OS_Loadavg": "עומס ממוצע", + "OS_Platform": "מערכת הפעלה", + "OS_Release": "גרסת מערכת הפעלה", + "OS_Totalmem": "סך כל הזיכרון (RAM)", + "OS_Type": "סוג מערכת ההפעלה", + "OS_Uptime": "זמן שעבר מאז האתחול האחרון", + "days": "ימים", + "hours": "שעות", + "minutes": "דקות", + "seconds": "שניות", + "show-field-on-card": "הצגת שדה זה בכרטיס", + "automatically-field-on-card": "הוספת שדה לכל הכרטיסים", + "showLabel-field-on-card": "הצגת תווית של השדה בכרטיס מוקטן", + "yes": "כן", + "no": "לא", + "accounts": "חשבונות", + "accounts-allowEmailChange": "לאפשר שינוי דוא״ל", + "accounts-allowUserNameChange": "לאפשר שינוי שם משתמש", + "createdAt": "נוצר ב", + "verified": "עבר אימות", + "active": "פעיל", + "card-received": "התקבל", + "card-received-on": "התקבל במועד", + "card-end": "סיום", + "card-end-on": "מועד הסיום", + "editCardReceivedDatePopup-title": "החלפת מועד הקבלה", + "editCardEndDatePopup-title": "החלפת מועד הסיום", + "setCardColorPopup-title": "הגדרת צבע", + "setCardActionsColorPopup-title": "בחירת צבע", + "setSwimlaneColorPopup-title": "בחירת צבע", + "setListColorPopup-title": "בחירת צבע", + "assigned-by": "הוקצה על ידי", + "requested-by": "התבקש על ידי", + "board-delete-notice": "מחיקה היא לצמיתות. כל הרשימות, הכרטיבים והפעולות שקשורים בלוח הזה ילכו לאיבוד.", + "delete-board-confirm-popup": "כל הרשימות, הכרטיסים, התווית והפעולות יימחקו ולא תהיה לך דרך לשחזר את תכני הלוח. אין אפשרות לבטל.", + "boardDeletePopup-title": "למחוק את הלוח?", + "delete-board": "מחיקת לוח", + "default-subtasks-board": "תת־משימות עבור הלוח __board__", + "default": "בררת מחדל", + "queue": "תור", + "subtask-settings": "הגדרות תתי משימות", + "card-settings": "הגדרות כרטיס", + "boardSubtaskSettingsPopup-title": "הגדרות תת־משימות בלוח", + "boardCardSettingsPopup-title": "הגדרות כרטיס", + "deposit-subtasks-board": "הפקדת תת־משימות ללוח הזה:", + "deposit-subtasks-list": "רשימות נחיתה עבור תת־משימות שהופקדו כאן:", + "show-parent-in-minicard": "הצגת ההורה במיני כרטיס:", + "prefix-with-full-path": "קידומת עם נתיב מלא", + "prefix-with-parent": "קידומת עם הורה", + "subtext-with-full-path": "טקסט סמוי עם נתיב מלא", + "subtext-with-parent": "טקסט סמוי עם הורה", + "change-card-parent": "החלפת הורה הכרטיס", + "parent-card": "כרטיס הורה", + "source-board": "לוח מקור", + "no-parent": "לא להציג את ההורה", + "activity-added-label": "התווית ‚%s’ נוספה אל %s", + "activity-removed-label": "התווית ‚%s’ הוסרה מ־%s", + "activity-delete-attach": "הקובץ המצורף נמחק מ־%s", + "activity-added-label-card": "התווית ‚%s’ נוספה", + "activity-removed-label-card": "התווית ‚%s’ הוסרה", + "activity-delete-attach-card": "קובץ מצורף נמחק", + "activity-set-customfield": "הגדרת שדה בהתאמה אישית ‚%s’ לערך ‚%s’ תחת %s", + "activity-unset-customfield": "ביטול הגדרת שדה בהתאמה אישית ‚%s’ תחת %s", + "r-rule": "כלל", + "r-add-trigger": "הוספת הקפצה", + "r-add-action": "הוספת פעולה", + "r-board-rules": "כללי הלוח", + "r-add-rule": "הוספת כלל", + "r-view-rule": "הצגת כלל", + "r-delete-rule": "מחיקת כל", + "r-new-rule-name": "שמו של הכלל החדש", + "r-no-rules": "אין כללים", + "r-trigger": "הקפצה", + "r-action": "פעולה", + "r-when-a-card": "כאשר כרטיס", + "r-is": "הוא", + "r-is-moved": "מועבר", + "r-added-to": "נוסף אל", + "r-removed-from": "מוסר מ־", + "r-the-board": "הלוח", + "r-list": "רשימה", + "set-filter": "הגדרת מסנן", + "r-moved-to": "מועבר אל", + "r-moved-from": "מועבר מ־", + "r-archived": "הועבר לארכיון", + "r-unarchived": "הוחזר מהארכיון", + "r-a-card": "כרטיס", + "r-when-a-label-is": "כאשר תווית", + "r-when-the-label": "כאשר התווית היא", + "r-list-name": "שם הרשימה", + "r-when-a-member": "כאשר חבר הוא", + "r-when-the-member": "כאשר חבר", + "r-name": "שם", + "r-when-a-attach": "כאשר קובץ מצורף", + "r-when-a-checklist": "כאשר רשימת משימות", + "r-when-the-checklist": "כאשר רשימת המשימות", + "r-completed": "הושלמה", + "r-made-incomplete": "סומנה כבלתי מושלמת", + "r-when-a-item": "כאשר פריט ברשימת משימות", + "r-when-the-item": "כאשר הפריט ברשימת משימות", + "r-checked": "מסומן", + "r-unchecked": "לא מסומן", + "r-move-card-to": "העברת הכרטיס אל", + "r-top-of": "ראש", + "r-bottom-of": "תחתית", + "r-its-list": "הרשימה שלו", + "r-archive": "העברה לארכיון", + "r-unarchive": "החזרה מהארכיון", + "r-card": "כרטיס", + "r-add": "הוספה", + "r-remove": "הסרה", + "r-label": "תווית", + "r-member": "חבר", + "r-remove-all": "הסרת כל החברים מהכרטיס", + "r-set-color": "הגדרת צבע לכדי", + "r-checklist": "רשימת משימות", + "r-check-all": "לסמן הכול", + "r-uncheck-all": "לבטל את הסימון", + "r-items-check": "פריטים ברשימת משימות", + "r-check": "סימון", + "r-uncheck": "ביטול סימון", + "r-item": "פריט", + "r-of-checklist": "של רשימת משימות", + "r-send-email": "שליחת דוא״ל", + "r-to": "אל", + "r-of": "מתוך", + "r-subject": "נושא", + "r-rule-details": "פרטי הכלל", + "r-d-move-to-top-gen": "העברת כרטיס לראש הרשימה שלו", + "r-d-move-to-top-spec": "העברת כרטיס לראש רשימה", + "r-d-move-to-bottom-gen": "העברת כרטיס לתחתית הרשימה שלו", + "r-d-move-to-bottom-spec": "העברת כרטיס לתחתית רשימה", + "r-d-send-email": "שליחת דוא״ל", + "r-d-send-email-to": "אל", + "r-d-send-email-subject": "נושא", + "r-d-send-email-message": "הודעה", + "r-d-archive": "העברת כרטיס לארכיון", + "r-d-unarchive": "החזרת כרטיס מהארכיון", + "r-d-add-label": "הוספת תווית", + "r-d-remove-label": "הסרת תווית", + "r-create-card": "יצירת כרטיס חדש", + "r-in-list": "ברשימה", + "r-in-swimlane": "במסלול", + "r-d-add-member": "הוספת חבר", + "r-d-remove-member": "הסרת חבר", + "r-d-remove-all-member": "הסרת כל החברים", + "r-d-check-all": "סימון כל הפריטים ברשימה", + "r-d-uncheck-all": "ביטול סימון הפריטים ברשימה", + "r-d-check-one": "סימון פריט", + "r-d-uncheck-one": "ביטול סימון פריט", + "r-d-check-of-list": "של רשימת משימות", + "r-d-add-checklist": "הוספת רשימת משימות", + "r-d-remove-checklist": "הסרת רשימת משימות", + "r-by": "על ידי", + "r-add-checklist": "הוספת רשימת משימות", + "r-with-items": "עם פריטים", + "r-items-list": "פריט1,פריט2,פריט3", + "r-add-swimlane": "הוספת מסלול", + "r-swimlane-name": "שם המסלול", + "r-board-note": "לתשומת לבך: ניתן להשאיר את השדה ריק כדי ללכוד כל ערך אפשרי.", + "r-checklist-note": "לתשומת לבך: את פריטי רשימת הביצוע יש לכתוב בתצורת רשימה של ערכים המופרדים בפסיקים.", + "r-when-a-card-is-moved": "כאשר כרטיס מועבר לרשימה אחרת", + "r-set": "הגדרה", + "r-update": "עדכון", + "r-datefield": "שדה תאריך", + "r-df-start-at": "התחלה", + "r-df-due-at": "תפוגה", + "r-df-end-at": "סיום", + "r-df-received-at": "התקבל", + "r-to-current-datetime": "לתאריך/שעה הנוכחיים", + "r-remove-value-from": "הסרת ערך מתוך", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "שיטת אימות", + "authentication-type": "סוג אימות", + "custom-product-name": "שם מותאם אישית למוצר", + "layout": "פריסה", + "hide-logo": "הסתרת לוגו", + "add-custom-html-after-body-start": "הוספת קוד HTML מותאם אישית לאחר ה־ הפותח.", + "add-custom-html-before-body-end": "הוספת קוד HTML מותאם אישית לפני ה־ הסוגר.", + "error-undefined": "מהו השתבש", + "error-ldap-login": "אירעה שגיאה בעת ניסיון הכניסה", + "display-authentication-method": "הצגת שיטת אימות", + "default-authentication-method": "שיטת אימות כבררת מחדל", + "duplicate-board": "שכפול לוח", + "people-number": "מספר האנשים הוא:", + "swimlaneDeletePopup-title": "למחוק מסלול?", + "swimlane-delete-pop": "כל הפעולות יוסרו מהזנת הפעילות ולא תהיה לך אפשרות לשחזר את המסלול. אי אפשר לחזור אחורה.", + "restore-all": "לשחזר הכול", + "delete-all": "למחוק הכול", + "loading": "העמוד בטעינה, אנא המתינו.", + "previous_as": "הזמן הקודם היה", + "act-a-dueAt": "זמן יעד שונה ל: \n__timeValue__\nבכרטיס: __card__\n זמן היעד הקודם היה __timeOldValue__", + "act-a-endAt": "מועד הסיום השתנה לכדי __timeValue__ לעומת (__timeOldValue__)", + "act-a-startAt": "מועד ההתחלה השתנה לכדי __timeValue__ לעומת (__timeOldValue__)", + "act-a-receivedAt": "מועד הקבלה השתנה לכדי __timeValue__ לעומת (__timeOldValue__)", + "a-dueAt": "מועד היעד השתנה לכדי", + "a-endAt": "מועד הסיום השתנה לכדי", + "a-startAt": "מועד ההתחלה השתנה לכדי", + "a-receivedAt": "מועד הקבלה השתנה לכדי", + "almostdue": "מועד היעד הנוכחי %s מתקרב", + "pastdue": "מועד היעד הנוכחי %s חלף", + "duenow": "מועד היעד הנוכחי %s הוא היום", + "act-newDue": "__list__/__card__ יש תזכורת ראשונה שתוקפה פג [__board__]", + "act-withDue": "__list__/__card__ יש תזכורות שתוקפן פג [__board__]", + "act-almostdue": "הזכירה שמועד היעד הנוכחי (__timeValue__) של __card__ מתקרב", + "act-pastdue": "הזכירה שמועד היעד הנוכחי (__timeValue__) של __card__ חלף", + "act-duenow": "הזכירה שמועד היעד הנוכחי (__timeValue__) של __card__ הוא עכשיו", + "act-atUserComment": "אוזכרת תחת [__board__] __list__/__card__", + "delete-user-confirm-popup": "למחוק את החשבון הזה? אי אפשר לבטל.", + "accounts-allowUserDelete": "לאפשר למשתמשים למחוק את החשבונות של עצמם", + "hide-minicard-label-text": "הסתרת טקסט התווית של מיני כרטיס", + "show-desktop-drag-handles": "הצגת ידיות גרירה של שולחן העבודה", + "assignee": "גורם אחראי", + "cardAssigneesPopup-title": "גורם אחראי", + "addmore-detail": "הוספת תיאור מפורט", + "show-on-card": "הצגה על הכרטיס", + "new": "חדש", + "editUserPopup-title": "עריכת משתמש", + "newUserPopup-title": "משתמש חדש", + "notifications": "הודעות", + "view-all": "להציג הכול", + "filter-by-unread": "סימון לפי כאלו שלא נקראו", + "mark-all-as-read": "לסמן הכול כאילו שנקראו", + "remove-all-read": "הסרת כל אלו שנקראו", + "allow-rename": "לאפשר שינוי שם", + "allowRenamePopup-title": "לאפשר שינוי שם", + "start-day-of-week": "הגדרת יום תחילת השבוע", + "monday": "יום שני", + "tuesday": "יום שלישי", + "wednesday": "יום רביעי", + "thursday": "יום חמישי", + "friday": "יום שישי", + "saturday": "שבת", + "sunday": "יום ראשון", + "status": "מצב", + "swimlane": "מסלול", + "owner": "בעלות", + "last-modified-at": "שינוי אחרון ב־", + "last-activity": "פעילות אחרונה", + "voting": "הצבעה", + "archived": "בארכיון", + "delete-linked-card-before-this-card": "לא ניתן למחוק את הכרטיס הזה לפני שמוחקים את הכרטיס המקושר שיש לו", + "delete-linked-cards-before-this-list": "לא ניתן למחוק את הרשימה הזו לפני שמוחקים את הכרטיסים שמצביעים לכרטיסים ברשימה הזו", + "hide-checked-items": "הסתרת הפריטים שסומנו" +} \ No newline at end of file diff --git a/i18n/hi.i18n.json b/i18n/hi.i18n.json new file mode 100644 index 0000000..c542ecd --- /dev/null +++ b/i18n/hi.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "स्वीकार", + "act-activity-notify": "गतिविधि अधिसूचना", + "act-addAttachment": "अनुलग्नक जोड़ा __attachment__ कार्ड के लिए __card__ सूचि मेें __list__ तैराक में __swimlane__ बोर्ड पर __board__", + "act-deleteAttachment": "हटाए गए अनुलग्नक __attachment__ कार्ड पर __card__ सूचि मेें __list__ तैराक में __swimlane__ बोर्ड पर __board__", + "act-addSubtask": "जोड़ा उपकार्य __checklist__ को __card__ सूचि मेें __list__ तैराक में __swimlane__ बोर्ड पर __board__", + "act-addLabel": "जोड़ा गया लेबल __label__ कार्ड के लिए __card__ सूचि मेें __list__ तैराक में __swimlane__ बोर्ड पर __board__", + "act-addedLabel": "जोड़ा गया लेबल __label__ कार्ड के लिए __card__ सूचि मेें __list__ तैराक में __swimlane__ बोर्ड पर __board__", + "act-removeLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removedLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklist": "added checklist __checklist__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklistItem": "added checklist item __checklistItem__ to checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklist": "removed checklist __checklist__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklistItem": "removed checklist item __checklistItem__ from checklist __checkList__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-checkedItem": "checked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncheckedItem": "unchecked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-completeChecklist": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncompleteChecklist": "uncompleted checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addComment": "commented on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-editComment": "कार्ड पर संपादित टिप्पणी __card__: __comment__ सूची में __list__ स्विमलेन में __swimlane__ बोर्ड पर __board__", + "act-deleteComment": "कार्ड पर हटाई गई टिप्पणी __card__: __comment__ सूची में __list__ स्विमलेन में __swimlane__ बोर्ड पर __board__", + "act-createBoard": "created board __board__", + "act-createSwimlane": "created swimlane __swimlane__ to board __board__", + "act-createCard": "created card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-createCustomField": "बोर्ड पर कस्टम फ़ील्ड __customField__ __board__", + "act-deleteCustomField": "बोर्ड पर कस्टम फ़ील्ड __customField__ हटा दिया गया __board__", + "act-setCustomField": "कस्टम फ़ील्ड __customField__ संपादित करें: __customFieldValue__ कार्ड पर __card__ सूची में __list__ स्विमलेन __swimlane__ पर बोर्ड __board__", + "act-createList": "added list __list__ to board __board__", + "act-addBoardMember": "added member __member__ to board __board__", + "act-archivedBoard": "Board __board__ moved to Archive", + "act-archivedCard": "Card __card__ at list __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedList": "List __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedSwimlane": "Swimlane __swimlane__ at board __board__ moved to Archive", + "act-importBoard": "imported board __board__", + "act-importCard": "imported card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-importList": "imported list __list__ to swimlane __swimlane__ at board __board__", + "act-joinMember": "added member __member__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-moveCard": "moved card __card__ at board __board__ from list __oldList__ at swimlane __oldSwimlane__ to list __list__ at swimlane __swimlane__", + "act-moveCardToOtherBoard": "moved card __card__ from list __oldList__ at swimlane __oldSwimlane__ at board __oldBoard__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-removeBoardMember": "removed member __member__ from board __board__", + "act-restoredCard": "restored card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-unjoinMember": "removed member __member__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "कार्रवाई", + "activities": "गतिविधि", + "activity": "क्रियाएँ", + "activity-added": "जोड़ा गया %s से %s", + "activity-archived": "%sसंग्रह में ले जाया गया", + "activity-attached": "संलग्न %s से %s", + "activity-created": "बनाया %s", + "activity-customfield-created": "बनाया रिवाज क्षेत्र %s", + "activity-excluded": "छोड़ा %s से %s", + "activity-imported": "सूचित कर %s के अंदर %s से %s", + "activity-imported-board": "सूचित कर %s से %s", + "activity-joined": "शामिल %s", + "activity-moved": "स्थानांतरित %s से %s तक %s", + "activity-on": "पर %s", + "activity-removed": "हटा दिया %s से %s", + "activity-sent": "प्रेषित %s तक %s", + "activity-unjoined": "शामिल नहीं %s", + "activity-subtask-added": "जोड़ा उप कार्य तक %s", + "activity-checked-item": "चिह्नित %s अंदर में चिह्नांकन-सूची %s of %s", + "activity-unchecked-item": "अचिह्नित %s अंदर में चिह्नांकन-सूची %s of %s", + "activity-checklist-added": "संकलित चिह्नांकन-सूची तक %s", + "activity-checklist-removed": "हटा दिया एक चिह्नांकन-सूची से %s", + "activity-checklist-completed": "पूरी जाँच सूची%sकी %s", + "activity-checklist-uncompleted": "अपूर्ण चिह्नांकन-सूची %s of %s", + "activity-checklist-item-added": "संकलित चिह्नांकन-सूची विषय तक '%s' अंदर में %s", + "activity-checklist-item-removed": "हटा दिया एक चिह्नांकन-सूची विषय से '%s' अंदर में %s", + "add": "जोड़ें", + "activity-checked-item-card": "चिह्नित %s अंदर में चिह्नांकन-सूची %s", + "activity-unchecked-item-card": "अचिह्नित %s अंदर में चिह्नांकन-सूची %s", + "activity-checklist-completed-card": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "activity-checklist-uncompleted-card": "अपूर्ण चिह्नांकन-सूची %s", + "activity-editComment": "संपादित टिप्पणी", + "activity-deleteComment": "टिप्पणी हटा दी गई", + "add-attachment": "संलग्न करें", + "add-board": "बोर्ड जोड़ें", + "add-card": "कार्ड जोड़ें", + "add-swimlane": "तैरन जोड़ें", + "add-subtask": "उप कार्य जोड़ें", + "add-checklist": "चिह्नांकन-सूची जोड़ें", + "add-checklist-item": "चिह्नांकन-सूची विषय कोई तक जोड़ें", + "add-cover": "आवरण जोड़ें", + "add-label": "नामपत्र जोड़ें", + "add-list": "सूची जोड़ें", + "add-members": "सदस्य जोड़ें", + "added": "जोड़ा गया", + "addMemberPopup-title": "सदस्य", + "admin": "Admin", + "admin-desc": "कार्ड देख और संपादित कर सकते हैं, सदस्यों को हटा सकते हैं, और बोर्ड के लिए सेटिंग्स बदल सकते हैं।", + "admin-announcement": "घोषणा", + "admin-announcement-active": "सक्रिय सिस्टम-व्यापी घोषणा", + "admin-announcement-title": "घोषणा प्रशासक से", + "all-boards": "सभी बोर्ड", + "and-n-other-card": "और __count__ other कार्ड", + "and-n-other-card_plural": "और __count__ other कार्ड", + "apply": "Apply", + "app-is-offline": "लोड हो रहा है, कृपया प्रतीक्षा करें । पृष्ठ को ताज़ा करना डेटा की हानि का कारण होगा । यदि लोड करना कार्य नहीं करता है, तो कृपया जांचें कि सर्वर बंद नहीं हुआ है ।", + "archive": "संग्रह में ले जाएं", + "archive-all": "सभी को संग्रह में ले जाएं", + "archive-board": "संग्रह करने के लिए बोर्ड ले जाएँ", + "archive-card": "कार्ड को संग्रह में ले जाएं", + "archive-list": "सूची को संग्रह में ले जाएं", + "archive-swimlane": "संग्रह करने के लिए स्विमलेन ले जाएँ", + "archive-selection": "चयन को संग्रह में ले जाएं", + "archiveBoardPopup-title": "बोर्ड को संग्रह में स्थानांतरित करें?", + "archived-items": "संग्रह", + "archived-boards": "संग्रह में बोर्ड", + "restore-board": "पुनर्स्थापना बोर्ड", + "no-archived-boards": "संग्रह में कोई बोर्ड नहीं ।", + "archives": "पुरालेख", + "template": "खाका", + "templates": "खाका", + "assign-member": "आवंटित सदस्य", + "attached": "संलग्न", + "attachment": "संलग्नक", + "attachment-delete-pop": "किसी संलग्नक को हटाना स्थाई है । कोई पूर्ववत् नहीं है ।", + "attachmentDeletePopup-title": "मिटाएँ संलग्नक?", + "attachments": "संलग्नक", + "auto-watch": "स्वचालित रूप से देखो बोर्डों जब वे बनाए जाते हैं", + "avatar-too-big": "अवतार बहुत बड़ा है (70KB अधिकतम)", + "back": "वापस", + "board-change-color": "रंग बदलना", + "board-nb-stars": "%s पसंद होना", + "board-not-found": "बोर्ड नहीं मिला", + "board-private-info": "यह बोर्ड हो जाएगा निजी.", + "board-public-info": "यह बोर्ड हो जाएगा सार्वजनिक.", + "boardChangeColorPopup-title": "बोर्ड पृष्ठभूमि बदलें", + "boardChangeTitlePopup-title": "बोर्ड का नाम बदलें", + "boardChangeVisibilityPopup-title": "दृश्यता बदलें", + "boardChangeWatchPopup-title": "बदलें वॉच", + "boardMenuPopup-title": "बोर्ड सेटिंग्स", + "boardChangeViewPopup-title": "बोर्ड दृष्टिकोण", + "boards": "बोर्डों", + "board-view": "बोर्ड दृष्टिकोण", + "board-view-cal": "तिथि-पत्र", + "board-view-swimlanes": "तैरना", + "board-view-collapse": "संक्षिप्त करें", + "board-view-lists": "सूचियाँ", + "bucket-example": "उदाहरण के लिए “बाल्टी सूची” की तरह", + "cancel": "रद्द करें", + "card-archived": "यह कार्ड संग्रह करने के लिए ले जाया गया है ।", + "board-archived": "यह बोर्ड संग्रह करने के लिए ले जाया जाता है ।", + "card-comments-title": "इस कार्ड में %s टिप्पणी है।", + "card-delete-notice": "हटाना स्थायी है। आप इस कार्ड से जुड़े सभी कार्यों को खो देंगे।", + "card-delete-pop": "सभी कार्रवाइयां गतिविधि फ़ीड से निकाल दी जाएंगी और आप कार्ड को फिर से खोलने में सक्षम नहीं होंगे । कोई पूर्ववत् नहीं है ।", + "card-delete-suggest-archive": "आप एक कार्ड को बोर्ड से हटाने और गतिविधि को संरक्षित करने के लिए संग्रह में ले जा सकते हैं ।", + "card-due": "नियत", + "card-due-on": "पर नियत", + "card-spent": "समय बिताया", + "card-edit-attachments": "संपादित संलग्नक", + "card-edit-custom-fields": "संपादित प्रचलन क्षेत्र", + "card-edit-labels": "संपादित नामपत्र", + "card-edit-members": "संपादित सदस्य", + "card-labels-title": "कार्ड के लिए नामपत्र परिवर्तित करें ।", + "card-members-title": "कार्ड से बोर्ड के सदस्यों को जोड़ें या हटाएं।", + "card-start": "प्रारंभ", + "card-start-on": "पर शुरू होता है", + "cardAttachmentsPopup-title": "से अनुलग्न करें", + "cardCustomField-datePopup-title": "तारीख बदलें", + "cardCustomFieldsPopup-title": "संपादित करें प्रचलन क्षेत्र", + "cardStartVotingPopup-title": "वोट शुरू करें", + "positiveVoteMembersPopup-title": "समर्थकों का", + "negativeVoteMembersPopup-title": "प्रतिद्वंद्वी", + "card-edit-voting": "मतदान संपादित करें", + "editVoteEndDatePopup-title": "मतदान समाप्ति की तारीख बदलें", + "allowNonBoardMembers": "सभी लॉग इन उपयोगकर्ताओं को अनुमति दें", + "vote-question": "मतदान का सवाल", + "vote-public": "दिखाएँ कि किसने क्या मतदान किया", + "vote-for-it": "इसके लिए", + "vote-against": "के प्रतिकूल", + "deleteVotePopup-title": "मतदान हटाएं?", + "vote-delete-pop": "हटाना स्थायी है। आप इस मतदान से जुड़े सभी कार्यों को खो देंगे।", + "cardDeletePopup-title": "मिटाएँ कार्ड?", + "cardDetailsActionsPopup-title": "कार्ड क्रियाएँ", + "cardLabelsPopup-title": "नामपत्र", + "cardMembersPopup-title": "सदस्य", + "cardMorePopup-title": "अतिरिक्त", + "cardTemplatePopup-title": "खाका बनाएं", + "cards": "कार्ड्स", + "cards-count": "कार्ड्स", + "casSignIn": "सीएएस के साथ साइन इन करें", + "cardType-card": "कार्ड", + "cardType-linkedCard": "जुड़े हुए कार्ड", + "cardType-linkedBoard": "जुड़े हुए बोर्ड", + "change": "तब्दीली", + "change-avatar": "अवतार परिवर्तन करें", + "change-password": "गोपनीयता परिवर्तन करें", + "change-permissions": "अनुमतियां परिवर्तित करें", + "change-settings": "व्यवस्था परिवर्तित करें", + "changeAvatarPopup-title": "अवतार परिवर्तन करें", + "changeLanguagePopup-title": "भाषा परिवर्तन करें", + "changePasswordPopup-title": "गोपनीयता परिवर्तन करें", + "changePermissionsPopup-title": "अनुमतियां परिवर्तित करें", + "changeSettingsPopup-title": "व्यवस्था परिवर्तित करें", + "subtasks": "उप-कार्य", + "checklists": "जांच सूची", + "click-to-star": "इस बोर्ड को स्टार करने के लिए क्लिक करें ।", + "click-to-unstar": "इस बोर्ड को अनस्टार करने के लिए क्लिक करें।", + "clipboard": "क्लिपबोर्ड या खींचें और छोड़ें", + "close": "बंद करे", + "close-board": "बोर्ड बंद करे", + "close-board-pop": "आप होम हेडर से \"संग्रह\" बटन पर क्लिक करके बोर्ड को पुनर्स्थापित करने में सक्षम होंगे।", + "color-black": "काला", + "color-blue": "नीला", + "color-crimson": "गहरा लाल", + "color-darkgreen": "गहरा हरा", + "color-gold": "स्वर्ण", + "color-gray": "भूरे", + "color-green": "हरा", + "color-indigo": "नील", + "color-lime": "हल्का हरा", + "color-magenta": "मैजंटा", + "color-mistyrose": "हल्का गुलाबी", + "color-navy": "navy", + "color-orange": "नारंगी", + "color-paleturquoise": "paleturquoise", + "color-peachpuff": "peachpuff", + "color-pink": "गुलाबी", + "color-plum": "plum", + "color-purple": "बैंगनी", + "color-red": "लाल", + "color-saddlebrown": "saddlebrown", + "color-silver": "silver", + "color-sky": "आकाशिया नीला", + "color-slateblue": "slateblue", + "color-white": "white", + "color-yellow": "पीला", + "unset-color": "Unset", + "comment": "टिप्पणी", + "comment-placeholder": "टिप्पणी लिखें", + "comment-only": "केवल टिप्पणी करें", + "comment-only-desc": "केवल कार्ड पर टिप्पणी कर सकते हैं।", + "no-comments": "कोई टिप्पणी नहीं", + "no-comments-desc": "टिप्पणियां और गतिविधियां नहीं देख पा रहे हैं।", + "worker": "कामगार", + "worker-desc": "केवल कार्ड ले जा सकते हैं, खुद को कार्ड और टिप्पणी करने के लिए असाइन करें।", + "computer": "संगणक", + "confirm-subtask-delete-dialog": "क्या आप वाकई उपकार्य हटाना चाहते हैं?", + "confirm-checklist-delete-dialog": "क्या आप वाकई जांचसूची हटाना चाहते हैं?", + "copy-card-link-to-clipboard": "कॉपी कार्ड क्लिपबोर्ड करने के लिए लिंक", + "linkCardPopup-title": "कार्ड कड़ी", + "searchElementPopup-title": "Search", + "copyCardPopup-title": "कार्ड प्रतिलिपि", + "copyChecklistToManyCardsPopup-title": "कई कार्ड के लिए जांचसूची खाके की प्रतिलिपि बनाएँ", + "copyChecklistToManyCardsPopup-instructions": "इस JSON प्रारूप में गंतव्य कार्ड शीर्षक और विवरण", + "copyChecklistToManyCardsPopup-format": "[{\"title\":\"पहला कार्ड शीर्षक\",\"description\":\"पहला कार्ड विवरण\"},{\"title\":\"दूसरा कार्ड शीर्षक\",\"description\":\"दूसरा कार्ड विवरण\"},{\"title\":\"अंतिम कार्ड शीर्षक\",\"description\":\"अंतिम कार्ड विवरण\" }]", + "create": "निर्माण करना", + "createBoardPopup-title": "बोर्ड निर्माण करना", + "chooseBoardSourcePopup-title": "बोर्ड आयात", + "createLabelPopup-title": "नामपत्र निर्माण", + "createCustomField": "क्षेत्र निर्माण करना", + "createCustomFieldPopup-title": "क्षेत्र निर्माण", + "current": "वर्तमान", + "custom-field-delete-pop": "कोई पूर्ववत् नहीं है । यह सभी कार्ड से इस कस्टम क्षेत्र को हटा दें और इसके इतिहास को नष्ट कर देगा ।", + "custom-field-checkbox": "निशानबक्से", + "custom-field-currency": "मुद्रा", + "custom-field-currency-option": "मुद्रा संहिता", + "custom-field-date": "दिनांक", + "custom-field-dropdown": "ड्रॉपडाउन सूची", + "custom-field-dropdown-none": "(कोई नहीं)", + "custom-field-dropdown-options": "सूची विकल्प", + "custom-field-dropdown-options-placeholder": "Press enter तक जोड़ें more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "प्रचलन क्षेत्र", + "date": "Date", + "decline": "Decline", + "default-avatar": "Default avatar", + "delete": "Delete", + "deleteCustomFieldPopup-title": "मिटाएँ प्रचलन क्षेत्र?", + "deleteLabelPopup-title": "मिटाएँ Label?", + "description": "Description", + "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", + "disambiguateMultiMemberPopup-title": "Disambiguate सदस्य Action", + "discard": "Disकार्ड", + "done": "Done", + "download": "Download", + "edit": "Edit", + "edit-avatar": "Change Avatar", + "edit-profile": "संपादित करें Profile", + "edit-wip-limit": "संपादित करें WIP Limit", + "soft-wip-limit": "Soft WIP Limit", + "editCardStartDatePopup-title": "Change start date", + "editCardDueDatePopup-title": "Change due date", + "editCustomFieldPopup-title": "संपादित करें Field", + "editCardSpentTimePopup-title": "Change spent time", + "editLabelPopup-title": "Change Label", + "editNotificationPopup-title": "संपादित करें Notification", + "editProfilePopup-title": "संपादित करें Profile", + "email": "Email", + "email-enrollAccount-subject": "An account created for you on __siteName__", + "email-enrollAccount-text": "Hello __user__,\n\nTo start using the service, simply click the link below.\n\n__url__\n\nThanks.", + "email-fail": "Sending email failed", + "email-fail-text": "Error trying तक send email", + "email-invalid": "Invalid email", + "email-invite": "Invite via Email", + "email-invite-subject": "__inviter__ प्रेषित you an invitation", + "email-invite-text": "Dear __user__,\n\n__inviter__ invites you तक join बोर्ड \"__board__\" for collaborations.\n\nPlease follow the link below:\n\n__url__\n\nThanks.", + "email-resetPassword-subject": "Reset your password on __siteName__", + "email-resetPassword-text": "Hello __user__,\n\nTo reset your password, simply click the link below.\n\n__url__\n\nThanks.", + "email-sent": "Email sent", + "email-verifyEmail-subject": "Verify your email address on __siteName__", + "email-verifyEmail-text": "नमस्ते __user __, \n\n अपना खाता ईमेल सत्यापित करने के लिए, बस नीचे दिए गए लिंक पर क्लिक करें। \n\n__url __ \n\n धन्यवाद।", + "enable-wip-limit": "Enable WIP Limit", + "error-board-doesNotExist": "यह बोर्ड does not exist", + "error-board-notAdmin": "You need तक be व्यवस्थापक of यह बोर्ड तक do that", + "error-board-notAMember": "You need तक be एक सदस्य of यह बोर्ड तक do that", + "error-json-malformed": "Your text is not valid JSON", + "error-json-schema": "आपके JSON डेटा में सही प्रारूप में सही जानकारी शामिल नहीं है", + "error-csv-schema": "आपके CSV (कोमा सेपरेटेड वैल्यूज़) / TSV (टैब सेपरेटेड वैल्यूज़) में सही फॉर्मेट में उचित जानकारी शामिल नहीं है", + "error-list-doesNotExist": "यह सूची does not exist", + "error-user-doesNotExist": "यह user does not exist", + "error-user-notAllowSelf": "You can not invite yourself", + "error-user-notCreated": "यह user is not created", + "error-username-taken": "यह username is already taken", + "error-email-taken": "Email has already been taken", + "export-board": "Export बोर्ड", + "export-board-json": "JSON को निर्यात बोर्ड", + "export-board-csv": "निर्यात बोर्ड को सी.एस.वी.", + "export-board-tsv": "टी.एस.वी. को निर्यात बोर्ड", + "export-board-html": "HTML को निर्यात बोर्ड", + "exportBoardPopup-title": "Export बोर्ड", + "sort": "भांति", + "sort-desc": "क्रमबद्ध सूची पर क्लिक करें", + "list-sort-by": "सूची क्रमबद्ध करें:", + "list-label-modifiedAt": "अंतिम पहुंच समय", + "list-label-title": "सूची का नाम", + "list-label-sort": "आपका नियमावलीआदेश", + "list-label-short-modifiedAt": "(बड़ा)", + "list-label-short-title": "(साधारण)", + "list-label-short-sort": "(मध्यम)", + "filter": "Filter", + "filter-cards": "निस्पंदन पत्ते या सूची", + "list-filter-label": "शीर्षक द्वारा निस्पंदन सूची", + "filter-clear": "Clear filter", + "filter-no-label": "No label", + "filter-no-member": "No सदस्य", + "filter-no-assignee": "कोई अभिहस्तांकिती नहीं", + "filter-no-custom-fields": "No प्रचलन क्षेत्र", + "filter-show-archive": "संग्रहित सूची दिखाएं", + "filter-hide-empty": "खाली सूची छिपाएं", + "filter-on": "Filter is on", + "filter-on-desc": "You are filtering कार्ड इस पर बोर्ड. Click here तक संपादित करें filter.", + "filter-to-selection": "Filter तक selection", + "advanced-filter-label": "Advanced Filter", + "advanced-filter-description": "Advanced Filter allows तक write एक string containing following operators: == != <= >= && || ( ) एक space is used as एक separator between the Operators. You can filter for संपूर्ण प्रचलन क्षेत्र by typing their names और values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need तक encapsulate them के अंदर single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) तक be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally संपूर्ण operators are interpreted से left तक right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i", + "fullname": "Full Name", + "header-logo-title": "Go back तक your बोर्डों page.", + "hide-system-messages": "Hide system messages", + "headerBarCreateBoardPopup-title": "Create बोर्ड", + "home": "Home", + "import": "Import", + "link": "Link", + "import-board": "import बोर्ड", + "import-board-c": "Import बोर्ड", + "import-board-title-trello": "Import बोर्ड से Trello", + "import-board-title-wekan": "Import board from previous export", + "import-board-title-csv": "CSV / TSV से आयात बोर्ड", + "from-trello": "From Trello", + "from-wekan": "From previous export", + "from-csv": "CSV / TSV से", + "import-board-instruction-trello": "In your Trello बोर्ड, go तक 'Menu', then 'More', 'Print और Export', 'Export JSON', और copy the resulting text.", + "import-board-instruction-csv": "अपने कोमा सेपरेटेड वैल्यू (CSV) / ​​टैब सेपरेटेड वैल्यू (TSV) में पेस्ट करें।", + "import-board-instruction-wekan": "In your board, go to 'Menu', then 'Export board', and copy the text in the downloaded file.", + "import-board-instruction-about-errors": "If you get errors when importing board, sometimes importing still works, and board is at All Boards page.", + "import-json-placeholder": "Paste your valid JSON data here", + "import-csv-placeholder": "अपना वैध CSV / TSV सामग्री यहां पेस्ट करें", + "import-map-members": "Map सदस्य", + "import-members-map": "Your imported board has some members. Please map the members you want to import to your users", + "import-show-user-mapping": "Re आलोकन सदस्य mapping", + "import-user-select": "Pick your existing user you want to use as this member", + "importMapMembersAddPopup-title": "Select member", + "info": "Version", + "initials": "Initials", + "invalid-date": "Invalid date", + "invalid-time": "Invalid time", + "invalid-user": "Invalid user", + "joined": "joined", + "just-invited": "You are just invited तक यह बोर्ड", + "keyboard-shortcuts": "Keyबोर्ड shortcuts", + "label-create": "Create Label", + "label-default": "%s label (default)", + "label-delete-pop": "There is no undo. यह will हटा यह label से संपूर्ण कार्ड और destroy its history.", + "labels": "नामपत्र", + "language": "Language", + "last-admin-desc": "You can’t change roles because there must be at least one admin.", + "leave-board": "Leave बोर्ड", + "leave-board-pop": "Are you sure you want तक leave __boardTitle__? You हो जाएगा हटा दिया से संपूर्ण कार्ड इस पर बोर्ड.", + "leaveBoardPopup-title": "Leave बोर्ड ?", + "link-card": "Link तक यह कार्ड", + "list-archive-cards": "Move all cards in this list to Archive", + "list-archive-cards-pop": "This will remove all the cards in this list from the board. To view cards in Archive and bring them back to the board, click “Menu” > “Archive”.", + "list-move-cards": "स्थानांतरित संपूर्ण कार्ड अंदर में यह list", + "list-select-cards": "Select संपूर्ण कार्ड अंदर में यह list", + "set-color-list": "Set Color", + "listActionPopup-title": "सूची Actions", + "swimlaneActionPopup-title": "तैरन Actions", + "swimlaneAddPopup-title": "Add a Swimlane below", + "listImportCardPopup-title": "Import एक Trello कार्ड", + "listImportCardsTsvPopup-title": "एक्सेल CSV / TSV आयात करें", + "listMorePopup-title": "More", + "link-list": "Link तक यह list", + "list-delete-pop": "All actions हो जाएगा हटा दिया से the activity feed और you won't be able तक recover the list. There is no undo.", + "list-delete-suggest-archive": "You can move a list to Archive to remove it from the board and preserve the activity.", + "lists": "Lists", + "swimlanes": "तैरन", + "log-out": "Log Out", + "log-in": "Log In", + "loginPopup-title": "Log In", + "memberMenuPopup-title": "सदस्य व्यवस्था", + "members": "सदस्य", + "menu": "Menu", + "move-selection": "स्थानांतरित selection", + "moveCardPopup-title": "स्थानांतरित कार्ड", + "moveCardToBottom-title": "स्थानांतरित तक Bottom", + "moveCardToTop-title": "स्थानांतरित तक Top", + "moveSelectionPopup-title": "स्थानांतरित selection", + "multi-selection": "Multi-Selection", + "multi-selection-on": "Multi-Selection is on", + "muted": "Muted", + "muted-info": "आप किसी भी परिवर्तन के अधिसूचित नहीं किया जाएगा अंदर में यह बोर्ड", + "my-boards": "My बोर्ड", + "name": "Name", + "no-archived-cards": "No cards in Archive.", + "no-archived-lists": "No lists in Archive.", + "no-archived-swimlanes": "No swimlanes in Archive.", + "no-results": "No results", + "normal": "Normal", + "normal-desc": "Can आलोकन और संपादित करें कार्ड. Can't change व्यवस्था.", + "not-accepted-yet": "Invitation not accepted yet", + "notify-participate": "Receive updates तक any कार्ड you participate as creater or सदस्य", + "notify-watch": "Receive updates तक any बोर्ड, lists, or कार्ड you’re watching", + "optional": "optional", + "or": "or", + "page-maybe-private": "यह page may be private. You may be able तक आलोकन it by logging in.", + "page-not-found": "Page नहीं मिला.", + "password": "Password", + "paste-or-dragdrop": "to paste, or drag & drop image file तक it (image only)", + "participating": "Participating", + "preview": "Preview", + "previewAttachedImagePopup-title": "Preview", + "previewClipboardImagePopup-title": "Preview", + "private": "Private", + "private-desc": "यह बोर्ड is private. Only people संकलित तक the बोर्ड can आलोकन और संपादित करें it.", + "profile": "Profile", + "public": "Public", + "public-desc": "यह बोर्ड is public. It's visible तक anyone साथ में the link और will show up अंदर में गूगल की तरह खोज इंजन । केवल लोग संकलित तक बोर्ड संपादित कर सकते हैं.", + "quick-access-description": "Star एक बोर्ड तक जोड़ें एक shortcut अंदर में यह पट्टी .", + "remove-cover": "हटाएँ Cover", + "remove-from-board": "हटाएँ से बोर्ड", + "remove-label": "हटाएँ Label", + "listDeletePopup-title": "मिटाएँ सूची ?", + "remove-member": "हटाएँ सदस्य", + "remove-member-from-card": "हटाएँ से कार्ड", + "remove-member-pop": "हटाएँ __name__ (__username__) से __boardTitle__? इस बोर्ड पर सभी कार्ड से सदस्य हटा दिया जाएगा। उन्हें एक अधिसूचना प्राप्त होगी।", + "removeMemberPopup-title": "हटाएँ सदस्य?", + "rename": "Rename", + "rename-board": "Rename बोर्ड", + "restore": "Restore", + "save": "Save", + "search": "Search", + "rules": "Rules", + "search-cards": "इस बोर्ड पर कार्ड / सूची शीर्षक, विवरण और आदत क्षेत्र से खोजें", + "search-example": "Text तक search for?", + "select-color": "Select Color", + "set-wip-limit-value": "Set एक limit for the maximum number of tasks अंदर में यह list", + "setWipLimitPopup-title": "Set WIP Limit", + "shortcut-assign-self": "Assign yourself तक current कार्ड", + "shortcut-autocomplete-emoji": "Autocomplete emoji", + "shortcut-autocomplete-members": "Autocomplete सदस्य", + "shortcut-clear-filters": "Clear संपूर्ण filters", + "shortcut-close-dialog": "Close Dialog", + "shortcut-filter-my-cards": "Filter my कार्ड", + "shortcut-show-shortcuts": "Bring up यह shortcuts list", + "shortcut-toggle-filterbar": "Toggle Filter Sidebar", + "shortcut-toggle-sidebar": "Toggle बोर्ड Sidebar", + "show-cards-minimum-count": "Show कार्ड count if सूची contains more than", + "sidebar-open": "Open Sidebar", + "sidebar-close": "Close Sidebar", + "signupPopup-title": "Create an Account", + "star-board-title": "Click तक star यह बोर्ड. It will show up at top of your बोर्डों list.", + "starred-boards": "Starred बोर्ड", + "starred-boards-description": "Starred बोर्डों show up at the top of your बोर्डों list.", + "subscribe": "Subscribe", + "team": "Team", + "this-board": "यह बोर्ड", + "this-card": "यह कार्ड", + "spent-time-hours": "Spent time (hours)", + "overtime-hours": "Overtime (hours)", + "overtime": "Overtime", + "has-overtime-cards": "Has overtime कार्ड", + "has-spenttime-cards": "Has spent time कार्ड", + "time": "Time", + "title": "Title", + "tracking": "Tracking", + "tracking-info": "You हो जाएगा notified of any changes तक those कार्ड you are involved as creator or सदस्य.", + "type": "Type", + "unassign-member": "Unassign सदस्य", + "unsaved-description": "You have an unsaved description.", + "unwatch": "Unwatch", + "upload": "Upload", + "upload-avatar": "Upload an avatar", + "uploaded-avatar": "Uploaded an avatar", + "username": "Username", + "view-it": "आलोकन it", + "warn-list-archived": "warning: this card is in an list at Archive", + "watch": "Watch", + "watching": "Watching", + "watching-info": "You हो जाएगा notified of any change अंदर में यह बोर्ड", + "welcome-board": "Welcome बोर्ड", + "welcome-swimlane": "Milestone 1", + "welcome-list1": "Basics", + "welcome-list2": "Advanced", + "card-templates-swimlane": "कार्ड का खाका", + "list-templates-swimlane": "सूची का खाका", + "board-templates-swimlane": "बोर्ड का खाका", + "what-to-do": "What do you want तक do?", + "wipLimitErrorPopup-title": "Invalid WIP Limit", + "wipLimitErrorPopup-dialog-pt1": "The number of tasks अंदर में यह सूची is higher than the WIP limit you've defined.", + "wipLimitErrorPopup-dialog-pt2": "Please स्थानांतरित some tasks out of यह list, or set एक higher WIP limit.", + "admin-panel": "व्यवस्थापक Panel", + "settings": "Settings", + "people": "People", + "registration": "Registration", + "disable-self-registration": "Disable Self-Registration", + "invite": "Invite", + "invite-people": "Invite People", + "to-boards": "To बोर्ड(s)", + "email-addresses": "Email Addresses", + "smtp-host-description": "The address of the SMTP server that handles your emails.", + "smtp-port-description": "The port your SMTP server uses for outgoing emails.", + "smtp-tls-description": "Enable TLS support for SMTP server", + "smtp-host": "SMTP Host", + "smtp-port": "SMTP Port", + "smtp-username": "Username", + "smtp-password": "Password", + "smtp-tls": "TLS support", + "send-from": "From", + "send-smtp-test": "Send एक test email तक yourself", + "invitation-code": "Invitation Code", + "email-invite-register-subject": "__inviter__ प्रेषित you an invitation", + "email-invite-register-text": "Dear __user__,\n\n__inviter__ invites you to kanban board for collaborations.\n\nPlease follow the link below:\n__url__\n\nAnd your invitation code is: __icode__\n\nThanks.", + "email-smtp-test-subject": "SMTP Test Email", + "email-smtp-test-text": "You have successfully प्रेषित an email", + "error-invitation-code-not-exist": "Invitation code doesn't exist", + "error-notAuthorized": "You are not authorized तक आलोकन यह page.", + "webhook-title": "वेबहुक नाम", + "webhook-token": "टोकन (प्रमाणीकरण के लिए वैकल्पिक)", + "outgoing-webhooks": "Outgoing Webhooks", + "bidirectional-webhooks": "Two-Way Webhooks", + "outgoingWebhooksPopup-title": "Outgoing Webhooks", + "boardCardTitlePopup-title": "Card Title Filter", + "disable-webhook": "Disable This Webhook", + "global-webhook": "Global Webhooks", + "new-outgoing-webhook": "New Outgoing Webhook", + "no-name": "(Unknown)", + "Node_version": "Node version", + "Meteor_version": "Meteor version", + "MongoDB_version": "MongoDB version", + "MongoDB_storage_engine": "MongoDB storage engine", + "MongoDB_Oplog_enabled": "MongoDB Oplog enabled", + "OS_Arch": "OS Arch", + "OS_Cpus": "OS CPU Count", + "OS_Freemem": "OS Free Memory", + "OS_Loadavg": "OS Load Average", + "OS_Platform": "OS Platform", + "OS_Release": "OS Release", + "OS_Totalmem": "OS Total Memory", + "OS_Type": "OS Type", + "OS_Uptime": "OS Uptime", + "days": "days", + "hours": "hours", + "minutes": "minutes", + "seconds": "seconds", + "show-field-on-card": "Show यह field on कार्ड", + "automatically-field-on-card": "Auto create field to all cards", + "showLabel-field-on-card": "Show field label on minicard", + "yes": "Yes", + "no": "No", + "accounts": "Accounts", + "accounts-allowEmailChange": "Allow Email Change", + "accounts-allowUserNameChange": "Allow Username Change", + "createdAt": "Created at", + "verified": "Verified", + "active": "Active", + "card-received": "Received", + "card-received-on": "Received on", + "card-end": "End", + "card-end-on": "Ends on", + "editCardReceivedDatePopup-title": "Change received date", + "editCardEndDatePopup-title": "Change end date", + "setCardColorPopup-title": "Set color", + "setCardActionsColorPopup-title": "Choose a color", + "setSwimlaneColorPopup-title": "Choose a color", + "setListColorPopup-title": "Choose a color", + "assigned-by": "Assigned By", + "requested-by": "Requested By", + "board-delete-notice": "Deleting is permanent. You will lose संपूर्ण lists, कार्ड और actions associated साथ में यह बोर्ड.", + "delete-board-confirm-popup": "All lists, कार्ड,नामपत्र , और activities हो जाएगा deleted और you won't be able तक recover the बोर्ड contents. There is no undo.", + "boardDeletePopup-title": "मिटाएँ बोर्ड?", + "delete-board": "मिटाएँ बोर्ड", + "default-subtasks-board": "Subtasks for __board__ बोर्ड", + "default": "Default", + "queue": "Queue", + "subtask-settings": "Subtasks व्यवस्था", + "card-settings": "Card Settings", + "boardSubtaskSettingsPopup-title": "बोर्ड Subtasks व्यवस्था", + "boardCardSettingsPopup-title": "Card Settings", + "deposit-subtasks-board": "Deposit subtasks तक यह बोर्ड:", + "deposit-subtasks-list": "Landing सूची for subtasks deposited here:", + "show-parent-in-minicard": "Show parent अंदर में minicard:", + "prefix-with-full-path": "Prefix साथ में full path", + "prefix-with-parent": "Prefix साथ में parent", + "subtext-with-full-path": "Subtext साथ में full path", + "subtext-with-parent": "Subtext साथ में parent", + "change-card-parent": "Change कार्ड's parent", + "parent-card": "Parent कार्ड", + "source-board": "Source बोर्ड", + "no-parent": "Don't show parent", + "activity-added-label": "संकलित label '%s' तक %s", + "activity-removed-label": "हटा दिया label '%s' से %s", + "activity-delete-attach": "deleted an संलग्नक से %s", + "activity-added-label-card": "संकलित label '%s'", + "activity-removed-label-card": "हटा दिया label '%s'", + "activity-delete-attach-card": "deleted an संलग्नक", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "Rule", + "r-add-trigger": "जोड़ें trigger", + "r-add-action": "जोड़ें action", + "r-board-rules": "बोर्ड rules", + "r-add-rule": "जोड़ें rule", + "r-view-rule": "आलोकन rule", + "r-delete-rule": "मिटाएँ rule", + "r-new-rule-name": "New rule title", + "r-no-rules": "No rules", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "When a card", + "r-is": "is", + "r-is-moved": "is moved", + "r-added-to": "Added to", + "r-removed-from": "हटा दिया from", + "r-the-board": "the बोर्ड", + "r-list": "list", + "set-filter": "Set Filter", + "r-moved-to": "स्थानांतरित to", + "r-moved-from": "स्थानांतरित from", + "r-archived": "Moved to Archive", + "r-unarchived": "Restored from Archive", + "r-a-card": "a कार्ड", + "r-when-a-label-is": "जब एक नामपत्र है", + "r-when-the-label": "जब नामपत्र है", + "r-list-name": "list name", + "r-when-a-member": "जब एक सदस्य is", + "r-when-the-member": "जब the सदस्य", + "r-name": "name", + "r-when-a-attach": "जब an संलग्नक", + "r-when-a-checklist": "जब एक चिह्नांकन-सूची is", + "r-when-the-checklist": "जब the checklist", + "r-completed": "Completed", + "r-made-incomplete": "Made incomplete", + "r-when-a-item": "जब एक चिह्नांकन-सूची विषय is", + "r-when-the-item": "जब the चिह्नांकन-सूची item", + "r-checked": "Checked", + "r-unchecked": "Unchecked", + "r-move-card-to": "स्थानांतरित कार्ड to", + "r-top-of": "Top of", + "r-bottom-of": "Bottom of", + "r-its-list": "its list", + "r-archive": "संग्रह में ले जाएं", + "r-unarchive": "Restore from Archive", + "r-card": "कार्ड", + "r-add": "जोड़ें", + "r-remove": "Remove", + "r-label": "label", + "r-member": "member", + "r-remove-all": "हटाएँ संपूर्ण सदस्य से the कार्ड", + "r-set-color": "Set color to", + "r-checklist": "checklist", + "r-check-all": "Check all", + "r-uncheck-all": "Uncheck all", + "r-items-check": "items of checklist", + "r-check": "Check", + "r-uncheck": "Uncheck", + "r-item": "item", + "r-of-checklist": "of checklist", + "r-send-email": "Send an email", + "r-to": "to", + "r-of": "of", + "r-subject": "subject", + "r-rule-details": "Rule details", + "r-d-move-to-top-gen": "स्थानांतरित कार्ड तक top of its list", + "r-d-move-to-top-spec": "स्थानांतरित कार्ड तक top of list", + "r-d-move-to-bottom-gen": "स्थानांतरित कार्ड तक bottom of its list", + "r-d-move-to-bottom-spec": "स्थानांतरित कार्ड तक bottom of list", + "r-d-send-email": "Send email", + "r-d-send-email-to": "to", + "r-d-send-email-subject": "subject", + "r-d-send-email-message": "message", + "r-d-archive": "Move card to Archive", + "r-d-unarchive": "Restore card from Archive", + "r-d-add-label": "जोड़ें label", + "r-d-remove-label": "हटाएँ label", + "r-create-card": "Create new card", + "r-in-list": "in list", + "r-in-swimlane": "in swimlane", + "r-d-add-member": "जोड़ें सदस्य", + "r-d-remove-member": "हटाएँ सदस्य", + "r-d-remove-all-member": "हटाएँ संपूर्ण सदस्य", + "r-d-check-all": "Check संपूर्ण items of एक list", + "r-d-uncheck-all": "Uncheck संपूर्ण items of एक list", + "r-d-check-one": "Check item", + "r-d-uncheck-one": "Uncheck item", + "r-d-check-of-list": "of checklist", + "r-d-add-checklist": "जोड़ें checklist", + "r-d-remove-checklist": "हटाएँ checklist", + "r-by": "by", + "r-add-checklist": "जोड़ें checklist", + "r-with-items": "with items", + "r-items-list": "item1,item2,item3", + "r-add-swimlane": "Add swimlane", + "r-swimlane-name": "swimlane name", + "r-board-note": "Note: leave a field empty to match every possible value.", + "r-checklist-note": "Note: checklist's items have to be written as comma separated values.", + "r-when-a-card-is-moved": "जब एक कार्ड is स्थानांतरित तक another list", + "r-set": "Set", + "r-update": "Update", + "r-datefield": "date field", + "r-df-start-at": "start", + "r-df-due-at": "due", + "r-df-end-at": "end", + "r-df-received-at": "received", + "r-to-current-datetime": "to current date/time", + "r-remove-value-from": "Remove value from", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Authentication method", + "authentication-type": "Authentication type", + "custom-product-name": "Custom Product Name", + "layout": "Layout", + "hide-logo": "Hide Logo", + "add-custom-html-after-body-start": "Add Custom HTML after start", + "add-custom-html-before-body-end": "Add Custom HTML before end", + "error-undefined": "Something went wrong", + "error-ldap-login": "An error occurred while trying to login", + "display-authentication-method": "Display Authentication Method", + "default-authentication-method": "Default Authentication Method", + "duplicate-board": "Duplicate Board", + "people-number": "The number of people is:", + "swimlaneDeletePopup-title": "Delete Swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Restore all", + "delete-all": "Delete all", + "loading": "Loading, please wait.", + "previous_as": "last time was", + "act-a-dueAt": "modified due time to \nWhen: __timeValue__\nWhere: __card__\n previous due was __timeOldValue__", + "act-a-endAt": "modified ending time to __timeValue__ from (__timeOldValue__)", + "act-a-startAt": "modified starting time to __timeValue__ from (__timeOldValue__)", + "act-a-receivedAt": "modified received time to __timeValue__ from (__timeOldValue__)", + "a-dueAt": "modified due time to be", + "a-endAt": "modified ending time to be", + "a-startAt": "modified starting time to be", + "a-receivedAt": "modified received time to be", + "almostdue": "current due time %s is approaching", + "pastdue": "current due time %s is past", + "duenow": "current due time %s is today", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", + "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", + "act-duenow": "was reminding the current due (__timeValue__) of __card__ is now", + "act-atUserComment": "You were mentioned in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Are you sure you want to delete this account? There is no undo.", + "accounts-allowUserDelete": "Allow users to self delete their account", + "hide-minicard-label-text": "Hide minicard label text", + "show-desktop-drag-handles": "Show desktop drag handles", + "assignee": "Assignee", + "cardAssigneesPopup-title": "Assignee", + "addmore-detail": "Add a more detailed description", + "show-on-card": "Show on Card", + "new": "New", + "editUserPopup-title": "Edit User", + "newUserPopup-title": "New User", + "notifications": "Notifications", + "view-all": "View All", + "filter-by-unread": "Filter by Unread", + "mark-all-as-read": "Mark all as read", + "remove-all-read": "Remove all read", + "allow-rename": "Allow Rename", + "allowRenamePopup-title": "Allow Rename", + "start-day-of-week": "Set day of the week start", + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archived", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/hu.i18n.json b/i18n/hu.i18n.json new file mode 100644 index 0000000..d4f16c9 --- /dev/null +++ b/i18n/hu.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Elfogadás", + "act-activity-notify": "Tevékenység értesítés", + "act-addAttachment": "added attachment __attachment__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteAttachment": "deleted attachment __attachment__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addSubtask": "added subtask __subtask__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addedLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removedLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklist": "added checklist __checklist__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklistItem": "added checklist item __checklistItem__ to checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklist": "removed checklist __checklist__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklistItem": "removed checklist item __checklistItem__ from checklist __checkList__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-checkedItem": "checked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncheckedItem": "unchecked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-completeChecklist": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncompleteChecklist": "uncompleted checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addComment": "commented on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-editComment": "edited comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteComment": "deleted comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createBoard": "created board __board__", + "act-createSwimlane": "created swimlane __swimlane__ to board __board__", + "act-createCard": "created card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-createCustomField": "created custom field __customField__ at board __board__", + "act-deleteCustomField": "deleted custom field __customField__ at board __board__", + "act-setCustomField": "edited custom field __customField__: __customFieldValue__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createList": "added list __list__ to board __board__", + "act-addBoardMember": "added member __member__ to board __board__", + "act-archivedBoard": "Board __board__ moved to Archive", + "act-archivedCard": "Card __card__ at list __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedList": "List __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedSwimlane": "Swimlane __swimlane__ at board __board__ moved to Archive", + "act-importBoard": "imported board __board__", + "act-importCard": "imported card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-importList": "imported list __list__ to swimlane __swimlane__ at board __board__", + "act-joinMember": "added member __member__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-moveCard": "moved card __card__ at board __board__ from list __oldList__ at swimlane __oldSwimlane__ to list __list__ at swimlane __swimlane__", + "act-moveCardToOtherBoard": "moved card __card__ from list __oldList__ at swimlane __oldSwimlane__ at board __oldBoard__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-removeBoardMember": "removed member __member__ from board __board__", + "act-restoredCard": "restored card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-unjoinMember": "removed member __member__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Műveletek", + "activities": "Tevékenységek", + "activity": "Tevékenység", + "activity-added": "%s hozzáadva ehhez: %s", + "activity-archived": "%s moved to Archive", + "activity-attached": "%s mellékletet csatolt a kártyához: %s", + "activity-created": "%s létrehozva", + "activity-customfield-created": "létrehozta a(z) %s egyéni mezőt", + "activity-excluded": "%s kizárva innen: %s", + "activity-imported": "%s importálva ebbe: %s, innen: %s", + "activity-imported-board": "%s importálva innen: %s", + "activity-joined": "%s csatlakozott", + "activity-moved": "%s áthelyezve: %s → %s", + "activity-on": "ekkor: %s", + "activity-removed": "%s eltávolítva innen: %s", + "activity-sent": "%s elküldve ide: %s", + "activity-unjoined": "%s kilépett a csoportból", + "activity-subtask-added": "Alfeladat hozzáadva ehhez: %s", + "activity-checked-item": "checked %s in checklist %s of %s", + "activity-unchecked-item": "unchecked %s in checklist %s of %s", + "activity-checklist-added": "ellenőrzőlista hozzáadva ehhez: %s", + "activity-checklist-removed": "removed a checklist from %s", + "activity-checklist-completed": "completed checklist %s of %s", + "activity-checklist-uncompleted": "uncompleted the checklist %s of %s", + "activity-checklist-item-added": "ellenőrzőlista elem hozzáadva ehhez: „%s”, ebben: %s", + "activity-checklist-item-removed": "removed a checklist item from '%s' in %s", + "add": "Hozzáadás", + "activity-checked-item-card": "checked %s in checklist %s", + "activity-unchecked-item-card": "unchecked %s in checklist %s", + "activity-checklist-completed-card": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "activity-checklist-uncompleted-card": "uncompleted the checklist %s", + "activity-editComment": "edited comment %s", + "activity-deleteComment": "deleted comment %s", + "add-attachment": "Melléklet hozzáadása", + "add-board": "Tábla hozzáadása", + "add-card": "Kártya hozzáadása", + "add-swimlane": "Add Swimlane", + "add-subtask": "Alfeladat hozzáadása", + "add-checklist": "Ellenőrzőlista hozzáadása", + "add-checklist-item": "Elem hozzáadása az ellenőrzőlistához", + "add-cover": "Borító hozzáadása", + "add-label": "Címke hozzáadása", + "add-list": "Lista hozzáadása", + "add-members": "Tagok hozzáadása", + "added": "Hozzáadva", + "addMemberPopup-title": "Tagok", + "admin": "Adminisztrátor", + "admin-desc": "Megtekintheti és szerkesztheti a kártyákat, eltávolíthat tagokat, valamint megváltoztathatja a tábla beállításait.", + "admin-announcement": "Bejelentés", + "admin-announcement-active": "Bekapcsolt rendszerszintű bejelentés", + "admin-announcement-title": "Bejelentés az adminisztrátortól", + "all-boards": "Összes tábla", + "and-n-other-card": "És __count__ egyéb kártya", + "and-n-other-card_plural": "És __count__ egyéb kártya", + "apply": "Alkalmaz", + "app-is-offline": "Loading, please wait. Refreshing the page will cause data loss. If loading does not work, please check that server has not stopped.", + "archive": "Mozgatás az archívumba", + "archive-all": "Move All to Archive", + "archive-board": "Move Board to Archive", + "archive-card": "Move Card to Archive", + "archive-list": "Move List to Archive", + "archive-swimlane": "Move Swimlane to Archive", + "archive-selection": "Move selection to Archive", + "archiveBoardPopup-title": "Move Board to Archive?", + "archived-items": "Archiválás", + "archived-boards": "Boards in Archive", + "restore-board": "Tábla visszaállítása", + "no-archived-boards": "No Boards in Archive.", + "archives": "Archiválás", + "template": "Sablon", + "templates": "Sablonok", + "assign-member": "Tag hozzárendelése", + "attached": "csatolva", + "attachment": "Melléklet", + "attachment-delete-pop": "A melléklet törlése végeleges. Nincs visszaállítás.", + "attachmentDeletePopup-title": "Törli a mellékletet?", + "attachments": "Mellékletek", + "auto-watch": "Táblák automatikus megtekintése, amikor létrejönnek", + "avatar-too-big": "Az avatár túl nagy (legfeljebb 70 KB)", + "back": "Vissza", + "board-change-color": "Szín megváltoztatása", + "board-nb-stars": "%s csillag", + "board-not-found": "A tábla nem található", + "board-private-info": "Ez a tábla legyen személyes.", + "board-public-info": "Ez a tábla legyen nyilvános.", + "boardChangeColorPopup-title": "Tábla hátterének megváltoztatása", + "boardChangeTitlePopup-title": "Tábla átnevezése", + "boardChangeVisibilityPopup-title": "Láthatóság megváltoztatása", + "boardChangeWatchPopup-title": "Megfigyelés megváltoztatása", + "boardMenuPopup-title": "Tábla beállítások", + "boardChangeViewPopup-title": "Tábla nézet", + "boards": "Táblák", + "board-view": "Tábla nézet", + "board-view-cal": "Naptár", + "board-view-swimlanes": "Swimlanes", + "board-view-collapse": "Összecsukás", + "board-view-lists": "Listák", + "bucket-example": "Mint például „Bakancslista”", + "cancel": "Mégse", + "card-archived": "This card is moved to Archive.", + "board-archived": "This board is moved to Archive.", + "card-comments-title": "Ez a kártya %s hozzászólást tartalmaz.", + "card-delete-notice": "A törlés végleges. Az összes műveletet elveszíti, amely ehhez a kártyához tartozik.", + "card-delete-pop": "Az összes művelet el lesz távolítva a tevékenységlistából, és nem lesz képes többé újra megnyitni a kártyát. Nincs visszaállítási lehetőség.", + "card-delete-suggest-archive": "You can move a card to Archive to remove it from the board and preserve the activity.", + "card-due": "Esedékes", + "card-due-on": "Esedékes ekkor", + "card-spent": "Eltöltött idő", + "card-edit-attachments": "Mellékletek szerkesztése", + "card-edit-custom-fields": "Egyéni mezők szerkesztése", + "card-edit-labels": "Címkék szerkesztése", + "card-edit-members": "Tagok szerkesztése", + "card-labels-title": "A kártya címkéinek megváltoztatása.", + "card-members-title": "A tábla tagjainak hozzáadása vagy eltávolítása a kártyáról.", + "card-start": "Kezdés", + "card-start-on": "Kezdés ekkor", + "cardAttachmentsPopup-title": "Innen csatolva", + "cardCustomField-datePopup-title": "Dátum megváltoztatása", + "cardCustomFieldsPopup-title": "Egyéni mezők szerkesztése", + "cardStartVotingPopup-title": "Start a vote", + "positiveVoteMembersPopup-title": "Proponents", + "negativeVoteMembersPopup-title": "Opponents", + "card-edit-voting": "Edit voting", + "editVoteEndDatePopup-title": "Change vote end date", + "allowNonBoardMembers": "Allow all logged in users", + "vote-question": "Voting question", + "vote-public": "Show who voted what", + "vote-for-it": "for it", + "vote-against": "against", + "deleteVotePopup-title": "Delete vote?", + "vote-delete-pop": "Deleting is permanent. You will lose all actions associated with this vote.", + "cardDeletePopup-title": "Törli a kártyát?", + "cardDetailsActionsPopup-title": "Kártyaműveletek", + "cardLabelsPopup-title": "Címkék", + "cardMembersPopup-title": "Tagok", + "cardMorePopup-title": "Több", + "cardTemplatePopup-title": "Create template", + "cards": "Kártyák", + "cards-count": "Kártyák", + "casSignIn": "Sign In with CAS", + "cardType-card": "Card", + "cardType-linkedCard": "Linked Card", + "cardType-linkedBoard": "Linked Board", + "change": "Változtatás", + "change-avatar": "Avatár megváltoztatása", + "change-password": "Jelszó megváltoztatása", + "change-permissions": "Jogosultságok megváltoztatása", + "change-settings": "Beállítások megváltoztatása", + "changeAvatarPopup-title": "Avatár megváltoztatása", + "changeLanguagePopup-title": "Nyelv megváltoztatása", + "changePasswordPopup-title": "Jelszó megváltoztatása", + "changePermissionsPopup-title": "Jogosultságok megváltoztatása", + "changeSettingsPopup-title": "Beállítások megváltoztatása", + "subtasks": "Alfeladat", + "checklists": "Ellenőrzőlisták", + "click-to-star": "Kattintson a tábla csillagozásához.", + "click-to-unstar": "Kattintson a tábla csillagának eltávolításához.", + "clipboard": "Vágólap vagy fogd és vidd", + "close": "Bezárás", + "close-board": "Tábla bezárása", + "close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.", + "color-black": "fekete", + "color-blue": "kék", + "color-crimson": "crimson", + "color-darkgreen": "darkgreen", + "color-gold": "gold", + "color-gray": "gray", + "color-green": "zöld", + "color-indigo": "indigo", + "color-lime": "citrus", + "color-magenta": "magenta", + "color-mistyrose": "mistyrose", + "color-navy": "navy", + "color-orange": "narancssárga", + "color-paleturquoise": "paleturquoise", + "color-peachpuff": "peachpuff", + "color-pink": "rózsaszín", + "color-plum": "plum", + "color-purple": "lila", + "color-red": "piros", + "color-saddlebrown": "saddlebrown", + "color-silver": "silver", + "color-sky": "égszínkék", + "color-slateblue": "slateblue", + "color-white": "white", + "color-yellow": "sárga", + "unset-color": "Unset", + "comment": "Megjegyzés", + "comment-placeholder": "Megjegyzés írása", + "comment-only": "Csak megjegyzés", + "comment-only-desc": "Csak megjegyzést írhat a kártyákhoz.", + "no-comments": "No comments", + "no-comments-desc": "Can not see comments and activities.", + "worker": "Worker", + "worker-desc": "Can only move cards, assign itself to card and comment.", + "computer": "Számítógép", + "confirm-subtask-delete-dialog": "Biztosan törölni szeretnél az alfeladatot?", + "confirm-checklist-delete-dialog": "Are you sure you want to delete checklist?", + "copy-card-link-to-clipboard": "Kártya hivatkozásának másolása a vágólapra", + "linkCardPopup-title": "Link Card", + "searchElementPopup-title": "Keresés", + "copyCardPopup-title": "Kártya másolása", + "copyChecklistToManyCardsPopup-title": "Ellenőrzőlista sablon másolása több kártyára", + "copyChecklistToManyCardsPopup-instructions": "A célkártyák címe és a leírások ebben a JSON formátumban", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"Első kártya címe\", \"description\":\"Első kártya leírása\"}, {\"title\":\"Második kártya címe\",\"description\":\"Második kártya leírása\"},{\"title\":\"Utolsó kártya címe\",\"description\":\"Utolsó kártya leírása\"} ]", + "create": "Létrehozás", + "createBoardPopup-title": "Tábla létrehozása", + "chooseBoardSourcePopup-title": "Tábla importálása", + "createLabelPopup-title": "Címke létrehozása", + "createCustomField": "Mező létrehozása", + "createCustomFieldPopup-title": "Mező létrehozása", + "current": "jelenlegi", + "custom-field-delete-pop": "Nincs visszavonás. Ez el fogja távolítani az egyéni mezőt az összes kártyáról, és megsemmisíti az előzményeit.", + "custom-field-checkbox": "Jelölőnégyzet", + "custom-field-currency": "Currency", + "custom-field-currency-option": "Currency Code", + "custom-field-date": "Dátum", + "custom-field-dropdown": "Legördülő lista", + "custom-field-dropdown-none": "(nincs)", + "custom-field-dropdown-options": "Lista lehetőségei", + "custom-field-dropdown-options-placeholder": "Nyomja meg az Enter billentyűt több lehetőség hozzáadásához", + "custom-field-dropdown-unknown": "(ismeretlen)", + "custom-field-number": "Szám", + "custom-field-text": "Szöveg", + "custom-fields": "Egyéni mezők", + "date": "Dátum", + "decline": "Elutasítás", + "default-avatar": "Alapértelmezett avatár", + "delete": "Törlés", + "deleteCustomFieldPopup-title": "Törli az egyéni mezőt?", + "deleteLabelPopup-title": "Törli a címkét?", + "description": "Leírás", + "disambiguateMultiLabelPopup-title": "Címkeművelet egyértelműsítése", + "disambiguateMultiMemberPopup-title": "Tagművelet egyértelműsítése", + "discard": "Eldobás", + "done": "Kész", + "download": "Letöltés", + "edit": "Szerkesztés", + "edit-avatar": "Avatár megváltoztatása", + "edit-profile": "Profil szerkesztése", + "edit-wip-limit": "WIP korlát szerkesztése", + "soft-wip-limit": "Gyenge WIP korlát", + "editCardStartDatePopup-title": "Kezdődátum megváltoztatása", + "editCardDueDatePopup-title": "Esedékesség dátumának megváltoztatása", + "editCustomFieldPopup-title": "Mező szerkesztése", + "editCardSpentTimePopup-title": "Eltöltött idő megváltoztatása", + "editLabelPopup-title": "Címke megváltoztatása", + "editNotificationPopup-title": "Értesítés szerkesztése", + "editProfilePopup-title": "Profil szerkesztése", + "email": "E-mail", + "email-enrollAccount-subject": "Létrejött a profilja a következő oldalon: __siteName__", + "email-enrollAccount-text": "Kedves __user__!\n\nA szolgáltatás használatának megkezdéséhez egyszerűen kattintson a lenti hivatkozásra.\n\n__url__\n\nKöszönjük.", + "email-fail": "Az e-mail küldése nem sikerült", + "email-fail-text": "Hiba az e-mail küldésének kísérlete közben", + "email-invalid": "Érvénytelen e-mail", + "email-invite": "Meghívás e-mailben", + "email-invite-subject": "__inviter__ egy meghívást küldött Önnek", + "email-invite-text": "Kedves __user__!\n\n__inviter__ meghívta Önt, hogy csatlakozzon a(z) „__board__” táblán történő együttműködéshez.\n\nKattintson az alábbi hivatkozásra:\n\n__url__\n\nKöszönjük.", + "email-resetPassword-subject": "Jelszó visszaállítása ezen az oldalon: __siteName__", + "email-resetPassword-text": "Kedves __user__!\n\nA jelszava visszaállításához egyszerűen kattintson a lenti hivatkozásra.\n\n__url__\n\nKöszönjük.", + "email-sent": "E-mail elküldve", + "email-verifyEmail-subject": "Igazolja vissza az e-mail címét a következő oldalon: __siteName__", + "email-verifyEmail-text": "Kedves __user__!\n\nAz e-mail fiókjának visszaigazolásához egyszerűen kattintson a lenti hivatkozásra.\n\n__url__\n\nKöszönjük.", + "enable-wip-limit": "WIP korlát engedélyezése", + "error-board-doesNotExist": "Ez a tábla nem létezik", + "error-board-notAdmin": "A tábla adminisztrátorának kell lennie, hogy ezt megtehesse", + "error-board-notAMember": "A tábla tagjának kell lennie, hogy ezt megtehesse", + "error-json-malformed": "A szöveg nem érvényes JSON", + "error-json-schema": "A JSON adatok nem a helyes formátumban tartalmazzák a megfelelő információkat", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "Ez a lista nem létezik", + "error-user-doesNotExist": "Ez a felhasználó nem létezik", + "error-user-notAllowSelf": "Nem hívhatja meg saját magát", + "error-user-notCreated": "Ez a felhasználó nincs létrehozva", + "error-username-taken": "Ez a felhasználónév már foglalt", + "error-email-taken": "Az e-mail már foglalt", + "export-board": "Tábla exportálása", + "export-board-json": "Export board to JSON", + "export-board-csv": "Export board to CSV", + "export-board-tsv": "Export board to TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "Tábla exportálása", + "sort": "Sort", + "sort-desc": "Click to Sort List", + "list-sort-by": "Sort the List By:", + "list-label-modifiedAt": "Last Access Time", + "list-label-title": "Name of the List", + "list-label-sort": "Your Manual Order", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Szűrő", + "filter-cards": "Filter Cards or Lists", + "list-filter-label": "Filter List by Title", + "filter-clear": "Szűrő törlése", + "filter-no-label": "Nincs címke", + "filter-no-member": "Nincs tag", + "filter-no-assignee": "No assignee", + "filter-no-custom-fields": "Nincsenek egyéni mezők", + "filter-show-archive": "Show archived lists", + "filter-hide-empty": "Hide empty lists", + "filter-on": "Szűrő bekapcsolva", + "filter-on-desc": "A kártyaszűrés be van kapcsolva ezen a táblán. Kattintson ide a szűrő szerkesztéséhez.", + "filter-to-selection": "Szűrés a kijelöléshez", + "advanced-filter-label": "Speciális szűrő", + "advanced-filter-description": "Advanced Filter allows to write a string containing following operators: == != <= >= && || ( ) A space is used as a separator between the Operators. You can filter for all Custom Fields by typing their names and values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need to encapsulate them into single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) to be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally all operators are interpreted from left to right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i", + "fullname": "Teljes név", + "header-logo-title": "Vissza a táblák oldalára.", + "hide-system-messages": "Rendszerüzenetek elrejtése", + "headerBarCreateBoardPopup-title": "Tábla létrehozása", + "home": "Kezdőlap", + "import": "Importálás", + "link": "Link", + "import-board": "tábla importálása", + "import-board-c": "Tábla importálása", + "import-board-title-trello": "Tábla importálása a Trello oldalról", + "import-board-title-wekan": "Import board from previous export", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "A Trello oldalról", + "from-wekan": "From previous export", + "from-csv": "From CSV/TSV", + "import-board-instruction-trello": "A Trello tábláján menjen a „Menü”, majd a „Több”, „Nyomtatás és exportálás”, „JSON exportálása” menüpontokra, és másolja ki az eredményül kapott szöveget.", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "In your board, go to 'Menu', then 'Export board', and copy the text in the downloaded file.", + "import-board-instruction-about-errors": "If you get errors when importing board, sometimes importing still works, and board is at All Boards page.", + "import-json-placeholder": "Illessze be ide az érvényes JSON adatokat", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "Tagok leképezése", + "import-members-map": "Your imported board has some members. Please map the members you want to import to your users", + "import-show-user-mapping": "Tagok leképezésének vizsgálata", + "import-user-select": "Pick your existing user you want to use as this member", + "importMapMembersAddPopup-title": "Select member", + "info": "Verzió", + "initials": "Kezdőbetűk", + "invalid-date": "Érvénytelen dátum", + "invalid-time": "Érvénytelen idő", + "invalid-user": "Érvénytelen felhasználó", + "joined": "csatlakozott", + "just-invited": "Éppen most hívták meg erre a táblára", + "keyboard-shortcuts": "Gyorsbillentyűk", + "label-create": "Címke létrehozása", + "label-default": "%s címke (alapértelmezett)", + "label-delete-pop": "Nincs visszavonás. Ez el fogja távolítani ezt a címkét az összes kártyáról, és törli az előzményeit.", + "labels": "Címkék", + "language": "Nyelv", + "last-admin-desc": "Nem változtathatja meg a szerepeket, mert legalább egy adminisztrátora szükség van.", + "leave-board": "Tábla elhagyása", + "leave-board-pop": "Biztosan el szeretné hagyni ezt a táblát: __boardTitle__? El lesz távolítva a táblán lévő összes kártyáról.", + "leaveBoardPopup-title": "Elhagyja a táblát?", + "link-card": "Összekapcsolás ezzel a kártyával", + "list-archive-cards": "Move all cards in this list to Archive", + "list-archive-cards-pop": "This will remove all the cards in this list from the board. To view cards in Archive and bring them back to the board, click “Menu” > “Archive”.", + "list-move-cards": "A listán lévő összes kártya áthelyezése", + "list-select-cards": "A listán lévő összes kártya kiválasztása", + "set-color-list": "Set Color", + "listActionPopup-title": "Műveletek felsorolása", + "swimlaneActionPopup-title": "Swimlane Actions", + "swimlaneAddPopup-title": "Add a Swimlane below", + "listImportCardPopup-title": "Trello kártya importálása", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "Több", + "link-list": "Összekapcsolás ezzel a listával", + "list-delete-pop": "Az összes művelet el lesz távolítva a tevékenységlistából, és nem lesz lehetősége visszaállítani a listát. Nincs visszavonás.", + "list-delete-suggest-archive": "You can move a list to Archive to remove it from the board and preserve the activity.", + "lists": "Listák", + "swimlanes": "Swimlanes", + "log-out": "Kijelentkezés", + "log-in": "Bejelentkezés", + "loginPopup-title": "Bejelentkezés", + "memberMenuPopup-title": "Tagok beállításai", + "members": "Tagok", + "menu": "Menü", + "move-selection": "Kijelölés áthelyezése", + "moveCardPopup-title": "Kártya áthelyezése", + "moveCardToBottom-title": "Áthelyezés az aljára", + "moveCardToTop-title": "Áthelyezés a tetejére", + "moveSelectionPopup-title": "Kijelölés áthelyezése", + "multi-selection": "Többszörös kijelölés", + "multi-selection-on": "Többszörös kijelölés bekapcsolva", + "muted": "Némítva", + "muted-info": "Soha sem lesz értesítve a táblán lévő semmilyen változásról.", + "my-boards": "Saját tábláim", + "name": "Név", + "no-archived-cards": "No cards in Archive.", + "no-archived-lists": "No lists in Archive.", + "no-archived-swimlanes": "No swimlanes in Archive.", + "no-results": "Nincs találat", + "normal": "Normál", + "normal-desc": "Megtekintheti és szerkesztheti a kártyákat. Nem változtathatja meg a beállításokat.", + "not-accepted-yet": "A meghívás még nincs elfogadva", + "notify-participate": "Frissítések fogadása bármely kártyánál, amelynél létrehozóként vagy tagként vesz részt", + "notify-watch": "Frissítések fogadása bármely táblánál, listánál vagy kártyánál, amelyet megtekint", + "optional": "opcionális", + "or": "vagy", + "page-maybe-private": "Ez az oldal személyes lehet. Esetleg megtekintheti, ha bejelentkezik.", + "page-not-found": "Az oldal nem található.", + "password": "Jelszó", + "paste-or-dragdrop": "illessze be, vagy fogd és vidd módon húzza ide a képfájlt (csak képeket)", + "participating": "Részvétel", + "preview": "Előnézet", + "previewAttachedImagePopup-title": "Előnézet", + "previewClipboardImagePopup-title": "Előnézet", + "private": "Személyes", + "private-desc": "Ez a tábla személyes. Csak a táblához hozzáadott emberek tekinthetik meg és szerkeszthetik.", + "profile": "Profil", + "public": "Nyilvános", + "public-desc": "Ez a tábla nyilvános. A hivatkozás birtokában bárki számára látható, és megjelenik az olyan keresőmotorokban, mint például a Google. Csak a táblához hozzáadott emberek szerkeszthetik.", + "quick-access-description": "Csillagozzon meg egy táblát egy gyors hivatkozás hozzáadásához ebbe a sávba.", + "remove-cover": "Borító eltávolítása", + "remove-from-board": "Eltávolítás a tábláról", + "remove-label": "Címke eltávolítása", + "listDeletePopup-title": "Törli a listát?", + "remove-member": "Tag eltávolítása", + "remove-member-from-card": "Eltávolítás a kártyáról", + "remove-member-pop": "Eltávolítja __name__ (__username__) felhasználót a tábláról: __boardTitle__? A tag el lesz távolítva a táblán lévő összes kártyáról. Értesítést fog kapni erről.", + "removeMemberPopup-title": "Eltávolítja a tagot?", + "rename": "Átnevezés", + "rename-board": "Tábla átnevezése", + "restore": "Visszaállítás", + "save": "Mentés", + "search": "Keresés", + "rules": "Rules", + "search-cards": "Search from card/list titles, descriptions and custom fields on this board", + "search-example": "keresőkifejezés", + "select-color": "Szín kiválasztása", + "set-wip-limit-value": "Korlát beállítása a listán lévő feladatok legnagyobb számához", + "setWipLimitPopup-title": "WIP korlát beállítása", + "shortcut-assign-self": "Önmaga hozzárendelése a jelenlegi kártyához", + "shortcut-autocomplete-emoji": "Emodzsi automatikus kiegészítése", + "shortcut-autocomplete-members": "Tagok automatikus kiegészítése", + "shortcut-clear-filters": "Összes szűrő törlése", + "shortcut-close-dialog": "Párbeszédablak bezárása", + "shortcut-filter-my-cards": "Kártyáim szűrése", + "shortcut-show-shortcuts": "A hivatkozási lista előre hozása", + "shortcut-toggle-filterbar": "Szűrő oldalsáv ki- és bekapcsolása", + "shortcut-toggle-sidebar": "Tábla oldalsáv ki- és bekapcsolása", + "show-cards-minimum-count": "Kártyaszámok megjelenítése, ha a lista többet tartalmaz mint", + "sidebar-open": "Oldalsáv megnyitása", + "sidebar-close": "Oldalsáv bezárása", + "signupPopup-title": "Fiók létrehozása", + "star-board-title": "Kattintson a tábla csillagozásához. Meg fog jelenni a táblalistája tetején.", + "starred-boards": "Csillagozott táblák", + "starred-boards-description": "A csillagozott táblák megjelennek a táblalistája tetején.", + "subscribe": "Feliratkozás", + "team": "Csapat", + "this-board": "ez a tábla", + "this-card": "ez a kártya", + "spent-time-hours": "Eltöltött idő (óra)", + "overtime-hours": "Túlóra (óra)", + "overtime": "Túlóra", + "has-overtime-cards": "Van túlórás kártyája", + "has-spenttime-cards": "Has spent time cards", + "time": "Idő", + "title": "Cím", + "tracking": "Követés", + "tracking-info": "Értesítve lesz az összes olyan kártya változásáról, amelyen létrehozóként vagy tagként vesz részt.", + "type": "Típus", + "unassign-member": "Tag hozzárendelésének megszüntetése", + "unsaved-description": "Van egy mentetlen leírása.", + "unwatch": "Megfigyelés megszüntetése", + "upload": "Feltöltés", + "upload-avatar": "Egy avatár feltöltése", + "uploaded-avatar": "Egy avatár feltöltve", + "username": "Felhasználónév", + "view-it": "Megtekintés", + "warn-list-archived": "warning: this card is in an list at Archive", + "watch": "Megfigyelés", + "watching": "Megfigyelés", + "watching-info": "Értesítve lesz a táblán lévő összes változásról", + "welcome-board": "Üdvözlő tábla", + "welcome-swimlane": "1. mérföldkő", + "welcome-list1": "Alapok", + "welcome-list2": "Speciális", + "card-templates-swimlane": "Card Templates", + "list-templates-swimlane": "List Templates", + "board-templates-swimlane": "Board Templates", + "what-to-do": "Mit szeretne tenni?", + "wipLimitErrorPopup-title": "Érvénytelen WIP korlát", + "wipLimitErrorPopup-dialog-pt1": "A listán lévő feladatok száma magasabb a meghatározott WIP korlátnál.", + "wipLimitErrorPopup-dialog-pt2": "Helyezzen át néhány feladatot a listáról, vagy állítson be magasabb WIP korlátot.", + "admin-panel": "Adminisztrációs panel", + "settings": "Beállítások", + "people": "Emberek", + "registration": "Regisztráció", + "disable-self-registration": "Önregisztráció letiltása", + "invite": "Meghívás", + "invite-people": "Emberek meghívása", + "to-boards": "Táblákhoz", + "email-addresses": "E-mail címek", + "smtp-host-description": "Az SMTP kiszolgáló címe, amely az e-maileket kezeli.", + "smtp-port-description": "Az SMTP kiszolgáló által használt port a kimenő e-mailekhez.", + "smtp-tls-description": "TLS támogatás engedélyezése az SMTP kiszolgálónál", + "smtp-host": "SMTP kiszolgáló", + "smtp-port": "SMTP port", + "smtp-username": "Felhasználónév", + "smtp-password": "Jelszó", + "smtp-tls": "TLS támogatás", + "send-from": "Feladó", + "send-smtp-test": "Teszt e-mail küldése magamnak", + "invitation-code": "Meghívási kód", + "email-invite-register-subject": "__inviter__ egy meghívás küldött Önnek", + "email-invite-register-text": "Dear __user__,\n\n__inviter__ invites you to kanban board for collaborations.\n\nPlease follow the link below:\n__url__\n\nAnd your invitation code is: __icode__\n\nThanks.", + "email-smtp-test-subject": "SMTP Test Email", + "email-smtp-test-text": "Sikeresen elküldött egy e-mailt", + "error-invitation-code-not-exist": "A meghívási kód nem létezik", + "error-notAuthorized": "Nincs jogosultsága az oldal megtekintéséhez.", + "webhook-title": "Webhook Name", + "webhook-token": "Token (Optional for Authentication)", + "outgoing-webhooks": "Kimenő webhurkok", + "bidirectional-webhooks": "Two-Way Webhooks", + "outgoingWebhooksPopup-title": "Kimenő webhurkok", + "boardCardTitlePopup-title": "Card Title Filter", + "disable-webhook": "Disable This Webhook", + "global-webhook": "Global Webhooks", + "new-outgoing-webhook": "Új kimenő webhurok", + "no-name": "(Ismeretlen)", + "Node_version": "Node verzió", + "Meteor_version": "Meteor version", + "MongoDB_version": "MongoDB version", + "MongoDB_storage_engine": "MongoDB storage engine", + "MongoDB_Oplog_enabled": "MongoDB Oplog enabled", + "OS_Arch": "Operációs rendszer architektúrája", + "OS_Cpus": "Operációs rendszer CPU száma", + "OS_Freemem": "Operációs rendszer szabad memóriája", + "OS_Loadavg": "Operációs rendszer átlagos terhelése", + "OS_Platform": "Operációs rendszer platformja", + "OS_Release": "Operációs rendszer kiadása", + "OS_Totalmem": "Operációs rendszer összes memóriája", + "OS_Type": "Operációs rendszer típusa", + "OS_Uptime": "Operációs rendszer üzemideje", + "days": "days", + "hours": "óra", + "minutes": "perc", + "seconds": "másodperc", + "show-field-on-card": "A mező megjelenítése a kártyán", + "automatically-field-on-card": "Auto create field to all cards", + "showLabel-field-on-card": "Show field label on minicard", + "yes": "Igen", + "no": "Nem", + "accounts": "Fiókok", + "accounts-allowEmailChange": "E-mail megváltoztatásának engedélyezése", + "accounts-allowUserNameChange": "Felhasználónév megváltoztatásának engedélyezése", + "createdAt": "Létrehozva", + "verified": "Ellenőrizve", + "active": "Aktív", + "card-received": "Érkezett", + "card-received-on": "Ekkor érkezett", + "card-end": "Befejezés", + "card-end-on": "Befejeződik ekkor", + "editCardReceivedDatePopup-title": "Érkezési dátum megváltoztatása", + "editCardEndDatePopup-title": "Befejezési dátum megváltoztatása", + "setCardColorPopup-title": "Set color", + "setCardActionsColorPopup-title": "Choose a color", + "setSwimlaneColorPopup-title": "Choose a color", + "setListColorPopup-title": "Choose a color", + "assigned-by": "Assigned By", + "requested-by": "Requested By", + "board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.", + "delete-board-confirm-popup": "All lists, cards, labels, and activities will be deleted and you won't be able to recover the board contents. There is no undo.", + "boardDeletePopup-title": "Delete Board?", + "delete-board": "Delete Board", + "default-subtasks-board": "Subtasks for __board__ board", + "default": "Default", + "queue": "Queue", + "subtask-settings": "Alfeladat beállítások", + "card-settings": "Card Settings", + "boardSubtaskSettingsPopup-title": "Tábla alfeladat beállítások", + "boardCardSettingsPopup-title": "Card Settings", + "deposit-subtasks-board": "Deposit subtasks to this board:", + "deposit-subtasks-list": "Landing list for subtasks deposited here:", + "show-parent-in-minicard": "Show parent in minicard:", + "prefix-with-full-path": "Prefix with full path", + "prefix-with-parent": "Prefix with parent", + "subtext-with-full-path": "Subtext with full path", + "subtext-with-parent": "Subtext with parent", + "change-card-parent": "Change card's parent", + "parent-card": "Parent card", + "source-board": "Source board", + "no-parent": "Don't show parent", + "activity-added-label": "added label '%s' to %s", + "activity-removed-label": "removed label '%s' from %s", + "activity-delete-attach": "deleted an attachment from %s", + "activity-added-label-card": "added label '%s'", + "activity-removed-label-card": "removed label '%s'", + "activity-delete-attach-card": "deleted an attachment", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "Rule", + "r-add-trigger": "Add trigger", + "r-add-action": "Add action", + "r-board-rules": "Board rules", + "r-add-rule": "Add rule", + "r-view-rule": "View rule", + "r-delete-rule": "Delete rule", + "r-new-rule-name": "New rule title", + "r-no-rules": "No rules", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "When a card", + "r-is": "is", + "r-is-moved": "is moved", + "r-added-to": "Added to", + "r-removed-from": "Removed from", + "r-the-board": "the board", + "r-list": "list", + "set-filter": "Set Filter", + "r-moved-to": "Moved to", + "r-moved-from": "Moved from", + "r-archived": "Archívumba helyezve", + "r-unarchived": "Helyreállítva az archívumból", + "r-a-card": "a card", + "r-when-a-label-is": "When a label is", + "r-when-the-label": "When the label", + "r-list-name": "list name", + "r-when-a-member": "When a member is", + "r-when-the-member": "When the member", + "r-name": "name", + "r-when-a-attach": "When an attachment", + "r-when-a-checklist": "When a checklist is", + "r-when-the-checklist": "When the checklist", + "r-completed": "Completed", + "r-made-incomplete": "Made incomplete", + "r-when-a-item": "When a checklist item is", + "r-when-the-item": "When the checklist item", + "r-checked": "Checked", + "r-unchecked": "Unchecked", + "r-move-card-to": "Move card to", + "r-top-of": "Top of", + "r-bottom-of": "Bottom of", + "r-its-list": "its list", + "r-archive": "Mozgatás az archívumba", + "r-unarchive": "Helyreállítás az archívumból", + "r-card": "card", + "r-add": "Hozzáadás", + "r-remove": "Remove", + "r-label": "label", + "r-member": "member", + "r-remove-all": "Remove all members from the card", + "r-set-color": "Set color to", + "r-checklist": "checklist", + "r-check-all": "Összes megjelölése", + "r-uncheck-all": "Összes jelölés törlése", + "r-items-check": "items of checklist", + "r-check": "Kijelölés", + "r-uncheck": "Jelölés törlése", + "r-item": "item", + "r-of-checklist": "ellenőrzőlistából", + "r-send-email": "E-mail küldése", + "r-to": "címzett", + "r-of": "of", + "r-subject": "tárgy", + "r-rule-details": "Rule details", + "r-d-move-to-top-gen": "Move card to top of its list", + "r-d-move-to-top-spec": "Move card to top of list", + "r-d-move-to-bottom-gen": "Move card to bottom of its list", + "r-d-move-to-bottom-spec": "Move card to bottom of list", + "r-d-send-email": "E-mail küldése", + "r-d-send-email-to": "címzett", + "r-d-send-email-subject": "tárgy", + "r-d-send-email-message": "üzenet", + "r-d-archive": "Move card to Archive", + "r-d-unarchive": "Restore card from Archive", + "r-d-add-label": "Címke hozzáadása", + "r-d-remove-label": "Címke eltávolítása", + "r-create-card": "Create new card", + "r-in-list": "in list", + "r-in-swimlane": "in swimlane", + "r-d-add-member": "Add member", + "r-d-remove-member": "Remove member", + "r-d-remove-all-member": "Remove all member", + "r-d-check-all": "Check all items of a list", + "r-d-uncheck-all": "Uncheck all items of a list", + "r-d-check-one": "Elem kijelölése", + "r-d-uncheck-one": "Elem bejelölésének törlése", + "r-d-check-of-list": "ellenőrzőlistából", + "r-d-add-checklist": "Ellenőrzőlista hozzáadása", + "r-d-remove-checklist": "Ellenőrzőlista eltávolítása", + "r-by": "által", + "r-add-checklist": "Ellenőrzőlista hozzáadása", + "r-with-items": "elemekkel", + "r-items-list": "item1,item2,item3", + "r-add-swimlane": "Add swimlane", + "r-swimlane-name": "swimlane name", + "r-board-note": "Note: leave a field empty to match every possible value.", + "r-checklist-note": "Note: checklist's items have to be written as comma separated values.", + "r-when-a-card-is-moved": "Amikor egy kártya másik listába kerül", + "r-set": "Set", + "r-update": "Frissítés", + "r-datefield": "dátum mező", + "r-df-start-at": "kezdet", + "r-df-due-at": "határidő", + "r-df-end-at": "végzett", + "r-df-received-at": "megérkezett", + "r-to-current-datetime": "to current date/time", + "r-remove-value-from": "Remove value from", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Hitelesítési mód", + "authentication-type": "Hitelesítés típusa", + "custom-product-name": "Saját terméknév", + "layout": "Elrendezés", + "hide-logo": "Logo elrejtése", + "add-custom-html-after-body-start": "Egyedi HTML hozzáadása után", + "add-custom-html-before-body-end": "1", + "error-undefined": "Valami hiba történt", + "error-ldap-login": "Hiba történt bejelentkezés közben", + "display-authentication-method": "Hitelelesítési mód mutatása", + "default-authentication-method": "Alapértelmezett hitelesítési mód", + "duplicate-board": "Duplicate Board", + "people-number": "The number of people is:", + "swimlaneDeletePopup-title": "Delete Swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Összes visszaállítása", + "delete-all": "Összes törlése", + "loading": "Betöltés folyamatban, kis türelmet…", + "previous_as": "last time was", + "act-a-dueAt": "modified due time to \nWhen: __timeValue__\nWhere: __card__\n previous due was __timeOldValue__", + "act-a-endAt": "modified ending time to __timeValue__ from (__timeOldValue__)", + "act-a-startAt": "modified starting time to __timeValue__ from (__timeOldValue__)", + "act-a-receivedAt": "modified received time to __timeValue__ from (__timeOldValue__)", + "a-dueAt": "modified due time to be", + "a-endAt": "modified ending time to be", + "a-startAt": "modified starting time to be", + "a-receivedAt": "modified received time to be", + "almostdue": "current due time %s is approaching", + "pastdue": "current due time %s is past", + "duenow": "current due time %s is today", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", + "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", + "act-duenow": "was reminding the current due (__timeValue__) of __card__ is now", + "act-atUserComment": "You were mentioned in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Are you sure you want to delete this account? There is no undo.", + "accounts-allowUserDelete": "Allow users to self delete their account", + "hide-minicard-label-text": "Hide minicard label text", + "show-desktop-drag-handles": "Show desktop drag handles", + "assignee": "Felelős", + "cardAssigneesPopup-title": "Felelős", + "addmore-detail": "Add a more detailed description", + "show-on-card": "Show on Card", + "new": "Új", + "editUserPopup-title": "Felhasználó szerkesztése", + "newUserPopup-title": "Új felhasználó", + "notifications": "Értesítések", + "view-all": "Összes megtekintése", + "filter-by-unread": "Filter by Unread", + "mark-all-as-read": "Összes megjelölése olvasottként", + "remove-all-read": "Remove all read", + "allow-rename": "Allow Rename", + "allowRenamePopup-title": "Allow Rename", + "start-day-of-week": "Állítsa be a hét kezdetének napját", + "monday": "hétfő", + "tuesday": "kedd", + "wednesday": "szerda", + "thursday": "csütörtök", + "friday": "péntek", + "saturday": "szombat", + "sunday": "vasárnap", + "status": "Állapot", + "swimlane": "Swimlane", + "owner": "Tulajdonos", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archiválva", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Kijelölt elemek elrejtése" +} \ No newline at end of file diff --git a/i18n/hy.i18n.json b/i18n/hy.i18n.json new file mode 100644 index 0000000..473d659 --- /dev/null +++ b/i18n/hy.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Ընդունել", + "act-activity-notify": "Activity Notification", + "act-addAttachment": "added attachment __attachment__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteAttachment": "deleted attachment __attachment__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addSubtask": "added subtask __subtask__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addedLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removedLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklist": "added checklist __checklist__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklistItem": "added checklist item __checklistItem__ to checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklist": "removed checklist __checklist__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklistItem": "removed checklist item __checklistItem__ from checklist __checkList__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-checkedItem": "checked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncheckedItem": "unchecked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-completeChecklist": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncompleteChecklist": "uncompleted checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addComment": "commented on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-editComment": "edited comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteComment": "deleted comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createBoard": "created board __board__", + "act-createSwimlane": "created swimlane __swimlane__ to board __board__", + "act-createCard": "created card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-createCustomField": "created custom field __customField__ at board __board__", + "act-deleteCustomField": "deleted custom field __customField__ at board __board__", + "act-setCustomField": "edited custom field __customField__: __customFieldValue__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createList": "added list __list__ to board __board__", + "act-addBoardMember": "added member __member__ to board __board__", + "act-archivedBoard": "Board __board__ moved to Archive", + "act-archivedCard": "Card __card__ at list __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedList": "List __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedSwimlane": "Swimlane __swimlane__ at board __board__ moved to Archive", + "act-importBoard": "imported board __board__", + "act-importCard": "imported card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-importList": "imported list __list__ to swimlane __swimlane__ at board __board__", + "act-joinMember": "added member __member__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-moveCard": "moved card __card__ at board __board__ from list __oldList__ at swimlane __oldSwimlane__ to list __list__ at swimlane __swimlane__", + "act-moveCardToOtherBoard": "moved card __card__ from list __oldList__ at swimlane __oldSwimlane__ at board __oldBoard__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-removeBoardMember": "removed member __member__ from board __board__", + "act-restoredCard": "restored card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-unjoinMember": "removed member __member__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Actions", + "activities": "Activities", + "activity": "Activity", + "activity-added": "added %s to %s", + "activity-archived": "%s moved to Archive", + "activity-attached": "attached %s to %s", + "activity-created": "created %s", + "activity-customfield-created": "created custom field %s", + "activity-excluded": "excluded %s from %s", + "activity-imported": "imported %s into %s from %s", + "activity-imported-board": "imported %s from %s", + "activity-joined": "joined %s", + "activity-moved": "moved %s from %s to %s", + "activity-on": "on %s", + "activity-removed": "removed %s from %s", + "activity-sent": "sent %s to %s", + "activity-unjoined": "unjoined %s", + "activity-subtask-added": "added subtask to %s", + "activity-checked-item": "checked %s in checklist %s of %s", + "activity-unchecked-item": "unchecked %s in checklist %s of %s", + "activity-checklist-added": "added checklist to %s", + "activity-checklist-removed": "removed a checklist from %s", + "activity-checklist-completed": "completed checklist %s of %s", + "activity-checklist-uncompleted": "uncompleted the checklist %s of %s", + "activity-checklist-item-added": "added checklist item to '%s' in %s", + "activity-checklist-item-removed": "removed a checklist item from '%s' in %s", + "add": "Add", + "activity-checked-item-card": "checked %s in checklist %s", + "activity-unchecked-item-card": "unchecked %s in checklist %s", + "activity-checklist-completed-card": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "activity-checklist-uncompleted-card": "uncompleted the checklist %s", + "activity-editComment": "edited comment %s", + "activity-deleteComment": "deleted comment %s", + "add-attachment": "Add Attachment", + "add-board": "Add Board", + "add-card": "Add Card", + "add-swimlane": "Add Swimlane", + "add-subtask": "Add Subtask", + "add-checklist": "Add Checklist", + "add-checklist-item": "Add an item to checklist", + "add-cover": "Add Cover", + "add-label": "Add Label", + "add-list": "Add List", + "add-members": "Add Members", + "added": "Added", + "addMemberPopup-title": "Members", + "admin": "Admin", + "admin-desc": "Can view and edit cards, remove members, and change settings for the board.", + "admin-announcement": "Announcement", + "admin-announcement-active": "Active System-Wide Announcement", + "admin-announcement-title": "Announcement from Administrator", + "all-boards": "All boards", + "and-n-other-card": "And __count__ other card", + "and-n-other-card_plural": "And __count__ other cards", + "apply": "Apply", + "app-is-offline": "Loading, please wait. Refreshing the page will cause data loss. If loading does not work, please check that server has not stopped.", + "archive": "Move to Archive", + "archive-all": "Move All to Archive", + "archive-board": "Move Board to Archive", + "archive-card": "Move Card to Archive", + "archive-list": "Move List to Archive", + "archive-swimlane": "Move Swimlane to Archive", + "archive-selection": "Move selection to Archive", + "archiveBoardPopup-title": "Move Board to Archive?", + "archived-items": "Archive", + "archived-boards": "Boards in Archive", + "restore-board": "Restore Board", + "no-archived-boards": "No Boards in Archive.", + "archives": "Archive", + "template": "Template", + "templates": "Templates", + "assign-member": "Assign member", + "attached": "attached", + "attachment": "Attachment", + "attachment-delete-pop": "Deleting an attachment is permanent. There is no undo.", + "attachmentDeletePopup-title": "Delete Attachment?", + "attachments": "Attachments", + "auto-watch": "Automatically watch boards when they are created", + "avatar-too-big": "The avatar is too large (70KB max)", + "back": "Back", + "board-change-color": "Change color", + "board-nb-stars": "%s stars", + "board-not-found": "Board not found", + "board-private-info": "This board will be private.", + "board-public-info": "This board will be public.", + "boardChangeColorPopup-title": "Change Board Background", + "boardChangeTitlePopup-title": "Rename Board", + "boardChangeVisibilityPopup-title": "Change Visibility", + "boardChangeWatchPopup-title": "Change Watch", + "boardMenuPopup-title": "Board Settings", + "boardChangeViewPopup-title": "Board View", + "boards": "Boards", + "board-view": "Board View", + "board-view-cal": "Calendar", + "board-view-swimlanes": "Swimlanes", + "board-view-collapse": "Collapse", + "board-view-lists": "Lists", + "bucket-example": "Like “Bucket List” for example", + "cancel": "Cancel", + "card-archived": "This card is moved to Archive.", + "board-archived": "This board is moved to Archive.", + "card-comments-title": "This card has %s comment.", + "card-delete-notice": "Deleting is permanent. You will lose all actions associated with this card.", + "card-delete-pop": "All actions will be removed from the activity feed and you won't be able to re-open the card. There is no undo.", + "card-delete-suggest-archive": "You can move a card to Archive to remove it from the board and preserve the activity.", + "card-due": "Due", + "card-due-on": "Due on", + "card-spent": "Spent Time", + "card-edit-attachments": "Edit attachments", + "card-edit-custom-fields": "Edit custom fields", + "card-edit-labels": "Edit labels", + "card-edit-members": "Edit members", + "card-labels-title": "Change the labels for the card.", + "card-members-title": "Add or remove members of the board from the card.", + "card-start": "Start", + "card-start-on": "Starts on", + "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", + "cardStartVotingPopup-title": "Start a vote", + "positiveVoteMembersPopup-title": "Proponents", + "negativeVoteMembersPopup-title": "Opponents", + "card-edit-voting": "Edit voting", + "editVoteEndDatePopup-title": "Change vote end date", + "allowNonBoardMembers": "Allow all logged in users", + "vote-question": "Voting question", + "vote-public": "Show who voted what", + "vote-for-it": "for it", + "vote-against": "against", + "deleteVotePopup-title": "Delete vote?", + "vote-delete-pop": "Deleting is permanent. You will lose all actions associated with this vote.", + "cardDeletePopup-title": "Delete Card?", + "cardDetailsActionsPopup-title": "Card Actions", + "cardLabelsPopup-title": "Labels", + "cardMembersPopup-title": "Members", + "cardMorePopup-title": "More", + "cardTemplatePopup-title": "Create template", + "cards": "Cards", + "cards-count": "Cards", + "casSignIn": "Sign In with CAS", + "cardType-card": "Card", + "cardType-linkedCard": "Linked Card", + "cardType-linkedBoard": "Linked Board", + "change": "Change", + "change-avatar": "Change Avatar", + "change-password": "Change Password", + "change-permissions": "Change permissions", + "change-settings": "Change Settings", + "changeAvatarPopup-title": "Change Avatar", + "changeLanguagePopup-title": "Change Language", + "changePasswordPopup-title": "Change Password", + "changePermissionsPopup-title": "Change Permissions", + "changeSettingsPopup-title": "Change Settings", + "subtasks": "Subtasks", + "checklists": "Checklists", + "click-to-star": "Click to star this board.", + "click-to-unstar": "Click to unstar this board.", + "clipboard": "Clipboard or drag & drop", + "close": "Close", + "close-board": "Close Board", + "close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.", + "color-black": "black", + "color-blue": "blue", + "color-crimson": "crimson", + "color-darkgreen": "darkgreen", + "color-gold": "gold", + "color-gray": "gray", + "color-green": "green", + "color-indigo": "indigo", + "color-lime": "lime", + "color-magenta": "magenta", + "color-mistyrose": "mistyrose", + "color-navy": "navy", + "color-orange": "orange", + "color-paleturquoise": "paleturquoise", + "color-peachpuff": "peachpuff", + "color-pink": "pink", + "color-plum": "plum", + "color-purple": "purple", + "color-red": "red", + "color-saddlebrown": "saddlebrown", + "color-silver": "silver", + "color-sky": "sky", + "color-slateblue": "slateblue", + "color-white": "white", + "color-yellow": "yellow", + "unset-color": "Unset", + "comment": "Comment", + "comment-placeholder": "Write Comment", + "comment-only": "Comment only", + "comment-only-desc": "Can comment on cards only.", + "no-comments": "No comments", + "no-comments-desc": "Can not see comments and activities.", + "worker": "Worker", + "worker-desc": "Can only move cards, assign itself to card and comment.", + "computer": "Computer", + "confirm-subtask-delete-dialog": "Are you sure you want to delete subtask?", + "confirm-checklist-delete-dialog": "Are you sure you want to delete checklist?", + "copy-card-link-to-clipboard": "Copy card link to clipboard", + "linkCardPopup-title": "Link Card", + "searchElementPopup-title": "Search", + "copyCardPopup-title": "Copy Card", + "copyChecklistToManyCardsPopup-title": "Copy Checklist Template to Many Cards", + "copyChecklistToManyCardsPopup-instructions": "Destination Card Titles and Descriptions in this JSON format", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"First card title\", \"description\":\"First card description\"}, {\"title\":\"Second card title\",\"description\":\"Second card description\"},{\"title\":\"Last card title\",\"description\":\"Last card description\"} ]", + "create": "Create", + "createBoardPopup-title": "Create Board", + "chooseBoardSourcePopup-title": "Import board", + "createLabelPopup-title": "Create Label", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", + "current": "current", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-currency": "Currency", + "custom-field-currency-option": "Currency Code", + "custom-field-date": "Date", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", + "date": "Date", + "decline": "Decline", + "default-avatar": "Default avatar", + "delete": "Delete", + "deleteCustomFieldPopup-title": "Delete Custom Field?", + "deleteLabelPopup-title": "Delete Label?", + "description": "Description", + "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", + "disambiguateMultiMemberPopup-title": "Disambiguate Member Action", + "discard": "Discard", + "done": "Done", + "download": "Download", + "edit": "Edit", + "edit-avatar": "Change Avatar", + "edit-profile": "Edit Profile", + "edit-wip-limit": "Edit WIP Limit", + "soft-wip-limit": "Soft WIP Limit", + "editCardStartDatePopup-title": "Change start date", + "editCardDueDatePopup-title": "Change due date", + "editCustomFieldPopup-title": "Edit Field", + "editCardSpentTimePopup-title": "Change spent time", + "editLabelPopup-title": "Change Label", + "editNotificationPopup-title": "Edit Notification", + "editProfilePopup-title": "Edit Profile", + "email": "Email", + "email-enrollAccount-subject": "An account created for you on __siteName__", + "email-enrollAccount-text": "Hello __user__,\n\nTo start using the service, simply click the link below.\n\n__url__\n\nThanks.", + "email-fail": "Sending email failed", + "email-fail-text": "Error trying to send email", + "email-invalid": "Invalid email", + "email-invite": "Invite via Email", + "email-invite-subject": "__inviter__ sent you an invitation", + "email-invite-text": "Dear __user__,\n\n__inviter__ invites you to join board \"__board__\" for collaborations.\n\nPlease follow the link below:\n\n__url__\n\nThanks.", + "email-resetPassword-subject": "Reset your password on __siteName__", + "email-resetPassword-text": "Hello __user__,\n\nTo reset your password, simply click the link below.\n\n__url__\n\nThanks.", + "email-sent": "Email sent", + "email-verifyEmail-subject": "Verify your email address on __siteName__", + "email-verifyEmail-text": "Hello __user__,\n\nTo verify your account email, simply click the link below.\n\n__url__\n\nThanks.", + "enable-wip-limit": "Enable WIP Limit", + "error-board-doesNotExist": "This board does not exist", + "error-board-notAdmin": "You need to be admin of this board to do that", + "error-board-notAMember": "You need to be a member of this board to do that", + "error-json-malformed": "Your text is not valid JSON", + "error-json-schema": "Your JSON data does not include the proper information in the correct format", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "This list does not exist", + "error-user-doesNotExist": "This user does not exist", + "error-user-notAllowSelf": "You can not invite yourself", + "error-user-notCreated": "This user is not created", + "error-username-taken": "This username is already taken", + "error-email-taken": "Email has already been taken", + "export-board": "Export board", + "export-board-json": "Export board to JSON", + "export-board-csv": "Export board to CSV", + "export-board-tsv": "Export board to TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "Export board", + "sort": "Sort", + "sort-desc": "Click to Sort List", + "list-sort-by": "Sort the List By:", + "list-label-modifiedAt": "Last Access Time", + "list-label-title": "Name of the List", + "list-label-sort": "Your Manual Order", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Filter", + "filter-cards": "Filter Cards or Lists", + "list-filter-label": "Filter List by Title", + "filter-clear": "Clear filter", + "filter-no-label": "No label", + "filter-no-member": "No member", + "filter-no-assignee": "No assignee", + "filter-no-custom-fields": "No Custom Fields", + "filter-show-archive": "Show archived lists", + "filter-hide-empty": "Hide empty lists", + "filter-on": "Filter is on", + "filter-on-desc": "You are filtering cards on this board. Click here to edit filter.", + "filter-to-selection": "Filter to selection", + "advanced-filter-label": "Advanced Filter", + "advanced-filter-description": "Advanced Filter allows to write a string containing following operators: == != <= >= && || ( ) A space is used as a separator between the Operators. You can filter for all Custom Fields by typing their names and values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need to encapsulate them into single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) to be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally all operators are interpreted from left to right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i", + "fullname": "Full Name", + "header-logo-title": "Go back to your boards page.", + "hide-system-messages": "Hide system messages", + "headerBarCreateBoardPopup-title": "Create Board", + "home": "Home", + "import": "Import", + "link": "Link", + "import-board": "import board", + "import-board-c": "Import board", + "import-board-title-trello": "Import board from Trello", + "import-board-title-wekan": "Import board from previous export", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "From Trello", + "from-wekan": "From previous export", + "from-csv": "From CSV/TSV", + "import-board-instruction-trello": "In your Trello board, go to 'Menu', then 'More', 'Print and Export', 'Export JSON', and copy the resulting text.", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "In your board, go to 'Menu', then 'Export board', and copy the text in the downloaded file.", + "import-board-instruction-about-errors": "If you get errors when importing board, sometimes importing still works, and board is at All Boards page.", + "import-json-placeholder": "Paste your valid JSON data here", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "Map members", + "import-members-map": "Your imported board has some members. Please map the members you want to import to your users", + "import-show-user-mapping": "Review members mapping", + "import-user-select": "Pick your existing user you want to use as this member", + "importMapMembersAddPopup-title": "Select member", + "info": "Version", + "initials": "Initials", + "invalid-date": "Invalid date", + "invalid-time": "Invalid time", + "invalid-user": "Invalid user", + "joined": "joined", + "just-invited": "You are just invited to this board", + "keyboard-shortcuts": "Keyboard shortcuts", + "label-create": "Create Label", + "label-default": "%s label (default)", + "label-delete-pop": "There is no undo. This will remove this label from all cards and destroy its history.", + "labels": "Labels", + "language": "Language", + "last-admin-desc": "You can’t change roles because there must be at least one admin.", + "leave-board": "Leave Board", + "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.", + "leaveBoardPopup-title": "Leave Board ?", + "link-card": "Link to this card", + "list-archive-cards": "Move all cards in this list to Archive", + "list-archive-cards-pop": "This will remove all the cards in this list from the board. To view cards in Archive and bring them back to the board, click “Menu” > “Archive”.", + "list-move-cards": "Move all cards in this list", + "list-select-cards": "Select all cards in this list", + "set-color-list": "Set Color", + "listActionPopup-title": "List Actions", + "swimlaneActionPopup-title": "Swimlane Actions", + "swimlaneAddPopup-title": "Add a Swimlane below", + "listImportCardPopup-title": "Import a Trello card", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "More", + "link-list": "Link to this list", + "list-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the list. There is no undo.", + "list-delete-suggest-archive": "You can move a list to Archive to remove it from the board and preserve the activity.", + "lists": "Lists", + "swimlanes": "Swimlanes", + "log-out": "Log Out", + "log-in": "Log In", + "loginPopup-title": "Log In", + "memberMenuPopup-title": "Member Settings", + "members": "Members", + "menu": "Menu", + "move-selection": "Move selection", + "moveCardPopup-title": "Move Card", + "moveCardToBottom-title": "Move to Bottom", + "moveCardToTop-title": "Move to Top", + "moveSelectionPopup-title": "Move selection", + "multi-selection": "Multi-Selection", + "multi-selection-on": "Multi-Selection is on", + "muted": "Muted", + "muted-info": "You will never be notified of any changes in this board", + "my-boards": "My Boards", + "name": "Name", + "no-archived-cards": "No cards in Archive.", + "no-archived-lists": "No lists in Archive.", + "no-archived-swimlanes": "No swimlanes in Archive.", + "no-results": "No results", + "normal": "Normal", + "normal-desc": "Can view and edit cards. Can't change settings.", + "not-accepted-yet": "Invitation not accepted yet", + "notify-participate": "Receive updates to any cards you participate as creater or member", + "notify-watch": "Receive updates to any boards, lists, or cards you’re watching", + "optional": "optional", + "or": "or", + "page-maybe-private": "This page may be private. You may be able to view it by logging in.", + "page-not-found": "Page not found.", + "password": "Password", + "paste-or-dragdrop": "to paste, or drag & drop image file to it (image only)", + "participating": "Participating", + "preview": "Preview", + "previewAttachedImagePopup-title": "Preview", + "previewClipboardImagePopup-title": "Preview", + "private": "Private", + "private-desc": "This board is private. Only people added to the board can view and edit it.", + "profile": "Profile", + "public": "Public", + "public-desc": "This board is public. It's visible to anyone with the link and will show up in search engines like Google. Only people added to the board can edit.", + "quick-access-description": "Star a board to add a shortcut in this bar.", + "remove-cover": "Remove Cover", + "remove-from-board": "Remove from Board", + "remove-label": "Remove Label", + "listDeletePopup-title": "Delete List ?", + "remove-member": "Remove Member", + "remove-member-from-card": "Remove from Card", + "remove-member-pop": "Remove __name__ (__username__) from __boardTitle__? The member will be removed from all cards on this board. They will receive a notification.", + "removeMemberPopup-title": "Remove Member?", + "rename": "Rename", + "rename-board": "Rename Board", + "restore": "Restore", + "save": "Save", + "search": "Search", + "rules": "Rules", + "search-cards": "Search from card/list titles, descriptions and custom fields on this board", + "search-example": "Text to search for?", + "select-color": "Select Color", + "set-wip-limit-value": "Set a limit for the maximum number of tasks in this list", + "setWipLimitPopup-title": "Set WIP Limit", + "shortcut-assign-self": "Assign yourself to current card", + "shortcut-autocomplete-emoji": "Autocomplete emoji", + "shortcut-autocomplete-members": "Autocomplete members", + "shortcut-clear-filters": "Clear all filters", + "shortcut-close-dialog": "Close Dialog", + "shortcut-filter-my-cards": "Filter my cards", + "shortcut-show-shortcuts": "Bring up this shortcuts list", + "shortcut-toggle-filterbar": "Toggle Filter Sidebar", + "shortcut-toggle-sidebar": "Toggle Board Sidebar", + "show-cards-minimum-count": "Show cards count if list contains more than", + "sidebar-open": "Open Sidebar", + "sidebar-close": "Close Sidebar", + "signupPopup-title": "Create an Account", + "star-board-title": "Click to star this board. It will show up at top of your boards list.", + "starred-boards": "Starred Boards", + "starred-boards-description": "Starred boards show up at the top of your boards list.", + "subscribe": "Subscribe", + "team": "Team", + "this-board": "this board", + "this-card": "this card", + "spent-time-hours": "Spent time (hours)", + "overtime-hours": "Overtime (hours)", + "overtime": "Overtime", + "has-overtime-cards": "Has overtime cards", + "has-spenttime-cards": "Has spent time cards", + "time": "Time", + "title": "Title", + "tracking": "Tracking", + "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", + "unassign-member": "Unassign member", + "unsaved-description": "You have an unsaved description.", + "unwatch": "Unwatch", + "upload": "Upload", + "upload-avatar": "Upload an avatar", + "uploaded-avatar": "Uploaded an avatar", + "username": "Username", + "view-it": "View it", + "warn-list-archived": "warning: this card is in an list at Archive", + "watch": "Watch", + "watching": "Watching", + "watching-info": "You will be notified of any change in this board", + "welcome-board": "Welcome Board", + "welcome-swimlane": "Milestone 1", + "welcome-list1": "Basics", + "welcome-list2": "Advanced", + "card-templates-swimlane": "Card Templates", + "list-templates-swimlane": "List Templates", + "board-templates-swimlane": "Board Templates", + "what-to-do": "What do you want to do?", + "wipLimitErrorPopup-title": "Invalid WIP Limit", + "wipLimitErrorPopup-dialog-pt1": "The number of tasks in this list is higher than the WIP limit you've defined.", + "wipLimitErrorPopup-dialog-pt2": "Please move some tasks out of this list, or set a higher WIP limit.", + "admin-panel": "Admin Panel", + "settings": "Settings", + "people": "People", + "registration": "Registration", + "disable-self-registration": "Disable Self-Registration", + "invite": "Invite", + "invite-people": "Invite People", + "to-boards": "To board(s)", + "email-addresses": "Email Addresses", + "smtp-host-description": "The address of the SMTP server that handles your emails.", + "smtp-port-description": "The port your SMTP server uses for outgoing emails.", + "smtp-tls-description": "Enable TLS support for SMTP server", + "smtp-host": "SMTP Host", + "smtp-port": "SMTP Port", + "smtp-username": "Username", + "smtp-password": "Password", + "smtp-tls": "TLS support", + "send-from": "From", + "send-smtp-test": "Send a test email to yourself", + "invitation-code": "Invitation Code", + "email-invite-register-subject": "__inviter__ sent you an invitation", + "email-invite-register-text": "Dear __user__,\n\n__inviter__ invites you to kanban board for collaborations.\n\nPlease follow the link below:\n__url__\n\nAnd your invitation code is: __icode__\n\nThanks.", + "email-smtp-test-subject": "SMTP Test Email", + "email-smtp-test-text": "You have successfully sent an email", + "error-invitation-code-not-exist": "Invitation code doesn't exist", + "error-notAuthorized": "You are not authorized to view this page.", + "webhook-title": "Webhook Name", + "webhook-token": "Token (Optional for Authentication)", + "outgoing-webhooks": "Outgoing Webhooks", + "bidirectional-webhooks": "Two-Way Webhooks", + "outgoingWebhooksPopup-title": "Outgoing Webhooks", + "boardCardTitlePopup-title": "Card Title Filter", + "disable-webhook": "Disable This Webhook", + "global-webhook": "Global Webhooks", + "new-outgoing-webhook": "New Outgoing Webhook", + "no-name": "(Unknown)", + "Node_version": "Node version", + "Meteor_version": "Meteor version", + "MongoDB_version": "MongoDB version", + "MongoDB_storage_engine": "MongoDB storage engine", + "MongoDB_Oplog_enabled": "MongoDB Oplog enabled", + "OS_Arch": "OS Arch", + "OS_Cpus": "OS CPU Count", + "OS_Freemem": "OS Free Memory", + "OS_Loadavg": "OS Load Average", + "OS_Platform": "OS Platform", + "OS_Release": "OS Release", + "OS_Totalmem": "OS Total Memory", + "OS_Type": "OS Type", + "OS_Uptime": "OS Uptime", + "days": "days", + "hours": "hours", + "minutes": "minutes", + "seconds": "seconds", + "show-field-on-card": "Show this field on card", + "automatically-field-on-card": "Auto create field to all cards", + "showLabel-field-on-card": "Show field label on minicard", + "yes": "Yes", + "no": "No", + "accounts": "Accounts", + "accounts-allowEmailChange": "Allow Email Change", + "accounts-allowUserNameChange": "Allow Username Change", + "createdAt": "Created at", + "verified": "Verified", + "active": "Active", + "card-received": "Received", + "card-received-on": "Received on", + "card-end": "End", + "card-end-on": "Ends on", + "editCardReceivedDatePopup-title": "Change received date", + "editCardEndDatePopup-title": "Change end date", + "setCardColorPopup-title": "Set color", + "setCardActionsColorPopup-title": "Choose a color", + "setSwimlaneColorPopup-title": "Choose a color", + "setListColorPopup-title": "Choose a color", + "assigned-by": "Assigned By", + "requested-by": "Requested By", + "board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.", + "delete-board-confirm-popup": "All lists, cards, labels, and activities will be deleted and you won't be able to recover the board contents. There is no undo.", + "boardDeletePopup-title": "Delete Board?", + "delete-board": "Delete Board", + "default-subtasks-board": "Subtasks for __board__ board", + "default": "Default", + "queue": "Queue", + "subtask-settings": "Subtasks Settings", + "card-settings": "Card Settings", + "boardSubtaskSettingsPopup-title": "Board Subtasks Settings", + "boardCardSettingsPopup-title": "Card Settings", + "deposit-subtasks-board": "Deposit subtasks to this board:", + "deposit-subtasks-list": "Landing list for subtasks deposited here:", + "show-parent-in-minicard": "Show parent in minicard:", + "prefix-with-full-path": "Prefix with full path", + "prefix-with-parent": "Prefix with parent", + "subtext-with-full-path": "Subtext with full path", + "subtext-with-parent": "Subtext with parent", + "change-card-parent": "Change card's parent", + "parent-card": "Parent card", + "source-board": "Source board", + "no-parent": "Don't show parent", + "activity-added-label": "added label '%s' to %s", + "activity-removed-label": "removed label '%s' from %s", + "activity-delete-attach": "deleted an attachment from %s", + "activity-added-label-card": "added label '%s'", + "activity-removed-label-card": "removed label '%s'", + "activity-delete-attach-card": "deleted an attachment", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "Rule", + "r-add-trigger": "Add trigger", + "r-add-action": "Add action", + "r-board-rules": "Board rules", + "r-add-rule": "Add rule", + "r-view-rule": "View rule", + "r-delete-rule": "Delete rule", + "r-new-rule-name": "New rule title", + "r-no-rules": "No rules", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "When a card", + "r-is": "is", + "r-is-moved": "is moved", + "r-added-to": "Added to", + "r-removed-from": "Removed from", + "r-the-board": "the board", + "r-list": "list", + "set-filter": "Set Filter", + "r-moved-to": "Moved to", + "r-moved-from": "Moved from", + "r-archived": "Moved to Archive", + "r-unarchived": "Restored from Archive", + "r-a-card": "a card", + "r-when-a-label-is": "When a label is", + "r-when-the-label": "When the label", + "r-list-name": "list name", + "r-when-a-member": "When a member is", + "r-when-the-member": "When the member", + "r-name": "name", + "r-when-a-attach": "When an attachment", + "r-when-a-checklist": "When a checklist is", + "r-when-the-checklist": "When the checklist", + "r-completed": "Completed", + "r-made-incomplete": "Made incomplete", + "r-when-a-item": "When a checklist item is", + "r-when-the-item": "When the checklist item", + "r-checked": "Checked", + "r-unchecked": "Unchecked", + "r-move-card-to": "Move card to", + "r-top-of": "Top of", + "r-bottom-of": "Bottom of", + "r-its-list": "its list", + "r-archive": "Move to Archive", + "r-unarchive": "Restore from Archive", + "r-card": "card", + "r-add": "Add", + "r-remove": "Remove", + "r-label": "label", + "r-member": "member", + "r-remove-all": "Remove all members from the card", + "r-set-color": "Set color to", + "r-checklist": "checklist", + "r-check-all": "Check all", + "r-uncheck-all": "Uncheck all", + "r-items-check": "items of checklist", + "r-check": "Check", + "r-uncheck": "Uncheck", + "r-item": "item", + "r-of-checklist": "of checklist", + "r-send-email": "Send an email", + "r-to": "to", + "r-of": "of", + "r-subject": "subject", + "r-rule-details": "Rule details", + "r-d-move-to-top-gen": "Move card to top of its list", + "r-d-move-to-top-spec": "Move card to top of list", + "r-d-move-to-bottom-gen": "Move card to bottom of its list", + "r-d-move-to-bottom-spec": "Move card to bottom of list", + "r-d-send-email": "Send email", + "r-d-send-email-to": "to", + "r-d-send-email-subject": "subject", + "r-d-send-email-message": "message", + "r-d-archive": "Move card to Archive", + "r-d-unarchive": "Restore card from Archive", + "r-d-add-label": "Add label", + "r-d-remove-label": "Remove label", + "r-create-card": "Create new card", + "r-in-list": "in list", + "r-in-swimlane": "in swimlane", + "r-d-add-member": "Add member", + "r-d-remove-member": "Remove member", + "r-d-remove-all-member": "Remove all member", + "r-d-check-all": "Check all items of a list", + "r-d-uncheck-all": "Uncheck all items of a list", + "r-d-check-one": "Check item", + "r-d-uncheck-one": "Uncheck item", + "r-d-check-of-list": "of checklist", + "r-d-add-checklist": "Add checklist", + "r-d-remove-checklist": "Remove checklist", + "r-by": "by", + "r-add-checklist": "Add checklist", + "r-with-items": "with items", + "r-items-list": "item1,item2,item3", + "r-add-swimlane": "Add swimlane", + "r-swimlane-name": "swimlane name", + "r-board-note": "Note: leave a field empty to match every possible value.", + "r-checklist-note": "Note: checklist's items have to be written as comma separated values.", + "r-when-a-card-is-moved": "When a card is moved to another list", + "r-set": "Set", + "r-update": "Update", + "r-datefield": "date field", + "r-df-start-at": "start", + "r-df-due-at": "due", + "r-df-end-at": "end", + "r-df-received-at": "received", + "r-to-current-datetime": "to current date/time", + "r-remove-value-from": "Remove value from", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Authentication method", + "authentication-type": "Authentication type", + "custom-product-name": "Custom Product Name", + "layout": "Layout", + "hide-logo": "Hide Logo", + "add-custom-html-after-body-start": "Add Custom HTML after start", + "add-custom-html-before-body-end": "Add Custom HTML before end", + "error-undefined": "Something went wrong", + "error-ldap-login": "An error occurred while trying to login", + "display-authentication-method": "Display Authentication Method", + "default-authentication-method": "Default Authentication Method", + "duplicate-board": "Duplicate Board", + "people-number": "The number of people is:", + "swimlaneDeletePopup-title": "Delete Swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Restore all", + "delete-all": "Delete all", + "loading": "Loading, please wait.", + "previous_as": "last time was", + "act-a-dueAt": "modified due time to \nWhen: __timeValue__\nWhere: __card__\n previous due was __timeOldValue__", + "act-a-endAt": "modified ending time to __timeValue__ from (__timeOldValue__)", + "act-a-startAt": "modified starting time to __timeValue__ from (__timeOldValue__)", + "act-a-receivedAt": "modified received time to __timeValue__ from (__timeOldValue__)", + "a-dueAt": "modified due time to be", + "a-endAt": "modified ending time to be", + "a-startAt": "modified starting time to be", + "a-receivedAt": "modified received time to be", + "almostdue": "current due time %s is approaching", + "pastdue": "current due time %s is past", + "duenow": "current due time %s is today", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", + "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", + "act-duenow": "was reminding the current due (__timeValue__) of __card__ is now", + "act-atUserComment": "You were mentioned in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Are you sure you want to delete this account? There is no undo.", + "accounts-allowUserDelete": "Allow users to self delete their account", + "hide-minicard-label-text": "Hide minicard label text", + "show-desktop-drag-handles": "Show desktop drag handles", + "assignee": "Assignee", + "cardAssigneesPopup-title": "Assignee", + "addmore-detail": "Add a more detailed description", + "show-on-card": "Show on Card", + "new": "New", + "editUserPopup-title": "Edit User", + "newUserPopup-title": "New User", + "notifications": "Notifications", + "view-all": "View All", + "filter-by-unread": "Filter by Unread", + "mark-all-as-read": "Mark all as read", + "remove-all-read": "Remove all read", + "allow-rename": "Allow Rename", + "allowRenamePopup-title": "Allow Rename", + "start-day-of-week": "Set day of the week start", + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archived", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/id.i18n.json b/i18n/id.i18n.json new file mode 100644 index 0000000..8eb15df --- /dev/null +++ b/i18n/id.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Terima", + "act-activity-notify": "Pemeberitahuan Aktifitas", + "act-addAttachment": "ditambahkan lampiran __attachment__ di kartu __card__ pada daftar __list__ pada swimline __swimline__ pada papan __board__", + "act-deleteAttachment": "deleted attachment __attachment__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addSubtask": "added subtask __subtask__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addedLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removedLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklist": "added checklist __checklist__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklistItem": "added checklist item __checklistItem__ to checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklist": "removed checklist __checklist__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklistItem": "removed checklist item __checklistItem__ from checklist __checkList__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-checkedItem": "checked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncheckedItem": "unchecked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-completeChecklist": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncompleteChecklist": "uncompleted checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addComment": "commented on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-editComment": "edited comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteComment": "deleted comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createBoard": "created board __board__", + "act-createSwimlane": "created swimlane __swimlane__ to board __board__", + "act-createCard": "created card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-createCustomField": "created custom field __customField__ at board __board__", + "act-deleteCustomField": "deleted custom field __customField__ at board __board__", + "act-setCustomField": "edited custom field __customField__: __customFieldValue__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createList": "ditambahkan daftar __list__ pada papan __board__", + "act-addBoardMember": "added member __member__ to board __board__", + "act-archivedBoard": "Board __board__ moved to Archive", + "act-archivedCard": "Card __card__ at list __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedList": "List __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedSwimlane": "Swimlane __swimlane__ at board __board__ moved to Archive", + "act-importBoard": "imported board __board__", + "act-importCard": "imported card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-importList": "imported list __list__ to swimlane __swimlane__ at board __board__", + "act-joinMember": "added member __member__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-moveCard": "moved card __card__ at board __board__ from list __oldList__ at swimlane __oldSwimlane__ to list __list__ at swimlane __swimlane__", + "act-moveCardToOtherBoard": "moved card __card__ from list __oldList__ at swimlane __oldSwimlane__ at board __oldBoard__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-removeBoardMember": "removed member __member__ from board __board__", + "act-restoredCard": "restored card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-unjoinMember": "removed member __member__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "__kartu__[__Panel__]", + "actions": "Daftar Tindakan", + "activities": "Daftar Kegiatan", + "activity": "Kegiatan", + "activity-added": "ditambahkan %s ke %s", + "activity-archived": "%s moved to Archive", + "activity-attached": "dilampirkan %s ke %s", + "activity-created": "dibuat %s", + "activity-customfield-created": "created custom field %s", + "activity-excluded": "tidak termasuk %s dari %s", + "activity-imported": "diimpor %s kedalam %s dari %s", + "activity-imported-board": "diimpor %s dari %s", + "activity-joined": "bergabung %s", + "activity-moved": "dipindahkan %s dari %s ke %s", + "activity-on": "pada %s", + "activity-removed": "dihapus %s dari %s", + "activity-sent": "terkirim %s ke %s", + "activity-unjoined": "tidak bergabung %s", + "activity-subtask-added": "added subtask to %s", + "activity-checked-item": "checked %s in checklist %s of %s", + "activity-unchecked-item": "unchecked %s in checklist %s of %s", + "activity-checklist-added": "daftar periksa ditambahkan ke %s", + "activity-checklist-removed": "removed a checklist from %s", + "activity-checklist-completed": "completed checklist %s of %s", + "activity-checklist-uncompleted": "uncompleted the checklist %s of %s", + "activity-checklist-item-added": "added checklist item to '%s' in %s", + "activity-checklist-item-removed": "removed a checklist item from '%s' in %s", + "add": "Tambah", + "activity-checked-item-card": "checked %s in checklist %s", + "activity-unchecked-item-card": "unchecked %s in checklist %s", + "activity-checklist-completed-card": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "activity-checklist-uncompleted-card": "uncompleted the checklist %s", + "activity-editComment": "edited comment %s", + "activity-deleteComment": "deleted comment %s", + "add-attachment": "Add Attachment", + "add-board": "Add Board", + "add-card": "Add Card", + "add-swimlane": "Add Swimlane", + "add-subtask": "Add Subtask", + "add-checklist": "Add Checklist", + "add-checklist-item": "Tambahkan hal ke daftar periksa", + "add-cover": "Tambahkan Sampul", + "add-label": "Add Label", + "add-list": "Add List", + "add-members": "Tambahkan Anggota", + "added": "Ditambahkan", + "addMemberPopup-title": "Daftar Anggota", + "admin": "Admin", + "admin-desc": "Bisa tampilkan dan sunting kartu, menghapus partisipan, dan merubah setting panel", + "admin-announcement": "Announcement", + "admin-announcement-active": "Active System-Wide Announcement", + "admin-announcement-title": "Announcement from Administrator", + "all-boards": "Semua Panel", + "and-n-other-card": "Dan__menghitung__kartu lain", + "and-n-other-card_plural": "Dan__menghitung__kartu lain", + "apply": "Terapkan", + "app-is-offline": "Loading, please wait. Refreshing the page will cause data loss. If loading does not work, please check that server has not stopped.", + "archive": "Pindahlan ke Arsip", + "archive-all": "Move All to Archive", + "archive-board": "Move Board to Archive", + "archive-card": "Move Card to Archive", + "archive-list": "Move List to Archive", + "archive-swimlane": "Move Swimlane to Archive", + "archive-selection": "Move selection to Archive", + "archiveBoardPopup-title": "Move Board to Archive?", + "archived-items": "Arsip", + "archived-boards": "Boards in Archive", + "restore-board": "Pulihkan Papan", + "no-archived-boards": "Tidak ada Papan pada Arsip", + "archives": "Arsip", + "template": "Klise", + "templates": "Klise", + "assign-member": "Tugaskan anggota", + "attached": "terlampir", + "attachment": "Lampiran", + "attachment-delete-pop": "Menghapus lampiran bersifat permanen. Tidak bisa dipulihkan.", + "attachmentDeletePopup-title": "Hapus Lampiran?", + "attachments": "Daftar Lampiran", + "auto-watch": "Otomatis diawasi saat membuat Panel", + "avatar-too-big": "Berkas avatar terlalu besar (70KB maks)", + "back": "Kembali", + "board-change-color": "Ubah warna", + "board-nb-stars": "%s bintang", + "board-not-found": "Panel tidak ditemukan", + "board-private-info": "Panel ini akan jadi Pribadi", + "board-public-info": "Panel ini akan jadi Publik= && || ( ) A space is used as a separator between the Operators. You can filter for all Custom Fields by typing their names and values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need to encapsulate them into single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) to be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally all operators are interpreted from left to right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i", + "fullname": "Nama Lengkap", + "header-logo-title": "Kembali ke laman panel anda", + "hide-system-messages": "Sembunyikan pesan-pesan sistem", + "headerBarCreateBoardPopup-title": "Buat Panel", + "home": "Beranda", + "import": "Impor", + "link": "Link", + "import-board": "import board", + "import-board-c": "Import board", + "import-board-title-trello": "Impor panel dari Trello", + "import-board-title-wekan": "Import board from previous export", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "From Trello", + "from-wekan": "From previous export", + "from-csv": "From CSV/TSV", + "import-board-instruction-trello": "Di panel Trello anda, ke 'Menu', terus 'More', 'Print and Export','Export JSON', dan salin hasilnya", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "In your board, go to 'Menu', then 'Export board', and copy the text in the downloaded file.", + "import-board-instruction-about-errors": "If you get errors when importing board, sometimes importing still works, and board is at All Boards page.", + "import-json-placeholder": "Tempelkan data JSON yang sah disini", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "Petakan partisipan", + "import-members-map": "Your imported board has some members. Please map the members you want to import to your users", + "import-show-user-mapping": "Review pemetaan partisipan", + "import-user-select": "Pick your existing user you want to use as this member", + "importMapMembersAddPopup-title": "Select member", + "info": "Versi", + "initials": "Inisial", + "invalid-date": "Tanggal tidak sah", + "invalid-time": "Invalid time", + "invalid-user": "Invalid user", + "joined": "bergabung", + "just-invited": "Anda baru diundang di panel ini", + "keyboard-shortcuts": "Pintasan kibor", + "label-create": "Buat Label", + "label-default": "label %s (default)", + "label-delete-pop": "Ini tidak bisa dikembalikan, akan menghapus label ini dari semua kartu dan menghapus semua riwayatnya", + "labels": "Daftar Label", + "language": "Bahasa", + "last-admin-desc": "Anda tidak dapat mengubah aturan karena harus ada minimal seorang Admin.", + "leave-board": "Tingalkan Panel", + "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.", + "leaveBoardPopup-title": "Leave Board ?", + "link-card": "Link ke kartu ini", + "list-archive-cards": "Move all cards in this list to Archive", + "list-archive-cards-pop": "This will remove all the cards in this list from the board. To view cards in Archive and bring them back to the board, click “Menu” > “Archive”.", + "list-move-cards": "Pindah semua kartu ke daftar ini", + "list-select-cards": "Pilih semua kartu di daftar ini", + "set-color-list": "Set Color", + "listActionPopup-title": "Daftar Tindakan", + "swimlaneActionPopup-title": "Swimlane Actions", + "swimlaneAddPopup-title": "Add a Swimlane below", + "listImportCardPopup-title": "Impor dari Kartu Trello", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "Lainnya", + "link-list": "Link to this list", + "list-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the list. There is no undo.", + "list-delete-suggest-archive": "You can move a list to Archive to remove it from the board and preserve the activity.", + "lists": "Daftar", + "swimlanes": "Swimlanes", + "log-out": "Keluar", + "log-in": "Masuk", + "loginPopup-title": "Masuk", + "memberMenuPopup-title": "Setelan Anggota", + "members": "Daftar Anggota", + "menu": "Menu", + "move-selection": "Pindahkan yang dipilih", + "moveCardPopup-title": "Pindahkan kartu", + "moveCardToBottom-title": "Pindahkan ke bawah", + "moveCardToTop-title": "Pindahkan ke atas", + "moveSelectionPopup-title": "Pindahkan yang dipilih", + "multi-selection": "Multi Pilihan", + "multi-selection-on": "Multi Pilihan aktif", + "muted": "Pemberitahuan tidak aktif", + "muted-info": "Anda tidak akan pernah dinotifikasi semua perubahan di panel ini", + "my-boards": "Panel saya", + "name": "Nama", + "no-archived-cards": "Tidak ada kartu di arsip.", + "no-archived-lists": "Tidak ada daftar di arsip.", + "no-archived-swimlanes": "No swimlanes in Archive.", + "no-results": "Tidak ada hasil", + "normal": "Normal", + "normal-desc": "Bisa tampilkan dan edit kartu. Tidak bisa ubah setting", + "not-accepted-yet": "Undangan belum diterima", + "notify-participate": "Terima update ke semua kartu dimana anda menjadi creator atau partisipan", + "notify-watch": "Terima update dari semua panel, daftar atau kartu yang anda amati", + "optional": "opsi", + "or": "atau", + "page-maybe-private": "Halaman ini hanya untuk kalangan terbatas. Anda dapat melihatnya dengan masuk ke dalam sistem.", + "page-not-found": "Halaman tidak ditemukan.", + "password": "Kata Sandi", + "paste-or-dragdrop": "untuk menempelkan, atau drag& drop gambar pada ini (hanya gambar)", + "participating": "Berpartisipasi", + "preview": "Pratinjau", + "previewAttachedImagePopup-title": "Pratinjau", + "previewClipboardImagePopup-title": "Pratinjau", + "private": "Terbatas", + "private-desc": "Panel ini Pribadi. Hanya orang yang ditambahkan ke panel ini yang bisa melihat dan menyuntingnya", + "profile": "Profil", + "public": "Umum", + "public-desc": "Panel ini publik. Akan terlihat oleh siapapun dengan link terkait dan muncul di mesin pencari seperti Google. Hanya orang yang ditambahkan di panel yang bisa sunting", + "quick-access-description": "Beri bintang panel untuk menambah shortcut di papan ini", + "remove-cover": "Hapus Sampul", + "remove-from-board": "Hapus dari panel", + "remove-label": "Hapus Label", + "listDeletePopup-title": "Hapus Daftar ?", + "remove-member": "Hapus Anggota", + "remove-member-from-card": "Hapus dari Kartu", + "remove-member-pop": "Hapus__nama__(__username__) dari __boardTitle__? Partisipan akan dihapus dari semua kartu di panel ini. Mereka akan diberi tahu", + "removeMemberPopup-title": "Hapus Anggota?", + "rename": "Ganti Nama", + "rename-board": "Ubah nama Panel", + "restore": "Pulihkan", + "save": "Simpan", + "search": "Cari", + "rules": "Peraturan", + "search-cards": "Cari dari judul kartu/daftar, deskripsi dan bidang khusus di papan ini", + "search-example": "Teks untuk dicari ?", + "select-color": "Pilih Warna", + "set-wip-limit-value": "Tetapkan batas untuk jumlah tugas maksimum dalam daftar ini", + "setWipLimitPopup-title": "Tetapkan Batas WIP ", + "shortcut-assign-self": "Masukkan diri anda sendiri ke kartu ini", + "shortcut-autocomplete-emoji": "Pelengkap Otomatis emoji", + "shortcut-autocomplete-members": "Autocomplete partisipan", + "shortcut-clear-filters": "Bersihkan semua saringan", + "shortcut-close-dialog": "Tutup Dialog", + "shortcut-filter-my-cards": "Filter kartu saya", + "shortcut-show-shortcuts": "Angkat naik shortcut daftar ini", + "shortcut-toggle-filterbar": "Toggle Filter Bilah Samping", + "shortcut-toggle-sidebar": "Toggle Papan Bilah Samping", + "show-cards-minimum-count": "Tampilkan jumlah kartu jika daftar punya lebih dari ", + "sidebar-open": "Buka Sidebar", + "sidebar-close": "Tutup Sidebar", + "signupPopup-title": "Buat Akun", + "star-board-title": "Klik untuk beri bintang panel ini. Akan muncul paling atas dari daftar panel", + "starred-boards": "Panel dengan bintang", + "starred-boards-description": "Panel berbintang muncul paling atas dari daftar panel anda", + "subscribe": "Langganan", + "team": "Tim", + "this-board": "Panel ini", + "this-card": "Kartu ini", + "spent-time-hours": "Waktu yang dihabiskan (jam)", + "overtime-hours": "Lembur (jam)", + "overtime": "Lembur", + "has-overtime-cards": "Punya kartu lembur", + "has-spenttime-cards": "Has spent time cards", + "time": "Waktu", + "title": "Judul", + "tracking": "Pelacakan", + "tracking-info": "Anda akan dinotifikasi semua perubahan di kartu tersebut diaman anda terlibat sebagai creator atau partisipan", + "type": "tipe", + "unassign-member": "Tidak sertakan partisipan", + "unsaved-description": "Anda memiliki deskripsi yang belum disimpan.", + "unwatch": "Tidak mengamati", + "upload": "Unggah", + "upload-avatar": "Unggah avatar", + "uploaded-avatar": "Avatar diunggah", + "username": "Nama Pengguna", + "view-it": "Lihat", + "warn-list-archived": "warning: this card is in an list at Archive", + "watch": "Amati", + "watching": "Mengamati", + "watching-info": "Anda akan diberitahu semua perubahan di panel ini", + "welcome-board": "Panel Selamat Datang", + "welcome-swimlane": "Milestone 1", + "welcome-list1": "Tingkat dasar", + "welcome-list2": "Tingkat lanjut", + "card-templates-swimlane": "Klise Kartu", + "list-templates-swimlane": "Klise Daftar", + "board-templates-swimlane": "Klise Papan", + "what-to-do": "Apa yang mau Anda lakukan?", + "wipLimitErrorPopup-title": "Batas WIP tidak valid", + "wipLimitErrorPopup-dialog-pt1": "The number of tasks in this list is higher than the WIP limit you've defined.", + "wipLimitErrorPopup-dialog-pt2": "Please move some tasks out of this list, or set a higher WIP limit.", + "admin-panel": "Panel Admin", + "settings": "Setelan", + "people": "Orang-orang", + "registration": "Registrasi", + "disable-self-registration": "Nonaktifkan Swa Registrasi", + "invite": "Undang", + "invite-people": "Undang Orang-orang", + "to-boards": "ke panel", + "email-addresses": "Alamat surel", + "smtp-host-description": "Alamat server SMTP yang menangani surel Anda.", + "smtp-port-description": "Port server SMTP yang Anda gunakan untuk mengirim surel.", + "smtp-tls-description": "Aktifkan dukungan TLS untuk server SMTP", + "smtp-host": "Host SMTP", + "smtp-port": "Port SMTP", + "smtp-username": "Nama Pengguna", + "smtp-password": "Kata Sandi", + "smtp-tls": "Dukungan TLS", + "send-from": "Dari", + "send-smtp-test": "Send a test email to yourself", + "invitation-code": "Kode Undangan", + "email-invite-register-subject": "__inviter__ mengirim undangan ke Anda", + "email-invite-register-text": "Dear __user__,\n\n__inviter__ invites you to kanban board for collaborations.\n\nPlease follow the link below:\n__url__\n\nAnd your invitation code is: __icode__\n\nThanks.", + "email-smtp-test-subject": "SMTP Tes Surel", + "email-smtp-test-text": "You have successfully sent an email", + "error-invitation-code-not-exist": "Kode undangan tidak ada", + "error-notAuthorized": "You are not authorized to view this page.", + "webhook-title": "Nama Webhook", + "webhook-token": "Token (Optional for Authentication)", + "outgoing-webhooks": "Outgoing Webhooks", + "bidirectional-webhooks": "Two-Way Webhooks", + "outgoingWebhooksPopup-title": "Outgoing Webhooks", + "boardCardTitlePopup-title": "Card Title Filter", + "disable-webhook": "Disable This Webhook", + "global-webhook": "Global Webhooks", + "new-outgoing-webhook": "New Outgoing Webhook", + "no-name": "(Unknown)", + "Node_version": "Versi Node", + "Meteor_version": "Versi Meteor", + "MongoDB_version": "Versi MongoDB", + "MongoDB_storage_engine": "Mesin penyimpanan MongoDb", + "MongoDB_Oplog_enabled": "MongoDB Oplog enabled", + "OS_Arch": "OS Arch", + "OS_Cpus": "OS CPU Count", + "OS_Freemem": "OS Free Memory", + "OS_Loadavg": "OS Load Average", + "OS_Platform": "OS Platform", + "OS_Release": "OS Release", + "OS_Totalmem": "OS Total Memory", + "OS_Type": "OS Type", + "OS_Uptime": "OS Uptime", + "days": "hari", + "hours": "m", + "minutes": "menit", + "seconds": "detik", + "show-field-on-card": "Show this field on card", + "automatically-field-on-card": "Auto create field to all cards", + "showLabel-field-on-card": "Show field label on minicard", + "yes": "Ya", + "no": "Tidak", + "accounts": "Akun", + "accounts-allowEmailChange": "Allow Email Change", + "accounts-allowUserNameChange": "Allow Username Change", + "createdAt": "Dibuat pada", + "verified": "Terverifikasi", + "active": "Aktif", + "card-received": "Diterima", + "card-received-on": "Diterima pada", + "card-end": "Berakhir", + "card-end-on": "Berakhir pada", + "editCardReceivedDatePopup-title": "Ubah tanggal diterima", + "editCardEndDatePopup-title": "Ubah tanggal berakhir", + "setCardColorPopup-title": "Tetapkan warna", + "setCardActionsColorPopup-title": "Pilih warna", + "setSwimlaneColorPopup-title": "Pilih warna", + "setListColorPopup-title": "Pilih warna", + "assigned-by": "Ditandatangani Oleh", + "requested-by": "Diminta Oleh", + "board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.", + "delete-board-confirm-popup": "All lists, cards, labels, and activities will be deleted and you won't be able to recover the board contents. There is no undo.", + "boardDeletePopup-title": "Hapus Papan?", + "delete-board": "Hapus Papan", + "default-subtasks-board": "Subtasks for __board__ board", + "default": "Standar", + "queue": "Antrian", + "subtask-settings": "Subtasks Settings", + "card-settings": "Pengaturan Kartu", + "boardSubtaskSettingsPopup-title": "Board Subtasks Settings", + "boardCardSettingsPopup-title": "Pengaturan Kartu", + "deposit-subtasks-board": "Deposit subtasks to this board:", + "deposit-subtasks-list": "Landing list for subtasks deposited here:", + "show-parent-in-minicard": "Show parent in minicard:", + "prefix-with-full-path": "Prefix with full path", + "prefix-with-parent": "Prefix with parent", + "subtext-with-full-path": "Subtext with full path", + "subtext-with-parent": "Subtext with parent", + "change-card-parent": "Change card's parent", + "parent-card": "Parent card", + "source-board": "Source board", + "no-parent": "Don't show parent", + "activity-added-label": "added label '%s' to %s", + "activity-removed-label": "removed label '%s' from %s", + "activity-delete-attach": "deleted an attachment from %s", + "activity-added-label-card": "added label '%s'", + "activity-removed-label-card": "removed label '%s'", + "activity-delete-attach-card": "deleted an attachment", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "Aturan", + "r-add-trigger": "Tambahkan pelatuk", + "r-add-action": "Tambahkan aksi", + "r-board-rules": "Aturan papan", + "r-add-rule": "Tambahkan aturan", + "r-view-rule": "Lihat aturan", + "r-delete-rule": "Delete rule", + "r-new-rule-name": "New rule title", + "r-no-rules": "No rules", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "Ketika kartu", + "r-is": "adalah", + "r-is-moved": "dipindahkan", + "r-added-to": "Ditambahkan ke", + "r-removed-from": "Dihapus dari", + "r-the-board": "papan", + "r-list": "daftar", + "set-filter": "Atur Saringan", + "r-moved-to": "Dipindahkan ke", + "r-moved-from": "Dipindahkan dari", + "r-archived": "Dipindahkan ke Arsip", + "r-unarchived": "Dipulihkan dari Arsip", + "r-a-card": "Kartu", + "r-when-a-label-is": "Ketika label adalah", + "r-when-the-label": "Ketika label", + "r-list-name": "nama daftar", + "r-when-a-member": "Ketika anggota adalah", + "r-when-the-member": "Ketika anggota", + "r-name": "nama", + "r-when-a-attach": "When an attachment", + "r-when-a-checklist": "When a checklist is", + "r-when-the-checklist": "When the checklist", + "r-completed": "Completed", + "r-made-incomplete": "Made incomplete", + "r-when-a-item": "When a checklist item is", + "r-when-the-item": "When the checklist item", + "r-checked": "Checked", + "r-unchecked": "Unchecked", + "r-move-card-to": "Move card to", + "r-top-of": "Top of", + "r-bottom-of": "Bottom of", + "r-its-list": "daftar ini", + "r-archive": "Pindahlan ke Arsip", + "r-unarchive": "Pulihkan dari Arsip", + "r-card": "Kartu", + "r-add": "Tambah", + "r-remove": "hapus", + "r-label": "label", + "r-member": "anggota", + "r-remove-all": "Hapus semua anggota dari kartu", + "r-set-color": "Tetapkan warna ke", + "r-checklist": "checklist", + "r-check-all": "Check all", + "r-uncheck-all": "Uncheck all", + "r-items-check": "items of checklist", + "r-check": "Check", + "r-uncheck": "Uncheck", + "r-item": "Item", + "r-of-checklist": "of checklist", + "r-send-email": "Send an email", + "r-to": "kepada", + "r-of": "dari", + "r-subject": "Subyek", + "r-rule-details": "Rule details", + "r-d-move-to-top-gen": "Move card to top of its list", + "r-d-move-to-top-spec": "Move card to top of list", + "r-d-move-to-bottom-gen": "Move card to bottom of its list", + "r-d-move-to-bottom-spec": "Move card to bottom of list", + "r-d-send-email": "Kirim surel", + "r-d-send-email-to": "kepada", + "r-d-send-email-subject": "Subyek", + "r-d-send-email-message": "pesan", + "r-d-archive": "Pindahlan kartu ke Arsip", + "r-d-unarchive": "Pulihkan kartu dari Arsip", + "r-d-add-label": "Tambahkan label", + "r-d-remove-label": "Hapus label", + "r-create-card": "Buat kartu baru", + "r-in-list": "pada daftar", + "r-in-swimlane": "in swimlane", + "r-d-add-member": "Tambahkan anggota", + "r-d-remove-member": "Hapus anggota", + "r-d-remove-all-member": "Hapus semua anggota", + "r-d-check-all": "Check all items of a list", + "r-d-uncheck-all": "Uncheck all items of a list", + "r-d-check-one": "Check item", + "r-d-uncheck-one": "Uncheck item", + "r-d-check-of-list": "of checklist", + "r-d-add-checklist": "Tambahkan daftar periksa", + "r-d-remove-checklist": "Hapus daftar periksa", + "r-by": "oleh", + "r-add-checklist": "Tambahkan daftar periksa", + "r-with-items": "dengan item", + "r-items-list": "item 1, item2, item 3", + "r-add-swimlane": "Add swimlane", + "r-swimlane-name": "swimlane name", + "r-board-note": "Note: leave a field empty to match every possible value.", + "r-checklist-note": "Note: checklist's items have to be written as comma separated values.", + "r-when-a-card-is-moved": "When a card is moved to another list", + "r-set": "Tetapkan", + "r-update": "Ubah", + "r-datefield": "bidang tanggal", + "r-df-start-at": "mulai", + "r-df-due-at": "sampai", + "r-df-end-at": "berakhir", + "r-df-received-at": "diterima", + "r-to-current-datetime": "to current date/time", + "r-remove-value-from": "Remove value from", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Metode Autentikasi", + "authentication-type": "Tipe Autentikasi", + "custom-product-name": "Custom Product Name", + "layout": "Tata letak", + "hide-logo": "Sembunyikan Logo", + "add-custom-html-after-body-start": "Tambahkan HTML khusus setelah mulai", + "add-custom-html-before-body-end": "Tambahkan HTML khusus sebelum berakhir", + "error-undefined": "Ada yang salah", + "error-ldap-login": "Terjadi kesalahan saat mencoba masuk", + "display-authentication-method": "Display Authentication Method", + "default-authentication-method": "Default Authentication Method", + "duplicate-board": "Duplikat Papan", + "people-number": "Jumlah orang:", + "swimlaneDeletePopup-title": "Delete Swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Pulihkan semua", + "delete-all": "Hapus semua", + "loading": "Sedang memuat, harap tunggu.", + "previous_as": "terakhir kali adalah", + "act-a-dueAt": "modified due time to \nWhen: __timeValue__\nWhere: __card__\n previous due was __timeOldValue__", + "act-a-endAt": "modified ending time to __timeValue__ from (__timeOldValue__)", + "act-a-startAt": "modified starting time to __timeValue__ from (__timeOldValue__)", + "act-a-receivedAt": "modified received time to __timeValue__ from (__timeOldValue__)", + "a-dueAt": "modified due time to be", + "a-endAt": "modified ending time to be", + "a-startAt": "modified starting time to be", + "a-receivedAt": "modified received time to be", + "almostdue": "current due time %s is approaching", + "pastdue": "current due time %s is past", + "duenow": "current due time %s is today", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", + "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", + "act-duenow": "was reminding the current due (__timeValue__) of __card__ is now", + "act-atUserComment": "You were mentioned in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Are you sure you want to delete this account? There is no undo.", + "accounts-allowUserDelete": "Allow users to self delete their account", + "hide-minicard-label-text": "Sembunyikan teks label kartu mini", + "show-desktop-drag-handles": "Tampilkan gagang seret desktop", + "assignee": "Penerima tugas", + "cardAssigneesPopup-title": "Penerima tugas", + "addmore-detail": "Tambahkan deskripsi yang lebih rinci", + "show-on-card": "Tampilkan pada Kartu", + "new": "Baru", + "editUserPopup-title": "Ubah Pengguna", + "newUserPopup-title": "Pengguna Baru", + "notifications": "Pemberitahuan", + "view-all": "Lihat Semua", + "filter-by-unread": "Saring yang Belum Dibaca", + "mark-all-as-read": "Tandai semua telah dibaca", + "remove-all-read": "Hapus semua yang telah dibaca", + "allow-rename": "Ijinkan Ganti Nama", + "allowRenamePopup-title": "Ijinkan Ganti Nama", + "start-day-of-week": "Tetapkan hari dimulai dalam minggu", + "monday": "Senin", + "tuesday": "Selasa", + "wednesday": "Rabu", + "thursday": "Kamis", + "friday": "Jum'at", + "saturday": "Sabtu", + "sunday": "Minggu", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Pemilik", + "last-modified-at": "Terakhir diubah pada", + "last-activity": "Aktifitas terakhir", + "voting": "Pemungutan Suara", + "archived": "Diarsipkan", + "delete-linked-card-before-this-card": "Kamu tidak dapat menghapus kartu ini sebelum menghapus kartu tertaut yang telah", + "delete-linked-cards-before-this-list": "Kamu tidak dapat menghapus daftar ini sebelum menghapus kartu tertaut yang mengarah ke kartu dalam daftar ini", + "hide-checked-items": "Sembunyikan item yang dicentang" +} \ No newline at end of file diff --git a/i18n/ig.i18n.json b/i18n/ig.i18n.json new file mode 100644 index 0000000..9458cee --- /dev/null +++ b/i18n/ig.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Kwere", + "act-activity-notify": "Activity Notification", + "act-addAttachment": "added attachment __attachment__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteAttachment": "deleted attachment __attachment__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addSubtask": "added subtask __subtask__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addedLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removedLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklist": "added checklist __checklist__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklistItem": "added checklist item __checklistItem__ to checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklist": "removed checklist __checklist__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklistItem": "removed checklist item __checklistItem__ from checklist __checkList__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-checkedItem": "checked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncheckedItem": "unchecked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-completeChecklist": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncompleteChecklist": "uncompleted checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addComment": "commented on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-editComment": "edited comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteComment": "deleted comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createBoard": "created board __board__", + "act-createSwimlane": "created swimlane __swimlane__ to board __board__", + "act-createCard": "created card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-createCustomField": "created custom field __customField__ at board __board__", + "act-deleteCustomField": "deleted custom field __customField__ at board __board__", + "act-setCustomField": "edited custom field __customField__: __customFieldValue__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createList": "added list __list__ to board __board__", + "act-addBoardMember": "added member __member__ to board __board__", + "act-archivedBoard": "Board __board__ moved to Archive", + "act-archivedCard": "Card __card__ at list __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedList": "List __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedSwimlane": "Swimlane __swimlane__ at board __board__ moved to Archive", + "act-importBoard": "imported board __board__", + "act-importCard": "imported card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-importList": "imported list __list__ to swimlane __swimlane__ at board __board__", + "act-joinMember": "added member __member__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-moveCard": "moved card __card__ at board __board__ from list __oldList__ at swimlane __oldSwimlane__ to list __list__ at swimlane __swimlane__", + "act-moveCardToOtherBoard": "moved card __card__ from list __oldList__ at swimlane __oldSwimlane__ at board __oldBoard__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-removeBoardMember": "removed member __member__ from board __board__", + "act-restoredCard": "restored card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-unjoinMember": "removed member __member__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Actions", + "activities": "Activities", + "activity": "Activity", + "activity-added": "added %s to %s", + "activity-archived": "%s moved to Archive", + "activity-attached": "attached %s to %s", + "activity-created": "created %s", + "activity-customfield-created": "created custom field %s", + "activity-excluded": "excluded %s from %s", + "activity-imported": "imported %s into %s from %s", + "activity-imported-board": "imported %s from %s", + "activity-joined": "joined %s", + "activity-moved": "moved %s from %s to %s", + "activity-on": "na %s", + "activity-removed": "removed %s from %s", + "activity-sent": "sent %s to %s", + "activity-unjoined": "unjoined %s", + "activity-subtask-added": "added subtask to %s", + "activity-checked-item": "checked %s in checklist %s of %s", + "activity-unchecked-item": "unchecked %s in checklist %s of %s", + "activity-checklist-added": "added checklist to %s", + "activity-checklist-removed": "removed a checklist from %s", + "activity-checklist-completed": "completed checklist %s of %s", + "activity-checklist-uncompleted": "uncompleted the checklist %s of %s", + "activity-checklist-item-added": "added checklist item to '%s' in %s", + "activity-checklist-item-removed": "removed a checklist item from '%s' in %s", + "add": "Tinye", + "activity-checked-item-card": "checked %s in checklist %s", + "activity-unchecked-item-card": "unchecked %s in checklist %s", + "activity-checklist-completed-card": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "activity-checklist-uncompleted-card": "uncompleted the checklist %s", + "activity-editComment": "edited comment %s", + "activity-deleteComment": "deleted comment %s", + "add-attachment": "Add Attachment", + "add-board": "Add Board", + "add-card": "Add Card", + "add-swimlane": "Add Swimlane", + "add-subtask": "Add Subtask", + "add-checklist": "Add Checklist", + "add-checklist-item": "Add an item to checklist", + "add-cover": "Add Cover", + "add-label": "Add Label", + "add-list": "Add List", + "add-members": "Tinye ndị otu ọhụrụ", + "added": "Etinyere ", + "addMemberPopup-title": "Ndị otu", + "admin": "Admin", + "admin-desc": "Can view and edit cards, remove members, and change settings for the board.", + "admin-announcement": "Announcement", + "admin-announcement-active": "Active System-Wide Announcement", + "admin-announcement-title": "Announcement from Administrator", + "all-boards": "All boards", + "and-n-other-card": "And __count__ other card", + "and-n-other-card_plural": "And __count__ other cards", + "apply": "Apply", + "app-is-offline": "Loading, please wait. Refreshing the page will cause data loss. If loading does not work, please check that server has not stopped.", + "archive": "Move to Archive", + "archive-all": "Move All to Archive", + "archive-board": "Move Board to Archive", + "archive-card": "Move Card to Archive", + "archive-list": "Move List to Archive", + "archive-swimlane": "Move Swimlane to Archive", + "archive-selection": "Move selection to Archive", + "archiveBoardPopup-title": "Move Board to Archive?", + "archived-items": "Archive", + "archived-boards": "Boards in Archive", + "restore-board": "Restore Board", + "no-archived-boards": "No Boards in Archive.", + "archives": "Archive", + "template": "Template", + "templates": "Templates", + "assign-member": "Assign member", + "attached": "attached", + "attachment": "Attachment", + "attachment-delete-pop": "Deleting an attachment is permanent. There is no undo.", + "attachmentDeletePopup-title": "Delete Attachment?", + "attachments": "Attachments", + "auto-watch": "Automatically watch boards when they are created", + "avatar-too-big": "The avatar is too large (70KB max)", + "back": "Back", + "board-change-color": "Change color", + "board-nb-stars": "%s stars", + "board-not-found": "Board not found", + "board-private-info": "This board will be private.", + "board-public-info": "This board will be public.", + "boardChangeColorPopup-title": "Change Board Background", + "boardChangeTitlePopup-title": "Rename Board", + "boardChangeVisibilityPopup-title": "Change Visibility", + "boardChangeWatchPopup-title": "Change Watch", + "boardMenuPopup-title": "Board Settings", + "boardChangeViewPopup-title": "Board View", + "boards": "Boards", + "board-view": "Board View", + "board-view-cal": "Calendar", + "board-view-swimlanes": "Swimlanes", + "board-view-collapse": "Collapse", + "board-view-lists": "Lists", + "bucket-example": "Like “Bucket List” for example", + "cancel": "Cancel", + "card-archived": "This card is moved to Archive.", + "board-archived": "This board is moved to Archive.", + "card-comments-title": "This card has %s comment.", + "card-delete-notice": "Deleting is permanent. You will lose all actions associated with this card.", + "card-delete-pop": "All actions will be removed from the activity feed and you won't be able to re-open the card. There is no undo.", + "card-delete-suggest-archive": "You can move a card to Archive to remove it from the board and preserve the activity.", + "card-due": "Due", + "card-due-on": "Due on", + "card-spent": "Spent Time", + "card-edit-attachments": "Edit attachments", + "card-edit-custom-fields": "Edit custom fields", + "card-edit-labels": "Edit labels", + "card-edit-members": "Edit members", + "card-labels-title": "Change the labels for the card.", + "card-members-title": "Add or remove members of the board from the card.", + "card-start": "Bido", + "card-start-on": "Starts on", + "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", + "cardStartVotingPopup-title": "Start a vote", + "positiveVoteMembersPopup-title": "Proponents", + "negativeVoteMembersPopup-title": "Opponents", + "card-edit-voting": "Edit voting", + "editVoteEndDatePopup-title": "Change vote end date", + "allowNonBoardMembers": "Allow all logged in users", + "vote-question": "Voting question", + "vote-public": "Show who voted what", + "vote-for-it": "for it", + "vote-against": "against", + "deleteVotePopup-title": "Delete vote?", + "vote-delete-pop": "Deleting is permanent. You will lose all actions associated with this vote.", + "cardDeletePopup-title": "Delete Card?", + "cardDetailsActionsPopup-title": "Card Actions", + "cardLabelsPopup-title": "Aha", + "cardMembersPopup-title": "Ndị otu", + "cardMorePopup-title": "More", + "cardTemplatePopup-title": "Create template", + "cards": "Cards", + "cards-count": "Cards", + "casSignIn": "Sign In with CAS", + "cardType-card": "Card", + "cardType-linkedCard": "Linked Card", + "cardType-linkedBoard": "Linked Board", + "change": "Gbanwe", + "change-avatar": "Change Avatar", + "change-password": "Change Password", + "change-permissions": "Change permissions", + "change-settings": "Change Settings", + "changeAvatarPopup-title": "Change Avatar", + "changeLanguagePopup-title": "Họrọ asụsụ ọzọ", + "changePasswordPopup-title": "Change Password", + "changePermissionsPopup-title": "Change Permissions", + "changeSettingsPopup-title": "Change Settings", + "subtasks": "Subtasks", + "checklists": "Checklists", + "click-to-star": "Click to star this board.", + "click-to-unstar": "Click to unstar this board.", + "clipboard": "Clipboard or drag & drop", + "close": "Close", + "close-board": "Close Board", + "close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.", + "color-black": "black", + "color-blue": "blue", + "color-crimson": "crimson", + "color-darkgreen": "darkgreen", + "color-gold": "gold", + "color-gray": "gray", + "color-green": "green", + "color-indigo": "indigo", + "color-lime": "lime", + "color-magenta": "magenta", + "color-mistyrose": "mistyrose", + "color-navy": "navy", + "color-orange": "orange", + "color-paleturquoise": "paleturquoise", + "color-peachpuff": "peachpuff", + "color-pink": "pink", + "color-plum": "plum", + "color-purple": "purple", + "color-red": "red", + "color-saddlebrown": "saddlebrown", + "color-silver": "silver", + "color-sky": "sky", + "color-slateblue": "slateblue", + "color-white": "white", + "color-yellow": "yellow", + "unset-color": "Unset", + "comment": "Comment", + "comment-placeholder": "Write Comment", + "comment-only": "Comment only", + "comment-only-desc": "Can comment on cards only.", + "no-comments": "No comments", + "no-comments-desc": "Can not see comments and activities.", + "worker": "Worker", + "worker-desc": "Can only move cards, assign itself to card and comment.", + "computer": "Computer", + "confirm-subtask-delete-dialog": "Are you sure you want to delete subtask?", + "confirm-checklist-delete-dialog": "Are you sure you want to delete checklist?", + "copy-card-link-to-clipboard": "Copy card link to clipboard", + "linkCardPopup-title": "Link Card", + "searchElementPopup-title": "Search", + "copyCardPopup-title": "Copy Card", + "copyChecklistToManyCardsPopup-title": "Copy Checklist Template to Many Cards", + "copyChecklistToManyCardsPopup-instructions": "Destination Card Titles and Descriptions in this JSON format", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"First card title\", \"description\":\"First card description\"}, {\"title\":\"Second card title\",\"description\":\"Second card description\"},{\"title\":\"Last card title\",\"description\":\"Last card description\"} ]", + "create": "Create", + "createBoardPopup-title": "Create Board", + "chooseBoardSourcePopup-title": "Import board", + "createLabelPopup-title": "Create Label", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", + "current": "current", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-currency": "Currency", + "custom-field-currency-option": "Currency Code", + "custom-field-date": "Date", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", + "date": "Date", + "decline": "Decline", + "default-avatar": "Default avatar", + "delete": "Delete", + "deleteCustomFieldPopup-title": "Delete Custom Field?", + "deleteLabelPopup-title": "Delete Label?", + "description": "Description", + "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", + "disambiguateMultiMemberPopup-title": "Disambiguate Member Action", + "discard": "Discard", + "done": "Done", + "download": "Download", + "edit": "Edit", + "edit-avatar": "Change Avatar", + "edit-profile": "Edit Profile", + "edit-wip-limit": "Edit WIP Limit", + "soft-wip-limit": "Soft WIP Limit", + "editCardStartDatePopup-title": "Change start date", + "editCardDueDatePopup-title": "Change due date", + "editCustomFieldPopup-title": "Edit Field", + "editCardSpentTimePopup-title": "Change spent time", + "editLabelPopup-title": "Change Label", + "editNotificationPopup-title": "Edit Notification", + "editProfilePopup-title": "Edit Profile", + "email": "Email", + "email-enrollAccount-subject": "An account created for you on __siteName__", + "email-enrollAccount-text": "Hello __user__,\n\nTo start using the service, simply click the link below.\n\n__url__\n\nThanks.", + "email-fail": "Sending email failed", + "email-fail-text": "Error trying to send email", + "email-invalid": "Invalid email", + "email-invite": "Invite via Email", + "email-invite-subject": "__inviter__ sent you an invitation", + "email-invite-text": "Dear __user__,\n\n__inviter__ invites you to join board \"__board__\" for collaborations.\n\nPlease follow the link below:\n\n__url__\n\nThanks.", + "email-resetPassword-subject": "Reset your password on __siteName__", + "email-resetPassword-text": "Hello __user__,\n\nTo reset your password, simply click the link below.\n\n__url__\n\nThanks.", + "email-sent": "Email sent", + "email-verifyEmail-subject": "Verify your email address on __siteName__", + "email-verifyEmail-text": "Hello __user__,\n\nTo verify your account email, simply click the link below.\n\n__url__\n\nThanks.", + "enable-wip-limit": "Enable WIP Limit", + "error-board-doesNotExist": "This board does not exist", + "error-board-notAdmin": "You need to be admin of this board to do that", + "error-board-notAMember": "You need to be a member of this board to do that", + "error-json-malformed": "Your text is not valid JSON", + "error-json-schema": "Your JSON data does not include the proper information in the correct format", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "This list does not exist", + "error-user-doesNotExist": "This user does not exist", + "error-user-notAllowSelf": "You can not invite yourself", + "error-user-notCreated": "This user is not created", + "error-username-taken": "This username is already taken", + "error-email-taken": "Email has already been taken", + "export-board": "Export board", + "export-board-json": "Export board to JSON", + "export-board-csv": "Export board to CSV", + "export-board-tsv": "Export board to TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "Export board", + "sort": "Sort", + "sort-desc": "Click to Sort List", + "list-sort-by": "Sort the List By:", + "list-label-modifiedAt": "Last Access Time", + "list-label-title": "Name of the List", + "list-label-sort": "Your Manual Order", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Filter", + "filter-cards": "Filter Cards or Lists", + "list-filter-label": "Filter List by Title", + "filter-clear": "Clear filter", + "filter-no-label": "No label", + "filter-no-member": "No member", + "filter-no-assignee": "No assignee", + "filter-no-custom-fields": "No Custom Fields", + "filter-show-archive": "Show archived lists", + "filter-hide-empty": "Hide empty lists", + "filter-on": "Filter is on", + "filter-on-desc": "You are filtering cards on this board. Click here to edit filter.", + "filter-to-selection": "Filter to selection", + "advanced-filter-label": "Advanced Filter", + "advanced-filter-description": "Advanced Filter allows to write a string containing following operators: == != <= >= && || ( ) A space is used as a separator between the Operators. You can filter for all Custom Fields by typing their names and values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need to encapsulate them into single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) to be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally all operators are interpreted from left to right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i", + "fullname": "Full Name", + "header-logo-title": "Go back to your boards page.", + "hide-system-messages": "Hide system messages", + "headerBarCreateBoardPopup-title": "Create Board", + "home": "Home", + "import": "Import", + "link": "Link", + "import-board": "import board", + "import-board-c": "Import board", + "import-board-title-trello": "Import board from Trello", + "import-board-title-wekan": "Import board from previous export", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "From Trello", + "from-wekan": "From previous export", + "from-csv": "From CSV/TSV", + "import-board-instruction-trello": "In your Trello board, go to 'Menu', then 'More', 'Print and Export', 'Export JSON', and copy the resulting text.", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "In your board, go to 'Menu', then 'Export board', and copy the text in the downloaded file.", + "import-board-instruction-about-errors": "If you get errors when importing board, sometimes importing still works, and board is at All Boards page.", + "import-json-placeholder": "Paste your valid JSON data here", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "Map members", + "import-members-map": "Your imported board has some members. Please map the members you want to import to your users", + "import-show-user-mapping": "Review members mapping", + "import-user-select": "Pick your existing user you want to use as this member", + "importMapMembersAddPopup-title": "Select member", + "info": "Version", + "initials": "Initials", + "invalid-date": "Invalid date", + "invalid-time": "Invalid time", + "invalid-user": "Invalid user", + "joined": "joined", + "just-invited": "You are just invited to this board", + "keyboard-shortcuts": "Keyboard shortcuts", + "label-create": "Create Label", + "label-default": "%s label (default)", + "label-delete-pop": "There is no undo. This will remove this label from all cards and destroy its history.", + "labels": "Aha", + "language": "Language", + "last-admin-desc": "You can’t change roles because there must be at least one admin.", + "leave-board": "Leave Board", + "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.", + "leaveBoardPopup-title": "Leave Board ?", + "link-card": "Link to this card", + "list-archive-cards": "Move all cards in this list to Archive", + "list-archive-cards-pop": "This will remove all the cards in this list from the board. To view cards in Archive and bring them back to the board, click “Menu” > “Archive”.", + "list-move-cards": "Move all cards in this list", + "list-select-cards": "Select all cards in this list", + "set-color-list": "Set Color", + "listActionPopup-title": "List Actions", + "swimlaneActionPopup-title": "Swimlane Actions", + "swimlaneAddPopup-title": "Add a Swimlane below", + "listImportCardPopup-title": "Import a Trello card", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "More", + "link-list": "Link to this list", + "list-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the list. There is no undo.", + "list-delete-suggest-archive": "You can move a list to Archive to remove it from the board and preserve the activity.", + "lists": "Lists", + "swimlanes": "Swimlanes", + "log-out": "Log Out", + "log-in": "Log In", + "loginPopup-title": "Log In", + "memberMenuPopup-title": "Member Settings", + "members": "Ndị otu", + "menu": "Menu", + "move-selection": "Move selection", + "moveCardPopup-title": "Move Card", + "moveCardToBottom-title": "Move to Bottom", + "moveCardToTop-title": "Move to Top", + "moveSelectionPopup-title": "Move selection", + "multi-selection": "Multi-Selection", + "multi-selection-on": "Multi-Selection is on", + "muted": "Muted", + "muted-info": "You will never be notified of any changes in this board", + "my-boards": "My Boards", + "name": "Name", + "no-archived-cards": "No cards in Archive.", + "no-archived-lists": "No lists in Archive.", + "no-archived-swimlanes": "No swimlanes in Archive.", + "no-results": "No results", + "normal": "Normal", + "normal-desc": "Can view and edit cards. Can't change settings.", + "not-accepted-yet": "Invitation not accepted yet", + "notify-participate": "Receive updates to any cards you participate as creater or member", + "notify-watch": "Receive updates to any boards, lists, or cards you’re watching", + "optional": "optional", + "or": "or", + "page-maybe-private": "This page may be private. You may be able to view it by logging in.", + "page-not-found": "Page not found.", + "password": "Password", + "paste-or-dragdrop": "to paste, or drag & drop image file to it (image only)", + "participating": "Participating", + "preview": "Preview", + "previewAttachedImagePopup-title": "Preview", + "previewClipboardImagePopup-title": "Preview", + "private": "Private", + "private-desc": "This board is private. Only people added to the board can view and edit it.", + "profile": "Profile", + "public": "Public", + "public-desc": "This board is public. It's visible to anyone with the link and will show up in search engines like Google. Only people added to the board can edit.", + "quick-access-description": "Star a board to add a shortcut in this bar.", + "remove-cover": "Remove Cover", + "remove-from-board": "Remove from Board", + "remove-label": "Remove Label", + "listDeletePopup-title": "Delete List ?", + "remove-member": "Remove Member", + "remove-member-from-card": "Remove from Card", + "remove-member-pop": "Remove __name__ (__username__) from __boardTitle__? The member will be removed from all cards on this board. They will receive a notification.", + "removeMemberPopup-title": "Remove Member?", + "rename": "Banye aha ọzọ", + "rename-board": "Rename Board", + "restore": "Restore", + "save": "Save", + "search": "Search", + "rules": "Rules", + "search-cards": "Search from card/list titles, descriptions and custom fields on this board", + "search-example": "Text to search for?", + "select-color": "Select Color", + "set-wip-limit-value": "Set a limit for the maximum number of tasks in this list", + "setWipLimitPopup-title": "Set WIP Limit", + "shortcut-assign-self": "Assign yourself to current card", + "shortcut-autocomplete-emoji": "Autocomplete emoji", + "shortcut-autocomplete-members": "Autocomplete members", + "shortcut-clear-filters": "Clear all filters", + "shortcut-close-dialog": "Close Dialog", + "shortcut-filter-my-cards": "Filter my cards", + "shortcut-show-shortcuts": "Bring up this shortcuts list", + "shortcut-toggle-filterbar": "Toggle Filter Sidebar", + "shortcut-toggle-sidebar": "Toggle Board Sidebar", + "show-cards-minimum-count": "Show cards count if list contains more than", + "sidebar-open": "Open Sidebar", + "sidebar-close": "Close Sidebar", + "signupPopup-title": "Create an Account", + "star-board-title": "Click to star this board. It will show up at top of your boards list.", + "starred-boards": "Starred Boards", + "starred-boards-description": "Starred boards show up at the top of your boards list.", + "subscribe": "Subscribe", + "team": "Team", + "this-board": "this board", + "this-card": "this card", + "spent-time-hours": "Spent time (hours)", + "overtime-hours": "Overtime (hours)", + "overtime": "Overtime", + "has-overtime-cards": "Has overtime cards", + "has-spenttime-cards": "Has spent time cards", + "time": "Time", + "title": "Title", + "tracking": "Tracking", + "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", + "unassign-member": "Unassign member", + "unsaved-description": "You have an unsaved description.", + "unwatch": "Unwatch", + "upload": "Upload", + "upload-avatar": "Upload an avatar", + "uploaded-avatar": "Uploaded an avatar", + "username": "Username", + "view-it": "Hụ ya", + "warn-list-archived": "warning: this card is in an list at Archive", + "watch": "Hụ", + "watching": "Watching", + "watching-info": "You will be notified of any change in this board", + "welcome-board": "Welcome Board", + "welcome-swimlane": "Milestone 1", + "welcome-list1": "Basics", + "welcome-list2": "Advanced", + "card-templates-swimlane": "Card Templates", + "list-templates-swimlane": "List Templates", + "board-templates-swimlane": "Board Templates", + "what-to-do": "What do you want to do?", + "wipLimitErrorPopup-title": "Invalid WIP Limit", + "wipLimitErrorPopup-dialog-pt1": "The number of tasks in this list is higher than the WIP limit you've defined.", + "wipLimitErrorPopup-dialog-pt2": "Please move some tasks out of this list, or set a higher WIP limit.", + "admin-panel": "Admin Panel", + "settings": "Settings", + "people": "Ndị mmadụ", + "registration": "Registration", + "disable-self-registration": "Disable Self-Registration", + "invite": "Invite", + "invite-people": "Invite People", + "to-boards": "To board(s)", + "email-addresses": "Email Addresses", + "smtp-host-description": "The address of the SMTP server that handles your emails.", + "smtp-port-description": "The port your SMTP server uses for outgoing emails.", + "smtp-tls-description": "Enable TLS support for SMTP server", + "smtp-host": "SMTP Host", + "smtp-port": "SMTP Port", + "smtp-username": "Username", + "smtp-password": "Password", + "smtp-tls": "TLS support", + "send-from": "From", + "send-smtp-test": "Send a test email to yourself", + "invitation-code": "Invitation Code", + "email-invite-register-subject": "__inviter__ sent you an invitation", + "email-invite-register-text": "Dear __user__,\n\n__inviter__ invites you to kanban board for collaborations.\n\nPlease follow the link below:\n__url__\n\nAnd your invitation code is: __icode__\n\nThanks.", + "email-smtp-test-subject": "SMTP Test Email", + "email-smtp-test-text": "You have successfully sent an email", + "error-invitation-code-not-exist": "Invitation code doesn't exist", + "error-notAuthorized": "You are not authorized to view this page.", + "webhook-title": "Webhook Name", + "webhook-token": "Token (Optional for Authentication)", + "outgoing-webhooks": "Outgoing Webhooks", + "bidirectional-webhooks": "Two-Way Webhooks", + "outgoingWebhooksPopup-title": "Outgoing Webhooks", + "boardCardTitlePopup-title": "Card Title Filter", + "disable-webhook": "Disable This Webhook", + "global-webhook": "Global Webhooks", + "new-outgoing-webhook": "New Outgoing Webhook", + "no-name": "(Unknown)", + "Node_version": "Node version", + "Meteor_version": "Meteor version", + "MongoDB_version": "MongoDB version", + "MongoDB_storage_engine": "MongoDB storage engine", + "MongoDB_Oplog_enabled": "MongoDB Oplog enabled", + "OS_Arch": "OS Arch", + "OS_Cpus": "OS CPU Count", + "OS_Freemem": "OS Free Memory", + "OS_Loadavg": "OS Load Average", + "OS_Platform": "OS Platform", + "OS_Release": "OS Release", + "OS_Totalmem": "OS Total Memory", + "OS_Type": "OS Type", + "OS_Uptime": "OS Uptime", + "days": "days", + "hours": "elekere", + "minutes": "nkeji", + "seconds": "seconds", + "show-field-on-card": "Show this field on card", + "automatically-field-on-card": "Auto create field to all cards", + "showLabel-field-on-card": "Show field label on minicard", + "yes": "Ee", + "no": "Mba", + "accounts": "Accounts", + "accounts-allowEmailChange": "Allow Email Change", + "accounts-allowUserNameChange": "Allow Username Change", + "createdAt": "Ekere na", + "verified": "Verified", + "active": "Active", + "card-received": "Received", + "card-received-on": "Received on", + "card-end": "End", + "card-end-on": "Ends on", + "editCardReceivedDatePopup-title": "Change received date", + "editCardEndDatePopup-title": "Change end date", + "setCardColorPopup-title": "Set color", + "setCardActionsColorPopup-title": "Choose a color", + "setSwimlaneColorPopup-title": "Choose a color", + "setListColorPopup-title": "Choose a color", + "assigned-by": "Assigned By", + "requested-by": "Requested By", + "board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.", + "delete-board-confirm-popup": "All lists, cards, labels, and activities will be deleted and you won't be able to recover the board contents. There is no undo.", + "boardDeletePopup-title": "Delete Board?", + "delete-board": "Delete Board", + "default-subtasks-board": "Subtasks for __board__ board", + "default": "Default", + "queue": "Queue", + "subtask-settings": "Subtasks Settings", + "card-settings": "Card Settings", + "boardSubtaskSettingsPopup-title": "Board Subtasks Settings", + "boardCardSettingsPopup-title": "Card Settings", + "deposit-subtasks-board": "Deposit subtasks to this board:", + "deposit-subtasks-list": "Landing list for subtasks deposited here:", + "show-parent-in-minicard": "Show parent in minicard:", + "prefix-with-full-path": "Prefix with full path", + "prefix-with-parent": "Prefix with parent", + "subtext-with-full-path": "Subtext with full path", + "subtext-with-parent": "Subtext with parent", + "change-card-parent": "Change card's parent", + "parent-card": "Parent card", + "source-board": "Source board", + "no-parent": "Don't show parent", + "activity-added-label": "added label '%s' to %s", + "activity-removed-label": "removed label '%s' from %s", + "activity-delete-attach": "deleted an attachment from %s", + "activity-added-label-card": "added label '%s'", + "activity-removed-label-card": "removed label '%s'", + "activity-delete-attach-card": "deleted an attachment", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "Rule", + "r-add-trigger": "Add trigger", + "r-add-action": "Add action", + "r-board-rules": "Board rules", + "r-add-rule": "Add rule", + "r-view-rule": "View rule", + "r-delete-rule": "Delete rule", + "r-new-rule-name": "New rule title", + "r-no-rules": "No rules", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "When a card", + "r-is": "is", + "r-is-moved": "is moved", + "r-added-to": "Added to", + "r-removed-from": "Removed from", + "r-the-board": "the board", + "r-list": "list", + "set-filter": "Set Filter", + "r-moved-to": "Moved to", + "r-moved-from": "Moved from", + "r-archived": "Moved to Archive", + "r-unarchived": "Restored from Archive", + "r-a-card": "a card", + "r-when-a-label-is": "When a label is", + "r-when-the-label": "When the label", + "r-list-name": "list name", + "r-when-a-member": "When a member is", + "r-when-the-member": "When the member", + "r-name": "name", + "r-when-a-attach": "When an attachment", + "r-when-a-checklist": "When a checklist is", + "r-when-the-checklist": "When the checklist", + "r-completed": "Completed", + "r-made-incomplete": "Made incomplete", + "r-when-a-item": "When a checklist item is", + "r-when-the-item": "When the checklist item", + "r-checked": "Checked", + "r-unchecked": "Unchecked", + "r-move-card-to": "Move card to", + "r-top-of": "Top of", + "r-bottom-of": "Bottom of", + "r-its-list": "its list", + "r-archive": "Move to Archive", + "r-unarchive": "Restore from Archive", + "r-card": "card", + "r-add": "Tinye", + "r-remove": "Remove", + "r-label": "label", + "r-member": "member", + "r-remove-all": "Remove all members from the card", + "r-set-color": "Set color to", + "r-checklist": "checklist", + "r-check-all": "Check all", + "r-uncheck-all": "Uncheck all", + "r-items-check": "items of checklist", + "r-check": "Check", + "r-uncheck": "Uncheck", + "r-item": "item", + "r-of-checklist": "of checklist", + "r-send-email": "Send an email", + "r-to": "to", + "r-of": "of", + "r-subject": "subject", + "r-rule-details": "Rule details", + "r-d-move-to-top-gen": "Move card to top of its list", + "r-d-move-to-top-spec": "Move card to top of list", + "r-d-move-to-bottom-gen": "Move card to bottom of its list", + "r-d-move-to-bottom-spec": "Move card to bottom of list", + "r-d-send-email": "Send email", + "r-d-send-email-to": "to", + "r-d-send-email-subject": "subject", + "r-d-send-email-message": "message", + "r-d-archive": "Move card to Archive", + "r-d-unarchive": "Restore card from Archive", + "r-d-add-label": "Add label", + "r-d-remove-label": "Remove label", + "r-create-card": "Create new card", + "r-in-list": "in list", + "r-in-swimlane": "in swimlane", + "r-d-add-member": "Add member", + "r-d-remove-member": "Remove member", + "r-d-remove-all-member": "Remove all member", + "r-d-check-all": "Check all items of a list", + "r-d-uncheck-all": "Uncheck all items of a list", + "r-d-check-one": "Check item", + "r-d-uncheck-one": "Uncheck item", + "r-d-check-of-list": "of checklist", + "r-d-add-checklist": "Add checklist", + "r-d-remove-checklist": "Remove checklist", + "r-by": "by", + "r-add-checklist": "Add checklist", + "r-with-items": "with items", + "r-items-list": "item1,item2,item3", + "r-add-swimlane": "Add swimlane", + "r-swimlane-name": "swimlane name", + "r-board-note": "Note: leave a field empty to match every possible value.", + "r-checklist-note": "Note: checklist's items have to be written as comma separated values.", + "r-when-a-card-is-moved": "When a card is moved to another list", + "r-set": "Set", + "r-update": "Update", + "r-datefield": "date field", + "r-df-start-at": "start", + "r-df-due-at": "due", + "r-df-end-at": "end", + "r-df-received-at": "received", + "r-to-current-datetime": "to current date/time", + "r-remove-value-from": "Remove value from", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Authentication method", + "authentication-type": "Authentication type", + "custom-product-name": "Custom Product Name", + "layout": "Layout", + "hide-logo": "Hide Logo", + "add-custom-html-after-body-start": "Add Custom HTML after start", + "add-custom-html-before-body-end": "Add Custom HTML before end", + "error-undefined": "Something went wrong", + "error-ldap-login": "An error occurred while trying to login", + "display-authentication-method": "Display Authentication Method", + "default-authentication-method": "Default Authentication Method", + "duplicate-board": "Duplicate Board", + "people-number": "The number of people is:", + "swimlaneDeletePopup-title": "Delete Swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Restore all", + "delete-all": "Delete all", + "loading": "Loading, please wait.", + "previous_as": "last time was", + "act-a-dueAt": "modified due time to \nWhen: __timeValue__\nWhere: __card__\n previous due was __timeOldValue__", + "act-a-endAt": "modified ending time to __timeValue__ from (__timeOldValue__)", + "act-a-startAt": "modified starting time to __timeValue__ from (__timeOldValue__)", + "act-a-receivedAt": "modified received time to __timeValue__ from (__timeOldValue__)", + "a-dueAt": "modified due time to be", + "a-endAt": "modified ending time to be", + "a-startAt": "modified starting time to be", + "a-receivedAt": "modified received time to be", + "almostdue": "current due time %s is approaching", + "pastdue": "current due time %s is past", + "duenow": "current due time %s is today", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", + "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", + "act-duenow": "was reminding the current due (__timeValue__) of __card__ is now", + "act-atUserComment": "You were mentioned in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Are you sure you want to delete this account? There is no undo.", + "accounts-allowUserDelete": "Allow users to self delete their account", + "hide-minicard-label-text": "Hide minicard label text", + "show-desktop-drag-handles": "Show desktop drag handles", + "assignee": "Assignee", + "cardAssigneesPopup-title": "Assignee", + "addmore-detail": "Add a more detailed description", + "show-on-card": "Show on Card", + "new": "New", + "editUserPopup-title": "Edit User", + "newUserPopup-title": "New User", + "notifications": "Notifications", + "view-all": "View All", + "filter-by-unread": "Filter by Unread", + "mark-all-as-read": "Mark all as read", + "remove-all-read": "Remove all read", + "allow-rename": "Allow Rename", + "allowRenamePopup-title": "Allow Rename", + "start-day-of-week": "Set day of the week start", + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archived", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/it.i18n.json b/i18n/it.i18n.json new file mode 100644 index 0000000..1f189d4 --- /dev/null +++ b/i18n/it.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Accept", + "act-activity-notify": "Notifica attività", + "act-addAttachment": "aggiunto allegato __attachment__ alla scheda __card__ della lista __list__ della corsia __swimlane__  nella bacheca __board__", + "act-deleteAttachment": "eliminato allegato __attachment__ dalla scheda __card__ della lista __list__ della corsia __swimlane__  nella bacheca __board__", + "act-addSubtask": "aggiunto sottotask __subtask__ alla scheda __card__ della lista __list__ della corsia __swimlane__  nella bacheca __board__", + "act-addLabel": "aggiunta etichetta __label__ alla scheda __card__ della lista __list__ della corsia __swimlane__  nella bacheca __board__", + "act-addedLabel": "aggiunta etichetta __label__ alla scheda __card__ della lista __list__ della corsia __swimlane__  nella bacheca __board__", + "act-removeLabel": "rimossa etichetta __label__ dalla scheda __card__ della lista __list__ della corsia __swimlane__  nella bacheca __board__", + "act-removedLabel": "rimossa etichetta __label__ dalla scheda __card__ della lista __list__ della corsia __swimlane__  nella bacheca __board__", + "act-addChecklist": "aggiunta lista di controllo __label__ alla scheda __card__ della lista __list__ della corsia __swimlane__  nella bacheca __board__", + "act-addChecklistItem": "aggiunto elemento __checklistItem__ alla lista di controllo __checklist__ della scheda __card__ della lista __list__ della corsia __swimlane__  nella bacheca __board__", + "act-removeChecklist": "rimossa lista di controllo __checklist__ dalla scheda __card__ della lista __list__ della corsia __swimlane__  nella bacheca __board__", + "act-removeChecklistItem": "rimosso elemento __checklistitem__ dalla lista di controllo __checkList__ della scheda __card__ della lista __list__ della corsia __swimlane__  nella bacheca __board__", + "act-checkedItem": "attivato __checklistitem__ nella lista di controllo __checklist__ della scheda __card__ della lista __list__ della corsia __swimlane__ nella bacheca __board__", + "act-uncheckedItem": "disattivato __checklistItem__ della lista di controllo __checklist__ dalla scheda __card__ della lista __list__ della corsia __swimlane__ nella bacheca __board__", + "act-completeChecklist": "completata lista di controllo __checklist__ nella scheda __card__ della lista __list__ della corsia __swimlane__ nella bacheca __board__", + "act-uncompleteChecklist": "lista di controllo __checklist__ incompleta nella scheda __card__ della lista __list__ in corsia __swimlane__ della bacheca __board__", + "act-addComment": "commento sulla scheda __card__: __comment__ nella lista __list__ della corsia __swimlane__ della bacheca __board__", + "act-editComment": "commento modificato sulla scheda __card__: __commento__ nella lista __list__ nella swim lane __swimlane__ nella bacheca __board__", + "act-deleteComment": "commento eliminato sulla scheda __card__: __commento__ nella lista __list__ nella swim lane__ swimlane__ nella bacheca __board__", + "act-createBoard": "bacheca __board__ creata", + "act-createSwimlane": "creata corsia __swimlane__ alla bacheca __board__", + "act-createCard": "scheda __card__ creata nella lista __list__ della corsia __swimlane__ della bacheca __board__", + "act-createCustomField": "creato campo personalizzato __customField__ nella bacheca __board", + "act-deleteCustomField": "campo personalizzato eliminato __customField__ nella bacheca __board", + "act-setCustomField": "campo personalizzato modificato __customField__: __customFieldValue__ sulla scheda __card__ sulla lista __list__ sulla swimlane __swimlane__ sulla bacheca __board__", + "act-createList": "aggiunta lista __list__ alla bacheca __board__", + "act-addBoardMember": "aggiunto membro __member__ alla bacheca __board__", + "act-archivedBoard": "Bacheca __board__ archiviata", + "act-archivedCard": "Scheda __card__ della lista __list__ della corsia __swimlane__ della bacheca __board__ archiviata", + "act-archivedList": "Lista __list__ della corsia __swimlane__ della bacheca __board__ archiviata", + "act-archivedSwimlane": "Corsia __swimlane__ della bacheca __board__ archiviata", + "act-importBoard": "Bacheca __board__ importata", + "act-importCard": "scheda importata __card__ nella lista __list__ della corsia __swimlane__ della bacheca __board__", + "act-importList": "lista __list__ importata nella corsia __swimlane__ della bacheca __board__", + "act-joinMember": "aggiunto membro __member__ alla scheda __card__ della list __list__ nella corsia __swimlane__ della bacheca __board__", + "act-moveCard": "spostata scheda __card__ della bacheca __board__ dalla lista __oldList__ della corsia __oldSwimlane__ alla lista __list__ della corsia __swimlane__", + "act-moveCardToOtherBoard": "postata scheda __card__ dalla lista __oldList__ della corsia __oldSwimlane__ della bacheca __oldBoard__ alla lista __list__ nella corsia __swimlane__ della bacheca __board__", + "act-removeBoardMember": "rimosso membro __member__ dalla bacheca __board__", + "act-restoredCard": "scheda ripristinata __card__ della lista __list__ nella corsia __swimlane__ della bacheca __board__", + "act-unjoinMember": "rimosso membro __member__ dalla scheda __card__ della lista __list__ della corsia __swimlane__ nella bacheca __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Azioni", + "activities": "Attività", + "activity": "Attività", + "activity-added": "ha aggiunto %s a %s", + "activity-archived": "%s spostato nell'archivio", + "activity-attached": "allegato %s a %s", + "activity-created": "creato %s", + "activity-customfield-created": "%s creato come campo personalizzato", + "activity-excluded": "escluso %s da %s", + "activity-imported": "importato %s in %s da %s", + "activity-imported-board": "importato %s da %s", + "activity-joined": "si è unito a %s", + "activity-moved": "spostato %s da %s a %s", + "activity-on": "su %s", + "activity-removed": "rimosso %s da %s", + "activity-sent": "inviato %s a %s", + "activity-unjoined": "ha abbandonato %s", + "activity-subtask-added": "aggiunto il sottocompito a 1%s", + "activity-checked-item": "selezionata %s nella checklist %s di %s", + "activity-unchecked-item": "disattivato %s nella checklist %s di %s", + "activity-checklist-added": "aggiunta checklist a %s", + "activity-checklist-removed": "È stata rimossa una checklist da%s", + "activity-checklist-completed": "%s di %s checklists completate", + "activity-checklist-uncompleted": "La checklist non è stata completata", + "activity-checklist-item-added": "Aggiunto l'elemento checklist a '%s' in %s", + "activity-checklist-item-removed": "è stato rimosso un elemento della checklist da '%s' in %s", + "add": "Aggiungere", + "activity-checked-item-card": "%s è stato selezionato nella checklist %s", + "activity-unchecked-item-card": "%s è stato deselezionato nella checklist %s", + "activity-checklist-completed-card": "checklist __label__ completata nella scheda __card__ della lista __list__ della corsia __swimlane__  nella bacheca __board__", + "activity-checklist-uncompleted-card": "La checklist %s non è completa", + "activity-editComment": "commento modificato %s", + "activity-deleteComment": "commento eliminato %s", + "add-attachment": "Aggiungi Allegato", + "add-board": "Aggiungi Bacheca", + "add-card": "Aggiungi Scheda", + "add-swimlane": "Aggiungi Diagramma Swimlane", + "add-subtask": "Aggiungi sotto-compito", + "add-checklist": "Aggiungi Checklist", + "add-checklist-item": "Aggiungi un elemento alla checklist", + "add-cover": "Aggiungi copertina", + "add-label": "Aggiungi Etichetta", + "add-list": "Aggiungi Lista", + "add-members": "Aggiungi membri", + "added": "Aggiunto", + "addMemberPopup-title": "Membri", + "admin": "Amministratore", + "admin-desc": "Può vedere e modificare schede, rimuovere membri e modificare le impostazioni della bacheca.", + "admin-announcement": "Annunci", + "admin-announcement-active": "Attiva annunci di sistema", + "admin-announcement-title": "Annunci dall'Amministratore", + "all-boards": "Tutte le bacheche", + "and-n-other-card": "E __count__ altra scheda", + "and-n-other-card_plural": "E __count__ altre schede", + "apply": "Applica", + "app-is-offline": "Caricamento, attendere prego. Aggiornare la pagina porterà ad una perdita dei dati. Se il caricamento non dovesse funzionare, per favore controlla che il server non sia stato fermato.", + "archive": "Sposta nell'Archivio", + "archive-all": "Sposta tutto nell'Archivio", + "archive-board": "Sposta la bacheca nell'Archivio", + "archive-card": "Sposta la scheda nell'Archivio", + "archive-list": "Sposta elenco nell'Archivio", + "archive-swimlane": "Sposta diagramma nell'Archivio", + "archive-selection": "Sposta la selezione nell'archivio", + "archiveBoardPopup-title": "Spostare al bacheca nell'archivio?", + "archived-items": "Archivia", + "archived-boards": "Bacheche nell'archivio", + "restore-board": "Ripristina Bacheca", + "no-archived-boards": "Nessuna bacheca presente nell'archivio", + "archives": "Archivia", + "template": "Template", + "templates": "Templates", + "assign-member": "Aggiungi membro", + "attached": "allegato", + "attachment": "Allegato", + "attachment-delete-pop": "L'eliminazione di un allegato è permanente. Non è possibile annullare.", + "attachmentDeletePopup-title": "Eliminare l'allegato?", + "attachments": "Allegati", + "auto-watch": "Segui automaticamente le bacheche quando vengono create.", + "avatar-too-big": "L'avatar è troppo grande (70KB max)", + "back": "Indietro", + "board-change-color": "Cambia colore", + "board-nb-stars": "%s stelle", + "board-not-found": "Bacheca non trovata", + "board-private-info": "Questa bacheca sarà privata.", + "board-public-info": "Questa bacheca sarà pubblica.", + "boardChangeColorPopup-title": "Cambia sfondo della bacheca", + "boardChangeTitlePopup-title": "Rinomina bacheca", + "boardChangeVisibilityPopup-title": "Cambia visibilità", + "boardChangeWatchPopup-title": "Cambia faccia", + "boardMenuPopup-title": "Impostazioni bacheca", + "boardChangeViewPopup-title": "Visualizza bacheca", + "boards": "Bacheche", + "board-view": "Visualizza bacheca", + "board-view-cal": "Calendario", + "board-view-swimlanes": "Diagramma Swimlane", + "board-view-collapse": "Collassa", + "board-view-lists": "Liste", + "bucket-example": "Per esempio come \"una lista di cose da fare\"", + "cancel": "Cancella", + "card-archived": "Questa scheda è stata spostata nell'archivio", + "board-archived": "Questa bacheca è stata spostata nell'archivio", + "card-comments-title": "Questa scheda ha %s commenti.", + "card-delete-notice": "L'eliminazione è permanente. Tutte le azioni associate a questa scheda andranno perse.", + "card-delete-pop": "Tutte le azioni saranno rimosse dal flusso attività e non sarai in grado di riaprire la scheda. Non potrai tornare indietro.", + "card-delete-suggest-archive": "Puoi spostare una scheda nell'archivio per rimuoverla dalla bacheca e mantenere la sua attività", + "card-due": "Scadenza", + "card-due-on": "Scade", + "card-spent": "Tempo trascorso", + "card-edit-attachments": "Modifica allegati", + "card-edit-custom-fields": "Modifica campo personalizzato", + "card-edit-labels": "Modifica etichette", + "card-edit-members": "Modifica membri", + "card-labels-title": "Cambia le etichette per questa scheda.", + "card-members-title": "Aggiungi o rimuovi membri della bacheca da questa scheda", + "card-start": "Inizio", + "card-start-on": "Inizia", + "cardAttachmentsPopup-title": "Allega da", + "cardCustomField-datePopup-title": "Cambia data", + "cardCustomFieldsPopup-title": "Modifica campo personalizzato", + "cardStartVotingPopup-title": "Inizia una votazione", + "positiveVoteMembersPopup-title": "Favorevoli", + "negativeVoteMembersPopup-title": "Contrari", + "card-edit-voting": "Modifica la votazione", + "editVoteEndDatePopup-title": "Cambia data di termine voto", + "allowNonBoardMembers": "Consenti tutti gli utenti registrati", + "vote-question": "Domanda di votazione", + "vote-public": "Mostrare chi ha votato cosa", + "vote-for-it": "a favore", + "vote-against": "contro", + "deleteVotePopup-title": "Eliminare il voto?", + "vote-delete-pop": "L'eliminazione è permanente. Tutte le azioni associate a questa votazione andranno perse.", + "cardDeletePopup-title": "Elimina scheda?", + "cardDetailsActionsPopup-title": "Azioni scheda", + "cardLabelsPopup-title": "Etichette", + "cardMembersPopup-title": "Membri", + "cardMorePopup-title": "Altro", + "cardTemplatePopup-title": "Crea un template", + "cards": "Schede", + "cards-count": "Schede", + "casSignIn": "Entra con CAS", + "cardType-card": "Scheda", + "cardType-linkedCard": "Scheda collegata", + "cardType-linkedBoard": "Bacheca collegata", + "change": "Cambia", + "change-avatar": "Cambia avatar", + "change-password": "Cambia password", + "change-permissions": "Cambia permessi", + "change-settings": "Cambia impostazioni", + "changeAvatarPopup-title": "Cambia avatar", + "changeLanguagePopup-title": "Cambia lingua", + "changePasswordPopup-title": "Cambia password", + "changePermissionsPopup-title": "Cambia permessi", + "changeSettingsPopup-title": "Cambia impostazioni", + "subtasks": "Sotto-compiti", + "checklists": "Checklist", + "click-to-star": "Clicca per stellare questa bacheca", + "click-to-unstar": "Clicca per togliere la stella da questa bacheca", + "clipboard": "Clipboard o drag & drop", + "close": "Chiudi", + "close-board": "Chiudi bacheca", + "close-board-pop": "Potrai ripristinare la bacheca cliccando sul tasto \"Archivio\" presente nell'intestazione della home.", + "color-black": "nero", + "color-blue": "blu", + "color-crimson": "Rosso cremisi", + "color-darkgreen": "Verde scuro", + "color-gold": "Dorato", + "color-gray": "Grigio", + "color-green": "verde", + "color-indigo": "Indaco", + "color-lime": "lime", + "color-magenta": "Magenta", + "color-mistyrose": "Mistyrose", + "color-navy": "Navy", + "color-orange": "arancione", + "color-paleturquoise": "Turchese chiaro", + "color-peachpuff": "Pesca", + "color-pink": "rosa", + "color-plum": "Prugna", + "color-purple": "viola", + "color-red": "rosso", + "color-saddlebrown": "Saddlebrown", + "color-silver": "Argento", + "color-sky": "azzurro", + "color-slateblue": "Ardesia", + "color-white": "Bianco", + "color-yellow": "giallo", + "unset-color": "Non impostato", + "comment": "Commento", + "comment-placeholder": "Scrivi Commento", + "comment-only": "Solo commenti", + "comment-only-desc": "Puoi commentare solo le schede.", + "no-comments": "Non ci sono commenti.", + "no-comments-desc": "Impossibile visualizzare commenti o attività.", + "worker": "Lavoratore", + "worker-desc": "Può solo spostare schede, assegnarsi una scheda e commentare.", + "computer": "Computer", + "confirm-subtask-delete-dialog": "Sei sicuro di voler eliminare il sotto-compito?", + "confirm-checklist-delete-dialog": "Sei sicuro di voler eliminare la checklist?", + "copy-card-link-to-clipboard": "Copia link della scheda sulla clipboard", + "linkCardPopup-title": "Collega scheda", + "searchElementPopup-title": "Cerca", + "copyCardPopup-title": "Copia Scheda", + "copyChecklistToManyCardsPopup-title": "Copia template checklist su più schede", + "copyChecklistToManyCardsPopup-instructions": "Titolo e la descrizione della scheda di destinazione in questo formato JSON", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"Titolo prima scheda\", \"description\":\"Descrizione prima scheda\"}, {\"title\":\"Titolo seconda scheda\",\"description\":\"Descrizione seconda scheda\"},{\"title\":\"Titolo ultima scheda\",\"description\":\"Descrizione ultima scheda\"} ]", + "create": "Crea", + "createBoardPopup-title": "Crea bacheca", + "chooseBoardSourcePopup-title": "Importa bacheca", + "createLabelPopup-title": "Crea etichetta", + "createCustomField": "Crea campo", + "createCustomFieldPopup-title": "Crea campo", + "current": "corrente", + "custom-field-delete-pop": "Non potrai tornare indietro. Questa azione rimuoverà questo campo personalizzato da tutte le schede ed eliminerà ogni sua traccia.", + "custom-field-checkbox": "Casella di scelta", + "custom-field-currency": "Valuta", + "custom-field-currency-option": "Codice Valuta", + "custom-field-date": "Data", + "custom-field-dropdown": "Lista a discesa", + "custom-field-dropdown-none": "(niente)", + "custom-field-dropdown-options": "Lista opzioni", + "custom-field-dropdown-options-placeholder": "Premi invio per aggiungere altre opzioni", + "custom-field-dropdown-unknown": "(sconosciuto)", + "custom-field-number": "Numero", + "custom-field-text": "Testo", + "custom-fields": "Campi personalizzati", + "date": "Data", + "decline": "Declina", + "default-avatar": "Avatar predefinito", + "delete": "Elimina", + "deleteCustomFieldPopup-title": "Elimina il campo personalizzato?", + "deleteLabelPopup-title": "Eliminare etichetta?", + "description": "Descrizione", + "disambiguateMultiLabelPopup-title": "Disambiguare l'azione Etichetta", + "disambiguateMultiMemberPopup-title": "Disambiguare l'azione Membro", + "discard": "Scarta", + "done": "Fatto", + "download": "Download", + "edit": "Modifica", + "edit-avatar": "Cambia avatar", + "edit-profile": "Modifica profilo", + "edit-wip-limit": "Modifica limite di work in progress", + "soft-wip-limit": "Limite Work in progress soft", + "editCardStartDatePopup-title": "Cambia data di inizio", + "editCardDueDatePopup-title": "Cambia data di scadenza", + "editCustomFieldPopup-title": "Modifica campo", + "editCardSpentTimePopup-title": "Cambia tempo trascorso", + "editLabelPopup-title": "Cambia etichetta", + "editNotificationPopup-title": "Modifica notifiche", + "editProfilePopup-title": "Modifica profilo", + "email": "Email", + "email-enrollAccount-subject": "Creato un account per te su __siteName__", + "email-enrollAccount-text": "Ciao __user__,\n\nPer iniziare ad usare il servizio, clicca sul link seguente:\n\n__url__\n\nGrazie.", + "email-fail": "Invio email fallito", + "email-fail-text": "Errore nel tentativo di invio email", + "email-invalid": "Email non valida", + "email-invite": "Invita via email", + "email-invite-subject": "__inviter__ ti ha inviato un invito", + "email-invite-text": "Caro __user__,\n\n__inviter__ ti ha invitato ad unirti alla bacheca \"__board__\" per le collaborazioni.\n\nPer favore clicca sul link seguente:\n\n__url__\n\nGrazie.", + "email-resetPassword-subject": "Ripristina la tua password su on __siteName__", + "email-resetPassword-text": "Ciao __user__,\n\nPer ripristinare la tua password, clicca sul link seguente:\n\n__url__\n\nGrazie.", + "email-sent": "Email inviata", + "email-verifyEmail-subject": "Verifica il tuo indirizzo email su on __siteName__", + "email-verifyEmail-text": "Ciao __user__,\n\nPer verificare il tuo account email, clicca sul link seguente:\n\n__url__\n\nGrazie.", + "enable-wip-limit": "Abilita limite di work in progress", + "error-board-doesNotExist": "Questa bacheca non esiste", + "error-board-notAdmin": "Devi essere admin di questa bacheca per poterlo fare", + "error-board-notAMember": "Devi essere un membro di questa bacheca per poterlo fare", + "error-json-malformed": "Il tuo testo non è un JSON valido", + "error-json-schema": "Il tuo file JSON non contiene le giuste informazioni nel formato corretto", + "error-csv-schema": "Il tuo file CSV(Comma Separated Values)/TSV (Tab Separated Values) non contiene le giuste informazioni nel formato corretto ", + "error-list-doesNotExist": "Questa lista non esiste", + "error-user-doesNotExist": "Questo utente non esiste", + "error-user-notAllowSelf": "Non puoi invitare te stesso", + "error-user-notCreated": "L'utente non è stato creato", + "error-username-taken": "Questo username è già utilizzato", + "error-email-taken": "L'email è già stata presa", + "export-board": "Esporta bacheca", + "export-board-json": "Esporta bacheca in JSON", + "export-board-csv": "Esporta bacheca in CSV", + "export-board-tsv": "Esporta bacheca in TSV", + "export-board-html": "Esporta bacheca in HTML", + "exportBoardPopup-title": "Esporta bacheca", + "sort": "Ordina", + "sort-desc": "Clicca per ordinare la lista", + "list-sort-by": "Ordina la lista per:", + "list-label-modifiedAt": "Orario ultimo accesso", + "list-label-title": "Nome della lista", + "list-label-sort": "Il tuo ordine manuale", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Filtra", + "filter-cards": "Filtra schede o liste", + "list-filter-label": "Filtra lista per titolo", + "filter-clear": "Pulisci filtri", + "filter-no-label": "Nessuna etichetta", + "filter-no-member": "Nessun membro", + "filter-no-assignee": "Nessun assegnatario", + "filter-no-custom-fields": "Nessun campo personalizzato", + "filter-show-archive": "Mostra le liste archiviate", + "filter-hide-empty": "Nascondi liste vuote", + "filter-on": "Il filtro è attivo", + "filter-on-desc": "Stai filtrando le schede su questa bacheca. Clicca qui per modificare il filtro,", + "filter-to-selection": "Seleziona", + "advanced-filter-label": "Filtro avanzato", + "advanced-filter-description": "Il filtro avanzato permette di scrivere una stringa contenente i seguenti operatori: == != <= >= && || ( ) Uno spazio è usato come separatore tra gli operatori. Si può filtrare per tutti i campi personalizzati, scrivendo i loro nomi e valori. Per esempio: Campo1 == Valore1. Nota: Se i campi o i valori contengono spazi, è necessario incapsularli all'interno di paici singoli. Per esempio: 'Campo 1' == 'Valore 1'. Per i singoli caratteri di controllo (' V) che devono essere ignorati, si può usare \\. Per esempio: C1 == Campo1 == L'\\ho. Si possono anche combinare condizioni multiple. Per esempio: C1 == V1 || C1 ==V2. Di norma tutti gli operatori vengono lettti da sinistra a destra. Si può cambiare l'ordine posizionando delle parentesi. Per esempio: C1 == V1 && ( C2 == V2 || C2 == V3) . Inoltre è possibile cercare nei campi di testo usando le espressioni regolari (n.d.t. regex): F1 ==/Tes.*/i", + "fullname": "Nome completo", + "header-logo-title": "Torna alla tua bacheca.", + "hide-system-messages": "Nascondi i messaggi di sistema", + "headerBarCreateBoardPopup-title": "Crea bacheca", + "home": "Home", + "import": "Importa", + "link": "Collegamento", + "import-board": "Importa bacheca", + "import-board-c": "Importa bacheca", + "import-board-title-trello": "Importa una bacheca da Trello", + "import-board-title-wekan": "Importa bacheca dall'esportazione precedente", + "import-board-title-csv": "Importa bacheca da CSV/TSV", + "from-trello": "Da Trello", + "from-wekan": "Dall'esportazione precedente", + "from-csv": "Da CSV/TSV", + "import-board-instruction-trello": "Nella tua bacheca Trello vai a 'Menu', poi 'Altro', 'Stampa ed esporta', 'Esporta JSON', e copia il testo che compare.", + "import-board-instruction-csv": "Incolla in Comma Separated Values (CSV) / Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "Nella tua bacheca vai su \"Menu\", poi \"Esporta la bacheca\", e copia il testo nel file scaricato", + "import-board-instruction-about-errors": "Se hai degli errori quando importi una bacheca, qualche volta l'importazione funziona comunque, e la bacheca si trova nella pagina \"Tutte le bacheche\"", + "import-json-placeholder": "Incolla un JSON valido qui", + "import-csv-placeholder": "Incolla un CSV/TSV valido qui", + "import-map-members": "Mappatura dei membri", + "import-members-map": "La bacheca che hai importato contiene alcuni membri. Per favore scegli i membri che vuoi importare tra i tuoi utenti", + "import-show-user-mapping": "Rivedi la mappatura dei membri", + "import-user-select": "Scegli l'utente che vuoi venga utilizzato come questo membro", + "importMapMembersAddPopup-title": "Scegli membro", + "info": "Versione", + "initials": "Iniziali", + "invalid-date": "Data non valida", + "invalid-time": "Tempo non valido", + "invalid-user": "User non valido", + "joined": "si è unito a", + "just-invited": "Sei stato appena invitato a questa bacheca", + "keyboard-shortcuts": "Scorciatoie da tastiera", + "label-create": "Crea etichetta", + "label-default": "%s etichetta (default)", + "label-delete-pop": "Non potrai tornare indietro. Procedendo, rimuoverai questa etichetta da tutte le schede e distruggerai la sua cronologia.", + "labels": "Etichette", + "language": "Lingua", + "last-admin-desc": "Non puoi cambiare i ruoli perché deve esserci almeno un admin.", + "leave-board": "Abbandona bacheca", + "leave-board-pop": "Sei sicuro di voler abbandonare __boardTitle__? Sarai rimosso da tutte le schede in questa bacheca.", + "leaveBoardPopup-title": "Abbandona Bacheca?", + "link-card": "Link a questa scheda", + "list-archive-cards": "Sposta tutte le schede in questo elenco nell'Archivio", + "list-archive-cards-pop": "Questo rimuoverà tutte le schede nell'elenco dalla bacheca. Per vedere le schede nell'archivio e portarle dov'erano nella bacheca, clicca su \"Menu\" > \"Archivio\".", + "list-move-cards": "Sposta tutte le schede in questa lista", + "list-select-cards": "Selezione tutte le schede in questa lista", + "set-color-list": "Imposta un colore", + "listActionPopup-title": "Azioni disponibili", + "swimlaneActionPopup-title": "Azioni diagramma Swimlane", + "swimlaneAddPopup-title": "Aggiungi un diagramma Swimlane di seguito", + "listImportCardPopup-title": "Importa una scheda di Trello", + "listImportCardsTsvPopup-title": "Importa CSV/TSV", + "listMorePopup-title": "Altro", + "link-list": "Link a questa lista", + "list-delete-pop": "Tutte le azioni saranno rimosse dal flusso attività e non sarai in grado di recuperare la lista. Non potrai tornare indietro.", + "list-delete-suggest-archive": "Puoi spostare un elenco nell'archivio per rimuoverlo dalla bacheca e mantentere la sua attività.", + "lists": "Liste", + "swimlanes": "Diagramma Swimlane", + "log-out": "Log Out", + "log-in": "Log In", + "loginPopup-title": "Log In", + "memberMenuPopup-title": "Impostazioni membri", + "members": "Membri", + "menu": "Menu", + "move-selection": "Sposta selezione", + "moveCardPopup-title": "Sposta scheda", + "moveCardToBottom-title": "Sposta in fondo", + "moveCardToTop-title": "Sposta in alto", + "moveSelectionPopup-title": "Sposta selezione", + "multi-selection": "Multi-Selezione", + "multi-selection-on": "Multi-Selezione attiva", + "muted": "Silenziato", + "muted-info": "Non sarai mai notificato delle modifiche in questa bacheca", + "my-boards": "Le mie bacheche", + "name": "Nome", + "no-archived-cards": "Non ci sono schede nell'archivio.", + "no-archived-lists": "Non ci sono elenchi nell'archivio.", + "no-archived-swimlanes": "Non ci sono diagrammi Swimlane nell'archivio.", + "no-results": "Nessun risultato", + "normal": "Normale", + "normal-desc": "Può visionare e modificare le schede. Non può cambiare le impostazioni.", + "not-accepted-yet": "Invitato non ancora accettato", + "notify-participate": "Ricevi aggiornamenti per qualsiasi scheda a cui partecipi come creatore o membro", + "notify-watch": "Ricevi aggiornamenti per tutte le bacheche, liste o schede che stai seguendo", + "optional": "opzionale", + "or": "o", + "page-maybe-private": "Questa pagina potrebbe essere privata. Potresti essere in grado di vederla facendo il log-in.", + "page-not-found": "Pagina non trovata.", + "password": "Password", + "paste-or-dragdrop": "per incollare, oppure trascina & rilascia il file immagine (solo immagini)", + "participating": "Partecipando", + "preview": "Anteprima", + "previewAttachedImagePopup-title": "Anteprima", + "previewClipboardImagePopup-title": "Anteprima", + "private": "Privata", + "private-desc": "Questa bacheca è privata. Solo le persone aggiunte alla bacheca possono vederla e modificarla.", + "profile": "Profilo", + "public": "Pubblica", + "public-desc": "Questa bacheca è pubblica. È visibile a chiunque abbia il link e sarà mostrata dai motori di ricerca come Google. Solo le persone aggiunte alla bacheca possono modificarla.", + "quick-access-description": "Stella una bacheca per aggiungere una scorciatoia in questa barra.", + "remove-cover": "Rimuovi cover", + "remove-from-board": "Rimuovi dalla bacheca", + "remove-label": "Rimuovi Etichetta", + "listDeletePopup-title": "Eliminare Lista?", + "remove-member": "Rimuovi utente", + "remove-member-from-card": "Rimuovi dalla scheda", + "remove-member-pop": "Rimuovere __name__ (__username__) da __boardTitle__? L'utente sarà rimosso da tutte le schede in questa bacheca. Riceveranno una notifica.", + "removeMemberPopup-title": "Rimuovere membro?", + "rename": "Rinomina", + "rename-board": "Rinomina bacheca", + "restore": "Ripristina", + "save": "Salva", + "search": "Cerca", + "rules": "Regole", + "search-cards": "Ricerca per titolo, descrizione scheda/lista e campi personalizzati su questa bacheca", + "search-example": "Testo da ricercare?", + "select-color": "Seleziona Colore", + "set-wip-limit-value": "Seleziona un limite per il massimo numero di attività in questa lista", + "setWipLimitPopup-title": "Imposta limite di work in progress", + "shortcut-assign-self": "Aggiungi te stesso alla scheda corrente", + "shortcut-autocomplete-emoji": "Autocompletamento emoji", + "shortcut-autocomplete-members": "Autocompletamento membri", + "shortcut-clear-filters": "Pulisci tutti i filtri", + "shortcut-close-dialog": "Chiudi finestra di dialogo", + "shortcut-filter-my-cards": "Filtra le mie schede", + "shortcut-show-shortcuts": "Apri questa lista di scorciatoie", + "shortcut-toggle-filterbar": "Apri/chiudi la barra laterale dei filtri", + "shortcut-toggle-sidebar": "Apri/chiudi la barra laterale della bacheca", + "show-cards-minimum-count": "Mostra il contatore delle schede se la lista ne contiene più di", + "sidebar-open": "Apri Sidebar", + "sidebar-close": "Chiudi Sidebar", + "signupPopup-title": "Crea un account", + "star-board-title": "Clicca per stellare questa bacheca. Sarà mostrata all'inizio della tua lista bacheche.", + "starred-boards": "Bacheche stellate", + "starred-boards-description": "Le bacheche stellate vengono mostrato all'inizio della tua lista bacheche.", + "subscribe": "Sottoscrivi", + "team": "Team", + "this-board": "questa bacheca", + "this-card": "questa scheda", + "spent-time-hours": "Tempo trascorso (ore)", + "overtime-hours": "Overtime (ore)", + "overtime": "Overtime", + "has-overtime-cards": "Ci sono scheda scadute", + "has-spenttime-cards": "Ci sono scheda con tempo impiegato", + "time": "Ora", + "title": "Titolo", + "tracking": "Monitoraggio", + "tracking-info": "Sarai notificato per tutte le modifiche alle schede delle quali sei creatore o membro.", + "type": "Tipo", + "unassign-member": "Rimuovi membro", + "unsaved-description": "Hai una descrizione non salvata", + "unwatch": "Non seguire", + "upload": "Upload", + "upload-avatar": "Carica un avatar", + "uploaded-avatar": "Avatar caricato", + "username": "Username", + "view-it": "Vedi", + "warn-list-archived": "Attenzione:questa scheda si trova in un elenco dell'archivio", + "watch": "Segui", + "watching": "Stai seguendo", + "watching-info": "Sarai notificato per tutte le modifiche in questa bacheca", + "welcome-board": "Bacheca di benvenuto", + "welcome-swimlane": "Pietra miliare 1", + "welcome-list1": "Basi", + "welcome-list2": "Avanzate", + "card-templates-swimlane": "Template scheda", + "list-templates-swimlane": "Elenca i template", + "board-templates-swimlane": "Bacheca dei template", + "what-to-do": "Cosa vuoi fare?", + "wipLimitErrorPopup-title": "Limite work in progress non valido.", + "wipLimitErrorPopup-dialog-pt1": "Il numero di compiti in questa lista è maggiore del limite di work in progress che hai definito in precedenza.", + "wipLimitErrorPopup-dialog-pt2": "Per favore, sposta alcuni dei compiti fuori da questa lista, oppure imposta un limite di work in progress più alto.", + "admin-panel": "Pannello dell'Amministratore", + "settings": "Impostazioni", + "people": "Persone", + "registration": "Registrazione", + "disable-self-registration": "Disabilita Auto-registrazione", + "invite": "Invita", + "invite-people": "Invita persone", + "to-boards": "Alla(e) bacheca", + "email-addresses": "Indirizzi email", + "smtp-host-description": "L'indirizzo del server SMTP che gestisce le tue email.", + "smtp-port-description": "La porta che il tuo server SMTP utilizza per le email in uscita.", + "smtp-tls-description": "Abilita supporto TLS per server SMTP", + "smtp-host": "SMTP Host", + "smtp-port": "Porta SMTP", + "smtp-username": "Username", + "smtp-password": "Password", + "smtp-tls": "Supporto TLS", + "send-from": "Da", + "send-smtp-test": "Invia un'email di test a te stesso", + "invitation-code": "Codice d'invito", + "email-invite-register-subject": "__inviter__ ti ha inviato un invito", + "email-invite-register-text": "Gentile __user__,\n\n__inviter__ ti ha invitato a partecipare a questa bacheca kanban per collaborare.\n\nPer favore segui il collegamento qui sotto:\n__url__\n\nIl tuo codice di invito è: __icode__\n\nGrazie.", + "email-smtp-test-subject": "E-Mail di prova SMTP", + "email-smtp-test-text": "Hai inviato un'email con successo", + "error-invitation-code-not-exist": "Il codice d'invito non esiste", + "error-notAuthorized": "Non sei autorizzato ad accedere a questa pagina.", + "webhook-title": "Nome Webhook", + "webhook-token": "Token (facoltativo per l'autenticazione)", + "outgoing-webhooks": "Server esterni", + "bidirectional-webhooks": "Webhook a due vie", + "outgoingWebhooksPopup-title": "Server esterni", + "boardCardTitlePopup-title": "Filtro per Titolo Scheda", + "disable-webhook": "Disattiva questo Webhook", + "global-webhook": "Webhook globali", + "new-outgoing-webhook": "Nuovo webhook in uscita", + "no-name": "(Sconosciuto)", + "Node_version": "Versione di Node", + "Meteor_version": "Versione Meteor", + "MongoDB_version": "Versione MondoDB", + "MongoDB_storage_engine": "Versione motore dati MongoDB", + "MongoDB_Oplog_enabled": "MongoDB Oplog abilitato", + "OS_Arch": "Architettura del sistema operativo", + "OS_Cpus": "Conteggio della CPU del sistema operativo", + "OS_Freemem": "Memoria libera del sistema operativo", + "OS_Loadavg": "Carico medio del sistema operativo", + "OS_Platform": "Piattaforma del sistema operativo", + "OS_Release": "Versione di rilascio del sistema operativo", + "OS_Totalmem": "Memoria totale del sistema operativo", + "OS_Type": "Tipo di sistema operativo", + "OS_Uptime": "Tempo di attività del sistema operativo.", + "days": "giorni", + "hours": "ore", + "minutes": "minuti", + "seconds": "secondi", + "show-field-on-card": "Visualizza questo campo sulla scheda", + "automatically-field-on-card": "Crea automaticamente i campi per tutte le schede", + "showLabel-field-on-card": "Mostra l'etichetta di campo su minischeda", + "yes": "Sì", + "no": "No", + "accounts": "Profili", + "accounts-allowEmailChange": "Permetti modifica dell'email", + "accounts-allowUserNameChange": "Consenti la modifica del nome utente", + "createdAt": "creato alle", + "verified": "Verificato", + "active": "Attivo", + "card-received": "Ricevuta", + "card-received-on": "Ricevuta il", + "card-end": "Fine", + "card-end-on": "Termina il", + "editCardReceivedDatePopup-title": "Cambia data ricezione", + "editCardEndDatePopup-title": "Cambia data finale", + "setCardColorPopup-title": "Imposta il colore", + "setCardActionsColorPopup-title": "Scegli un colore", + "setSwimlaneColorPopup-title": "Scegli un colore", + "setListColorPopup-title": "Scegli un colore", + "assigned-by": "Assegnato da", + "requested-by": "Richiesto da", + "board-delete-notice": "L'eliminazione è permanente. Tutte le azioni, liste e schede associate a questa bacheca andranno perse.", + "delete-board-confirm-popup": "Tutte le liste, schede, etichette e azioni saranno rimosse e non sarai più in grado di recuperare il contenuto della bacheca. L'azione non è annullabile.", + "boardDeletePopup-title": "Eliminare la bacheca?", + "delete-board": "Elimina bacheca", + "default-subtasks-board": "Sottocompiti per la bacheca __board__", + "default": "Predefinito", + "queue": "Coda", + "subtask-settings": "Impostazioni sotto-compiti", + "card-settings": "Impostazioni della scheda", + "boardSubtaskSettingsPopup-title": "Impostazioni sotto-compiti della bacheca", + "boardCardSettingsPopup-title": "Impostazioni della scheda", + "deposit-subtasks-board": "Deposita i sotto compiti in questa bacheca", + "deposit-subtasks-list": "Lista di destinaizoni per questi sotto-compiti", + "show-parent-in-minicard": "Mostra genirotri nelle mini schede:", + "prefix-with-full-path": "Prefisso con percorso completo", + "prefix-with-parent": "Prefisso con genitore", + "subtext-with-full-path": "Sottotesto con percorso completo", + "subtext-with-parent": "Sotto-testo con genitore", + "change-card-parent": "Cambia la scheda genitore", + "parent-card": "Scheda genitore", + "source-board": "Bacheca d'origine", + "no-parent": "Non mostrare i genitori", + "activity-added-label": "L' etichetta '%s' è stata aggiunta a %s", + "activity-removed-label": "L'etichetta '%s' è stata rimossa da %s", + "activity-delete-attach": "Rimosso un allegato da %s", + "activity-added-label-card": "aggiunta etichetta '%s'", + "activity-removed-label-card": "L' etichetta '%s' è stata rimossa.", + "activity-delete-attach-card": "Cancella un allegato", + "activity-set-customfield": "imposta campo personalizzato '%s' a '%s' in %s", + "activity-unset-customfield": "campo personalizzato non impostato '%s' in %s", + "r-rule": "Ruolo", + "r-add-trigger": "Aggiungi trigger", + "r-add-action": "Aggiungi azione", + "r-board-rules": "Regole della bacheca", + "r-add-rule": "Aggiungi regola", + "r-view-rule": "Visualizza regola", + "r-delete-rule": "Cancella regola", + "r-new-rule-name": "Titolo nuova regola", + "r-no-rules": "Nessuna regola", + "r-trigger": "trigger", + "r-action": "Azione", + "r-when-a-card": "Quando una scheda", + "r-is": "è", + "r-is-moved": "viene spostata", + "r-added-to": "Aggiunto/a a", + "r-removed-from": "Rimosso da", + "r-the-board": "La bacheca", + "r-list": "lista", + "set-filter": "Imposta un filtro", + "r-moved-to": "Spostato/a a", + "r-moved-from": "Spostato/a da", + "r-archived": "Spostato/a nell'archivio", + "r-unarchived": "Ripristinato/a dall'archivio", + "r-a-card": "una scheda", + "r-when-a-label-is": "Quando un'etichetta viene", + "r-when-the-label": "Quando l'etichetta viene", + "r-list-name": "Nome dell'elenco", + "r-when-a-member": "Quando un membro viene", + "r-when-the-member": "Quando un membro viene", + "r-name": "nome", + "r-when-a-attach": "Quando un allegato", + "r-when-a-checklist": "Quando una checklist è", + "r-when-the-checklist": "Quando la checklist", + "r-completed": "Completato/a", + "r-made-incomplete": "Rendi incompleto", + "r-when-a-item": "Quando un elemento della checklist è", + "r-when-the-item": "Quando un elemento della checklist", + "r-checked": "Selezionato", + "r-unchecked": "Deselezionato", + "r-move-card-to": "Sposta scheda a", + "r-top-of": "Al di sopra di", + "r-bottom-of": "Al di sotto di", + "r-its-list": "il suo elenco", + "r-archive": "Sposta nell'Archivio", + "r-unarchive": "Ripristina dall'archivio", + "r-card": "scheda", + "r-add": "Aggiungere", + "r-remove": "Rimuovi", + "r-label": "etichetta", + "r-member": "membro", + "r-remove-all": "Rimuovi tutti i membri dalla scheda", + "r-set-color": "Imposta il colore a", + "r-checklist": "checklist", + "r-check-all": "Spunta tutti", + "r-uncheck-all": "Togli la spunta a tutti", + "r-items-check": "Elementi della checklist", + "r-check": "Spunta", + "r-uncheck": "Togli la spunta", + "r-item": "elemento", + "r-of-checklist": "della lista di cose da fare", + "r-send-email": "Invia un e-mail", + "r-to": "a", + "r-of": "di", + "r-subject": "soggetto", + "r-rule-details": "Dettagli della regola", + "r-d-move-to-top-gen": "Sposta la scheda al di sopra del suo elenco", + "r-d-move-to-top-spec": "Sposta la scheda la di sopra dell'elenco", + "r-d-move-to-bottom-gen": "Sposta la scheda in fondo alla sua lista", + "r-d-move-to-bottom-spec": "Muovi la scheda in fondo alla lista", + "r-d-send-email": "Spedisci email", + "r-d-send-email-to": "a", + "r-d-send-email-subject": "soggetto", + "r-d-send-email-message": "Messaggio", + "r-d-archive": "Sposta la scheda nell'archivio", + "r-d-unarchive": "Ripristina la scheda dall'archivio", + "r-d-add-label": "Aggiungi etichetta", + "r-d-remove-label": "Rimuovi Etichetta", + "r-create-card": "Crea una nuova scheda", + "r-in-list": "in elenco", + "r-in-swimlane": "nel diagramma swimlane", + "r-d-add-member": "Aggiungi membro", + "r-d-remove-member": "Rimuovi membro", + "r-d-remove-all-member": "Rimouvi tutti i membri", + "r-d-check-all": "Seleziona tutti gli item di una lista", + "r-d-uncheck-all": "Deseleziona tutti gli items di una lista", + "r-d-check-one": "Seleziona", + "r-d-uncheck-one": "Deselezionalo", + "r-d-check-of-list": "della lista di cose da fare", + "r-d-add-checklist": "Aggiungi lista di cose da fare", + "r-d-remove-checklist": "Rimuovi check list", + "r-by": "da", + "r-add-checklist": "Aggiungi lista di cose da fare", + "r-with-items": "con elementi", + "r-items-list": "elemento1,elemento2,elemento3", + "r-add-swimlane": "Aggiungi un diagramma swimlane", + "r-swimlane-name": "Nome diagramma swimlane", + "r-board-note": "Nota: Lascia un campo vuoto per abbinare ogni possibile valore", + "r-checklist-note": "Nota: Gli elementi della checklist devono essere scritti come valori separati dalla virgola", + "r-when-a-card-is-moved": "Quando una scheda viene spostata su un'altra lista", + "r-set": "Imposta", + "r-update": "Aggiorna", + "r-datefield": "campo data", + "r-df-start-at": "inizio", + "r-df-due-at": "scadenza", + "r-df-end-at": "fine", + "r-df-received-at": "ricevuta", + "r-to-current-datetime": "a data/ora corrente", + "r-remove-value-from": "Rimuovi valore da", + "ldap": "LDAP", + "oauth2": "Oauth2", + "cas": "CAS", + "authentication-method": "Metodo di Autenticazione", + "authentication-type": "Tipo Autenticazione", + "custom-product-name": "Nome prodotto personalizzato", + "layout": "Layout", + "hide-logo": "Nascondi il logo", + "add-custom-html-after-body-start": "Aggiungi codice HTML personalizzato dopo inzio", + "add-custom-html-before-body-end": "Aggiunti il codice HTML prima di fine", + "error-undefined": "Qualcosa è andato storto", + "error-ldap-login": "C'è stato un errore mentre provavi ad effettuare il login", + "display-authentication-method": "Mostra il metodo di autenticazione", + "default-authentication-method": "Metodo di autenticazione predefinito", + "duplicate-board": "Duplica bacheca", + "people-number": "Il numero di persone è:", + "swimlaneDeletePopup-title": "Cancella diagramma swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Restore all", + "delete-all": "Cancella tutto", + "loading": "Loading, please wait.", + "previous_as": "l'ultima volta è stata", + "act-a-dueAt": "Scadenza modificata in __timeValue__\nData precedente: __timeOldValue__", + "act-a-endAt": "orario finale modificato in __timeValue__ (precedentemente: __timeOldValue__)", + "act-a-startAt": "orario iniziale modificato in __timeValue__ (precedentemente: __timeOldValue__)", + "act-a-receivedAt": "orario di ricezione modificato in __timeValue__ (precedentemente: __timeOldValue__)", + "a-dueAt": "scadenza modificata in", + "a-endAt": "orario finale modificato in", + "a-startAt": "orario iniziale modificato in", + "a-receivedAt": "orario di ricezione modificato in", + "almostdue": "la data di scadenza attuale %s si sta avvicinando", + "pastdue": "la data di scadenza attuale %s è scaduta", + "duenow": "la data di scadenza attuale %s è oggi", + "act-newDue": "__list__/__card__ ha un 1° sollecito [__board__]", + "act-withDue": "sollecito relativo a __list__/__card__ [__board__]", + "act-almostdue": "sollecito inviato: la scadenza (__timeValue__) di __card__ è vicina", + "act-pastdue": "sollecito inviato: la scadenza (__timeValue__) di __card__ è già passata", + "act-duenow": "sollecito inviato: la scadenza (__timeValue__) di __card__ è adesso", + "act-atUserComment": "Sei stato menzionato in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Sei sicuro di voler cancellare questo profilo? Non sarà possibile ripristinarlo.", + "accounts-allowUserDelete": "Permetti agli utenti di cancellare il loro profilo", + "hide-minicard-label-text": "Nascondi etichetta minicard", + "show-desktop-drag-handles": "Mostra maniglie di trascinamento del desktop", + "assignee": "Assegnatario", + "cardAssigneesPopup-title": "Assegnatario", + "addmore-detail": "Aggiungi una descrizione più dettagliata", + "show-on-card": "Mostra sulla scheda", + "new": "Nuovo", + "editUserPopup-title": "Modifica utente", + "newUserPopup-title": "Nuovo utente", + "notifications": "Notifiche", + "view-all": "Mostra Tutto", + "filter-by-unread": "Filtra per non letto", + "mark-all-as-read": "Segna come letto", + "remove-all-read": "Rimuovi tutti i già letti", + "allow-rename": "Consenti Rinomina", + "allowRenamePopup-title": "Consenti Rinomina", + "start-day-of-week": "Imposta l'inizio del giorno della settimana", + "monday": "Lunedi", + "tuesday": "Martedi", + "wednesday": "Mercoledi", + "thursday": "Giovedi", + "friday": "Venerdi", + "saturday": "Sabato", + "sunday": "Domenica", + "status": "Stato", + "swimlane": "Swimlane", + "owner": "Proprietario", + "last-modified-at": "Ultima modifica il", + "last-activity": "Ultima attività", + "voting": "Votazione", + "archived": "Archiviato", + "delete-linked-card-before-this-card": "Non puoi eliminare questa scheda prima di avere eliminato una scheda collegata che ha", + "delete-linked-cards-before-this-list": "Non puoi eliminare questa lista prima di avere eliminato le schede collegate che puntano su schede in questa lista", + "hide-checked-items": "Nascondi articoli controllati" +} \ No newline at end of file diff --git a/i18n/ja.i18n.json b/i18n/ja.i18n.json new file mode 100644 index 0000000..3e2f090 --- /dev/null +++ b/i18n/ja.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "受け入れ", + "act-activity-notify": "アクティビティ通知", + "act-addAttachment": "添付ファイル __attachment__ を ボード __board__, スイムレーン __swimlane__, リスト __list__, カード __card__ に追加しました", + "act-deleteAttachment": "添付ファイル __attachment__ を ボード __board__, スイムレーン __swimlane__, リスト __list__, カード __card__ から削除しました", + "act-addSubtask": "サブタスク __subtask__ を ボード __board__, スイムレーン __swimlane__, リスト __list__, カード __card__ に追加しました", + "act-addLabel": "ラベル __label__ を ボード __board__, スイムレーン __swimlane__, リスト __list__, カード __card__ に追加しました", + "act-addedLabel": "ラベル __label__ を ボード __board__, スイムレーン __swimlane__, リスト __list__, カード __card__ に追加しました", + "act-removeLabel": "ラベル __label__ を ボード __board__, スイムレーン __swimlane__, リスト __list__, カード __card__ から削除しました", + "act-removedLabel": "ラベル __label__ を ボード __board__, スイムレーン __swimlane__, リスト __list__, カード __card__ から削除しました", + "act-addChecklist": "チェックリスト __checklist__ を ボード __board__, スイムレーン __swimlane__, リスト __list__, カード __card__ に追加しました", + "act-addChecklistItem": "チェックリスト項目 __checklistItem__ を ボード __board__, スイムレーン __swimlane__, リスト __list__, カード __card__, チェックリスト __checkList__ に追加しました", + "act-removeChecklist": "チェックリスト __checklist__ を ボード __board__, スイムレーン __swimlane__, リスト __list__, カード __card__ から削除しました", + "act-removeChecklistItem": "チェックリスト項目 __checklistItem__ を ボード __board__, スイムレーン __swimlane__, リスト __list__, カード __card__, チェックリスト __checkList__ から削除しました", + "act-checkedItem": "__checklistItem__ がチェックされました / ボード __board__, スイムレーン __swimlane__, リスト __list__, カード __card__, チェックリスト __checklist__", + "act-uncheckedItem": "__checklistItem__ が未チェックになりました / ボード __board__, スイムレーン __swimlane__, リスト __list__, カード __card__, チェックリスト __checklist__", + "act-completeChecklist": "チェックリスト __checklist__ ボード __board__, スイムレーン __swimlane__, リスト __list__, カード __card__ が完了しました", + "act-uncompleteChecklist": "チェックリスト __checklist__ ボード __board__, スイムレーン __swimlane__, リスト __list__, カード __card__ が未完了になりました", + "act-addComment": "カード __card__ にコメントが追加されました: __comment__ / ボード __board__, スイムレーン __swimlane__, リスト __list__", + "act-editComment": "カード __card__ のコメントが編集されました: __comment__ / ボード __board__, スイムレーン __swimlane__, リスト __list__", + "act-deleteComment": "コメント __comment__ を ボード __board__, スイムレーン __swimlane__, リスト __list__, カード __card__ から削除しました", + "act-createBoard": "ボード __board__ を作成しました", + "act-createSwimlane": "スイムレーン __swimlane__ を ボード __board__ に作成しました", + "act-createCard": "カード __card__ をボード __board__, スイムレーン __swimlane__, リスト __list__ に作成しました", + "act-createCustomField": "カスタムフィールド __customField__ を ボード __board__ に作成しました", + "act-deleteCustomField": "カスタムフィールド __customField__ を ボード __board__ から削除しました", + "act-setCustomField": "カスタムフィールド __customField__ が編集されました: __customFieldValue__ / ボード __board__, スイムレーン __swimlane__, リスト __list__, カード __card__", + "act-createList": "リスト __list__ を ボード __board__ に追加しました", + "act-addBoardMember": "メンバー __member__ を ボード __board__ に追加しました", + "act-archivedBoard": "ボード __board__ をアーカイブしました", + "act-archivedCard": "カード __card__ を ボード __board__, スイムレーン __swimlane__, リスト __list__ からアーカイブしました", + "act-archivedList": "リスト __list__ を ボード __board__, スイムレーン __swimlane__ からアーカイブしました", + "act-archivedSwimlane": "スイムレーン __swimlane__ を ボード __board__ からアーカイブしました", + "act-importBoard": "ボード __board__ をインポートしました", + "act-importCard": "カード __card__ が ボード __board__, スイムレーン __swimlane__, リスト __list__ にインポートされました", + "act-importList": "リスト __list__ が ボード __board__, スイムレーン __swimlane__ にインポートされました", + "act-joinMember": "メンバー __member__ を ボード __board__, スイムレーン __swimlane__, リスト __list__, カード __card__ に追加しました", + "act-moveCard": "カード __card__ / ボード __board__ が スイムレーン __oldSwimlane__, リスト __oldList__ から スイムレーン __swimlane__, リスト __list__ に移動されました", + "act-moveCardToOtherBoard": "カード __card__ が ボード __oldBoard__, スイムレーン __oldSwimlane__, リスト __oldList__ から ボード __board__, スイムレーン __swimlane__, リスト __list__ に移動されました", + "act-removeBoardMember": "メンバー __member__ を ボード __board__ から削除しました", + "act-restoredCard": "カード __card__ が ボード __board__, スイムレーン __swimlane__, リスト __list__ に復元されました", + "act-unjoinMember": "メンバー __member__ を ボード __board__, スイムレーン __swimlane__, リスト __list__, カード __card__ から削除しました", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "操作", + "activities": "アクティビティ", + "activity": "アクティビティ", + "activity-added": "%s を %s に追加しました", + "activity-archived": "%sをアーカイブしました", + "activity-attached": "%s を %s に添付しました", + "activity-created": "%s を作成しました", + "activity-customfield-created": "カスタムフィールド %s を作成しました", + "activity-excluded": "%s を %s から除外しました", + "activity-imported": "imported %s into %s from %s", + "activity-imported-board": "imported %s from %s", + "activity-joined": "%s にジョインしました", + "activity-moved": "%s を %s から %s に移動しました", + "activity-on": "%s", + "activity-removed": "%s を %s から削除しました", + "activity-sent": "%s を %s に送りました", + "activity-unjoined": "%s への参加を止めました", + "activity-subtask-added": "%sにサブタスクを追加しました", + "activity-checked-item": "チェックされました %s チェックリスト %s / %s", + "activity-unchecked-item": "チェックが外されました %s チェックリスト %s / %s", + "activity-checklist-added": "%s にチェックリストを追加しました", + "activity-checklist-removed": "チェックリストを %s から削除しました", + "activity-checklist-completed": "チェックリスト%s / %s が完了しました", + "activity-checklist-uncompleted": "チェックリスト %s / %s が未完了になりました", + "activity-checklist-item-added": "チェックリスト項目を '%s' / %s に追加しました", + "activity-checklist-item-removed": "'%s' の チェックリスト %s の項目を削除しました", + "add": "追加", + "activity-checked-item-card": "チェックされました %s チェックリスト %s", + "activity-unchecked-item-card": "チェックが外されました %s チェックリスト %s", + "activity-checklist-completed-card": "チェックリスト __checklist__ ボード __board__, スイムレーン __swimlane__, リスト __list__, カード __card__ が完了しました", + "activity-checklist-uncompleted-card": "チェックリスト %s が未完了になりました", + "activity-editComment": "コメント %s を編集しました", + "activity-deleteComment": "コメント %s を削除しました", + "add-attachment": "添付ファイルを追加", + "add-board": "ボードを追加", + "add-card": "カードを追加", + "add-swimlane": "スイムレーンを追加", + "add-subtask": "サブタスクを追加", + "add-checklist": "チェックリストを追加", + "add-checklist-item": "チェックリストに項目を追加", + "add-cover": "カバーの追加", + "add-label": "ラベルを追加", + "add-list": "リストを追加", + "add-members": "メンバーの追加", + "added": "追加しました", + "addMemberPopup-title": "メンバー", + "admin": "管理", + "admin-desc": "カードの閲覧と編集、メンバーの削除、ボードの設定変更が可能", + "admin-announcement": "アナウンス", + "admin-announcement-active": "システム全体アナウンスを有効化", + "admin-announcement-title": "管理者からのアナウンス", + "all-boards": "全てのボード", + "and-n-other-card": "And __count__ other card", + "and-n-other-card_plural": "And __count__ other cards", + "apply": "適用", + "app-is-offline": "ロード中です、お待ちください。ページを更新するとデータが失われます。ロードが終わらない場合、サーバーが停止していないかどうかを確認してください。", + "archive": "アーカイブする", + "archive-all": "すべてアーカイブする", + "archive-board": "ボードをアーカイブする", + "archive-card": "カードをアーカイブする", + "archive-list": "リストをアーカイブする", + "archive-swimlane": "スイムレーンをアーカイブする", + "archive-selection": "選択をアーカイブする", + "archiveBoardPopup-title": "ボードをアーカイブしますか?", + "archived-items": "アーカイブ", + "archived-boards": "アーカイブ済みボード", + "restore-board": "ボードをリストア", + "no-archived-boards": "アーカイブ済みボードはありません。", + "archives": "アーカイブ", + "template": "テンプレート", + "templates": "テンプレート", + "assign-member": "メンバーの割当", + "attached": "添付されました", + "attachment": "添付ファイル", + "attachment-delete-pop": "添付ファイルの削除をすると取り消しできません。", + "attachmentDeletePopup-title": "添付ファイルを削除しますか?", + "attachments": "添付ファイル", + "auto-watch": "作成されたボードを自動的にウォッチする", + "avatar-too-big": "アバターが大きすぎます(最大70KB)", + "back": "戻る", + "board-change-color": "色の変更", + "board-nb-stars": "%s stars", + "board-not-found": "ボードが見つかりません", + "board-private-info": "ボードは 非公開 になります。", + "board-public-info": "ボードは公開されます。", + "boardChangeColorPopup-title": "ボードの背景を変更", + "boardChangeTitlePopup-title": "ボード名の変更", + "boardChangeVisibilityPopup-title": "公開範囲の変更", + "boardChangeWatchPopup-title": "ウォッチの変更", + "boardMenuPopup-title": "ボード設定", + "boardChangeViewPopup-title": "ボード表示", + "boards": "ボード", + "board-view": "ボード表示", + "board-view-cal": "カレンダー", + "board-view-swimlanes": "スイムレーン", + "board-view-collapse": "折りたたむ", + "board-view-lists": "リスト", + "bucket-example": "例:バケットリスト", + "cancel": "キャンセル", + "card-archived": "このカードをアーカイブしました。", + "board-archived": "このボードをアーカイブしました。", + "card-comments-title": "%s 件のコメントがあります。", + "card-delete-notice": "削除は取り消しできません。このカードに関係するすべてのアクションがなくなります。", + "card-delete-pop": "すべての内容がアクティビティから削除されます。この削除は元に戻すことができません。", + "card-delete-suggest-archive": "カードをアーカイブするとボードから削除され、アクティビティに保持されます。", + "card-due": "期限", + "card-due-on": "期限日", + "card-spent": "作業時間", + "card-edit-attachments": "添付ファイルの編集", + "card-edit-custom-fields": "カスタムフィールドの編集", + "card-edit-labels": "ラベルの編集", + "card-edit-members": "メンバーの編集", + "card-labels-title": "カードのラベルを変更する", + "card-members-title": "カードからボードメンバーを追加・削除する", + "card-start": "開始", + "card-start-on": "開始日", + "cardAttachmentsPopup-title": "添付元", + "cardCustomField-datePopup-title": "日時変更", + "cardCustomFieldsPopup-title": "カスタムフィールドの編集", + "cardStartVotingPopup-title": "投票を開始", + "positiveVoteMembersPopup-title": "支持者", + "negativeVoteMembersPopup-title": "反対者", + "card-edit-voting": "投票を編集", + "editVoteEndDatePopup-title": "投票終了日の変更", + "allowNonBoardMembers": "ログイン中のすべてのユーザーに許可", + "vote-question": "投票の質問事項", + "vote-public": "誰が何に投票したか表示", + "vote-for-it": "賛成", + "vote-against": "反対", + "deleteVotePopup-title": "投票を削除しますか?", + "vote-delete-pop": "投票は取り消しできません。この投票に関係するすべてのアクションがなくなります。", + "cardDeletePopup-title": "カードを削除しますか?", + "cardDetailsActionsPopup-title": "カード操作", + "cardLabelsPopup-title": "ラベル", + "cardMembersPopup-title": "メンバー", + "cardMorePopup-title": "さらに見る", + "cardTemplatePopup-title": "テンプレートの作成", + "cards": "カード", + "cards-count": "カード", + "casSignIn": "CASでサインインする", + "cardType-card": "カード", + "cardType-linkedCard": "リンクされたカード", + "cardType-linkedBoard": "リンクされたボード", + "change": "変更", + "change-avatar": "アバターの変更", + "change-password": "パスワードの変更", + "change-permissions": "権限の変更", + "change-settings": "設定の変更", + "changeAvatarPopup-title": "アバターの変更", + "changeLanguagePopup-title": "言語の変更", + "changePasswordPopup-title": "パスワードの変更", + "changePermissionsPopup-title": "パーミッションの変更", + "changeSettingsPopup-title": "設定の変更", + "subtasks": "サブタスク", + "checklists": "チェックリスト", + "click-to-star": "ボードにスターをつける", + "click-to-unstar": "ボードからスターを外す", + "clipboard": "クリップボードもしくはドラッグ&ドロップ", + "close": "閉じる", + "close-board": "ボードを閉じる", + "close-board-pop": "ホームのヘッダ上にあるアーカイブボタンをクリックするとボードをリストアできます。", + "color-black": "黒", + "color-blue": "青", + "color-crimson": "濃赤", + "color-darkgreen": "濃緑", + "color-gold": "金", + "color-gray": "灰", + "color-green": "緑", + "color-indigo": "藍", + "color-lime": "ライム", + "color-magenta": "マゼンタ", + "color-mistyrose": "ミスティーローズ", + "color-navy": "濃紺", + "color-orange": "オレンジ", + "color-paleturquoise": "ペールターコイズ", + "color-peachpuff": "ピーチパフ", + "color-pink": "ピンク", + "color-plum": "プラム", + "color-purple": "紫", + "color-red": "赤", + "color-saddlebrown": "サドルブラウン", + "color-silver": "銀", + "color-sky": "空", + "color-slateblue": "スレートブルー", + "color-white": "白", + "color-yellow": "黄", + "unset-color": "設定しない", + "comment": "コメント", + "comment-placeholder": "コメントを書く", + "comment-only": "コメントのみ", + "comment-only-desc": "カードにのみコメント可能", + "no-comments": "コメントなし", + "no-comments-desc": "コメントとアクティビティの閲覧不可。", + "worker": "作業者", + "worker-desc": "カードの移動、自分への割り当て、コメントが可能。", + "computer": "コンピューター", + "confirm-subtask-delete-dialog": "本当にサブタスクを削除してもよろしいでしょうか?", + "confirm-checklist-delete-dialog": "本当にチェックリストを削除してもよろしいでしょうか?", + "copy-card-link-to-clipboard": "カードへのリンクをクリップボードにコピー", + "linkCardPopup-title": "カードをリンク", + "searchElementPopup-title": "検索", + "copyCardPopup-title": "カードをコピー", + "copyChecklistToManyCardsPopup-title": "テンプレートから複数カードにコピー", + "copyChecklistToManyCardsPopup-instructions": "作成されるカードのタイトルと説明をJSON形式で指定", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"1つ目のカードタイトル\", \"description\":\"1つ目のカードの説明\"}, {\"title\":\"2つ目のカードタイトル\",\"description\":\"2つ目のカードの説明\"},{\"title\":\"最後のカードタイトル\",\"description\":\"最後のカードの説明\"} ]", + "create": "作成", + "createBoardPopup-title": "ボードの作成", + "chooseBoardSourcePopup-title": "ボードをインポート", + "createLabelPopup-title": "ラベルの作成", + "createCustomField": "フィールドを作成", + "createCustomFieldPopup-title": "フィールドを作成", + "current": "現在", + "custom-field-delete-pop": "この操作は取り消しできません。このカスタムフィールドはすべてのカードから外され履歴からも見えなくなります。", + "custom-field-checkbox": "チェックボックス", + "custom-field-currency": "通貨", + "custom-field-currency-option": "通貨コード", + "custom-field-date": "日付", + "custom-field-dropdown": "ドロップダウンリスト", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "リストの選択肢", + "custom-field-dropdown-options-placeholder": "Enterキーを押して選択肢を追加します", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "数値", + "custom-field-text": "テキスト", + "custom-fields": "カスタムフィールド", + "date": "日付", + "decline": "拒否", + "default-avatar": "デフォルトのアバター", + "delete": "削除", + "deleteCustomFieldPopup-title": "カスタムフィールドを削除しますか?", + "deleteLabelPopup-title": "ラベルを削除しますか?", + "description": "詳細", + "disambiguateMultiLabelPopup-title": "不正なラベル操作", + "disambiguateMultiMemberPopup-title": "不正なメンバー操作", + "discard": "捨てる", + "done": "完了", + "download": "ダウンロード", + "edit": "編集", + "edit-avatar": "アバターの変更", + "edit-profile": "プロフィールの編集", + "edit-wip-limit": "仕掛中制限編集", + "soft-wip-limit": "警告のみの仕掛中制限", + "editCardStartDatePopup-title": "開始日の変更", + "editCardDueDatePopup-title": "期限の変更", + "editCustomFieldPopup-title": "フィールドを編集", + "editCardSpentTimePopup-title": "作業時間の変更", + "editLabelPopup-title": "ラベルの変更", + "editNotificationPopup-title": "通知の変更", + "editProfilePopup-title": "プロフィールの編集", + "email": "メールアドレス", + "email-enrollAccount-subject": "__siteName__であなたのアカウントが作成されました", + "email-enrollAccount-text": "こんにちは、__user__さん。\n\nサービスを開始するには、以下をクリックしてください。\n\n__url__\n\nよろしくお願いします。", + "email-fail": "メールの送信に失敗しました", + "email-fail-text": "メールの送信中にエラーが発生しました", + "email-invalid": "無効なメールアドレス", + "email-invite": "メールで招待", + "email-invite-subject": "__inviter__があなたを招待しています", + "email-invite-text": "__user__さんへ。\n\n__inviter__さんがあなたをボード\"__board__\"へ招待しています。\n\n以下のリンクをクリックしてください。\n\n__url__\n\nよろしくお願いします。", + "email-resetPassword-subject": "あなたの __siteName__ のパスワードをリセットする", + "email-resetPassword-text": "こんにちは、__user__さん。\n\nパスワードをリセットするには、以下のリンクをクリックしてください。\n\n__url__\n\nよろしくお願いします。", + "email-sent": "メールを送信しました", + "email-verifyEmail-subject": "あなたの __siteName__ のメールアドレスを確認する", + "email-verifyEmail-text": "こんにちは、__user__さん。\n\nメールアドレスを認証するために、以下のリンクをクリックしてください。\n\n__url__\n\nよろしくお願いします。", + "enable-wip-limit": "仕掛中制限を有効化", + "error-board-doesNotExist": "ボードがありません", + "error-board-notAdmin": "操作にはボードの管理者権限が必要です", + "error-board-notAMember": "操作にはボードメンバーである必要があります", + "error-json-malformed": "このテキストは、有効なJSON形式ではありません", + "error-json-schema": "JSONデータが不正な値を含んでいます", + "error-csv-schema": "CSV(カンマ区切り)/TSV(タブ区切り)の書式が不正です", + "error-list-doesNotExist": "このリストは存在しません", + "error-user-doesNotExist": "ユーザーが存在しません", + "error-user-notAllowSelf": "自分を招待することはできません。", + "error-user-notCreated": "ユーザーが作成されていません", + "error-username-taken": "このユーザ名は既に使用されています", + "error-email-taken": "メールは既に受け取られています", + "export-board": "ボードのエクスポート", + "export-board-json": "ボードをJSONにエクスポート", + "export-board-csv": "ボードをCSVにエクスポート", + "export-board-tsv": "ボードをTSVにエクスポート", + "export-board-html": "ボードをHTMLにエクスポート", + "exportBoardPopup-title": "ボードのエクスポート", + "sort": "並べ替え", + "sort-desc": "クリックでリストをソート", + "list-sort-by": "次によりリストを並べ替え:", + "list-label-modifiedAt": "最終アクセス日時", + "list-label-title": "リストの名前", + "list-label-sort": "手動による並べ替え", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "フィルター", + "filter-cards": "カードまたはリストをフィルタ", + "list-filter-label": "タイトルでリストをフィルタ", + "filter-clear": "フィルターの解除", + "filter-no-label": "ラベルなし", + "filter-no-member": "メンバーなし", + "filter-no-assignee": "担当者なし", + "filter-no-custom-fields": "カスタムフィールドなし", + "filter-show-archive": "アーカイブされたリストを表示", + "filter-hide-empty": "空のリストを隠す", + "filter-on": "フィルター有効", + "filter-on-desc": "このボードのカードをフィルターしています。フィルターを編集するにはこちらをクリックしてください。", + "filter-to-selection": "フィルターした項目を全選択", + "advanced-filter-label": "高度なフィルター", + "advanced-filter-description": "高度なフィルタでは次のような演算子を使用できます:== != <= >= && || ( )\n半角スペースは演算子の区切り文字として使用します。\n\nフィールド名や値を使用したフィルタが可能です。\n例:Field1 == Value1\n\n注意:フィールド名や値にスペースが含まれる場合、それらをシングルクォーテーションで囲む必要があります。\n例:'Field 1' == 'Value 1'\n\n単体の制御文字 (' \\/) は無視されますので、\\を使用することができます。\n例:Field1 == I\\'m\n\n複数の条件を組み合わせることもできます。\n例:F1 == V1 || F1 == V2\n\n基本的にすべての演算子は左から右に評価されます。\n丸カッコを使用することで順序を変更できます。\n例:F1 == V1 && ( F2 == V2 || F2 == V3 )\n\nテキストフィールドでは正規表現を使用した検索もできます。\n例:F1 == /Tes.*/i", + "fullname": "フルネーム", + "header-logo-title": "自分のボードページに戻る。", + "hide-system-messages": "システムメッセージを隠す", + "headerBarCreateBoardPopup-title": "ボードの作成", + "home": "ホーム", + "import": "インポート", + "link": "リンク", + "import-board": "ボードをインポート", + "import-board-c": "ボードをインポート", + "import-board-title-trello": "Trelloからボードをインポート", + "import-board-title-wekan": "以前のエクスポートからボードをインポート", + "import-board-title-csv": "ボードをCSV/TSVからインポート", + "from-trello": "Trelloから", + "from-wekan": "以前のエクスポートから", + "from-csv": "CSV/TSV から", + "import-board-instruction-trello": "Trelloボードの、 'Menu' → 'More' → 'Print and Export' → 'Export JSON'を選択し、テキストをコピーしてください。", + "import-board-instruction-csv": "カンマ区切り(CSV) / タブ区切り(TSV) ファイルに貼り付けてください。", + "import-board-instruction-wekan": "ボードの、 'メニュー' → 'ボードのエクスポート'を選択し、ダウンロードされたファイルの中のテキストをコピーしてください。", + "import-board-instruction-about-errors": "ボードのインポート中にエラーが発生した場合、インポートがまだ進行中のまま、全てのボードページに表示されている場合があります。", + "import-json-placeholder": "JSONデータをここに貼り付けする", + "import-csv-placeholder": "CSV/TSVデータをここに貼り付けする", + "import-map-members": "メンバーを紐付け", + "import-members-map": "インポートしたボードにはいくつかのメンバーが含まれています。インポートしたいメンバーをユーザーにマッピングしてください", + "import-show-user-mapping": "メンバー紐付けの確認", + "import-user-select": "このメンバーとして使用したいユーザーを選択してください", + "importMapMembersAddPopup-title": "メンバーを選択", + "info": "バージョン", + "initials": "イニシャル", + "invalid-date": "無効な日付", + "invalid-time": "無効な時間", + "invalid-user": "無効なユーザ", + "joined": "参加しました", + "just-invited": "このボードのメンバーに招待されています", + "keyboard-shortcuts": "キーボード・ショートカット", + "label-create": "ラベルの作成", + "label-default": "%s ラベル(デフォルト)", + "label-delete-pop": "この操作は取り消しできません。このラベルはすべてのカードから外され履歴からも見えなくなります。", + "labels": "ラベル", + "language": "言語", + "last-admin-desc": "最低でも1人以上の管理者が必要なためロールを変更できません。", + "leave-board": "ボードから退出する", + "leave-board-pop": "本当に __boardTitle__ から退出しますか?このボードのすべてのカードからあなたは削除されます。", + "leaveBoardPopup-title": "ボードから退出しますか?", + "link-card": "このカードへのリンク", + "list-archive-cards": "リスト内の全カードをアーカイブする", + "list-archive-cards-pop": "このボード上のリストから削除されたカードは メニュー > アーカイブ をクリックすると見ることができ、元のボードに戻すことができます。", + "list-move-cards": "リストの全カードを移動する", + "list-select-cards": "リストの全カードを選択", + "set-color-list": "色を選択", + "listActionPopup-title": "操作一覧", + "swimlaneActionPopup-title": "スイムレーン操作", + "swimlaneAddPopup-title": "直下にスイムレーンを追加", + "listImportCardPopup-title": "Trelloのカードをインポート", + "listImportCardsTsvPopup-title": "Excel CSV/TSVからインポート", + "listMorePopup-title": "さらに見る", + "link-list": "このリストへのリンク", + "list-delete-pop": "すべての内容がアクティビティから削除されます。この削除は元に戻すことができません。", + "list-delete-suggest-archive": "リストをアーカイブするとボードから削除され、アクティビティに保持されます。", + "lists": "リスト", + "swimlanes": "スイムレーン", + "log-out": "ログアウト", + "log-in": "ログイン", + "loginPopup-title": "ログイン", + "memberMenuPopup-title": "メンバー設定", + "members": "メンバー", + "menu": "メニュー", + "move-selection": "選択したものを移動", + "moveCardPopup-title": "カードの移動", + "moveCardToBottom-title": "最下部に移動", + "moveCardToTop-title": "先頭に移動", + "moveSelectionPopup-title": "選択箇所に移動", + "multi-selection": "複数選択", + "multi-selection-on": "複数選択有効", + "muted": "ミュート", + "muted-info": "このボードの変更は通知されません", + "my-boards": "自分のボード", + "name": "名前", + "no-archived-cards": "アーカイブ済みカードはありません。", + "no-archived-lists": "アーカイブ済みリストはありません。", + "no-archived-swimlanes": "アーカイブ済みスイムレーンはありません。", + "no-results": "該当するものはありません", + "normal": "通常", + "normal-desc": "カードの閲覧と編集が可能。設定変更不可。", + "not-accepted-yet": "招待はアクセプトされていません", + "notify-participate": "作成した、またはメンバーとなったカードの更新情報を受け取る", + "notify-watch": "ウォッチしているすべてのボード、リスト、カードの更新情報を受け取る", + "optional": "任意", + "or": "or", + "page-maybe-private": "このページはプライベートです。ログインして見てください。", + "page-not-found": "ページが見つかりません。", + "password": "パスワード", + "paste-or-dragdrop": "貼り付けか、ドラッグアンドロップで画像を添付 (画像のみ)", + "participating": "参加", + "preview": "プレビュー", + "previewAttachedImagePopup-title": "プレビュー", + "previewClipboardImagePopup-title": "プレビュー", + "private": "プライベート", + "private-desc": "このボードはプライベートです。ボードメンバーのみが閲覧・編集可能です。", + "profile": "プロフィール", + "public": "公開", + "public-desc": "このボードはパブリックです。リンクを知っていれば誰でもアクセス可能でGoogleのような検索エンジンの結果に表示されます。このボードに追加されている人だけがカード追加が可能です。", + "quick-access-description": "ボードにスターをつけると、ここににショートカットができます。", + "remove-cover": "カバーの削除", + "remove-from-board": "ボードから外す", + "remove-label": "ラベルの削除", + "listDeletePopup-title": "リストを削除しますか?", + "remove-member": "メンバーを外す", + "remove-member-from-card": "カードから外す", + "remove-member-pop": "__boardTitle__ から __name__ (__username__) を外しますか?メンバーはこのボードのすべてのカードから外れ、通知を受けます。", + "removeMemberPopup-title": "メンバーを外しますか?", + "rename": "名前変更", + "rename-board": "ボード名の変更", + "restore": "リストア", + "save": "保存", + "search": "検索", + "rules": "ルール", + "search-cards": "このボード上のカード/リストタイトル、詳細、カスタムフィールドから検索", + "search-example": "検索文字", + "select-color": "色を選択", + "set-wip-limit-value": "このリスト中のタスクの最大数を設定", + "setWipLimitPopup-title": "仕掛中制限設定", + "shortcut-assign-self": "自分をこのカードに割り当てる", + "shortcut-autocomplete-emoji": "絵文字の補完", + "shortcut-autocomplete-members": "メンバーの補完", + "shortcut-clear-filters": "すべてのフィルターを解除する", + "shortcut-close-dialog": "ダイアログを閉じる", + "shortcut-filter-my-cards": "カードをフィルター", + "shortcut-show-shortcuts": "このショートカットリストを表示する", + "shortcut-toggle-filterbar": "フィルターサイドバーの切り替え", + "shortcut-toggle-sidebar": "ボードサイドバーの切り替え", + "show-cards-minimum-count": "以下より多い場合、リストにカード数を表示", + "sidebar-open": "サイドバーを開く", + "sidebar-close": "サイドバーを閉じる", + "signupPopup-title": "アカウント作成", + "star-board-title": "ボードにスターをつけると自分のボード一覧のトップに表示されます。", + "starred-boards": "スターのついたボード", + "starred-boards-description": "スターのついたボードはボードリストの先頭に表示されます。", + "subscribe": "購読", + "team": "チーム", + "this-board": "このボード", + "this-card": "このカード", + "spent-time-hours": "作業時間(時)", + "overtime-hours": "超過時間(時)", + "overtime": "超過時間", + "has-overtime-cards": "超過時間ありのカード", + "has-spenttime-cards": "作業時間ありのカード", + "time": "時間", + "title": "タイトル", + "tracking": "トラッキング", + "tracking-info": "これらのカードへの変更が通知されるようになります。", + "type": "タイプ", + "unassign-member": "未登録のメンバー", + "unsaved-description": "未保存の変更があります。", + "unwatch": "アンウォッチ", + "upload": "アップロード", + "upload-avatar": "アバターのアップロード", + "uploaded-avatar": "アップロードされたアバター", + "username": "ユーザー名", + "view-it": "見る", + "warn-list-archived": "警告:このカードはアーカイブされたリスト内にあります", + "watch": "ウォッチ", + "watching": "ウォッチしています", + "watching-info": "このボードの変更が通知されます", + "welcome-board": "ウェルカムボード", + "welcome-swimlane": "マイルストーン 1", + "welcome-list1": "基本", + "welcome-list2": "高度", + "card-templates-swimlane": "カードのテンプレート", + "list-templates-swimlane": "リストのテンプレート", + "board-templates-swimlane": "ボードのテンプレート", + "what-to-do": "何をしたいですか?", + "wipLimitErrorPopup-title": "無効な仕掛中制限", + "wipLimitErrorPopup-dialog-pt1": "入力した仕掛中制限よりこのリスト中のタスクの数が大きいです。", + "wipLimitErrorPopup-dialog-pt2": "いくつかのタスクをこのリストから移動するか、仕掛中制限の最大値を変更してください。", + "admin-panel": "管理パネル", + "settings": "設定", + "people": "メンバー", + "registration": "登録", + "disable-self-registration": "自己登録を無効化", + "invite": "招待", + "invite-people": "メンバーを招待", + "to-boards": "ボードへ移動", + "email-addresses": "Emailアドレス", + "smtp-host-description": "Emailを処理するSMTPサーバーのアドレス", + "smtp-port-description": "SMTPサーバーがEmail送信に使用するポート", + "smtp-tls-description": "SMTPサーバのTLSサポートを有効化", + "smtp-host": "SMTPホスト", + "smtp-port": "SMTPポート", + "smtp-username": "ユーザー名", + "smtp-password": "パスワード", + "smtp-tls": "TLSサポート", + "send-from": "送信元", + "send-smtp-test": "テストメールを自分に送信", + "invitation-code": "招待コード", + "email-invite-register-subject": "__inviter__さんがあなたを招待しています", + "email-invite-register-text": "__user__ 様\n\n__inviter__ によりカンバンへ招待されています。\n\n以下のリンクへ移動し、招待コード __icode__ を入力してください。\n__url__", + "email-smtp-test-subject": "SMTP経由でテストメールを送信", + "email-smtp-test-text": "メールを送信しました", + "error-invitation-code-not-exist": "招待コードが存在しません", + "error-notAuthorized": "このページを参照する権限がありません。", + "webhook-title": "Webフック名", + "webhook-token": "トークン(認証用オプション)", + "outgoing-webhooks": "発信Webフック", + "bidirectional-webhooks": "双方向Webフック", + "outgoingWebhooksPopup-title": "発信Webフック", + "boardCardTitlePopup-title": "カード名フィルタ", + "disable-webhook": "このWebフックを無効化", + "global-webhook": "グローバルWebフック", + "new-outgoing-webhook": "発信Webフックの作成", + "no-name": "(名前なし)", + "Node_version": "Nodeバージョン", + "Meteor_version": "Meteor バージョン", + "MongoDB_version": "MongoDB バージョン", + "MongoDB_storage_engine": "MongoDB ストレージエンジン", + "MongoDB_Oplog_enabled": "MongoDB Oplog 有効状態", + "OS_Arch": "OSアーキテクチャ", + "OS_Cpus": "OS CPU数", + "OS_Freemem": "OSフリーメモリ", + "OS_Loadavg": "OSロードアベレージ", + "OS_Platform": "OSプラットフォーム", + "OS_Release": "OSリリース", + "OS_Totalmem": "OSトータルメモリ", + "OS_Type": "OS種類", + "OS_Uptime": "OSアップタイム", + "days": "日", + "hours": "時間", + "minutes": "分", + "seconds": "秒", + "show-field-on-card": "このフィールドをカードに表示", + "automatically-field-on-card": "全カードにフィールドを自動作成", + "showLabel-field-on-card": "ミニカード上のフィールドラベル表示", + "yes": "はい", + "no": "いいえ", + "accounts": "アカウント", + "accounts-allowEmailChange": "メールアドレスの変更を許可", + "accounts-allowUserNameChange": "ユーザー名の変更を許可", + "createdAt": "作成日時", + "verified": "認証状況", + "active": "有効状態", + "card-received": "受付", + "card-received-on": "受付日", + "card-end": "終了", + "card-end-on": "終了日", + "editCardReceivedDatePopup-title": "受付日の変更", + "editCardEndDatePopup-title": "終了日の変更", + "setCardColorPopup-title": "色を選択", + "setCardActionsColorPopup-title": "色を選択", + "setSwimlaneColorPopup-title": "色を選択", + "setListColorPopup-title": "色を選択", + "assigned-by": "任命者", + "requested-by": "依頼者", + "board-delete-notice": "永久に削除されます。このボードに関連するリスト、カード、アクションはすべて失われます。", + "delete-board-confirm-popup": "すべてのリスト、カード、ラベル、アクティビティは削除され、ボードの内容を元に戻すことができません。", + "boardDeletePopup-title": "ボードを削除しますか?", + "delete-board": "ボードを削除", + "default-subtasks-board": "__board__ ボードのサブタスク", + "default": "デフォルト", + "queue": "キュー", + "subtask-settings": "サブタスク設定", + "card-settings": "カード設定", + "boardSubtaskSettingsPopup-title": "ボードのサブタスク設定", + "boardCardSettingsPopup-title": "カード設定", + "deposit-subtasks-board": "サブタスクの作成先ボード:", + "deposit-subtasks-list": "サブタスクの作成先リスト:", + "show-parent-in-minicard": "ミニカード上の親表示", + "prefix-with-full-path": "タイトルの前に親をフル表示", + "prefix-with-parent": "タイトルの前に親を表示", + "subtext-with-full-path": "タイトルの後ろに親をフル表示", + "subtext-with-parent": "タイトルの後ろに親を表示", + "change-card-parent": "親カードを変更", + "parent-card": "親カード", + "source-board": "元ボード", + "no-parent": "親を表示しない", + "activity-added-label": "ラベル '%s' を %s に追加しました", + "activity-removed-label": "ラベル '%s' を %s から削除しました", + "activity-delete-attach": "添付ファイルを %s から削除しました", + "activity-added-label-card": "ラベル '%s' を追加しました", + "activity-removed-label-card": "ラベル '%s' を削除しました", + "activity-delete-attach-card": "添付ファイルを削除しました", + "activity-set-customfield": "カスタムフィールド '%s' を %s / %s に設定", + "activity-unset-customfield": "カスタムフィールド '%s' を %s から削除", + "r-rule": "ルール", + "r-add-trigger": "トリガーの追加", + "r-add-action": "アクションの追加", + "r-board-rules": "ボードのルール", + "r-add-rule": "ルールを追加", + "r-view-rule": "ルールを表示", + "r-delete-rule": "ルールを削除", + "r-new-rule-name": "新しいルールのタイトル", + "r-no-rules": "ルールなし", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "カード:", + "r-is": "が", + "r-is-moved": "が移動された時", + "r-added-to": "次に追加された時", + "r-removed-from": "次から削除された時", + "r-the-board": "ボード:", + "r-list": "リスト:", + "set-filter": "フィルタを設定", + "r-moved-to": "次に移動した時", + "r-moved-from": "次から移動された時", + "r-archived": "アーカイブされた時", + "r-unarchived": "アーカイブから復元された時", + "r-a-card": "カード", + "r-when-a-label-is": "ラベルが", + "r-when-the-label": "ラベル:", + "r-list-name": "リスト名", + "r-when-a-member": "メンバーが", + "r-when-the-member": "メンバー:", + "r-name": "名前", + "r-when-a-attach": "添付ファイルが", + "r-when-a-checklist": "チェックリストが", + "r-when-the-checklist": "チェックリスト:", + "r-completed": "完了した時", + "r-made-incomplete": "未完了になった時", + "r-when-a-item": "チェックリスト項目が", + "r-when-the-item": "チェックリスト項目:", + "r-checked": "チェックされた時", + "r-unchecked": "チェックが外された時", + "r-move-card-to": "カードを次に移動", + "r-top-of": "先頭", + "r-bottom-of": "最下部", + "r-its-list": "所属リスト内の", + "r-archive": "アーカイブする", + "r-unarchive": "アーカイブから復元する", + "r-card": "カードを", + "r-add": "追加", + "r-remove": "削除", + "r-label": "ラベル", + "r-member": "メンバー", + "r-remove-all": "カードのすべてのメンバーを削除", + "r-set-color": "色を設定", + "r-checklist": "チェックリスト", + "r-check-all": "すべてチェック", + "r-uncheck-all": "すべてチェックを外す", + "r-items-check": "チェックリストの項目", + "r-check": "チェック", + "r-uncheck": "チェックを外す", + "r-item": "項目", + "r-of-checklist": "チェックリスト", + "r-send-email": "メールを送る", + "r-to": "宛先", + "r-of": "/", + "r-subject": "件名", + "r-rule-details": "ルール詳細", + "r-d-move-to-top-gen": "カードを自身のリストの先頭に移動", + "r-d-move-to-top-spec": "カードをリストの先頭に移動", + "r-d-move-to-bottom-gen": "カードを自身のリストの最下部に移動", + "r-d-move-to-bottom-spec": "カードをリストの最下部に移動", + "r-d-send-email": "メールを送信", + "r-d-send-email-to": "宛先", + "r-d-send-email-subject": "件名", + "r-d-send-email-message": "メッセージ本文", + "r-d-archive": "カードをアーカイブする", + "r-d-unarchive": "アーカイブからカードを復元する", + "r-d-add-label": "ラベルを追加", + "r-d-remove-label": "ラベルを削除", + "r-create-card": "カードを新規作成", + "r-in-list": "リスト:", + "r-in-swimlane": "スイムレーン:", + "r-d-add-member": "メンバーを追加", + "r-d-remove-member": "メンバーを削除", + "r-d-remove-all-member": "すべてのメンバーを削除", + "r-d-check-all": "リストのアイテムすべてをチェックする", + "r-d-uncheck-all": "リストのアイテムのすべてのチェックを外す", + "r-d-check-one": "アイテムをチェックする", + "r-d-uncheck-one": "アイテムのチェックを外す", + "r-d-check-of-list": "チェックリスト", + "r-d-add-checklist": "チェックリストを追加", + "r-d-remove-checklist": "チェックリストを削除", + "r-by": "ユーザー:", + "r-add-checklist": "チェックリストを追加", + "r-with-items": "チェックリスト項目", + "r-items-list": "アイテム1、アイテム2、アイテム3", + "r-add-swimlane": "スイムレーンを追加", + "r-swimlane-name": "スイムレーン名", + "r-board-note": "注意:フィールドを空にすると全ての値に一致します", + "r-checklist-note": "注意:チェックリスト項目はカンマ区切りで記述する必要があります。", + "r-when-a-card-is-moved": "カードが別のリストに移動したとき", + "r-set": "設定する", + "r-update": "更新する", + "r-datefield": "日時項目", + "r-df-start-at": "開始", + "r-df-due-at": "期限", + "r-df-end-at": "終了", + "r-df-received-at": "受付", + "r-to-current-datetime": "現在日時に", + "r-remove-value-from": "次の値を削除:", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "認証方式", + "authentication-type": "認証タイプ", + "custom-product-name": "カスタム製品名", + "layout": "レイアウト", + "hide-logo": "ロゴを隠す", + "add-custom-html-after-body-start": " の開始直後にカスタムHTMLを追加する", + "add-custom-html-before-body-end": " の終了直前にカスタムHTMLを追加する", + "error-undefined": "何らかの問題が発生しています", + "error-ldap-login": "ログイン中にエラーが発生しました", + "display-authentication-method": "認証方式を表示", + "default-authentication-method": "デフォルトの認証方式", + "duplicate-board": "ボードの複製", + "people-number": "メンバー数:", + "swimlaneDeletePopup-title": "スイムレーンを削除しますか?", + "swimlane-delete-pop": "すべての内容がアクティビティから削除されます。この削除は元に戻すことができません。", + "restore-all": "全てをリストアする", + "delete-all": "全てを削除する", + "loading": "ローディング中です、しばらくお待ちください。", + "previous_as": "最終日時", + "act-a-dueAt": "期限の時刻が変更されました\n変更後:__timeValue__\n場所:__card__\n変更前の期限の時刻は __timeOldValue__ でした", + "act-a-endAt": "終了を (__timeOldValue__)から __timeValue__ に変更しました", + "act-a-startAt": "開始を (__timeOldValue__)から __timeValue__ に変更しました", + "act-a-receivedAt": "期限を (__timeOldValue__)から __timeValue__ に変更しました", + "a-dueAt": "期限を変更しました", + "a-endAt": "終了を変更しました", + "a-startAt": "開始を変更しました", + "a-receivedAt": "受付を変更しました", + "almostdue": "期限 %s が近づいています", + "pastdue": "期限 %s が過ぎています", + "duenow": "期限 %s は本日です", + "act-newDue": "__list __ / __ card__に1回目の有効期限アラートがあります [__board__]", + "act-withDue": "__list __ / __ card__ の有効期限のアラート [__board__]", + "act-almostdue": "__card__ の期限日時 (__timeValue__) が近づいています", + "act-pastdue": "__card__ の期限日時 (__timeValue__) が過ぎています", + "act-duenow": "__card__ の期限日時 (__timeValue__) になりました", + "act-atUserComment": "あなたが [__board__] __list__/__card__ に追記しました", + "delete-user-confirm-popup": "本当にこのアカウントを削除しますか?この操作は取り消しできません。", + "accounts-allowUserDelete": "ユーザー自身のアカウント削除を許可", + "hide-minicard-label-text": "ミニカードのラベル名を隠す", + "show-desktop-drag-handles": "デスクトップへのドラッグハンドルを表示", + "assignee": "担当者", + "cardAssigneesPopup-title": "担当者", + "addmore-detail": "詳細説明の追加", + "show-on-card": "カードに表示する項目", + "new": "新規作成", + "editUserPopup-title": "ユーザーを編集", + "newUserPopup-title": "新規ユーザー", + "notifications": "通知", + "view-all": "全てを表示", + "filter-by-unread": "未読でフィルタ", + "mark-all-as-read": "全て既読にする", + "remove-all-read": "全ての既読を削除", + "allow-rename": "リネームを許可する", + "allowRenamePopup-title": "リネームを許可する", + "start-day-of-week": "週の始まりを設定", + "monday": "月曜", + "tuesday": "火曜", + "wednesday": "水曜", + "thursday": "木曜", + "friday": "金曜", + "saturday": "土曜", + "sunday": "日曜", + "status": "ステータス", + "swimlane": "スイムレーン", + "owner": "オーナー", + "last-modified-at": "最終更新", + "last-activity": "最終アクティビティ", + "voting": "投票", + "archived": "アーカイブ", + "delete-linked-card-before-this-card": "カード内にある、リンクされているカードを削除しなければ、このカードは削除できません", + "delete-linked-cards-before-this-list": "リスト内にある、他のカードを参照しているカードを削除しなければ、このリストは削除できません", + "hide-checked-items": "チェックした項目を隠す" +} \ No newline at end of file diff --git a/i18n/ka.i18n.json b/i18n/ka.i18n.json new file mode 100644 index 0000000..2eaf617 --- /dev/null +++ b/i18n/ka.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "დათანხმება", + "act-activity-notify": "Activity Notification", + "act-addAttachment": "added attachment __attachment__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteAttachment": "deleted attachment __attachment__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addSubtask": "added subtask __subtask__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addedLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removedLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklist": "added checklist __checklist__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklistItem": "added checklist item __checklistItem__ to checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklist": "removed checklist __checklist__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklistItem": "removed checklist item __checklistItem__ from checklist __checkList__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-checkedItem": "checked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncheckedItem": "unchecked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-completeChecklist": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncompleteChecklist": "uncompleted checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addComment": "commented on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-editComment": "edited comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteComment": "deleted comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createBoard": "created board __board__", + "act-createSwimlane": "created swimlane __swimlane__ to board __board__", + "act-createCard": "created card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-createCustomField": "created custom field __customField__ at board __board__", + "act-deleteCustomField": "deleted custom field __customField__ at board __board__", + "act-setCustomField": "edited custom field __customField__: __customFieldValue__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createList": "added list __list__ to board __board__", + "act-addBoardMember": "added member __member__ to board __board__", + "act-archivedBoard": "Board __board__ moved to Archive", + "act-archivedCard": "Card __card__ at list __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedList": "List __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedSwimlane": "Swimlane __swimlane__ at board __board__ moved to Archive", + "act-importBoard": "imported board __board__", + "act-importCard": "imported card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-importList": "imported list __list__ to swimlane __swimlane__ at board __board__", + "act-joinMember": "added member __member__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-moveCard": "moved card __card__ at board __board__ from list __oldList__ at swimlane __oldSwimlane__ to list __list__ at swimlane __swimlane__", + "act-moveCardToOtherBoard": "moved card __card__ from list __oldList__ at swimlane __oldSwimlane__ at board __oldBoard__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-removeBoardMember": "removed member __member__ from board __board__", + "act-restoredCard": "restored card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-unjoinMember": "removed member __member__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__დაფა__] __ბარათი__", + "actions": "მოქმედებები", + "activities": "აქტივეობები", + "activity": "აქტივობები", + "activity-added": "დამატებულია %s ზე %s", + "activity-archived": "%s moved to Archive", + "activity-attached": "მიბმულია %s %s-დან", + "activity-created": "შექმნილია %s", + "activity-customfield-created": "created custom field %s", + "activity-excluded": "excluded %s from %s", + "activity-imported": "imported %s into %s from %s", + "activity-imported-board": "იმპორტირებულია%s %s-დან", + "activity-joined": "შეუერთდა %s", + "activity-moved": "moved %s from %s to %s", + "activity-on": " %s-ზე", + "activity-removed": "წაიშალა %s %s-დან", + "activity-sent": "გაიგზავნა %s %s-ში", + "activity-unjoined": "არ შემოუერთდა %s", + "activity-subtask-added": "დაამატა ქვესაქმიანობა %s", + "activity-checked-item": "checked %s in checklist %s of %s", + "activity-unchecked-item": "unchecked %s in checklist %s of %s", + "activity-checklist-added": "დაემატა ჩამონათვალი %s-ს", + "activity-checklist-removed": "removed a checklist from %s", + "activity-checklist-completed": "completed checklist %s of %s", + "activity-checklist-uncompleted": "uncompleted the checklist %s of %s", + "activity-checklist-item-added": "დამატებულია ჩამონათვალის ელემენტები '%s' %s-ში", + "activity-checklist-item-removed": "removed a checklist item from '%s' in %s", + "add": "დამატება", + "activity-checked-item-card": "checked %s in checklist %s", + "activity-unchecked-item-card": "unchecked %s in checklist %s", + "activity-checklist-completed-card": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "activity-checklist-uncompleted-card": "uncompleted the checklist %s", + "activity-editComment": "edited comment %s", + "activity-deleteComment": "deleted comment %s", + "add-attachment": "მიბმული ფაილის დამატება", + "add-board": "დაფის დამატება", + "add-card": "ბარათის დამატება", + "add-swimlane": "ბილიკის დამატება", + "add-subtask": "ქვესაქმიანობის დამატება", + "add-checklist": "კატალოგის დამატება", + "add-checklist-item": "დაამატეთ საგანი ჩამონათვალს", + "add-cover": "გარეკანის დამატება", + "add-label": "ნიშნის დამატება", + "add-list": "ჩამონათვალის დამატება", + "add-members": "წევრების დამატება", + "added": "-მა დაამატა", + "addMemberPopup-title": "წევრები", + "admin": "ადმინი", + "admin-desc": "შეუძლია ნახოს და შეასწოროს ბარათები, წაშალოს წევრები და შეცვალოს დაფის პარამეტრები. ", + "admin-announcement": "განცხადება", + "admin-announcement-active": "აქტიური სისტემა-ფართო განცხადება", + "admin-announcement-title": "შეტყობინება ადმინისტრატორისთვის", + "all-boards": "ყველა დაფა", + "and-n-other-card": "და __count__ სხვა ბარათი", + "and-n-other-card_plural": "და __count__ სხვა ბარათები", + "apply": "გამოყენება", + "app-is-offline": "Loading, please wait. Refreshing the page will cause data loss. If loading does not work, please check that server has not stopped.", + "archive": "Move to Archive", + "archive-all": "Move All to Archive", + "archive-board": "Move Board to Archive", + "archive-card": "Move Card to Archive", + "archive-list": "Move List to Archive", + "archive-swimlane": "Move Swimlane to Archive", + "archive-selection": "Move selection to Archive", + "archiveBoardPopup-title": "Move Board to Archive?", + "archived-items": "Archive", + "archived-boards": "Boards in Archive", + "restore-board": "ბარათის აღდგენა", + "no-archived-boards": "No Boards in Archive.", + "archives": "Archive", + "template": "Template", + "templates": "Templates", + "assign-member": "უფლებამოსილი წევრი", + "attached": "მიბმული", + "attachment": "მიბმული ფიალი", + "attachment-delete-pop": "მიბმული ფაილის წაშლა მუდმივია. შეუძლებელია მისი უკან დაბრუნება. ", + "attachmentDeletePopup-title": "გსურთ მიბმული ფაილის წაშლა? ", + "attachments": "მიბმული ფაილები", + "auto-watch": "დაფის ავტომატური ნახვა მას შემდეგ რაც ის შეიქმნება", + "avatar-too-big": "დიდი მოცულობის სურათი (მაქსიმუმ 70KB)", + "back": "უკან", + "board-change-color": "ფერის შეცვლა", + "board-nb-stars": "%s ვარსკვლავი", + "board-not-found": "დაფა არ მოიძებნა", + "board-private-info": "ეს დაფა იქნება პირადი.", + "board-public-info": "ეს დაფა იქნება საჯარო.", + "boardChangeColorPopup-title": "დაფის ფონის ცვლილება", + "boardChangeTitlePopup-title": "დაფის სახელის ცვლილება", + "boardChangeVisibilityPopup-title": "ხილვადობის შეცვლა", + "boardChangeWatchPopup-title": "საათის შეცვლა", + "boardMenuPopup-title": "Board Settings", + "boardChangeViewPopup-title": "დაფის ნახვა", + "boards": "დაფები", + "board-view": "დაფის ნახვა", + "board-view-cal": "კალენდარი", + "board-view-swimlanes": "ბილიკები", + "board-view-collapse": "Collapse", + "board-view-lists": "ჩამონათვალი", + "bucket-example": "მაგალითად “Bucket List” ", + "cancel": "გაუქმება", + "card-archived": "This card is moved to Archive.", + "board-archived": "This board is moved to Archive.", + "card-comments-title": "ამ ბარათს ჰქონდა%s კომენტარი.", + "card-delete-notice": "წაშლის შემთხვევაში ამ ბარათთან ასცირებული ყველა მოქმედება დაიკარგება.", + "card-delete-pop": "ყველა მოქმედება წაიშლება აქტივობების ველიდან და თქვენ აღარ შეგეძლებათ ბარათის ხელახლა გახსნა. დაბრუნება შეუძლებელია.", + "card-delete-suggest-archive": "You can move a card to Archive to remove it from the board and preserve the activity.", + "card-due": "საბოლოო ვადა ", + "card-due-on": "საბოლოო ვადა", + "card-spent": "დახარჯული დრო", + "card-edit-attachments": "მიბმული ფაილის შესწორება", + "card-edit-custom-fields": "მომხმარებლის ველის შესწორება", + "card-edit-labels": "ნიშნის შესწორება", + "card-edit-members": "მომხმარებლების შესწორება", + "card-labels-title": "ნიშნის შეცვლა ბარათისთვის.", + "card-members-title": "დაამატეთ ან წაშალეთ დაფის წევრი ბარათიდან. ", + "card-start": "დაწყება", + "card-start-on": "დაიწყება", + "cardAttachmentsPopup-title": "მიბმა შემდეგი წყაროდან: ", + "cardCustomField-datePopup-title": "დროის ცვლილება", + "cardCustomFieldsPopup-title": "მომხმარებლის ველის შესწორება", + "cardStartVotingPopup-title": "Start a vote", + "positiveVoteMembersPopup-title": "Proponents", + "negativeVoteMembersPopup-title": "Opponents", + "card-edit-voting": "Edit voting", + "editVoteEndDatePopup-title": "Change vote end date", + "allowNonBoardMembers": "Allow all logged in users", + "vote-question": "Voting question", + "vote-public": "Show who voted what", + "vote-for-it": "for it", + "vote-against": "against", + "deleteVotePopup-title": "Delete vote?", + "vote-delete-pop": "Deleting is permanent. You will lose all actions associated with this vote.", + "cardDeletePopup-title": "წავშალოთ ბარათი? ", + "cardDetailsActionsPopup-title": "ბარათის მოქმედებები", + "cardLabelsPopup-title": "ნიშნები", + "cardMembersPopup-title": "წევრები", + "cardMorePopup-title": "მეტი", + "cardTemplatePopup-title": "Create template", + "cards": "ბარათები", + "cards-count": "ბარათები", + "casSignIn": "შესვლა CAS-ით", + "cardType-card": "Card", + "cardType-linkedCard": "Linked Card", + "cardType-linkedBoard": "Linked Board", + "change": "ცვლილება", + "change-avatar": "სურათის შეცვლა", + "change-password": "პაროლის შეცვლა", + "change-permissions": "პარამეტრების შეცვლა", + "change-settings": "პარამეტრების შეცვლა", + "changeAvatarPopup-title": "სურათის შეცვლა", + "changeLanguagePopup-title": "ენის შეცვლა", + "changePasswordPopup-title": "პაროლის შეცვლა", + "changePermissionsPopup-title": "უფლებების შეცვლა", + "changeSettingsPopup-title": "პარამეტრების შეცვლა", + "subtasks": "ქვეამოცანა", + "checklists": "კატალოგი", + "click-to-star": "დააჭირეთ დაფის ვარსკვლავით მოსანიშნად", + "click-to-unstar": "დააკლიკეთ დაფიდან ვარსკვლავის მოსახსნელად. ", + "clipboard": "Clipboard ან drag & drop", + "close": "დახურვა", + "close-board": "დაფის დახურვა", + "close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.", + "color-black": "შავი", + "color-blue": "ლურჯი", + "color-crimson": "crimson", + "color-darkgreen": "darkgreen", + "color-gold": "gold", + "color-gray": "gray", + "color-green": "მწვანე", + "color-indigo": "indigo", + "color-lime": "ღია ყვითელი", + "color-magenta": "magenta", + "color-mistyrose": "mistyrose", + "color-navy": "navy", + "color-orange": "ნარინჯისფერი", + "color-paleturquoise": "paleturquoise", + "color-peachpuff": "peachpuff", + "color-pink": "ვარდისფერი", + "color-plum": "plum", + "color-purple": "იასამნისფერი", + "color-red": "წითელი ", + "color-saddlebrown": "saddlebrown", + "color-silver": "silver", + "color-sky": "ცისფერი", + "color-slateblue": "slateblue", + "color-white": "white", + "color-yellow": "ყვითელი", + "unset-color": "Unset", + "comment": "კომენტარი", + "comment-placeholder": "დაწერეთ კომენტარი", + "comment-only": "მხოლოდ კომენტარები", + "comment-only-desc": "თქვენ შეგიძლიათ კომენტარის გაკეთება მხოლოდ ბარათებზე.", + "no-comments": "No comments", + "no-comments-desc": "Can not see comments and activities.", + "worker": "Worker", + "worker-desc": "Can only move cards, assign itself to card and comment.", + "computer": "კომპიუტერი", + "confirm-subtask-delete-dialog": "დარწმუნებული ხართ, რომ გსურთ ქვესაქმიანობის წაშლა? ", + "confirm-checklist-delete-dialog": "დარწმუნებული ხართ, რომ გსურთ კატალოგის წაშლა ? ", + "copy-card-link-to-clipboard": "დააკოპირეთ ბარათის ბმული clipboard-ზე", + "linkCardPopup-title": "Link Card", + "searchElementPopup-title": "ძებნა", + "copyCardPopup-title": "ბარათის ასლი", + "copyChecklistToManyCardsPopup-title": "Copy Checklist Template to Many Cards", + "copyChecklistToManyCardsPopup-instructions": "Destination Card Titles and Descriptions in this JSON format", + "copyChecklistToManyCardsPopup-format": "[ {\"სათაური\": \"პირველი ბარათის სათაური\", \"აღწერა\":\"პირველი ბარათის აღწერა\"}, {\"სათაური\":\"მეორე ბარათის სათაური\",\"აღწერა\":\"მეორე ბარათის აღწერა\"},{\"სათაური\":\"ბოლო ბარათის სათაური\",\"აღწერა\":\"ბოლო ბარათის აღწერა\"} ]", + "create": "შექმნა", + "createBoardPopup-title": "დაფის შექმნა", + "chooseBoardSourcePopup-title": "დაფის იმპორტი", + "createLabelPopup-title": "ნიშნის შექმნა", + "createCustomField": "ველის შექმნა", + "createCustomFieldPopup-title": "ველის შექმნა", + "current": "მიმდინარე", + "custom-field-delete-pop": "ქმედება გამოიწვევს მომხმარებლის ველის წაშლას ყველა ბარათიდან და გაანადგურებს მის ისტორიას, რის შემდეგაც შეუძლებელი იქნება მისი უკან დაბრუნება. ", + "custom-field-checkbox": "მოსანიშნი გრაფა", + "custom-field-currency": "Currency", + "custom-field-currency-option": "Currency Code", + "custom-field-date": "თარიღი", + "custom-field-dropdown": "ჩამოსაშლელი სია", + "custom-field-dropdown-none": "(ცარიელი)", + "custom-field-dropdown-options": "პარამეტრების სია", + "custom-field-dropdown-options-placeholder": "დამატებითი პარამეტრების სანახავად დააჭირეთ enter-ს. ", + "custom-field-dropdown-unknown": "(უცნობი)", + "custom-field-number": "რიცხვი", + "custom-field-text": "ტექსტი", + "custom-fields": "მომხმარებლის ველი", + "date": "თარიღი", + "decline": "უარყოფა", + "default-avatar": "სტანდარტული ავატარი", + "delete": "წაშლა", + "deleteCustomFieldPopup-title": "წავშალოთ მომხმარებლის ველი? ", + "deleteLabelPopup-title": "ნამდვილად გსურთ ნიშნის წაშლა? ", + "description": "აღწერა", + "disambiguateMultiLabelPopup-title": "გაუგებარი ნიშნის მოქმედება", + "disambiguateMultiMemberPopup-title": "გაუგებარი წევრის მოქმედება", + "discard": "უარყოფა", + "done": "დასრულებული", + "download": "ჩამოტვირთვა", + "edit": "შესწორება", + "edit-avatar": "სურათის შეცვლა", + "edit-profile": "პროფილის შესწორება", + "edit-wip-limit": " WIP ლიმიტის შესწორება", + "soft-wip-limit": "მსუბუქი WIP შეზღუდვა ", + "editCardStartDatePopup-title": "დაწყების დროის შეცვლა", + "editCardDueDatePopup-title": "შეცვალეთ დედლაინი", + "editCustomFieldPopup-title": "ველების შესწორება", + "editCardSpentTimePopup-title": "დახარჯული დროის შეცვლა", + "editLabelPopup-title": "ნიშნის შეცვლა", + "editNotificationPopup-title": "შეტყობინებების შესწორება", + "editProfilePopup-title": "პროფილის შესწორება", + "email": "ელ.ფოსტა", + "email-enrollAccount-subject": "An account created for you on __siteName__", + "email-enrollAccount-text": "მოგესალმებით __user__,\n\nამ სერვისის გამოსაყენებლად დააკლიკეთ ქვედა ბმულს.\n\n__url__\n\nმადლობა.", + "email-fail": "ელ.ფოსტის გაგზავნა ვერ მოხერხდა", + "email-fail-text": "ელ.ფოსტის გაგზავნისას დაფიქსირდა შეცდომა", + "email-invalid": "არასწორი ელ.ფოსტა", + "email-invite": "მოწვევა ელ.ფოსტის მეშვეობით", + "email-invite-subject": "__inviter__ გამოგიგზავნათ მოწვევა", + "email-invite-text": "ძვირფასო __user__,\n\n__inviter__ გიწვევთ დაფაზე \"__board__\" თანამშრომლობისთვის.\n\nგთხოვთ მიყვეთ ქვემოთ მოცემულ ბმულს:\n\n__url__\n\nმადლობა.", + "email-resetPassword-subject": "შეცვალეთ თქვენი პაროლი __siteName-ზე__", + "email-resetPassword-text": "გამარჯობა__user__,\n\nპაროლის შესაცვლელად დააკლიკეთ ქვედა ბმულს .\n\n__url__\n\nმადლობა.", + "email-sent": "ელ.ფოსტა გაგზავნილია", + "email-verifyEmail-subject": "შეამოწმეთ ელ.ფოსტის მისამართი __siteName-ზე__", + "email-verifyEmail-text": "გამარჯობა __user__,\n\nანგარიშის ელ.ფოსტის შესამოწმებლად დააკლიკეთ ქვედა ბმულს.\n\n__url__\n\nმადლობა.", + "enable-wip-limit": "გავააქტიუროთ WIP ლიმიტი", + "error-board-doesNotExist": "მსგავსი დაფა არ არსებობს", + "error-board-notAdmin": "ამის გასაკეთებლად საჭიროა იყოთ დაფის ადმინისტრატორი", + "error-board-notAMember": "ამის გასაკეთებლად საჭიროა იყოთ დაფის წევრი", + "error-json-malformed": "შენი ტექსტი არ არის ვალიდური JSON", + "error-json-schema": "თქვენი JSON მონაცემები არ შეიცავს ზუსტ ინფორმაციას სწორ ფორმატში ", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "ეს ცხრილი არ არსებობს", + "error-user-doesNotExist": "მსგავსი მომხმარებელი არ არსებობს", + "error-user-notAllowSelf": "თქვენ არ შეგიძლიათ საკუთარი თავის მოწვევა", + "error-user-notCreated": "მომხმარებელი არ შეიქმნა", + "error-username-taken": "არსებობს მსგავსი მომხმარებელი", + "error-email-taken": "უკვე არსებობს მსგავსი ელ.ფოსტა", + "export-board": "დაფის ექსპორტი", + "export-board-json": "Export board to JSON", + "export-board-csv": "Export board to CSV", + "export-board-tsv": "Export board to TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "დაფის ექსპორტი", + "sort": "Sort", + "sort-desc": "Click to Sort List", + "list-sort-by": "Sort the List By:", + "list-label-modifiedAt": "Last Access Time", + "list-label-title": "Name of the List", + "list-label-sort": "Your Manual Order", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "ფილტრი", + "filter-cards": "Filter Cards or Lists", + "list-filter-label": "Filter List by Title", + "filter-clear": "ფილტრის გასუფთავება", + "filter-no-label": "ნიშანი არ გვაქვს", + "filter-no-member": "არ არის წევრები ", + "filter-no-assignee": "No assignee", + "filter-no-custom-fields": "არა მომხმარებლის ველი", + "filter-show-archive": "Show archived lists", + "filter-hide-empty": "Hide empty lists", + "filter-on": "ფილტრი ჩართულია", + "filter-on-desc": "თქვენ ფილტრავთ ბარათებს ამ დაფაზე. დააკლიკეთ აქ ფილტრაციის შესწორებისთვის. ", + "filter-to-selection": "მონიშნულის გაფილტვრა", + "advanced-filter-label": "გაფართოებული ფილტრაცია", + "advanced-filter-description": "გაფართოებული ფილტრაცია, უფლებას გაძლევთ დაწეროთ მწკრივი რომლებიც შეიცავენ შემდეგ ოპერაციებს : == != <= >= && || ( ) space გამოიყენება როგორც გამმიჯნავი ოპერაციებს შორის. თქვენ შეგიძლიათ გაფილტროთ მომხმარებლის ველი მათი სახელებისა და ღირებულებების მიხედვით. მაგალითად: Field1 == Value1. გაითვალისწინეთ რომ თუ ველი ან ღირებულება შეიცავს space-ს თქვენ დაგჭირდებათ მათი მოთავსება ერთ ციტატაში მაგ: 'Field 1' == 'Value 1'. ერთი კონტროლის სიმბოლოებისთვის (' \\/) გამოტოვება, შეგიძლიათ გამოიყენოთ \\. მაგ: Field1 == I\\'m. აგრეთვე თქვენ შეგიძლიათ შეურიოთ რამოდენიმე კომბინაცია. მაგალითად: F1 == V1 || F1 == V2. როგორც წესი ყველა ოპერაცია ინტერპრეტირებულია მარცხნიდან მარჯვნივ. თქვენ შეგიძლიათ შეცვალოთ რიგითობა ფრჩხილების შეცვლით მაგალითად: F1 == V1 && ( F2 == V2 || F2 == V3 ). აგრეთვე შეგიძლიათ მოძებნოთ ტექსტის ველები რეგექსით F1 == /Tes.*/i", + "fullname": "სახელი და გვარი", + "header-logo-title": "დაბრუნდით უკან დაფების გვერდზე.", + "hide-system-messages": "დამალეთ სისტემური შეტყობინებები", + "headerBarCreateBoardPopup-title": "დაფის შექმნა", + "home": "სახლი", + "import": "იმპორტირება", + "link": "Link", + "import-board": " დაფის იმპორტი", + "import-board-c": "დაფის იმპორტი", + "import-board-title-trello": "დაფის იმპორტი Trello-დან", + "import-board-title-wekan": "Import board from previous export", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "Trello-დან", + "from-wekan": "From previous export", + "from-csv": "From CSV/TSV", + "import-board-instruction-trello": "თქვენს Trello დაფაზე, შედით \"მენიუ\"-ში, შემდეგ დააკლიკეთ \"მეტი\", \"ამოპრინტერება და ექსპორტი\", \"JSON-ის ექსპორტი\" და დააკოპირეთ შედეგი. ", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "In your board, go to 'Menu', then 'Export board', and copy the text in the downloaded file.", + "import-board-instruction-about-errors": "If you get errors when importing board, sometimes importing still works, and board is at All Boards page.", + "import-json-placeholder": "მოათავსეთ თქვენი ვალიდური JSON მონაცემები აქ. ", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "რუკის წევრები", + "import-members-map": "Your imported board has some members. Please map the members you want to import to your users", + "import-show-user-mapping": "მომხმარებლის რუკების განხილვა", + "import-user-select": "Pick your existing user you want to use as this member", + "importMapMembersAddPopup-title": "Select member", + "info": "ვერსია", + "initials": "ინიციალები", + "invalid-date": "არასწორი თარიღი", + "invalid-time": "არასწორი დრო", + "invalid-user": "არასწორი მომხმარებელი", + "joined": "შემოუერთდა", + "just-invited": "თქვენ მოწვეული ხართ ამ დაფაზე", + "keyboard-shortcuts": "კლავიატურის კომბინაციები", + "label-create": "ნიშნის შექმნა", + "label-default": "%s ნიშანი (default)", + "label-delete-pop": "იმ შემთხვევაში თუ წაშლით ნიშანს, ყველა ბარათიდან ისტორია ავტომატურად წაიშლება და შეუძლებელი იქნება მისი უკან დაბრუნება.", + "labels": "ნიშნები", + "language": "ენა", + "last-admin-desc": "თქვენ ვერ შეცვლით როლებს რადგან უნდა არსებობდეს ერთი ადმინი მაინც.", + "leave-board": "დატოვეთ დაფა", + "leave-board-pop": "დარწმუნებული ხართ, რომ გინდათ დატოვოთ __boardTitle__? თქვენ წაიშლებით ამ დაფის ყველა ბარათიდან. ", + "leaveBoardPopup-title": "გსურთ დაფის დატოვება? ", + "link-card": "დააკავშირეთ ამ ბარათთან", + "list-archive-cards": "Move all cards in this list to Archive", + "list-archive-cards-pop": "This will remove all the cards in this list from the board. To view cards in Archive and bring them back to the board, click “Menu” > “Archive”.", + "list-move-cards": "გადაიტანე ყველა ბარათი ამ სიაში", + "list-select-cards": "მონიშნე ყველა ბარათი ამ სიაში", + "set-color-list": "Set Color", + "listActionPopup-title": "მოქმედებების სია", + "swimlaneActionPopup-title": "ბილიკის მოქმედებები", + "swimlaneAddPopup-title": "Add a Swimlane below", + "listImportCardPopup-title": "Trello ბარათის იმპორტი", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "მეტი", + "link-list": "დააკავშირეთ ამ ჩამონათვალთან", + "list-delete-pop": "ყველა მოქმედება წაიშლება აქტივობების ველიდან და თქვენ ვეღარ შეძლებთ მის აღდგენას ჩამონათვალში", + "list-delete-suggest-archive": "You can move a list to Archive to remove it from the board and preserve the activity.", + "lists": "ჩამონათვალი", + "swimlanes": "ბილიკები", + "log-out": "გამოსვლა", + "log-in": "შესვლა", + "loginPopup-title": "შესვლა", + "memberMenuPopup-title": "მომხმარებლის პარამეტრები", + "members": "წევრები", + "menu": "მენიუ", + "move-selection": "მონიშნულის მოძრაობა", + "moveCardPopup-title": "ბარათის გადატანა", + "moveCardToBottom-title": "ქვევით ჩამოწევა", + "moveCardToTop-title": "ზევით აწევა", + "moveSelectionPopup-title": "მონიშნულის მოძრაობა", + "multi-selection": "რამდენიმეს მონიშვნა", + "multi-selection-on": "რამდენიმეს მონიშვნა ჩართულია", + "muted": "ხმა გათიშულია", + "muted-info": "თქვენ აღარ მიიღებთ შეტყობინებას ამ დაფაზე მიმდინარე ცვლილებების შესახებ. ", + "my-boards": "ჩემი დაფები", + "name": "სახელი", + "no-archived-cards": "No cards in Archive.", + "no-archived-lists": "No lists in Archive.", + "no-archived-swimlanes": "No swimlanes in Archive.", + "no-results": "შედეგის გარეშე", + "normal": "ნორმალური", + "normal-desc": "შეუძლია ნახოს და შეასწოროს ბარათები. ამ პარამეტრების შეცვლა შეუძლებელია. ", + "not-accepted-yet": "მოწვევა ჯერ არ დადასტურებულა", + "notify-participate": "მიიღეთ განახლებები ნებისმიერ ბარათზე, რომელშიც მონაწილეობთ, როგორც შემქმნელი ან წევრი. ", + "notify-watch": "მიიღეთ განახლებები ყველა დაფაზე, ჩამონათვალზე ან ბარათებზე, რომელსაც თქვენ აკვირდებით", + "optional": "არჩევითი", + "or": "ან", + "page-maybe-private": "ეს გვერდი შესაძლოა იყოს კერძო. თქვენ შეგეძლებათ მისი ნახვა logging in მეშვეობით.", + "page-not-found": "გვერდი არ მოიძებნა.", + "password": "პაროლი", + "paste-or-dragdrop": "ჩასმისთვის, ან drag & drop-ისთვის ჩააგდეთ სურათი აქ (მხოლოდ სურათი)", + "participating": "მონაწილეობა", + "preview": "წინასწარ ნახვა", + "previewAttachedImagePopup-title": "წინასწარ ნახვა", + "previewClipboardImagePopup-title": "წინასწარ ნახვა", + "private": "კერძო", + "private-desc": "ეს არის კერძო დაფა. დაფაზე წვდომის, ნახვის და რედაქტირების უფლება აქვთ მხოლოდ მასზე დამატებულ წევრებს. ", + "profile": "პროფილი", + "public": "საჯარო", + "public-desc": "ეს დაფა არის საჯარო. ის ხილვადია ყველასთვის და შესაძლოა გამოჩნდეს საძიებო სისტემებში. შესწორების უფლება აქვს მხოლოდ მასზე დამატებულ პირებს. ", + "quick-access-description": "მონიშნეთ დაფა ვარსკვლავით იმისთვის, რომ დაამატოთ სწრაფი ბმული ამ ნაწილში.", + "remove-cover": "გარეკანის წაშლა", + "remove-from-board": "დაფიდან წაშლა", + "remove-label": "ნიშნის წაშლა", + "listDeletePopup-title": "ნამდვილად გსურთ სიის წაშლა? ", + "remove-member": "წევრის წაშლა", + "remove-member-from-card": "ბარათიდან წაშლა", + "remove-member-pop": "Remove __name__ (__username__) from __boardTitle__? The member will be removed from all cards on this board. They will receive a notification.", + "removeMemberPopup-title": "ნამდვილად გსურთ წევრის წაშლა? ", + "rename": "სახელის შეცვლა", + "rename-board": "დაფის სახელის ცვლილება", + "restore": "აღდგენა", + "save": "დამახსოვრება", + "search": "ძებნა", + "rules": "Rules", + "search-cards": "Search from card/list titles, descriptions and custom fields on this board", + "search-example": "საძიებო ტექსტი", + "select-color": "ფერის მონიშვნა", + "set-wip-limit-value": "დააყენეთ შეზღუდვა დავალებების მაქსიმალურ რაოდენობაზე ", + "setWipLimitPopup-title": "დააყენეთ WIP ლიმიტი", + "shortcut-assign-self": "მონიშნეთ საკუთარი თავი აღნიშნულ ბარათზე", + "shortcut-autocomplete-emoji": "emoji-ის ავტომატური შევსება", + "shortcut-autocomplete-members": "მომხმარებლების ავტომატური შევსება", + "shortcut-clear-filters": "ყველა ფილტრის გასუფთავება", + "shortcut-close-dialog": "დიალოგის დახურვა", + "shortcut-filter-my-cards": "ჩემი ბარათების გაფილტვრა", + "shortcut-show-shortcuts": "Bring up this shortcuts list", + "shortcut-toggle-filterbar": "ფილტრაციის გვერდითა ღილაკი", + "shortcut-toggle-sidebar": "გვერდით მენიუს ჩართვა/გამორთვა", + "show-cards-minimum-count": "აჩვენეთ ბარათების დათვლილი რაოდენობა თუ ჩამონათვალი შეიცავს უფრო მეტს ვიდრე ", + "sidebar-open": "გახსენით მცირე სტატია", + "sidebar-close": "დახურეთ მცირე სტატია", + "signupPopup-title": "ანგარიშის შექმნა", + "star-board-title": "დააკლიკეთ დაფის ვარსკვლავით მონიშვნისთვის. ეს ქმედება დაგეხმარებათ გამოაჩინოთ დაფა ჩამონათვალში ზედა პოზიციებზე. ", + "starred-boards": "ვარსკვლავიანი დაფები", + "starred-boards-description": "Starred boards show up at the top of your boards list.", + "subscribe": "გამოწერა", + "team": "ჯგუფი", + "this-board": "ეს დაფა", + "this-card": "ეს ბარათი", + "spent-time-hours": "დახარჯული დრო (საათები)", + "overtime-hours": "ზედმეტი დრო (საათები) ", + "overtime": "ზედმეტი დრო", + "has-overtime-cards": "აქვს ვადაგადაცდილებული ბარათები", + "has-spenttime-cards": "აქვს გახარჯული დროის ბარათები", + "time": "დრო", + "title": "სათაური", + "tracking": "მონიტორინგი", + "tracking-info": "თქვენ მოგივათ შეტყობინება ამ ბარათებში განხორციელებული ნებისმიერი ცვლილებების შესახებ, როგორც შემქმნელს ან წევრს. ", + "type": "ტიპი", + "unassign-member": "არაუფლებამოსილი წევრი", + "unsaved-description": "თქვან გაქვთ დაუმახსოვრებელი აღწერა. ", + "unwatch": "ნახვის გამორთვა", + "upload": "ატვირთვა", + "upload-avatar": "სურათის ატვირთვა", + "uploaded-avatar": "სურათი ატვირთულია", + "username": "მომხმარებლის სახელი", + "view-it": "ნახვა", + "warn-list-archived": "warning: this card is in an list at Archive", + "watch": "ნახვა", + "watching": "ნახვის პროცესი", + "watching-info": "თქვენ მოგივათ შეტყობინება ამ დაფაზე არსებული ნებისმიერი ცვლილების შესახებ. ", + "welcome-board": "მისასალმებელი დაფა", + "welcome-swimlane": "ეტაპი 1 ", + "welcome-list1": "ბაზისური ", + "welcome-list2": "დაწინაურებული", + "card-templates-swimlane": "Card Templates", + "list-templates-swimlane": "List Templates", + "board-templates-swimlane": "Board Templates", + "what-to-do": "რისი გაკეთება გსურთ? ", + "wipLimitErrorPopup-title": "არასწორი WIP ლიმიტი", + "wipLimitErrorPopup-dialog-pt1": "The number of tasks in this list is higher than the WIP limit you've defined.", + "wipLimitErrorPopup-dialog-pt2": "Please move some tasks out of this list, or set a higher WIP limit.", + "admin-panel": "ადმინის პანელი", + "settings": "პარამეტრები", + "people": "ხალხი", + "registration": "რეგისტრაცია", + "disable-self-registration": "თვით რეგისტრაციის გამორთვა", + "invite": "მოწვევა", + "invite-people": "ხალხის მოწვევა", + "to-boards": "დაფა(ებ)ზე", + "email-addresses": "ელ.ფოსტის მისამართები", + "smtp-host-description": "The address of the SMTP server that handles your emails.", + "smtp-port-description": "The port your SMTP server uses for outgoing emails.", + "smtp-tls-description": "ჩართეთ TLS მხარდაჭერა SMTP სერვერისთვის", + "smtp-host": "SMTP Host", + "smtp-port": "SMTP Port", + "smtp-username": "მომხმარებლის სახელი", + "smtp-password": "პაროლი", + "smtp-tls": "TLS მხარდაჭერა", + "send-from": "დან", + "send-smtp-test": "გაუგზავნეთ სატესტო ელ.ფოსტა საკუთარ თავს", + "invitation-code": "მოწვევის კოდი", + "email-invite-register-subject": "__inviter__ გამოგიგზავნათ მოწვევა", + "email-invite-register-text": "Dear __user__,\n\n__inviter__ invites you to kanban board for collaborations.\n\nPlease follow the link below:\n__url__\n\nAnd your invitation code is: __icode__\n\nThanks.", + "email-smtp-test-subject": "SMTP Test Email", + "email-smtp-test-text": "თქვენ წარმატებით გააგზავნეთ ელ.ფოსტა.", + "error-invitation-code-not-exist": "მსგავსი მოსაწვევი კოდი არ არსებობს", + "error-notAuthorized": "თქვენ არ გაქვთ ამ გვერდის ნახვის უფლება", + "webhook-title": "Webhook Name", + "webhook-token": "Token (Optional for Authentication)", + "outgoing-webhooks": "გამავალი Webhook", + "bidirectional-webhooks": "Two-Way Webhooks", + "outgoingWebhooksPopup-title": "გამავალი Webhook", + "boardCardTitlePopup-title": "Card Title Filter", + "disable-webhook": "Disable This Webhook", + "global-webhook": "Global Webhooks", + "new-outgoing-webhook": "New Outgoing Webhook", + "no-name": "(უცნობი)", + "Node_version": "Node ვერსია", + "Meteor_version": "Meteor version", + "MongoDB_version": "MongoDB version", + "MongoDB_storage_engine": "MongoDB storage engine", + "MongoDB_Oplog_enabled": "MongoDB Oplog enabled", + "OS_Arch": "OS Arch", + "OS_Cpus": "OS CPU Count", + "OS_Freemem": "OS თავისუფალი მეხსიერება", + "OS_Loadavg": "OS Load Average", + "OS_Platform": "OS პლატფორმა", + "OS_Release": "OS რელიზი", + "OS_Totalmem": "OS მთლიანი მეხსიერება", + "OS_Type": "OS ტიპი", + "OS_Uptime": "OS Uptime", + "days": "days", + "hours": "საათები", + "minutes": "წუთები", + "seconds": "წამები", + "show-field-on-card": "აჩვენეთ ეს ველი ბარათზე", + "automatically-field-on-card": "Auto create field to all cards", + "showLabel-field-on-card": "Show field label on minicard", + "yes": "დიახ", + "no": "არა", + "accounts": "ანგარიშები", + "accounts-allowEmailChange": "ელ.ფოსტის ცვლილების უფლების დაშვება", + "accounts-allowUserNameChange": "მომხმარებლის სახელის ცვლილების უფლების დაშვება ", + "createdAt": "შექმნილია", + "verified": "შემოწმებული", + "active": "აქტიური", + "card-received": "მიღებული", + "card-received-on": "მიღებულია", + "card-end": "დასასრული", + "card-end-on": "დასრულდება : ", + "editCardReceivedDatePopup-title": "Change received date", + "editCardEndDatePopup-title": "შეცვალეთ საბოლოო თარიღი", + "setCardColorPopup-title": "Set color", + "setCardActionsColorPopup-title": "Choose a color", + "setSwimlaneColorPopup-title": "Choose a color", + "setListColorPopup-title": "Choose a color", + "assigned-by": "უფლებამოსილების გამცემი ", + "requested-by": "მომთხოვნი", + "board-delete-notice": "წაშლის შემთხვევაში თქვენ დაკარგავთ ამ დაფასთან ასოცირებულ ყველა მონაცემს მათ შორის : ჩამონათვალს, ბარათებს და მოქმედებებს. ", + "delete-board-confirm-popup": "ყველა ჩამონათვალი, ბარათი, ნიშანი და აქტივობა წაიშლება და თქვენ ვეღარ შეძლებთ მის აღდგენას. ", + "boardDeletePopup-title": "წავშალოთ დაფა? ", + "delete-board": "დაფის წაშლა", + "default-subtasks-board": "ქვესაქმიანობა __board__ დაფისთვის", + "default": "Default", + "queue": "რიგი", + "subtask-settings": "ქვესაქმიანობების პარამეტრები", + "card-settings": "Card Settings", + "boardSubtaskSettingsPopup-title": "Board Subtasks Settings", + "boardCardSettingsPopup-title": "Card Settings", + "deposit-subtasks-board": "Deposit subtasks to this board:", + "deposit-subtasks-list": "Landing list for subtasks deposited here:", + "show-parent-in-minicard": "Show parent in minicard:", + "prefix-with-full-path": "Prefix with full path", + "prefix-with-parent": "Prefix with parent", + "subtext-with-full-path": "Subtext with full path", + "subtext-with-parent": "Subtext with parent", + "change-card-parent": "Change card's parent", + "parent-card": "Parent card", + "source-board": "ძირითადი დაფა", + "no-parent": "Don't show parent", + "activity-added-label": "added label '%s' to %s", + "activity-removed-label": "removed label '%s' from %s", + "activity-delete-attach": "deleted an attachment from %s", + "activity-added-label-card": "added label '%s'", + "activity-removed-label-card": "removed label '%s'", + "activity-delete-attach-card": "deleted an attachment", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "Rule", + "r-add-trigger": "Add trigger", + "r-add-action": "Add action", + "r-board-rules": "Board rules", + "r-add-rule": "Add rule", + "r-view-rule": "View rule", + "r-delete-rule": "Delete rule", + "r-new-rule-name": "New rule title", + "r-no-rules": "No rules", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "When a card", + "r-is": "is", + "r-is-moved": "is moved", + "r-added-to": "Added to", + "r-removed-from": "Removed from", + "r-the-board": "the board", + "r-list": "list", + "set-filter": "Set Filter", + "r-moved-to": "Moved to", + "r-moved-from": "Moved from", + "r-archived": "Moved to Archive", + "r-unarchived": "Restored from Archive", + "r-a-card": "a card", + "r-when-a-label-is": "When a label is", + "r-when-the-label": "When the label", + "r-list-name": "list name", + "r-when-a-member": "When a member is", + "r-when-the-member": "When the member", + "r-name": "name", + "r-when-a-attach": "When an attachment", + "r-when-a-checklist": "When a checklist is", + "r-when-the-checklist": "When the checklist", + "r-completed": "Completed", + "r-made-incomplete": "Made incomplete", + "r-when-a-item": "When a checklist item is", + "r-when-the-item": "When the checklist item", + "r-checked": "Checked", + "r-unchecked": "Unchecked", + "r-move-card-to": "Move card to", + "r-top-of": "Top of", + "r-bottom-of": "Bottom of", + "r-its-list": "its list", + "r-archive": "Move to Archive", + "r-unarchive": "Restore from Archive", + "r-card": "card", + "r-add": "დამატება", + "r-remove": "Remove", + "r-label": "label", + "r-member": "member", + "r-remove-all": "Remove all members from the card", + "r-set-color": "Set color to", + "r-checklist": "checklist", + "r-check-all": "Check all", + "r-uncheck-all": "Uncheck all", + "r-items-check": "items of checklist", + "r-check": "Check", + "r-uncheck": "Uncheck", + "r-item": "item", + "r-of-checklist": "of checklist", + "r-send-email": "Send an email", + "r-to": "to", + "r-of": "of", + "r-subject": "subject", + "r-rule-details": "Rule details", + "r-d-move-to-top-gen": "Move card to top of its list", + "r-d-move-to-top-spec": "Move card to top of list", + "r-d-move-to-bottom-gen": "Move card to bottom of its list", + "r-d-move-to-bottom-spec": "Move card to bottom of list", + "r-d-send-email": "Send email", + "r-d-send-email-to": "to", + "r-d-send-email-subject": "subject", + "r-d-send-email-message": "message", + "r-d-archive": "Move card to Archive", + "r-d-unarchive": "Restore card from Archive", + "r-d-add-label": "Add label", + "r-d-remove-label": "Remove label", + "r-create-card": "Create new card", + "r-in-list": "in list", + "r-in-swimlane": "in swimlane", + "r-d-add-member": "Add member", + "r-d-remove-member": "Remove member", + "r-d-remove-all-member": "Remove all member", + "r-d-check-all": "Check all items of a list", + "r-d-uncheck-all": "Uncheck all items of a list", + "r-d-check-one": "Check item", + "r-d-uncheck-one": "Uncheck item", + "r-d-check-of-list": "of checklist", + "r-d-add-checklist": "Add checklist", + "r-d-remove-checklist": "Remove checklist", + "r-by": "by", + "r-add-checklist": "Add checklist", + "r-with-items": "with items", + "r-items-list": "item1,item2,item3", + "r-add-swimlane": "Add swimlane", + "r-swimlane-name": "swimlane name", + "r-board-note": "Note: leave a field empty to match every possible value.", + "r-checklist-note": "Note: checklist's items have to be written as comma separated values.", + "r-when-a-card-is-moved": "When a card is moved to another list", + "r-set": "Set", + "r-update": "Update", + "r-datefield": "date field", + "r-df-start-at": "start", + "r-df-due-at": "due", + "r-df-end-at": "end", + "r-df-received-at": "received", + "r-to-current-datetime": "to current date/time", + "r-remove-value-from": "Remove value from", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Authentication method", + "authentication-type": "Authentication type", + "custom-product-name": "Custom Product Name", + "layout": "Layout", + "hide-logo": "Hide Logo", + "add-custom-html-after-body-start": "Add Custom HTML after start", + "add-custom-html-before-body-end": "Add Custom HTML before end", + "error-undefined": "Something went wrong", + "error-ldap-login": "An error occurred while trying to login", + "display-authentication-method": "Display Authentication Method", + "default-authentication-method": "Default Authentication Method", + "duplicate-board": "Duplicate Board", + "people-number": "The number of people is:", + "swimlaneDeletePopup-title": "Delete Swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Restore all", + "delete-all": "Delete all", + "loading": "Loading, please wait.", + "previous_as": "last time was", + "act-a-dueAt": "modified due time to \nWhen: __timeValue__\nWhere: __card__\n previous due was __timeOldValue__", + "act-a-endAt": "modified ending time to __timeValue__ from (__timeOldValue__)", + "act-a-startAt": "modified starting time to __timeValue__ from (__timeOldValue__)", + "act-a-receivedAt": "modified received time to __timeValue__ from (__timeOldValue__)", + "a-dueAt": "modified due time to be", + "a-endAt": "modified ending time to be", + "a-startAt": "modified starting time to be", + "a-receivedAt": "modified received time to be", + "almostdue": "current due time %s is approaching", + "pastdue": "current due time %s is past", + "duenow": "current due time %s is today", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", + "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", + "act-duenow": "was reminding the current due (__timeValue__) of __card__ is now", + "act-atUserComment": "You were mentioned in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Are you sure you want to delete this account? There is no undo.", + "accounts-allowUserDelete": "Allow users to self delete their account", + "hide-minicard-label-text": "Hide minicard label text", + "show-desktop-drag-handles": "Show desktop drag handles", + "assignee": "Assignee", + "cardAssigneesPopup-title": "Assignee", + "addmore-detail": "Add a more detailed description", + "show-on-card": "Show on Card", + "new": "New", + "editUserPopup-title": "Edit User", + "newUserPopup-title": "New User", + "notifications": "Notifications", + "view-all": "View All", + "filter-by-unread": "Filter by Unread", + "mark-all-as-read": "Mark all as read", + "remove-all-read": "Remove all read", + "allow-rename": "Allow Rename", + "allowRenamePopup-title": "Allow Rename", + "start-day-of-week": "Set day of the week start", + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archived", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/km.i18n.json b/i18n/km.i18n.json new file mode 100644 index 0000000..45713e5 --- /dev/null +++ b/i18n/km.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "យល់ព្រម", + "act-activity-notify": "Activity Notification", + "act-addAttachment": "added attachment __attachment__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteAttachment": "deleted attachment __attachment__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addSubtask": "added subtask __subtask__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addedLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removedLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklist": "added checklist __checklist__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklistItem": "added checklist item __checklistItem__ to checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklist": "removed checklist __checklist__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklistItem": "removed checklist item __checklistItem__ from checklist __checkList__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-checkedItem": "checked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncheckedItem": "unchecked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-completeChecklist": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncompleteChecklist": "uncompleted checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addComment": "commented on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-editComment": "edited comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteComment": "deleted comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createBoard": "created board __board__", + "act-createSwimlane": "created swimlane __swimlane__ to board __board__", + "act-createCard": "created card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-createCustomField": "created custom field __customField__ at board __board__", + "act-deleteCustomField": "deleted custom field __customField__ at board __board__", + "act-setCustomField": "edited custom field __customField__: __customFieldValue__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createList": "added list __list__ to board __board__", + "act-addBoardMember": "added member __member__ to board __board__", + "act-archivedBoard": "Board __board__ moved to Archive", + "act-archivedCard": "Card __card__ at list __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedList": "List __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedSwimlane": "Swimlane __swimlane__ at board __board__ moved to Archive", + "act-importBoard": "imported board __board__", + "act-importCard": "imported card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-importList": "imported list __list__ to swimlane __swimlane__ at board __board__", + "act-joinMember": "added member __member__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-moveCard": "moved card __card__ at board __board__ from list __oldList__ at swimlane __oldSwimlane__ to list __list__ at swimlane __swimlane__", + "act-moveCardToOtherBoard": "moved card __card__ from list __oldList__ at swimlane __oldSwimlane__ at board __oldBoard__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-removeBoardMember": "removed member __member__ from board __board__", + "act-restoredCard": "restored card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-unjoinMember": "removed member __member__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Actions", + "activities": "Activities", + "activity": "Activity", + "activity-added": "added %s to %s", + "activity-archived": "%s moved to Archive", + "activity-attached": "attached %s to %s", + "activity-created": "created %s", + "activity-customfield-created": "created custom field %s", + "activity-excluded": "excluded %s from %s", + "activity-imported": "imported %s into %s from %s", + "activity-imported-board": "imported %s from %s", + "activity-joined": "joined %s", + "activity-moved": "moved %s from %s to %s", + "activity-on": "on %s", + "activity-removed": "removed %s from %s", + "activity-sent": "sent %s to %s", + "activity-unjoined": "unjoined %s", + "activity-subtask-added": "added subtask to %s", + "activity-checked-item": "checked %s in checklist %s of %s", + "activity-unchecked-item": "unchecked %s in checklist %s of %s", + "activity-checklist-added": "added checklist to %s", + "activity-checklist-removed": "removed a checklist from %s", + "activity-checklist-completed": "completed checklist %s of %s", + "activity-checklist-uncompleted": "uncompleted the checklist %s of %s", + "activity-checklist-item-added": "added checklist item to '%s' in %s", + "activity-checklist-item-removed": "removed a checklist item from '%s' in %s", + "add": "Add", + "activity-checked-item-card": "checked %s in checklist %s", + "activity-unchecked-item-card": "unchecked %s in checklist %s", + "activity-checklist-completed-card": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "activity-checklist-uncompleted-card": "uncompleted the checklist %s", + "activity-editComment": "edited comment %s", + "activity-deleteComment": "deleted comment %s", + "add-attachment": "Add Attachment", + "add-board": "Add Board", + "add-card": "Add Card", + "add-swimlane": "Add Swimlane", + "add-subtask": "Add Subtask", + "add-checklist": "Add Checklist", + "add-checklist-item": "Add an item to checklist", + "add-cover": "Add Cover", + "add-label": "Add Label", + "add-list": "Add List", + "add-members": "Add Members", + "added": "Added", + "addMemberPopup-title": "Members", + "admin": "Admin", + "admin-desc": "Can view and edit cards, remove members, and change settings for the board.", + "admin-announcement": "Announcement", + "admin-announcement-active": "Active System-Wide Announcement", + "admin-announcement-title": "Announcement from Administrator", + "all-boards": "All boards", + "and-n-other-card": "And __count__ other card", + "and-n-other-card_plural": "And __count__ other cards", + "apply": "Apply", + "app-is-offline": "Loading, please wait. Refreshing the page will cause data loss. If loading does not work, please check that server has not stopped.", + "archive": "Move to Archive", + "archive-all": "Move All to Archive", + "archive-board": "Move Board to Archive", + "archive-card": "Move Card to Archive", + "archive-list": "Move List to Archive", + "archive-swimlane": "Move Swimlane to Archive", + "archive-selection": "Move selection to Archive", + "archiveBoardPopup-title": "Move Board to Archive?", + "archived-items": "Archive", + "archived-boards": "Boards in Archive", + "restore-board": "Restore Board", + "no-archived-boards": "No Boards in Archive.", + "archives": "Archive", + "template": "Template", + "templates": "Templates", + "assign-member": "Assign member", + "attached": "attached", + "attachment": "Attachment", + "attachment-delete-pop": "Deleting an attachment is permanent. There is no undo.", + "attachmentDeletePopup-title": "Delete Attachment?", + "attachments": "Attachments", + "auto-watch": "Automatically watch boards when they are created", + "avatar-too-big": "The avatar is too large (70KB max)", + "back": "Back", + "board-change-color": "Change color", + "board-nb-stars": "%s stars", + "board-not-found": "Board not found", + "board-private-info": "This board will be private.", + "board-public-info": "This board will be public.", + "boardChangeColorPopup-title": "Change Board Background", + "boardChangeTitlePopup-title": "Rename Board", + "boardChangeVisibilityPopup-title": "Change Visibility", + "boardChangeWatchPopup-title": "Change Watch", + "boardMenuPopup-title": "Board Settings", + "boardChangeViewPopup-title": "Board View", + "boards": "Boards", + "board-view": "Board View", + "board-view-cal": "Calendar", + "board-view-swimlanes": "Swimlanes", + "board-view-collapse": "Collapse", + "board-view-lists": "Lists", + "bucket-example": "Like “Bucket List” for example", + "cancel": "Cancel", + "card-archived": "This card is moved to Archive.", + "board-archived": "This board is moved to Archive.", + "card-comments-title": "This card has %s comment.", + "card-delete-notice": "Deleting is permanent. You will lose all actions associated with this card.", + "card-delete-pop": "All actions will be removed from the activity feed and you won't be able to re-open the card. There is no undo.", + "card-delete-suggest-archive": "You can move a card to Archive to remove it from the board and preserve the activity.", + "card-due": "Due", + "card-due-on": "Due on", + "card-spent": "Spent Time", + "card-edit-attachments": "Edit attachments", + "card-edit-custom-fields": "Edit custom fields", + "card-edit-labels": "Edit labels", + "card-edit-members": "Edit members", + "card-labels-title": "Change the labels for the card.", + "card-members-title": "Add or remove members of the board from the card.", + "card-start": "Start", + "card-start-on": "Starts on", + "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", + "cardStartVotingPopup-title": "Start a vote", + "positiveVoteMembersPopup-title": "Proponents", + "negativeVoteMembersPopup-title": "Opponents", + "card-edit-voting": "Edit voting", + "editVoteEndDatePopup-title": "Change vote end date", + "allowNonBoardMembers": "Allow all logged in users", + "vote-question": "Voting question", + "vote-public": "Show who voted what", + "vote-for-it": "for it", + "vote-against": "against", + "deleteVotePopup-title": "Delete vote?", + "vote-delete-pop": "Deleting is permanent. You will lose all actions associated with this vote.", + "cardDeletePopup-title": "Delete Card?", + "cardDetailsActionsPopup-title": "Card Actions", + "cardLabelsPopup-title": "Labels", + "cardMembersPopup-title": "Members", + "cardMorePopup-title": "More", + "cardTemplatePopup-title": "Create template", + "cards": "Cards", + "cards-count": "Cards", + "casSignIn": "Sign In with CAS", + "cardType-card": "Card", + "cardType-linkedCard": "Linked Card", + "cardType-linkedBoard": "Linked Board", + "change": "Change", + "change-avatar": "Change Avatar", + "change-password": "Change Password", + "change-permissions": "Change permissions", + "change-settings": "Change Settings", + "changeAvatarPopup-title": "Change Avatar", + "changeLanguagePopup-title": "Change Language", + "changePasswordPopup-title": "Change Password", + "changePermissionsPopup-title": "Change Permissions", + "changeSettingsPopup-title": "Change Settings", + "subtasks": "Subtasks", + "checklists": "Checklists", + "click-to-star": "Click to star this board.", + "click-to-unstar": "Click to unstar this board.", + "clipboard": "Clipboard or drag & drop", + "close": "Close", + "close-board": "Close Board", + "close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.", + "color-black": "black", + "color-blue": "blue", + "color-crimson": "crimson", + "color-darkgreen": "darkgreen", + "color-gold": "gold", + "color-gray": "gray", + "color-green": "green", + "color-indigo": "indigo", + "color-lime": "lime", + "color-magenta": "magenta", + "color-mistyrose": "mistyrose", + "color-navy": "navy", + "color-orange": "orange", + "color-paleturquoise": "paleturquoise", + "color-peachpuff": "peachpuff", + "color-pink": "pink", + "color-plum": "plum", + "color-purple": "purple", + "color-red": "red", + "color-saddlebrown": "saddlebrown", + "color-silver": "silver", + "color-sky": "sky", + "color-slateblue": "slateblue", + "color-white": "white", + "color-yellow": "yellow", + "unset-color": "Unset", + "comment": "Comment", + "comment-placeholder": "Write Comment", + "comment-only": "Comment only", + "comment-only-desc": "Can comment on cards only.", + "no-comments": "No comments", + "no-comments-desc": "Can not see comments and activities.", + "worker": "Worker", + "worker-desc": "Can only move cards, assign itself to card and comment.", + "computer": "Computer", + "confirm-subtask-delete-dialog": "Are you sure you want to delete subtask?", + "confirm-checklist-delete-dialog": "Are you sure you want to delete checklist?", + "copy-card-link-to-clipboard": "Copy card link to clipboard", + "linkCardPopup-title": "Link Card", + "searchElementPopup-title": "Search", + "copyCardPopup-title": "Copy Card", + "copyChecklistToManyCardsPopup-title": "Copy Checklist Template to Many Cards", + "copyChecklistToManyCardsPopup-instructions": "Destination Card Titles and Descriptions in this JSON format", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"First card title\", \"description\":\"First card description\"}, {\"title\":\"Second card title\",\"description\":\"Second card description\"},{\"title\":\"Last card title\",\"description\":\"Last card description\"} ]", + "create": "Create", + "createBoardPopup-title": "Create Board", + "chooseBoardSourcePopup-title": "Import board", + "createLabelPopup-title": "Create Label", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", + "current": "current", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-currency": "Currency", + "custom-field-currency-option": "Currency Code", + "custom-field-date": "Date", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", + "date": "Date", + "decline": "Decline", + "default-avatar": "Default avatar", + "delete": "Delete", + "deleteCustomFieldPopup-title": "Delete Custom Field?", + "deleteLabelPopup-title": "Delete Label?", + "description": "Description", + "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", + "disambiguateMultiMemberPopup-title": "Disambiguate Member Action", + "discard": "Discard", + "done": "Done", + "download": "Download", + "edit": "Edit", + "edit-avatar": "Change Avatar", + "edit-profile": "Edit Profile", + "edit-wip-limit": "Edit WIP Limit", + "soft-wip-limit": "Soft WIP Limit", + "editCardStartDatePopup-title": "Change start date", + "editCardDueDatePopup-title": "Change due date", + "editCustomFieldPopup-title": "Edit Field", + "editCardSpentTimePopup-title": "Change spent time", + "editLabelPopup-title": "Change Label", + "editNotificationPopup-title": "Edit Notification", + "editProfilePopup-title": "Edit Profile", + "email": "Email", + "email-enrollAccount-subject": "An account created for you on __siteName__", + "email-enrollAccount-text": "Hello __user__,\n\nTo start using the service, simply click the link below.\n\n__url__\n\nThanks.", + "email-fail": "Sending email failed", + "email-fail-text": "Error trying to send email", + "email-invalid": "Invalid email", + "email-invite": "Invite via Email", + "email-invite-subject": "__inviter__ sent you an invitation", + "email-invite-text": "Dear __user__,\n\n__inviter__ invites you to join board \"__board__\" for collaborations.\n\nPlease follow the link below:\n\n__url__\n\nThanks.", + "email-resetPassword-subject": "Reset your password on __siteName__", + "email-resetPassword-text": "Hello __user__,\n\nTo reset your password, simply click the link below.\n\n__url__\n\nThanks.", + "email-sent": "Email sent", + "email-verifyEmail-subject": "Verify your email address on __siteName__", + "email-verifyEmail-text": "Hello __user__,\n\nTo verify your account email, simply click the link below.\n\n__url__\n\nThanks.", + "enable-wip-limit": "Enable WIP Limit", + "error-board-doesNotExist": "This board does not exist", + "error-board-notAdmin": "You need to be admin of this board to do that", + "error-board-notAMember": "You need to be a member of this board to do that", + "error-json-malformed": "Your text is not valid JSON", + "error-json-schema": "Your JSON data does not include the proper information in the correct format", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "This list does not exist", + "error-user-doesNotExist": "This user does not exist", + "error-user-notAllowSelf": "You can not invite yourself", + "error-user-notCreated": "This user is not created", + "error-username-taken": "This username is already taken", + "error-email-taken": "Email has already been taken", + "export-board": "Export board", + "export-board-json": "Export board to JSON", + "export-board-csv": "Export board to CSV", + "export-board-tsv": "Export board to TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "Export board", + "sort": "Sort", + "sort-desc": "Click to Sort List", + "list-sort-by": "Sort the List By:", + "list-label-modifiedAt": "Last Access Time", + "list-label-title": "Name of the List", + "list-label-sort": "Your Manual Order", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Filter", + "filter-cards": "Filter Cards or Lists", + "list-filter-label": "Filter List by Title", + "filter-clear": "Clear filter", + "filter-no-label": "No label", + "filter-no-member": "No member", + "filter-no-assignee": "No assignee", + "filter-no-custom-fields": "No Custom Fields", + "filter-show-archive": "Show archived lists", + "filter-hide-empty": "Hide empty lists", + "filter-on": "Filter is on", + "filter-on-desc": "You are filtering cards on this board. Click here to edit filter.", + "filter-to-selection": "Filter to selection", + "advanced-filter-label": "Advanced Filter", + "advanced-filter-description": "Advanced Filter allows to write a string containing following operators: == != <= >= && || ( ) A space is used as a separator between the Operators. You can filter for all Custom Fields by typing their names and values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need to encapsulate them into single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) to be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally all operators are interpreted from left to right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i", + "fullname": "Full Name", + "header-logo-title": "Go back to your boards page.", + "hide-system-messages": "Hide system messages", + "headerBarCreateBoardPopup-title": "Create Board", + "home": "Home", + "import": "Import", + "link": "Link", + "import-board": "import board", + "import-board-c": "Import board", + "import-board-title-trello": "Import board from Trello", + "import-board-title-wekan": "Import board from previous export", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "From Trello", + "from-wekan": "From previous export", + "from-csv": "From CSV/TSV", + "import-board-instruction-trello": "In your Trello board, go to 'Menu', then 'More', 'Print and Export', 'Export JSON', and copy the resulting text.", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "In your board, go to 'Menu', then 'Export board', and copy the text in the downloaded file.", + "import-board-instruction-about-errors": "If you get errors when importing board, sometimes importing still works, and board is at All Boards page.", + "import-json-placeholder": "Paste your valid JSON data here", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "Map members", + "import-members-map": "Your imported board has some members. Please map the members you want to import to your users", + "import-show-user-mapping": "Review members mapping", + "import-user-select": "Pick your existing user you want to use as this member", + "importMapMembersAddPopup-title": "Select member", + "info": "Version", + "initials": "Initials", + "invalid-date": "Invalid date", + "invalid-time": "Invalid time", + "invalid-user": "Invalid user", + "joined": "joined", + "just-invited": "You are just invited to this board", + "keyboard-shortcuts": "Keyboard shortcuts", + "label-create": "Create Label", + "label-default": "%s label (default)", + "label-delete-pop": "There is no undo. This will remove this label from all cards and destroy its history.", + "labels": "Labels", + "language": "Language", + "last-admin-desc": "You can’t change roles because there must be at least one admin.", + "leave-board": "Leave Board", + "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.", + "leaveBoardPopup-title": "Leave Board ?", + "link-card": "Link to this card", + "list-archive-cards": "Move all cards in this list to Archive", + "list-archive-cards-pop": "This will remove all the cards in this list from the board. To view cards in Archive and bring them back to the board, click “Menu” > “Archive”.", + "list-move-cards": "Move all cards in this list", + "list-select-cards": "Select all cards in this list", + "set-color-list": "Set Color", + "listActionPopup-title": "List Actions", + "swimlaneActionPopup-title": "Swimlane Actions", + "swimlaneAddPopup-title": "Add a Swimlane below", + "listImportCardPopup-title": "Import a Trello card", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "More", + "link-list": "Link to this list", + "list-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the list. There is no undo.", + "list-delete-suggest-archive": "You can move a list to Archive to remove it from the board and preserve the activity.", + "lists": "Lists", + "swimlanes": "Swimlanes", + "log-out": "Log Out", + "log-in": "Log In", + "loginPopup-title": "Log In", + "memberMenuPopup-title": "Member Settings", + "members": "Members", + "menu": "Menu", + "move-selection": "Move selection", + "moveCardPopup-title": "Move Card", + "moveCardToBottom-title": "Move to Bottom", + "moveCardToTop-title": "Move to Top", + "moveSelectionPopup-title": "Move selection", + "multi-selection": "Multi-Selection", + "multi-selection-on": "Multi-Selection is on", + "muted": "Muted", + "muted-info": "You will never be notified of any changes in this board", + "my-boards": "My Boards", + "name": "Name", + "no-archived-cards": "No cards in Archive.", + "no-archived-lists": "No lists in Archive.", + "no-archived-swimlanes": "No swimlanes in Archive.", + "no-results": "No results", + "normal": "Normal", + "normal-desc": "Can view and edit cards. Can't change settings.", + "not-accepted-yet": "Invitation not accepted yet", + "notify-participate": "Receive updates to any cards you participate as creater or member", + "notify-watch": "Receive updates to any boards, lists, or cards you’re watching", + "optional": "optional", + "or": "or", + "page-maybe-private": "This page may be private. You may be able to view it by logging in.", + "page-not-found": "Page not found.", + "password": "Password", + "paste-or-dragdrop": "to paste, or drag & drop image file to it (image only)", + "participating": "Participating", + "preview": "Preview", + "previewAttachedImagePopup-title": "Preview", + "previewClipboardImagePopup-title": "Preview", + "private": "Private", + "private-desc": "This board is private. Only people added to the board can view and edit it.", + "profile": "Profile", + "public": "Public", + "public-desc": "This board is public. It's visible to anyone with the link and will show up in search engines like Google. Only people added to the board can edit.", + "quick-access-description": "Star a board to add a shortcut in this bar.", + "remove-cover": "Remove Cover", + "remove-from-board": "Remove from Board", + "remove-label": "Remove Label", + "listDeletePopup-title": "Delete List ?", + "remove-member": "Remove Member", + "remove-member-from-card": "Remove from Card", + "remove-member-pop": "Remove __name__ (__username__) from __boardTitle__? The member will be removed from all cards on this board. They will receive a notification.", + "removeMemberPopup-title": "Remove Member?", + "rename": "Rename", + "rename-board": "Rename Board", + "restore": "Restore", + "save": "Save", + "search": "Search", + "rules": "Rules", + "search-cards": "Search from card/list titles, descriptions and custom fields on this board", + "search-example": "Text to search for?", + "select-color": "Select Color", + "set-wip-limit-value": "Set a limit for the maximum number of tasks in this list", + "setWipLimitPopup-title": "Set WIP Limit", + "shortcut-assign-self": "Assign yourself to current card", + "shortcut-autocomplete-emoji": "Autocomplete emoji", + "shortcut-autocomplete-members": "Autocomplete members", + "shortcut-clear-filters": "Clear all filters", + "shortcut-close-dialog": "បិទផ្ទាំង", + "shortcut-filter-my-cards": "តម្រងកាតរបស់ខ្ញុំ", + "shortcut-show-shortcuts": "Bring up this shortcuts list", + "shortcut-toggle-filterbar": "Toggle Filter Sidebar", + "shortcut-toggle-sidebar": "Toggle Board Sidebar", + "show-cards-minimum-count": "Show cards count if list contains more than", + "sidebar-open": "Open Sidebar", + "sidebar-close": "Close Sidebar", + "signupPopup-title": "បង្កើតគណនីមួយ", + "star-board-title": "Click to star this board. It will show up at top of your boards list.", + "starred-boards": "Starred Boards", + "starred-boards-description": "Starred boards show up at the top of your boards list.", + "subscribe": "Subscribe", + "team": "Team", + "this-board": "this board", + "this-card": "កាតនេះ", + "spent-time-hours": "ចំណាយពេល (ម៉ោង)", + "overtime-hours": "លើសពេល (ម៉ោង)", + "overtime": "លើសពេល", + "has-overtime-cards": "មានកាតលើសពេល", + "has-spenttime-cards": "មានកាតដែលបានចំណាយពេល", + "time": "Time", + "title": "Title", + "tracking": "Tracking", + "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", + "unassign-member": "Unassign member", + "unsaved-description": "You have an unsaved description.", + "unwatch": "Unwatch", + "upload": "Upload", + "upload-avatar": "Upload an avatar", + "uploaded-avatar": "Uploaded an avatar", + "username": "Username", + "view-it": "View it", + "warn-list-archived": "warning: this card is in an list at Archive", + "watch": "Watch", + "watching": "Watching", + "watching-info": "You will be notified of any change in this board", + "welcome-board": "Welcome Board", + "welcome-swimlane": "Milestone 1", + "welcome-list1": "Basics", + "welcome-list2": "Advanced", + "card-templates-swimlane": "Card Templates", + "list-templates-swimlane": "List Templates", + "board-templates-swimlane": "Board Templates", + "what-to-do": "What do you want to do?", + "wipLimitErrorPopup-title": "Invalid WIP Limit", + "wipLimitErrorPopup-dialog-pt1": "The number of tasks in this list is higher than the WIP limit you've defined.", + "wipLimitErrorPopup-dialog-pt2": "Please move some tasks out of this list, or set a higher WIP limit.", + "admin-panel": "Admin Panel", + "settings": "Settings", + "people": "People", + "registration": "Registration", + "disable-self-registration": "Disable Self-Registration", + "invite": "Invite", + "invite-people": "Invite People", + "to-boards": "To board(s)", + "email-addresses": "Email Addresses", + "smtp-host-description": "The address of the SMTP server that handles your emails.", + "smtp-port-description": "The port your SMTP server uses for outgoing emails.", + "smtp-tls-description": "Enable TLS support for SMTP server", + "smtp-host": "SMTP Host", + "smtp-port": "SMTP Port", + "smtp-username": "Username", + "smtp-password": "Password", + "smtp-tls": "TLS support", + "send-from": "From", + "send-smtp-test": "Send a test email to yourself", + "invitation-code": "Invitation Code", + "email-invite-register-subject": "__inviter__ sent you an invitation", + "email-invite-register-text": "Dear __user__,\n\n__inviter__ invites you to kanban board for collaborations.\n\nPlease follow the link below:\n__url__\n\nAnd your invitation code is: __icode__\n\nThanks.", + "email-smtp-test-subject": "SMTP Test Email", + "email-smtp-test-text": "You have successfully sent an email", + "error-invitation-code-not-exist": "Invitation code doesn't exist", + "error-notAuthorized": "You are not authorized to view this page.", + "webhook-title": "Webhook Name", + "webhook-token": "Token (Optional for Authentication)", + "outgoing-webhooks": "Outgoing Webhooks", + "bidirectional-webhooks": "Two-Way Webhooks", + "outgoingWebhooksPopup-title": "Outgoing Webhooks", + "boardCardTitlePopup-title": "Card Title Filter", + "disable-webhook": "Disable This Webhook", + "global-webhook": "Global Webhooks", + "new-outgoing-webhook": "New Outgoing Webhook", + "no-name": "(Unknown)", + "Node_version": "Node version", + "Meteor_version": "Meteor version", + "MongoDB_version": "MongoDB version", + "MongoDB_storage_engine": "MongoDB storage engine", + "MongoDB_Oplog_enabled": "MongoDB Oplog enabled", + "OS_Arch": "OS Arch", + "OS_Cpus": "OS CPU Count", + "OS_Freemem": "OS Free Memory", + "OS_Loadavg": "OS Load Average", + "OS_Platform": "OS Platform", + "OS_Release": "OS Release", + "OS_Totalmem": "OS Total Memory", + "OS_Type": "OS Type", + "OS_Uptime": "OS Uptime", + "days": "days", + "hours": "hours", + "minutes": "minutes", + "seconds": "seconds", + "show-field-on-card": "Show this field on card", + "automatically-field-on-card": "Auto create field to all cards", + "showLabel-field-on-card": "Show field label on minicard", + "yes": "Yes", + "no": "No", + "accounts": "Accounts", + "accounts-allowEmailChange": "Allow Email Change", + "accounts-allowUserNameChange": "Allow Username Change", + "createdAt": "Created at", + "verified": "Verified", + "active": "Active", + "card-received": "Received", + "card-received-on": "Received on", + "card-end": "End", + "card-end-on": "Ends on", + "editCardReceivedDatePopup-title": "Change received date", + "editCardEndDatePopup-title": "Change end date", + "setCardColorPopup-title": "Set color", + "setCardActionsColorPopup-title": "Choose a color", + "setSwimlaneColorPopup-title": "Choose a color", + "setListColorPopup-title": "Choose a color", + "assigned-by": "Assigned By", + "requested-by": "Requested By", + "board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.", + "delete-board-confirm-popup": "All lists, cards, labels, and activities will be deleted and you won't be able to recover the board contents. There is no undo.", + "boardDeletePopup-title": "Delete Board?", + "delete-board": "Delete Board", + "default-subtasks-board": "Subtasks for __board__ board", + "default": "Default", + "queue": "Queue", + "subtask-settings": "Subtasks Settings", + "card-settings": "Card Settings", + "boardSubtaskSettingsPopup-title": "Board Subtasks Settings", + "boardCardSettingsPopup-title": "Card Settings", + "deposit-subtasks-board": "Deposit subtasks to this board:", + "deposit-subtasks-list": "Landing list for subtasks deposited here:", + "show-parent-in-minicard": "Show parent in minicard:", + "prefix-with-full-path": "Prefix with full path", + "prefix-with-parent": "Prefix with parent", + "subtext-with-full-path": "Subtext with full path", + "subtext-with-parent": "Subtext with parent", + "change-card-parent": "Change card's parent", + "parent-card": "Parent card", + "source-board": "Source board", + "no-parent": "Don't show parent", + "activity-added-label": "added label '%s' to %s", + "activity-removed-label": "removed label '%s' from %s", + "activity-delete-attach": "deleted an attachment from %s", + "activity-added-label-card": "added label '%s'", + "activity-removed-label-card": "removed label '%s'", + "activity-delete-attach-card": "deleted an attachment", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "Rule", + "r-add-trigger": "Add trigger", + "r-add-action": "Add action", + "r-board-rules": "Board rules", + "r-add-rule": "Add rule", + "r-view-rule": "View rule", + "r-delete-rule": "Delete rule", + "r-new-rule-name": "New rule title", + "r-no-rules": "No rules", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "When a card", + "r-is": "is", + "r-is-moved": "is moved", + "r-added-to": "Added to", + "r-removed-from": "Removed from", + "r-the-board": "the board", + "r-list": "list", + "set-filter": "Set Filter", + "r-moved-to": "Moved to", + "r-moved-from": "Moved from", + "r-archived": "Moved to Archive", + "r-unarchived": "Restored from Archive", + "r-a-card": "a card", + "r-when-a-label-is": "When a label is", + "r-when-the-label": "When the label", + "r-list-name": "list name", + "r-when-a-member": "When a member is", + "r-when-the-member": "When the member", + "r-name": "name", + "r-when-a-attach": "When an attachment", + "r-when-a-checklist": "When a checklist is", + "r-when-the-checklist": "When the checklist", + "r-completed": "Completed", + "r-made-incomplete": "Made incomplete", + "r-when-a-item": "When a checklist item is", + "r-when-the-item": "When the checklist item", + "r-checked": "Checked", + "r-unchecked": "Unchecked", + "r-move-card-to": "Move card to", + "r-top-of": "Top of", + "r-bottom-of": "Bottom of", + "r-its-list": "its list", + "r-archive": "Move to Archive", + "r-unarchive": "Restore from Archive", + "r-card": "card", + "r-add": "Add", + "r-remove": "Remove", + "r-label": "label", + "r-member": "member", + "r-remove-all": "Remove all members from the card", + "r-set-color": "Set color to", + "r-checklist": "checklist", + "r-check-all": "Check all", + "r-uncheck-all": "Uncheck all", + "r-items-check": "items of checklist", + "r-check": "Check", + "r-uncheck": "Uncheck", + "r-item": "item", + "r-of-checklist": "of checklist", + "r-send-email": "Send an email", + "r-to": "to", + "r-of": "of", + "r-subject": "subject", + "r-rule-details": "Rule details", + "r-d-move-to-top-gen": "Move card to top of its list", + "r-d-move-to-top-spec": "Move card to top of list", + "r-d-move-to-bottom-gen": "Move card to bottom of its list", + "r-d-move-to-bottom-spec": "Move card to bottom of list", + "r-d-send-email": "Send email", + "r-d-send-email-to": "to", + "r-d-send-email-subject": "subject", + "r-d-send-email-message": "message", + "r-d-archive": "Move card to Archive", + "r-d-unarchive": "Restore card from Archive", + "r-d-add-label": "Add label", + "r-d-remove-label": "Remove label", + "r-create-card": "Create new card", + "r-in-list": "in list", + "r-in-swimlane": "in swimlane", + "r-d-add-member": "Add member", + "r-d-remove-member": "Remove member", + "r-d-remove-all-member": "Remove all member", + "r-d-check-all": "Check all items of a list", + "r-d-uncheck-all": "Uncheck all items of a list", + "r-d-check-one": "Check item", + "r-d-uncheck-one": "Uncheck item", + "r-d-check-of-list": "of checklist", + "r-d-add-checklist": "Add checklist", + "r-d-remove-checklist": "Remove checklist", + "r-by": "by", + "r-add-checklist": "Add checklist", + "r-with-items": "with items", + "r-items-list": "item1,item2,item3", + "r-add-swimlane": "Add swimlane", + "r-swimlane-name": "swimlane name", + "r-board-note": "Note: leave a field empty to match every possible value.", + "r-checklist-note": "Note: checklist's items have to be written as comma separated values.", + "r-when-a-card-is-moved": "When a card is moved to another list", + "r-set": "Set", + "r-update": "Update", + "r-datefield": "date field", + "r-df-start-at": "start", + "r-df-due-at": "due", + "r-df-end-at": "end", + "r-df-received-at": "received", + "r-to-current-datetime": "to current date/time", + "r-remove-value-from": "Remove value from", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Authentication method", + "authentication-type": "Authentication type", + "custom-product-name": "Custom Product Name", + "layout": "Layout", + "hide-logo": "Hide Logo", + "add-custom-html-after-body-start": "Add Custom HTML after start", + "add-custom-html-before-body-end": "Add Custom HTML before end", + "error-undefined": "Something went wrong", + "error-ldap-login": "An error occurred while trying to login", + "display-authentication-method": "Display Authentication Method", + "default-authentication-method": "Default Authentication Method", + "duplicate-board": "Duplicate Board", + "people-number": "The number of people is:", + "swimlaneDeletePopup-title": "Delete Swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Restore all", + "delete-all": "Delete all", + "loading": "Loading, please wait.", + "previous_as": "last time was", + "act-a-dueAt": "modified due time to \nWhen: __timeValue__\nWhere: __card__\n previous due was __timeOldValue__", + "act-a-endAt": "modified ending time to __timeValue__ from (__timeOldValue__)", + "act-a-startAt": "modified starting time to __timeValue__ from (__timeOldValue__)", + "act-a-receivedAt": "modified received time to __timeValue__ from (__timeOldValue__)", + "a-dueAt": "modified due time to be", + "a-endAt": "modified ending time to be", + "a-startAt": "modified starting time to be", + "a-receivedAt": "modified received time to be", + "almostdue": "current due time %s is approaching", + "pastdue": "current due time %s is past", + "duenow": "current due time %s is today", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", + "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", + "act-duenow": "was reminding the current due (__timeValue__) of __card__ is now", + "act-atUserComment": "You were mentioned in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Are you sure you want to delete this account? There is no undo.", + "accounts-allowUserDelete": "Allow users to self delete their account", + "hide-minicard-label-text": "Hide minicard label text", + "show-desktop-drag-handles": "Show desktop drag handles", + "assignee": "Assignee", + "cardAssigneesPopup-title": "Assignee", + "addmore-detail": "Add a more detailed description", + "show-on-card": "Show on Card", + "new": "New", + "editUserPopup-title": "Edit User", + "newUserPopup-title": "New User", + "notifications": "Notifications", + "view-all": "View All", + "filter-by-unread": "Filter by Unread", + "mark-all-as-read": "Mark all as read", + "remove-all-read": "Remove all read", + "allow-rename": "Allow Rename", + "allowRenamePopup-title": "Allow Rename", + "start-day-of-week": "Set day of the week start", + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archived", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/ko.i18n.json b/i18n/ko.i18n.json new file mode 100644 index 0000000..fafd4fa --- /dev/null +++ b/i18n/ko.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "확인", + "act-activity-notify": "활동 알림", + "act-addAttachment": "added attachment __attachment__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteAttachment": "deleted attachment __attachment__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addSubtask": "added subtask __subtask__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addedLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removedLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklist": "added checklist __checklist__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklistItem": "added checklist item __checklistItem__ to checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklist": "removed checklist __checklist__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklistItem": "removed checklist item __checklistItem__ from checklist __checkList__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-checkedItem": "checked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncheckedItem": "unchecked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-completeChecklist": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncompleteChecklist": "uncompleted checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addComment": "commented on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-editComment": "edited comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteComment": "deleted comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createBoard": "created board __board__", + "act-createSwimlane": "created swimlane __swimlane__ to board __board__", + "act-createCard": "created card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-createCustomField": "created custom field __customField__ at board __board__", + "act-deleteCustomField": "deleted custom field __customField__ at board __board__", + "act-setCustomField": "edited custom field __customField__: __customFieldValue__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createList": "added list __list__ to board __board__", + "act-addBoardMember": "added member __member__ to board __board__", + "act-archivedBoard": "Board __board__ moved to Archive", + "act-archivedCard": "Card __card__ at list __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedList": "List __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedSwimlane": "Swimlane __swimlane__ at board __board__ moved to Archive", + "act-importBoard": "imported board __board__", + "act-importCard": "imported card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-importList": "imported list __list__ to swimlane __swimlane__ at board __board__", + "act-joinMember": "added member __member__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-moveCard": "moved card __card__ at board __board__ from list __oldList__ at swimlane __oldSwimlane__ to list __list__ at swimlane __swimlane__", + "act-moveCardToOtherBoard": "moved card __card__ from list __oldList__ at swimlane __oldSwimlane__ at board __oldBoard__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-removeBoardMember": "removed member __member__ from board __board__", + "act-restoredCard": "restored card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-unjoinMember": "removed member __member__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "동작", + "activities": "활동 내역", + "activity": "활동 상태", + "activity-added": "%s를 %s에 추가함", + "activity-archived": "%s moved to Archive", + "activity-attached": "%s를 %s에 첨부함", + "activity-created": "%s 생성됨", + "activity-customfield-created": "생성된 사용자 정의 필드 %s", + "activity-excluded": "%s를 %s에서 제외함", + "activity-imported": "imported %s into %s from %s", + "activity-imported-board": "imported %s from %s", + "activity-joined": "%s에 참여", + "activity-moved": "%s를 %s에서 %s로 옮김", + "activity-on": "%s에", + "activity-removed": "%s를 %s에서 삭제함", + "activity-sent": "%s를 %s로 보냄", + "activity-unjoined": "%s에서 멤버 해제", + "activity-subtask-added": "added subtask to %s", + "activity-checked-item": "checked %s in checklist %s of %s", + "activity-unchecked-item": "unchecked %s in checklist %s of %s", + "activity-checklist-added": "%s에 체크리스트를 추가함", + "activity-checklist-removed": "removed a checklist from %s", + "activity-checklist-completed": "completed checklist %s of %s", + "activity-checklist-uncompleted": "uncompleted the checklist %s of %s", + "activity-checklist-item-added": "added checklist item to '%s' in %s", + "activity-checklist-item-removed": "removed a checklist item from '%s' in %s", + "add": "추가", + "activity-checked-item-card": "checked %s in checklist %s", + "activity-unchecked-item-card": "unchecked %s in checklist %s", + "activity-checklist-completed-card": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "activity-checklist-uncompleted-card": "uncompleted the checklist %s", + "activity-editComment": "수정된 댓글", + "activity-deleteComment": "삭제된 댓글", + "add-attachment": "첨부파일 추가", + "add-board": "보드 추가", + "add-card": "카드 추가", + "add-swimlane": "Add Swimlane", + "add-subtask": "Add Subtask", + "add-checklist": "체크리스트 추가", + "add-checklist-item": "체크리스트에 항목 추가", + "add-cover": "커버 추가", + "add-label": "라벨 추가", + "add-list": "리스트 추가", + "add-members": "멤버 추가", + "added": "추가됨", + "addMemberPopup-title": "멤버", + "admin": "관리자", + "admin-desc": "카드를 보거나 수정하고, 멤버를 삭제하고, 보드에 대한 설정을 수정할 수 있습니다.", + "admin-announcement": "공지사항", + "admin-announcement-active": "시스템에 공지사항을 표시합니다", + "admin-announcement-title": "관리자 공지사항 메시지", + "all-boards": "전체 보드", + "and-n-other-card": "__count__ 개의 다른 카드", + "and-n-other-card_plural": "__count__ 개의 다른 카드들", + "apply": "적용", + "app-is-offline": "Loading, please wait. Refreshing the page will cause data loss. If loading does not work, please check that server has not stopped.", + "archive": "Move to Archive", + "archive-all": "Move All to Archive", + "archive-board": "Move Board to Archive", + "archive-card": "Move Card to Archive", + "archive-list": "Move List to Archive", + "archive-swimlane": "Move Swimlane to Archive", + "archive-selection": "Move selection to Archive", + "archiveBoardPopup-title": "Move Board to Archive?", + "archived-items": "보관", + "archived-boards": "Boards in Archive", + "restore-board": "보드 복구", + "no-archived-boards": "No Boards in Archive.", + "archives": "보관", + "template": "Template", + "templates": "Templates", + "assign-member": "멤버 지정", + "attached": "첨부됨", + "attachment": "첨부 파일", + "attachment-delete-pop": "영구 첨부파일을 삭제합니다. 되돌릴 수 없습니다.", + "attachmentDeletePopup-title": "첨부 파일을 삭제합니까?", + "attachments": "첨부 파일", + "auto-watch": "생성한 보드를 자동으로 감시합니다.", + "avatar-too-big": "아바타 파일이 너무 큽니다. (최대 70KB)", + "back": "뒤로", + "board-change-color": "보드 색 변경", + "board-nb-stars": "%s개의 별", + "board-not-found": "보드를 찾을 수 없습니다", + "board-private-info": "이 보드는 비공개입니다.", + "board-public-info": "이 보드는 공개로 설정됩니다", + "boardChangeColorPopup-title": "보드 배경 변경", + "boardChangeTitlePopup-title": "보드 이름 바꾸기", + "boardChangeVisibilityPopup-title": "표시 여부 변경", + "boardChangeWatchPopup-title": "감시상태 변경", + "boardMenuPopup-title": "Board Settings", + "boardChangeViewPopup-title": "Board View", + "boards": "보드", + "board-view": "Board View", + "board-view-cal": "Calendar", + "board-view-swimlanes": "Swimlanes", + "board-view-collapse": "Collapse", + "board-view-lists": "목록들", + "bucket-example": "예: “프로젝트 이름“ 입력", + "cancel": "취소", + "card-archived": "This card is moved to Archive.", + "board-archived": "This board is moved to Archive.", + "card-comments-title": "이 카드에 %s 코멘트가 있습니다.", + "card-delete-notice": "영구 삭제입니다. 이 카드와 관련된 모든 작업들을 잃게됩니다.", + "card-delete-pop": "모든 작업이 활동 내역에서 제거되며 카드를 다시 열 수 없습니다. 복구가 안되니 주의하시기 바랍니다.", + "card-delete-suggest-archive": "You can move a card to Archive to remove it from the board and preserve the activity.", + "card-due": "마감기한", + "card-due-on": "종료일", + "card-spent": "Spent Time", + "card-edit-attachments": "첨부 파일 수정", + "card-edit-custom-fields": "Edit custom fields", + "card-edit-labels": "라벨 수정", + "card-edit-members": "멤버 수정", + "card-labels-title": "카드의 라벨 변경.", + "card-members-title": "카드에서 보드의 멤버를 추가하거나 삭제합니다.", + "card-start": "시작일", + "card-start-on": "시작일", + "cardAttachmentsPopup-title": "첨부 파일", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", + "cardStartVotingPopup-title": "Start a vote", + "positiveVoteMembersPopup-title": "Proponents", + "negativeVoteMembersPopup-title": "Opponents", + "card-edit-voting": "Edit voting", + "editVoteEndDatePopup-title": "Change vote end date", + "allowNonBoardMembers": "Allow all logged in users", + "vote-question": "Voting question", + "vote-public": "Show who voted what", + "vote-for-it": "for it", + "vote-against": "against", + "deleteVotePopup-title": "Delete vote?", + "vote-delete-pop": "Deleting is permanent. You will lose all actions associated with this vote.", + "cardDeletePopup-title": "카드를 삭제합니까?", + "cardDetailsActionsPopup-title": "카드 액션", + "cardLabelsPopup-title": "라벨", + "cardMembersPopup-title": "멤버", + "cardMorePopup-title": "더보기", + "cardTemplatePopup-title": "Create template", + "cards": "카드", + "cards-count": "카드", + "casSignIn": "Sign In with CAS", + "cardType-card": "Card", + "cardType-linkedCard": "Linked Card", + "cardType-linkedBoard": "Linked Board", + "change": "변경", + "change-avatar": "아바타 변경", + "change-password": "암호 변경", + "change-permissions": "권한 변경", + "change-settings": "설정 변경", + "changeAvatarPopup-title": "아바타 변경", + "changeLanguagePopup-title": "언어 변경", + "changePasswordPopup-title": "암호 변경", + "changePermissionsPopup-title": "권한 변경", + "changeSettingsPopup-title": "설정 변경", + "subtasks": "Subtasks", + "checklists": "체크리스트", + "click-to-star": "보드에 별 추가.", + "click-to-unstar": "보드에 별 삭제.", + "clipboard": "클립보드 또는 드래그 앤 드롭", + "close": "닫기", + "close-board": "보드 닫기", + "close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.", + "color-black": "블랙", + "color-blue": "블루", + "color-crimson": "crimson", + "color-darkgreen": "darkgreen", + "color-gold": "gold", + "color-gray": "gray", + "color-green": "그린", + "color-indigo": "indigo", + "color-lime": "라임", + "color-magenta": "magenta", + "color-mistyrose": "mistyrose", + "color-navy": "navy", + "color-orange": "오렌지", + "color-paleturquoise": "paleturquoise", + "color-peachpuff": "peachpuff", + "color-pink": "핑크", + "color-plum": "plum", + "color-purple": "퍼플", + "color-red": "레드", + "color-saddlebrown": "saddlebrown", + "color-silver": "silver", + "color-sky": "스카이", + "color-slateblue": "slateblue", + "color-white": "white", + "color-yellow": "옐로우", + "unset-color": "Unset", + "comment": "댓글", + "comment-placeholder": "댓글 입력", + "comment-only": "댓글만 입력 가능", + "comment-only-desc": "카드에 댓글만 달수 있습니다.", + "no-comments": "댓글 없음", + "no-comments-desc": "댓글과 활동내역을 볼 수 없습니다.", + "worker": "Worker", + "worker-desc": "Can only move cards, assign itself to card and comment.", + "computer": "내 컴퓨터", + "confirm-subtask-delete-dialog": "Are you sure you want to delete subtask?", + "confirm-checklist-delete-dialog": "정말로 체크리스트를 삭제하실 건가요?", + "copy-card-link-to-clipboard": "클립보드에 카드의 링크가 복사되었습니다.", + "linkCardPopup-title": "Link Card", + "searchElementPopup-title": "검색", + "copyCardPopup-title": "카드 복사", + "copyChecklistToManyCardsPopup-title": "Copy Checklist Template to Many Cards", + "copyChecklistToManyCardsPopup-instructions": "Destination Card Titles and Descriptions in this JSON format", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"First card title\", \"description\":\"First card description\"}, {\"title\":\"Second card title\",\"description\":\"Second card description\"},{\"title\":\"Last card title\",\"description\":\"Last card description\"} ]", + "create": "생성", + "createBoardPopup-title": "보드 생성", + "chooseBoardSourcePopup-title": "보드 가져오기", + "createLabelPopup-title": "라벨 생성", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", + "current": "경향", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-currency": "Currency", + "custom-field-currency-option": "Currency Code", + "custom-field-date": "날짜", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", + "date": "날짜", + "decline": "쇠퇴", + "default-avatar": "기본 아바타", + "delete": "삭제", + "deleteCustomFieldPopup-title": "Delete Custom Field?", + "deleteLabelPopup-title": "라벨을 삭제합니까?", + "description": "설명", + "disambiguateMultiLabelPopup-title": "라벨 액션의 모호성 제거", + "disambiguateMultiMemberPopup-title": "멤버 액션의 모호성 제거", + "discard": "포기", + "done": "완료", + "download": "다운로드", + "edit": "수정", + "edit-avatar": "아바타 변경", + "edit-profile": "프로필 변경", + "edit-wip-limit": "WIP 제한 변경", + "soft-wip-limit": "원만한 WIP 제한", + "editCardStartDatePopup-title": "시작일 변경", + "editCardDueDatePopup-title": "종료일 변경", + "editCustomFieldPopup-title": "Edit Field", + "editCardSpentTimePopup-title": "Change spent time", + "editLabelPopup-title": "라벨 변경", + "editNotificationPopup-title": "알림 수정", + "editProfilePopup-title": "프로필 변경", + "email": "이메일", + "email-enrollAccount-subject": "__siteName__에 계정 생성이 완료되었습니다.", + "email-enrollAccount-text": "안녕하세요. __user__님,\n\n시작하려면 아래링크를 클릭해 주세요.\n\n__url__\n\n감사합니다.", + "email-fail": "이메일 전송 실패", + "email-fail-text": "Error trying to send email", + "email-invalid": "잘못된 이메일 주소", + "email-invite": "이메일로 초대", + "email-invite-subject": "__inviter__님이 당신을 초대하였습니다.", + "email-invite-text": "__user__님,\n\n__inviter__님이 협업을 위해 \"__board__\"보드에 가입하도록 초대하셨습니다.\n\n아래 링크를 클릭해주십시오.\n\n__url__\n\n감사합니다.", + "email-resetPassword-subject": "패스워드 초기화: __siteName__", + "email-resetPassword-text": "안녕하세요 __user__님,\n\n비밀번호를 재설정하려면 아래 링크를 클릭하십시오.\n\n__url__\n\n감사합니다.", + "email-sent": "이메일 전송", + "email-verifyEmail-subject": "이메일 인증: __siteName__", + "email-verifyEmail-text": "안녕하세요. __user__님,\n\n당신의 계정과 이메일을 활성하려면 아래 링크를 클릭하십시오.\n\n__url__\n\n감사합니다.", + "enable-wip-limit": "WIP 제한 활성화", + "error-board-doesNotExist": "보드가 없습니다.", + "error-board-notAdmin": "이 작업은 보드의 관리자만 실행할 수 있습니다.", + "error-board-notAMember": "이 작업은 보드의 멤버만 실행할 수 있습니다.", + "error-json-malformed": "텍스트가 JSON 형식에 유효하지 않습니다.", + "error-json-schema": "JSON 데이터에 정보가 올바른 형식으로 포함되어 있지 않습니다.", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "목록이 없습니다.", + "error-user-doesNotExist": "멤버의 정보가 없습니다.", + "error-user-notAllowSelf": "자기 자신을 초대할 수 없습니다.", + "error-user-notCreated": "유저가 생성되지 않았습니다.", + "error-username-taken": "중복된 아이디 입니다.", + "error-email-taken": "Email has already been taken", + "export-board": "보드 내보내기", + "export-board-json": "Export board to JSON", + "export-board-csv": "Export board to CSV", + "export-board-tsv": "Export board to TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "보드 내보내기", + "sort": "Sort", + "sort-desc": "Click to Sort List", + "list-sort-by": "Sort the List By:", + "list-label-modifiedAt": "Last Access Time", + "list-label-title": "Name of the List", + "list-label-sort": "Your Manual Order", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "필터", + "filter-cards": "Filter Cards or Lists", + "list-filter-label": "Filter List by Title", + "filter-clear": "필터 초기화", + "filter-no-label": "라벨 없음", + "filter-no-member": "멤버 없음", + "filter-no-assignee": "No assignee", + "filter-no-custom-fields": "No Custom Fields", + "filter-show-archive": "Show archived lists", + "filter-hide-empty": "Hide empty lists", + "filter-on": "필터 사용", + "filter-on-desc": "보드에서 카드를 필터링합니다. 여기를 클릭하여 필터를 수정합니다.", + "filter-to-selection": "선택 항목으로 필터링", + "advanced-filter-label": "Advanced Filter", + "advanced-filter-description": "Advanced Filter allows to write a string containing following operators: == != <= >= && || ( ) A space is used as a separator between the Operators. You can filter for all Custom Fields by typing their names and values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need to encapsulate them into single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) to be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally all operators are interpreted from left to right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i", + "fullname": "실명", + "header-logo-title": "보드 페이지로 돌아가기.", + "hide-system-messages": "시스템 메시지 숨기기", + "headerBarCreateBoardPopup-title": "보드 생성", + "home": "홈", + "import": "가져오기", + "link": "Link", + "import-board": "보드 가져오기", + "import-board-c": "보드 가져오기", + "import-board-title-trello": "Trello에서 보드 가져오기", + "import-board-title-wekan": "Import board from previous export", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "From Trello", + "from-wekan": "From previous export", + "from-csv": "From CSV/TSV", + "import-board-instruction-trello": "Trello 게시판에서 'Menu' -> 'More' -> 'Print and Export', 'Export JSON' 선택하여 텍스트 결과값 복사", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "In your board, go to 'Menu', then 'Export board', and copy the text in the downloaded file.", + "import-board-instruction-about-errors": "If you get errors when importing board, sometimes importing still works, and board is at All Boards page.", + "import-json-placeholder": "유효한 JSON 데이터를 여기에 붙여 넣으십시오.", + "import-csv-placeholder": "유효한 CSV/TSV 정보를 붙여 넣으십시오.", + "import-map-members": "보드 멤버들", + "import-members-map": "Your imported board has some members. Please map the members you want to import to your users", + "import-show-user-mapping": "멤버 매핑 미리보기", + "import-user-select": "Pick your existing user you want to use as this member", + "importMapMembersAddPopup-title": "Select member", + "info": "Version", + "initials": "이니셜", + "invalid-date": "적절하지 않은 날짜", + "invalid-time": "적절하지 않은 시각", + "invalid-user": "적절하지 않은 사용자", + "joined": "참가함", + "just-invited": "보드에 방금 초대되었습니다.", + "keyboard-shortcuts": "키보드 단축키", + "label-create": "라벨 생성", + "label-default": "%s 라벨 (기본)", + "label-delete-pop": "되돌릴 수 없습니다. 모든 카드에서 라벨을 제거하고, 이력을 제거합니다.", + "labels": "라벨", + "language": "언어", + "last-admin-desc": "적어도 하나의 관리자가 필요하기에 이 역할을 변경할 수 없습니다.", + "leave-board": "보드 멤버에서 나가기", + "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.", + "leaveBoardPopup-title": "Leave Board ?", + "link-card": "카드에대한 링크", + "list-archive-cards": "Move all cards in this list to Archive", + "list-archive-cards-pop": "This will remove all the cards in this list from the board. To view cards in Archive and bring them back to the board, click “Menu” > “Archive”.", + "list-move-cards": "목록에 있는 모든 카드를 이동", + "list-select-cards": "목록에 있는 모든 카드를 선택", + "set-color-list": "Set Color", + "listActionPopup-title": "동작 목록", + "swimlaneActionPopup-title": "Swimlane Actions", + "swimlaneAddPopup-title": "Add a Swimlane below", + "listImportCardPopup-title": "Trello 카드 가져 오기", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "더보기", + "link-list": "이 리스트에 링크", + "list-delete-pop": "모든 작업이 활동내역에서 제거되며 리스트를 복구 할 수 없습니다. 실행 취소는 불가능 합니다.", + "list-delete-suggest-archive": "You can move a list to Archive to remove it from the board and preserve the activity.", + "lists": "목록들", + "swimlanes": "Swimlanes", + "log-out": "로그아웃", + "log-in": "로그인", + "loginPopup-title": "로그인", + "memberMenuPopup-title": "멤버 설정", + "members": "멤버", + "menu": "메뉴", + "move-selection": "선택 항목 이동", + "moveCardPopup-title": "카드 이동", + "moveCardToBottom-title": "최하단으로 이동", + "moveCardToTop-title": "최상단으로 이동", + "moveSelectionPopup-title": "선택 항목 이동", + "multi-selection": "다중 선택", + "multi-selection-on": "다중 선택 사용", + "muted": "알림 해제", + "muted-info": "보드의 변경된 사항들의 알림을 받지 않습니다.", + "my-boards": "내 보드", + "name": "이름", + "no-archived-cards": "No cards in Archive.", + "no-archived-lists": "No lists in Archive.", + "no-archived-swimlanes": "No swimlanes in Archive.", + "no-results": "결과 값 없음", + "normal": "표준", + "normal-desc": "카드를 보거나 수정할 수 있습니다. 설정값은 변경할 수 없습니다.", + "not-accepted-yet": "초대장이 수락되지 않았습니다.", + "notify-participate": "보드 생성자 또는 멤버로 참여하는 모든 카드에 대한 변경사항 알림 받음", + "notify-watch": "감시중인 보드, 목록 또는 카드에 대한 변경사항 알림 받음", + "optional": "옵션", + "or": "또는", + "page-maybe-private": "이 페이지를 비공개일 수 있습니다. 이것을 보고 싶으면 로그인을 하십시오.", + "page-not-found": "페이지를 찾지 못 했습니다", + "password": "암호", + "paste-or-dragdrop": "이미지 파일을 붙여 넣거나 드래그 앤 드롭 (이미지 전용)", + "participating": "참여", + "preview": "미리보기", + "previewAttachedImagePopup-title": "미리보기", + "previewClipboardImagePopup-title": "미리보기", + "private": "비공개", + "private-desc": "비공개된 보드입니다. 오직 보드에 추가된 사람들만 보고 수정할 수 있습니다", + "profile": "프로파일", + "public": "공개", + "public-desc": "공개된 보드입니다. 링크를 가진 모든 사람과 구글과 같은 검색 엔진에서 찾아서 볼수 있습니다. 보드에 추가된 사람들만 수정이 가능합니다.", + "quick-access-description": "여기에 바로 가기를 추가하려면 보드에 별 표시를 체크하세요.", + "remove-cover": "커버 제거", + "remove-from-board": "보드에서 제거", + "remove-label": "라벨 제거", + "listDeletePopup-title": "리스트를 삭제합니까?", + "remove-member": "멤버 제거", + "remove-member-from-card": "카드에서 제거", + "remove-member-pop": "__boardTitle__에서 __name__(__username__) 을 제거합니까? 이 보드의 모든 카드에서 제거됩니다. 해당 내용을 __name__(__username__) 은(는) 알림으로 받게됩니다.", + "removeMemberPopup-title": "멤버를 제거합니까?", + "rename": "새이름", + "rename-board": "보드 이름 바꾸기", + "restore": "복구", + "save": "저장", + "search": "검색", + "rules": "Rules", + "search-cards": "Search from card/list titles, descriptions and custom fields on this board", + "search-example": "Text to search for?", + "select-color": "색 선택", + "set-wip-limit-value": "Set a limit for the maximum number of tasks in this list", + "setWipLimitPopup-title": "Set WIP Limit", + "shortcut-assign-self": "현재 카드에 자신을 지정하세요.", + "shortcut-autocomplete-emoji": "이모티콘 자동완성", + "shortcut-autocomplete-members": "멤버 자동완성", + "shortcut-clear-filters": "모든 필터 초기화", + "shortcut-close-dialog": "대화 상자 닫기", + "shortcut-filter-my-cards": "내 카드 필터링", + "shortcut-show-shortcuts": "바로가기 목록을 가져오십시오.", + "shortcut-toggle-filterbar": "토글 필터 사이드바", + "shortcut-toggle-sidebar": "보드 사이드바 토글", + "show-cards-minimum-count": "목록에 카드 수량 표시(입력된 수량 넘을 경우 표시)", + "sidebar-open": "사이드바 열기", + "sidebar-close": "사이드바 닫기", + "signupPopup-title": "계정 생성", + "star-board-title": "보드에 별 표시를 클릭합니다. 보드 목록에서 최상위로 둘 수 있습니다.", + "starred-boards": "별표된 보드", + "starred-boards-description": "별 표시된 보드들은 보드 목록의 최상단에서 보입니다.", + "subscribe": "구독", + "team": "팀", + "this-board": "보드", + "this-card": "카드", + "spent-time-hours": "Spent time (hours)", + "overtime-hours": "Overtime (hours)", + "overtime": "Overtime", + "has-overtime-cards": "Has overtime cards", + "has-spenttime-cards": "Has spent time cards", + "time": "시간", + "title": "제목", + "tracking": "추적", + "tracking-info": "보드 생성자 또는 멤버로 참여하는 모든 카드에 대한 변경사항 알림 받음", + "type": "Type", + "unassign-member": "멤버 할당 해제", + "unsaved-description": "저장되지 않은 설명이 있습니다.", + "unwatch": "감시 해제", + "upload": "업로드", + "upload-avatar": "아바타 업로드", + "uploaded-avatar": "업로드한 아바타", + "username": "아이디", + "view-it": "보기", + "warn-list-archived": "warning: this card is in an list at Archive", + "watch": "감시", + "watching": "감시 중", + "watching-info": "\"이 보드의 변경사항을 알림으로 받습니다.", + "welcome-board": "보드예제", + "welcome-swimlane": "Milestone 1", + "welcome-list1": "신규", + "welcome-list2": "진행", + "card-templates-swimlane": "Card Templates", + "list-templates-swimlane": "List Templates", + "board-templates-swimlane": "Board Templates", + "what-to-do": "무엇을 하고 싶으신가요?", + "wipLimitErrorPopup-title": "Invalid WIP Limit", + "wipLimitErrorPopup-dialog-pt1": "The number of tasks in this list is higher than the WIP limit you've defined.", + "wipLimitErrorPopup-dialog-pt2": "Please move some tasks out of this list, or set a higher WIP limit.", + "admin-panel": "관리자 패널", + "settings": "설정", + "people": "사람", + "registration": "회원가입", + "disable-self-registration": "일반 유저의 회원 가입 막기", + "invite": "초대", + "invite-people": "사람 초대", + "to-boards": "보드로 부터", + "email-addresses": "이메일 주소", + "smtp-host-description": "이메일을 처리하는 SMTP 서버의 주소입니다.", + "smtp-port-description": "SMTP 서버가 보내는 전자 메일에 사용하는 포트입니다.", + "smtp-tls-description": "SMTP 서버에 TLS 지원 사용", + "smtp-host": "SMTP 호스트", + "smtp-port": "SMTP 포트", + "smtp-username": "사용자 이름", + "smtp-password": "암호", + "smtp-tls": "TLS 지원", + "send-from": "보낸 사람", + "send-smtp-test": "Send a test email to yourself", + "invitation-code": "초대 코드", + "email-invite-register-subject": "\"__inviter__ 님이 당신에게 초대장을 보냈습니다.", + "email-invite-register-text": "Dear __user__,\n\n__inviter__ invites you to kanban board for collaborations.\n\nPlease follow the link below:\n__url__\n\nAnd your invitation code is: __icode__\n\nThanks.", + "email-smtp-test-subject": "SMTP Test Email", + "email-smtp-test-text": "테스트 메일을 성공적으로 발송하였습니다.", + "error-invitation-code-not-exist": "초대 코드가 존재하지 않습니다.", + "error-notAuthorized": "이 페이지를 볼 수있는 권한이 없습니다.", + "webhook-title": "Webhook Name", + "webhook-token": "Token (Optional for Authentication)", + "outgoing-webhooks": "Outgoing Webhooks", + "bidirectional-webhooks": "Two-Way Webhooks", + "outgoingWebhooksPopup-title": "Outgoing Webhooks", + "boardCardTitlePopup-title": "Card Title Filter", + "disable-webhook": "Disable This Webhook", + "global-webhook": "Global Webhooks", + "new-outgoing-webhook": "New Outgoing Webhook", + "no-name": "(Unknown)", + "Node_version": "Node version", + "Meteor_version": "Meteor version", + "MongoDB_version": "MongoDB version", + "MongoDB_storage_engine": "MongoDB storage engine", + "MongoDB_Oplog_enabled": "MongoDB Oplog enabled", + "OS_Arch": "OS Arch", + "OS_Cpus": "OS CPU Count", + "OS_Freemem": "OS Free Memory", + "OS_Loadavg": "OS Load Average", + "OS_Platform": "OS Platform", + "OS_Release": "OS Release", + "OS_Totalmem": "OS Total Memory", + "OS_Type": "OS Type", + "OS_Uptime": "OS Uptime", + "days": "days", + "hours": "hours", + "minutes": "minutes", + "seconds": "seconds", + "show-field-on-card": "Show this field on card", + "automatically-field-on-card": "Auto create field to all cards", + "showLabel-field-on-card": "Show field label on minicard", + "yes": "Yes", + "no": "No", + "accounts": "Accounts", + "accounts-allowEmailChange": "Allow Email Change", + "accounts-allowUserNameChange": "Allow Username Change", + "createdAt": "Created at", + "verified": "Verified", + "active": "Active", + "card-received": "Received", + "card-received-on": "Received on", + "card-end": "종료일", + "card-end-on": "Ends on", + "editCardReceivedDatePopup-title": "Change received date", + "editCardEndDatePopup-title": "Change end date", + "setCardColorPopup-title": "Set color", + "setCardActionsColorPopup-title": "색상 선택", + "setSwimlaneColorPopup-title": "색상 선택", + "setListColorPopup-title": "색상 선택", + "assigned-by": "Assigned By", + "requested-by": "Requested By", + "board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.", + "delete-board-confirm-popup": "모든 목록, 카드, 레이블 및 활동이 삭제되고 보드 내용을 복구할 수 없습니다. 실행 취소는 불가능합니다.", + "boardDeletePopup-title": "Delete Board?", + "delete-board": "보드 삭제", + "default-subtasks-board": "Subtasks for __board__ board", + "default": "Default", + "queue": "Queue", + "subtask-settings": "Subtasks Settings", + "card-settings": "카드 설정", + "boardSubtaskSettingsPopup-title": "Board Subtasks Settings", + "boardCardSettingsPopup-title": "카드 설정", + "deposit-subtasks-board": "Deposit subtasks to this board:", + "deposit-subtasks-list": "Landing list for subtasks deposited here:", + "show-parent-in-minicard": "Show parent in minicard:", + "prefix-with-full-path": "Prefix with full path", + "prefix-with-parent": "Prefix with parent", + "subtext-with-full-path": "Subtext with full path", + "subtext-with-parent": "Subtext with parent", + "change-card-parent": "Change card's parent", + "parent-card": "Parent card", + "source-board": "Source board", + "no-parent": "Don't show parent", + "activity-added-label": "added label '%s' to %s", + "activity-removed-label": "removed label '%s' from %s", + "activity-delete-attach": "deleted an attachment from %s", + "activity-added-label-card": "라벨 '%s' 추가", + "activity-removed-label-card": "라벨 '%s' 제거", + "activity-delete-attach-card": "첨부 파일 제거", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "Rule", + "r-add-trigger": "Add trigger", + "r-add-action": "Add action", + "r-board-rules": "Board rules", + "r-add-rule": "Add rule", + "r-view-rule": "View rule", + "r-delete-rule": "Delete rule", + "r-new-rule-name": "New rule title", + "r-no-rules": "No rules", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "When a card", + "r-is": "is", + "r-is-moved": "is moved", + "r-added-to": "Added to", + "r-removed-from": "Removed from", + "r-the-board": "the board", + "r-list": "list", + "set-filter": "Set Filter", + "r-moved-to": "Moved to", + "r-moved-from": "Moved from", + "r-archived": "Moved to Archive", + "r-unarchived": "Restored from Archive", + "r-a-card": "a card", + "r-when-a-label-is": "When a label is", + "r-when-the-label": "When the label", + "r-list-name": "list name", + "r-when-a-member": "When a member is", + "r-when-the-member": "When the member", + "r-name": "name", + "r-when-a-attach": "When an attachment", + "r-when-a-checklist": "When a checklist is", + "r-when-the-checklist": "When the checklist", + "r-completed": "Completed", + "r-made-incomplete": "Made incomplete", + "r-when-a-item": "When a checklist item is", + "r-when-the-item": "When the checklist item", + "r-checked": "Checked", + "r-unchecked": "Unchecked", + "r-move-card-to": "Move card to", + "r-top-of": "Top of", + "r-bottom-of": "Bottom of", + "r-its-list": "its list", + "r-archive": "Move to Archive", + "r-unarchive": "Restore from Archive", + "r-card": "card", + "r-add": "추가", + "r-remove": "Remove", + "r-label": "label", + "r-member": "member", + "r-remove-all": "Remove all members from the card", + "r-set-color": "Set color to", + "r-checklist": "checklist", + "r-check-all": "Check all", + "r-uncheck-all": "Uncheck all", + "r-items-check": "items of checklist", + "r-check": "Check", + "r-uncheck": "Uncheck", + "r-item": "item", + "r-of-checklist": "of checklist", + "r-send-email": "Send an email", + "r-to": "to", + "r-of": "of", + "r-subject": "subject", + "r-rule-details": "Rule details", + "r-d-move-to-top-gen": "Move card to top of its list", + "r-d-move-to-top-spec": "Move card to top of list", + "r-d-move-to-bottom-gen": "Move card to bottom of its list", + "r-d-move-to-bottom-spec": "Move card to bottom of list", + "r-d-send-email": "Send email", + "r-d-send-email-to": "to", + "r-d-send-email-subject": "subject", + "r-d-send-email-message": "message", + "r-d-archive": "Move card to Archive", + "r-d-unarchive": "Restore card from Archive", + "r-d-add-label": "Add label", + "r-d-remove-label": "Remove label", + "r-create-card": "Create new card", + "r-in-list": "목록에", + "r-in-swimlane": "in swimlane", + "r-d-add-member": "Add member", + "r-d-remove-member": "Remove member", + "r-d-remove-all-member": "Remove all member", + "r-d-check-all": "Check all items of a list", + "r-d-uncheck-all": "Uncheck all items of a list", + "r-d-check-one": "Check item", + "r-d-uncheck-one": "Uncheck item", + "r-d-check-of-list": "of checklist", + "r-d-add-checklist": "Add checklist", + "r-d-remove-checklist": "Remove checklist", + "r-by": "by", + "r-add-checklist": "Add checklist", + "r-with-items": "with items", + "r-items-list": "item1,item2,item3", + "r-add-swimlane": "Add swimlane", + "r-swimlane-name": "swimlane name", + "r-board-note": "Note: leave a field empty to match every possible value.", + "r-checklist-note": "Note: checklist's items have to be written as comma separated values.", + "r-when-a-card-is-moved": "When a card is moved to another list", + "r-set": "Set", + "r-update": "Update", + "r-datefield": "date field", + "r-df-start-at": "start", + "r-df-due-at": "due", + "r-df-end-at": "end", + "r-df-received-at": "received", + "r-to-current-datetime": "to current date/time", + "r-remove-value-from": "Remove value from", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Authentication method", + "authentication-type": "Authentication type", + "custom-product-name": "Custom Product Name", + "layout": "Layout", + "hide-logo": "Hide Logo", + "add-custom-html-after-body-start": "Add Custom HTML after start", + "add-custom-html-before-body-end": "Add Custom HTML before end", + "error-undefined": "Something went wrong", + "error-ldap-login": "An error occurred while trying to login", + "display-authentication-method": "Display Authentication Method", + "default-authentication-method": "Default Authentication Method", + "duplicate-board": "Duplicate Board", + "people-number": "The number of people is:", + "swimlaneDeletePopup-title": "Delete Swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "모든항목 복구", + "delete-all": "모두 삭제", + "loading": "Loading, please wait.", + "previous_as": "last time was", + "act-a-dueAt": "modified due time to \nWhen: __timeValue__\nWhere: __card__\n previous due was __timeOldValue__", + "act-a-endAt": "modified ending time to __timeValue__ from (__timeOldValue__)", + "act-a-startAt": "modified starting time to __timeValue__ from (__timeOldValue__)", + "act-a-receivedAt": "modified received time to __timeValue__ from (__timeOldValue__)", + "a-dueAt": "modified due time to be", + "a-endAt": "modified ending time to be", + "a-startAt": "modified starting time to be", + "a-receivedAt": "modified received time to be", + "almostdue": "current due time %s is approaching", + "pastdue": "current due time %s is past", + "duenow": "current due time %s is today", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", + "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", + "act-duenow": "was reminding the current due (__timeValue__) of __card__ is now", + "act-atUserComment": "You were mentioned in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Are you sure you want to delete this account? There is no undo.", + "accounts-allowUserDelete": "Allow users to self delete their account", + "hide-minicard-label-text": "Hide minicard label text", + "show-desktop-drag-handles": "Show desktop drag handles", + "assignee": "Assignee", + "cardAssigneesPopup-title": "Assignee", + "addmore-detail": "Add a more detailed description", + "show-on-card": "Show on Card", + "new": "New", + "editUserPopup-title": "Edit User", + "newUserPopup-title": "New User", + "notifications": "알림", + "view-all": "View All", + "filter-by-unread": "Filter by Unread", + "mark-all-as-read": "Mark all as read", + "remove-all-read": "Remove all read", + "allow-rename": "Allow Rename", + "allowRenamePopup-title": "Allow Rename", + "start-day-of-week": "Set day of the week start", + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archived", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/lv.i18n.json b/i18n/lv.i18n.json new file mode 100644 index 0000000..5f0a821 --- /dev/null +++ b/i18n/lv.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Piekrist", + "act-activity-notify": "Activity Notification", + "act-addAttachment": "added attachment __attachment__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteAttachment": "deleted attachment __attachment__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addSubtask": "added subtask __subtask__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addedLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removedLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklist": "added checklist __checklist__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklistItem": "added checklist item __checklistItem__ to checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklist": "removed checklist __checklist__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklistItem": "removed checklist item __checklistItem__ from checklist __checkList__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-checkedItem": "checked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncheckedItem": "unchecked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-completeChecklist": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncompleteChecklist": "uncompleted checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addComment": "commented on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-editComment": "edited comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteComment": "deleted comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createBoard": "created board __board__", + "act-createSwimlane": "created swimlane __swimlane__ to board __board__", + "act-createCard": "created card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-createCustomField": "created custom field __customField__ at board __board__", + "act-deleteCustomField": "deleted custom field __customField__ at board __board__", + "act-setCustomField": "edited custom field __customField__: __customFieldValue__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createList": "added list __list__ to board __board__", + "act-addBoardMember": "added member __member__ to board __board__", + "act-archivedBoard": "Board __board__ moved to Archive", + "act-archivedCard": "Card __card__ at list __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedList": "List __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedSwimlane": "Swimlane __swimlane__ at board __board__ moved to Archive", + "act-importBoard": "imported board __board__", + "act-importCard": "imported card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-importList": "imported list __list__ to swimlane __swimlane__ at board __board__", + "act-joinMember": "added member __member__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-moveCard": "moved card __card__ at board __board__ from list __oldList__ at swimlane __oldSwimlane__ to list __list__ at swimlane __swimlane__", + "act-moveCardToOtherBoard": "moved card __card__ from list __oldList__ at swimlane __oldSwimlane__ at board __oldBoard__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-removeBoardMember": "removed member __member__ from board __board__", + "act-restoredCard": "restored card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-unjoinMember": "removed member __member__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Darbības", + "activities": "Aktivitātes", + "activity": "Aktivitāte", + "activity-added": "pievienoja %s pie %s", + "activity-archived": "%s moved to Archive", + "activity-attached": "pievienoja %s pie %s", + "activity-created": "izveidoja%s", + "activity-customfield-created": "created custom field %s", + "activity-excluded": "izslēdza%s no%s", + "activity-imported": "importēja %s iekšā%s no%s", + "activity-imported-board": "imported %s from %s", + "activity-joined": "joined %s", + "activity-moved": "moved %s from %s to %s", + "activity-on": "on %s", + "activity-removed": "removed %s from %s", + "activity-sent": "sent %s to %s", + "activity-unjoined": "unjoined %s", + "activity-subtask-added": "added subtask to %s", + "activity-checked-item": "checked %s in checklist %s of %s", + "activity-unchecked-item": "unchecked %s in checklist %s of %s", + "activity-checklist-added": "added checklist to %s", + "activity-checklist-removed": "removed a checklist from %s", + "activity-checklist-completed": "completed checklist %s of %s", + "activity-checklist-uncompleted": "uncompleted the checklist %s of %s", + "activity-checklist-item-added": "added checklist item to '%s' in %s", + "activity-checklist-item-removed": "removed a checklist item from '%s' in %s", + "add": "Add", + "activity-checked-item-card": "checked %s in checklist %s", + "activity-unchecked-item-card": "unchecked %s in checklist %s", + "activity-checklist-completed-card": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "activity-checklist-uncompleted-card": "uncompleted the checklist %s", + "activity-editComment": "edited comment %s", + "activity-deleteComment": "deleted comment %s", + "add-attachment": "Add Attachment", + "add-board": "Add Board", + "add-card": "Add Card", + "add-swimlane": "Add Swimlane", + "add-subtask": "Add Subtask", + "add-checklist": "Add Checklist", + "add-checklist-item": "Add an item to checklist", + "add-cover": "Add Cover", + "add-label": "Add Label", + "add-list": "Add List", + "add-members": "Add Members", + "added": "Added", + "addMemberPopup-title": "Members", + "admin": "Admin", + "admin-desc": "Can view and edit cards, remove members, and change settings for the board.", + "admin-announcement": "Announcement", + "admin-announcement-active": "Active System-Wide Announcement", + "admin-announcement-title": "Announcement from Administrator", + "all-boards": "All boards", + "and-n-other-card": "And __count__ other card", + "and-n-other-card_plural": "And __count__ other cards", + "apply": "Apply", + "app-is-offline": "Loading, please wait. Refreshing the page will cause data loss. If loading does not work, please check that server has not stopped.", + "archive": "Move to Archive", + "archive-all": "Move All to Archive", + "archive-board": "Move Board to Archive", + "archive-card": "Move Card to Archive", + "archive-list": "Move List to Archive", + "archive-swimlane": "Move Swimlane to Archive", + "archive-selection": "Move selection to Archive", + "archiveBoardPopup-title": "Move Board to Archive?", + "archived-items": "Archive", + "archived-boards": "Boards in Archive", + "restore-board": "Restore Board", + "no-archived-boards": "No Boards in Archive.", + "archives": "Archive", + "template": "Template", + "templates": "Templates", + "assign-member": "Assign member", + "attached": "attached", + "attachment": "Attachment", + "attachment-delete-pop": "Deleting an attachment is permanent. There is no undo.", + "attachmentDeletePopup-title": "Delete Attachment?", + "attachments": "Attachments", + "auto-watch": "Automatically watch boards when they are created", + "avatar-too-big": "The avatar is too large (70KB max)", + "back": "Back", + "board-change-color": "Change color", + "board-nb-stars": "%s stars", + "board-not-found": "Board not found", + "board-private-info": "This board will be private.", + "board-public-info": "This board will be public.", + "boardChangeColorPopup-title": "Change Board Background", + "boardChangeTitlePopup-title": "Rename Board", + "boardChangeVisibilityPopup-title": "Change Visibility", + "boardChangeWatchPopup-title": "Change Watch", + "boardMenuPopup-title": "Board Settings", + "boardChangeViewPopup-title": "Board View", + "boards": "Boards", + "board-view": "Board View", + "board-view-cal": "Calendar", + "board-view-swimlanes": "Swimlanes", + "board-view-collapse": "Collapse", + "board-view-lists": "Lists", + "bucket-example": "Like “Bucket List” for example", + "cancel": "Cancel", + "card-archived": "This card is moved to Archive.", + "board-archived": "This board is moved to Archive.", + "card-comments-title": "This card has %s comment.", + "card-delete-notice": "Deleting is permanent. You will lose all actions associated with this card.", + "card-delete-pop": "All actions will be removed from the activity feed and you won't be able to re-open the card. There is no undo.", + "card-delete-suggest-archive": "You can move a card to Archive to remove it from the board and preserve the activity.", + "card-due": "Due", + "card-due-on": "Due on", + "card-spent": "Spent Time", + "card-edit-attachments": "Edit attachments", + "card-edit-custom-fields": "Edit custom fields", + "card-edit-labels": "Edit labels", + "card-edit-members": "Edit members", + "card-labels-title": "Change the labels for the card.", + "card-members-title": "Add or remove members of the board from the card.", + "card-start": "Start", + "card-start-on": "Starts on", + "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", + "cardStartVotingPopup-title": "Start a vote", + "positiveVoteMembersPopup-title": "Proponents", + "negativeVoteMembersPopup-title": "Opponents", + "card-edit-voting": "Edit voting", + "editVoteEndDatePopup-title": "Change vote end date", + "allowNonBoardMembers": "Allow all logged in users", + "vote-question": "Voting question", + "vote-public": "Show who voted what", + "vote-for-it": "for it", + "vote-against": "against", + "deleteVotePopup-title": "Delete vote?", + "vote-delete-pop": "Deleting is permanent. You will lose all actions associated with this vote.", + "cardDeletePopup-title": "Delete Card?", + "cardDetailsActionsPopup-title": "Card Actions", + "cardLabelsPopup-title": "Labels", + "cardMembersPopup-title": "Members", + "cardMorePopup-title": "More", + "cardTemplatePopup-title": "Create template", + "cards": "Cards", + "cards-count": "Cards", + "casSignIn": "Sign In with CAS", + "cardType-card": "Card", + "cardType-linkedCard": "Linked Card", + "cardType-linkedBoard": "Linked Board", + "change": "Change", + "change-avatar": "Change Avatar", + "change-password": "Change Password", + "change-permissions": "Change permissions", + "change-settings": "Change Settings", + "changeAvatarPopup-title": "Change Avatar", + "changeLanguagePopup-title": "Change Language", + "changePasswordPopup-title": "Change Password", + "changePermissionsPopup-title": "Change Permissions", + "changeSettingsPopup-title": "Change Settings", + "subtasks": "Subtasks", + "checklists": "Checklists", + "click-to-star": "Click to star this board.", + "click-to-unstar": "Click to unstar this board.", + "clipboard": "Clipboard or drag & drop", + "close": "Close", + "close-board": "Close Board", + "close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.", + "color-black": "black", + "color-blue": "blue", + "color-crimson": "crimson", + "color-darkgreen": "darkgreen", + "color-gold": "gold", + "color-gray": "gray", + "color-green": "green", + "color-indigo": "indigo", + "color-lime": "lime", + "color-magenta": "magenta", + "color-mistyrose": "mistyrose", + "color-navy": "navy", + "color-orange": "orange", + "color-paleturquoise": "paleturquoise", + "color-peachpuff": "peachpuff", + "color-pink": "pink", + "color-plum": "plum", + "color-purple": "purple", + "color-red": "red", + "color-saddlebrown": "saddlebrown", + "color-silver": "silver", + "color-sky": "sky", + "color-slateblue": "slateblue", + "color-white": "white", + "color-yellow": "yellow", + "unset-color": "Unset", + "comment": "Comment", + "comment-placeholder": "Write Comment", + "comment-only": "Comment only", + "comment-only-desc": "Can comment on cards only.", + "no-comments": "No comments", + "no-comments-desc": "Can not see comments and activities.", + "worker": "Worker", + "worker-desc": "Can only move cards, assign itself to card and comment.", + "computer": "Computer", + "confirm-subtask-delete-dialog": "Are you sure you want to delete subtask?", + "confirm-checklist-delete-dialog": "Are you sure you want to delete checklist?", + "copy-card-link-to-clipboard": "Copy card link to clipboard", + "linkCardPopup-title": "Link Card", + "searchElementPopup-title": "Search", + "copyCardPopup-title": "Copy Card", + "copyChecklistToManyCardsPopup-title": "Copy Checklist Template to Many Cards", + "copyChecklistToManyCardsPopup-instructions": "Destination Card Titles and Descriptions in this JSON format", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"First card title\", \"description\":\"First card description\"}, {\"title\":\"Second card title\",\"description\":\"Second card description\"},{\"title\":\"Last card title\",\"description\":\"Last card description\"} ]", + "create": "Create", + "createBoardPopup-title": "Create Board", + "chooseBoardSourcePopup-title": "Import board", + "createLabelPopup-title": "Create Label", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", + "current": "current", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-currency": "Currency", + "custom-field-currency-option": "Currency Code", + "custom-field-date": "Date", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", + "date": "Date", + "decline": "Decline", + "default-avatar": "Default avatar", + "delete": "Delete", + "deleteCustomFieldPopup-title": "Delete Custom Field?", + "deleteLabelPopup-title": "Delete Label?", + "description": "Description", + "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", + "disambiguateMultiMemberPopup-title": "Disambiguate Member Action", + "discard": "Discard", + "done": "Done", + "download": "Download", + "edit": "Edit", + "edit-avatar": "Change Avatar", + "edit-profile": "Edit Profile", + "edit-wip-limit": "Edit WIP Limit", + "soft-wip-limit": "Soft WIP Limit", + "editCardStartDatePopup-title": "Change start date", + "editCardDueDatePopup-title": "Change due date", + "editCustomFieldPopup-title": "Edit Field", + "editCardSpentTimePopup-title": "Change spent time", + "editLabelPopup-title": "Change Label", + "editNotificationPopup-title": "Edit Notification", + "editProfilePopup-title": "Edit Profile", + "email": "Email", + "email-enrollAccount-subject": "An account created for you on __siteName__", + "email-enrollAccount-text": "Hello __user__,\n\nTo start using the service, simply click the link below.\n\n__url__\n\nThanks.", + "email-fail": "Sending email failed", + "email-fail-text": "Error trying to send email", + "email-invalid": "Invalid email", + "email-invite": "Invite via Email", + "email-invite-subject": "__inviter__ sent you an invitation", + "email-invite-text": "Dear __user__,\n\n__inviter__ invites you to join board \"__board__\" for collaborations.\n\nPlease follow the link below:\n\n__url__\n\nThanks.", + "email-resetPassword-subject": "Reset your password on __siteName__", + "email-resetPassword-text": "Hello __user__,\n\nTo reset your password, simply click the link below.\n\n__url__\n\nThanks.", + "email-sent": "Email sent", + "email-verifyEmail-subject": "Verify your email address on __siteName__", + "email-verifyEmail-text": "Hello __user__,\n\nTo verify your account email, simply click the link below.\n\n__url__\n\nThanks.", + "enable-wip-limit": "Enable WIP Limit", + "error-board-doesNotExist": "This board does not exist", + "error-board-notAdmin": "You need to be admin of this board to do that", + "error-board-notAMember": "You need to be a member of this board to do that", + "error-json-malformed": "Your text is not valid JSON", + "error-json-schema": "Your JSON data does not include the proper information in the correct format", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "This list does not exist", + "error-user-doesNotExist": "This user does not exist", + "error-user-notAllowSelf": "You can not invite yourself", + "error-user-notCreated": "This user is not created", + "error-username-taken": "This username is already taken", + "error-email-taken": "Email has already been taken", + "export-board": "Export board", + "export-board-json": "Export board to JSON", + "export-board-csv": "Export board to CSV", + "export-board-tsv": "Export board to TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "Export board", + "sort": "Sort", + "sort-desc": "Click to Sort List", + "list-sort-by": "Sort the List By:", + "list-label-modifiedAt": "Last Access Time", + "list-label-title": "Name of the List", + "list-label-sort": "Your Manual Order", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Filter", + "filter-cards": "Filter Cards or Lists", + "list-filter-label": "Filter List by Title", + "filter-clear": "Clear filter", + "filter-no-label": "No label", + "filter-no-member": "No member", + "filter-no-assignee": "No assignee", + "filter-no-custom-fields": "No Custom Fields", + "filter-show-archive": "Show archived lists", + "filter-hide-empty": "Hide empty lists", + "filter-on": "Filter is on", + "filter-on-desc": "You are filtering cards on this board. Click here to edit filter.", + "filter-to-selection": "Filter to selection", + "advanced-filter-label": "Advanced Filter", + "advanced-filter-description": "Advanced Filter allows to write a string containing following operators: == != <= >= && || ( ) A space is used as a separator between the Operators. You can filter for all Custom Fields by typing their names and values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need to encapsulate them into single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) to be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally all operators are interpreted from left to right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i", + "fullname": "Full Name", + "header-logo-title": "Go back to your boards page.", + "hide-system-messages": "Hide system messages", + "headerBarCreateBoardPopup-title": "Create Board", + "home": "Home", + "import": "Import", + "link": "Link", + "import-board": "import board", + "import-board-c": "Import board", + "import-board-title-trello": "Import board from Trello", + "import-board-title-wekan": "Import board from previous export", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "From Trello", + "from-wekan": "From previous export", + "from-csv": "From CSV/TSV", + "import-board-instruction-trello": "In your Trello board, go to 'Menu', then 'More', 'Print and Export', 'Export JSON', and copy the resulting text.", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "In your board, go to 'Menu', then 'Export board', and copy the text in the downloaded file.", + "import-board-instruction-about-errors": "If you get errors when importing board, sometimes importing still works, and board is at All Boards page.", + "import-json-placeholder": "Paste your valid JSON data here", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "Map members", + "import-members-map": "Your imported board has some members. Please map the members you want to import to your users", + "import-show-user-mapping": "Review members mapping", + "import-user-select": "Pick your existing user you want to use as this member", + "importMapMembersAddPopup-title": "Select member", + "info": "Version", + "initials": "Initials", + "invalid-date": "Invalid date", + "invalid-time": "Invalid time", + "invalid-user": "Invalid user", + "joined": "joined", + "just-invited": "You are just invited to this board", + "keyboard-shortcuts": "Keyboard shortcuts", + "label-create": "Create Label", + "label-default": "%s label (default)", + "label-delete-pop": "There is no undo. This will remove this label from all cards and destroy its history.", + "labels": "Labels", + "language": "Language", + "last-admin-desc": "You can’t change roles because there must be at least one admin.", + "leave-board": "Leave Board", + "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.", + "leaveBoardPopup-title": "Leave Board ?", + "link-card": "Link to this card", + "list-archive-cards": "Move all cards in this list to Archive", + "list-archive-cards-pop": "This will remove all the cards in this list from the board. To view cards in Archive and bring them back to the board, click “Menu” > “Archive”.", + "list-move-cards": "Move all cards in this list", + "list-select-cards": "Select all cards in this list", + "set-color-list": "Set Color", + "listActionPopup-title": "List Actions", + "swimlaneActionPopup-title": "Swimlane Actions", + "swimlaneAddPopup-title": "Add a Swimlane below", + "listImportCardPopup-title": "Import a Trello card", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "More", + "link-list": "Link to this list", + "list-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the list. There is no undo.", + "list-delete-suggest-archive": "You can move a list to Archive to remove it from the board and preserve the activity.", + "lists": "Lists", + "swimlanes": "Swimlanes", + "log-out": "Log Out", + "log-in": "Log In", + "loginPopup-title": "Log In", + "memberMenuPopup-title": "Member Settings", + "members": "Members", + "menu": "Menu", + "move-selection": "Move selection", + "moveCardPopup-title": "Move Card", + "moveCardToBottom-title": "Move to Bottom", + "moveCardToTop-title": "Move to Top", + "moveSelectionPopup-title": "Move selection", + "multi-selection": "Multi-Selection", + "multi-selection-on": "Multi-Selection is on", + "muted": "Muted", + "muted-info": "You will never be notified of any changes in this board", + "my-boards": "My Boards", + "name": "Name", + "no-archived-cards": "No cards in Archive.", + "no-archived-lists": "No lists in Archive.", + "no-archived-swimlanes": "No swimlanes in Archive.", + "no-results": "No results", + "normal": "Normal", + "normal-desc": "Can view and edit cards. Can't change settings.", + "not-accepted-yet": "Invitation not accepted yet", + "notify-participate": "Receive updates to any cards you participate as creater or member", + "notify-watch": "Receive updates to any boards, lists, or cards you’re watching", + "optional": "optional", + "or": "or", + "page-maybe-private": "This page may be private. You may be able to view it by logging in.", + "page-not-found": "Page not found.", + "password": "Password", + "paste-or-dragdrop": "to paste, or drag & drop image file to it (image only)", + "participating": "Participating", + "preview": "Preview", + "previewAttachedImagePopup-title": "Preview", + "previewClipboardImagePopup-title": "Preview", + "private": "Private", + "private-desc": "This board is private. Only people added to the board can view and edit it.", + "profile": "Profile", + "public": "Public", + "public-desc": "This board is public. It's visible to anyone with the link and will show up in search engines like Google. Only people added to the board can edit.", + "quick-access-description": "Star a board to add a shortcut in this bar.", + "remove-cover": "Remove Cover", + "remove-from-board": "Remove from Board", + "remove-label": "Remove Label", + "listDeletePopup-title": "Delete List ?", + "remove-member": "Remove Member", + "remove-member-from-card": "Remove from Card", + "remove-member-pop": "Remove __name__ (__username__) from __boardTitle__? The member will be removed from all cards on this board. They will receive a notification.", + "removeMemberPopup-title": "Remove Member?", + "rename": "Rename", + "rename-board": "Rename Board", + "restore": "Restore", + "save": "Save", + "search": "Search", + "rules": "Rules", + "search-cards": "Search from card/list titles, descriptions and custom fields on this board", + "search-example": "Text to search for?", + "select-color": "Select Color", + "set-wip-limit-value": "Set a limit for the maximum number of tasks in this list", + "setWipLimitPopup-title": "Set WIP Limit", + "shortcut-assign-self": "Assign yourself to current card", + "shortcut-autocomplete-emoji": "Autocomplete emoji", + "shortcut-autocomplete-members": "Autocomplete members", + "shortcut-clear-filters": "Clear all filters", + "shortcut-close-dialog": "Close Dialog", + "shortcut-filter-my-cards": "Filter my cards", + "shortcut-show-shortcuts": "Bring up this shortcuts list", + "shortcut-toggle-filterbar": "Toggle Filter Sidebar", + "shortcut-toggle-sidebar": "Toggle Board Sidebar", + "show-cards-minimum-count": "Show cards count if list contains more than", + "sidebar-open": "Open Sidebar", + "sidebar-close": "Close Sidebar", + "signupPopup-title": "Create an Account", + "star-board-title": "Click to star this board. It will show up at top of your boards list.", + "starred-boards": "Starred Boards", + "starred-boards-description": "Starred boards show up at the top of your boards list.", + "subscribe": "Subscribe", + "team": "Team", + "this-board": "this board", + "this-card": "this card", + "spent-time-hours": "Spent time (hours)", + "overtime-hours": "Overtime (hours)", + "overtime": "Overtime", + "has-overtime-cards": "Has overtime cards", + "has-spenttime-cards": "Has spent time cards", + "time": "Time", + "title": "Title", + "tracking": "Tracking", + "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", + "unassign-member": "Unassign member", + "unsaved-description": "You have an unsaved description.", + "unwatch": "Unwatch", + "upload": "Upload", + "upload-avatar": "Upload an avatar", + "uploaded-avatar": "Uploaded an avatar", + "username": "Username", + "view-it": "View it", + "warn-list-archived": "warning: this card is in an list at Archive", + "watch": "Watch", + "watching": "Watching", + "watching-info": "You will be notified of any change in this board", + "welcome-board": "Welcome Board", + "welcome-swimlane": "Milestone 1", + "welcome-list1": "Basics", + "welcome-list2": "Advanced", + "card-templates-swimlane": "Card Templates", + "list-templates-swimlane": "List Templates", + "board-templates-swimlane": "Board Templates", + "what-to-do": "What do you want to do?", + "wipLimitErrorPopup-title": "Invalid WIP Limit", + "wipLimitErrorPopup-dialog-pt1": "The number of tasks in this list is higher than the WIP limit you've defined.", + "wipLimitErrorPopup-dialog-pt2": "Please move some tasks out of this list, or set a higher WIP limit.", + "admin-panel": "Admin Panel", + "settings": "Settings", + "people": "People", + "registration": "Registration", + "disable-self-registration": "Disable Self-Registration", + "invite": "Invite", + "invite-people": "Invite People", + "to-boards": "To board(s)", + "email-addresses": "Email Addresses", + "smtp-host-description": "The address of the SMTP server that handles your emails.", + "smtp-port-description": "The port your SMTP server uses for outgoing emails.", + "smtp-tls-description": "Enable TLS support for SMTP server", + "smtp-host": "SMTP Host", + "smtp-port": "SMTP Port", + "smtp-username": "Username", + "smtp-password": "Password", + "smtp-tls": "TLS support", + "send-from": "From", + "send-smtp-test": "Send a test email to yourself", + "invitation-code": "Invitation Code", + "email-invite-register-subject": "__inviter__ sent you an invitation", + "email-invite-register-text": "Dear __user__,\n\n__inviter__ invites you to kanban board for collaborations.\n\nPlease follow the link below:\n__url__\n\nAnd your invitation code is: __icode__\n\nThanks.", + "email-smtp-test-subject": "SMTP Test Email", + "email-smtp-test-text": "You have successfully sent an email", + "error-invitation-code-not-exist": "Invitation code doesn't exist", + "error-notAuthorized": "You are not authorized to view this page.", + "webhook-title": "Webhook Name", + "webhook-token": "Token (Optional for Authentication)", + "outgoing-webhooks": "Outgoing Webhooks", + "bidirectional-webhooks": "Two-Way Webhooks", + "outgoingWebhooksPopup-title": "Outgoing Webhooks", + "boardCardTitlePopup-title": "Card Title Filter", + "disable-webhook": "Disable This Webhook", + "global-webhook": "Global Webhooks", + "new-outgoing-webhook": "New Outgoing Webhook", + "no-name": "(Unknown)", + "Node_version": "Node version", + "Meteor_version": "Meteor version", + "MongoDB_version": "MongoDB version", + "MongoDB_storage_engine": "MongoDB storage engine", + "MongoDB_Oplog_enabled": "MongoDB Oplog enabled", + "OS_Arch": "OS Arch", + "OS_Cpus": "OS CPU Count", + "OS_Freemem": "OS Free Memory", + "OS_Loadavg": "OS Load Average", + "OS_Platform": "OS Platform", + "OS_Release": "OS Release", + "OS_Totalmem": "OS Total Memory", + "OS_Type": "OS Type", + "OS_Uptime": "OS Uptime", + "days": "days", + "hours": "hours", + "minutes": "minutes", + "seconds": "seconds", + "show-field-on-card": "Show this field on card", + "automatically-field-on-card": "Auto create field to all cards", + "showLabel-field-on-card": "Show field label on minicard", + "yes": "Yes", + "no": "No", + "accounts": "Accounts", + "accounts-allowEmailChange": "Allow Email Change", + "accounts-allowUserNameChange": "Allow Username Change", + "createdAt": "Created at", + "verified": "Verified", + "active": "Active", + "card-received": "Received", + "card-received-on": "Received on", + "card-end": "End", + "card-end-on": "Ends on", + "editCardReceivedDatePopup-title": "Change received date", + "editCardEndDatePopup-title": "Change end date", + "setCardColorPopup-title": "Set color", + "setCardActionsColorPopup-title": "Choose a color", + "setSwimlaneColorPopup-title": "Choose a color", + "setListColorPopup-title": "Choose a color", + "assigned-by": "Assigned By", + "requested-by": "Requested By", + "board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.", + "delete-board-confirm-popup": "All lists, cards, labels, and activities will be deleted and you won't be able to recover the board contents. There is no undo.", + "boardDeletePopup-title": "Delete Board?", + "delete-board": "Delete Board", + "default-subtasks-board": "Subtasks for __board__ board", + "default": "Default", + "queue": "Queue", + "subtask-settings": "Subtasks Settings", + "card-settings": "Card Settings", + "boardSubtaskSettingsPopup-title": "Board Subtasks Settings", + "boardCardSettingsPopup-title": "Card Settings", + "deposit-subtasks-board": "Deposit subtasks to this board:", + "deposit-subtasks-list": "Landing list for subtasks deposited here:", + "show-parent-in-minicard": "Show parent in minicard:", + "prefix-with-full-path": "Prefix with full path", + "prefix-with-parent": "Prefix with parent", + "subtext-with-full-path": "Subtext with full path", + "subtext-with-parent": "Subtext with parent", + "change-card-parent": "Change card's parent", + "parent-card": "Parent card", + "source-board": "Source board", + "no-parent": "Don't show parent", + "activity-added-label": "added label '%s' to %s", + "activity-removed-label": "removed label '%s' from %s", + "activity-delete-attach": "deleted an attachment from %s", + "activity-added-label-card": "added label '%s'", + "activity-removed-label-card": "removed label '%s'", + "activity-delete-attach-card": "deleted an attachment", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "Rule", + "r-add-trigger": "Add trigger", + "r-add-action": "Add action", + "r-board-rules": "Board rules", + "r-add-rule": "Add rule", + "r-view-rule": "View rule", + "r-delete-rule": "Delete rule", + "r-new-rule-name": "New rule title", + "r-no-rules": "No rules", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "When a card", + "r-is": "is", + "r-is-moved": "is moved", + "r-added-to": "Added to", + "r-removed-from": "Removed from", + "r-the-board": "the board", + "r-list": "list", + "set-filter": "Set Filter", + "r-moved-to": "Moved to", + "r-moved-from": "Moved from", + "r-archived": "Moved to Archive", + "r-unarchived": "Restored from Archive", + "r-a-card": "a card", + "r-when-a-label-is": "When a label is", + "r-when-the-label": "When the label", + "r-list-name": "list name", + "r-when-a-member": "When a member is", + "r-when-the-member": "When the member", + "r-name": "name", + "r-when-a-attach": "When an attachment", + "r-when-a-checklist": "When a checklist is", + "r-when-the-checklist": "When the checklist", + "r-completed": "Completed", + "r-made-incomplete": "Made incomplete", + "r-when-a-item": "When a checklist item is", + "r-when-the-item": "When the checklist item", + "r-checked": "Checked", + "r-unchecked": "Unchecked", + "r-move-card-to": "Move card to", + "r-top-of": "Top of", + "r-bottom-of": "Bottom of", + "r-its-list": "its list", + "r-archive": "Move to Archive", + "r-unarchive": "Restore from Archive", + "r-card": "card", + "r-add": "Add", + "r-remove": "Remove", + "r-label": "label", + "r-member": "member", + "r-remove-all": "Remove all members from the card", + "r-set-color": "Set color to", + "r-checklist": "checklist", + "r-check-all": "Check all", + "r-uncheck-all": "Uncheck all", + "r-items-check": "items of checklist", + "r-check": "Check", + "r-uncheck": "Uncheck", + "r-item": "item", + "r-of-checklist": "of checklist", + "r-send-email": "Send an email", + "r-to": "to", + "r-of": "of", + "r-subject": "subject", + "r-rule-details": "Rule details", + "r-d-move-to-top-gen": "Move card to top of its list", + "r-d-move-to-top-spec": "Move card to top of list", + "r-d-move-to-bottom-gen": "Move card to bottom of its list", + "r-d-move-to-bottom-spec": "Move card to bottom of list", + "r-d-send-email": "Send email", + "r-d-send-email-to": "to", + "r-d-send-email-subject": "subject", + "r-d-send-email-message": "message", + "r-d-archive": "Move card to Archive", + "r-d-unarchive": "Restore card from Archive", + "r-d-add-label": "Add label", + "r-d-remove-label": "Remove label", + "r-create-card": "Create new card", + "r-in-list": "in list", + "r-in-swimlane": "in swimlane", + "r-d-add-member": "Add member", + "r-d-remove-member": "Remove member", + "r-d-remove-all-member": "Remove all member", + "r-d-check-all": "Check all items of a list", + "r-d-uncheck-all": "Uncheck all items of a list", + "r-d-check-one": "Check item", + "r-d-uncheck-one": "Uncheck item", + "r-d-check-of-list": "of checklist", + "r-d-add-checklist": "Add checklist", + "r-d-remove-checklist": "Remove checklist", + "r-by": "by", + "r-add-checklist": "Add checklist", + "r-with-items": "with items", + "r-items-list": "item1,item2,item3", + "r-add-swimlane": "Add swimlane", + "r-swimlane-name": "swimlane name", + "r-board-note": "Note: leave a field empty to match every possible value.", + "r-checklist-note": "Note: checklist's items have to be written as comma separated values.", + "r-when-a-card-is-moved": "When a card is moved to another list", + "r-set": "Set", + "r-update": "Update", + "r-datefield": "date field", + "r-df-start-at": "start", + "r-df-due-at": "due", + "r-df-end-at": "end", + "r-df-received-at": "received", + "r-to-current-datetime": "to current date/time", + "r-remove-value-from": "Remove value from", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Authentication method", + "authentication-type": "Authentication type", + "custom-product-name": "Custom Product Name", + "layout": "Layout", + "hide-logo": "Hide Logo", + "add-custom-html-after-body-start": "Add Custom HTML after start", + "add-custom-html-before-body-end": "Add Custom HTML before end", + "error-undefined": "Something went wrong", + "error-ldap-login": "An error occurred while trying to login", + "display-authentication-method": "Display Authentication Method", + "default-authentication-method": "Default Authentication Method", + "duplicate-board": "Duplicate Board", + "people-number": "The number of people is:", + "swimlaneDeletePopup-title": "Delete Swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Restore all", + "delete-all": "Delete all", + "loading": "Loading, please wait.", + "previous_as": "last time was", + "act-a-dueAt": "modified due time to \nWhen: __timeValue__\nWhere: __card__\n previous due was __timeOldValue__", + "act-a-endAt": "modified ending time to __timeValue__ from (__timeOldValue__)", + "act-a-startAt": "modified starting time to __timeValue__ from (__timeOldValue__)", + "act-a-receivedAt": "modified received time to __timeValue__ from (__timeOldValue__)", + "a-dueAt": "modified due time to be", + "a-endAt": "modified ending time to be", + "a-startAt": "modified starting time to be", + "a-receivedAt": "modified received time to be", + "almostdue": "current due time %s is approaching", + "pastdue": "current due time %s is past", + "duenow": "current due time %s is today", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", + "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", + "act-duenow": "was reminding the current due (__timeValue__) of __card__ is now", + "act-atUserComment": "You were mentioned in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Are you sure you want to delete this account? There is no undo.", + "accounts-allowUserDelete": "Allow users to self delete their account", + "hide-minicard-label-text": "Hide minicard label text", + "show-desktop-drag-handles": "Show desktop drag handles", + "assignee": "Assignee", + "cardAssigneesPopup-title": "Assignee", + "addmore-detail": "Add a more detailed description", + "show-on-card": "Show on Card", + "new": "New", + "editUserPopup-title": "Edit User", + "newUserPopup-title": "New User", + "notifications": "Notifications", + "view-all": "View All", + "filter-by-unread": "Filter by Unread", + "mark-all-as-read": "Mark all as read", + "remove-all-read": "Remove all read", + "allow-rename": "Allow Rename", + "allowRenamePopup-title": "Allow Rename", + "start-day-of-week": "Set day of the week start", + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archived", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/mk.i18n.json b/i18n/mk.i18n.json new file mode 100644 index 0000000..257e397 --- /dev/null +++ b/i18n/mk.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Прифати", + "act-activity-notify": "Activity Notification", + "act-addAttachment": "added attachment __attachment__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteAttachment": "deleted attachment __attachment__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addSubtask": "added subtask __subtask__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addedLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removedLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklist": "added checklist __checklist__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklistItem": "added checklist item __checklistItem__ to checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklist": "removed checklist __checklist__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklistItem": "removed checklist item __checklistItem__ from checklist __checkList__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-checkedItem": "checked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncheckedItem": "unchecked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-completeChecklist": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncompleteChecklist": "uncompleted checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addComment": "commented on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-editComment": "edited comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteComment": "deleted comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createBoard": "created board __board__", + "act-createSwimlane": "created swimlane __swimlane__ to board __board__", + "act-createCard": "created card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-createCustomField": "created custom field __customField__ at board __board__", + "act-deleteCustomField": "deleted custom field __customField__ at board __board__", + "act-setCustomField": "edited custom field __customField__: __customFieldValue__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createList": "added list __list__ to board __board__", + "act-addBoardMember": "added member __member__ to board __board__", + "act-archivedBoard": "Board __board__ moved to Archive", + "act-archivedCard": "Card __card__ at list __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedList": "List __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedSwimlane": "Swimlane __swimlane__ at board __board__ moved to Archive", + "act-importBoard": "imported board __board__", + "act-importCard": "imported card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-importList": "imported list __list__ to swimlane __swimlane__ at board __board__", + "act-joinMember": "added member __member__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-moveCard": "moved card __card__ at board __board__ from list __oldList__ at swimlane __oldSwimlane__ to list __list__ at swimlane __swimlane__", + "act-moveCardToOtherBoard": "moved card __card__ from list __oldList__ at swimlane __oldSwimlane__ at board __oldBoard__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-removeBoardMember": "removed member __member__ from board __board__", + "act-restoredCard": "restored card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-unjoinMember": "removed member __member__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Акции", + "activities": "Активности", + "activity": "Активност", + "activity-added": "добави %s към %s", + "activity-archived": "%s е преместена во Архива", + "activity-attached": "прикачи %s към %s", + "activity-created": "създаде %s", + "activity-customfield-created": "създаде собствено поле %s", + "activity-excluded": "изключи %s от %s", + "activity-imported": "импортира %s в/във %s от %s", + "activity-imported-board": "импортира %s от %s", + "activity-joined": "се присъедини към %s", + "activity-moved": "премести %s от %s в/във %s", + "activity-on": "на %s", + "activity-removed": "премахна %s от %s", + "activity-sent": "изпрати %s до %s", + "activity-unjoined": "вече не е част от %s", + "activity-subtask-added": "добави задача към %s", + "activity-checked-item": "отбеляза%s в списък със задачи %s на %s", + "activity-unchecked-item": "размаркира %s от списък със задачи %s на %s", + "activity-checklist-added": "добави списък със задачи към %s", + "activity-checklist-removed": "премахна списък със задачи от %s", + "activity-checklist-completed": "completed checklist %s of %s", + "activity-checklist-uncompleted": "\"отзавърши\" чеклистта %s в %s", + "activity-checklist-item-added": "добави точка към '%s' в/във %s", + "activity-checklist-item-removed": "премахна точка от '%s' в %s", + "add": "Добави", + "activity-checked-item-card": "отбеляза %s в чеклист %s", + "activity-unchecked-item-card": "размаркира %s в чеклист %s", + "activity-checklist-completed-card": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "activity-checklist-uncompleted-card": "\"отзавърши\" чеклистта %s", + "activity-editComment": "edited comment %s", + "activity-deleteComment": "deleted comment %s", + "add-attachment": "Додај прилог", + "add-board": "Додади Табла", + "add-card": "Додади Картичка", + "add-swimlane": "Додади Коридор", + "add-subtask": "Додади подзадача", + "add-checklist": "Додади список на задачи", + "add-checklist-item": "Додади точка во списокот со задачи", + "add-cover": "Додади корица", + "add-label": "Додади етикета", + "add-list": "Додади листа", + "add-members": "Додави членови", + "added": "Додадено", + "addMemberPopup-title": "Членови", + "admin": "Администратор", + "admin-desc": "Can view and edit cards, remove members, and change settings for the board.", + "admin-announcement": "Съобщение", + "admin-announcement-active": "Active System-Wide Announcement", + "admin-announcement-title": "Announcement from Administrator", + "all-boards": "Сите табли", + "and-n-other-card": "And __count__ other card", + "and-n-other-card_plural": "And __count__ other cards", + "apply": "Приложи", + "app-is-offline": "Loading, please wait. Refreshing the page will cause data loss. If loading does not work, please check that server has not stopped.", + "archive": "Премести во Архива", + "archive-all": "Премести всички во Архива", + "archive-board": "Премести Таблото во Архива", + "archive-card": "Премести Картата во Архива", + "archive-list": "Премести Списъка во Архива", + "archive-swimlane": "Премести Коридора во Архива", + "archive-selection": "Премести избраното во Архива", + "archiveBoardPopup-title": "Да преместя ли Таблото во Архива?", + "archived-items": "Архива", + "archived-boards": "Табла во Архива", + "restore-board": "Възстанови Таблото", + "no-archived-boards": "Няма Табла во Архива.", + "archives": "Архива", + "template": "Template", + "templates": "Templates", + "assign-member": "Възложи на член от екипа", + "attached": "прикачен", + "attachment": "Прикаченн датотека", + "attachment-delete-pop": "Изтриването на прикачен датотека е завинаги. Няма как да бъде възстановен.", + "attachmentDeletePopup-title": "Желаете ли да изтриете прикачения датотека?", + "attachments": "Прикачени датотеки", + "auto-watch": "Автоматично наблюдаване на таблата, когато са създадени", + "avatar-too-big": "Аватарът е прекалено голям (максимум 70KB)", + "back": "Назад", + "board-change-color": "Промени боја", + "board-nb-stars": "%s звезди", + "board-not-found": "Таблото не е најдено", + "board-private-info": "This board will be private.", + "board-public-info": "This board will be public.", + "boardChangeColorPopup-title": "Change Board Background", + "boardChangeTitlePopup-title": "Промени името на Таблото", + "boardChangeVisibilityPopup-title": "Change Visibility", + "boardChangeWatchPopup-title": "Промени наблюдаването", + "boardMenuPopup-title": "Board Settings", + "boardChangeViewPopup-title": "Board View", + "boards": "Табли", + "board-view": "Board View", + "board-view-cal": "Календар", + "board-view-swimlanes": "Коридори", + "board-view-collapse": "Collapse", + "board-view-lists": "Листи", + "bucket-example": "Like “Bucket List” for example", + "cancel": "Откажи", + "card-archived": "Тази карта е преместена во Архива.", + "board-archived": "Това табло е преместено во Архива.", + "card-comments-title": "Тази карта има %s коментар.", + "card-delete-notice": "Deleting is permanent. You will lose all actions associated with this card.", + "card-delete-pop": "All actions will be removed from the activity feed and you won't be able to re-open the card. There is no undo.", + "card-delete-suggest-archive": "Можете да преместите картата во Архива, за да я премахнете от Таблото и така да запазите активността в него.", + "card-due": "Готова за", + "card-due-on": "Готова за", + "card-spent": "Изработено време", + "card-edit-attachments": "Промени прикачените датотеки", + "card-edit-custom-fields": "Промени собствените полета", + "card-edit-labels": "Промени етикетите", + "card-edit-members": "Промени членовете", + "card-labels-title": "Промени етикетите за картата.", + "card-members-title": "Добави или премахни членове на Таблото от тази карта.", + "card-start": "Започнува", + "card-start-on": "Започнува на", + "cardAttachmentsPopup-title": "Прикачи от", + "cardCustomField-datePopup-title": "Промени датата", + "cardCustomFieldsPopup-title": "Промени собствените полета", + "cardStartVotingPopup-title": "Start a vote", + "positiveVoteMembersPopup-title": "Proponents", + "negativeVoteMembersPopup-title": "Opponents", + "card-edit-voting": "Edit voting", + "editVoteEndDatePopup-title": "Change vote end date", + "allowNonBoardMembers": "Allow all logged in users", + "vote-question": "Voting question", + "vote-public": "Show who voted what", + "vote-for-it": "for it", + "vote-against": "against", + "deleteVotePopup-title": "Delete vote?", + "vote-delete-pop": "Deleting is permanent. You will lose all actions associated with this vote.", + "cardDeletePopup-title": "Желаете да изтриете картата?", + "cardDetailsActionsPopup-title": "Опции", + "cardLabelsPopup-title": "Етикети", + "cardMembersPopup-title": "Членови", + "cardMorePopup-title": "Повеќе", + "cardTemplatePopup-title": "Create template", + "cards": "Картички", + "cards-count": "Картички", + "casSignIn": "Sign In with CAS", + "cardType-card": "Карта", + "cardType-linkedCard": "Поврзана карта", + "cardType-linkedBoard": "Свързано табло", + "change": "Промени", + "change-avatar": "Промени аватара", + "change-password": "Промени лозинка", + "change-permissions": "Промени права", + "change-settings": "Промени параметри", + "changeAvatarPopup-title": "Промени аватар", + "changeLanguagePopup-title": "Промени јазик", + "changePasswordPopup-title": "Промени лозинка", + "changePermissionsPopup-title": "Промени права", + "changeSettingsPopup-title": "Промени параметри", + "subtasks": "Подзадачи", + "checklists": "Списъци със задачи", + "click-to-star": "Click to star this board.", + "click-to-unstar": "Натиснете, за да премахнете това табло от любими.", + "clipboard": "Клипборда или с драг & дроп", + "close": "Затвори", + "close-board": "Затвори Табла", + "close-board-pop": "Ще можете да възстановите Таблото като натиснете на бутона \"Архива\" в началото на хедъра.", + "color-black": "црно", + "color-blue": "сино", + "color-crimson": "crimson", + "color-darkgreen": "darkgreen", + "color-gold": "златно", + "color-gray": "сиво", + "color-green": "зелено", + "color-indigo": "indigo", + "color-lime": "лайм", + "color-magenta": "magenta", + "color-mistyrose": "mistyrose", + "color-navy": "navy", + "color-orange": "оранжево", + "color-paleturquoise": "paleturquoise", + "color-peachpuff": "peachpuff", + "color-pink": "розово", + "color-plum": "plum", + "color-purple": "пурпурно", + "color-red": "червено", + "color-saddlebrown": "saddlebrown", + "color-silver": "silver", + "color-sky": "светло синьо", + "color-slateblue": "slateblue", + "color-white": "бяло", + "color-yellow": "жълто", + "unset-color": "Unset", + "comment": "Коментирај", + "comment-placeholder": "Напиши коментар", + "comment-only": "Само коментари", + "comment-only-desc": "Може да коментира само в карти.", + "no-comments": "Нема коментари", + "no-comments-desc": "Can not see comments and activities.", + "worker": "Worker", + "worker-desc": "Can only move cards, assign itself to card and comment.", + "computer": "Компјутер", + "confirm-subtask-delete-dialog": "Сигурен ли сте, дека сакате да изтриете подзадачата?", + "confirm-checklist-delete-dialog": "Сигурни ли сте, дека сакате да изтриете този чеклист?", + "copy-card-link-to-clipboard": "Копирай връзката на картата в клипборда", + "linkCardPopup-title": "Поврзи картичка", + "searchElementPopup-title": "Барај", + "copyCardPopup-title": "Копирај картичка", + "copyChecklistToManyCardsPopup-title": "Копирай чеклисти в други карти", + "copyChecklistToManyCardsPopup-instructions": "Destination Card Titles and Descriptions in this JSON format", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"First card title\", \"description\":\"First card description\"}, {\"title\":\"Second card title\",\"description\":\"Second card description\"},{\"title\":\"Last card title\",\"description\":\"Last card description\"} ]", + "create": "Креирај", + "createBoardPopup-title": "Креирај Табло", + "chooseBoardSourcePopup-title": "Импортирай Табло", + "createLabelPopup-title": "Креирај Табло", + "createCustomField": "Креирај Поле", + "createCustomFieldPopup-title": "Креирај Поле", + "current": "сегашен", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Чекбокс", + "custom-field-currency": "Currency", + "custom-field-currency-option": "Currency Code", + "custom-field-date": "Дата", + "custom-field-dropdown": "Падащо меню", + "custom-field-dropdown-none": "(няма)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Број", + "custom-field-text": "Текст", + "custom-fields": "Собствени полета", + "date": "Дата", + "decline": "Откажи", + "default-avatar": "Основен аватар", + "delete": "Избриши", + "deleteCustomFieldPopup-title": "Изтриване на Собственото поле?", + "deleteLabelPopup-title": "Желаете да изтриете етикета?", + "description": "Описание", + "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", + "disambiguateMultiMemberPopup-title": "Disambiguate Member Action", + "discard": "Отказ", + "done": "Готово", + "download": "Сваляне", + "edit": "Промени", + "edit-avatar": "Промени аватара", + "edit-profile": "Промяна на профила", + "edit-wip-limit": "Промени WIP лимита", + "soft-wip-limit": "\"Мек\" WIP лимит", + "editCardStartDatePopup-title": "Промени началната дата", + "editCardDueDatePopup-title": "Промени датата за готовност", + "editCustomFieldPopup-title": "Промени Полето", + "editCardSpentTimePopup-title": "Промени изработеното време", + "editLabelPopup-title": "Промяна на Етикета", + "editNotificationPopup-title": "Промени известията", + "editProfilePopup-title": "Промяна на профила", + "email": "Имейл", + "email-enrollAccount-subject": "Ваш профил беше създаден на __siteName__", + "email-enrollAccount-text": "Hello __user__,\n\nTo start using the service, simply click the link below.\n\n__url__\n\nThanks.", + "email-fail": "Неуспешно изпращане на имейла", + "email-fail-text": "Възникна грешка при изпращането на имейла", + "email-invalid": "Невалиден е-маил", + "email-invite": "Покани чрез е-маил", + "email-invite-subject": "__inviter__ sent you an invitation", + "email-invite-text": "Dear __user__,\n\n__inviter__ invites you to join board \"__board__\" for collaborations.\n\nPlease follow the link below:\n\n__url__\n\nThanks.", + "email-resetPassword-subject": "Reset your password on __siteName__", + "email-resetPassword-text": "Hello __user__,\n\nTo reset your password, simply click the link below.\n\n__url__\n\nThanks.", + "email-sent": "Имейлът е изпратен", + "email-verifyEmail-subject": "Verify your email address on __siteName__", + "email-verifyEmail-text": "Hello __user__,\n\nTo verify your account email, simply click the link below.\n\n__url__\n\nThanks.", + "enable-wip-limit": "Включи WIP лимита", + "error-board-doesNotExist": "Това табло не съществува", + "error-board-notAdmin": "За да направите това трябва да сте администратор на това табло", + "error-board-notAMember": "За да направите това трябва да сте член на това табло", + "error-json-malformed": "Текстът Ви не е валиден JSON", + "error-json-schema": "JSON информацията Ви не съдържа информация във валиден формат", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "Този списък не съществува", + "error-user-doesNotExist": "Този потребител не съществува", + "error-user-notAllowSelf": "Не можете да поканите себе си", + "error-user-notCreated": "Този потребител не е създаден", + "error-username-taken": "Това потребителско име е вече заето", + "error-email-taken": "Имейлът е вече зает", + "export-board": "Експортиране на Табло", + "export-board-json": "Export board to JSON", + "export-board-csv": "Export board to CSV", + "export-board-tsv": "Export board to TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "Експортиране на Табло", + "sort": "Sort", + "sort-desc": "Click to Sort List", + "list-sort-by": "Sort the List By:", + "list-label-modifiedAt": "Last Access Time", + "list-label-title": "Name of the List", + "list-label-sort": "Your Manual Order", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Филтер", + "filter-cards": "Filter Cards or Lists", + "list-filter-label": "Filter List by Title", + "filter-clear": "Премахване на филтрите", + "filter-no-label": "без етикет", + "filter-no-member": "без член", + "filter-no-assignee": "No assignee", + "filter-no-custom-fields": "Няма Собствени полета", + "filter-show-archive": "Show archived lists", + "filter-hide-empty": "Hide empty lists", + "filter-on": "Има приложени филтри", + "filter-on-desc": "В момента филтрирате картите в това табло. Моля, натиснете тук, за да промените филтъра.", + "filter-to-selection": "Филтрирай избраните", + "advanced-filter-label": "Напреден филтер", + "advanced-filter-description": "Advanced Filter allows to write a string containing following operators: == != <= >= && || ( ) A space is used as a separator between the Operators. You can filter for all Custom Fields by typing their names and values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need to encapsulate them into single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) to be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally all operators are interpreted from left to right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i", + "fullname": "Име", + "header-logo-title": "Назад към страницата с Вашите табла.", + "hide-system-messages": "Скриване на системните съобщения", + "headerBarCreateBoardPopup-title": "Креирај Табло", + "home": "Почетна", + "import": "Импорт", + "link": "Врска", + "import-board": "Импортирай Табло", + "import-board-c": "Импортирай Табло", + "import-board-title-trello": "Импорт на табло от Trello", + "import-board-title-wekan": "Import board from previous export", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "От Trello", + "from-wekan": "From previous export", + "from-csv": "From CSV/TSV", + "import-board-instruction-trello": "In your Trello board, go to 'Menu', then 'More', 'Print and Export', 'Export JSON', and copy the resulting text.", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "In your board, go to 'Menu', then 'Export board', and copy the text in the downloaded file.", + "import-board-instruction-about-errors": "If you get errors when importing board, sometimes importing still works, and board is at All Boards page.", + "import-json-placeholder": "Копирайте валидната Ви JSON информация тук", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "Map members", + "import-members-map": "Your imported board has some members. Please map the members you want to import to your users", + "import-show-user-mapping": "Review members mapping", + "import-user-select": "Pick your existing user you want to use as this member", + "importMapMembersAddPopup-title": "Select member", + "info": "Версия", + "initials": "Инициали", + "invalid-date": "Невалидна дата", + "invalid-time": "Невалиден час", + "invalid-user": "Невалиден потребител", + "joined": "присъедини", + "just-invited": "Бяхте поканени в това табло", + "keyboard-shortcuts": "Преки пътища с клавиатурата", + "label-create": "Креирај етикет", + "label-default": "%s етикет (по подразбиране)", + "label-delete-pop": "There is no undo. This will remove this label from all cards and destroy its history.", + "labels": "Етикети", + "language": "Език", + "last-admin-desc": "You can’t change roles because there must be at least one admin.", + "leave-board": "Leave Board", + "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.", + "leaveBoardPopup-title": "Leave Board ?", + "link-card": "Връзка към тази карта", + "list-archive-cards": "Премести всички карти от този списък во Архива", + "list-archive-cards-pop": "Това ще премахне всички карти от този Списък от Таблото. За да видите картите во Архива и да ги върнете натиснете на \"Меню\" > \"Архива\".", + "list-move-cards": "Премести всички карти в този списък", + "list-select-cards": "Избери всички карти в този списък", + "set-color-list": "Set Color", + "listActionPopup-title": "List Actions", + "swimlaneActionPopup-title": "Swimlane Actions", + "swimlaneAddPopup-title": "Add a Swimlane below", + "listImportCardPopup-title": "Импорт на карта от Trello", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "Още", + "link-list": "Връзка към този списък", + "list-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the list. There is no undo.", + "list-delete-suggest-archive": "Можете да преместите списъка во Архива, за да го премахнете от Таблото и така да запазите активността в него.", + "lists": "Списъци", + "swimlanes": "Коридори", + "log-out": "Изход", + "log-in": "Вход", + "loginPopup-title": "Вход", + "memberMenuPopup-title": "Настройки на профила", + "members": "Членове", + "menu": "Меню", + "move-selection": "Move selection", + "moveCardPopup-title": "Премести картата", + "moveCardToBottom-title": "Премести в края", + "moveCardToTop-title": "Премести в началото", + "moveSelectionPopup-title": "Move selection", + "multi-selection": "Множествен избор", + "multi-selection-on": "Множественият избор е приложен", + "muted": "Muted", + "muted-info": "You will never be notified of any changes in this board", + "my-boards": "Моите табла", + "name": "Име", + "no-archived-cards": "Няма карти во Архива.", + "no-archived-lists": "Няма списъци во Архива.", + "no-archived-swimlanes": "Няма коридори во Архива.", + "no-results": "No results", + "normal": "Normal", + "normal-desc": "Can view and edit cards. Can't change settings.", + "not-accepted-yet": "Invitation not accepted yet", + "notify-participate": "Получавате информация за всички карти, в които сте отбелязани или сте създали", + "notify-watch": "Получавате информация за всички табла, списъци и карти, които наблюдавате", + "optional": "optional", + "or": "или", + "page-maybe-private": "This page may be private. You may be able to view it by logging in.", + "page-not-found": "Page not found.", + "password": "Парола", + "paste-or-dragdrop": "to paste, or drag & drop image file to it (image only)", + "participating": "Participating", + "preview": "Preview", + "previewAttachedImagePopup-title": "Preview", + "previewClipboardImagePopup-title": "Preview", + "private": "Private", + "private-desc": "This board is private. Only people added to the board can view and edit it.", + "profile": "Профил", + "public": "Јавна", + "public-desc": "This board is public. It's visible to anyone with the link and will show up in search engines like Google. Only people added to the board can edit.", + "quick-access-description": "Star a board to add a shortcut in this bar.", + "remove-cover": "Remove Cover", + "remove-from-board": "Remove from Board", + "remove-label": "Remove Label", + "listDeletePopup-title": "Желаете да изтриете списъка?", + "remove-member": "Премахни член", + "remove-member-from-card": "Премахни от картата", + "remove-member-pop": "Remove __name__ (__username__) from __boardTitle__? The member will be removed from all cards on this board. They will receive a notification.", + "removeMemberPopup-title": "Remove Member?", + "rename": "Rename", + "rename-board": "Промени името на Таблото", + "restore": "Възстанови", + "save": "Запази", + "search": "Търсене", + "rules": "Правила", + "search-cards": "Search from card/list titles, descriptions and custom fields on this board", + "search-example": "Text to search for?", + "select-color": "Избери цвят", + "set-wip-limit-value": "Set a limit for the maximum number of tasks in this list", + "setWipLimitPopup-title": "Въведи WIP лимит", + "shortcut-assign-self": "Добави себе си към тази карта", + "shortcut-autocomplete-emoji": "Autocomplete emoji", + "shortcut-autocomplete-members": "Autocomplete members", + "shortcut-clear-filters": "Изчистване на всички филтри", + "shortcut-close-dialog": "Close Dialog", + "shortcut-filter-my-cards": "Филтрирай моите карти", + "shortcut-show-shortcuts": "Bring up this shortcuts list", + "shortcut-toggle-filterbar": "Отвори/затвори сайдбара с филтри", + "shortcut-toggle-sidebar": "Toggle Board Sidebar", + "show-cards-minimum-count": "Покажи бройката на картите, ако списъка съдържа повече от", + "sidebar-open": "Open Sidebar", + "sidebar-close": "Close Sidebar", + "signupPopup-title": "Create an Account", + "star-board-title": "Click to star this board. It will show up at top of your boards list.", + "starred-boards": "Любими табла", + "starred-boards-description": "Любимите табла се показват в началото на списъка Ви.", + "subscribe": "Subscribe", + "team": "Team", + "this-board": "това табло", + "this-card": "картата", + "spent-time-hours": "Изработено време (часа)", + "overtime-hours": "Оувъртайм (часа)", + "overtime": "Оувъртайм", + "has-overtime-cards": "Има карти с оувъртайм", + "has-spenttime-cards": "Има карти с изработено време", + "time": "Време", + "title": "Title", + "tracking": "Следене", + "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", + "unassign-member": "Unassign member", + "unsaved-description": "You have an unsaved description.", + "unwatch": "Спри наблюдаването", + "upload": "Upload", + "upload-avatar": "Качване на аватар", + "uploaded-avatar": "Качихте аватар", + "username": "Потребителско име", + "view-it": "View it", + "warn-list-archived": "внимание: тази карта е в списък во Архива", + "watch": "Наблюдавай", + "watching": "Наблюдава", + "watching-info": "You will be notified of any change in this board", + "welcome-board": "Welcome Board", + "welcome-swimlane": "Milestone 1", + "welcome-list1": "Basics", + "welcome-list2": "Advanced", + "card-templates-swimlane": "Card Templates", + "list-templates-swimlane": "List Templates", + "board-templates-swimlane": "Board Templates", + "what-to-do": "What do you want to do?", + "wipLimitErrorPopup-title": "Невалиден WIP лимит", + "wipLimitErrorPopup-dialog-pt1": "The number of tasks in this list is higher than the WIP limit you've defined.", + "wipLimitErrorPopup-dialog-pt2": "Моля, преместете някои от задачите от този списък или въведете по-висок WIP лимит.", + "admin-panel": "Администраторски панел", + "settings": "Настройки", + "people": "Хора", + "registration": "Регистрация", + "disable-self-registration": "Disable Self-Registration", + "invite": "Покани", + "invite-people": "Покани хора", + "to-boards": "в табло/а", + "email-addresses": "Имейл адреси", + "smtp-host-description": "Адресът на SMTP сървъра, който обслужва Вашите имейли.", + "smtp-port-description": "Портът, който Вашият SMTP сървър използва за изходящи имейли.", + "smtp-tls-description": "Разреши TLS поддръжка за SMTP сървъра", + "smtp-host": "SMTP хост", + "smtp-port": "SMTP порт", + "smtp-username": "Потребителско име", + "smtp-password": "Парола", + "smtp-tls": "TLS поддръжка", + "send-from": "От", + "send-smtp-test": "Изпрати тестов е-маил на себе си", + "invitation-code": "Invitation Code", + "email-invite-register-subject": "__inviter__ sent you an invitation", + "email-invite-register-text": "Dear __user__,\n\n__inviter__ invites you to kanban board for collaborations.\n\nPlease follow the link below:\n__url__\n\nAnd your invitation code is: __icode__\n\nThanks.", + "email-smtp-test-subject": "SMTP Test Email", + "email-smtp-test-text": "Успешно изпратихте е-маил", + "error-invitation-code-not-exist": "Invitation code doesn't exist", + "error-notAuthorized": "You are not authorized to view this page.", + "webhook-title": "Webhook Name", + "webhook-token": "Token (Optional for Authentication)", + "outgoing-webhooks": "Outgoing Webhooks", + "bidirectional-webhooks": "Two-Way Webhooks", + "outgoingWebhooksPopup-title": "Outgoing Webhooks", + "boardCardTitlePopup-title": "Card Title Filter", + "disable-webhook": "Disable This Webhook", + "global-webhook": "Global Webhooks", + "new-outgoing-webhook": "New Outgoing Webhook", + "no-name": "(Unknown)", + "Node_version": "Версия на Node", + "Meteor_version": "Meteor version", + "MongoDB_version": "MongoDB version", + "MongoDB_storage_engine": "MongoDB storage engine", + "MongoDB_Oplog_enabled": "MongoDB Oplog enabled", + "OS_Arch": "Архитектура на ОС", + "OS_Cpus": "Брой CPU ядра", + "OS_Freemem": "Свободна памет", + "OS_Loadavg": "ОС средно натоварване", + "OS_Platform": "ОС платформа", + "OS_Release": "ОС Версия", + "OS_Totalmem": "ОС Общо памет", + "OS_Type": "Тип ОС", + "OS_Uptime": "OS Ъптайм", + "days": "дни", + "hours": "часа", + "minutes": "минути", + "seconds": "секунди", + "show-field-on-card": "Покажи това поле в картата", + "automatically-field-on-card": "Auto create field to all cards", + "showLabel-field-on-card": "Show field label on minicard", + "yes": "Да", + "no": "Не", + "accounts": "Профили", + "accounts-allowEmailChange": "Разреши промяна на имейла", + "accounts-allowUserNameChange": "Allow Username Change", + "createdAt": "Създаден на", + "verified": "Потвърден", + "active": "Активен", + "card-received": "Получена", + "card-received-on": "Получена на", + "card-end": "Завършена", + "card-end-on": "Завършена на", + "editCardReceivedDatePopup-title": "Промени датата на получаване", + "editCardEndDatePopup-title": "Промени датата на завършване", + "setCardColorPopup-title": "Set color", + "setCardActionsColorPopup-title": "Choose a color", + "setSwimlaneColorPopup-title": "Choose a color", + "setListColorPopup-title": "Choose a color", + "assigned-by": "Разпределена от", + "requested-by": "Поискан от", + "board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.", + "delete-board-confirm-popup": "All lists, cards, labels, and activities will be deleted and you won't be able to recover the board contents. There is no undo.", + "boardDeletePopup-title": "Изтриване на Таблото?", + "delete-board": "Изтрий таблото", + "default-subtasks-board": "Подзадачи за табло __board__", + "default": "по подразбиране", + "queue": "Опашка", + "subtask-settings": "Настройки на Подзадачите", + "card-settings": "Card Settings", + "boardSubtaskSettingsPopup-title": "Настройки за Подзадачите за това Табло", + "boardCardSettingsPopup-title": "Card Settings", + "deposit-subtasks-board": "Deposit subtasks to this board:", + "deposit-subtasks-list": "Landing list for subtasks deposited here:", + "show-parent-in-minicard": "Show parent in minicard:", + "prefix-with-full-path": "Prefix with full path", + "prefix-with-parent": "Prefix with parent", + "subtext-with-full-path": "Subtext with full path", + "subtext-with-parent": "Subtext with parent", + "change-card-parent": "Промени източника на картата", + "parent-card": "Карта-източник", + "source-board": "Source board", + "no-parent": "Не показвай източника", + "activity-added-label": "добави етикет '%s' към %s", + "activity-removed-label": "премахна етикет '%s' от %s", + "activity-delete-attach": "изтри прикачен датотека от %s", + "activity-added-label-card": "добави етикет '%s'", + "activity-removed-label-card": "премахна етикет '%s'", + "activity-delete-attach-card": "изтри прикачения датотека", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "Правило", + "r-add-trigger": "Добави спусък", + "r-add-action": "Добави действие", + "r-board-rules": "Правила за таблото", + "r-add-rule": "Добави правилото", + "r-view-rule": "Виж правилото", + "r-delete-rule": "Изтрий правилото", + "r-new-rule-name": "Заглавие за новото правило", + "r-no-rules": "Няма правила", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "Когато карта", + "r-is": "е", + "r-is-moved": "преместена", + "r-added-to": "Added to", + "r-removed-from": "премахната от", + "r-the-board": "таблото", + "r-list": "списък", + "set-filter": "Set Filter", + "r-moved-to": "Moved to", + "r-moved-from": "Moved from", + "r-archived": "Преместено во Архива", + "r-unarchived": "Възстановено от Архива", + "r-a-card": "карта", + "r-when-a-label-is": "When a label is", + "r-when-the-label": "When the label", + "r-list-name": "list name", + "r-when-a-member": "When a member is", + "r-when-the-member": "When the member", + "r-name": "име", + "r-when-a-attach": "When an attachment", + "r-when-a-checklist": "When a checklist is", + "r-when-the-checklist": "When the checklist", + "r-completed": "Completed", + "r-made-incomplete": "Made incomplete", + "r-when-a-item": "When a checklist item is", + "r-when-the-item": "When the checklist item", + "r-checked": "Checked", + "r-unchecked": "Unchecked", + "r-move-card-to": "Премести картата в", + "r-top-of": "началото на", + "r-bottom-of": "края на", + "r-its-list": "списъка й", + "r-archive": "Премести во Архива", + "r-unarchive": "Възстанови от Архива", + "r-card": "карта", + "r-add": "Добави", + "r-remove": "Remove", + "r-label": "label", + "r-member": "member", + "r-remove-all": "Remove all members from the card", + "r-set-color": "Set color to", + "r-checklist": "checklist", + "r-check-all": "Check all", + "r-uncheck-all": "Uncheck all", + "r-items-check": "items of checklist", + "r-check": "Check", + "r-uncheck": "Uncheck", + "r-item": "item", + "r-of-checklist": "of checklist", + "r-send-email": "Send an email", + "r-to": "to", + "r-of": "of", + "r-subject": "subject", + "r-rule-details": "Детайли за правилото", + "r-d-move-to-top-gen": "Move card to top of its list", + "r-d-move-to-top-spec": "Move card to top of list", + "r-d-move-to-bottom-gen": "Move card to bottom of its list", + "r-d-move-to-bottom-spec": "Move card to bottom of list", + "r-d-send-email": "Send email", + "r-d-send-email-to": "to", + "r-d-send-email-subject": "subject", + "r-d-send-email-message": "message", + "r-d-archive": "Премести картата во Архива", + "r-d-unarchive": "Възстанови картата от Архива", + "r-d-add-label": "Add label", + "r-d-remove-label": "Remove label", + "r-create-card": "Create new card", + "r-in-list": "in list", + "r-in-swimlane": "in swimlane", + "r-d-add-member": "Add member", + "r-d-remove-member": "Remove member", + "r-d-remove-all-member": "Remove all member", + "r-d-check-all": "Check all items of a list", + "r-d-uncheck-all": "Uncheck all items of a list", + "r-d-check-one": "Check item", + "r-d-uncheck-one": "Uncheck item", + "r-d-check-of-list": "of checklist", + "r-d-add-checklist": "Добави чеклист", + "r-d-remove-checklist": "Премахни чеклист", + "r-by": "by", + "r-add-checklist": "Добави чеклист", + "r-with-items": "с точки", + "r-items-list": "точка1,точка2,точка3", + "r-add-swimlane": "Добави коридор", + "r-swimlane-name": "име на коридора", + "r-board-note": "Note: leave a field empty to match every possible value.", + "r-checklist-note": "Note: checklist's items have to be written as comma separated values.", + "r-when-a-card-is-moved": "When a card is moved to another list", + "r-set": "Set", + "r-update": "Update", + "r-datefield": "date field", + "r-df-start-at": "start", + "r-df-due-at": "due", + "r-df-end-at": "end", + "r-df-received-at": "received", + "r-to-current-datetime": "to current date/time", + "r-remove-value-from": "Remove value from", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Authentication method", + "authentication-type": "Authentication type", + "custom-product-name": "Custom Product Name", + "layout": "Layout", + "hide-logo": "Hide Logo", + "add-custom-html-after-body-start": "Add Custom HTML after start", + "add-custom-html-before-body-end": "Add Custom HTML before end", + "error-undefined": "Something went wrong", + "error-ldap-login": "An error occurred while trying to login", + "display-authentication-method": "Display Authentication Method", + "default-authentication-method": "Default Authentication Method", + "duplicate-board": "Duplicate Board", + "people-number": "The number of people is:", + "swimlaneDeletePopup-title": "Delete Swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Restore all", + "delete-all": "Delete all", + "loading": "Loading, please wait.", + "previous_as": "last time was", + "act-a-dueAt": "modified due time to \nWhen: __timeValue__\nWhere: __card__\n previous due was __timeOldValue__", + "act-a-endAt": "modified ending time to __timeValue__ from (__timeOldValue__)", + "act-a-startAt": "modified starting time to __timeValue__ from (__timeOldValue__)", + "act-a-receivedAt": "modified received time to __timeValue__ from (__timeOldValue__)", + "a-dueAt": "modified due time to be", + "a-endAt": "modified ending time to be", + "a-startAt": "modified starting time to be", + "a-receivedAt": "modified received time to be", + "almostdue": "current due time %s is approaching", + "pastdue": "current due time %s is past", + "duenow": "current due time %s is today", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", + "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", + "act-duenow": "was reminding the current due (__timeValue__) of __card__ is now", + "act-atUserComment": "You were mentioned in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Are you sure you want to delete this account? There is no undo.", + "accounts-allowUserDelete": "Allow users to self delete their account", + "hide-minicard-label-text": "Hide minicard label text", + "show-desktop-drag-handles": "Show desktop drag handles", + "assignee": "Assignee", + "cardAssigneesPopup-title": "Assignee", + "addmore-detail": "Add a more detailed description", + "show-on-card": "Show on Card", + "new": "New", + "editUserPopup-title": "Edit User", + "newUserPopup-title": "New User", + "notifications": "Notifications", + "view-all": "View All", + "filter-by-unread": "Filter by Unread", + "mark-all-as-read": "Mark all as read", + "remove-all-read": "Remove all read", + "allow-rename": "Allow Rename", + "allowRenamePopup-title": "Allow Rename", + "start-day-of-week": "Set day of the week start", + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archived", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/mn.i18n.json b/i18n/mn.i18n.json new file mode 100644 index 0000000..a6e4b64 --- /dev/null +++ b/i18n/mn.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Зөвшөөрөх", + "act-activity-notify": "Activity Notification", + "act-addAttachment": "added attachment __attachment__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteAttachment": "deleted attachment __attachment__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addSubtask": "added subtask __subtask__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addedLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removedLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklist": "added checklist __checklist__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklistItem": "added checklist item __checklistItem__ to checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklist": "removed checklist __checklist__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklistItem": "removed checklist item __checklistItem__ from checklist __checkList__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-checkedItem": "checked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncheckedItem": "unchecked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-completeChecklist": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncompleteChecklist": "uncompleted checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addComment": "commented on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-editComment": "edited comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteComment": "deleted comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createBoard": "created board __board__", + "act-createSwimlane": "created swimlane __swimlane__ to board __board__", + "act-createCard": "created card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-createCustomField": "created custom field __customField__ at board __board__", + "act-deleteCustomField": "deleted custom field __customField__ at board __board__", + "act-setCustomField": "edited custom field __customField__: __customFieldValue__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createList": "added list __list__ to board __board__", + "act-addBoardMember": "added member __member__ to board __board__", + "act-archivedBoard": "Board __board__ moved to Archive", + "act-archivedCard": "Card __card__ at list __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedList": "List __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedSwimlane": "Swimlane __swimlane__ at board __board__ moved to Archive", + "act-importBoard": "imported board __board__", + "act-importCard": "imported card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-importList": "imported list __list__ to swimlane __swimlane__ at board __board__", + "act-joinMember": "added member __member__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-moveCard": "moved card __card__ at board __board__ from list __oldList__ at swimlane __oldSwimlane__ to list __list__ at swimlane __swimlane__", + "act-moveCardToOtherBoard": "moved card __card__ from list __oldList__ at swimlane __oldSwimlane__ at board __oldBoard__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-removeBoardMember": "removed member __member__ from board __board__", + "act-restoredCard": "restored card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-unjoinMember": "removed member __member__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Actions", + "activities": "Activities", + "activity": "Activity", + "activity-added": "added %s to %s", + "activity-archived": "%s moved to Archive", + "activity-attached": "attached %s to %s", + "activity-created": "created %s", + "activity-customfield-created": "created custom field %s", + "activity-excluded": "excluded %s from %s", + "activity-imported": "imported %s into %s from %s", + "activity-imported-board": "imported %s from %s", + "activity-joined": "joined %s", + "activity-moved": "moved %s from %s to %s", + "activity-on": "on %s", + "activity-removed": "removed %s from %s", + "activity-sent": "sent %s to %s", + "activity-unjoined": "unjoined %s", + "activity-subtask-added": "added subtask to %s", + "activity-checked-item": "checked %s in checklist %s of %s", + "activity-unchecked-item": "unchecked %s in checklist %s of %s", + "activity-checklist-added": "added checklist to %s", + "activity-checklist-removed": "removed a checklist from %s", + "activity-checklist-completed": "completed checklist %s of %s", + "activity-checklist-uncompleted": "uncompleted the checklist %s of %s", + "activity-checklist-item-added": "added checklist item to '%s' in %s", + "activity-checklist-item-removed": "removed a checklist item from '%s' in %s", + "add": "Нэмэх", + "activity-checked-item-card": "checked %s in checklist %s", + "activity-unchecked-item-card": "unchecked %s in checklist %s", + "activity-checklist-completed-card": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "activity-checklist-uncompleted-card": "uncompleted the checklist %s", + "activity-editComment": "edited comment %s", + "activity-deleteComment": "deleted comment %s", + "add-attachment": "Хавсралт нэмэх", + "add-board": "Самбар нэмэх", + "add-card": "Карт нэмэх", + "add-swimlane": "Add Swimlane", + "add-subtask": "Add Subtask", + "add-checklist": "Чеклист нэмэх", + "add-checklist-item": "Add an item to checklist", + "add-cover": "Add Cover", + "add-label": "Шошго нэмэх", + "add-list": "Жагсаалт нэмэх", + "add-members": "Гишүүд нэмэх", + "added": "Нэмсэн", + "addMemberPopup-title": "Гишүүд", + "admin": "Админ", + "admin-desc": "Can view and edit cards, remove members, and change settings for the board.", + "admin-announcement": "Announcement", + "admin-announcement-active": "Active System-Wide Announcement", + "admin-announcement-title": "Announcement from Administrator", + "all-boards": "Бүх самбарууд", + "and-n-other-card": "And __count__ other card", + "and-n-other-card_plural": "And __count__ other cards", + "apply": "Apply", + "app-is-offline": "Loading, please wait. Refreshing the page will cause data loss. If loading does not work, please check that server has not stopped.", + "archive": "Move to Archive", + "archive-all": "Move All to Archive", + "archive-board": "Move Board to Archive", + "archive-card": "Move Card to Archive", + "archive-list": "Move List to Archive", + "archive-swimlane": "Move Swimlane to Archive", + "archive-selection": "Move selection to Archive", + "archiveBoardPopup-title": "Move Board to Archive?", + "archived-items": "Archive", + "archived-boards": "Boards in Archive", + "restore-board": "Restore Board", + "no-archived-boards": "No Boards in Archive.", + "archives": "Archive", + "template": "Template", + "templates": "Templates", + "assign-member": "Assign member", + "attached": "attached", + "attachment": "Attachment", + "attachment-delete-pop": "Deleting an attachment is permanent. There is no undo.", + "attachmentDeletePopup-title": "Delete Attachment?", + "attachments": "Attachments", + "auto-watch": "Automatically watch boards when they are created", + "avatar-too-big": "The avatar is too large (70KB max)", + "back": "Back", + "board-change-color": "Change color", + "board-nb-stars": "%s stars", + "board-not-found": "Board not found", + "board-private-info": "This board will be private.", + "board-public-info": "This board will be public.", + "boardChangeColorPopup-title": "Change Board Background", + "boardChangeTitlePopup-title": "Rename Board", + "boardChangeVisibilityPopup-title": "Change Visibility", + "boardChangeWatchPopup-title": "Change Watch", + "boardMenuPopup-title": "Board Settings", + "boardChangeViewPopup-title": "Board View", + "boards": "Boards", + "board-view": "Board View", + "board-view-cal": "Calendar", + "board-view-swimlanes": "Swimlanes", + "board-view-collapse": "Collapse", + "board-view-lists": "Lists", + "bucket-example": "Like “Bucket List” for example", + "cancel": "Cancel", + "card-archived": "This card is moved to Archive.", + "board-archived": "This board is moved to Archive.", + "card-comments-title": "This card has %s comment.", + "card-delete-notice": "Deleting is permanent. You will lose all actions associated with this card.", + "card-delete-pop": "All actions will be removed from the activity feed and you won't be able to re-open the card. There is no undo.", + "card-delete-suggest-archive": "You can move a card to Archive to remove it from the board and preserve the activity.", + "card-due": "Due", + "card-due-on": "Due on", + "card-spent": "Spent Time", + "card-edit-attachments": "Edit attachments", + "card-edit-custom-fields": "Edit custom fields", + "card-edit-labels": "Edit labels", + "card-edit-members": "Edit members", + "card-labels-title": "Change the labels for the card.", + "card-members-title": "Add or remove members of the board from the card.", + "card-start": "Start", + "card-start-on": "Starts on", + "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", + "cardStartVotingPopup-title": "Start a vote", + "positiveVoteMembersPopup-title": "Proponents", + "negativeVoteMembersPopup-title": "Opponents", + "card-edit-voting": "Edit voting", + "editVoteEndDatePopup-title": "Change vote end date", + "allowNonBoardMembers": "Allow all logged in users", + "vote-question": "Voting question", + "vote-public": "Show who voted what", + "vote-for-it": "for it", + "vote-against": "against", + "deleteVotePopup-title": "Delete vote?", + "vote-delete-pop": "Deleting is permanent. You will lose all actions associated with this vote.", + "cardDeletePopup-title": "Delete Card?", + "cardDetailsActionsPopup-title": "Card Actions", + "cardLabelsPopup-title": "Labels", + "cardMembersPopup-title": "Гишүүд", + "cardMorePopup-title": "More", + "cardTemplatePopup-title": "Create template", + "cards": "Cards", + "cards-count": "Cards", + "casSignIn": "Sign In with CAS", + "cardType-card": "Card", + "cardType-linkedCard": "Linked Card", + "cardType-linkedBoard": "Linked Board", + "change": "Change", + "change-avatar": "Аватар өөрчлөх", + "change-password": "Нууц үг солих", + "change-permissions": "Change permissions", + "change-settings": "Тохиргоо өөрчлөх", + "changeAvatarPopup-title": "Аватар өөрчлөх", + "changeLanguagePopup-title": "Хэл солих", + "changePasswordPopup-title": "Нууц үг солих", + "changePermissionsPopup-title": "Change Permissions", + "changeSettingsPopup-title": "Тохиргоо өөрчлөх", + "subtasks": "Subtasks", + "checklists": "Checklists", + "click-to-star": "Click to star this board.", + "click-to-unstar": "Click to unstar this board.", + "clipboard": "Clipboard or drag & drop", + "close": "Close", + "close-board": "Close Board", + "close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.", + "color-black": "black", + "color-blue": "blue", + "color-crimson": "crimson", + "color-darkgreen": "darkgreen", + "color-gold": "gold", + "color-gray": "gray", + "color-green": "green", + "color-indigo": "indigo", + "color-lime": "lime", + "color-magenta": "magenta", + "color-mistyrose": "mistyrose", + "color-navy": "navy", + "color-orange": "orange", + "color-paleturquoise": "paleturquoise", + "color-peachpuff": "peachpuff", + "color-pink": "pink", + "color-plum": "plum", + "color-purple": "purple", + "color-red": "red", + "color-saddlebrown": "saddlebrown", + "color-silver": "silver", + "color-sky": "sky", + "color-slateblue": "slateblue", + "color-white": "white", + "color-yellow": "yellow", + "unset-color": "Unset", + "comment": "Comment", + "comment-placeholder": "Write Comment", + "comment-only": "Comment only", + "comment-only-desc": "Can comment on cards only.", + "no-comments": "No comments", + "no-comments-desc": "Can not see comments and activities.", + "worker": "Worker", + "worker-desc": "Can only move cards, assign itself to card and comment.", + "computer": "Computer", + "confirm-subtask-delete-dialog": "Are you sure you want to delete subtask?", + "confirm-checklist-delete-dialog": "Are you sure you want to delete checklist?", + "copy-card-link-to-clipboard": "Copy card link to clipboard", + "linkCardPopup-title": "Link Card", + "searchElementPopup-title": "Search", + "copyCardPopup-title": "Copy Card", + "copyChecklistToManyCardsPopup-title": "Copy Checklist Template to Many Cards", + "copyChecklistToManyCardsPopup-instructions": "Destination Card Titles and Descriptions in this JSON format", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"First card title\", \"description\":\"First card description\"}, {\"title\":\"Second card title\",\"description\":\"Second card description\"},{\"title\":\"Last card title\",\"description\":\"Last card description\"} ]", + "create": "Үүсгэх", + "createBoardPopup-title": "Самбар үүсгэх", + "chooseBoardSourcePopup-title": "Import board", + "createLabelPopup-title": "Шошго үүсгэх", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", + "current": "current", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-currency": "Currency", + "custom-field-currency-option": "Currency Code", + "custom-field-date": "Date", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", + "date": "Date", + "decline": "Decline", + "default-avatar": "Default avatar", + "delete": "Delete", + "deleteCustomFieldPopup-title": "Delete Custom Field?", + "deleteLabelPopup-title": "Delete Label?", + "description": "Description", + "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", + "disambiguateMultiMemberPopup-title": "Disambiguate Member Action", + "discard": "Discard", + "done": "Done", + "download": "Download", + "edit": "Edit", + "edit-avatar": "Аватар өөрчлөх", + "edit-profile": "Бүртгэл засварлах", + "edit-wip-limit": "WIP хязгаарлалтыг өөрчлөх", + "soft-wip-limit": "Soft WIP Limit", + "editCardStartDatePopup-title": "Эхлэх өдрийг өөрчлөх", + "editCardDueDatePopup-title": "Дуусах өдрийг өөрчлөх", + "editCustomFieldPopup-title": "Талбарыг засварлах", + "editCardSpentTimePopup-title": "Зарцуулсан хугацааг засварлах", + "editLabelPopup-title": "Шошгыг өөрчлөх", + "editNotificationPopup-title": "Мэдэгдэл тохируулах", + "editProfilePopup-title": "Бүртгэл засварлах", + "email": "Имэйл", + "email-enrollAccount-subject": "An account created for you on __siteName__", + "email-enrollAccount-text": "Hello __user__,\n\nTo start using the service, simply click the link below.\n\n__url__\n\nThanks.", + "email-fail": "Sending email failed", + "email-fail-text": "Error trying to send email", + "email-invalid": "Буруу имэйл", + "email-invite": "Имэйлээр урих", + "email-invite-subject": "__inviter__ танд урилга илгээлээ", + "email-invite-text": "Dear __user__,\n\n__inviter__ invites you to join board \"__board__\" for collaborations.\n\nPlease follow the link below:\n\n__url__\n\nThanks.", + "email-resetPassword-subject": "Reset your password on __siteName__", + "email-resetPassword-text": "Hello __user__,\n\nTo reset your password, simply click the link below.\n\n__url__\n\nThanks.", + "email-sent": "Email sent", + "email-verifyEmail-subject": "Verify your email address on __siteName__", + "email-verifyEmail-text": "Hello __user__,\n\nTo verify your account email, simply click the link below.\n\n__url__\n\nThanks.", + "enable-wip-limit": "Enable WIP Limit", + "error-board-doesNotExist": "This board does not exist", + "error-board-notAdmin": "You need to be admin of this board to do that", + "error-board-notAMember": "You need to be a member of this board to do that", + "error-json-malformed": "Your text is not valid JSON", + "error-json-schema": "Your JSON data does not include the proper information in the correct format", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "This list does not exist", + "error-user-doesNotExist": "This user does not exist", + "error-user-notAllowSelf": "You can not invite yourself", + "error-user-notCreated": "This user is not created", + "error-username-taken": "This username is already taken", + "error-email-taken": "Email has already been taken", + "export-board": "Export board", + "export-board-json": "Export board to JSON", + "export-board-csv": "Export board to CSV", + "export-board-tsv": "Export board to TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "Export board", + "sort": "Sort", + "sort-desc": "Click to Sort List", + "list-sort-by": "Sort the List By:", + "list-label-modifiedAt": "Last Access Time", + "list-label-title": "Name of the List", + "list-label-sort": "Your Manual Order", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Filter", + "filter-cards": "Filter Cards or Lists", + "list-filter-label": "Filter List by Title", + "filter-clear": "Clear filter", + "filter-no-label": "No label", + "filter-no-member": "No member", + "filter-no-assignee": "No assignee", + "filter-no-custom-fields": "No Custom Fields", + "filter-show-archive": "Show archived lists", + "filter-hide-empty": "Hide empty lists", + "filter-on": "Filter is on", + "filter-on-desc": "You are filtering cards on this board. Click here to edit filter.", + "filter-to-selection": "Filter to selection", + "advanced-filter-label": "Advanced Filter", + "advanced-filter-description": "Advanced Filter allows to write a string containing following operators: == != <= >= && || ( ) A space is used as a separator between the Operators. You can filter for all Custom Fields by typing their names and values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need to encapsulate them into single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) to be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally all operators are interpreted from left to right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i", + "fullname": "Full Name", + "header-logo-title": "Go back to your boards page.", + "hide-system-messages": "Hide system messages", + "headerBarCreateBoardPopup-title": "Самбар үүсгэх", + "home": "Home", + "import": "Import", + "link": "Link", + "import-board": "import board", + "import-board-c": "Import board", + "import-board-title-trello": "Import board from Trello", + "import-board-title-wekan": "Import board from previous export", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "From Trello", + "from-wekan": "From previous export", + "from-csv": "From CSV/TSV", + "import-board-instruction-trello": "In your Trello board, go to 'Menu', then 'More', 'Print and Export', 'Export JSON', and copy the resulting text.", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "In your board, go to 'Menu', then 'Export board', and copy the text in the downloaded file.", + "import-board-instruction-about-errors": "If you get errors when importing board, sometimes importing still works, and board is at All Boards page.", + "import-json-placeholder": "Paste your valid JSON data here", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "Map members", + "import-members-map": "Your imported board has some members. Please map the members you want to import to your users", + "import-show-user-mapping": "Review members mapping", + "import-user-select": "Pick your existing user you want to use as this member", + "importMapMembersAddPopup-title": "Select member", + "info": "Version", + "initials": "Initials", + "invalid-date": "Invalid date", + "invalid-time": "Invalid time", + "invalid-user": "Invalid user", + "joined": "joined", + "just-invited": "You are just invited to this board", + "keyboard-shortcuts": "Keyboard shortcuts", + "label-create": "Шошго үүсгэх", + "label-default": "%s label (default)", + "label-delete-pop": "There is no undo. This will remove this label from all cards and destroy its history.", + "labels": "Labels", + "language": "Language", + "last-admin-desc": "You can’t change roles because there must be at least one admin.", + "leave-board": "Leave Board", + "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.", + "leaveBoardPopup-title": "Leave Board ?", + "link-card": "Link to this card", + "list-archive-cards": "Move all cards in this list to Archive", + "list-archive-cards-pop": "This will remove all the cards in this list from the board. To view cards in Archive and bring them back to the board, click “Menu” > “Archive”.", + "list-move-cards": "Move all cards in this list", + "list-select-cards": "Select all cards in this list", + "set-color-list": "Set Color", + "listActionPopup-title": "List Actions", + "swimlaneActionPopup-title": "Swimlane Actions", + "swimlaneAddPopup-title": "Add a Swimlane below", + "listImportCardPopup-title": "Import a Trello card", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "More", + "link-list": "Link to this list", + "list-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the list. There is no undo.", + "list-delete-suggest-archive": "You can move a list to Archive to remove it from the board and preserve the activity.", + "lists": "Lists", + "swimlanes": "Swimlanes", + "log-out": "Гарах", + "log-in": "Log In", + "loginPopup-title": "Log In", + "memberMenuPopup-title": "Гишүүний тохиргоо", + "members": "Гишүүд", + "menu": "Menu", + "move-selection": "Move selection", + "moveCardPopup-title": "Move Card", + "moveCardToBottom-title": "Move to Bottom", + "moveCardToTop-title": "Move to Top", + "moveSelectionPopup-title": "Move selection", + "multi-selection": "Multi-Selection", + "multi-selection-on": "Multi-Selection is on", + "muted": "Muted", + "muted-info": "You will never be notified of any changes in this board", + "my-boards": "Миний самбарууд", + "name": "Name", + "no-archived-cards": "No cards in Archive.", + "no-archived-lists": "No lists in Archive.", + "no-archived-swimlanes": "No swimlanes in Archive.", + "no-results": "No results", + "normal": "Normal", + "normal-desc": "Can view and edit cards. Can't change settings.", + "not-accepted-yet": "Invitation not accepted yet", + "notify-participate": "Receive updates to any cards you participate as creater or member", + "notify-watch": "Receive updates to any boards, lists, or cards you’re watching", + "optional": "optional", + "or": "or", + "page-maybe-private": "This page may be private. You may be able to view it by logging in.", + "page-not-found": "Page not found.", + "password": "Password", + "paste-or-dragdrop": "to paste, or drag & drop image file to it (image only)", + "participating": "Participating", + "preview": "Preview", + "previewAttachedImagePopup-title": "Preview", + "previewClipboardImagePopup-title": "Preview", + "private": "Private", + "private-desc": "This board is private. Only people added to the board can view and edit it.", + "profile": "Profile", + "public": "Public", + "public-desc": "This board is public. It's visible to anyone with the link and will show up in search engines like Google. Only people added to the board can edit.", + "quick-access-description": "Star a board to add a shortcut in this bar.", + "remove-cover": "Remove Cover", + "remove-from-board": "Remove from Board", + "remove-label": "Remove Label", + "listDeletePopup-title": "Delete List ?", + "remove-member": "Remove Member", + "remove-member-from-card": "Remove from Card", + "remove-member-pop": "Remove __name__ (__username__) from __boardTitle__? The member will be removed from all cards on this board. They will receive a notification.", + "removeMemberPopup-title": "Remove Member?", + "rename": "Rename", + "rename-board": "Rename Board", + "restore": "Restore", + "save": "Save", + "search": "Search", + "rules": "Rules", + "search-cards": "Search from card/list titles, descriptions and custom fields on this board", + "search-example": "Text to search for?", + "select-color": "Select Color", + "set-wip-limit-value": "Set a limit for the maximum number of tasks in this list", + "setWipLimitPopup-title": "Set WIP Limit", + "shortcut-assign-self": "Assign yourself to current card", + "shortcut-autocomplete-emoji": "Autocomplete emoji", + "shortcut-autocomplete-members": "Autocomplete members", + "shortcut-clear-filters": "Clear all filters", + "shortcut-close-dialog": "Close Dialog", + "shortcut-filter-my-cards": "Filter my cards", + "shortcut-show-shortcuts": "Bring up this shortcuts list", + "shortcut-toggle-filterbar": "Toggle Filter Sidebar", + "shortcut-toggle-sidebar": "Toggle Board Sidebar", + "show-cards-minimum-count": "Show cards count if list contains more than", + "sidebar-open": "Open Sidebar", + "sidebar-close": "Close Sidebar", + "signupPopup-title": "Хэрэглэгч үүсгэх", + "star-board-title": "Click to star this board. It will show up at top of your boards list.", + "starred-boards": "Starred Boards", + "starred-boards-description": "Starred boards show up at the top of your boards list.", + "subscribe": "Subscribe", + "team": "Team", + "this-board": "this board", + "this-card": "this card", + "spent-time-hours": "Spent time (hours)", + "overtime-hours": "Overtime (hours)", + "overtime": "Overtime", + "has-overtime-cards": "Has overtime cards", + "has-spenttime-cards": "Has spent time cards", + "time": "Time", + "title": "Title", + "tracking": "Tracking", + "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", + "unassign-member": "Unassign member", + "unsaved-description": "You have an unsaved description.", + "unwatch": "Unwatch", + "upload": "Upload", + "upload-avatar": "Upload an avatar", + "uploaded-avatar": "Uploaded an avatar", + "username": "Username", + "view-it": "View it", + "warn-list-archived": "warning: this card is in an list at Archive", + "watch": "Watch", + "watching": "Watching", + "watching-info": "You will be notified of any change in this board", + "welcome-board": "Welcome Board", + "welcome-swimlane": "Milestone 1", + "welcome-list1": "Basics", + "welcome-list2": "Advanced", + "card-templates-swimlane": "Card Templates", + "list-templates-swimlane": "List Templates", + "board-templates-swimlane": "Board Templates", + "what-to-do": "What do you want to do?", + "wipLimitErrorPopup-title": "Invalid WIP Limit", + "wipLimitErrorPopup-dialog-pt1": "The number of tasks in this list is higher than the WIP limit you've defined.", + "wipLimitErrorPopup-dialog-pt2": "Please move some tasks out of this list, or set a higher WIP limit.", + "admin-panel": "Admin Panel", + "settings": "Settings", + "people": "People", + "registration": "Registration", + "disable-self-registration": "Disable Self-Registration", + "invite": "Invite", + "invite-people": "Invite People", + "to-boards": "To board(s)", + "email-addresses": "Email Addresses", + "smtp-host-description": "The address of the SMTP server that handles your emails.", + "smtp-port-description": "The port your SMTP server uses for outgoing emails.", + "smtp-tls-description": "Enable TLS support for SMTP server", + "smtp-host": "SMTP Host", + "smtp-port": "SMTP Port", + "smtp-username": "Username", + "smtp-password": "Password", + "smtp-tls": "TLS support", + "send-from": "From", + "send-smtp-test": "Send a test email to yourself", + "invitation-code": "Invitation Code", + "email-invite-register-subject": "__inviter__ танд урилга илгээлээ", + "email-invite-register-text": "Dear __user__,\n\n__inviter__ invites you to kanban board for collaborations.\n\nPlease follow the link below:\n__url__\n\nAnd your invitation code is: __icode__\n\nThanks.", + "email-smtp-test-subject": "SMTP Test Email", + "email-smtp-test-text": "You have successfully sent an email", + "error-invitation-code-not-exist": "Invitation code doesn't exist", + "error-notAuthorized": "You are not authorized to view this page.", + "webhook-title": "Webhook Name", + "webhook-token": "Token (Optional for Authentication)", + "outgoing-webhooks": "Outgoing Webhooks", + "bidirectional-webhooks": "Two-Way Webhooks", + "outgoingWebhooksPopup-title": "Outgoing Webhooks", + "boardCardTitlePopup-title": "Card Title Filter", + "disable-webhook": "Disable This Webhook", + "global-webhook": "Global Webhooks", + "new-outgoing-webhook": "New Outgoing Webhook", + "no-name": "(Unknown)", + "Node_version": "Node version", + "Meteor_version": "Meteor version", + "MongoDB_version": "MongoDB version", + "MongoDB_storage_engine": "MongoDB storage engine", + "MongoDB_Oplog_enabled": "MongoDB Oplog enabled", + "OS_Arch": "OS Arch", + "OS_Cpus": "OS CPU Count", + "OS_Freemem": "OS Free Memory", + "OS_Loadavg": "OS Load Average", + "OS_Platform": "OS Platform", + "OS_Release": "OS Release", + "OS_Totalmem": "OS Total Memory", + "OS_Type": "OS Type", + "OS_Uptime": "OS Uptime", + "days": "days", + "hours": "hours", + "minutes": "minutes", + "seconds": "seconds", + "show-field-on-card": "Show this field on card", + "automatically-field-on-card": "Auto create field to all cards", + "showLabel-field-on-card": "Show field label on minicard", + "yes": "Yes", + "no": "No", + "accounts": "Accounts", + "accounts-allowEmailChange": "Allow Email Change", + "accounts-allowUserNameChange": "Allow Username Change", + "createdAt": "Created at", + "verified": "Verified", + "active": "Active", + "card-received": "Received", + "card-received-on": "Received on", + "card-end": "End", + "card-end-on": "Ends on", + "editCardReceivedDatePopup-title": "Change received date", + "editCardEndDatePopup-title": "Change end date", + "setCardColorPopup-title": "Set color", + "setCardActionsColorPopup-title": "Choose a color", + "setSwimlaneColorPopup-title": "Choose a color", + "setListColorPopup-title": "Choose a color", + "assigned-by": "Assigned By", + "requested-by": "Requested By", + "board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.", + "delete-board-confirm-popup": "All lists, cards, labels, and activities will be deleted and you won't be able to recover the board contents. There is no undo.", + "boardDeletePopup-title": "Delete Board?", + "delete-board": "Delete Board", + "default-subtasks-board": "Subtasks for __board__ board", + "default": "Default", + "queue": "Queue", + "subtask-settings": "Subtasks Settings", + "card-settings": "Card Settings", + "boardSubtaskSettingsPopup-title": "Board Subtasks Settings", + "boardCardSettingsPopup-title": "Card Settings", + "deposit-subtasks-board": "Deposit subtasks to this board:", + "deposit-subtasks-list": "Landing list for subtasks deposited here:", + "show-parent-in-minicard": "Show parent in minicard:", + "prefix-with-full-path": "Prefix with full path", + "prefix-with-parent": "Prefix with parent", + "subtext-with-full-path": "Subtext with full path", + "subtext-with-parent": "Subtext with parent", + "change-card-parent": "Change card's parent", + "parent-card": "Parent card", + "source-board": "Source board", + "no-parent": "Don't show parent", + "activity-added-label": "added label '%s' to %s", + "activity-removed-label": "removed label '%s' from %s", + "activity-delete-attach": "deleted an attachment from %s", + "activity-added-label-card": "added label '%s'", + "activity-removed-label-card": "removed label '%s'", + "activity-delete-attach-card": "deleted an attachment", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "Rule", + "r-add-trigger": "Add trigger", + "r-add-action": "Add action", + "r-board-rules": "Board rules", + "r-add-rule": "Add rule", + "r-view-rule": "View rule", + "r-delete-rule": "Delete rule", + "r-new-rule-name": "New rule title", + "r-no-rules": "No rules", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "When a card", + "r-is": "is", + "r-is-moved": "is moved", + "r-added-to": "Added to", + "r-removed-from": "Removed from", + "r-the-board": "the board", + "r-list": "list", + "set-filter": "Set Filter", + "r-moved-to": "Moved to", + "r-moved-from": "Moved from", + "r-archived": "Moved to Archive", + "r-unarchived": "Restored from Archive", + "r-a-card": "a card", + "r-when-a-label-is": "When a label is", + "r-when-the-label": "When the label", + "r-list-name": "list name", + "r-when-a-member": "When a member is", + "r-when-the-member": "When the member", + "r-name": "name", + "r-when-a-attach": "When an attachment", + "r-when-a-checklist": "When a checklist is", + "r-when-the-checklist": "When the checklist", + "r-completed": "Completed", + "r-made-incomplete": "Made incomplete", + "r-when-a-item": "When a checklist item is", + "r-when-the-item": "When the checklist item", + "r-checked": "Checked", + "r-unchecked": "Unchecked", + "r-move-card-to": "Move card to", + "r-top-of": "Top of", + "r-bottom-of": "Bottom of", + "r-its-list": "its list", + "r-archive": "Move to Archive", + "r-unarchive": "Restore from Archive", + "r-card": "card", + "r-add": "Нэмэх", + "r-remove": "Remove", + "r-label": "label", + "r-member": "member", + "r-remove-all": "Remove all members from the card", + "r-set-color": "Set color to", + "r-checklist": "checklist", + "r-check-all": "Check all", + "r-uncheck-all": "Uncheck all", + "r-items-check": "items of checklist", + "r-check": "Check", + "r-uncheck": "Uncheck", + "r-item": "item", + "r-of-checklist": "of checklist", + "r-send-email": "Send an email", + "r-to": "to", + "r-of": "of", + "r-subject": "subject", + "r-rule-details": "Rule details", + "r-d-move-to-top-gen": "Move card to top of its list", + "r-d-move-to-top-spec": "Move card to top of list", + "r-d-move-to-bottom-gen": "Move card to bottom of its list", + "r-d-move-to-bottom-spec": "Move card to bottom of list", + "r-d-send-email": "Send email", + "r-d-send-email-to": "to", + "r-d-send-email-subject": "subject", + "r-d-send-email-message": "message", + "r-d-archive": "Move card to Archive", + "r-d-unarchive": "Restore card from Archive", + "r-d-add-label": "Add label", + "r-d-remove-label": "Remove label", + "r-create-card": "Create new card", + "r-in-list": "in list", + "r-in-swimlane": "in swimlane", + "r-d-add-member": "Add member", + "r-d-remove-member": "Remove member", + "r-d-remove-all-member": "Remove all member", + "r-d-check-all": "Check all items of a list", + "r-d-uncheck-all": "Uncheck all items of a list", + "r-d-check-one": "Check item", + "r-d-uncheck-one": "Uncheck item", + "r-d-check-of-list": "of checklist", + "r-d-add-checklist": "Add checklist", + "r-d-remove-checklist": "Remove checklist", + "r-by": "by", + "r-add-checklist": "Add checklist", + "r-with-items": "with items", + "r-items-list": "item1,item2,item3", + "r-add-swimlane": "Add swimlane", + "r-swimlane-name": "swimlane name", + "r-board-note": "Note: leave a field empty to match every possible value.", + "r-checklist-note": "Note: checklist's items have to be written as comma separated values.", + "r-when-a-card-is-moved": "When a card is moved to another list", + "r-set": "Set", + "r-update": "Update", + "r-datefield": "date field", + "r-df-start-at": "start", + "r-df-due-at": "due", + "r-df-end-at": "end", + "r-df-received-at": "received", + "r-to-current-datetime": "to current date/time", + "r-remove-value-from": "Remove value from", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Authentication method", + "authentication-type": "Authentication type", + "custom-product-name": "Custom Product Name", + "layout": "Layout", + "hide-logo": "Hide Logo", + "add-custom-html-after-body-start": "Add Custom HTML after start", + "add-custom-html-before-body-end": "Add Custom HTML before end", + "error-undefined": "Something went wrong", + "error-ldap-login": "An error occurred while trying to login", + "display-authentication-method": "Display Authentication Method", + "default-authentication-method": "Default Authentication Method", + "duplicate-board": "Duplicate Board", + "people-number": "The number of people is:", + "swimlaneDeletePopup-title": "Delete Swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Restore all", + "delete-all": "Delete all", + "loading": "Loading, please wait.", + "previous_as": "last time was", + "act-a-dueAt": "modified due time to \nWhen: __timeValue__\nWhere: __card__\n previous due was __timeOldValue__", + "act-a-endAt": "modified ending time to __timeValue__ from (__timeOldValue__)", + "act-a-startAt": "modified starting time to __timeValue__ from (__timeOldValue__)", + "act-a-receivedAt": "modified received time to __timeValue__ from (__timeOldValue__)", + "a-dueAt": "modified due time to be", + "a-endAt": "modified ending time to be", + "a-startAt": "modified starting time to be", + "a-receivedAt": "modified received time to be", + "almostdue": "current due time %s is approaching", + "pastdue": "current due time %s is past", + "duenow": "current due time %s is today", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", + "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", + "act-duenow": "was reminding the current due (__timeValue__) of __card__ is now", + "act-atUserComment": "You were mentioned in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Are you sure you want to delete this account? There is no undo.", + "accounts-allowUserDelete": "Allow users to self delete their account", + "hide-minicard-label-text": "Hide minicard label text", + "show-desktop-drag-handles": "Show desktop drag handles", + "assignee": "Assignee", + "cardAssigneesPopup-title": "Assignee", + "addmore-detail": "Add a more detailed description", + "show-on-card": "Show on Card", + "new": "New", + "editUserPopup-title": "Edit User", + "newUserPopup-title": "New User", + "notifications": "Notifications", + "view-all": "View All", + "filter-by-unread": "Filter by Unread", + "mark-all-as-read": "Mark all as read", + "remove-all-read": "Remove all read", + "allow-rename": "Allow Rename", + "allowRenamePopup-title": "Allow Rename", + "start-day-of-week": "Set day of the week start", + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archived", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/nb.i18n.json b/i18n/nb.i18n.json new file mode 100644 index 0000000..676e6cf --- /dev/null +++ b/i18n/nb.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Godta", + "act-activity-notify": "Activity Notification", + "act-addAttachment": "added attachment __attachment__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteAttachment": "deleted attachment __attachment__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addSubtask": "added subtask __subtask__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addedLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removedLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklist": "added checklist __checklist__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklistItem": "added checklist item __checklistItem__ to checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklist": "removed checklist __checklist__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklistItem": "removed checklist item __checklistItem__ from checklist __checkList__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-checkedItem": "checked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncheckedItem": "unchecked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-completeChecklist": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncompleteChecklist": "uncompleted checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addComment": "commented on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-editComment": "edited comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteComment": "deleted comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createBoard": "created board __board__", + "act-createSwimlane": "created swimlane __swimlane__ to board __board__", + "act-createCard": "created card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-createCustomField": "created custom field __customField__ at board __board__", + "act-deleteCustomField": "deleted custom field __customField__ at board __board__", + "act-setCustomField": "edited custom field __customField__: __customFieldValue__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createList": "added list __list__ to board __board__", + "act-addBoardMember": "added member __member__ to board __board__", + "act-archivedBoard": "Board __board__ moved to Archive", + "act-archivedCard": "Card __card__ at list __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedList": "List __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedSwimlane": "Swimlane __swimlane__ at board __board__ moved to Archive", + "act-importBoard": "imported board __board__", + "act-importCard": "imported card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-importList": "imported list __list__ to swimlane __swimlane__ at board __board__", + "act-joinMember": "added member __member__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-moveCard": "moved card __card__ at board __board__ from list __oldList__ at swimlane __oldSwimlane__ to list __list__ at swimlane __swimlane__", + "act-moveCardToOtherBoard": "moved card __card__ from list __oldList__ at swimlane __oldSwimlane__ at board __oldBoard__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-removeBoardMember": "removed member __member__ from board __board__", + "act-restoredCard": "restored card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-unjoinMember": "removed member __member__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Actions", + "activities": "Aktiviteter", + "activity": "Aktivitet", + "activity-added": "la %s til %s", + "activity-archived": "%s moved to Archive", + "activity-attached": "la %s til %s", + "activity-created": "opprettet %s", + "activity-customfield-created": "created custom field %s", + "activity-excluded": "ekskluderte %s fra %s", + "activity-imported": "importerte %s til %s fra %s", + "activity-imported-board": "importerte %s fra %s", + "activity-joined": "ble med %s", + "activity-moved": "flyttet %s fra %s til %s", + "activity-on": "på %s", + "activity-removed": "fjernet %s fra %s", + "activity-sent": "sendte %s til %s", + "activity-unjoined": "forlot %s", + "activity-subtask-added": "added subtask to %s", + "activity-checked-item": "checked %s in checklist %s of %s", + "activity-unchecked-item": "unchecked %s in checklist %s of %s", + "activity-checklist-added": "la til sjekkliste til %s", + "activity-checklist-removed": "removed a checklist from %s", + "activity-checklist-completed": "completed checklist %s of %s", + "activity-checklist-uncompleted": "uncompleted the checklist %s of %s", + "activity-checklist-item-added": "added checklist item to '%s' in %s", + "activity-checklist-item-removed": "removed a checklist item from '%s' in %s", + "add": "Legg til", + "activity-checked-item-card": "checked %s in checklist %s", + "activity-unchecked-item-card": "unchecked %s in checklist %s", + "activity-checklist-completed-card": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "activity-checklist-uncompleted-card": "uncompleted the checklist %s", + "activity-editComment": "edited comment %s", + "activity-deleteComment": "deleted comment %s", + "add-attachment": "Add Attachment", + "add-board": "Add Board", + "add-card": "Add Card", + "add-swimlane": "Add Swimlane", + "add-subtask": "Add Subtask", + "add-checklist": "Add Checklist", + "add-checklist-item": "Nytt punkt på sjekklisten", + "add-cover": "Nytt omslag", + "add-label": "Add Label", + "add-list": "Add List", + "add-members": "Legg til medlemmer", + "added": "Lagt til", + "addMemberPopup-title": "Medlemmer", + "admin": "Admin", + "admin-desc": "Kan se og redigere kort, fjerne medlemmer, og endre innstillingene for tavlen.", + "admin-announcement": "Announcement", + "admin-announcement-active": "Active System-Wide Announcement", + "admin-announcement-title": "Announcement from Administrator", + "all-boards": "Alle tavler", + "and-n-other-card": "Og __count__ andre kort", + "and-n-other-card_plural": "Og __count__ andre kort", + "apply": "Lagre", + "app-is-offline": "Loading, please wait. Refreshing the page will cause data loss. If loading does not work, please check that server has not stopped.", + "archive": "Move to Archive", + "archive-all": "Move All to Archive", + "archive-board": "Move Board to Archive", + "archive-card": "Move Card to Archive", + "archive-list": "Move List to Archive", + "archive-swimlane": "Move Swimlane to Archive", + "archive-selection": "Move selection to Archive", + "archiveBoardPopup-title": "Move Board to Archive?", + "archived-items": "Arkiv", + "archived-boards": "Tavler i arkivet", + "restore-board": "Restore Board", + "no-archived-boards": "Ingen tavler i arkivet", + "archives": "Arkiv", + "template": "Template", + "templates": "Templates", + "assign-member": "Tildel medlem", + "attached": "la ved", + "attachment": "Vedlegg", + "attachment-delete-pop": "Sletting av vedlegg er permanent og kan ikke angres", + "attachmentDeletePopup-title": "Slette vedlegg?", + "attachments": "Vedlegg", + "auto-watch": "Automatically watch boards when they are created", + "avatar-too-big": "The avatar is too large (70KB max)", + "back": "Tilbake", + "board-change-color": "Endre farge", + "board-nb-stars": "%s stjerner", + "board-not-found": "Kunne ikke finne tavlen", + "board-private-info": "Denne tavlen vil være privat.", + "board-public-info": "Denne tavlen vil være offentlig.", + "boardChangeColorPopup-title": "Ende tavlens bakgrunnsfarge", + "boardChangeTitlePopup-title": "Endre navn på tavlen", + "boardChangeVisibilityPopup-title": "Endre synlighet", + "boardChangeWatchPopup-title": "Endre overvåkning", + "boardMenuPopup-title": "Board Settings", + "boardChangeViewPopup-title": "Board View", + "boards": "Tavler", + "board-view": "Board View", + "board-view-cal": "Calendar", + "board-view-swimlanes": "Swimlanes", + "board-view-collapse": "Collapse", + "board-view-lists": "Lists", + "bucket-example": "Som \"Bucket List\" for eksempel", + "cancel": "Avbryt", + "card-archived": "This card is moved to Archive.", + "board-archived": "This board is moved to Archive.", + "card-comments-title": "Dette kortet har %s kommentar.", + "card-delete-notice": "Sletting er permanent. Du vil miste alle hendelser knyttet til dette kortet.", + "card-delete-pop": "Alle handlinger vil fjernes fra feeden for aktiviteter og du vil ikke kunne åpne kortet på nytt. Det er ingen mulighet å angre.", + "card-delete-suggest-archive": "You can move a card to Archive to remove it from the board and preserve the activity.", + "card-due": "Frist", + "card-due-on": "Frist til", + "card-spent": "Spent Time", + "card-edit-attachments": "Rediger vedlegg", + "card-edit-custom-fields": "Edit custom fields", + "card-edit-labels": "Rediger etiketter", + "card-edit-members": "Endre medlemmer", + "card-labels-title": "Endre etiketter for kortet.", + "card-members-title": "Legg til eller fjern tavle-medlemmer fra dette kortet.", + "card-start": "Start", + "card-start-on": "Starter på", + "cardAttachmentsPopup-title": "Legg ved fra", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", + "cardStartVotingPopup-title": "Start a vote", + "positiveVoteMembersPopup-title": "Proponents", + "negativeVoteMembersPopup-title": "Opponents", + "card-edit-voting": "Edit voting", + "editVoteEndDatePopup-title": "Change vote end date", + "allowNonBoardMembers": "Allow all logged in users", + "vote-question": "Voting question", + "vote-public": "Show who voted what", + "vote-for-it": "for it", + "vote-against": "against", + "deleteVotePopup-title": "Delete vote?", + "vote-delete-pop": "Deleting is permanent. You will lose all actions associated with this vote.", + "cardDeletePopup-title": "Slett kort?", + "cardDetailsActionsPopup-title": "Kort-handlinger", + "cardLabelsPopup-title": "Etiketter", + "cardMembersPopup-title": "Medlemmer", + "cardMorePopup-title": "Mer", + "cardTemplatePopup-title": "Create template", + "cards": "Kort", + "cards-count": "Kort", + "casSignIn": "Sign In with CAS", + "cardType-card": "Card", + "cardType-linkedCard": "Linked Card", + "cardType-linkedBoard": "Linked Board", + "change": "Endre", + "change-avatar": "Endre avatar", + "change-password": "Endre passord", + "change-permissions": "Endre rettigheter", + "change-settings": "Endre innstillinger", + "changeAvatarPopup-title": "Endre avatar", + "changeLanguagePopup-title": "Endre språk", + "changePasswordPopup-title": "Endre passord", + "changePermissionsPopup-title": "Endre tillatelser", + "changeSettingsPopup-title": "Endre innstillinger", + "subtasks": "Deloppgave", + "checklists": "Sjekklister", + "click-to-star": "Click to star this board.", + "click-to-unstar": "Click to unstar this board.", + "clipboard": "Clipboard or drag & drop", + "close": "Lukk", + "close-board": "Close Board", + "close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.", + "color-black": "svart", + "color-blue": "blå", + "color-crimson": "crimson", + "color-darkgreen": "mørkegrønn", + "color-gold": "gull", + "color-gray": "grå", + "color-green": "grønn", + "color-indigo": "indigo", + "color-lime": "lime", + "color-magenta": "magenta", + "color-mistyrose": "mistyrose", + "color-navy": "navy", + "color-orange": "orange", + "color-paleturquoise": "paleturquoise", + "color-peachpuff": "peachpuff", + "color-pink": "rosa", + "color-plum": "plum", + "color-purple": "lilla", + "color-red": "red", + "color-saddlebrown": "saddlebrown", + "color-silver": "silver", + "color-sky": "sky", + "color-slateblue": "slateblue", + "color-white": "white", + "color-yellow": "yellow", + "unset-color": "Unset", + "comment": "Comment", + "comment-placeholder": "Write Comment", + "comment-only": "Comment only", + "comment-only-desc": "Can comment on cards only.", + "no-comments": "No comments", + "no-comments-desc": "Can not see comments and activities.", + "worker": "Worker", + "worker-desc": "Can only move cards, assign itself to card and comment.", + "computer": "Computer", + "confirm-subtask-delete-dialog": "Are you sure you want to delete subtask?", + "confirm-checklist-delete-dialog": "Are you sure you want to delete checklist?", + "copy-card-link-to-clipboard": "Copy card link to clipboard", + "linkCardPopup-title": "Link Card", + "searchElementPopup-title": "Search", + "copyCardPopup-title": "Copy Card", + "copyChecklistToManyCardsPopup-title": "Copy Checklist Template to Many Cards", + "copyChecklistToManyCardsPopup-instructions": "Destination Card Titles and Descriptions in this JSON format", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"First card title\", \"description\":\"First card description\"}, {\"title\":\"Second card title\",\"description\":\"Second card description\"},{\"title\":\"Last card title\",\"description\":\"Last card description\"} ]", + "create": "Create", + "createBoardPopup-title": "Create Board", + "chooseBoardSourcePopup-title": "Import board", + "createLabelPopup-title": "Create Label", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", + "current": "current", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-currency": "Currency", + "custom-field-currency-option": "Currency Code", + "custom-field-date": "Dato", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(ukjent)", + "custom-field-number": "Nummer", + "custom-field-text": "Tekst", + "custom-fields": "Custom Fields", + "date": "Dato", + "decline": "Avvis", + "default-avatar": "Default avatar", + "delete": "Slett", + "deleteCustomFieldPopup-title": "Delete Custom Field?", + "deleteLabelPopup-title": "Delete Label?", + "description": "Beskrivelse", + "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", + "disambiguateMultiMemberPopup-title": "Disambiguate Member Action", + "discard": "Discard", + "done": "Done", + "download": "Last ned", + "edit": "Rediger", + "edit-avatar": "Endre avatar", + "edit-profile": "Endre profil", + "edit-wip-limit": "Endre WIP grense", + "soft-wip-limit": "Soft WIP Limit", + "editCardStartDatePopup-title": "Endre start dato", + "editCardDueDatePopup-title": "Change due date", + "editCustomFieldPopup-title": "Edit Field", + "editCardSpentTimePopup-title": "Change spent time", + "editLabelPopup-title": "Change Label", + "editNotificationPopup-title": "Edit Notification", + "editProfilePopup-title": "Endre profil", + "email": "Email", + "email-enrollAccount-subject": "An account created for you on __siteName__", + "email-enrollAccount-text": "Hello __user__,\n\nTo start using the service, simply click the link below.\n\n__url__\n\nThanks.", + "email-fail": "Sending email failed", + "email-fail-text": "Error trying to send email", + "email-invalid": "Invalid email", + "email-invite": "Invite via Email", + "email-invite-subject": "__inviter__ sent you an invitation", + "email-invite-text": "Dear __user__,\n\n__inviter__ invites you to join board \"__board__\" for collaborations.\n\nPlease follow the link below:\n\n__url__\n\nThanks.", + "email-resetPassword-subject": "Reset your password on __siteName__", + "email-resetPassword-text": "Hello __user__,\n\nTo reset your password, simply click the link below.\n\n__url__\n\nThanks.", + "email-sent": "Email sent", + "email-verifyEmail-subject": "Verify your email address on __siteName__", + "email-verifyEmail-text": "Hello __user__,\n\nTo verify your account email, simply click the link below.\n\n__url__\n\nThanks.", + "enable-wip-limit": "Enable WIP Limit", + "error-board-doesNotExist": "Denne tavlen finnes ikke", + "error-board-notAdmin": "Du må være administrator for denne tavlen for å gjøre dette", + "error-board-notAMember": "Du må være medlem av denne tavlen for å gjøre dette", + "error-json-malformed": "Denne teksten er ikke gyldig JSON", + "error-json-schema": "Your JSON data does not include the proper information in the correct format", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "Denne listen finnes ikke", + "error-user-doesNotExist": "This user does not exist", + "error-user-notAllowSelf": "You can not invite yourself", + "error-user-notCreated": "This user is not created", + "error-username-taken": "This username is already taken", + "error-email-taken": "Email has already been taken", + "export-board": "Export board", + "export-board-json": "Export board to JSON", + "export-board-csv": "Export board to CSV", + "export-board-tsv": "Export board to TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "Export board", + "sort": "Sort", + "sort-desc": "Click to Sort List", + "list-sort-by": "Sort the List By:", + "list-label-modifiedAt": "Last Access Time", + "list-label-title": "Name of the List", + "list-label-sort": "Your Manual Order", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Filter", + "filter-cards": "Filter Cards or Lists", + "list-filter-label": "Filter List by Title", + "filter-clear": "Clear filter", + "filter-no-label": "No label", + "filter-no-member": "No member", + "filter-no-assignee": "No assignee", + "filter-no-custom-fields": "No Custom Fields", + "filter-show-archive": "Show archived lists", + "filter-hide-empty": "Hide empty lists", + "filter-on": "Filter is on", + "filter-on-desc": "You are filtering cards on this board. Click here to edit filter.", + "filter-to-selection": "Filter to selection", + "advanced-filter-label": "Advanced Filter", + "advanced-filter-description": "Advanced Filter allows to write a string containing following operators: == != <= >= && || ( ) A space is used as a separator between the Operators. You can filter for all Custom Fields by typing their names and values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need to encapsulate them into single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) to be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally all operators are interpreted from left to right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i", + "fullname": "Full Name", + "header-logo-title": "Tilbake til dine tavler", + "hide-system-messages": "Hide system messages", + "headerBarCreateBoardPopup-title": "Create Board", + "home": "Home", + "import": "Import", + "link": "Link", + "import-board": "import board", + "import-board-c": "Import board", + "import-board-title-trello": "Import board from Trello", + "import-board-title-wekan": "Import board from previous export", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "From Trello", + "from-wekan": "From previous export", + "from-csv": "From CSV/TSV", + "import-board-instruction-trello": "In your Trello board, go to 'Menu', then 'More', 'Print and Export', 'Export JSON', and copy the resulting text.", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "In your board, go to 'Menu', then 'Export board', and copy the text in the downloaded file.", + "import-board-instruction-about-errors": "If you get errors when importing board, sometimes importing still works, and board is at All Boards page.", + "import-json-placeholder": "Paste your valid JSON data here", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "Map members", + "import-members-map": "Your imported board has some members. Please map the members you want to import to your users", + "import-show-user-mapping": "Review members mapping", + "import-user-select": "Pick your existing user you want to use as this member", + "importMapMembersAddPopup-title": "Select member", + "info": "Version", + "initials": "Initials", + "invalid-date": "Invalid date", + "invalid-time": "Invalid time", + "invalid-user": "Invalid user", + "joined": "joined", + "just-invited": "You are just invited to this board", + "keyboard-shortcuts": "Keyboard shortcuts", + "label-create": "Create Label", + "label-default": "%s label (default)", + "label-delete-pop": "There is no undo. This will remove this label from all cards and destroy its history.", + "labels": "Etiketter", + "language": "Language", + "last-admin-desc": "You can’t change roles because there must be at least one admin.", + "leave-board": "Leave Board", + "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.", + "leaveBoardPopup-title": "Leave Board ?", + "link-card": "Link to this card", + "list-archive-cards": "Move all cards in this list to Archive", + "list-archive-cards-pop": "This will remove all the cards in this list from the board. To view cards in Archive and bring them back to the board, click “Menu” > “Archive”.", + "list-move-cards": "Move all cards in this list", + "list-select-cards": "Select all cards in this list", + "set-color-list": "Set Color", + "listActionPopup-title": "List Actions", + "swimlaneActionPopup-title": "Swimlane Actions", + "swimlaneAddPopup-title": "Add a Swimlane below", + "listImportCardPopup-title": "Import a Trello card", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "Mer", + "link-list": "Link to this list", + "list-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the list. There is no undo.", + "list-delete-suggest-archive": "You can move a list to Archive to remove it from the board and preserve the activity.", + "lists": "Lists", + "swimlanes": "Swimlanes", + "log-out": "Log Out", + "log-in": "Log In", + "loginPopup-title": "Log In", + "memberMenuPopup-title": "Member Settings", + "members": "Medlemmer", + "menu": "Menu", + "move-selection": "Move selection", + "moveCardPopup-title": "Move Card", + "moveCardToBottom-title": "Move to Bottom", + "moveCardToTop-title": "Move to Top", + "moveSelectionPopup-title": "Move selection", + "multi-selection": "Multi-Selection", + "multi-selection-on": "Multi-Selection is on", + "muted": "Muted", + "muted-info": "You will never be notified of any changes in this board", + "my-boards": "Mine tavler", + "name": "Navn", + "no-archived-cards": "No cards in Archive.", + "no-archived-lists": "No lists in Archive.", + "no-archived-swimlanes": "No swimlanes in Archive.", + "no-results": "No results", + "normal": "Normal", + "normal-desc": "Can view and edit cards. Can't change settings.", + "not-accepted-yet": "Invitation not accepted yet", + "notify-participate": "Receive updates to any cards you participate as creater or member", + "notify-watch": "Motta oppdatering av alle tavler, lister eller kort som du overvåker", + "optional": "valgfritt", + "or": "eller", + "page-maybe-private": "This page may be private. You may be able to view it by logging in.", + "page-not-found": "Page not found.", + "password": "Passord", + "paste-or-dragdrop": "to paste, or drag & drop image file to it (image only)", + "participating": "Participating", + "preview": "Forhåndsvisning", + "previewAttachedImagePopup-title": "Forhåndsvisning", + "previewClipboardImagePopup-title": "Forhåndsvisning", + "private": "Privat", + "private-desc": "This board is private. Only people added to the board can view and edit it.", + "profile": "Profil", + "public": "Public", + "public-desc": "This board is public. It's visible to anyone with the link and will show up in search engines like Google. Only people added to the board can edit.", + "quick-access-description": "Star a board to add a shortcut in this bar.", + "remove-cover": "Remove Cover", + "remove-from-board": "Remove from Board", + "remove-label": "Remove Label", + "listDeletePopup-title": "Delete List ?", + "remove-member": "Remove Member", + "remove-member-from-card": "Remove from Card", + "remove-member-pop": "Remove __name__ (__username__) from __boardTitle__? The member will be removed from all cards on this board. They will receive a notification.", + "removeMemberPopup-title": "Remove Member?", + "rename": "Rename", + "rename-board": "Endre navn på tavlen", + "restore": "Restore", + "save": "Save", + "search": "Search", + "rules": "Rules", + "search-cards": "Search from card/list titles, descriptions and custom fields on this board", + "search-example": "Text to search for?", + "select-color": "Select Color", + "set-wip-limit-value": "Set a limit for the maximum number of tasks in this list", + "setWipLimitPopup-title": "Set WIP Limit", + "shortcut-assign-self": "Assign yourself to current card", + "shortcut-autocomplete-emoji": "Autocomplete emoji", + "shortcut-autocomplete-members": "Autocomplete members", + "shortcut-clear-filters": "Clear all filters", + "shortcut-close-dialog": "Close Dialog", + "shortcut-filter-my-cards": "Filter my cards", + "shortcut-show-shortcuts": "Bring up this shortcuts list", + "shortcut-toggle-filterbar": "Toggle Filter Sidebar", + "shortcut-toggle-sidebar": "Toggle Board Sidebar", + "show-cards-minimum-count": "Show cards count if list contains more than", + "sidebar-open": "Open Sidebar", + "sidebar-close": "Close Sidebar", + "signupPopup-title": "Create an Account", + "star-board-title": "Click to star this board. It will show up at top of your boards list.", + "starred-boards": "Starred Boards", + "starred-boards-description": "Starred boards show up at the top of your boards list.", + "subscribe": "Subscribe", + "team": "Team", + "this-board": "this board", + "this-card": "this card", + "spent-time-hours": "Spent time (hours)", + "overtime-hours": "Overtime (hours)", + "overtime": "Overtime", + "has-overtime-cards": "Has overtime cards", + "has-spenttime-cards": "Has spent time cards", + "time": "Time", + "title": "Title", + "tracking": "Tracking", + "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", + "unassign-member": "Unassign member", + "unsaved-description": "You have an unsaved description.", + "unwatch": "Unwatch", + "upload": "Upload", + "upload-avatar": "Upload an avatar", + "uploaded-avatar": "Uploaded an avatar", + "username": "Brukernavn", + "view-it": "View it", + "warn-list-archived": "warning: this card is in an list at Archive", + "watch": "Watch", + "watching": "Watching", + "watching-info": "You will be notified of any change in this board", + "welcome-board": "Welcome Board", + "welcome-swimlane": "Milestone 1", + "welcome-list1": "Basics", + "welcome-list2": "Advanced", + "card-templates-swimlane": "Card Templates", + "list-templates-swimlane": "List Templates", + "board-templates-swimlane": "Board Templates", + "what-to-do": "What do you want to do?", + "wipLimitErrorPopup-title": "Invalid WIP Limit", + "wipLimitErrorPopup-dialog-pt1": "The number of tasks in this list is higher than the WIP limit you've defined.", + "wipLimitErrorPopup-dialog-pt2": "Please move some tasks out of this list, or set a higher WIP limit.", + "admin-panel": "Admin Panel", + "settings": "Innstillinger", + "people": "Folk", + "registration": "Registrering", + "disable-self-registration": "Disable Self-Registration", + "invite": "Invite", + "invite-people": "Invite People", + "to-boards": "To board(s)", + "email-addresses": "Email Addresses", + "smtp-host-description": "The address of the SMTP server that handles your emails.", + "smtp-port-description": "The port your SMTP server uses for outgoing emails.", + "smtp-tls-description": "Enable TLS support for SMTP server", + "smtp-host": "SMTP Host", + "smtp-port": "SMTP Port", + "smtp-username": "Brukernavn", + "smtp-password": "Passord", + "smtp-tls": "TLS support", + "send-from": "From", + "send-smtp-test": "Send a test email to yourself", + "invitation-code": "Invitation Code", + "email-invite-register-subject": "__inviter__ sent you an invitation", + "email-invite-register-text": "Dear __user__,\n\n__inviter__ invites you to kanban board for collaborations.\n\nPlease follow the link below:\n__url__\n\nAnd your invitation code is: __icode__\n\nThanks.", + "email-smtp-test-subject": "SMTP Test Email", + "email-smtp-test-text": "You have successfully sent an email", + "error-invitation-code-not-exist": "Invitation code doesn't exist", + "error-notAuthorized": "You are not authorized to view this page.", + "webhook-title": "Webhook Name", + "webhook-token": "Token (Optional for Authentication)", + "outgoing-webhooks": "Outgoing Webhooks", + "bidirectional-webhooks": "Two-Way Webhooks", + "outgoingWebhooksPopup-title": "Outgoing Webhooks", + "boardCardTitlePopup-title": "Card Title Filter", + "disable-webhook": "Disable This Webhook", + "global-webhook": "Global Webhooks", + "new-outgoing-webhook": "New Outgoing Webhook", + "no-name": "(Unknown)", + "Node_version": "Node version", + "Meteor_version": "Meteor version", + "MongoDB_version": "MongoDB version", + "MongoDB_storage_engine": "MongoDB storage engine", + "MongoDB_Oplog_enabled": "MongoDB Oplog enabled", + "OS_Arch": "OS Arch", + "OS_Cpus": "OS CPU Count", + "OS_Freemem": "OS Free Memory", + "OS_Loadavg": "OS Load Average", + "OS_Platform": "OS Platform", + "OS_Release": "OS Release", + "OS_Totalmem": "OS Total Memory", + "OS_Type": "OS Type", + "OS_Uptime": "OS Uptime", + "days": "days", + "hours": "hours", + "minutes": "minutes", + "seconds": "seconds", + "show-field-on-card": "Show this field on card", + "automatically-field-on-card": "Auto create field to all cards", + "showLabel-field-on-card": "Show field label on minicard", + "yes": "Yes", + "no": "No", + "accounts": "Accounts", + "accounts-allowEmailChange": "Allow Email Change", + "accounts-allowUserNameChange": "Allow Username Change", + "createdAt": "Created at", + "verified": "Verified", + "active": "Active", + "card-received": "Received", + "card-received-on": "Received on", + "card-end": "End", + "card-end-on": "Ends on", + "editCardReceivedDatePopup-title": "Change received date", + "editCardEndDatePopup-title": "Change end date", + "setCardColorPopup-title": "Set color", + "setCardActionsColorPopup-title": "Choose a color", + "setSwimlaneColorPopup-title": "Choose a color", + "setListColorPopup-title": "Choose a color", + "assigned-by": "Assigned By", + "requested-by": "Requested By", + "board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.", + "delete-board-confirm-popup": "All lists, cards, labels, and activities will be deleted and you won't be able to recover the board contents. There is no undo.", + "boardDeletePopup-title": "Delete Board?", + "delete-board": "Delete Board", + "default-subtasks-board": "Subtasks for __board__ board", + "default": "Default", + "queue": "Queue", + "subtask-settings": "Subtasks Settings", + "card-settings": "Card Settings", + "boardSubtaskSettingsPopup-title": "Board Subtasks Settings", + "boardCardSettingsPopup-title": "Card Settings", + "deposit-subtasks-board": "Deposit subtasks to this board:", + "deposit-subtasks-list": "Landing list for subtasks deposited here:", + "show-parent-in-minicard": "Show parent in minicard:", + "prefix-with-full-path": "Prefix with full path", + "prefix-with-parent": "Prefix with parent", + "subtext-with-full-path": "Subtext with full path", + "subtext-with-parent": "Subtext with parent", + "change-card-parent": "Change card's parent", + "parent-card": "Parent card", + "source-board": "Source board", + "no-parent": "Don't show parent", + "activity-added-label": "added label '%s' to %s", + "activity-removed-label": "removed label '%s' from %s", + "activity-delete-attach": "deleted an attachment from %s", + "activity-added-label-card": "added label '%s'", + "activity-removed-label-card": "removed label '%s'", + "activity-delete-attach-card": "deleted an attachment", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "Rule", + "r-add-trigger": "Add trigger", + "r-add-action": "Add action", + "r-board-rules": "Board rules", + "r-add-rule": "Add rule", + "r-view-rule": "View rule", + "r-delete-rule": "Delete rule", + "r-new-rule-name": "New rule title", + "r-no-rules": "No rules", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "When a card", + "r-is": "is", + "r-is-moved": "is moved", + "r-added-to": "Added to", + "r-removed-from": "Removed from", + "r-the-board": "the board", + "r-list": "list", + "set-filter": "Set Filter", + "r-moved-to": "Moved to", + "r-moved-from": "Moved from", + "r-archived": "Moved to Archive", + "r-unarchived": "Restored from Archive", + "r-a-card": "a card", + "r-when-a-label-is": "When a label is", + "r-when-the-label": "When the label", + "r-list-name": "list name", + "r-when-a-member": "When a member is", + "r-when-the-member": "When the member", + "r-name": "name", + "r-when-a-attach": "When an attachment", + "r-when-a-checklist": "When a checklist is", + "r-when-the-checklist": "When the checklist", + "r-completed": "Completed", + "r-made-incomplete": "Made incomplete", + "r-when-a-item": "When a checklist item is", + "r-when-the-item": "When the checklist item", + "r-checked": "Checked", + "r-unchecked": "Unchecked", + "r-move-card-to": "Move card to", + "r-top-of": "Top of", + "r-bottom-of": "Bottom of", + "r-its-list": "its list", + "r-archive": "Move to Archive", + "r-unarchive": "Restore from Archive", + "r-card": "card", + "r-add": "Legg til", + "r-remove": "Fjern", + "r-label": "label", + "r-member": "medlem", + "r-remove-all": "Fjern alle medlemmer fra kortet", + "r-set-color": "Set color to", + "r-checklist": "checklist", + "r-check-all": "Check all", + "r-uncheck-all": "Uncheck all", + "r-items-check": "items of checklist", + "r-check": "Check", + "r-uncheck": "Uncheck", + "r-item": "item", + "r-of-checklist": "of checklist", + "r-send-email": "Send an email", + "r-to": "til", + "r-of": "of", + "r-subject": "Emne", + "r-rule-details": "Rule details", + "r-d-move-to-top-gen": "Move card to top of its list", + "r-d-move-to-top-spec": "Move card to top of list", + "r-d-move-to-bottom-gen": "Flytt kortet til bunnen av sin liste", + "r-d-move-to-bottom-spec": "Flytt kortet til bunnen av listen", + "r-d-send-email": "Send e-post", + "r-d-send-email-to": "til", + "r-d-send-email-subject": "Emne", + "r-d-send-email-message": "Melding", + "r-d-archive": "Move card to Archive", + "r-d-unarchive": "Restore card from Archive", + "r-d-add-label": "Add label", + "r-d-remove-label": "Remove label", + "r-create-card": "Create new card", + "r-in-list": "in list", + "r-in-swimlane": "in swimlane", + "r-d-add-member": "Add member", + "r-d-remove-member": "Remove member", + "r-d-remove-all-member": "Remove all member", + "r-d-check-all": "Check all items of a list", + "r-d-uncheck-all": "Uncheck all items of a list", + "r-d-check-one": "Check item", + "r-d-uncheck-one": "Uncheck item", + "r-d-check-of-list": "of checklist", + "r-d-add-checklist": "Add checklist", + "r-d-remove-checklist": "Remove checklist", + "r-by": "by", + "r-add-checklist": "Add checklist", + "r-with-items": "with items", + "r-items-list": "item1,item2,item3", + "r-add-swimlane": "Add swimlane", + "r-swimlane-name": "swimlane name", + "r-board-note": "Note: leave a field empty to match every possible value.", + "r-checklist-note": "Note: checklist's items have to be written as comma separated values.", + "r-when-a-card-is-moved": "When a card is moved to another list", + "r-set": "Set", + "r-update": "Update", + "r-datefield": "date field", + "r-df-start-at": "start", + "r-df-due-at": "due", + "r-df-end-at": "end", + "r-df-received-at": "received", + "r-to-current-datetime": "to current date/time", + "r-remove-value-from": "Remove value from", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Authentication method", + "authentication-type": "Authentication type", + "custom-product-name": "Custom Product Name", + "layout": "Layout", + "hide-logo": "Hide Logo", + "add-custom-html-after-body-start": "Add Custom HTML after start", + "add-custom-html-before-body-end": "Add Custom HTML before end", + "error-undefined": "Something went wrong", + "error-ldap-login": "An error occurred while trying to login", + "display-authentication-method": "Display Authentication Method", + "default-authentication-method": "Default Authentication Method", + "duplicate-board": "Duplicate Board", + "people-number": "The number of people is:", + "swimlaneDeletePopup-title": "Delete Swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Restore all", + "delete-all": "Delete all", + "loading": "Loading, please wait.", + "previous_as": "last time was", + "act-a-dueAt": "modified due time to \nWhen: __timeValue__\nWhere: __card__\n previous due was __timeOldValue__", + "act-a-endAt": "modified ending time to __timeValue__ from (__timeOldValue__)", + "act-a-startAt": "modified starting time to __timeValue__ from (__timeOldValue__)", + "act-a-receivedAt": "modified received time to __timeValue__ from (__timeOldValue__)", + "a-dueAt": "modified due time to be", + "a-endAt": "modified ending time to be", + "a-startAt": "modified starting time to be", + "a-receivedAt": "modified received time to be", + "almostdue": "current due time %s is approaching", + "pastdue": "current due time %s is past", + "duenow": "current due time %s is today", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", + "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", + "act-duenow": "was reminding the current due (__timeValue__) of __card__ is now", + "act-atUserComment": "Du ble nevnt i [__board__] __list__/__card__", + "delete-user-confirm-popup": "Er du sikker på at du vil slette denne kontoen?", + "accounts-allowUserDelete": "Tillat at brukere sletter sin konto", + "hide-minicard-label-text": "Hide minicard label text", + "show-desktop-drag-handles": "Show desktop drag handles", + "assignee": "Assignee", + "cardAssigneesPopup-title": "Assignee", + "addmore-detail": "Add a more detailed description", + "show-on-card": "Show on Card", + "new": "New", + "editUserPopup-title": "Edit User", + "newUserPopup-title": "New User", + "notifications": "Notifications", + "view-all": "View All", + "filter-by-unread": "Filter by Unread", + "mark-all-as-read": "Mark all as read", + "remove-all-read": "Remove all read", + "allow-rename": "Allow Rename", + "allowRenamePopup-title": "Allow Rename", + "start-day-of-week": "Set day of the week start", + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archived", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/nl.i18n.json b/i18n/nl.i18n.json new file mode 100644 index 0000000..1490498 --- /dev/null +++ b/i18n/nl.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Accepteren", + "act-activity-notify": "Activiteiten Notificatie", + "act-addAttachment": "heeft bijlage __attachment__ toegevoegd aan kaart __card__ van lijst __list__ in swimlane __swimlane__ op bord __board__", + "act-deleteAttachment": "heeft bijlage __attachment__ verwijderd op kaart __card__ van lijst __list__ uit swimlane __swimlane__ op bord __board__", + "act-addSubtask": "heeft subtaak __subtask__ toegevoegd aan kaart __card__ van lijst __list__ in swimlane __swimlane__ op bord __board__", + "act-addLabel": "heeft label __label__ toegevoegd aan kaart __card__ van lijst __list__ in swimlane __swimlane__ op bord __board__", + "act-addedLabel": "heeft label __label__ toegevoegd aan kaart __card__ van lijst __list__ in swimlane __swimlane__ op bord __board__", + "act-removeLabel": "heeft label __label__ verwijderd van kaart __card__ van lijst __list__ uit swimlane __swimlane__ op bord __board__", + "act-removedLabel": "heeft label __label__ verwijderd van kaart __card__ van lijst __list__ uit swimlane __swimlane__ op bord __board__", + "act-addChecklist": "heeft checklist __checklist__ toegevoegd aan kaart __card__ van lijst __list__ in swimlane __swimlane__ op bord __board__", + "act-addChecklistItem": "heeft checklist item __checklistItem__ toegevoegd aan checklist __checklist__ op kaart __card__ van lijst __list__ in swimlane __swimlane__ op bord __board__", + "act-removeChecklist": "heeft checklist __checklist__ verwijderd van kaart __card__ van lijst __list__ uit swimlane __swimlane__ op bord __board__", + "act-removeChecklistItem": "heeft checklist item __checklistItem__ verwijderd van checklist __checkList__ op kaart __card__ van lijst __list__ uit swimlane __swimlane__ op bord __board__", + "act-checkedItem": "heeft __checklistItem__ aangevinkt van checklist __checklist__ op kaart __card__ van lijst __list__ in swimlane __swimlane__ op bord __board__", + "act-uncheckedItem": "heeft __checklistItem__ uitgevinkt van checklist __checklist__ op kaart __card__ van lijst __list__ uit swimlane __swimlane__ op bord __board__", + "act-completeChecklist": "heeft checklist __checklist__ afgewerkt op kaart __card__ van lijst __list__ in swimlane __swimlane__ op bord __board__", + "act-uncompleteChecklist": "heeft checklist __checklist__ onafgewerkt op kaart __card__ van lijst __list__ uit swimlane __swimlane__ op bord __board__", + "act-addComment": "heeft aantekening toegevoegd aan kaart __card__: __comment__ van lijst __list__ in swimlane __swimlane__ op bord __board__", + "act-editComment": "heeft aantekening gewijzigd op kaart __card__: __comment__ van lijst __list__ in swimlane __swimlane__ op bord __board__", + "act-deleteComment": "heeft aantekening verwijderd van kaart __card__: __comment__ van lijst __list__ uit swimlane __swimlane__ op bord __board__", + "act-createBoard": "bord __board__ aangemaakt", + "act-createSwimlane": "swimlane __swimlane__ aangemaakt op bord __board__", + "act-createCard": "heeft kaart __card__ aangemaakt in lijst __list__ in swimlane __swimlane__ op bord __board__", + "act-createCustomField": "heeft maatwerkveld __customField__ aangemaakt op bord __board__", + "act-deleteCustomField": "heeft maatwerkveld __customField__ verwijderd van bord __board__", + "act-setCustomField": "heeft maatwerkveld gewijzigd __customField__: __customFieldValue__ op kaart __card__ in lijst __list__ uit swimlane __swimlane__ op bord __board__", + "act-createList": "lijst __list__ toegevoegd aan bord __board__", + "act-addBoardMember": "heeft lid __member__ toegevoegd aan bord __board__", + "act-archivedBoard": "Bord __board__ verplaatst naar Archief", + "act-archivedCard": "heeft kaart __card__ van lijst __list__ uit swimlane __swimlane__ op bord __board__ verplaatst naar Archief", + "act-archivedList": "Lijst __list__ uit swimlane __swimlane__ op bord __board__ verplaatst naar Archief", + "act-archivedSwimlane": "Swimlane __swimlane__ op bord __board__ verplaatst naar Archief", + "act-importBoard": "bord __board__ geïmporteerd", + "act-importCard": "heeft kaart __card__ geïmporteerd in lijst __list__ in swimlane __swimlane__ op bord __board__", + "act-importList": "lijst __list__ geïmporteerd in swimlane __swimlane__ op bord __board__", + "act-joinMember": "heeft lid __member__ toegevoegd aan kaart __card__ van lijst __list__ in swimlane __swimlane__ op bord __board__", + "act-moveCard": "heeft kaart __card__ verplaatst op bord __board__ van lijst __oldList__ uit swimlane __oldSwimlane__ naar lijst __list__ in swimlane __swimlane__", + "act-moveCardToOtherBoard": "heeft kaart __card__ verplaatst van lijst __oldList__ uit swimlane __oldSwimlane__ op bord __oldBoard__ naar lijst __list__ in swimlane __swimlane__ op bord __board__", + "act-removeBoardMember": "heeft lid __member__ verwijderd van bord __board__", + "act-restoredCard": "heeft kaart __card__ teruggehaald naar lijst __list__ in swimlane __swimlane__ op bord __board__", + "act-unjoinMember": "heeft lid __member__ verwijderd van kaart __card__ van lijst __list__ uit swimlane __swimlane__ op bord __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Acties", + "activities": "Activiteiten", + "activity": "Activiteit", + "activity-added": "%s toegevoegd aan %s", + "activity-archived": "%s verplaatst naar Archief", + "activity-attached": "%s bijgevoegd aan %s", + "activity-created": "%s aangemaakt", + "activity-customfield-created": "maatwerkveld aangemaakt %s", + "activity-excluded": "%s uitgesloten van %s", + "activity-imported": "%s geïmporteerd in %s van %s", + "activity-imported-board": "%s geïmporteerd van %s", + "activity-joined": "%s toegetreden", + "activity-moved": "%s verplaatst van %s naar %s", + "activity-on": "bij %s", + "activity-removed": "%s verwijderd van %s", + "activity-sent": "%s gestuurd naar %s", + "activity-unjoined": "uit %s gegaan", + "activity-subtask-added": "subtaak toegevoegd aan %s", + "activity-checked-item": "%s aangevinkt in checklist %s van %s", + "activity-unchecked-item": "%s uitgevinkt in checklist %s van %s", + "activity-checklist-added": "checklist toegevoegd aan %s", + "activity-checklist-removed": "checklist verwijderd van %s", + "activity-checklist-completed": "checklist %s afgewerkt van %s", + "activity-checklist-uncompleted": "checklist %s onafgewerkt van %s", + "activity-checklist-item-added": "checklist item toegevoegd aan '%s' in '%s'", + "activity-checklist-item-removed": "checklist item verwijderd van '%s' in %s", + "add": "Toevoegen", + "activity-checked-item-card": "%s aangevinkt in checklist %s", + "activity-unchecked-item-card": "%s uitgevinkt in checklist %s", + "activity-checklist-completed-card": "heeft checklist __checklist__ afgewerkt op kaart __card__ van lijst __list__ in swimlane __swimlane__ op bord __board__", + "activity-checklist-uncompleted-card": "checklist %s onafgewerkt", + "activity-editComment": "aantekening gewijzigd %s", + "activity-deleteComment": "aantekening verwijderd %s", + "add-attachment": "Bijlage Toevoegen", + "add-board": "Bord Toevoegen", + "add-card": "Kaart Toevoegen", + "add-swimlane": "Swimlane Toevoegen", + "add-subtask": "Subtaak Toevoegen", + "add-checklist": "Checkcklist Toevoegen", + "add-checklist-item": "Voeg item toe aan checklist", + "add-cover": "Cover Toevoegen", + "add-label": "Label Toevoegen", + "add-list": "Lijst Toevoegen", + "add-members": "Leden Toevoegen", + "added": "Toegevoegd", + "addMemberPopup-title": "Leden", + "admin": "Administrator", + "admin-desc": "Kan kaarten bekijken en wijzigen, leden verwijderen, en instellingen voor het bord aanpassen.", + "admin-announcement": "Melding", + "admin-announcement-active": "Systeem melding", + "admin-announcement-title": "Melding van de administrator", + "all-boards": "Alle borden", + "and-n-other-card": "En __count__ andere kaarten", + "and-n-other-card_plural": "En __count__ andere kaarten", + "apply": "Aanmelden", + "app-is-offline": "Wekan is aan het laden, wacht alstublieft. Het verversen van de pagina zorgt voor verlies van gegevens. Als Wekan niet laadt, check dan of de Wekan server niet is gestopt. ", + "archive": "Verplaats naar Archief", + "archive-all": "Verplaats Alles naar Archief", + "archive-board": "Verplaats Bord naar Archief", + "archive-card": "Verplaats Kaart naar Archief", + "archive-list": "Verplaats Lijst naar Archief", + "archive-swimlane": "Verplaats Swimlane naar Archief", + "archive-selection": "Verplaats selectie naar Archief", + "archiveBoardPopup-title": "Bord naar Archief verplaatsen?", + "archived-items": "Archiveren", + "archived-boards": "Borden in Archief", + "restore-board": "Herstel Bord", + "no-archived-boards": "Geen Borden in Archief.", + "archives": "Archief", + "template": "Template", + "templates": "Templates", + "assign-member": "Lid toevoegen", + "attached": "bijgevoegd", + "attachment": "Bijlage", + "attachment-delete-pop": "Een bijlage verwijderen is permanent. Er is geen herstelmogelijkheid.", + "attachmentDeletePopup-title": "Bijlage verwijderen?", + "attachments": "Bijlagen", + "auto-watch": "Automatisch borden bekijken wanneer deze aangemaakt worden", + "avatar-too-big": "De bestandsgrootte van je avatar is te groot (70KB max)", + "back": "Terug", + "board-change-color": "Wijzig kleur", + "board-nb-stars": "%s sterren", + "board-not-found": "Bord is niet gevonden", + "board-private-info": "Dit bord is nu privé.", + "board-public-info": "Dit bord is nu openbaar.", + "boardChangeColorPopup-title": "Verander achtergrond van bord", + "boardChangeTitlePopup-title": "Hernoem bord", + "boardChangeVisibilityPopup-title": "Verander zichtbaarheid", + "boardChangeWatchPopup-title": "Verander naar 'Watch'", + "boardMenuPopup-title": "Bord Instellingen", + "boardChangeViewPopup-title": "Bord overzicht", + "boards": "Borden", + "board-view": "Bord overzicht", + "board-view-cal": "Kalender", + "board-view-swimlanes": "Swimlanes", + "board-view-collapse": "Klap in", + "board-view-lists": "Lijsten", + "bucket-example": "Zoals bijvoorbeeld een \"Bucket List\"", + "cancel": "Annuleren", + "card-archived": "Deze kaart is verplaatst naar Archief.", + "board-archived": "Dit bord is verplaatst naar Archief.", + "card-comments-title": "Deze kaart heeft %s aantekening(en).", + "card-delete-notice": "Verwijdering is permanent. Je raakt alles acties die gekoppeld zijn aan deze kaart kwijt.", + "card-delete-pop": "Alle acties worden verwijderd van de activiteiten feed, en er zal geen mogelijkheid zijn om de kaart opnieuw te openen. Er is geen herstelmogelijkheid.", + "card-delete-suggest-archive": "Je kunt een kaart naar Archief verplaatsen om die van het bord te verwijderen waarbij de activiteiten behouden blijven.", + "card-due": "Verval", + "card-due-on": "Vervalt op ", + "card-spent": "Gespendeerde tijd", + "card-edit-attachments": "Wijzig bijlagen", + "card-edit-custom-fields": "Wijzig maatwerkvelden", + "card-edit-labels": "Wijzig labels", + "card-edit-members": "Wijzig leden", + "card-labels-title": "Wijzig de labels van de kaart.", + "card-members-title": "Voeg of verwijder leden van het bord toe aan de kaart.", + "card-start": "Begin", + "card-start-on": "Begint op", + "cardAttachmentsPopup-title": "Voeg bestand toe vanuit", + "cardCustomField-datePopup-title": "Wijzigingsdatum", + "cardCustomFieldsPopup-title": "Wijzig maatwerkvelden", + "cardStartVotingPopup-title": "Start een stemming", + "positiveVoteMembersPopup-title": "Voorstanders", + "negativeVoteMembersPopup-title": "Tegenstanders", + "card-edit-voting": "Wijzig stemming", + "editVoteEndDatePopup-title": "Wijzig einddatum stemming", + "allowNonBoardMembers": "Sta alle ingelogde gebruikers toe", + "vote-question": "Stemvraag", + "vote-public": "Toon wie wat gestemd heeft", + "vote-for-it": "Voor", + "vote-against": "tegen", + "deleteVotePopup-title": "Stemming verwijderen?", + "vote-delete-pop": "Verwijdering is permanent. Je raakt alle acties die gekoppeld zijn aan deze stemming kwijt.", + "cardDeletePopup-title": "Kaart verwijderen?", + "cardDetailsActionsPopup-title": "Kaart actie ondernemen", + "cardLabelsPopup-title": "Labels", + "cardMembersPopup-title": "Leden", + "cardMorePopup-title": "Meer", + "cardTemplatePopup-title": "Template aanmaken", + "cards": "Kaarten", + "cards-count": "Kaarten", + "casSignIn": "Log in met CAS", + "cardType-card": "Kaart", + "cardType-linkedCard": "Gekoppelde Kaart", + "cardType-linkedBoard": "Gekoppeld Bord", + "change": "Wijzig", + "change-avatar": "Wijzig avatar", + "change-password": "Wijzig wachtwoord", + "change-permissions": "Wijzig permissies", + "change-settings": "Wijzig instellingen", + "changeAvatarPopup-title": "Wijzig avatar", + "changeLanguagePopup-title": "Wijzig taal", + "changePasswordPopup-title": "Wijzig wachtwoord", + "changePermissionsPopup-title": "Wijzig permissies", + "changeSettingsPopup-title": "Wijzig instellingen", + "subtasks": "Subtaken", + "checklists": "Checklists", + "click-to-star": "Klik om het bord als favoriet in te stellen", + "click-to-unstar": "Klik om het bord uit favorieten weg te halen", + "clipboard": "Vanuit clipboard of sleep het bestand hierheen", + "close": "Sluiten", + "close-board": "Sluit bord", + "close-board-pop": "Je kunt het bord terughalen door de \"Archief\" knop te klikken in de menubalk \"Mijn Borden\".", + "color-black": "zwart", + "color-blue": "blauw", + "color-crimson": "karmijn", + "color-darkgreen": "donkergroen", + "color-gold": "goud", + "color-gray": "grijs", + "color-green": "groen", + "color-indigo": "indigo", + "color-lime": "felgroen", + "color-magenta": "magenta", + "color-mistyrose": "zachtroze", + "color-navy": "marineblauw", + "color-orange": "oranje", + "color-paleturquoise": "vaalturkoois", + "color-peachpuff": "perzikroze", + "color-pink": "roze", + "color-plum": "pruim", + "color-purple": "paars", + "color-red": "rood", + "color-saddlebrown": "zadelbruin", + "color-silver": "zilver", + "color-sky": "lucht", + "color-slateblue": "leiblauw", + "color-white": "wit", + "color-yellow": "geel", + "unset-color": "Ongedefinieerd", + "comment": "Aantekening", + "comment-placeholder": "Schrijf aantekening", + "comment-only": "Alleen aantekeningen maken", + "comment-only-desc": "Kan alleen op kaarten aantekenen.", + "no-comments": "Geen aantekeningen", + "no-comments-desc": "Zie geen aantekeningen of activiteiten.", + "worker": "Medewerker", + "worker-desc": "Kan alleen kaarten verplaatsen, zichzelf aan kaarten koppelen en aantekeningen maken.", + "computer": "Computer", + "confirm-subtask-delete-dialog": "Weet je zeker dat je de subtaak wilt verwijderen?", + "confirm-checklist-delete-dialog": "Weet je zeker dat je de checklist wilt verwijderen?", + "copy-card-link-to-clipboard": "Kopieer kaart link naar klembord", + "linkCardPopup-title": "Koppel Kaart", + "searchElementPopup-title": "Zoek", + "copyCardPopup-title": "Kopieer kaart", + "copyChecklistToManyCardsPopup-title": "Checklist sjabloon kopiëren naar meerdere kaarten", + "copyChecklistToManyCardsPopup-instructions": "Doel kaart titels en omschrijvingen in dit JSON formaat", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"Titel eerste kaart\", \"description\":\"Omschrijving eerste kaart\"}, {\"title\":\"Titel tweede kaart\",\"description\":\"Omschrijving tweede kaart\"},{\"title\":\"Titel laatste kaart\",\"description\":\"Omschrijving laatste kaart\"} ]", + "create": "Aanmaken", + "createBoardPopup-title": "Bord aanmaken", + "chooseBoardSourcePopup-title": "Importeer bord", + "createLabelPopup-title": "Label aanmaken", + "createCustomField": "Veld aanmaken", + "createCustomFieldPopup-title": "Veld aanmaken", + "current": "Huidige", + "custom-field-delete-pop": "Er is geen herstelmogelijkheid. Deze actie zal dit maatwerkveld van alle kaarten verwijderen en de bijbehorende historie wissen.", + "custom-field-checkbox": "Checkbox", + "custom-field-currency": "Valuta", + "custom-field-currency-option": "Valuta Teken", + "custom-field-date": "Datum", + "custom-field-dropdown": "Dropdown Lijst", + "custom-field-dropdown-none": "(geen)", + "custom-field-dropdown-options": "Lijst Opties", + "custom-field-dropdown-options-placeholder": "Toets Enter om meer opties toe te voegen ", + "custom-field-dropdown-unknown": "(onbekend)", + "custom-field-number": "Aantal", + "custom-field-text": "Tekst", + "custom-fields": "Maatwerkvelden", + "date": "Datum", + "decline": "Weigeren", + "default-avatar": "Standaard avatar", + "delete": "Verwijderen", + "deleteCustomFieldPopup-title": "Maatwerkveld verwijderen?", + "deleteLabelPopup-title": "Label verwijderen?", + "description": "Beschrijving", + "disambiguateMultiLabelPopup-title": "Disambigueer Label Actie", + "disambiguateMultiMemberPopup-title": "Disambigueer Lid Actie", + "discard": "Negeer", + "done": "Klaar", + "download": "Download", + "edit": "Wijzig", + "edit-avatar": "Wijzig avatar", + "edit-profile": "Wijzig profiel", + "edit-wip-limit": "Verander WIP limiet", + "soft-wip-limit": "Zachte WIP limiet", + "editCardStartDatePopup-title": "Wijzig start datum", + "editCardDueDatePopup-title": "Wijzig vervaldatum", + "editCustomFieldPopup-title": "Wijzig Veld", + "editCardSpentTimePopup-title": "Verander gespendeerde tijd", + "editLabelPopup-title": "Wijzig label", + "editNotificationPopup-title": "Wijzig notificatie", + "editProfilePopup-title": "Wijzig profiel", + "email": "E-mail", + "email-enrollAccount-subject": "Er is een account voor je aangemaakt op __siteName__", + "email-enrollAccount-text": "Hallo __user__,\n\nOm gebruik te maken van de online dienst, kan je op de volgende link klikken.\n\n__url__\n\nBedankt.", + "email-fail": "E-mail verzenden is mislukt", + "email-fail-text": "Fout tijdens het verzenden van de email", + "email-invalid": "Ongeldig e-mailadres", + "email-invite": "Nodig uit via e-mail", + "email-invite-subject": "__inviter__ heeft je een uitnodiging gestuurd", + "email-invite-text": "Beste __user__,\n\n__inviter__ heeft je uitgenodigd om voor een samenwerking deel te nemen aan het bord \"__board__\".\n\nKlik op de link hieronder:\n\n__url__\n\nBedankt.", + "email-resetPassword-subject": "Reset je wachtwoord op __siteName__", + "email-resetPassword-text": "Hallo __user__,\n\nKlik op de link hier beneden om je wachtwoord te resetten.\n\n__url__\n\nBedankt.", + "email-sent": "E-mail is verzonden", + "email-verifyEmail-subject": "Verifieer je e-mailadres op __siteName__", + "email-verifyEmail-text": "Hallo __user__,\n\nOm je e-mail te verifiëren vragen we je om op de link hieronder te klikken.\n\n__url__\n\nBedankt.", + "enable-wip-limit": "Activeer WIP limiet", + "error-board-doesNotExist": "Dit bord bestaat niet.", + "error-board-notAdmin": "Je moet een administrator zijn van dit bord om dat te doen.", + "error-board-notAMember": "Je moet een lid zijn van dit bord om dat te doen.", + "error-json-malformed": "JSON format klopt niet", + "error-json-schema": "De JSON data bevat niet de juiste informatie in de juiste format", + "error-csv-schema": "Je CSV(Comma Separated Values)/TSV (Tab Separated Values) bevat niet de juiste informatie in het juiste fomaat.", + "error-list-doesNotExist": "Deze lijst bestaat niet", + "error-user-doesNotExist": "Deze gebruiker bestaat niet", + "error-user-notAllowSelf": "Je kan jezelf niet uitnodigen", + "error-user-notCreated": "Deze gebruiker is niet aangemaakt", + "error-username-taken": "Deze gebruikersnaam is al in gebruik", + "error-email-taken": "Dit e-mailadres is al in gebruik", + "export-board": "Exporteer bord", + "export-board-json": "Exporteer bord naar JSON", + "export-board-csv": "Exporteer bord naar CSV", + "export-board-tsv": "Exporteer bord naar TSV", + "export-board-html": "Exporteer bord naar HTML", + "exportBoardPopup-title": "Exporteer bord", + "sort": "Sorteer", + "sort-desc": "Klik om lijst te sorteren", + "list-sort-by": "Sorteer lijst op", + "list-label-modifiedAt": "Laatste toegangstijd", + "list-label-title": "Naam van de lijst", + "list-label-sort": "Je handmatige volgorde", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Filter", + "filter-cards": "Filter kaarten of lijsten", + "list-filter-label": "Filter lijst op titel", + "filter-clear": "Wis filter", + "filter-no-label": "Geen label", + "filter-no-member": "Geen lid", + "filter-no-assignee": "Niemand toegewezen", + "filter-no-custom-fields": "Geen maatwerkvelden", + "filter-show-archive": "Toon gearchiveerde lijsten", + "filter-hide-empty": "Verberg lege lijsten", + "filter-on": "Filter is actief", + "filter-on-desc": "Je bent nu kaarten aan het filteren op dit bord. Klik hier om het filter te wijzigen.", + "filter-to-selection": "Filter zoals selectie", + "advanced-filter-label": "Geavanceerd Filter", + "advanced-filter-description": "Met het Geavanceerd Filter kun je een tekst schrijven die de volgende operatoren mag bevatten: == != <= >= && || ( ) Een Spatie wordt als scheiding gebruikt tussen de verschillende operatoren. Je kunt filteren op alle Maatwerkvelden door hun namen en waarden in te tikken. Bijvoorbeeld: Veld1 == Waarde1. Let op: Als velden of waarden spaties bevatten dan moet je die tussen enkele aanhalingstekens zetten. Bijvoorbeeld: 'Veld 1' == 'Waarde 1'. Om controle karakters (' \\/) over te slaan gebruik je \\. Bijvoorbeeld: Veld1 == I\\'m. Je kunt ook meerdere condities combineren. Bijvoorbeeld: F1 == V1 || F1 == V2. Normalerwijze worden alle operatoren van links naar rechts verwerkt. Dit kun je veranderen door ronde haken te gebruiken. Bijvoorbeeld: F1 == V1 && ( F2 == V2 || F2 == V3 ). Je kunt ook met regex in tekstvelden zoeken. Bijvoorbeeld: F1 == /Tes.*/i", + "fullname": "Volledige naam", + "header-logo-title": "Ga terug naar jouw borden pagina.", + "hide-system-messages": "Verberg systeemberichten", + "headerBarCreateBoardPopup-title": "Bord aanmaken", + "home": "Voorpagina", + "import": "Importeer", + "link": "Link", + "import-board": "Importeer bord", + "import-board-c": "Importeer bord", + "import-board-title-trello": "Importeer bord vanuit Trello", + "import-board-title-wekan": "Importeer bord vanuit eerdere export", + "import-board-title-csv": "Importeer bord van CSV/TSV", + "from-trello": "Vanuit Trello", + "from-wekan": "Vanuit eerdere export", + "from-csv": "Van CSV/TSV", + "import-board-instruction-trello": "Op jouw Trello bord, ga naar 'Menu', dan naar 'Meer', 'Print en Exporteer', 'Exporteer JSON', en kopieer de tekst.", + "import-board-instruction-csv": "Plak hier je Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "Ga op je bord naar 'Menu' en klik dan 'Export board' en kopieer de tekst in het gedownloade bestand.", + "import-board-instruction-about-errors": "Als je tijdens de import van het bord foutmeldingen krijgt is de import soms toch gelukt en vind je het bord terug op de 'Alle borden' scherm.", + "import-json-placeholder": "Plak geldige JSON data hier", + "import-csv-placeholder": "Plak hier je geldige CSV/TSV data", + "import-map-members": "Breng leden in kaart", + "import-members-map": "Je geïmporteerde bord heeft een aantal leden. Koppel de leden die je wilt importeren aan je gebruikers.", + "import-show-user-mapping": "Breng leden overzicht tevoorschijn", + "import-user-select": "Kies een bestaande gebruiker die je als dit lid wilt koppelen", + "importMapMembersAddPopup-title": "Kies lid", + "info": "Versie", + "initials": "Initialen", + "invalid-date": "Ongeldige datum", + "invalid-time": "Ongeldige tijd", + "invalid-user": "Ongeldige gebruiker", + "joined": "doet nu mee met", + "just-invited": "Je bent zojuist uitgenodigd om mee toen doen aan dit bord", + "keyboard-shortcuts": "Toetsenbord snelkoppelingen", + "label-create": "Label aanmaken", + "label-default": "%s label (standaard)", + "label-delete-pop": "Er is geen herstelmogelijkheid. Deze actie zal het label van alle kaarten verwijderen met de bijbehorende historie.", + "labels": "Labels", + "language": "Taal", + "last-admin-desc": "Je kunt de permissies niet veranderen omdat er minimaal een administrator moet zijn.", + "leave-board": "Verlaat bord", + "leave-board-pop": "Weet je zeker dat je __boardTitle__ wilt verlaten? Je wordt verwijderd van alle kaarten binnen dit bord", + "leaveBoardPopup-title": "Bord verlaten?", + "link-card": "Link naar deze kaart", + "list-archive-cards": "Verplaats alle kaarten in deze lijst naar Archief", + "list-archive-cards-pop": "Dit zal alle kaarten uit deze lijst op dit bord verwijderen. Om de kaarten in het Archief te tonen en terug te halen, klik \"Menu\" > \"Archief\".", + "list-move-cards": "Verplaats alle kaarten in deze lijst", + "list-select-cards": "Selecteer alle kaarten in deze lijst", + "set-color-list": "Wijzig kleur in", + "listActionPopup-title": "Lijst acties", + "swimlaneActionPopup-title": "Swimlane handelingen", + "swimlaneAddPopup-title": "Voeg hieronder een Swimlane toe", + "listImportCardPopup-title": "Importeer een Trello kaart", + "listImportCardsTsvPopup-title": "Importeer Excel CSV/TSV", + "listMorePopup-title": "Meer", + "link-list": "Link naar deze lijst", + "list-delete-pop": "Alle acties zullen verwijderd worden van de activiteiten feed, en je zult deze niet meer kunnen herstellen. Er is geen herstelmogelijkheid.", + "list-delete-suggest-archive": "Je kunt een lijst naar Archief verplaatsen om die van het bord te verwijderen waarbij de activiteiten behouden blijven.", + "lists": "Lijsten", + "swimlanes": "Swimlanes", + "log-out": "Uitloggen", + "log-in": "Inloggen", + "loginPopup-title": "Inloggen", + "memberMenuPopup-title": "Instellingen van leden", + "members": "Leden", + "menu": "Menu", + "move-selection": "Verplaats selectie", + "moveCardPopup-title": "Verplaats kaart", + "moveCardToBottom-title": "Verplaats naar beneden", + "moveCardToTop-title": "Verplaats naar boven", + "moveSelectionPopup-title": "Verplaats selectie", + "multi-selection": "Multi-selectie", + "multi-selection-on": "Multi-selectie staat aan", + "muted": "Stil", + "muted-info": "Je zal nooit meer geïnformeerd worden bij veranderingen in dit bord.", + "my-boards": "Mijn Borden", + "name": "Naam", + "no-archived-cards": "Geen kaarten in Archief.", + "no-archived-lists": "Geen lijsten in Archief..", + "no-archived-swimlanes": "Geen swimlanes in Archief.", + "no-results": "Geen resultaten", + "normal": "Normaal", + "normal-desc": "Kan de kaarten zien en wijzigen. Kan de instellingen niet wijzigen.", + "not-accepted-yet": "Uitnodiging nog niet geaccepteerd", + "notify-participate": "Ontvang updates van elke kaart die je hebt aangemaakt of lid van bent", + "notify-watch": "Ontvang updates van elke bord, lijst of kaart die je bekijkt.", + "optional": "optioneel", + "or": "of", + "page-maybe-private": "Deze pagina is privé. Je kan het bekijken door in te loggen.", + "page-not-found": "Pagina niet gevonden.", + "password": "Wachtwoord", + "paste-or-dragdrop": "Om te plakken, of slepen & neer te laten (alleen afbeeldingen)", + "participating": "Deelnemen", + "preview": "Voorbeeld", + "previewAttachedImagePopup-title": "Voorbeeld", + "previewClipboardImagePopup-title": "Voorbeeld", + "private": "Privé", + "private-desc": "Dit bord is privé. Alleen gebruikers die toegevoegd zijn aan het bord kunnen het bekijken en wijzigen.", + "profile": "Profiel", + "public": "Openbaar", + "public-desc": "Dit bord is openbaar. Het is zichtbaar voor iedereen met de link en zal tevoorschijn komen op zoekmachines zoals Google. Alleen gebruikers die toegevoegd zijn aan het bord kunnen het wijzigen.", + "quick-access-description": "Maak een bord favoriet om een snelkoppeling toe te voegen aan deze balk.", + "remove-cover": "Verwijder Cover", + "remove-from-board": "Verwijder van bord", + "remove-label": "Verwijder label", + "listDeletePopup-title": "Lijst verwijderen?", + "remove-member": "Verwijder lid", + "remove-member-from-card": "Verwijder van kaart", + "remove-member-pop": "Verwijder __name__ (__username__) van __boardTitle__? Het lid zal verwijderd worden van alle kaarten op dit bord, en zal een notificatie ontvangen.", + "removeMemberPopup-title": "Lid verwijderen?", + "rename": "Hernoem", + "rename-board": "Hernoem bord", + "restore": "Herstel", + "save": "Opslaan", + "search": "Zoek", + "rules": "Regels", + "search-cards": "Zoek in kaart/lijst, titels, beschrijvingen en maatwerkvelden op dit bord", + "search-example": "Tekst om naar te zoeken?", + "select-color": "Selecteer kleur", + "set-wip-limit-value": "Zet een limiet voor het maximaal aantal taken in deze lijst", + "setWipLimitPopup-title": "Zet een WIP limiet", + "shortcut-assign-self": "Voeg jezelf toe aan huidige kaart", + "shortcut-autocomplete-emoji": "Emojis automatisch aanvullen", + "shortcut-autocomplete-members": "Leden automatisch aanvullen", + "shortcut-clear-filters": "Wis alle filters", + "shortcut-close-dialog": "Sluit dialoog", + "shortcut-filter-my-cards": "Filter mijn kaarten", + "shortcut-show-shortcuts": "Haal lijst met snelkoppelingen tevoorschijn", + "shortcut-toggle-filterbar": "Schakel Filter Zijbalk", + "shortcut-toggle-sidebar": "Schakel Bord Zijbalk", + "show-cards-minimum-count": "Laat het aantal kaarten zien wanneer de lijst meer kaarten heeft dan", + "sidebar-open": "Open Zijbalk", + "sidebar-close": "Sluit Zijbalk", + "signupPopup-title": "Maak een account aan", + "star-board-title": "Klik om het bord toe te voegen aan favorieten, waarna hij aan de bovenbalk tevoorschijn komt.", + "starred-boards": "Favoriete Borden", + "starred-boards-description": "Favoriete borden komen tevoorschijn aan de bovenbalk.", + "subscribe": "Abonneer", + "team": "Team", + "this-board": "dit bord", + "this-card": "deze kaart", + "spent-time-hours": "Gespendeerde tijd (in uren)", + "overtime-hours": "Overwerk (in uren)", + "overtime": "Overwerk", + "has-overtime-cards": "Heeft kaarten met overwerk", + "has-spenttime-cards": "Heeft tijd besteed aan kaarten", + "time": "Tijd", + "title": "Titel", + "tracking": "Volgen", + "tracking-info": "Je wordt op de hoogte gesteld als er veranderingen zijn aan de kaarten waar je lid of maker van bent.", + "type": "Type", + "unassign-member": "Lid verwijderen", + "unsaved-description": "Je hebt een niet opgeslagen beschrijving.", + "unwatch": "Niet bekijken", + "upload": "Upload", + "upload-avatar": "Upload een avatar", + "uploaded-avatar": "Avatar is geüpload", + "username": "Gebruikersnaam", + "view-it": "Bekijk het", + "warn-list-archived": "Let op: deze kaart zit in gearchiveerde lijst", + "watch": "Bekijk", + "watching": "Bekijken", + "watching-info": "Je zal op de hoogte worden gesteld als er een verandering plaatsvind op dit bord.", + "welcome-board": "Welkom Bord", + "welcome-swimlane": "Mijlpaal 1", + "welcome-list1": "Basis", + "welcome-list2": "Geadvanceerd", + "card-templates-swimlane": "Kaart Templates", + "list-templates-swimlane": "Lijst Templates", + "board-templates-swimlane": "Bord Templates", + "what-to-do": "Wat wil je doen?", + "wipLimitErrorPopup-title": "Ongeldige WIP limiet", + "wipLimitErrorPopup-dialog-pt1": "Het aantal taken in deze lijst is groter dan de gedefinieerde WIP limiet ", + "wipLimitErrorPopup-dialog-pt2": "Verwijder een aantal taken uit deze lijst, of zet de WIP limiet hoger", + "admin-panel": "Administrator paneel", + "settings": "Instellingen", + "people": "Gebruikers", + "registration": "Registratie", + "disable-self-registration": "Schakel zelf-registratie uit", + "invite": "Uitnodigen", + "invite-people": "Nodig mensen uit", + "to-boards": "Voor bord(en)", + "email-addresses": "E-mailadressen", + "smtp-host-description": "Het adres van de SMTP server die e-mails zal versturen.", + "smtp-port-description": "De poort van de SMTP server wordt gebruikt voor uitgaande e-mails.", + "smtp-tls-description": "Gebruik TLS ondersteuning voor SMTP server.", + "smtp-host": "SMTP Host", + "smtp-port": "SMTP Poort", + "smtp-username": "Gebruikersnaam", + "smtp-password": "Wachtwoord", + "smtp-tls": "TLS ondersteuning", + "send-from": "Van", + "send-smtp-test": "Verzend een test email naar jezelf", + "invitation-code": "Uitnodigings code", + "email-invite-register-subject": "__inviter__ heeft je een uitnodiging gestuurd", + "email-invite-register-text": "Beste __user__,\n\n__inviter__ nodigt je uit voor een Kanban-bord om samen te werken.\n\nHet bord vind je via onderstaande link:\n__url__\n\nJe uitnodigingscode is: __icode__\n\nBedankt en tot ziens.", + "email-smtp-test-subject": "SMTP Test Email", + "email-smtp-test-text": "Je hebt met succes een email verzonden", + "error-invitation-code-not-exist": "Uitnodigings code bestaat niet", + "error-notAuthorized": "Je bent niet toegestaan om deze pagina te bekijken.", + "webhook-title": "Webhook Naam", + "webhook-token": "Token (Optioneel voor Authenticatie)", + "outgoing-webhooks": "Uitgaande Webhooks", + "bidirectional-webhooks": "Twee-Weg Webhooks", + "outgoingWebhooksPopup-title": "Uitgaande Webhooks", + "boardCardTitlePopup-title": "Kaarttitel Filter", + "disable-webhook": "Schakel deze Webhook uit", + "global-webhook": "Globale Webhooks", + "new-outgoing-webhook": "Nieuwe webhook", + "no-name": "(Onbekend)", + "Node_version": "Node versie", + "Meteor_version": "Meteor versie", + "MongoDB_version": "MongoDB versie", + "MongoDB_storage_engine": "MongoDB storage engine", + "MongoDB_Oplog_enabled": "MongoDB Oplog ingeschakeld", + "OS_Arch": "OS Arch", + "OS_Cpus": "OS CPU Count", + "OS_Freemem": "OS Vrij Geheugen", + "OS_Loadavg": "OS Gemiddelde Belasting", + "OS_Platform": "OS Platform", + "OS_Release": "OS Versie", + "OS_Totalmem": "OS Totaal Geheugen", + "OS_Type": "OS Type", + "OS_Uptime": "OS Uptime", + "days": "dagen", + "hours": "uren", + "minutes": "minuten", + "seconds": "seconden", + "show-field-on-card": "Toon dit veld op kaart", + "automatically-field-on-card": "Maak veld automatisch aan op alle kaarten", + "showLabel-field-on-card": "Toon veldnaam op minikaart", + "yes": "Ja", + "no": "Nee", + "accounts": "Accounts", + "accounts-allowEmailChange": "Sta E-mailadres wijzigingen toe", + "accounts-allowUserNameChange": "Sta Gebruikersnaam wijzigingen toe", + "createdAt": "Gemaakt op", + "verified": "Geverifieerd", + "active": "Actief", + "card-received": "Ontvangen", + "card-received-on": "Ontvangen op", + "card-end": "Einde", + "card-end-on": "Eindigt op", + "editCardReceivedDatePopup-title": "Pas ontvangstdatum aan", + "editCardEndDatePopup-title": "Wijzig einddatum", + "setCardColorPopup-title": "Stel kleur in", + "setCardActionsColorPopup-title": "Kies een kleur", + "setSwimlaneColorPopup-title": "Kies een kleur", + "setListColorPopup-title": "Kies een kleur", + "assigned-by": "Toegewezen door", + "requested-by": "Aangevraagd door", + "board-delete-notice": "Verwijdering kan niet ongedaan gemaakt worden. Je raakt alle met dit bord gerelateerde lijsten, kaarten en acties kwijt.", + "delete-board-confirm-popup": "Alle lijsten, kaarten, labels en activiteiten zullen worden verwijderd en je kunt de bordinhoud niet terughalen. Er is geen herstelmogelijkheid. ", + "boardDeletePopup-title": "Bord verwijderen?", + "delete-board": "Verwijder bord", + "default-subtasks-board": "Subtaken voor __board__ bord", + "default": "Standaard", + "queue": "Rij", + "subtask-settings": "Subtaak Instellingen", + "card-settings": "Kaart Instellingen", + "boardSubtaskSettingsPopup-title": "Bord Subtaak Instellingen", + "boardCardSettingsPopup-title": "Kaart Instellingen", + "deposit-subtasks-board": "Plaats subtaken op dit bord:", + "deposit-subtasks-list": "Plaats subtaken in deze lijst:", + "show-parent-in-minicard": "Toon bron in minikaart:", + "prefix-with-full-path": "Prefix met volledig pad", + "prefix-with-parent": "Prefix met bron", + "subtext-with-full-path": "Subtekst met volledig pad", + "subtext-with-parent": "Subtekst met bron", + "change-card-parent": "Wijzig bron van kaart", + "parent-card": "Bronkaart", + "source-board": "Bronbord", + "no-parent": "Toon bron niet", + "activity-added-label": "label toegevoegd '%s' aan %s", + "activity-removed-label": "label verwijderd '%s' van %s", + "activity-delete-attach": "een bijlage verwijderd van %s", + "activity-added-label-card": "label toegevoegd '%s'", + "activity-removed-label-card": "label verwijderd '%s'", + "activity-delete-attach-card": "een bijlage verwijderd", + "activity-set-customfield": "wijzig maatwerkveld '%s' naar '%s' in %s", + "activity-unset-customfield": "wijzig maatwerkveld '%s' in %s", + "r-rule": "Regel", + "r-add-trigger": "Voeg signaal toe", + "r-add-action": "Actie toevoegen", + "r-board-rules": "Bord regels", + "r-add-rule": "Regel toevoegen", + "r-view-rule": "Toon regel", + "r-delete-rule": "Verwijder regel", + "r-new-rule-name": "Nieuwe regelnaam", + "r-no-rules": "Geen regels", + "r-trigger": "Signaal", + "r-action": "Actie", + "r-when-a-card": "Als een kaart", + "r-is": "is", + "r-is-moved": "is verplaatst", + "r-added-to": "Toegevoegd aan", + "r-removed-from": "verwijderd van", + "r-the-board": "het bord", + "r-list": "lijst", + "set-filter": "Definieer Filter", + "r-moved-to": "verplaatst naar", + "r-moved-from": "verplaatst van", + "r-archived": "Verplaatst naar Archief", + "r-unarchived": "Teruggehaald uit Archief", + "r-a-card": "een kaart", + "r-when-a-label-is": "Als een label is", + "r-when-the-label": "Als het label", + "r-list-name": "lijstnaam", + "r-when-a-member": "Als een lid is", + "r-when-the-member": "Als het lid", + "r-name": "naam", + "r-when-a-attach": "Als een bijlage", + "r-when-a-checklist": "Als een checklist is", + "r-when-the-checklist": "Als de checklist", + "r-completed": "Afgewerkt", + "r-made-incomplete": "Onafgewerkt gemaakt", + "r-when-a-item": "Als een checklist item is", + "r-when-the-item": "Als het checklist item", + "r-checked": "Aangevinkt", + "r-unchecked": "Uitgevinkt", + "r-move-card-to": "Verplaats kaart naar", + "r-top-of": "Bovenste van", + "r-bottom-of": "Onderste van", + "r-its-list": "zijn lijst", + "r-archive": "Verplaats naar Archief", + "r-unarchive": "Terughalen uit Archief", + "r-card": "kaart", + "r-add": "Toevoegen", + "r-remove": "Verwijder", + "r-label": "label", + "r-member": "lid", + "r-remove-all": "Verwijder alle leden van de kaart", + "r-set-color": "Wijzig kleur naar", + "r-checklist": "checklist", + "r-check-all": "Vink alles aan", + "r-uncheck-all": "Vink alles uit", + "r-items-check": "items van checklist", + "r-check": "Vink aan", + "r-uncheck": "Vink uit", + "r-item": "item", + "r-of-checklist": "van checklist", + "r-send-email": "Verzend een email", + "r-to": "naar", + "r-of": "van", + "r-subject": "onderwerp", + "r-rule-details": "Regel details", + "r-d-move-to-top-gen": "Verplaats kaart helemaal naar boven op de lijst", + "r-d-move-to-top-spec": "Verplaats kaart naar bovenaan op lijst", + "r-d-move-to-bottom-gen": "Verplaats kaart naar onderaan op de lijst", + "r-d-move-to-bottom-spec": "Verplaats kaart naar onderaan op lijst", + "r-d-send-email": "Verzend email", + "r-d-send-email-to": "naar", + "r-d-send-email-subject": "onderwerp", + "r-d-send-email-message": "bericht", + "r-d-archive": "Verplaats kaart naar Archief", + "r-d-unarchive": "Haal kaart terug uit Archief", + "r-d-add-label": "Label toevoegen", + "r-d-remove-label": "Verwijder label", + "r-create-card": "Maak nieuwe kaart aan", + "r-in-list": "van lijst", + "r-in-swimlane": "in swimlane", + "r-d-add-member": "Lid toevoegen", + "r-d-remove-member": "Verwijder lid", + "r-d-remove-all-member": "Verwijder alle leden", + "r-d-check-all": "Vink alle items van een lijst aan", + "r-d-uncheck-all": "Vink alle items van een lijst uit", + "r-d-check-one": "Vink item aan", + "r-d-uncheck-one": "Vink item uit", + "r-d-check-of-list": "van checklist", + "r-d-add-checklist": "Checklist toevoegen", + "r-d-remove-checklist": "Verwijder checklist", + "r-by": "door", + "r-add-checklist": "Checklist toevoegen", + "r-with-items": "met items", + "r-items-list": "item1, item2, item3", + "r-add-swimlane": "Swimlane toevoegen", + "r-swimlane-name": "Swimlane-naam", + "r-board-note": "Let op: laat een veld leeg om er niet op te selecteren", + "r-checklist-note": "Let op: checklist items moeten geschreven worden als kommagescheiden waarden.", + "r-when-a-card-is-moved": "Als een kaart is verplaatst naar een andere lijst", + "r-set": "Wijzig", + "r-update": "Bijwerken", + "r-datefield": "datumveld", + "r-df-start-at": "begin", + "r-df-due-at": "verval", + "r-df-end-at": "einde", + "r-df-received-at": "ontvangen", + "r-to-current-datetime": "naar huidige datum/tijd", + "r-remove-value-from": "Verwijder waarde van", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Authenticatiemethode", + "authentication-type": "Authenticatietype", + "custom-product-name": "Eigen Productnaam", + "layout": "Lay-out", + "hide-logo": "Verberg Logo", + "add-custom-html-after-body-start": "Voeg eigen HTML toe na start", + "add-custom-html-before-body-end": "Voeg eigen HTML toe voor einde", + "error-undefined": "Er is iets misgegaan", + "error-ldap-login": "Er is een fout opgetreden tijdens het inloggen", + "display-authentication-method": "Toon Authenticatiemethode", + "default-authentication-method": "Standaard Authenticatiemethode", + "duplicate-board": "Dupliceer Bord", + "people-number": "Het aantal gebruikers is:", + "swimlaneDeletePopup-title": "Swimlane verwijderen?", + "swimlane-delete-pop": "Alle acties zullen verwijderd worden van de activiteiten feed en je kunt de swimlane niet terughalen. Er is geen herstelmogelijkheid.", + "restore-all": "Haal alles terug", + "delete-all": "Verwijder alles", + "loading": "Laden, even geduld.", + "previous_as": "laatste keer was", + "act-a-dueAt": "heeft vervaldatum gewijzigd naar \nOp: __timeValue__\nKaart: __card__\noude vervaldatum was __timeOldValue__", + "act-a-endAt": "heeft einddatum gewijzigd naar __timeValue__ van (__timeOldValue__)", + "act-a-startAt": "heeft begindatum gewijzigd naar __timeValue__ van (__timeOldValue__)", + "act-a-receivedAt": "heeft ontvangstdatum gewijzigd naar __timeValue__ van (__timeOldValue__)", + "a-dueAt": "vervaldatum gewijzigd naar", + "a-endAt": "einddatum gewijzigd naar", + "a-startAt": "begindatum gewijzigd naar", + "a-receivedAt": "ontvangstdatum gewijzigd naar", + "almostdue": "huidige vervaldatum %s nadert", + "pastdue": "huidige vervaldatum %s is verlopen", + "duenow": "huidige vervaldatum %s is vandaag", + "act-newDue": "__list__/__card__ heeft eerste vervaldatum herinnering [__board__]", + "act-withDue": "__list__/__card__ vervaldatum herinneringen [__board__]", + "act-almostdue": "wil je herinneren aan het naderen van de huidige vervaldatum (__timeValue__) van __card__ ", + "act-pastdue": "wil je herinneren aan het verlopen van de huidige vervaldatum (__timeValue__) van __card__ ", + "act-duenow": "wil je herinneren aan het vandaag verlopen van de huidige vervaldatum (__timeValue__) van __card__ ", + "act-atUserComment": "Je werd genoemd in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Weet je zeker dat je dit account wilt verwijderen? Er is geen herstelmogelijkheid.", + "accounts-allowUserDelete": "Sta gebruikers toe om hun eigen account te verwijderen", + "hide-minicard-label-text": "Verberg minikaart labeltekst", + "show-desktop-drag-handles": "Toon sleep gereedschap op werkblad", + "assignee": "Toegewezen aan", + "cardAssigneesPopup-title": "Toegewezen aan", + "addmore-detail": "Voeg een meer gedetailleerde beschrijving toe", + "show-on-card": "Toon op kaart", + "new": "Nieuw", + "editUserPopup-title": "Wijzig gebruiker", + "newUserPopup-title": "Nieuwe gebruiker", + "notifications": "Meldingen", + "view-all": "Bekijk alles", + "filter-by-unread": "Filter op Ongelezen", + "mark-all-as-read": "Markeer alles als gelezen", + "remove-all-read": "verwijder alle gelezen", + "allow-rename": "Sta Hernoemen toe", + "allowRenamePopup-title": "Sta Hernoemen toe", + "start-day-of-week": "Stel eerste dag van de week in", + "monday": "Maandag", + "tuesday": "Dinsdag", + "wednesday": "Woensdag", + "thursday": "Donderdag", + "friday": "Vrijdag", + "saturday": "Zaterdag", + "sunday": "Zondag", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Eigenaar", + "last-modified-at": "Laatste aanpassing op", + "last-activity": "Laatste activiteit", + "voting": "Stemmen", + "archived": "Gearchiveerd", + "delete-linked-card-before-this-card": "Je kunt deze kaart niet verwijderen voordat de gekoppelde kaart is verwijderd ", + "delete-linked-cards-before-this-list": "Je kunt deze lijst niet verwijderen voordat de gekoppelde kaarten verwijderd zijn die verwijzen naar kaarten in deze lijst", + "hide-checked-items": "Verberg aangevinkte items" +} \ No newline at end of file diff --git a/i18n/oc.i18n.json b/i18n/oc.i18n.json new file mode 100644 index 0000000..1bd1b22 --- /dev/null +++ b/i18n/oc.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Acceptar", + "act-activity-notify": "Notificacion d'activitat", + "act-addAttachment": "as apondut una pèça joncha __astacament__ de la carta __card__ a la tièra __list__ del corredor __swimlane__ del tablèu __board__", + "act-deleteAttachment": "as tirat una pèça joncha __astacament__ de la carta __card__ de la tièra __list__ del corredor __swimlane__ del tablèu __board__", + "act-addSubtask": "as apondut una jos-tasca __subtask__ de la carta __card__ de la tièra __list__ del corredor __swimlane__ del tablèu __board__", + "act-addLabel": "as apondut una etiqueta__label__ de la carta __card__ a la tièra __list__ del corredor __swimlane__ del tablèu __board__", + "act-addedLabel": "as apondut una etiqueta__label__ de la carta __card__ a la tièra __list__ del corredor __swimlane__ del tablèu __board__", + "act-removeLabel": "as tirat l'etiqueta__label__ de la carta __card__ de la tièra __list__ del corredor __swimlane__ del tablèu __board__", + "act-removedLabel": "as tirat l'etiqueta__label__ de la carta __card__ de la tièra __list__ del corredor __swimlane__ del tablèu __board__", + "act-addChecklist": "as apondut la checklist __checklist__ de la carta __card__ de la tièra __list__ del corredor __swimlane__ del tablèu __board__", + "act-addChecklistItem": " as apondut l'element __checklistItem__ de la checklist __checklist__ de la carta __card__ de la tièra __list__ del corredor __swimlane__ del tablèu __board__", + "act-removeChecklist": "as tirat la checklist __checklist__ de la carta __card__ de la tièra __list__ del corredor __swimlane__ del tablèu __board__", + "act-removeChecklistItem": " as tirat l'element __checklistItem__ de la checklist __checklist__ de la carta __card__ de la tièra __list__ del corredor __swimlane__ del tablèu __board__", + "act-checkedItem": "as croiat __checklistItem__ de la checklist __checklist__ de la carta __card__ de la tièra __list__ del corredor __swimlane__ del tablèu __board__", + "act-uncheckedItem": "as descroiar __checklistItem__ de la checklist __checklist__ de la carta __card__ de la tièra __list__ del corredor __swimlane__ del tablèu __board__", + "act-completeChecklist": "as completat la checklist __checklist__ de la carta __card__ de la tièra __list__ del corredor __swimlane__ del tablèu __board__", + "act-uncompleteChecklist": "as rendut incomplet la checklist __checklist__ de la carta __card__ de la tièra __list__ del corredor __swimlane__ del tablèu __board__", + "act-addComment": "as comentat la carta __card__: __comment__ de la tièra __list__ del corredor __swimlane__ del tablèu __board__", + "act-editComment": "edited comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteComment": "deleted comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createBoard": "as creat lo tablèu __board__", + "act-createSwimlane": "created swimlane __swimlane__ to board __board__", + "act-createCard": "as creat la carta __card__ de la tièra __list__ del corredor __swimlane__ del tablèu __board__", + "act-createCustomField": "created custom field __customField__ at board __board__", + "act-deleteCustomField": "deleted custom field __customField__ at board __board__", + "act-setCustomField": "edited custom field __customField__: __customFieldValue__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createList": "as apondut la tièra __list__ al tablèu __board__", + "act-addBoardMember": "as apondut un participant __member__ al tablèu __board__", + "act-archivedBoard": "Lo tablèu __board__ es estat desplaçar cap a Archius", + "act-archivedCard": "La carta __card__ de la tièra __list__ del corredor __swimlane__ del tablèu __board__ es estat desplaçar cap a Archiu", + "act-archivedList": "La tièra __list__ del corredor __swimlane__ del tablèu __board__ es estat desplaçar cap a Archius", + "act-archivedSwimlane": "Lo corredor __swimlane__ del tablèu __board__ es estat desplaçar cap a Archius", + "act-importBoard": "as importat lo tablèu __board__", + "act-importCard": "as importat la carta __card__ de la tièra __list__ del corredor __swimlane__ del tablèu __board__", + "act-importList": "as importat la tièra __list__ del corredor __swimlane__ del tablèu __board__", + "act-joinMember": "as apondut un participant __member__ a la carta __card__ de la tièra __list__ del corredor __swimlane__ del tablèu __board__", + "act-moveCard": "moved card __card__ at board __board__ from list __oldList__ at swimlane __oldSwimlane__ to list __list__ at swimlane __swimlane__", + "act-moveCardToOtherBoard": "as desplaçat la carta __card__ de la tièra __oldList__ del corredor __oldSwimlane__ del tablèu __oldBoard__ cap a la tièra __list__ del corredor __swimlane__ del tablèu __board__", + "act-removeBoardMember": "as tirat lo participant __member__ del tablèu __board__", + "act-restoredCard": "as restorat la carta __card__ de la tièra __list__ del corredor __swimlane__ del tablèu __board__", + "act-unjoinMember": "as tirat lo participant __member__ de la carta __card__ de la tièra __list__ del corredor __swimlane__ del tablèu __board__", + "act-withBoardTitle": "__tablèu__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Accions", + "activities": "Activitats", + "activity": "Activitat", + "activity-added": "as apondut %s a %s", + "activity-archived": "%s desplaçat cap a Archius", + "activity-attached": "as ligat %s a %s", + "activity-created": "as creat %s", + "activity-customfield-created": "as creat lo camp personalizat %s", + "activity-excluded": "as exclús %s de %s", + "activity-imported": "as importat %s cap a %s dempuèi %s", + "activity-imported-board": "as importat %s dempuèi %s", + "activity-joined": "as rejonch %s", + "activity-moved": "as desplaçat %s dempuèi %s cap a %s", + "activity-on": "sus %s", + "activity-removed": "as tirat %s de %s", + "activity-sent": "as mandat %s cap a %s", + "activity-unjoined": "as quitat %s", + "activity-subtask-added": "as apondut una jos-tasca a %s", + "activity-checked-item": "as croiat %s dins la checklist %s de %s", + "activity-unchecked-item": "as descroiat %s dins la checklist %s de %s", + "activity-checklist-added": "as apondut a checklist a %s", + "activity-checklist-removed": "as tirat la checklist de %s", + "activity-checklist-completed": "completed checklist %s of %s", + "activity-checklist-uncompleted": "as rendut incomplet la checklist %s de %s", + "activity-checklist-item-added": "as apondut un element a la checklist '%s' dins %s", + "activity-checklist-item-removed": "as tirat un element a la checklist '%s' dins %s", + "add": "Apondre", + "activity-checked-item-card": "as croiat %s dins la checklist %s", + "activity-unchecked-item-card": "as descroiat %s dins la checklist %s", + "activity-checklist-completed-card": "as acabat la checklist__checklist__ de la carta __card__ de la tièra __list__ del corredor __swimlane__ del tablèu __board__", + "activity-checklist-uncompleted-card": "as rendut incomplet la checklist %s", + "activity-editComment": "edited comment %s", + "activity-deleteComment": "deleted comment %s", + "add-attachment": "Apondre una pèça joncha", + "add-board": "Apondre un tablèu", + "add-card": "Apondre una carta", + "add-swimlane": "Apondre un corredor", + "add-subtask": "Apondre una jos-tasca", + "add-checklist": "Apondre una checklist", + "add-checklist-item": "Apondre un element a la checklist", + "add-cover": "Apondre una cobèrta", + "add-label": "Apondre una etiqueta", + "add-list": "Apondre una tièra", + "add-members": "Apondre un participant", + "added": "Apondut lo", + "addMemberPopup-title": "Participants", + "admin": "Administartor", + "admin-desc": "As lo drech de legir e modificar las cartas, tirar de participants, e modificar las opcions del tablèu.", + "admin-announcement": "Anóncia", + "admin-announcement-active": "Activar l'anóncia globala", + "admin-announcement-title": "Anóncia de l'administrator", + "all-boards": "Totes los tablèus", + "and-n-other-card": "E __comptar__ carta de mai", + "and-n-other-card_plural": "E __comptar__ cartas de mai", + "apply": "Aplicar", + "app-is-offline": "Cargament, vos cal esperar. Refrescar la pagina vos va far perdre vòstre trabalh. Se lo cargament es tròp long, vos cal agachar se lo servidor es pas blocat/arrestat.", + "archive": "Archivar", + "archive-all": "Archivar tot", + "archive-board": "Archivar lo tablèu", + "archive-card": "Archivar la carta", + "archive-list": "Archivar la tièra", + "archive-swimlane": "Archivar lo corredor", + "archive-selection": "Archivar la seleccion", + "archiveBoardPopup-title": "Archivar lo tablèu?", + "archived-items": "Archius", + "archived-boards": "Tablèu archivat", + "restore-board": "Restaurar lo tablèu", + "no-archived-boards": "Pas de tablèu archivat.", + "archives": "Archivar", + "template": "Modèl", + "templates": "Modèls", + "assign-member": "Affectar un participant", + "attached": "jónher", + "attachment": "pèça joncha", + "attachment-delete-pop": "Tirar una pèça joncha es defenitiu.", + "attachmentDeletePopup-title": "Tirar la pèça joncha ?", + "attachments": "Pèças jonchas", + "auto-watch": "Survelhar automaticament lo tablèu un còp creat", + "avatar-too-big": "L'imatge es tròp pesuc (70KB max)", + "back": "Tornar", + "board-change-color": "Cambiar de color", + "board-nb-stars": "%s estèla", + "board-not-found": "Tablèu pas trapat", + "board-private-info": "Aqueste tablèu serà privat.", + "board-public-info": "Aqueste tablèu serà public.", + "boardChangeColorPopup-title": "Cambiar lo fons del tablèu", + "boardChangeTitlePopup-title": "Tornar nomenar lo tablèu", + "boardChangeVisibilityPopup-title": "Cambiar la visibilitat", + "boardChangeWatchPopup-title": "Cambiar lo seguit", + "boardMenuPopup-title": "Opcions del tablèu", + "boardChangeViewPopup-title": "Presentacion del tablèu", + "boards": "Tablèus", + "board-view": "Presentacion del tablèu", + "board-view-cal": "Calendièr", + "board-view-swimlanes": "Corredor", + "board-view-collapse": "Collapse", + "board-view-lists": "Tièras", + "bucket-example": "Coma \"Tota la tièra\" per exemple", + "cancel": "Tornar", + "card-archived": "Aquesta carta es desplaçada dins Archius.", + "board-archived": "Aqueste tablèu esdesplaçat dins Archius.", + "card-comments-title": "Aquesta carta a %s comentari(s).", + "card-delete-notice": "Un còp tirat, pas de posibilitat de tornar enrè", + "card-delete-pop": "Totes las accions van èsser quitadas del seguit d'activitat e poiretz pas mai utilizar aquesta carta.", + "card-delete-suggest-archive": "Podètz desplaçar una carta dins Archius per la quitar del tablèu e gardar las activitats.", + "card-due": "Esperat", + "card-due-on": "Esperat lo", + "card-spent": "Temps passat", + "card-edit-attachments": "Cambiar las pèças jonchas", + "card-edit-custom-fields": "Cambiar los camps personalizats", + "card-edit-labels": "Cambiar los labèls", + "card-edit-members": "Cambiar los participants", + "card-labels-title": "Cambiar l'etiqueta de la carta.", + "card-members-title": "Apondre o quitar de participants a la carta. ", + "card-start": "Debuta", + "card-start-on": "Debuta lo", + "cardAttachmentsPopup-title": "Apondut dempuèi", + "cardCustomField-datePopup-title": "Cambiar la data", + "cardCustomFieldsPopup-title": "Cambiar los camps personalizats", + "cardStartVotingPopup-title": "Start a vote", + "positiveVoteMembersPopup-title": "Proponents", + "negativeVoteMembersPopup-title": "Opponents", + "card-edit-voting": "Edit voting", + "editVoteEndDatePopup-title": "Change vote end date", + "allowNonBoardMembers": "Allow all logged in users", + "vote-question": "Voting question", + "vote-public": "Show who voted what", + "vote-for-it": "for it", + "vote-against": "against", + "deleteVotePopup-title": "Delete vote?", + "vote-delete-pop": "Deleting is permanent. You will lose all actions associated with this vote.", + "cardDeletePopup-title": "Suprimir la carta?", + "cardDetailsActionsPopup-title": "Accions sus la carta", + "cardLabelsPopup-title": "Etiquetas", + "cardMembersPopup-title": "Participants", + "cardMorePopup-title": "Mai", + "cardTemplatePopup-title": "Crear un modèl", + "cards": "Cartas", + "cards-count": "Cartas", + "casSignIn": "Vos connectar amb CAS", + "cardType-card": "Carta", + "cardType-linkedCard": "Carta ligada", + "cardType-linkedBoard": "Tablèu ligat", + "change": "Cambiar", + "change-avatar": "Cambiar la fòto", + "change-password": "Cambiar lo mot de Santa-Clara", + "change-permissions": "Cambiar las permissions", + "change-settings": "Cambiar los paramètres", + "changeAvatarPopup-title": "Cambiar la fòto", + "changeLanguagePopup-title": "Cambiar la lenga", + "changePasswordPopup-title": "Cambiar lo mot de Santa-Clara", + "changePermissionsPopup-title": "Cambiar las permissions", + "changeSettingsPopup-title": "Cambiar los paramètres", + "subtasks": "Jos-tasca", + "checklists": "Checklists", + "click-to-star": "Apondre lo tablèu als favorits", + "click-to-unstar": "Quitar lo tablèu dels favorits", + "clipboard": "Copiar o far limpar", + "close": "Tampar", + "close-board": "Tampar lo tablèu", + "close-board-pop": "Podètz tornar activar lo tablèu dempuèi la pagina d'acuèlh.", + "color-black": "negre", + "color-blue": "blau", + "color-crimson": "purple clar", + "color-darkgreen": "verd fonçat", + "color-gold": "aur", + "color-gray": "gris", + "color-green": "verd", + "color-indigo": "indi", + "color-lime": "jaune clar", + "color-magenta": "magenta", + "color-mistyrose": "ròse clar", + "color-navy": "blau marin", + "color-orange": "irange", + "color-paleturquoise": "turqués", + "color-peachpuff": "persèc", + "color-pink": "ròsa", + "color-plum": "pruna", + "color-purple": "violet", + "color-red": "roge", + "color-saddlebrown": "castanh", + "color-silver": "argent", + "color-sky": "blau clar", + "color-slateblue": "blau lausa", + "color-white": "blanc", + "color-yellow": "jaune", + "unset-color": "pas reglat", + "comment": "Comentari", + "comment-placeholder": "Escrire un comentari", + "comment-only": "Comentari solament", + "comment-only-desc": "Comentari sus las cartas solament.", + "no-comments": "Pas cap de comentari", + "no-comments-desc": "Podèts pas veire ni los comentaris ni las activitats", + "worker": "Worker", + "worker-desc": "Can only move cards, assign itself to card and comment.", + "computer": "Ordenator", + "confirm-subtask-delete-dialog": "Sètz segur de voler quitar aquesta jos-tasca?", + "confirm-checklist-delete-dialog": "Sètz segur de voler quitar aquesta checklist?", + "copy-card-link-to-clipboard": "Còpia del ligam de la carta", + "linkCardPopup-title": "Ligam de la carta", + "searchElementPopup-title": "Cèrca", + "copyCardPopup-title": "Còpia de la carta", + "copyChecklistToManyCardsPopup-title": "Còpia del modèl de checklist cap a mai d'una carta", + "copyChecklistToManyCardsPopup-instructions": "Un compte es estat creat per vos sus ", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"Títol de la primièra carta\", \"description\":\"Descripcion de la primièra carta\"}, {\"title\":\"Títol de la segonda carta\",\"description\":\"Descripcion de la segonda carta\"},{\"title\":\"Títol de la darrièra carta\",\"description\":\"Descripcion de la darrièra carta\"} ]", + "create": "Crear", + "createBoardPopup-title": "Crear un tablèu", + "chooseBoardSourcePopup-title": "Importar un tablèu", + "createLabelPopup-title": "Crear una etiqueta", + "createCustomField": "Crear un camp", + "createCustomFieldPopup-title": "Crear un camp", + "current": "actual", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Casa de croiar", + "custom-field-currency": "Currency", + "custom-field-currency-option": "Currency Code", + "custom-field-date": "Data", + "custom-field-dropdown": "Tièra de causidas", + "custom-field-dropdown-none": "(pas res)", + "custom-field-dropdown-options": "Opcions de la tièra", + "custom-field-dropdown-options-placeholder": "Apiejar sus \"Enter\" per apondre d'opcions", + "custom-field-dropdown-unknown": "(desconegut)", + "custom-field-number": "Nombre", + "custom-field-text": "Tèxte", + "custom-fields": "Camps personalizats", + "date": "Data", + "decline": "Refusar", + "default-avatar": "Fòto per defaut", + "delete": "Suprimir", + "deleteCustomFieldPopup-title": "Tirar lo camp personalizat?", + "deleteLabelPopup-title": "Tirar l'etiqueta?", + "description": "Descripcion", + "disambiguateMultiLabelPopup-title": "Precisar l'accion de l'etiqueta", + "disambiguateMultiMemberPopup-title": "Precisar l'accion del participant", + "discard": "Botar dins l'escobilha", + "done": "Acabat", + "download": "Telecargar", + "edit": "Modificar", + "edit-avatar": "Cambiar la fòto", + "edit-profile": "Modificar lo perfil", + "edit-wip-limit": "Modificar la WIP limit", + "soft-wip-limit": "Leugièr WIP limit", + "editCardStartDatePopup-title": "Cambiar la data de debuta", + "editCardDueDatePopup-title": "Cambiar la data de fin", + "editCustomFieldPopup-title": "Modificar los camps", + "editCardSpentTimePopup-title": "Cambiar lo temp passat", + "editLabelPopup-title": "Cambiar l'etiqueta", + "editNotificationPopup-title": "Modificar la notificacion", + "editProfilePopup-title": "Modificar lo perfil", + "email": "Corrièl", + "email-enrollAccount-subject": "Vòstre compte es ara activat pel sit __siteName__", + "email-enrollAccount-text": "Adieu __user__,\n\nPer comença d'utilizar lo servici, vos cal clicar sul ligam.\n\n__url__\n\nMercé.", + "email-fail": "Pas possible de mandar lo corrièl", + "email-fail-text": "Error per mandar lo corrièl", + "email-invalid": "L'adreça corrièl es pas valida", + "email-invite": "Convidar per corrièl", + "email-invite-subject": "__inviter__ vos as mandat un convit", + "email-invite-text": "Car __user__,\n\n__inviter__ vos a convidat per jónher lo tablèu \"__board__\".\n\nVos cal clicar sul ligam:\n\n__url__\n\nMercé.", + "email-resetPassword-subject": "Tornar inicializar vòstre mot de Santa-Clara de sit __siteName__", + "email-resetPassword-text": "Adieu __user__,\n\nPer tornar inicializar vòstre mot de Santa-Clara vos cal clicar sul ligam :\n\n__url__\n\nMercé.", + "email-sent": "Mail mandat", + "email-verifyEmail-subject": "Vos cal verificar vòstra adreça corrièl del sit __siteName__", + "email-verifyEmail-text": "Adieu __user__,\n\nPer verificar vòstra adreça corrièl, vos cal clicar sul ligam :\n\n__url__\n\nMercé.", + "enable-wip-limit": "Activar la WIP limit", + "error-board-doesNotExist": "Aqueste tablèu existís pas", + "error-board-notAdmin": "Devètz èsser un administrator del tablèu per far aquò ", + "error-board-notAMember": "Devètz èsser un participant del tablèu per far aquò", + "error-json-malformed": "Vòstre tèxte es pas valid JSON", + "error-json-schema": "Vòstre JSON es pas al format correct ", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "Aqueste tièra existís pas", + "error-user-doesNotExist": "Aqueste utilizator existís pas", + "error-user-notAllowSelf": "Vos podètz pas convidar vautres meteisses", + "error-user-notCreated": "Aqueste utilizator es pas encara creat", + "error-username-taken": "Lo nom es ja pres", + "error-email-taken": "Lo corrièl es ja pres ", + "export-board": "Exportar lo tablèu", + "export-board-json": "Export board to JSON", + "export-board-csv": "Export board to CSV", + "export-board-tsv": "Export board to TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "Exportar lo tablèu", + "sort": "Sort", + "sort-desc": "Click to Sort List", + "list-sort-by": "Sort the List By:", + "list-label-modifiedAt": "Last Access Time", + "list-label-title": "Name of the List", + "list-label-sort": "Your Manual Order", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Filtre", + "filter-cards": "Filter Cards or Lists", + "list-filter-label": "Filter List by Title", + "filter-clear": "Escafar lo filtre", + "filter-no-label": "Pas cap d'etiqueta", + "filter-no-member": "Pas cap de participant", + "filter-no-assignee": "No assignee", + "filter-no-custom-fields": "Pas de camp personalizat", + "filter-show-archive": "Show archived lists", + "filter-hide-empty": "Hide empty lists", + "filter-on": "Lo filtre es activat", + "filter-on-desc": "Filtratz las cartas dins aqueste tablèu. Picar aquí per editar los filtres", + "filter-to-selection": "Filtrar la seleccion", + "advanced-filter-label": "Filtre avançat", + "advanced-filter-description": "Advanced Filter allows to write a string containing following operators: == != <= >= && || ( ) A space is used as a separator between the Operators. You can filter for all Custom Fields by typing their names and values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need to encapsulate them into single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) to be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally all operators are interpreted from left to right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i", + "fullname": "Nom complet", + "header-logo-title": "Retorn a vòstra pagina de tablèus", + "hide-system-messages": "Amagar los messatges sistèm", + "headerBarCreateBoardPopup-title": "Crear un tablèu", + "home": "Acuèlh", + "import": "Importar", + "link": "Ligar", + "import-board": "Importar un tablèu", + "import-board-c": "Importar un tablèu", + "import-board-title-trello": "Importar un tablèu dempuèi Trello", + "import-board-title-wekan": "Importar un tablèu dempuèi un export passat", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "Dempuèi Trello", + "from-wekan": "Dempuèi un export passat", + "from-csv": "From CSV/TSV", + "import-board-instruction-trello": "Dins vòstre tablèu Trello, vos cal anar dins \"Menut\", puèi \"Mai\", \"Export\", \"Export JSON\", e copiar lo tèxte balhat.", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "Dins vòstre tablèu, vos cal anar dins \"Menut\", puèi \"Exportar lo tablèu\", e de copiar lo tèxte del fichièr telecargat.", + "import-board-instruction-about-errors": "Se avètz de errors al moment d'importar un tablèu, es possible que l'importacion as fonccionat, lo tablèu es belèu a la pagina \"Totes los tablèus\".", + "import-json-placeholder": "Pegar las donadas del fichièr JSON aicí", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "Mapa dels participants", + "import-members-map": "Lo tablèu qu'avètz importat as ja de participants, vos cal far la migracion amb los utilizators actual", + "import-show-user-mapping": "Review members mapping", + "import-user-select": "Pick your existing user you want to use as this member", + "importMapMembersAddPopup-title": "Seleccionar un participant", + "info": "Vesion", + "initials": "Iniciala", + "invalid-date": "Data invalida", + "invalid-time": "Temps invalid", + "invalid-user": "Participant invalid", + "joined": "Jónher", + "just-invited": "Sètz just convidat dins aqueste tablèu", + "keyboard-shortcuts": "Keyboard shortcuts", + "label-create": "Crear una etiqueta", + "label-default": "%s label (default)", + "label-delete-pop": "There is no undo. This will remove this label from all cards and destroy its history.", + "labels": "Etiquetas", + "language": "Lenga", + "last-admin-desc": "You can’t change roles because there must be at least one admin.", + "leave-board": "Leave Board", + "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.", + "leaveBoardPopup-title": "Leave Board ?", + "link-card": "Ligam per aquesta carta", + "list-archive-cards": "Mandar totas las cartas d'aquesta tièra dins Archius", + "list-archive-cards-pop": "This will remove all the cards in this list from the board. To view cards in Archive and bring them back to the board, click “Menu” > “Archive”.", + "list-move-cards": "Mandar totas las cartas dins aquesta tièra", + "list-select-cards": "Seleccionar totas las cartas dins aquesta tièra", + "set-color-list": "Set Color", + "listActionPopup-title": "Tièra de las accions", + "swimlaneActionPopup-title": "Swimlane Actions", + "swimlaneAddPopup-title": "Add a Swimlane below", + "listImportCardPopup-title": "Importar una carta de Trello", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "Mai", + "link-list": "Ligam d'aquesta tièra", + "list-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the list. There is no undo.", + "list-delete-suggest-archive": "You can move a list to Archive to remove it from the board and preserve the activity.", + "lists": "Tièras", + "swimlanes": "Corredor", + "log-out": "Desconnexion", + "log-in": "Connexion", + "loginPopup-title": "Connexion", + "memberMenuPopup-title": "Paramètres dels participants", + "members": "Participants", + "menu": "Menut", + "move-selection": "Bolegar la seleccion", + "moveCardPopup-title": "Bolegar la carta", + "moveCardToBottom-title": "Bolegar cap al bas", + "moveCardToTop-title": "Bolegar cap al naut", + "moveSelectionPopup-title": "Bolegar la seleccion", + "multi-selection": "Multi-seleccion", + "multi-selection-on": "Multi-Selection is on", + "muted": "Silenciós", + "muted-info": "You will never be notified of any changes in this board", + "my-boards": "Mon tablèu", + "name": "Nom", + "no-archived-cards": "Pas cap de carta dins Archius", + "no-archived-lists": "Pas cap de tièra dins Archius", + "no-archived-swimlanes": "Pas cap de corredor dins Archius", + "no-results": "Pas brica de resultat", + "normal": "Normal", + "normal-desc": "Can view and edit cards. Can't change settings.", + "not-accepted-yet": "Invitation not accepted yet", + "notify-participate": "Receive updates to any cards you participate as creater or member", + "notify-watch": "Receive updates to any boards, lists, or cards you’re watching", + "optional": "opcional", + "or": "o", + "page-maybe-private": "This page may be private. You may be able to view it by logging in.", + "page-not-found": "Pagina pas trapada", + "password": "Mot de Santa-Clara", + "paste-or-dragdrop": "to paste, or drag & drop image file to it (image only)", + "participating": "Participating", + "preview": "Apercebut", + "previewAttachedImagePopup-title": "Apercebut", + "previewClipboardImagePopup-title": "Apercebut", + "private": "Privat", + "private-desc": "Aqueste tablèu es privat. Solament las personas apondudas a aquete tablèu lo pòdon veire e editar.", + "profile": "Perfil", + "public": "Public", + "public-desc": "This board is public. It's visible to anyone with the link and will show up in search engines like Google. Only people added to the board can edit.", + "quick-access-description": "Star a board to add a shortcut in this bar.", + "remove-cover": "Remove Cover", + "remove-from-board": "Quitar lo tablèu", + "remove-label": "Quitar l'etiqueta", + "listDeletePopup-title": "Quitar la tièra ?", + "remove-member": "Quitar lo participant", + "remove-member-from-card": "Quitar aquesta carta", + "remove-member-pop": "Remove __name__ (__username__) from __boardTitle__? The member will be removed from all cards on this board. They will receive a notification.", + "removeMemberPopup-title": "Remove Member?", + "rename": "Tornar nomenar", + "rename-board": "Tornar nomenar lo tablèu", + "restore": "Restore", + "save": "Salvar", + "search": "Cèrca", + "rules": "Règlas", + "search-cards": "Search from card/list titles, descriptions and custom fields on this board", + "search-example": "Text to search for?", + "select-color": "Color causida", + "set-wip-limit-value": "Set a limit for the maximum number of tasks in this list", + "setWipLimitPopup-title": "Set WIP Limit", + "shortcut-assign-self": "Assign yourself to current card", + "shortcut-autocomplete-emoji": "Autocomplete emoji", + "shortcut-autocomplete-members": "Autocomplete members", + "shortcut-clear-filters": "Clear all filters", + "shortcut-close-dialog": "Tampar lo dialòg", + "shortcut-filter-my-cards": "Filter my cards", + "shortcut-show-shortcuts": "Bring up this shortcuts list", + "shortcut-toggle-filterbar": "Toggle Filter Sidebar", + "shortcut-toggle-sidebar": "Toggle Board Sidebar", + "show-cards-minimum-count": "Show cards count if list contains more than", + "sidebar-open": "Open Sidebar", + "sidebar-close": "Close Sidebar", + "signupPopup-title": "Crear un compte", + "star-board-title": "Click to star this board. It will show up at top of your boards list.", + "starred-boards": "Starred Boards", + "starred-boards-description": "Starred boards show up at the top of your boards list.", + "subscribe": "Subscribe", + "team": "Còla", + "this-board": "Aqueste tablèu", + "this-card": "aquesta carta", + "spent-time-hours": "Spent time (hours)", + "overtime-hours": "Overtime (hours)", + "overtime": "Overtime", + "has-overtime-cards": "Has overtime cards", + "has-spenttime-cards": "Has spent time cards", + "time": "Temps", + "title": "Títol", + "tracking": "Tracking", + "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Mena", + "unassign-member": "Unassign member", + "unsaved-description": "You have an unsaved description.", + "unwatch": "Unwatch", + "upload": "Telecargar", + "upload-avatar": "Telecargar un avatar", + "uploaded-avatar": "Avatar telecargat", + "username": "Nom d’utilizaire", + "view-it": "View it", + "warn-list-archived": "warning: this card is in an list at Archive", + "watch": "Seguit", + "watching": "Agachat", + "watching-info": "You will be notified of any change in this board", + "welcome-board": "Tablèu de benvenguda", + "welcome-swimlane": "Milestone 1", + "welcome-list1": "Basics", + "welcome-list2": "Advanced", + "card-templates-swimlane": "Card Templates", + "list-templates-swimlane": "Lista dels modèls", + "board-templates-swimlane": "Board Templates", + "what-to-do": "Qué volètz far ?", + "wipLimitErrorPopup-title": "Invalid WIP Limit", + "wipLimitErrorPopup-dialog-pt1": "The number of tasks in this list is higher than the WIP limit you've defined.", + "wipLimitErrorPopup-dialog-pt2": "Please move some tasks out of this list, or set a higher WIP limit.", + "admin-panel": "Interfàcia d’admin", + "settings": "Paramètres", + "people": "Personas", + "registration": "Inscripcion", + "disable-self-registration": "Disable Self-Registration", + "invite": "Convidar", + "invite-people": "Convidat", + "to-boards": "To board(s)", + "email-addresses": "Adreça corrièl", + "smtp-host-description": "The address of the SMTP server that handles your emails.", + "smtp-port-description": "The port your SMTP server uses for outgoing emails.", + "smtp-tls-description": "Enable TLS support for SMTP server", + "smtp-host": "Òst SMTP", + "smtp-port": "Pòrt SMTP", + "smtp-username": "Nom d’utilizaire", + "smtp-password": "Mot de Santa-Clara", + "smtp-tls": "Compatibilitat TLS", + "send-from": "De", + "send-smtp-test": "Se mandar un corrièl d'ensag", + "invitation-code": "Còde de convit", + "email-invite-register-subject": "__inviter__ vos a mandat un convit", + "email-invite-register-text": "Dear __user__,\n\n__inviter__ invites you to kanban board for collaborations.\n\nPlease follow the link below:\n__url__\n\nAnd your invitation code is: __icode__\n\nThanks.", + "email-smtp-test-subject": "SMTP Test Email", + "email-smtp-test-text": "As capitat de mandar un corrièl", + "error-invitation-code-not-exist": "Lo còde de convit existís pas", + "error-notAuthorized": "Sès pas autorizat a agachar aquesta pagina", + "webhook-title": "Webhook Name", + "webhook-token": "Token (Optional for Authentication)", + "outgoing-webhooks": "Outgoing Webhooks", + "bidirectional-webhooks": "Two-Way Webhooks", + "outgoingWebhooksPopup-title": "Outgoing Webhooks", + "boardCardTitlePopup-title": "Card Title Filter", + "disable-webhook": "Disable This Webhook", + "global-webhook": "Global Webhooks", + "new-outgoing-webhook": "New Outgoing Webhook", + "no-name": "(Desconegut)", + "Node_version": "Node version", + "Meteor_version": "Meteor version", + "MongoDB_version": "MongoDB version", + "MongoDB_storage_engine": "MongoDB storage engine", + "MongoDB_Oplog_enabled": "MongoDB Oplog enabled", + "OS_Arch": "OS Arch", + "OS_Cpus": "OS CPU Count", + "OS_Freemem": "OS Free Memory", + "OS_Loadavg": "OS Load Average", + "OS_Platform": "OS Platform", + "OS_Release": "OS Release", + "OS_Totalmem": "OS Total Memory", + "OS_Type": "OS Type", + "OS_Uptime": "OS Uptime", + "days": "jorns", + "hours": "oras", + "minutes": "minutas", + "seconds": "segondas", + "show-field-on-card": "Show this field on card", + "automatically-field-on-card": "Auto create field to all cards", + "showLabel-field-on-card": "Show field label on minicard", + "yes": "Òc", + "no": "Non", + "accounts": "Accounts", + "accounts-allowEmailChange": "Allow Email Change", + "accounts-allowUserNameChange": "Allow Username Change", + "createdAt": "Created at", + "verified": "Verificat", + "active": "Avtivat", + "card-received": "Recebut", + "card-received-on": "Received on", + "card-end": "Fin", + "card-end-on": "Ends on", + "editCardReceivedDatePopup-title": "Change received date", + "editCardEndDatePopup-title": "Change end date", + "setCardColorPopup-title": "Color seleccionada", + "setCardActionsColorPopup-title": "Causir una color", + "setSwimlaneColorPopup-title": "Causir una color", + "setListColorPopup-title": "Causir una color", + "assigned-by": "Assigned By", + "requested-by": "Requested By", + "board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.", + "delete-board-confirm-popup": "All lists, cards, labels, and activities will be deleted and you won't be able to recover the board contents. There is no undo.", + "boardDeletePopup-title": "Suprimir lo tablèu ?", + "delete-board": "Tablèu suprimit", + "default-subtasks-board": "Subtasks for __board__ board", + "default": "Default", + "queue": "Queue", + "subtask-settings": "Subtasks Settings", + "card-settings": "Card Settings", + "boardSubtaskSettingsPopup-title": "Board Subtasks Settings", + "boardCardSettingsPopup-title": "Card Settings", + "deposit-subtasks-board": "Deposit subtasks to this board:", + "deposit-subtasks-list": "Landing list for subtasks deposited here:", + "show-parent-in-minicard": "Show parent in minicard:", + "prefix-with-full-path": "Prefix with full path", + "prefix-with-parent": "Prefix with parent", + "subtext-with-full-path": "Subtext with full path", + "subtext-with-parent": "Subtext with parent", + "change-card-parent": "Change card's parent", + "parent-card": "Parent card", + "source-board": "Source board", + "no-parent": "Don't show parent", + "activity-added-label": "added label '%s' to %s", + "activity-removed-label": "removed label '%s' from %s", + "activity-delete-attach": "deleted an attachment from %s", + "activity-added-label-card": "added label '%s'", + "activity-removed-label-card": "removed label '%s'", + "activity-delete-attach-card": "deleted an attachment", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "Rule", + "r-add-trigger": "Add trigger", + "r-add-action": "Add action", + "r-board-rules": "Board rules", + "r-add-rule": "Add rule", + "r-view-rule": "View rule", + "r-delete-rule": "Delete rule", + "r-new-rule-name": "New rule title", + "r-no-rules": "No rules", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "When a card", + "r-is": "is", + "r-is-moved": "is moved", + "r-added-to": "Added to", + "r-removed-from": "Removed from", + "r-the-board": "the board", + "r-list": "list", + "set-filter": "Set Filter", + "r-moved-to": "Moved to", + "r-moved-from": "Moved from", + "r-archived": "Moved to Archive", + "r-unarchived": "Restored from Archive", + "r-a-card": "a card", + "r-when-a-label-is": "When a label is", + "r-when-the-label": "When the label", + "r-list-name": "list name", + "r-when-a-member": "When a member is", + "r-when-the-member": "When the member", + "r-name": "name", + "r-when-a-attach": "When an attachment", + "r-when-a-checklist": "When a checklist is", + "r-when-the-checklist": "When the checklist", + "r-completed": "Completed", + "r-made-incomplete": "Made incomplete", + "r-when-a-item": "When a checklist item is", + "r-when-the-item": "When the checklist item", + "r-checked": "Checked", + "r-unchecked": "Unchecked", + "r-move-card-to": "Move card to", + "r-top-of": "Top of", + "r-bottom-of": "Bottom of", + "r-its-list": "its list", + "r-archive": "Desplaçar cap a Archius", + "r-unarchive": "Restore from Archive", + "r-card": "card", + "r-add": "Apondre", + "r-remove": "Remove", + "r-label": "label", + "r-member": "member", + "r-remove-all": "Remove all members from the card", + "r-set-color": "Set color to", + "r-checklist": "checklist", + "r-check-all": "Check all", + "r-uncheck-all": "Uncheck all", + "r-items-check": "items of checklist", + "r-check": "Check", + "r-uncheck": "Uncheck", + "r-item": "item", + "r-of-checklist": "of checklist", + "r-send-email": "Send an email", + "r-to": "to", + "r-of": "of", + "r-subject": "subject", + "r-rule-details": "Rule details", + "r-d-move-to-top-gen": "Move card to top of its list", + "r-d-move-to-top-spec": "Move card to top of list", + "r-d-move-to-bottom-gen": "Move card to bottom of its list", + "r-d-move-to-bottom-spec": "Move card to bottom of list", + "r-d-send-email": "Send email", + "r-d-send-email-to": "to", + "r-d-send-email-subject": "subject", + "r-d-send-email-message": "message", + "r-d-archive": "Move card to Archive", + "r-d-unarchive": "Restore card from Archive", + "r-d-add-label": "Add label", + "r-d-remove-label": "Remove label", + "r-create-card": "Create new card", + "r-in-list": "in list", + "r-in-swimlane": "in swimlane", + "r-d-add-member": "Add member", + "r-d-remove-member": "Remove member", + "r-d-remove-all-member": "Remove all member", + "r-d-check-all": "Check all items of a list", + "r-d-uncheck-all": "Uncheck all items of a list", + "r-d-check-one": "Check item", + "r-d-uncheck-one": "Uncheck item", + "r-d-check-of-list": "of checklist", + "r-d-add-checklist": "Add checklist", + "r-d-remove-checklist": "Remove checklist", + "r-by": "by", + "r-add-checklist": "Add checklist", + "r-with-items": "with items", + "r-items-list": "item1,item2,item3", + "r-add-swimlane": "Add swimlane", + "r-swimlane-name": "swimlane name", + "r-board-note": "Note: leave a field empty to match every possible value.", + "r-checklist-note": "Note: checklist's items have to be written as comma separated values.", + "r-when-a-card-is-moved": "When a card is moved to another list", + "r-set": "Set", + "r-update": "Update", + "r-datefield": "date field", + "r-df-start-at": "start", + "r-df-due-at": "due", + "r-df-end-at": "end", + "r-df-received-at": "received", + "r-to-current-datetime": "to current date/time", + "r-remove-value-from": "Remove value from", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Authentication method", + "authentication-type": "Authentication type", + "custom-product-name": "Custom Product Name", + "layout": "Layout", + "hide-logo": "Hide Logo", + "add-custom-html-after-body-start": "Add Custom HTML after start", + "add-custom-html-before-body-end": "Add Custom HTML before end", + "error-undefined": "Something went wrong", + "error-ldap-login": "An error occurred while trying to login", + "display-authentication-method": "Display Authentication Method", + "default-authentication-method": "Default Authentication Method", + "duplicate-board": "Duplicate Board", + "people-number": "The number of people is:", + "swimlaneDeletePopup-title": "Delete Swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Restore all", + "delete-all": "Delete all", + "loading": "Loading, please wait.", + "previous_as": "last time was", + "act-a-dueAt": "modified due time to \nWhen: __timeValue__\nWhere: __card__\n previous due was __timeOldValue__", + "act-a-endAt": "modified ending time to __timeValue__ from (__timeOldValue__)", + "act-a-startAt": "modified starting time to __timeValue__ from (__timeOldValue__)", + "act-a-receivedAt": "modified received time to __timeValue__ from (__timeOldValue__)", + "a-dueAt": "modified due time to be", + "a-endAt": "modified ending time to be", + "a-startAt": "modified starting time to be", + "a-receivedAt": "modified received time to be", + "almostdue": "current due time %s is approaching", + "pastdue": "current due time %s is past", + "duenow": "current due time %s is today", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", + "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", + "act-duenow": "was reminding the current due (__timeValue__) of __card__ is now", + "act-atUserComment": "You were mentioned in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Are you sure you want to delete this account? There is no undo.", + "accounts-allowUserDelete": "Allow users to self delete their account", + "hide-minicard-label-text": "Hide minicard label text", + "show-desktop-drag-handles": "Show desktop drag handles", + "assignee": "Assignee", + "cardAssigneesPopup-title": "Assignee", + "addmore-detail": "Add a more detailed description", + "show-on-card": "Show on Card", + "new": "New", + "editUserPopup-title": "Edit User", + "newUserPopup-title": "New User", + "notifications": "Notifications", + "view-all": "View All", + "filter-by-unread": "Filter by Unread", + "mark-all-as-read": "Mark all as read", + "remove-all-read": "Remove all read", + "allow-rename": "Allow Rename", + "allowRenamePopup-title": "Allow Rename", + "start-day-of-week": "Set day of the week start", + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archived", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/pl.i18n.json b/i18n/pl.i18n.json new file mode 100644 index 0000000..a7d2c12 --- /dev/null +++ b/i18n/pl.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Akceptuj", + "act-activity-notify": "Powiadomienia aktywności", + "act-addAttachment": "dodał załącznik __attachment__ do karty __card__ na liście __list__ na ścieżce __swimlane__ na tablicy __board__", + "act-deleteAttachment": "usunął załącznik __attachment__ na karcie __card__ na liście __list__ na ścieżce __swimlane__ na tablicy __board__", + "act-addSubtask": "dodał podzadanie __subtask__ na karcie __card__ na liście __list__ na ścieżce __swimlane__ na tablicy __board__", + "act-addLabel": "dodał etykietę __label__ do karty __card__ na liście __list__ na ścieżce __swimlane__ na tablicy __board__", + "act-addedLabel": "dodał etykietę __label__ do karty __card__ na liście __list__ na ścieżce __swimlane__ na tablicy __board__", + "act-removeLabel": "usunął etykietę __label__ z karty __card__ na liście __list__ na ścieżce __swimlane__ na tablicy __board__", + "act-removedLabel": "usunął etykietę __label__ z karty __card__ na liście __list__ na ścieżce __swimlane__ na tablicy __board__", + "act-addChecklist": "dodał czeklistę __checklist__ do karty __card__ na liście __list__ na ścieżce __swimlane__ na tablicy __board__", + "act-addChecklistItem": "dodał element __checklistItem__ do czeklisty __checklist__ na karcie __card__ na liście __list__ na ścieżce __swimlane__ na tablicy __board__", + "act-removeChecklist": "usunął czeklistę __checklist__ z karty __card__ na liście __list__ na ścieżce __swimlane__ na tablicy __board__", + "act-removeChecklistItem": "usunął element __checklistItem__ z czeklisty __checkList__ na karcie __card__ na liście __list__ na ścieżce __swimlane__ na tablicy __board__", + "act-checkedItem": "zaznaczył(a) __checklistItem__ na czekliście __checklist__ na karcie __card__ na liście __list__ na ścieżce __swimlane__ na tablicy __board__", + "act-uncheckedItem": "odznaczył(a) __checklistItem__ na czekliście __checklist__ na karcie __card__ na liście __list__ na ścieżce __swimlane__ na tablicy __board__", + "act-completeChecklist": "wykonał(a) wszystkie elementy z czeklisty __checklist__ na karcie __card__ na liście __list__ na ścieżce __swimlane__ na tablicy __board__", + "act-uncompleteChecklist": "wycofał(a) ukończenie wykonania czeklisty __checklist__ na karcie __card__ na liście __list__ na ścieżce __swimlane__ na tablicy __board__", + "act-addComment": "dodał komentarz na karcie __card__: __comment__ na liście __list__ na ścieżce __swimlane__ na tablicy __board__", + "act-editComment": "edytował(a) komentarz na karcie __card__: __comment__ na liście __list__ na ścieżce __swimlane__ na tablicy __board__", + "act-deleteComment": "usunął komentarz na karcie __card__: __comment__ na liście __list__ na ścieżce __swimlane__ na tablicy __board__", + "act-createBoard": "utworzył(a) tablicę __board__", + "act-createSwimlane": "utworzył(a) ścieżkę __swimlane__ na tablicy __board__", + "act-createCard": "utworzył(a) kartę __card__ na liście __list__ na ścieżce __swimlane__ na tablicy __board__", + "act-createCustomField": "utworzył(a) niestandardowe pole __customField__ na tablicy __board__", + "act-deleteCustomField": "usunął niestandardowe pole __customField__ na tablicy __board__", + "act-setCustomField": "zmienił(a) niestandardowe pole __customField__: __customFieldValue__ na karcie __card__ na liście __list__ na ścieżce __swimlane__ na tablicy __board__", + "act-createList": "dodał listę __list__ do tablicy __board__", + "act-addBoardMember": "dodał użytkownika __member__ do tablicy __board__", + "act-archivedBoard": "Tablica __board__ została przeniesiona do Archiwum", + "act-archivedCard": "przeniósł kartę __card__ na liście __list__ na ścieżce __swimlane__ na tablicy __board__ do Archiwum", + "act-archivedList": "przeniósł listę __list__ na ścieżce __swimlane__ na tablicy __board__ do Archiwum", + "act-archivedSwimlane": "przeniósł ścieżkę __swimlane__ na tablicy __board__ do Archiwum", + "act-importBoard": "zaimportował(a) tablicę __board__", + "act-importCard": "zaimportował(a) kartę __card__ do listy __list__ na ścieżce __swimlane__ na tablicy __board__", + "act-importList": "zaimportował(a) listę __list__ do ścieżki __swimlane__ na tablicy __board__", + "act-joinMember": "dodał użytkownika __member__ do karty __card__ na liście __list__ na ścieżce __swimlane__ na tablicy __board__", + "act-moveCard": "przeniósł kartę __card__ na tablicy __board__ z listy __oldList__ na ścieżce __oldSwimlane__ na listę __list__ na ścieżce __swimlane__", + "act-moveCardToOtherBoard": "przeniósł kartę __card__ z listy __oldList__ na ścieżce __oldSwimlane__ na tablicy __oldBoard__ do listy __listy__ na ścieżce __swimlane__ na tablicy __board__", + "act-removeBoardMember": "usunął użytkownika __member__ z tablicy __board__", + "act-restoredCard": "przywrócił(a) kartę __card__ na listę __list__ na ścieżce __swimlane__ na tablicy __board__", + "act-unjoinMember": "usunął użytkownika __member__ z karty __card__ na liście __list__ na ścieżce __swimlane__ na tablicy __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Akcje", + "activities": "Ostatnia aktywność", + "activity": "Aktywność", + "activity-added": "dodał %s do %s", + "activity-archived": "%s została przeniesiona do Archiwum", + "activity-attached": "dodał załącznik %s do %s", + "activity-created": "utworzył(a) %s", + "activity-customfield-created": "utworzył(a) niestandardowe pole %s", + "activity-excluded": "odłączył %s od %s", + "activity-imported": "zaimportowano %s to %s z %s", + "activity-imported-board": "zaimportowano %s z %s", + "activity-joined": "dodał się do %s", + "activity-moved": "przeniósł %s z %s do %s", + "activity-on": "w %s", + "activity-removed": "usunięto %s z %s", + "activity-sent": "wysłano %s z %s", + "activity-unjoined": "odłączył się od %s", + "activity-subtask-added": "dodano podzadanie do %s", + "activity-checked-item": "zaznaczył %s w czekliście %s w %s", + "activity-unchecked-item": "odznaczył %s w czekliście %s w %s", + "activity-checklist-added": "dodał czeklistę do %s", + "activity-checklist-removed": "usunął czeklistę z %s", + "activity-checklist-completed": "ukończył czeklistę %s z %s", + "activity-checklist-uncompleted": "cofnął ukończenie czeklisty %s z %s", + "activity-checklist-item-added": "dodał element do czeklisty '%s' w %s", + "activity-checklist-item-removed": "usunął element '%s' z %s", + "add": "Dodaj", + "activity-checked-item-card": "zaznaczył %s w czekliście %s", + "activity-unchecked-item-card": "odznaczył %s w czekliście %s", + "activity-checklist-completed-card": "wykonał(a) wszystkie elementy z czeklisty __checklist__ na karcie __card__ na liście __list__ na ścieżce __swimlane__ na tablicy __board__", + "activity-checklist-uncompleted-card": "wycofano ukończenie czeklisty %s", + "activity-editComment": "edytował(a) komentarz %s", + "activity-deleteComment": "usunął komentarz %s", + "add-attachment": "Dodaj załącznik", + "add-board": "Dodaj tablicę", + "add-card": "Dodaj kartę", + "add-swimlane": "Dodaj ścieżkę", + "add-subtask": "Dodaj podzadanie", + "add-checklist": "Dodaj czeklistę", + "add-checklist-item": "Dodaj element do czeklisty", + "add-cover": "Dodaj okładkę", + "add-label": "Dodaj etykietę", + "add-list": "Dodaj listę", + "add-members": "Dodaj użytkowników", + "added": "Dodane", + "addMemberPopup-title": "Użytkownicy", + "admin": "Administrator", + "admin-desc": "Może widzieć i edytować karty, usuwać użytkowników oraz zmieniać ustawienia tablicy.", + "admin-announcement": "Ogłoszenie", + "admin-announcement-active": "Włącz ogłoszenie systemowe", + "admin-announcement-title": "Ogłoszenie od administratora", + "all-boards": "Wszystkie tablice", + "and-n-other-card": "I __count__ inna karta", + "and-n-other-card_plural": "I __count__ inne karty", + "apply": "Zastosuj", + "app-is-offline": "Trwa ładowanie, proszę czekać. Odświeżenie strony może spowodować utratę danych. Jeśli strona się nie przeładowuje, upewnij się, że serwer działa poprawnie.", + "archive": "Przenieś do Archiwum", + "archive-all": "Przenieś wszystko do Archiwum", + "archive-board": "Przenieś tablicę do Archiwum", + "archive-card": "Przenieś kartę do Archiwum", + "archive-list": "Przenieś listę do Archiwum", + "archive-swimlane": "Przenieś ścieżkę do Archiwum", + "archive-selection": "Przenieś zaznaczone do Archiwum", + "archiveBoardPopup-title": "Przenieść tablicę do Archiwum?", + "archived-items": "Archiwum", + "archived-boards": "Tablice w Archiwum", + "restore-board": "Przywróć tablicę", + "no-archived-boards": "Brak tablic w Archiwum.", + "archives": "Archiwum", + "template": "Szablon", + "templates": "Szablony", + "assign-member": "Dodaj użytkownika", + "attached": "dodał załącznik", + "attachment": "Załącznik", + "attachment-delete-pop": "Usunięcie załącznika jest nieodwracalne.", + "attachmentDeletePopup-title": "Usunąć załącznik?", + "attachments": "Załączniki", + "auto-watch": "Automatycznie obserwuj tablice gdy zostaną stworzone", + "avatar-too-big": "Awatar jest za duży (maksymalnie 70KB)", + "back": "Wstecz", + "board-change-color": "Zmień kolor", + "board-nb-stars": "%s odznaczeń", + "board-not-found": "Nie znaleziono tablicy", + "board-private-info": "Ta tablica będzie prywatna.", + "board-public-info": "Ta tablica będzie publiczna.", + "boardChangeColorPopup-title": "Zmień tło tablicy", + "boardChangeTitlePopup-title": "Zmień nazwę tablicy", + "boardChangeVisibilityPopup-title": "Zmień widoczność tablicy", + "boardChangeWatchPopup-title": "Zmień sposób wysyłania powiadomień", + "boardMenuPopup-title": "Ustawienia tablicy", + "boardChangeViewPopup-title": "Widok tablicy", + "boards": "Tablice", + "board-view": "Widok tablicy", + "board-view-cal": "Kalendarz", + "board-view-swimlanes": "Ścieżki", + "board-view-collapse": "Zwiń", + "board-view-lists": "Listy", + "bucket-example": "Tak jak na przykład \"lista kubełkowa\"", + "cancel": "Anuluj", + "card-archived": "Ta karta została przeniesiona do Archiwum.", + "board-archived": "Ta tablica została przeniesiona do Archiwum.", + "card-comments-title": "Ta karta ma %s komentarzy.", + "card-delete-notice": "Usunięcie jest trwałe. Stracisz wszystkie akcje powiązane z tą kartą.", + "card-delete-pop": "Wszystkie akcje będą usunięte z widoku aktywności, nie można będzie ponownie otworzyć karty. Usunięcie jest nieodwracalne.", + "card-delete-suggest-archive": "Możesz przenieść kartę do Archiwum, a następnie usunąć ją z tablicy i zachować ją w Aktywności.", + "card-due": "Termin", + "card-due-on": "Termin ukończenia", + "card-spent": "Czas pracy", + "card-edit-attachments": "Edytuj załączniki", + "card-edit-custom-fields": "Edytuj niestandardowe pola", + "card-edit-labels": "Edytuj etykiety", + "card-edit-members": "Edytuj użytkowników", + "card-labels-title": "Zmień etykiety karty", + "card-members-title": "Dodaj lub usuń użytkowników tablicy z karty.", + "card-start": "Rozpoczęcie", + "card-start-on": "Zaczyna się o", + "cardAttachmentsPopup-title": "Dodaj załącznik z", + "cardCustomField-datePopup-title": "Zmień datę", + "cardCustomFieldsPopup-title": "Edytuj niestandardowe pola", + "cardStartVotingPopup-title": "Zacznij głosowanie", + "positiveVoteMembersPopup-title": "Zwolennicy", + "negativeVoteMembersPopup-title": "Przeciwnicy", + "card-edit-voting": "Edytuj głosowanie", + "editVoteEndDatePopup-title": "Zmień głos oraz datę", + "allowNonBoardMembers": "Pozwól wszystkim zalogowanym użytkownikom", + "vote-question": "Pytanie do głosowania", + "vote-public": "Pokaż, kto głosował na wybrane opcje", + "vote-for-it": "za", + "vote-against": "przeciwko", + "deleteVotePopup-title": "Usunąć głos?", + "vote-delete-pop": "Usuwanie jest nieodwracalne. Stracisz wszystkie czynności związane z tym głosem.", + "cardDeletePopup-title": "Usunąć kartę?", + "cardDetailsActionsPopup-title": "Czynności kart", + "cardLabelsPopup-title": "Etykiety", + "cardMembersPopup-title": "Użytkownicy", + "cardMorePopup-title": "Więcej", + "cardTemplatePopup-title": "Utwórz szablon", + "cards": "Karty", + "cards-count": "kart", + "casSignIn": "Zaloguj się poprzez CAS", + "cardType-card": "Karta", + "cardType-linkedCard": "Podpięta karta", + "cardType-linkedBoard": "Podpięta tablica", + "change": "Zmień", + "change-avatar": "Zmień avatar", + "change-password": "Zmień hasło", + "change-permissions": "Zmień uprawnienia", + "change-settings": "Zmień ustawienia", + "changeAvatarPopup-title": "Zmień avatar", + "changeLanguagePopup-title": "Zmień język", + "changePasswordPopup-title": "Zmień hasło", + "changePermissionsPopup-title": "Zmień uprawnienia", + "changeSettingsPopup-title": "Zmień ustawienia", + "subtasks": "Podzadania", + "checklists": "Czeklisty", + "click-to-star": "Kliknij by odznaczyć tę tablicę.", + "click-to-unstar": "Kliknij by usunąć odznaczenie tej tablicy.", + "clipboard": "Schowka lub poprzez przeciągnij & upuść", + "close": "Zamknij", + "close-board": "Zamknij tablicę", + "close-board-pop": "Będziesz w stanie przywrócić tablicę poprzez kliknięcie przycisku \"Archiwizuj\" w nagłówku strony domowej.", + "color-black": "czarny", + "color-blue": "niebieski", + "color-crimson": "karmazynowy", + "color-darkgreen": "ciemnozielony", + "color-gold": "złoty", + "color-gray": "szary", + "color-green": "zielony", + "color-indigo": "indygo", + "color-lime": "limonkowy", + "color-magenta": "fuksjowy", + "color-mistyrose": "różowy", + "color-navy": "granatowy", + "color-orange": "pomarańczowy", + "color-paleturquoise": "turkusowy", + "color-peachpuff": "brzoskwiniowy", + "color-pink": "różowy", + "color-plum": "śliwkowy", + "color-purple": "fioletowy", + "color-red": "czerwony", + "color-saddlebrown": "jasnobrązowy", + "color-silver": "srebrny", + "color-sky": "błękitny", + "color-slateblue": "szaroniebieski", + "color-white": "miały", + "color-yellow": "żółty", + "unset-color": "Nieustawiony", + "comment": "Komentarz", + "comment-placeholder": "Dodaj komentarz", + "comment-only": "Tylko komentowanie", + "comment-only-desc": "Może tylko komentować w kartach.", + "no-comments": "Bez komentarzy", + "no-comments-desc": "Nie widzi komentarzy i aktywności.", + "worker": "Pracownik", + "worker-desc": "Możesz tylko przenieść karty, przypisać je do siebie i na nich komentować.", + "computer": "Komputera", + "confirm-subtask-delete-dialog": "Czy jesteś pewien, że chcesz usunąć to podzadanie?", + "confirm-checklist-delete-dialog": "Czy jesteś pewien, że chcesz usunąć czeklistę?", + "copy-card-link-to-clipboard": "Skopiuj łącze karty do schowka", + "linkCardPopup-title": "Podepnij kartę", + "searchElementPopup-title": "Wyszukaj", + "copyCardPopup-title": "Skopiuj kartę", + "copyChecklistToManyCardsPopup-title": "Kopiuj szablon czeklisty do wielu kart", + "copyChecklistToManyCardsPopup-instructions": "Docelowe tytuły i opisy kart są w formacie JSON", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"Tytuł pierwszej karty\", \"description\":\"Opis pierwszej karty\"}, {\"title\":\"Tytuł drugiej karty\",\"description\":\"Opis drugiej karty\"},{\"title\":\"Tytuł ostatniej karty\",\"description\":\"Opis ostatniej karty\"} ]", + "create": "Utwórz", + "createBoardPopup-title": "Utwórz tablicę", + "chooseBoardSourcePopup-title": "Import tablicy", + "createLabelPopup-title": "Utwórz etykietę", + "createCustomField": "Utwórz pole", + "createCustomFieldPopup-title": "Utwórz pole", + "current": "obecny", + "custom-field-delete-pop": "Nie ma możliwości wycofania tej operacji. To usunie te niestandardowe pole ze wszystkich kart oraz usunie ich całą historię.", + "custom-field-checkbox": "Pole wyboru", + "custom-field-currency": "Waluta", + "custom-field-currency-option": "Kod waluty", + "custom-field-date": "Data", + "custom-field-dropdown": "Lista rozwijana", + "custom-field-dropdown-none": "(puste)", + "custom-field-dropdown-options": "Opcje listy", + "custom-field-dropdown-options-placeholder": "Naciśnij przycisk Enter by zobaczyć więcej opcji", + "custom-field-dropdown-unknown": "(nieznany)", + "custom-field-number": "Numer", + "custom-field-text": "Tekst", + "custom-fields": "Niestandardowe pola", + "date": "Data", + "decline": "Odrzuć", + "default-avatar": "Domyślny avatar", + "delete": "Usuń", + "deleteCustomFieldPopup-title": "Usunąć niestandardowe pole?", + "deleteLabelPopup-title": "Usunąć etykietę?", + "description": "Opis", + "disambiguateMultiLabelPopup-title": "Ujednolić etykiety czynności", + "disambiguateMultiMemberPopup-title": "Doprecyzuj czynności użytkowników", + "discard": "Odrzuć", + "done": "Zakończone", + "download": "Pobierz", + "edit": "Edytuj", + "edit-avatar": "Zmień avatar", + "edit-profile": "Edytuj profil", + "edit-wip-limit": "Zmień limit kart na liście", + "soft-wip-limit": "Pozwól na nadmiarowe karty na liście", + "editCardStartDatePopup-title": "Zmień datę rozpoczęcia", + "editCardDueDatePopup-title": "Zmień termin ukończenia", + "editCustomFieldPopup-title": "Edytuj pole", + "editCardSpentTimePopup-title": "Zmień ilość przepracowanego czasu", + "editLabelPopup-title": "Zmień etykietę", + "editNotificationPopup-title": "Zmień tryb powiadamiania", + "editProfilePopup-title": "Edytuj profil", + "email": "Email", + "email-enrollAccount-subject": "Konto zostało utworzone na __siteName__", + "email-enrollAccount-text": "Witaj __user__,\nAby zacząć korzystać z serwisu, kliknij w link poniżej.\n__url__\nDzięki.", + "email-fail": "Wysyłanie emaila nie powiodło się.", + "email-fail-text": "Bład w trakcie wysyłania wiadomości email", + "email-invalid": "Nieprawidłowy email", + "email-invite": "Zaproś przez email", + "email-invite-subject": "__inviter__ wysłał Ci zaproszenie", + "email-invite-text": "Drogi __user__,\n__inviter__ zaprosił Cię do współpracy w tablicy \"__board__\".\nZobacz więcej:\n__url__\nDzięki.", + "email-resetPassword-subject": "Zresetuj swoje hasło na __siteName__", + "email-resetPassword-text": "Witaj __user__,\nAby zresetować hasło, kliknij w link poniżej.\n__url__\nDzięki.", + "email-sent": "Email wysłany", + "email-verifyEmail-subject": "Zweryfikuj swój adres email na __siteName__", + "email-verifyEmail-text": "Witaj __user__,\nAby zweryfikować adres email, kliknij w link poniżej.\n__url__\nDzięki.", + "enable-wip-limit": "Włącz limit kart na liście", + "error-board-doesNotExist": "Ta tablica nie istnieje", + "error-board-notAdmin": "Musisz być administratorem tej tablicy żeby to zrobić", + "error-board-notAMember": "Musisz być użytkownikiem tej tablicy, żeby wykonać tę czynność", + "error-json-malformed": "Twoja fraza nie jest w formacie JSON", + "error-json-schema": "Twoje dane JSON nie zawierają prawidłowych informacji w poprawnym formacie", + "error-csv-schema": "Twój plik CSV(plik oddzielony przecinkami)/TSV (plik oddzielony tabulatorami) nie zawiera danych w poprawnym formacie", + "error-list-doesNotExist": "Ta lista nie isnieje", + "error-user-doesNotExist": "Ten użytkownik nie istnieje", + "error-user-notAllowSelf": "Nie możesz zaprosić samego siebie", + "error-user-notCreated": "Ten użytkownik nie został stworzony", + "error-username-taken": "Ta nazwa jest już zajęta", + "error-email-taken": "Adres email jest już zarezerwowany", + "export-board": "Eksportuj tablicę", + "export-board-json": "Eksportuj tablicę do JSON", + "export-board-csv": "Eksportuj tablicę do CSV", + "export-board-tsv": "Eksportuj tablicę do TSV", + "export-board-html": "Eksportuj tablicę do HTML", + "exportBoardPopup-title": "Eksportuj tablicę", + "sort": "Sortuj", + "sort-desc": "Kliknij by sortować listę", + "list-sort-by": "Sortuj listę przez:", + "list-label-modifiedAt": "Ostatni dostęp", + "list-label-title": "Nazwa listy", + "list-label-sort": "Twoja kolejność ustawiona ręcznie", + "list-label-short-modifiedAt": "(O)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(K)", + "filter": "Filtr", + "filter-cards": "Filtruj karty i listy", + "list-filter-label": "Filtruj listy względem tytułu", + "filter-clear": "Usuń filter", + "filter-no-label": "Brak etykiety", + "filter-no-member": "Brak użytkowników", + "filter-no-assignee": "Nieprzypisane ", + "filter-no-custom-fields": "Brak niestandardowych pól", + "filter-show-archive": "Pokaż zarchiwizowane listy", + "filter-hide-empty": "Ukryj puste listy", + "filter-on": "Filtr jest włączony", + "filter-on-desc": "Filtrujesz karty na tej tablicy. Kliknij tutaj by edytować filtr.", + "filter-to-selection": "Odfiltruj zaznaczenie", + "advanced-filter-label": "Zaawansowane filtry", + "advanced-filter-description": "Zaawansowane filtry pozwalają na wykorzystanie ciągu znaków wraz z następującymi operatorami: == != <= >= && || (). Spacja jest używana jako separator pomiędzy operatorami. Możesz przefiltrowywać wszystkie niestandardowe pola wpisując ich nazwy lub wartości, na przykład: Pole1 == Wartość1.\nUwaga: Jeśli pola lub wartości zawierają spację, musisz je zawrzeć w pojedyncze cudzysłowie, na przykład: 'Pole 1' == 'Wartość 1'. Dla pojedynczych znaków, które powinny być pominięte należy użyć \\, na przykład Pole1 == I\\'m. Możesz także wykorzystywać mieszane warunki, na przykład P1 == W1 || P1 == W2. Standardowo wszystkie operatory są interpretowane od lewej do prawej. Możesz także zmienić kolejność interpretacji wykorzystując nawiasy, na przykład P1 == W1 && (P2 == W2 || P2 == W3). Możesz także wyszukiwać tekstowo wykorzystując wyrażenia regularne, na przykład: P1 == /Tes.*/i", + "fullname": "Pełna nazwa", + "header-logo-title": "Wróć do swojej strony z tablicami.", + "hide-system-messages": "Ukryj wiadomości systemowe", + "headerBarCreateBoardPopup-title": "Utwórz tablicę", + "home": "Strona główna", + "import": "Importuj", + "link": "Podłącz", + "import-board": "importuj tablice", + "import-board-c": "Import tablicy", + "import-board-title-trello": "Importuj tablicę z Trello", + "import-board-title-wekan": "Importuj tablicę z poprzedniego eksportu", + "import-board-title-csv": "Importuj tablicę z CSV/TSV", + "from-trello": "Z Trello", + "from-wekan": "Z poprzedniego eksportu", + "from-csv": "Z CSV/TSV", + "import-board-instruction-trello": "W twojej tablicy na Trello przejdź do 'Menu', następnie 'Więcej', 'Drukuj i eksportuj', 'Eksportuj jako JSON' i skopiuj wynik", + "import-board-instruction-csv": "Wklej swoje dane w postaci wartości oddzielanych przecinkiem (CSV) lub tabulatorem (TSV)", + "import-board-instruction-wekan": "Na Twojej tablicy przejdź do 'Menu', a następnie wybierz 'Eksportuj tablicę' i skopiuj tekst w pobranym pliku.", + "import-board-instruction-about-errors": "Czasami mimo komunikatu o błędzie importowanie tablicy przebiega poprawnie i jest ona widoczna na liście tablic (Wszystkie tablice).", + "import-json-placeholder": "Wklej Twoje dane JSON tutaj", + "import-csv-placeholder": "Wklej swoje dane z pliku CSV/TSV tutaj", + "import-map-members": "Przypisz użytkowników", + "import-members-map": "Zaimportowana tablica ma kilku użytkowników. Wybierz spośród nich osoby, które chcesz zaimportować jako użytkowników Twojej tablicy", + "import-show-user-mapping": "Przejrzyj przypisanych użytkowników", + "import-user-select": "Wybierz istniejącego użytkownika, którego chcesz dodać", + "importMapMembersAddPopup-title": "Wybierz użytkownika", + "info": "Wersja", + "initials": "Inicjały", + "invalid-date": "Błędna data", + "invalid-time": "Błędny czas", + "invalid-user": "Niepoprawna nazwa użytkownika", + "joined": "dołączył", + "just-invited": "Zostałeś zaproszony do tej tablicy", + "keyboard-shortcuts": "Skróty klawiaturowe", + "label-create": "Utwórz etykietę", + "label-default": "'%s' etykieta (domyślna)", + "label-delete-pop": "Nie da się tego wycofać. To usunie tę etykietę ze wszystkich kart i usunie ich historię.", + "labels": "Etykiety", + "language": "Język", + "last-admin-desc": "Nie możesz zmienić roli użytkownika, ponieważ musi istnieć co najmniej jeden administrator.", + "leave-board": "Opuść tablicę", + "leave-board-pop": "Czy jesteś pewien, że chcesz opuścić tablicę __boardTitle__? Zostaniesz usunięty ze wszystkich kart tej tablicy.", + "leaveBoardPopup-title": "Opuścić tablicę?", + "link-card": "Link do tej karty", + "list-archive-cards": "Przenieś wszystkie karty z tej listy do Archiwum", + "list-archive-cards-pop": "To usunie wszystkie karty z tej listy z tej tablicy. Aby przejrzeć karty w Archiwum i przywrócić na tablicę, kliknij \"Menu\" > \"Archiwizuj\".", + "list-move-cards": "Przenieś wszystkie karty z tej listy", + "list-select-cards": "Zaznacz wszystkie karty z tej listy", + "set-color-list": "Ustaw kolor", + "listActionPopup-title": "Lista akcji", + "swimlaneActionPopup-title": "Opcje ścieżki", + "swimlaneAddPopup-title": "Dodaj ścieżkę poniżej", + "listImportCardPopup-title": "Zaimportuj kartę z Trello", + "listImportCardsTsvPopup-title": "Importuj CSV/TSV z Excela", + "listMorePopup-title": "Więcej", + "link-list": "Podepnij do tej listy", + "list-delete-pop": "Wszystkie czynności zostaną usunięte z Aktywności i nie będziesz w stanie przywrócić listy. Nie ma możliwości cofnięcia tej operacji.", + "list-delete-suggest-archive": "Możesz przenieść listę do Archiwum, a następnie usunąć ją z tablicy i zachować ją w Aktywności.", + "lists": "Listy", + "swimlanes": "Ścieżki", + "log-out": "Wyloguj", + "log-in": "Zaloguj", + "loginPopup-title": "Zaloguj", + "memberMenuPopup-title": "Ustawienia użytkowników", + "members": "Użytkownicy", + "menu": "Menu", + "move-selection": "Przenieś zaznaczone", + "moveCardPopup-title": "Przenieś kartę", + "moveCardToBottom-title": "Przenieś na dół", + "moveCardToTop-title": "Przenieś na górę", + "moveSelectionPopup-title": "Przenieś zaznaczone", + "multi-selection": "Wielokrotne zaznaczenie", + "multi-selection-on": "Wielokrotne zaznaczenie jest włączone", + "muted": "Wycisz", + "muted-info": "Nie dostaniesz powiadomienia o zmianach w tej tablicy.", + "my-boards": "Moje tablice", + "name": "Nazwa", + "no-archived-cards": "Brak kart w Archiwum.", + "no-archived-lists": "Brak list w Archiwum.", + "no-archived-swimlanes": "Brak ścieżek w Archiwum", + "no-results": "Brak wyników", + "normal": "Użytkownik standardowy", + "normal-desc": "Może widzieć i edytować karty. Nie może zmieniać ustawiań.", + "not-accepted-yet": "Zaproszenie jeszcze niezaakceptowane", + "notify-participate": "Otrzymuj informacje o aktywności w kartach, które stworzyłeś(aś) lub do których jesteś przypisany(a)", + "notify-watch": "Otrzymuj powiadomienia z tablic, list i kart, które obserwujesz", + "optional": "opcjonalny", + "or": "lub", + "page-maybe-private": "Ta strona może być prywatna. Możliwe, że możesz ją zobaczyć po zalogowaniu.", + "page-not-found": "Strona nie znaleziona.", + "password": "Hasło", + "paste-or-dragdrop": "wklej lub przeciągnij & upuść (tylko grafika)", + "participating": "Uczestniczysz", + "preview": "Podgląd", + "previewAttachedImagePopup-title": "Podgląd", + "previewClipboardImagePopup-title": "Podgląd", + "private": "Prywatny", + "private-desc": "Ta tablica jest prywatna. Tylko osoby dodane do tej tablicy mogą ją zobaczyć i edytować.", + "profile": "Profil", + "public": "Publiczny", + "public-desc": "Ta tablica jest publiczna. Jest widoczna dla wszystkich, którzy mają do niej odnośnik i będzie wynikiem silników wyszukiwania takich jak Google. Tylko użytkownicy dodani do tablicy mogą ją edytować.", + "quick-access-description": "Odznacz tablicę aby dodać skrót na tym pasku.", + "remove-cover": "Usuń okładkę", + "remove-from-board": "Usuń z tablicy", + "remove-label": "Usuń etykietę", + "listDeletePopup-title": "Usunąć listę?", + "remove-member": "Usuń użytkownika", + "remove-member-from-card": "Usuń z karty", + "remove-member-pop": "Remove __name__ (__username__) from __boardTitle__? The member will be removed from all cards on this board. They will receive a notification.", + "removeMemberPopup-title": "Usunąć użytkownika?", + "rename": "Zmień nazwę", + "rename-board": "Zmień nazwę tablicy", + "restore": "Przywróć", + "save": "Zapisz", + "search": "Wyszukaj", + "rules": "Reguły", + "search-cards": "Szukaj w tytułach kart/list oraz opisach i niestandardowych polach na tej tablicy", + "search-example": "Czego mam szukać?", + "select-color": "Wybierz kolor", + "set-wip-limit-value": "Ustaw maksymalny limit kart na tej liście", + "setWipLimitPopup-title": "Ustaw limit kart na liście", + "shortcut-assign-self": "Przypisz siebie do obecnej karty", + "shortcut-autocomplete-emoji": "Autouzupełnianie emoji", + "shortcut-autocomplete-members": "Autouzupełnianie użytkowników", + "shortcut-clear-filters": "Usuń wszystkie filtry", + "shortcut-close-dialog": "Zamknij okno", + "shortcut-filter-my-cards": "Filtruj moje karty", + "shortcut-show-shortcuts": "Przypnij do listy skrótów", + "shortcut-toggle-filterbar": "Przełącz boczny pasek filtru", + "shortcut-toggle-sidebar": "Przełącz boczny pasek tablicy", + "show-cards-minimum-count": "Pokaż licznik kart, jeśli lista zawiera więcej niż", + "sidebar-open": "Otwórz pasek boczny", + "sidebar-close": "Zamknij pasek boczny", + "signupPopup-title": "Utwórz konto", + "star-board-title": "Kliknij by oznaczyć tę tablicę gwiazdką. Pojawi się wtedy na liście tablic na górze.", + "starred-boards": "Odznaczone tablice", + "starred-boards-description": "Tablice oznaczone gwiazdką pojawią się na liście na górze.", + "subscribe": "Zapisz się", + "team": "Zespół", + "this-board": "ta tablica", + "this-card": "ta karta", + "spent-time-hours": "Czas pracy (h)", + "overtime-hours": "Nadgodziny (h)", + "overtime": "Nadgodziny", + "has-overtime-cards": "Ma karty z wykazanymi nadgodzinami", + "has-spenttime-cards": "Ma karty z wykazanym czasem pracy", + "time": "Czas", + "title": "Tytuł", + "tracking": "Śledź", + "tracking-info": "Będziesz powiadamiany(a) o wszelkich zmianach w kartach, które stworzyłeś(aś) lub do których jesteś przypisany(a).", + "type": "Typ", + "unassign-member": "Odłącz użytkownika", + "unsaved-description": "Masz niezapisany opis.", + "unwatch": "Nie obserwuj", + "upload": "Wyślij", + "upload-avatar": "Wyślij avatar", + "uploaded-avatar": "Wysłany avatar", + "username": "Nazwa użytkownika", + "view-it": "Zobacz", + "warn-list-archived": "Ostrzeżenie: ta karta jest na liście będącej w Archiwum", + "watch": "Obserwuj", + "watching": "Obserwuj", + "watching-info": "Dostaniesz powiadomienie o każdej zmianie na tej tablicy.", + "welcome-board": "Tablica powitalna", + "welcome-swimlane": "Kamień milowy 1", + "welcome-list1": "Podstawy", + "welcome-list2": "Zaawansowane", + "card-templates-swimlane": "Utwórz szablony", + "list-templates-swimlane": "Wyświetl szablony", + "board-templates-swimlane": "Szablony tablic", + "what-to-do": "Co chcesz zrobić?", + "wipLimitErrorPopup-title": "Nieprawidłowy limit kart na liście", + "wipLimitErrorPopup-dialog-pt1": "Aktualna ilość kart na tej liście jest większa niż aktualny zdefiniowany limit kart.", + "wipLimitErrorPopup-dialog-pt2": "Wycofaj jakieś karty z tej listy lub zwiększ limit kart na tej liście.", + "admin-panel": "Panel administracyjny", + "settings": "Ustawienia", + "people": "Osoby", + "registration": "Rejestracja", + "disable-self-registration": "Wyłącz samodzielną rejestrację", + "invite": "Zaproś", + "invite-people": "Zaproś osoby", + "to-boards": "Do tablic(y)", + "email-addresses": "Adres e-mail", + "smtp-host-description": "Adres serwera SMTP, który wysyła Twoje maile.", + "smtp-port-description": "Port, który Twój serwer SMTP wykorzystuje do wysyłania emaili.", + "smtp-tls-description": "Włącz wsparcie TLS dla serwera SMTP", + "smtp-host": "Serwer SMTP", + "smtp-port": "Port SMTP", + "smtp-username": "Nazwa użytkownika", + "smtp-password": "Hasło", + "smtp-tls": "Wsparcie dla TLS", + "send-from": "Od", + "send-smtp-test": "Wyślij wiadomość testową do siebie", + "invitation-code": "Kod z zaproszenia", + "email-invite-register-subject": "__inviter__ wysłał Ci zaproszenie", + "email-invite-register-text": "Drogi __user__,\n\n__inviter__ zaprasza Cię do współpracy na naszej tablicy kanban.\n\nAby kontynuować, wejdź w poniższy link:\n__url__\n\nTwój kod zaproszenia to: __icode__\n\nDziękuję.", + "email-smtp-test-subject": "Wiadomość testowa SMTP", + "email-smtp-test-text": "Wiadomość testowa została wysłana z powodzeniem.", + "error-invitation-code-not-exist": "Kod zaproszenia nie istnieje", + "error-notAuthorized": "Nie jesteś uprawniony do przeglądania tej strony.", + "webhook-title": "Nazwa webhooka", + "webhook-token": "Token (opcjonalny do autoryzacji)", + "outgoing-webhooks": "Wychodzące webhooki", + "bidirectional-webhooks": "Dwustronne webhooki", + "outgoingWebhooksPopup-title": "Wychodzące webhooki", + "boardCardTitlePopup-title": "Filtruj poprzez nazwę karty", + "disable-webhook": "Wyłącz tego webhooka", + "global-webhook": "Globalne webhooki", + "new-outgoing-webhook": "Nowy wychodzący webhook", + "no-name": "(nieznany)", + "Node_version": "Wersja Node", + "Meteor_version": "Wersja Meteor", + "MongoDB_version": "Wersja MongoDB", + "MongoDB_storage_engine": "Silnik MongoDB", + "MongoDB_Oplog_enabled": "MongoDB - włączony Oplog", + "OS_Arch": "Architektura systemu", + "OS_Cpus": "Ilość rdzeni systemu", + "OS_Freemem": "Wolna pamięć RAM", + "OS_Loadavg": "Średnie obciążenie systemu", + "OS_Platform": "Platforma systemu", + "OS_Release": "Wersja jądra", + "OS_Totalmem": "Dostępna pamięć RAM", + "OS_Type": "Typ systemu", + "OS_Uptime": "Czas działania systemu", + "days": "dni", + "hours": "godzin", + "minutes": "minut", + "seconds": "sekund", + "show-field-on-card": "Pokaż te pole na karcie", + "automatically-field-on-card": "Automatycznie stwórz pole dla wszystkich kart", + "showLabel-field-on-card": "Pokaż pole etykiety w minikarcie", + "yes": "Tak", + "no": "Nie", + "accounts": "Konto", + "accounts-allowEmailChange": "Zezwól na zmianę adresu email", + "accounts-allowUserNameChange": "Zezwól na zmianę nazwy użytkownika", + "createdAt": "Utworzone o", + "verified": "Zweryfikowane", + "active": "Aktywny", + "card-received": "Przyjęto", + "card-received-on": "Przyjęto", + "card-end": "Koniec", + "card-end-on": "Kończy się", + "editCardReceivedDatePopup-title": "Zmień datę przyjęcia", + "editCardEndDatePopup-title": "Zmień datę ukończenia", + "setCardColorPopup-title": "Ustaw kolor", + "setCardActionsColorPopup-title": "Wybierz kolor", + "setSwimlaneColorPopup-title": "Wybierz kolor", + "setListColorPopup-title": "Wybierz kolor", + "assigned-by": "Przypisane przez", + "requested-by": "Zlecone przez", + "board-delete-notice": "Usuwanie jest permanentne. Stracisz wszystkie listy, kart oraz czynności przypisane do tej tablicy.", + "delete-board-confirm-popup": "Wszystkie listy, etykiety oraz aktywności zostaną usunięte i nie będziesz w stanie przywrócić zawartości tablicy. Tego nie da się cofnąć.", + "boardDeletePopup-title": "Usunąć tablicę?", + "delete-board": "Usuń tablicę", + "default-subtasks-board": "Podzadania dla tablicy __board__", + "default": "Domyślny", + "queue": "Kolejka", + "subtask-settings": "Ustawienia podzadań", + "card-settings": "Ustawienia karty", + "boardSubtaskSettingsPopup-title": "Ustawienia tablicy podzadań", + "boardCardSettingsPopup-title": "Ustawienia kart", + "deposit-subtasks-board": "Twórz podzadania na tablicy:", + "deposit-subtasks-list": "Początkowa lista dla podzadań jest przechowywana w:", + "show-parent-in-minicard": "Pokaż rodzica w minikarcie:", + "prefix-with-full-path": "Prefix z pełną ścieżką", + "prefix-with-parent": "Prefix z rodzicem", + "subtext-with-full-path": "Podtekst z pełną ścieżką", + "subtext-with-parent": "Podtekst z rodzicem", + "change-card-parent": "Zmień rodzica karty", + "parent-card": "Karta rodzica", + "source-board": "Tablica źródłowa", + "no-parent": "Nie pokazuj rodzica", + "activity-added-label": "dodał etykietę '%s' z '%s'", + "activity-removed-label": "usunął etykietę '%s' z '%s'", + "activity-delete-attach": "usunął załącznik z %s", + "activity-added-label-card": "dodał etykietę '%s'", + "activity-removed-label-card": "usunął etykietę '%s'", + "activity-delete-attach-card": "usunął załącznik", + "activity-set-customfield": "ustawił niestandardowe pole '%s' na '%s' w '%s'", + "activity-unset-customfield": "wyczyścił niestandardowe pole '%s' w '%s'", + "r-rule": "Reguła", + "r-add-trigger": "Dodaj przełącznik", + "r-add-action": "Dodaj czynność", + "r-board-rules": "Reguły tablicy", + "r-add-rule": "Dodaj regułę", + "r-view-rule": "Zobacz regułę", + "r-delete-rule": "Usuń regułę", + "r-new-rule-name": "Nowa nazwa reguły", + "r-no-rules": "Brak regułę", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "Gdy karta", + "r-is": "jest", + "r-is-moved": "jest przenoszona", + "r-added-to": "Dodany do", + "r-removed-from": "usunął z", + "r-the-board": "tablicy", + "r-list": "lista", + "set-filter": "Ustaw filtr", + "r-moved-to": "Przeniesione do", + "r-moved-from": "Przeniesione z", + "r-archived": "Przeniesione z Archiwum", + "r-unarchived": "Przywrócone z Archiwum", + "r-a-card": "karta", + "r-when-a-label-is": "Gdy etykieta jest", + "r-when-the-label": "Gdy etykieta jest", + "r-list-name": "nazwa listy", + "r-when-a-member": "Gdy jakikolwiek użytkownik jest", + "r-when-the-member": "Gdy użytkownik", + "r-name": "nazwa", + "r-when-a-attach": "Gdy załącznik", + "r-when-a-checklist": "Gdy jakaś czeklista jest", + "r-when-the-checklist": "Gdy czeklista", + "r-completed": "Ukończone", + "r-made-incomplete": "Niedokończone", + "r-when-a-item": "Gdy jakiś element czeklisty jest", + "r-when-the-item": "Gdy element", + "r-checked": "Zaznaczony", + "r-unchecked": "Odznaczony", + "r-move-card-to": "Przenieś kartę do", + "r-top-of": "Góra od", + "r-bottom-of": "Dół od", + "r-its-list": "tej listy", + "r-archive": "Przenieś do Archiwum", + "r-unarchive": "Przywróć z Archiwum", + "r-card": "karta", + "r-add": "Dodaj", + "r-remove": "Usuń", + "r-label": "etykieta", + "r-member": "użytkownik", + "r-remove-all": "Usuń wszystkich użytkowników tej karty", + "r-set-color": "Ustaw kolor na", + "r-checklist": "Tytuł czeklisty", + "r-check-all": "Zaznacz wszystkie", + "r-uncheck-all": "Odznacz wszystkie", + "r-items-check": "elementy czeklisty", + "r-check": "Zaznacz", + "r-uncheck": "Odznacz", + "r-item": "element", + "r-of-checklist": "z czeklisty", + "r-send-email": "Wyślij wiadomość email", + "r-to": "do", + "r-of": "z", + "r-subject": "temat", + "r-rule-details": "Szczegóły reguł", + "r-d-move-to-top-gen": "Przenieś kartę na górę tej listy", + "r-d-move-to-top-spec": "Przenieś kartę na górę listy", + "r-d-move-to-bottom-gen": "Przenieś kartę na dół tej listy", + "r-d-move-to-bottom-spec": "Przenieś kartę na dół listy", + "r-d-send-email": "Wyślij wiadomość email", + "r-d-send-email-to": "do", + "r-d-send-email-subject": "temat", + "r-d-send-email-message": "wiadomość", + "r-d-archive": "Przenieś kartę z Archiwum", + "r-d-unarchive": "Przywróć kartę z Archiwum", + "r-d-add-label": "Dodaj etykietę", + "r-d-remove-label": "Usuń etykietę", + "r-create-card": "Utwórz nową kartę", + "r-in-list": "na liście", + "r-in-swimlane": "na ścieżce", + "r-d-add-member": "Dodaj użytkownika", + "r-d-remove-member": "Usuń użytkownika", + "r-d-remove-all-member": "Usuń wszystkich użytkowników", + "r-d-check-all": "Zaznacz wszystkie elementy listy", + "r-d-uncheck-all": "Odznacz wszystkie elementy listy", + "r-d-check-one": "Zaznacz element", + "r-d-uncheck-one": "Odznacz element", + "r-d-check-of-list": "z czeklisty", + "r-d-add-checklist": "Dodaj czeklistę", + "r-d-remove-checklist": "Usuń czeklistę", + "r-by": "przez", + "r-add-checklist": "Dodaj czeklistę", + "r-with-items": "z elementami", + "r-items-list": "element1,element2,element3", + "r-add-swimlane": "Dodaj ścieżkę", + "r-swimlane-name": "Nazwa ścieżki", + "r-board-note": "Uwaga: pozostaw pole puste, aby każda wartość była brana pod uwagę.", + "r-checklist-note": "Uwaga: elementy czeklisty muszą być oddzielone przecinkami.", + "r-when-a-card-is-moved": "Gdy karta jest przeniesiona do innej listy", + "r-set": "Ustaw", + "r-update": "Aktualizuj", + "r-datefield": "pole daty", + "r-df-start-at": "start", + "r-df-due-at": "termin ukończenia jest", + "r-df-end-at": "zakończenie", + "r-df-received-at": "przyjęte", + "r-to-current-datetime": "o aktualnej dacie/godzinie", + "r-remove-value-from": "usunął wartość z", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Sposób autoryzacji", + "authentication-type": "Typ autoryzacji", + "custom-product-name": "Niestandardowa nazwa produktu", + "layout": "Układ strony", + "hide-logo": "Ukryj logo", + "add-custom-html-after-body-start": "Dodaj niestandardowy kod HTML po starcie", + "add-custom-html-before-body-end": "Dodaj niestandardowy kod HTML przed końcem", + "error-undefined": "Coś poszło nie tak", + "error-ldap-login": "Wystąpił błąd w trakcie logowania", + "display-authentication-method": "Wyświetl metodę logowania", + "default-authentication-method": "Domyślna metoda logowania", + "duplicate-board": "Duplikuj tablicę", + "people-number": "Liczba użytkowników to:", + "swimlaneDeletePopup-title": "Usunąć ścieżkę?", + "swimlane-delete-pop": "Wszystkie czynności wykonane na tej ścieżce zostaną usunięte z historii aktywności. Tej operacji nie można cofnąć. Usunięcie jest nieodwracalne.", + "restore-all": "Przywróć wszystkie", + "delete-all": "Usuń wszystkie", + "loading": "Ładowanie, proszę czekać.", + "previous_as": "ostatni raz był", + "act-a-dueAt": "zmienił(a) termin ukończenia na: __timeValue__ w karcie __card__, poprzedni termin: __timeOldValue__", + "act-a-endAt": "zmienił czas zakończenia na __timeValue__ z __timeOldValue__", + "act-a-startAt": "zmienił czas rozpoczęcia na __timeValue__ z __timeOldValue__", + "act-a-receivedAt": "zmienił czas przyjęcia zadania na __timeValue__ z __timeOldValue__", + "a-dueAt": "zmienił termin ukończenia na", + "a-endAt": "zmienił czas zakończenia na", + "a-startAt": "zmienił czas rozpoczęcia na", + "a-receivedAt": "zmienił czas przyjęcia zadania na", + "almostdue": "termin ukończenia %s jest bliski", + "pastdue": "termin ukończenia %s minął", + "duenow": "termin ukończenia %s przypada dzisiaj", + "act-newDue": "__list__/__card__ pierwszy raz przypomina o terminie ukończenia [__board__]", + "act-withDue": "__list__/__card__ ma przypomnienia o terminie ukończenia [__board__]", + "act-almostdue": "przypominał o zbliżającym się terminie ukończenia (__timeValue__) karty __card__", + "act-pastdue": "przypominał o upłynięciu terminu ukończenia (__timeValue__) karty __card__", + "act-duenow": "przypominał o przypadającym właśnie terminie ukończenia (__timeValue__) karty __card__", + "act-atUserComment": "Zostałeś wspomniany w [__board] __list__/__card__", + "delete-user-confirm-popup": "Czy jesteś pewien, że chcesz usunąć te konto? Nie można tego wycofać.", + "accounts-allowUserDelete": "Pozwól użytkownikom na usuwanie własnych kont", + "hide-minicard-label-text": "Ukryj opisy etykiet minikart", + "show-desktop-drag-handles": "Pokaż przeciągnięcia na pulpit", + "assignee": "Przypisani", + "cardAssigneesPopup-title": "Przypisani", + "addmore-detail": "Dodaj bardziej szczegółowy opis", + "show-on-card": "Pokaż na karcie", + "new": "Nowy", + "editUserPopup-title": "Edytuj użytkownika", + "newUserPopup-title": "Nowy użytkownik", + "notifications": "Powiadomienia", + "view-all": "Wyświetl wszystko", + "filter-by-unread": "Filtruj nieprzeczytane", + "mark-all-as-read": "Zaznacz wszystkie jako przeczytane", + "remove-all-read": "Usuń wszystkie przeczytane", + "allow-rename": "Zezwól na zmianę nazwy", + "allowRenamePopup-title": "Zezwól na zmianę nazwy", + "start-day-of-week": "Wybierz pierwszy dzień tygodnia", + "monday": "Poniedziałek", + "tuesday": "Wtorek", + "wednesday": "Środa", + "thursday": "Czwartek", + "friday": "Piątek", + "saturday": "Sobota", + "sunday": "Niedziela", + "status": "Status", + "swimlane": "Ścieżka", + "owner": "Właściciel", + "last-modified-at": "Ostatnio zmodyfikowano", + "last-activity": "Ostatnia aktywność", + "voting": "Głosowanie", + "archived": "Zarchiwizowany", + "delete-linked-card-before-this-card": "Nie możesz usunąć tej karty, dopóki nie usuniesz podpiętej karty, w której są", + "delete-linked-cards-before-this-list": "Nie możesz usunąć tej karty, dopóki nie usuniesz podpiętych kart, które wskazują na karty w tej liście", + "hide-checked-items": "Ukryj ukończone" +} \ No newline at end of file diff --git a/i18n/pt-BR.i18n.json b/i18n/pt-BR.i18n.json new file mode 100644 index 0000000..830b6a1 --- /dev/null +++ b/i18n/pt-BR.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Aceitar", + "act-activity-notify": "Notificação de atividade", + "act-addAttachment": "adicionado anexo __attachment__ ao cartão __card__ na lista __list__ em raia __swimlane__ no quadro __board__", + "act-deleteAttachment": "excluído anexo __attachment__ do cartão __card__ na lista __list__ em raia __swimlane__ no quadro __board__", + "act-addSubtask": "adicionada subtarefa __subtask__ ao cartão __card__ na lista __list__ em raia __swimlane__ no quadro __board__", + "act-addLabel": "Adicionada etiqueta __label__ ao cartão __card__ na lista __list__ em raia __swimlane__ no quadro __board__", + "act-addedLabel": "Adicionada etiqueta __label__ ao cartão __card__ na lista __list__ em raia __swimlane__ no quadro __board__", + "act-removeLabel": "Removida etiqueta __label__ do cartão __card__ na lista __list__ em raia __swimlane__ no quadro __board__", + "act-removedLabel": "Removida etiqueta __label__ do cartão __card__ na lista __list__ em raia __swimlane__ no quadro __board__", + "act-addChecklist": "adicionada lista de verificação __checklist__ ao cartão __card__ na lista __list__ em raia __swimlane__ no quadro __board__", + "act-addChecklistItem": "adicionado o item __checklistItem__ a lista de verificação__checklist__ no cartão __card__ na lista __list__ em raia __swimlane__ no quadro __board__", + "act-removeChecklist": "emovida a lista de verificação __checklist__ do cartão __card__ na lista __list__ em raia __swimlane__ no quadro __board__", + "act-removeChecklistItem": "removido item __checklistItem__ da lista de verificação __checkList__ no cartão __card__ na lista __list__ em raia __swimlane__ no quadro __board__", + "act-checkedItem": "marcado __checklistItem__ na lista de verificação __checklist__ no cartão __card__ na lista __list__ em raia __swimlane__ no quadro __board__", + "act-uncheckedItem": "desmarcado __checklistItem__ na lista __checklist__ no cartão __card__ na lista __list__ em raia __swimlane__ no quadro __board__", + "act-completeChecklist": "completada a lista de verificação __checklist__ no cartão __card__ na lista __list__ em raia __swimlane__ no quadro __board__", + "act-uncompleteChecklist": "lista de verificação incompleta __checklist__ no cartão __card__ na lista __list__ em raia __swimlane__ no quadro __board__", + "act-addComment": "comentou no cartão __card__: __comment__ na lista __list__ em raia __swimlane__ no quadro __board__", + "act-editComment": "editado comentário no cartão __card__: __comment__ da lista __list__ da raia __swimlane__ do quadro __board__", + "act-deleteComment": "excluído comentário no cartão __card__: __comment__ da lista __list__ da raia __swimlane__ do quadro __board__", + "act-createBoard": "criado quadro__board__", + "act-createSwimlane": "criada a raia __swimlane__ no quadro __board__", + "act-createCard": "criado cartão __card__ na lista __list__ em raia __swimlane__ no quadro __board__", + "act-createCustomField": "criado campo customizado __customField__ do quadro __board__", + "act-deleteCustomField": "excluído campo customizado __customField__ do quadro __board__", + "act-setCustomField": "editado campo customizado __customField__: __customFieldValue__ no cartão __card__ da lista __list__ da raia __swimlane__ do quadro __board__", + "act-createList": "adicionada lista __list__ ao quadro __board__", + "act-addBoardMember": "adicionado membro __member__ ao quadro __board__", + "act-archivedBoard": "Quadro __board__ foi Arquivado", + "act-archivedCard": "Cartão __card__ na lista __list__ em raia __swimlane__ no quadro __board__ foi Arquivado", + "act-archivedList": "Lista __list__ em raia __swimlane__ no quadro __board__ foi Arquivada", + "act-archivedSwimlane": "Raia __swimlane__ no quadro __board__ foi Arquivada", + "act-importBoard": "importado quadro __board__", + "act-importCard": "importado cartão __card__ para lista __list__ em raia __swimlane__ no quadro __board__", + "act-importList": "importada lista __list__ para raia __swimlane__ no quadro __board__", + "act-joinMember": "adicionado membro __member__ ao cartão __card__ na lista __list__ em raia __swimlane__ no quadro __board__", + "act-moveCard": "movido cartão __card__ do quadro __board__ da raia __oldSwimlane__ da lista __oldList__ para a raia __swimlane__ na lista __list__", + "act-moveCardToOtherBoard": "movido cartão __card__ da lista __oldList__ em raia __oldSwimlane__ no quadro __oldBoard__ para lista __list__ em raia __swimlane__ no quadro __board__", + "act-removeBoardMember": "removido membro __member__ do quadro __board__", + "act-restoredCard": "restaurado cartão __card__ a lista __list__ em raia __swimlane__ no quadro __board__", + "act-unjoinMember": "removido membro __member__ do cartão __card__ na lista __list__ em raia __swimlane__ no quadro __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Ações", + "activities": "Atividades", + "activity": "Atividade", + "activity-added": "adicionou %s a %s", + "activity-archived": "%s foi Arquivado", + "activity-attached": "anexou %s a %s", + "activity-created": "criou %s", + "activity-customfield-created": "criado campo customizado %s", + "activity-excluded": "excluiu %s de %s", + "activity-imported": "importado %s em %s de %s", + "activity-imported-board": "importado %s de %s", + "activity-joined": "juntou-se a %s", + "activity-moved": "moveu %s de %s para %s", + "activity-on": "em %s", + "activity-removed": "removeu %s de %s", + "activity-sent": "enviou %s de %s", + "activity-unjoined": "saiu de %s", + "activity-subtask-added": "Adcionar subtarefa à", + "activity-checked-item": "marcado %s na lista de verificação %s de %s", + "activity-unchecked-item": "desmarcado %s na lista de verificação %s de %s", + "activity-checklist-added": "Adicionada lista de verificação a %s", + "activity-checklist-removed": "removida a lista de verificação de %s", + "activity-checklist-completed": "listas de verificação completas %s de %s", + "activity-checklist-uncompleted": "não-completada a lista de verificação %s de %s", + "activity-checklist-item-added": "adicionado o item de lista de verificação para '%s' em %s", + "activity-checklist-item-removed": "removida o item de lista de verificação de '%s' na %s", + "add": "Novo", + "activity-checked-item-card": "marcaddo %s na lista de verificação %s", + "activity-unchecked-item-card": "desmarcado %s na lista de verificação %s", + "activity-checklist-completed-card": "completada a lista de verificação __checklist__ no cartão __card__ na lista __list__ em raia __swimlane__ no quadro __board__", + "activity-checklist-uncompleted-card": "não-completada a lista de verificação %s", + "activity-editComment": "comentário editado %s", + "activity-deleteComment": "comentário excluído %s", + "add-attachment": "Adicionar Anexos", + "add-board": "Adicionar Quadro", + "add-card": "Adicionar Cartão", + "add-swimlane": "Adicionar Raia", + "add-subtask": "Adicionar subtarefa", + "add-checklist": "Adicionar lista de verificação", + "add-checklist-item": "Adicionar um item à lista de verificação", + "add-cover": "Adicionar Capa", + "add-label": "Adicionar Etiqueta", + "add-list": "Adicionar Lista", + "add-members": "Adicionar Membros", + "added": "Criado", + "addMemberPopup-title": "Membros", + "admin": "Administrador", + "admin-desc": "Pode ver e editar cartões, remover membros e alterar configurações do quadro.", + "admin-announcement": "Anúncio", + "admin-announcement-active": "Anúncio ativo em todo o sistema", + "admin-announcement-title": "Anúncio do Administrador", + "all-boards": "Todos os quadros", + "and-n-other-card": "E __count__ outro cartão", + "and-n-other-card_plural": "E __count__ outros cartões", + "apply": "Aplicar", + "app-is-offline": "Carregando, por favor espere. Atualizar a página causará perda de dados. Se a carga não funcionar, por favor verifique se o servidor não caiu.", + "archive": "Mover para o Arquivo morto", + "archive-all": "Mover Tudo para o Arquivo morto", + "archive-board": "Mover Quadro para o Arquivo morto", + "archive-card": "Mover Cartão para o Arquivo morto", + "archive-list": "Mover Lista para o Arquivo morto", + "archive-swimlane": "Mover Raia para Arquivo morto", + "archive-selection": "Mover seleção para o Arquivo morto", + "archiveBoardPopup-title": "Mover Quadro para o Arquivo morto?", + "archived-items": "Arquivo morto", + "archived-boards": "Quadros no Arquivo morto", + "restore-board": "Restaurar Quadro", + "no-archived-boards": "Sem Quadros no Arquivo morto.", + "archives": "Arquivos morto", + "template": "Modelo", + "templates": "Modelos", + "assign-member": "Atribuir Membro", + "attached": "anexado", + "attachment": "Anexo", + "attachment-delete-pop": "Excluir um anexo é permanente. Não será possível recuperá-lo.", + "attachmentDeletePopup-title": "Excluir Anexo?", + "attachments": "Anexos", + "auto-watch": "Veja automaticamente os boards que são criados", + "avatar-too-big": "O avatar é muito grande (70KB max)", + "back": "Voltar", + "board-change-color": "Alterar cor", + "board-nb-stars": "%s estrelas", + "board-not-found": "Quadro não encontrado", + "board-private-info": "Este quadro será privado.", + "board-public-info": "Este quadro será público.", + "boardChangeColorPopup-title": "Alterar Tela de Fundo", + "boardChangeTitlePopup-title": "Renomear Quadro", + "boardChangeVisibilityPopup-title": "Alterar Visibilidade", + "boardChangeWatchPopup-title": "Alterar observação", + "boardMenuPopup-title": "Configurações do quadro", + "boardChangeViewPopup-title": "Visão de quadro", + "boards": "Quadros", + "board-view": "Visão de quadro", + "board-view-cal": "Calendário", + "board-view-swimlanes": "Raias", + "board-view-collapse": "Expandir", + "board-view-lists": "Listas", + "bucket-example": "\"Bucket List\", por exemplo", + "cancel": "Cancelar", + "card-archived": "Este cartão está Arquivado.", + "board-archived": "Este quadro está Arquivado.", + "card-comments-title": "Este cartão possui %s comentários.", + "card-delete-notice": "A exclusão será permanente. Você perderá todas as ações associadas a este cartão.", + "card-delete-pop": "Todas as ações serão excluidas da lista de Atividades e vocês não poderá re-abrir o cartão. Não há como desfazer.", + "card-delete-suggest-archive": "Você pode mover um cartão para o Arquivo morto para removê-lo do quadro e preservar a atividade.", + "card-due": "Prazo final", + "card-due-on": "Prazo final em", + "card-spent": "Tempo Gasto", + "card-edit-attachments": "Editar anexos", + "card-edit-custom-fields": "Editar campos customizados", + "card-edit-labels": "Editar etiquetas", + "card-edit-members": "Editar membros", + "card-labels-title": "Alterar etiquetas do cartão.", + "card-members-title": "Acrescentar ou remover membros do quadro deste cartão.", + "card-start": "Data início", + "card-start-on": "Começa em", + "cardAttachmentsPopup-title": "Anexar a partir de", + "cardCustomField-datePopup-title": "Mudar data", + "cardCustomFieldsPopup-title": "Editar campos customizados", + "cardStartVotingPopup-title": "Iniciar uma votação", + "positiveVoteMembersPopup-title": "Proponentes", + "negativeVoteMembersPopup-title": "Oponentes", + "card-edit-voting": "Editar votação", + "editVoteEndDatePopup-title": "Mudar votação e data", + "allowNonBoardMembers": "Permitir todos os usuários logados", + "vote-question": "Questão em votação", + "vote-public": "Mostrar quem votou no quê", + "vote-for-it": "a favor", + "vote-against": "contra", + "deleteVotePopup-title": "Excluir votação?", + "vote-delete-pop": "A exclusão é permanente. Você perderá todas as ações associadas a esta votação.", + "cardDeletePopup-title": "Excluir Cartão?", + "cardDetailsActionsPopup-title": "Ações do cartão", + "cardLabelsPopup-title": "Etiquetas", + "cardMembersPopup-title": "Membros", + "cardMorePopup-title": "Mais", + "cardTemplatePopup-title": "Criar Modelo", + "cards": "Cartões", + "cards-count": "Cartões", + "casSignIn": "Entrar com CAS", + "cardType-card": "Cartão", + "cardType-linkedCard": "Cartão ligado", + "cardType-linkedBoard": "Quadro ligado", + "change": "Alterar", + "change-avatar": "Alterar Avatar", + "change-password": "Alterar Senha", + "change-permissions": "Alterar permissões", + "change-settings": "Altera configurações", + "changeAvatarPopup-title": "Alterar Avatar", + "changeLanguagePopup-title": "Alterar Idioma", + "changePasswordPopup-title": "Alterar Senha", + "changePermissionsPopup-title": "Alterar Permissões", + "changeSettingsPopup-title": "Alterar configurações", + "subtasks": "Subtarefas", + "checklists": "Listas de verificação", + "click-to-star": "Marcar quadro como favorito.", + "click-to-unstar": "Remover quadro dos favoritos.", + "clipboard": "Área de Transferência ou arraste e solte", + "close": "Fechar", + "close-board": "Fechar Quadro", + "close-board-pop": "Você será capaz de restaurar o quadro clicando no botão “Arquivo morto” a partir do cabeçalho do Início.", + "color-black": "preto", + "color-blue": "azul", + "color-crimson": "carmesim", + "color-darkgreen": "verde escuro", + "color-gold": "dourado", + "color-gray": "cinza", + "color-green": "verde", + "color-indigo": "azul", + "color-lime": "verde limão", + "color-magenta": "magenta", + "color-mistyrose": "rosa claro", + "color-navy": "azul marinho", + "color-orange": "laranja", + "color-paleturquoise": "azul ciano", + "color-peachpuff": "pêssego", + "color-pink": "cor-de-rosa", + "color-plum": "ameixa", + "color-purple": "roxo", + "color-red": "vermelho", + "color-saddlebrown": "marrom", + "color-silver": "prateado", + "color-sky": "azul-celeste", + "color-slateblue": "azul ardósia", + "color-white": "branco", + "color-yellow": "amarelo", + "unset-color": "Remover", + "comment": "Comentário", + "comment-placeholder": "Escrever Comentário", + "comment-only": "Somente comentários", + "comment-only-desc": "Pode comentar apenas em cartões.", + "no-comments": "Sem comentários", + "no-comments-desc": "Sem visualização de comentários e atividades.", + "worker": "Colaborador", + "worker-desc": "Pode apenas mover cartões, atribuir-se ao cartão e comentar.", + "computer": "Computador", + "confirm-subtask-delete-dialog": "Tem certeza que deseja excluir a subtarefa?", + "confirm-checklist-delete-dialog": "Tem certeza que quer excluir a lista de verificação?", + "copy-card-link-to-clipboard": "Copiar link do cartão para a área de transferência", + "linkCardPopup-title": "Ligar Cartão", + "searchElementPopup-title": "Buscar", + "copyCardPopup-title": "Copiar o cartão", + "copyChecklistToManyCardsPopup-title": "Copiar modelo de lista de verificação para vários cartões", + "copyChecklistToManyCardsPopup-instructions": "Títulos e descrições do cartão de destino neste formato JSON", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"Título do primeiro cartão\", \"description\":\"Descrição do primeiro cartão\"}, {\"title\":\"Título do segundo cartão\",\"description\":\"Descrição do segundo cartão\"},{\"title\":\"Título do último cartão\",\"description\":\"Descrição do último cartão\"} ]", + "create": "Criar", + "createBoardPopup-title": "Criar Quadro", + "chooseBoardSourcePopup-title": "Importar quadro", + "createLabelPopup-title": "Criar Etiqueta", + "createCustomField": "Criar campo", + "createCustomFieldPopup-title": "Criar campo", + "current": "atual", + "custom-field-delete-pop": "Não existe desfazer. Isso irá excluir o campo customizado de todos os cartões e destruir seu histórico", + "custom-field-checkbox": "Caixa de seleção", + "custom-field-currency": "Moeda", + "custom-field-currency-option": "Código de moeda", + "custom-field-date": "Data", + "custom-field-dropdown": "Lista suspensa", + "custom-field-dropdown-none": "(nada)", + "custom-field-dropdown-options": "Lista de opções", + "custom-field-dropdown-options-placeholder": "Pressione enter para adicionar mais opções", + "custom-field-dropdown-unknown": "(desconhecido)", + "custom-field-number": "Número", + "custom-field-text": "Texto", + "custom-fields": "Campos customizados", + "date": "Data", + "decline": "Rejeitar", + "default-avatar": "Avatar padrão", + "delete": "Excluir", + "deleteCustomFieldPopup-title": "Excluir campo customizado?", + "deleteLabelPopup-title": "Excluir Etiqueta?", + "description": "Descrição", + "disambiguateMultiLabelPopup-title": "Desambiguar ações de etiquetas", + "disambiguateMultiMemberPopup-title": "Desambiguar ações de membros", + "discard": "Descartar", + "done": "Feito", + "download": "Baixar", + "edit": "Editar", + "edit-avatar": "Alterar Avatar", + "edit-profile": "Editar Perfil", + "edit-wip-limit": "Editar Limite WIP", + "soft-wip-limit": "Limite de WIP", + "editCardStartDatePopup-title": "Altera data de início", + "editCardDueDatePopup-title": "Altera prazo final", + "editCustomFieldPopup-title": "Editar campo", + "editCardSpentTimePopup-title": "Editar tempo gasto", + "editLabelPopup-title": "Alterar Etiqueta", + "editNotificationPopup-title": "Editar Notificações", + "editProfilePopup-title": "Editar Perfil", + "email": "E-mail", + "email-enrollAccount-subject": "Uma conta foi criada para você em __siteName__", + "email-enrollAccount-text": "Olá __user__\npara iniciar utilizando o serviço basta clicar no link abaixo.\n__url__\nMuito Obrigado.", + "email-fail": "Falhou ao enviar e-mail", + "email-fail-text": "Erro ao tentar enviar e-mail", + "email-invalid": "E-mail inválido", + "email-invite": "Convite via E-mail", + "email-invite-subject": "__inviter__ lhe enviou um convite", + "email-invite-text": "Caro __user__\n__inviter__ lhe convidou para ingressar no quadro \"__board__\" como colaborador.\nPor favor prossiga através do link abaixo:\n__url__\nMuito obrigado.", + "email-resetPassword-subject": "Redefina sua senha em __siteName__", + "email-resetPassword-text": "Olá __user__\nPara redefinir sua senha, por favor clique no link abaixo.\n__url__\nMuito obrigado.", + "email-sent": "E-mail enviado", + "email-verifyEmail-subject": "Verifique seu endereço de e-mail em __siteName__", + "email-verifyEmail-text": "Olá __user__\nPara verificar sua conta de e-mail, clique no link abaixo.\n__url__\nObrigado.", + "enable-wip-limit": "Ativar Limite WIP", + "error-board-doesNotExist": "Este quadro não existe", + "error-board-notAdmin": "Você precisa ser administrador desse quadro para fazer isto", + "error-board-notAMember": "Você precisa ser um membro desse quadro para fazer isto", + "error-json-malformed": "Seu texto não é um JSON válido", + "error-json-schema": "Seu JSON não inclui as informações no formato correto", + "error-csv-schema": "Seu CSV(Comma Separated Values)/TSV (Tab Separated Values) não inclui a informação adequada no formato correto", + "error-list-doesNotExist": "Esta lista não existe", + "error-user-doesNotExist": "Este usuário não existe", + "error-user-notAllowSelf": "Você não pode convidar a si mesmo", + "error-user-notCreated": "Este usuário não foi criado", + "error-username-taken": "Esse username já existe", + "error-email-taken": "E-mail já está em uso", + "export-board": "Exportar quadro", + "export-board-json": "Exportar quadro para JSON", + "export-board-csv": "Exportar quadro para CSV", + "export-board-tsv": "Exportar quadro para TSV", + "export-board-html": "Exportar quadro para HTML", + "exportBoardPopup-title": "Exportar quadro", + "sort": "Ordenar", + "sort-desc": "Clique para Ordenar Lista", + "list-sort-by": "Ordenar a Lista por:", + "list-label-modifiedAt": "Último Acesso", + "list-label-title": "Nome da Lista", + "list-label-sort": "Ordem Manual", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Filtrar", + "filter-cards": "Filtrar Cartões ou Listas", + "list-filter-label": "Filtrar Lista por Título", + "filter-clear": "Limpar filtro", + "filter-no-label": "Sem etiquetas", + "filter-no-member": "Sem membros", + "filter-no-assignee": "Não atribuído", + "filter-no-custom-fields": "Não há campos customizados", + "filter-show-archive": "Mostrar listas arquivadas", + "filter-hide-empty": "Esconder listas vazias", + "filter-on": "Filtro está ativo", + "filter-on-desc": "Você está filtrando cartões neste quadro. Clique aqui para editar o filtro.", + "filter-to-selection": "Filtrar esta seleção", + "advanced-filter-label": "Filtro avançado", + "advanced-filter-description": "Filtros avançados permitem escrever uma \"string\" contendo os seguintes operadores: == != <= >= && || (). Um espaco é utilizado como separador entre os operadores. Você pode filtrar para todos os campos personalizados escrevendo os nomes e valores. Exemplo: Campo1 == Valor1. Nota^Se o campo ou valor tiver espaços você precisa encapsular eles em citações sozinhas. Exemplo: Campo1 == Eu\\sou. Também você pode combinar múltiplas condições. Exemplo: C1 == V1 || C1 == V2. Normalmente todos os operadores são interpretados da esquerda para direita. Você pode alterar a ordem colocando parênteses - como ma expressão matemática. Exemplo: C1 == V1 && (C2 == V2 || C2 == V3). Você tamb~em pode pesquisar campos de texto usando regex: C1 == /Tes.*/i", + "fullname": "Nome Completo", + "header-logo-title": "Voltar para a lista de quadros.", + "hide-system-messages": "Esconder mensagens de sistema", + "headerBarCreateBoardPopup-title": "Criar Quadro", + "home": "Início", + "import": "Importar", + "link": "Ligação", + "import-board": "importar quadro", + "import-board-c": "Importar quadro", + "import-board-title-trello": "Importar quadro do Trello", + "import-board-title-wekan": "Importar quadro a partir de exportação prévia", + "import-board-title-csv": "Importar quadro de CSV/TSV", + "from-trello": "Do Trello", + "from-wekan": "A partir de exportação prévia", + "from-csv": "De CSV/TSV", + "import-board-instruction-trello": "No seu quadro do Trello, vá em 'Menu', depois em 'Mais', 'Imprimir e Exportar', 'Exportar JSON', então copie o texto emitido", + "import-board-instruction-csv": "Cole seu Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "Em seu quadro vá para 'Menu', depois 'Exportar quadro' e copie o texto no arquivo baixado.", + "import-board-instruction-about-errors": "Se você receber erros ao importar o quadro, às vezes a importação ainda funciona e o quadro está na página Todos os Quadros.", + "import-json-placeholder": "Cole seus dados JSON válidos aqui", + "import-csv-placeholder": "Cole aqui os dados válidos de seu CSV/TSV", + "import-map-members": "Mapear membros", + "import-members-map": "Seu quadro importado possui alguns membros. Por favor, mapeie os membros que você deseja importar para seus usuários", + "import-show-user-mapping": "Revisar mapeamento dos membros", + "import-user-select": "Escolha um usuário existente que você deseja usar como esse membro", + "importMapMembersAddPopup-title": "Selecione membro", + "info": "Versão", + "initials": "Iniciais", + "invalid-date": "Data inválida", + "invalid-time": "Hora inválida", + "invalid-user": "Usuário inválido", + "joined": "juntou-se", + "just-invited": "Você já foi convidado para este quadro", + "keyboard-shortcuts": "Atalhos do teclado", + "label-create": "Criar Etiqueta", + "label-default": "%s etiqueta (padrão)", + "label-delete-pop": "Não será possível recuperá-la. A etiqueta será excluida de todos os cartões e seu histórico será destruído.", + "labels": "Etiquetas", + "language": "Idioma", + "last-admin-desc": "Você não pode alterar funções porque deve existir pelo menos um administrador.", + "leave-board": "Sair do Quadro", + "leave-board-pop": "Tem a certeza de que pretende sair de __boardTitle__? Você será removido de todos os cartões neste quadro.", + "leaveBoardPopup-title": "Sair do Quadro?", + "link-card": "Vincular a este cartão", + "list-archive-cards": "Move todos os cartões nesta lista para o Arquivo morto", + "list-archive-cards-pop": "Isto removerá todos os cartões desta lista para o quadro. Para visualizar cartões arquivados e trazê-los de volta para o quadro, clique em “Menu” > “Arquivo morto”.", + "list-move-cards": "Mover todos os cartões desta lista", + "list-select-cards": "Selecionar todos os cartões nesta lista", + "set-color-list": "Definir Cor", + "listActionPopup-title": "Listar Ações", + "swimlaneActionPopup-title": "Ações de Raia", + "swimlaneAddPopup-title": "Adicionar uma Raia abaixo", + "listImportCardPopup-title": "Importe um cartão do Trello", + "listImportCardsTsvPopup-title": "Importar Excel CSV/TSV", + "listMorePopup-title": "Mais", + "link-list": "Vincular a esta lista", + "list-delete-pop": "Todas as ações serão excluidas da lista de atividades e você não poderá recuperar a lista. Não há como desfazer.", + "list-delete-suggest-archive": "Você pode mover uma lista para o Arquivo morto para removê-la do quadro e preservar a atividade.", + "lists": "Listas", + "swimlanes": "Raias", + "log-out": "Sair", + "log-in": "Entrar", + "loginPopup-title": "Entrar", + "memberMenuPopup-title": "Configuração de Membros", + "members": "Membros", + "menu": "Menu", + "move-selection": "Mover seleção", + "moveCardPopup-title": "Mover Cartão", + "moveCardToBottom-title": "Mover para o final", + "moveCardToTop-title": "Mover para o topo", + "moveSelectionPopup-title": "Mover seleção", + "multi-selection": "Multi-Seleção", + "multi-selection-on": "Multi-seleção está ativo", + "muted": "Silenciar", + "muted-info": "Você nunca receberá qualquer notificação desse board", + "my-boards": "Meus Quadros", + "name": "Nome", + "no-archived-cards": "Sem cartões no Arquivo morto.", + "no-archived-lists": "Sem listas no Arquivo morto.", + "no-archived-swimlanes": "Sem raias no Arquivo morto.", + "no-results": "Nenhum resultado.", + "normal": "Normal", + "normal-desc": "Pode ver e editar cartões. Não pode alterar configurações.", + "not-accepted-yet": "Convite ainda não aceito", + "notify-participate": "Receber atualizações de qualquer card que você criar ou participar como membro", + "notify-watch": "Receber atualizações de qualquer board, lista ou cards que você estiver observando", + "optional": "opcional", + "or": "ou", + "page-maybe-private": "Esta página pode ser privada. Você poderá vê-la se estiver logado.", + "page-not-found": "Página não encontrada.", + "password": "Senha", + "paste-or-dragdrop": "para colar ou arraste e solte o arquivo da imagem para cá (somente imagens)", + "participating": "Participando", + "preview": "Pré-visualizar", + "previewAttachedImagePopup-title": "Pré-visualizar", + "previewClipboardImagePopup-title": "Pré-visualizar", + "private": "Privado", + "private-desc": "Este quadro é privado. Apenas seus membros podem acessar e editá-lo.", + "profile": "Perfil", + "public": "Público", + "public-desc": "Este quadro é público. Ele é visível a qualquer pessoa com o link e será exibido em mecanismos de busca como o Google. Apenas seus membros podem editá-lo.", + "quick-access-description": "Clique na estrela para adicionar um atalho nesta barra.", + "remove-cover": "Remover Capa", + "remove-from-board": "Remover do Quadro", + "remove-label": "Remover Etiqueta", + "listDeletePopup-title": "Excluir Lista?", + "remove-member": "Remover Membro", + "remove-member-from-card": "Remover do Cartão", + "remove-member-pop": "Remover __name__ (__username__) de __boardTitle__? O membro será removido de todos os cartões neste quadro e será notificado.", + "removeMemberPopup-title": "Remover Membro?", + "rename": "Renomear", + "rename-board": "Renomear Quadro", + "restore": "Restaurar", + "save": "Salvar", + "search": "Buscar", + "rules": "Regras", + "search-cards": "Buscar por título, descrição e campos customizados de cartão/lista neste quadro", + "search-example": "Texto para procurar", + "select-color": "Selecionar Cor", + "set-wip-limit-value": "Defina um limite máximo para o número de tarefas nesta lista", + "setWipLimitPopup-title": "Definir Limite WIP", + "shortcut-assign-self": "Atribuir a si o cartão atual", + "shortcut-autocomplete-emoji": "Autocompletar emoji", + "shortcut-autocomplete-members": "Preenchimento automático de membros", + "shortcut-clear-filters": "Limpar todos filtros", + "shortcut-close-dialog": "Fechar dialogo", + "shortcut-filter-my-cards": "Filtrar meus cartões", + "shortcut-show-shortcuts": "Mostrar lista de atalhos", + "shortcut-toggle-filterbar": "Alternar barra de filtro", + "shortcut-toggle-sidebar": "Fechar barra lateral.", + "show-cards-minimum-count": "Mostrar contador de cards se a lista tiver mais de", + "sidebar-open": "Abrir barra lateral", + "sidebar-close": "Fechar barra lateral", + "signupPopup-title": "Criar uma Conta", + "star-board-title": "Clique para marcar este quadro como favorito. Ele aparecerá no topo na lista dos seus quadros.", + "starred-boards": "Quadros Favoritos", + "starred-boards-description": "Quadros favoritos aparecem no topo da lista dos seus quadros.", + "subscribe": "Acompanhar", + "team": "Equipe", + "this-board": "este quadro", + "this-card": "este cartão", + "spent-time-hours": "Tempo gasto (Horas)", + "overtime-hours": "Tempo extras (Horas)", + "overtime": "Tempo extras", + "has-overtime-cards": "Tem cartões de horas extras", + "has-spenttime-cards": "Gastou cartões de tempo", + "time": "Tempo", + "title": "Título", + "tracking": "Rastreamento", + "tracking-info": "Você será notificado se houver qualquer alteração em cards em que você é o criador ou membro", + "type": "Tipo", + "unassign-member": "Membro não associado", + "unsaved-description": "Você possui uma descrição não salva", + "unwatch": "Deixar de observar", + "upload": "Carregar", + "upload-avatar": "Carregar um avatar", + "uploaded-avatar": "Avatar carregado", + "username": "Nome de usuário", + "view-it": "Visualizar", + "warn-list-archived": "aviso: este cartão está em uma lista no Arquivo-texto", + "watch": "Observar", + "watching": "Observando", + "watching-info": "Você será notificado de qualquer alteração neste quadro", + "welcome-board": "Board de Boas Vindas", + "welcome-swimlane": "Marco 1", + "welcome-list1": "Básico", + "welcome-list2": "Avançado", + "card-templates-swimlane": "Modelos de cartão", + "list-templates-swimlane": "Modelos de lista", + "board-templates-swimlane": "Modelos de quadro", + "what-to-do": "O que você gostaria de fazer?", + "wipLimitErrorPopup-title": "Limite WIP Inválido", + "wipLimitErrorPopup-dialog-pt1": "O número de tarefas nesta lista excede o limite WIP definido.", + "wipLimitErrorPopup-dialog-pt2": "Por favor, mova algumas tarefas para fora desta lista, ou defina um limite WIP mais elevado.", + "admin-panel": "Painel Administrativo", + "settings": "Configurações", + "people": "Pessoas", + "registration": "Registro", + "disable-self-registration": "Desabilitar Cadastrar-se", + "invite": "Convite", + "invite-people": "Convide Pessoas", + "to-boards": "Para o/os quadro(s)", + "email-addresses": "Endereço de E-mail", + "smtp-host-description": "O endereço do servidor SMTP que envia seus e-mails.", + "smtp-port-description": "A porta que o servidor SMTP usa para enviar os e-mails.", + "smtp-tls-description": "Habilitar suporte TLS para servidor SMTP", + "smtp-host": "Servidor SMTP", + "smtp-port": "Porta SMTP", + "smtp-username": "Nome de usuário", + "smtp-password": "Senha", + "smtp-tls": "Suporte TLS", + "send-from": "De", + "send-smtp-test": "Enviar um e-mail de teste para você mesmo", + "invitation-code": "Código do Convite", + "email-invite-register-subject": "__inviter__ lhe enviou um convite", + "email-invite-register-text": "Caro __user__,\n\n__inviter__ convida você para o quadro Kanban para colaborações.\n\nPor favor, siga o link abaixo:\n__url__ \n\nE seu código de convite é: __icode__\n\nObrigado.", + "email-smtp-test-subject": "E-mail de teste via SMTP", + "email-smtp-test-text": "Você enviou um e-mail com sucesso", + "error-invitation-code-not-exist": "O código do convite não existe", + "error-notAuthorized": "Você não está autorizado à ver esta página.", + "webhook-title": "Nome do Webhook", + "webhook-token": "Token (Opcional para autenticação)", + "outgoing-webhooks": "Webhook de saída", + "bidirectional-webhooks": "Two-Way Webhooks", + "outgoingWebhooksPopup-title": "Webhook de saída", + "boardCardTitlePopup-title": "Filtro do Título do Cartão", + "disable-webhook": "Desabilitar este Webhook", + "global-webhook": "Webhooks globais", + "new-outgoing-webhook": "Novo Webhook de saída", + "no-name": "(Desconhecido)", + "Node_version": "Versão do Node", + "Meteor_version": "Versão do Meteor", + "MongoDB_version": "Versão do MongoDB", + "MongoDB_storage_engine": "Motor de armazenamento do MongoDB", + "MongoDB_Oplog_enabled": "MongoDB Oplog habilitado", + "OS_Arch": "Arquitetura do SO", + "OS_Cpus": "Quantidade de CPUS do SO", + "OS_Freemem": "Memória Disponível do SO", + "OS_Loadavg": "Carga Média do SO", + "OS_Platform": "Plataforma do SO", + "OS_Release": "Versão do SO", + "OS_Totalmem": "Memória Total do SO", + "OS_Type": "Tipo do SO", + "OS_Uptime": "Disponibilidade do SO", + "days": "dias", + "hours": "horas", + "minutes": "minutos", + "seconds": "segundos", + "show-field-on-card": "Mostrar este campo no cartão", + "automatically-field-on-card": "Criar campo automaticamente para todos os cartões", + "showLabel-field-on-card": "Mostrar etiqueta do campo no minicartão", + "yes": "Sim", + "no": "Não", + "accounts": "Contas", + "accounts-allowEmailChange": "Permitir Mudança de e-mail", + "accounts-allowUserNameChange": "Permitir alteração de nome de usuário", + "createdAt": "Criado em", + "verified": "Verificado", + "active": "Ativo", + "card-received": "Recebido", + "card-received-on": "Recebido em", + "card-end": "Concluído", + "card-end-on": "Concluído em", + "editCardReceivedDatePopup-title": "Modificar data de recebimento", + "editCardEndDatePopup-title": "Mudar data de conclusão", + "setCardColorPopup-title": "Definir cor", + "setCardActionsColorPopup-title": "Escolha uma cor", + "setSwimlaneColorPopup-title": "Escolha uma cor", + "setListColorPopup-title": "Escolha uma cor", + "assigned-by": "Atribuído por", + "requested-by": "Solicitado por", + "board-delete-notice": "Excluir é permanente. Você perderá todas as listas, cartões e ações associados nesse quadro.", + "delete-board-confirm-popup": "Todas as listas, cartões, etiquetas e atividades serão excluídas e você não poderá recuperar o conteúdo do quadro. Não há como desfazer.", + "boardDeletePopup-title": "Excluir quadro?", + "delete-board": "Excluir quadro", + "default-subtasks-board": "Subtarefas para quadro __board__", + "default": "Padrão", + "queue": "Fila", + "subtask-settings": "Configurações de subtarefas", + "card-settings": "Configurações do Cartão", + "boardSubtaskSettingsPopup-title": "Configurações das subtarefas do quadro", + "boardCardSettingsPopup-title": "Configurações do Cartão", + "deposit-subtasks-board": "Inserir subtarefas a este quadro:", + "deposit-subtasks-list": "Listas de subtarefas inseridas aqui:", + "show-parent-in-minicard": "Mostrar Pai do mini cartão:", + "prefix-with-full-path": "Prefixo com caminho completo", + "prefix-with-parent": "Prefixo com Pai", + "subtext-with-full-path": "Subtexto com caminho completo", + "subtext-with-parent": "Subtexto com Pai", + "change-card-parent": "Mudar Pai do cartão", + "parent-card": "Pai do cartão", + "source-board": "Fonte do quadro", + "no-parent": "Não mostrar Pai", + "activity-added-label": "adicionada etiqueta '%s' para %s", + "activity-removed-label": "removida etiqueta '%s' de %s", + "activity-delete-attach": "excluído um anexo de %s", + "activity-added-label-card": "adicionada etiqueta '%s'", + "activity-removed-label-card": "removida etiqueta '%s'", + "activity-delete-attach-card": "excluído um anexo", + "activity-set-customfield": "definir campo personalizado '%s' para '%s' em %s", + "activity-unset-customfield": "redefinir campo personalizado '%s' em %s", + "r-rule": "Regra", + "r-add-trigger": "Adicionar gatilho", + "r-add-action": "Adicionar ação", + "r-board-rules": "Quadro de regras", + "r-add-rule": "Adicionar regra", + "r-view-rule": "Ver regra", + "r-delete-rule": "Excluir regra", + "r-new-rule-name": "Título da nova regra", + "r-no-rules": "Sem regras", + "r-trigger": "Gatilho", + "r-action": "Ação", + "r-when-a-card": "Quando um cartão", + "r-is": "é", + "r-is-moved": "é movido", + "r-added-to": "adicionado a", + "r-removed-from": "Removido de", + "r-the-board": "o quadro", + "r-list": "lista", + "set-filter": "Inserir Filtro", + "r-moved-to": "Movido para", + "r-moved-from": "Movido de", + "r-archived": "Movido para o Arquivo morto", + "r-unarchived": "Restaurado do Arquivo morto", + "r-a-card": "um cartão", + "r-when-a-label-is": "Quando uma etiqueta é", + "r-when-the-label": "Quando a etiqueta é", + "r-list-name": "listar nome", + "r-when-a-member": "Quando um membro é", + "r-when-the-member": "Quando o membro", + "r-name": "nome", + "r-when-a-attach": "Quando um anexo", + "r-when-a-checklist": "Quando a lista de verificação é", + "r-when-the-checklist": "Quando a lista de verificação", + "r-completed": "Completado", + "r-made-incomplete": "Feito incompleto", + "r-when-a-item": "Quando o item da lista de verificação é", + "r-when-the-item": "Quando o item da lista de verificação", + "r-checked": "Marcado", + "r-unchecked": "Desmarcado", + "r-move-card-to": "Mover cartão para", + "r-top-of": "Topo de", + "r-bottom-of": "Final de", + "r-its-list": "é lista", + "r-archive": "Mover para Arquivo morto", + "r-unarchive": "Restaurar do Arquivo morto", + "r-card": "cartão", + "r-add": "Novo", + "r-remove": "Remover", + "r-label": "etiqueta", + "r-member": "membro", + "r-remove-all": "Remover todos os membros do cartão", + "r-set-color": "Definir cor para", + "r-checklist": "lista de verificação", + "r-check-all": "Marcar todos", + "r-uncheck-all": "Desmarcar todos", + "r-items-check": "itens da lista de verificação", + "r-check": "Marcar", + "r-uncheck": "Desmarcar", + "r-item": "item", + "r-of-checklist": "da lista de verificação", + "r-send-email": "Enviar um e-mail", + "r-to": "para", + "r-of": "de", + "r-subject": "assunto", + "r-rule-details": "Detalhes da regra", + "r-d-move-to-top-gen": "Mover cartão para o topo da sua lista", + "r-d-move-to-top-spec": "Mover cartão para o topo da lista", + "r-d-move-to-bottom-gen": "Mover cartão para o final da sua lista", + "r-d-move-to-bottom-spec": "Mover cartão para final da lista", + "r-d-send-email": "Enviar e-mail", + "r-d-send-email-to": "para", + "r-d-send-email-subject": "assunto", + "r-d-send-email-message": "mensagem", + "r-d-archive": "Mover cartão para Arquivo morto", + "r-d-unarchive": "Restaurar cartão do Arquivo morto", + "r-d-add-label": "Adicionar etiqueta", + "r-d-remove-label": "Remover etiqueta", + "r-create-card": "Criar novo cartão", + "r-in-list": "na lista", + "r-in-swimlane": "na raia", + "r-d-add-member": "Adicionar membro", + "r-d-remove-member": "Remover membro", + "r-d-remove-all-member": "Remover todos os membros", + "r-d-check-all": "Marcar todos os itens de uma lista", + "r-d-uncheck-all": "Desmarcar todos os itens de uma lista", + "r-d-check-one": "Marcar item", + "r-d-uncheck-one": "Desmarcar item", + "r-d-check-of-list": "da lista de verificação", + "r-d-add-checklist": "Adicionar lista de verificação", + "r-d-remove-checklist": "Remover lista de verificação", + "r-by": "por", + "r-add-checklist": "Adicionar lista de verificação", + "r-with-items": "com os itens", + "r-items-list": "item1,item2,item3", + "r-add-swimlane": "Adicionar raia", + "r-swimlane-name": "Nome da raia", + "r-board-note": "Nota: deixe o campo vazio para corresponder à todos os valores possíveis", + "r-checklist-note": "Nota: itens de Checklists devem ser escritos separados por vírgulas", + "r-when-a-card-is-moved": "Quando um cartão é movido de outra lista", + "r-set": "Definir", + "r-update": "Atualizar", + "r-datefield": "campo data", + "r-df-start-at": "início", + "r-df-due-at": "prazo final", + "r-df-end-at": "concluído", + "r-df-received-at": "recebido", + "r-to-current-datetime": "para data/hora atuais", + "r-remove-value-from": "Remover valores do", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Método de autenticação", + "authentication-type": "Tipo de autenticação", + "custom-product-name": "Nome Customizado do Produto", + "layout": "Layout", + "hide-logo": "Esconder Logo", + "add-custom-html-after-body-start": "Adicionar HTML Customizado depois do início do ", + "add-custom-html-before-body-end": "Adicionar HTML Customizado antes do fim do ", + "error-undefined": "Algo deu errado", + "error-ldap-login": "Um erro ocorreu enquanto tentava entrar", + "display-authentication-method": "Mostrar Método de Autenticação", + "default-authentication-method": "Método de Autenticação Padrão", + "duplicate-board": "Duplicar Quadro", + "people-number": "O número de pessoas é:", + "swimlaneDeletePopup-title": "Excluir Raia?", + "swimlane-delete-pop": "Todas as ações serão excluídas da lista de atividades e você não poderá recuperar a raia. Não há como desfazer.", + "restore-all": "Restaurar tudo", + "delete-all": "Excluir tudo", + "loading": "Carregando, aguarde por favor.", + "previous_as": "ultima vez foi", + "act-a-dueAt": "prazo final modificado para \nQuando: __timeValue__\nOnde: __card__\n prazo final anterior era __timeOldValue__", + "act-a-endAt": "hora de conclusão modificada de (__timeOldValue__) para __timeValue__ ", + "act-a-startAt": "hora de início modificada de (__timeOldValue__) para __timeValue__ ", + "act-a-receivedAt": "hora de recebido modificada de (__timeOldValue__) para __timeValue__ ", + "a-dueAt": "prazo final modificado para", + "a-endAt": "hora de conclusão modificada para", + "a-startAt": "hora de início modificada para", + "a-receivedAt": "hora de recebido modificada para", + "almostdue": "prazo final atual %s está próximo", + "pastdue": "prazo final atual %s venceu", + "duenow": "prazo final atual %s é hoje", + "act-newDue": "__list__/__card__ possui 1º lembrete de prazo [__board__]", + "act-withDue": "__list__/__card__ lembretes de prazo [__board__]", + "act-almostdue": "está lembrando que o prazo final atual (__timeValue__) do __card__ está próximo", + "act-pastdue": "está lembrando que o prazo final atual (__timeValue__) do __card__ venceu", + "act-duenow": "está lembrando que o prazo final (__timeValue__) do __card__ é agora", + "act-atUserComment": "Você foi mencionado no [__board__] __list__/__card__", + "delete-user-confirm-popup": "Você realmente quer apagar esta conta? Não há como desfazer.", + "accounts-allowUserDelete": "Permitir que usuários apaguem a própria conta", + "hide-minicard-label-text": "Esconder rótulo da etiqueta do mini cartão", + "show-desktop-drag-handles": "Mostrar alças de arrasto da área de trabalho", + "assignee": "Administrador", + "cardAssigneesPopup-title": "Administrador", + "addmore-detail": "Adicionar descrição detalhada", + "show-on-card": "Mostrar no Cartão", + "new": "Novo", + "editUserPopup-title": "Editar usuário", + "newUserPopup-title": "Novo usuário", + "notifications": "Notificações", + "view-all": "Ver tudo", + "filter-by-unread": "Filtrar não lidas", + "mark-all-as-read": "Marcar todas como lidas", + "remove-all-read": "Remover todas lidas", + "allow-rename": "Permitir renomear", + "allowRenamePopup-title": "Permitir renomear", + "start-day-of-week": "Definir dia em que a semana começa", + "monday": "Segunda", + "tuesday": "Terça", + "wednesday": "Quarta", + "thursday": "Quinta", + "friday": "Sexta", + "saturday": "Sábado", + "sunday": "Domingo", + "status": "Status", + "swimlane": "Raia", + "owner": "Proprietário", + "last-modified-at": "Última modificação em", + "last-activity": "Última atividade", + "voting": "Votação", + "archived": "Arquivado", + "delete-linked-card-before-this-card": "Você não pode excluir este cartão antes de excluir primeiro o cartão vinculado que possui", + "delete-linked-cards-before-this-list": "Você não pode excluir esta lista antes de excluir primeiro os cartões vinculados que estão apontando para os cartões nesta lista", + "hide-checked-items": "Esconder itens marcados" +} \ No newline at end of file diff --git a/i18n/pt.i18n.json b/i18n/pt.i18n.json new file mode 100644 index 0000000..08fe8a0 --- /dev/null +++ b/i18n/pt.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Aceitar", + "act-activity-notify": "Notificação de Actividade", + "act-addAttachment": "adicionou o anexo __attachment__ ao cartão __card__ na lista __list__ na pista __swimlane__ no quadro __board__", + "act-deleteAttachment": "apagou o anexo __attachment__ do cartão __card__ na lista __list__ na pista __swimlane__ no quadro __board__", + "act-addSubtask": "adicionou a sub-tarefa __subtask__ ao cartão __card__ na lista __list__ na pista __swimlane__ no quadro __board__", + "act-addLabel": "Adicionou a etiqueta __label__ ao cartão __card__ na lista __list__ na pista __swimlane__ no quadro __board__", + "act-addedLabel": "Adicionou a etiqueta __label__ ao cartão __card__ na lista __list__ na pista __swimlane__ no quadro __board__", + "act-removeLabel": "Removeu a etiqueta __label__ do cartão __card__ na lista __list__ na pista __swimlane__ no quadro __board__", + "act-removedLabel": "Removeu a etiqueta __label__ do cartão __card__ na lista __list__ na pista __swimlane__ no quadro __board__", + "act-addChecklist": "adicionoua lista de verificação __checklist__ ao cartão __card__ na lista __list__ na pista __swimlane__ no quadro __board__", + "act-addChecklistItem": "adicionou o item __checklistItem__ à lista de verificação __checklist__ no cartão __card__ na lista __list__ na pista __swimlane__ no quadro __board__", + "act-removeChecklist": "removeu a lista de verificação __checklist__ do cartão __card__ na lista __list__ na pista __swimlane__ no quadro __board__", + "act-removeChecklistItem": "removeu o item __checklistItem__ da lista de verificação __checkList__ no cartão __card__ na lista __list__ na pista __swimlane__ no quadro __board__", + "act-checkedItem": "marcou __checklistItem__ na lista de verificação __checklist__ no cartão __card__ na lista __list__ na pista __swimlane__ no quadro __board__", + "act-uncheckedItem": "desmarcou __checklistItem__ na lista de verificação __checklist__ no cartão __card__ na lista __list__ na pista __swimlane__ no quadro __board__", + "act-completeChecklist": "completou a lista de verificação __checklist__ no cartão __card__ na lista __list__ na pista __swimlane__ no quadro __board__", + "act-uncompleteChecklist": "descompletou a lista de verificação __checklist__ no cartão __card__ na lista __list__ na pista __swimlane__ no quadro __board__", + "act-addComment": "comentou no cartão __card__: __comment__ na lista __list__ na pista __swimlane__ no quadro __board__", + "act-editComment": "editou o comentário no cartão __card__: __comment__ na lista __list__ na pista __swimlane__ no quadro __board__", + "act-deleteComment": "apagou o comentário no cartão __card__: __comment__ na lista __list__ na pista __swimlane__ no quadro __board__", + "act-createBoard": "criou o quadro __board__", + "act-createSwimlane": "criou a pista __swimlane__ no quadro __board__", + "act-createCard": "criou o cartão __card__ na lista __list__ na pista __swimlane__ no quadro __board__", + "act-createCustomField": "criou o campo personalizado __customField__ no quadro __board__", + "act-deleteCustomField": "apagou o campo personalizado __customField__ no quadro __board__", + "act-setCustomField": "editou o campo personalizado __customField__: __customFieldValue__ no cartão __card__ na lista __list__ na pista __swimlane__ no quadro __board__", + "act-createList": "adicionou a lista __list__ ao quadro __board__", + "act-addBoardMember": "adicionou o membro __member__ ao quadro __board__", + "act-archivedBoard": "O quadro __board__ foi movido para o Arquivo", + "act-archivedCard": "O cartão __card__ na lista __list__ na pista __swimlane__ no quadro __board__ foi movido para o Arquivo", + "act-archivedList": "A lista __list__ na pista __swimlane__ no quadro __board__ foi movida para o Arquivo", + "act-archivedSwimlane": "A pista __swimlane__ no quadro __board__ foi movida para o Arquivo", + "act-importBoard": "importou o quadro __board__", + "act-importCard": "importou o cartão __card__ para a lista __list__ na pista __swimlane__ no quadro __board__", + "act-importList": "importou a lista __list__ para pista __swimlane__ no quadro __board__", + "act-joinMember": "adicionou o membro __member__ ao cartão __card__ na lista __list__ na pista __swimlane__ no quadro __board__", + "act-moveCard": "moveu o cartão __card__ do quadro __board__ da pista __oldSwimlane__ da lista __oldList__ para a pista __swimlane__ na lista __list__", + "act-moveCardToOtherBoard": "moveuo cartão __card__ da lista __oldList__ na pista __oldSwimlane__ no quadro __oldBoard__ para a lista __list__ na pista __swimlane__ no quadro __board__", + "act-removeBoardMember": "removeuo membro __member__ do quadro __board__", + "act-restoredCard": "restaurou o cartão __card__ para a lista __list__ na pista __swimlane__ no quadro __board__", + "act-unjoinMember": "removeu o membro __member__ do cartão __card__ na lista __list__ na pista __swimlane__ no quadro __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Acções", + "activities": "Actividades", + "activity": "Actividade", + "activity-added": "adicionou %s a %s", + "activity-archived": "%s foi movido para o Arquivo", + "activity-attached": "anexou %s a %s", + "activity-created": "criou %s", + "activity-customfield-created": "criado o campo personalizado %s", + "activity-excluded": "excluiu %s de %s", + "activity-imported": "importou %s para %s de %s", + "activity-imported-board": "importou %s de %s", + "activity-joined": "juntou-se a %s", + "activity-moved": "moveu %s de %s para %s", + "activity-on": "em %s", + "activity-removed": "removeu %s de %s", + "activity-sent": "enviou %s para %s", + "activity-unjoined": "saiu de %s", + "activity-subtask-added": "adicionou a sub-tarefa a", + "activity-checked-item": "marcou %s na lista de verificação %s de %s", + "activity-unchecked-item": "desmarcou %s na lista de verificação %s de %s", + "activity-checklist-added": "adicionou a lista de verificação a %s", + "activity-checklist-removed": "removeu a lista de verificação de %s", + "activity-checklist-completed": "completed checklist %s of %s", + "activity-checklist-uncompleted": "descompletou a lista de verificação %s de %s", + "activity-checklist-item-added": "adicionou o item a '%s' em %s", + "activity-checklist-item-removed": "removeu o item de '%s' na %s", + "add": "Adicionar", + "activity-checked-item-card": "marcou %s na lista de verificação %s", + "activity-unchecked-item-card": "desmarcou %s na lista de verificação %s", + "activity-checklist-completed-card": "completou a lista de verificação __checklist__ no cartão __card__ na lista __list__ na pista __swimlane__ no quadro __board__", + "activity-checklist-uncompleted-card": "descompletou a lista de verificação %s", + "activity-editComment": "editou o comentário %s", + "activity-deleteComment": "apagou o comentário %s", + "add-attachment": "Adicionar Anexo", + "add-board": "Adicionar Quadro", + "add-card": "Adicionar Cartão", + "add-swimlane": "Adicionar Pista", + "add-subtask": "Adicionar Sub-tarefa", + "add-checklist": "Adicionar Lista de Verificação", + "add-checklist-item": "Adicionar um item à lista de verificação", + "add-cover": "Adicionar Capa", + "add-label": "Adicionar Etiqueta", + "add-list": "Adicionar Lista", + "add-members": "Adicionar Membros", + "added": "Adicionado", + "addMemberPopup-title": "Membros", + "admin": "Administrador", + "admin-desc": "Pode ver e editar cartões, remover membros e alterar configurações do quadro.", + "admin-announcement": "Anúncio", + "admin-announcement-active": "Anúncio Activo em Todo o Sistema", + "admin-announcement-title": "Anúncio do Administrador", + "all-boards": "Todos os quadros", + "and-n-other-card": "E __count__ outro cartão", + "and-n-other-card_plural": "E __count__ outros cartões", + "apply": "Aplicar", + "app-is-offline": "A carregar, por favor aguarde. Actualizar a página causará perda de dados. Se o carregamento não funcionar, por favor verifique se o servidor não parou.", + "archive": "Mover para o Arquivo", + "archive-all": "Mover Tudo para o Arquivo", + "archive-board": "Mover o Quadro para o Arquivo", + "archive-card": "Mover o Cartão para o Arquivo", + "archive-list": "Mover a Lista para o Arquivo", + "archive-swimlane": "Mover a Pista para o Arquivo", + "archive-selection": "Mover a selecção para o Arquivo", + "archiveBoardPopup-title": "Mover o Quadro para o Arquivo?", + "archived-items": "Arquivo", + "archived-boards": "Quadros no Arquivo", + "restore-board": "Restaurar Quadro", + "no-archived-boards": "Sem Quadros no Arquivo.", + "archives": "Arquivo", + "template": "Modelo", + "templates": "Modelos", + "assign-member": "Atribuir Membro", + "attached": "anexado", + "attachment": "Anexo", + "attachment-delete-pop": "Apagar um anexo é permanente. Não será possível recuperá-lo.", + "attachmentDeletePopup-title": "Apagar Anexo?", + "attachments": "Anexos", + "auto-watch": "Observar automaticamente os quadros quando são criados", + "avatar-too-big": "O avatar é muito grande (70KB máx)", + "back": "Voltar", + "board-change-color": "Alterar cor", + "board-nb-stars": "%s estrelas", + "board-not-found": "Quadro não encontrado", + "board-private-info": "Este quadro será privado.", + "board-public-info": "Este quadro será público.", + "boardChangeColorPopup-title": "Alterar Imagem de Fundo do Quadro", + "boardChangeTitlePopup-title": "Renomear Quadro", + "boardChangeVisibilityPopup-title": "Alterar Visibilidade", + "boardChangeWatchPopup-title": "Alterar Observação", + "boardMenuPopup-title": "Configurações do Quadro", + "boardChangeViewPopup-title": "Visão do Quadro", + "boards": "Quadros", + "board-view": "Visão do Quadro", + "board-view-cal": "Calendário", + "board-view-swimlanes": "Pistas", + "board-view-collapse": "Colapsar ", + "board-view-lists": "Listas", + "bucket-example": "\"Lista de Desejos\", por exemplo", + "cancel": "Cancelar", + "card-archived": "Este cartão no Arquivo.", + "board-archived": "Este quadro está no Arquivo.", + "card-comments-title": "Este cartão possui %s comentário.", + "card-delete-notice": "A remoção será permanente. Perderá todas as acções associadas a este cartão.", + "card-delete-pop": "Todas as acções serão removidas do feed de Actividade e não poderá reabrir o cartão. Não há como desfazer.", + "card-delete-suggest-archive": "Pode mover um cartão para o Arquivo para removê-lo do quadro e preservar a atividade.", + "card-due": "Data limite", + "card-due-on": "Data limite em", + "card-spent": "Tempo Gasto", + "card-edit-attachments": "Editar anexos", + "card-edit-custom-fields": "Editar campos personalizados", + "card-edit-labels": "Editar etiquetas", + "card-edit-members": "Editar membros", + "card-labels-title": "Alterar as etiquetas do cartão.", + "card-members-title": "Acrescentar ou remover membros do quadro deste cartão.", + "card-start": "Data de início", + "card-start-on": "Inicia em", + "cardAttachmentsPopup-title": "Anexar a partir de", + "cardCustomField-datePopup-title": "Alterar a data", + "cardCustomFieldsPopup-title": "Editar campos personalizados", + "cardStartVotingPopup-title": "Start a vote", + "positiveVoteMembersPopup-title": "Proponents", + "negativeVoteMembersPopup-title": "Opponents", + "card-edit-voting": "Alterar voto", + "editVoteEndDatePopup-title": "Change vote end date", + "allowNonBoardMembers": "Allow all logged in users", + "vote-question": "Voting question", + "vote-public": "Show who voted what", + "vote-for-it": "for it", + "vote-against": "against", + "deleteVotePopup-title": "Apagar voto?", + "vote-delete-pop": "Deleting is permanent. You will lose all actions associated with this vote.", + "cardDeletePopup-title": "Apagar Cartão?", + "cardDetailsActionsPopup-title": "Acções do Cartão", + "cardLabelsPopup-title": "Etiquetas", + "cardMembersPopup-title": "Membros", + "cardMorePopup-title": "Mais", + "cardTemplatePopup-title": "Criar Modelo", + "cards": "Cartões", + "cards-count": "Cartões", + "casSignIn": "Entrar com CAS", + "cardType-card": "Cartão", + "cardType-linkedCard": "Cartão Ligado", + "cardType-linkedBoard": "Quadro Ligado", + "change": "Alterar", + "change-avatar": "Alterar o Avatar", + "change-password": "Alterar a Senha", + "change-permissions": "Alterar as permissões", + "change-settings": "Alterar as Configurações", + "changeAvatarPopup-title": "Alterar o Avatar", + "changeLanguagePopup-title": "Alterar o Idioma", + "changePasswordPopup-title": "Alterar a Senha", + "changePermissionsPopup-title": "Alterar as Permissões", + "changeSettingsPopup-title": "Alterar as Configurações", + "subtasks": "Sub-tarefas", + "checklists": "Listas de verificação", + "click-to-star": "Clique para marcar este quadro como favorito.", + "click-to-unstar": "Clique para remover este quadro dos favoritos.", + "clipboard": "Área de Transferência ou arraste e solte", + "close": "Fechar", + "close-board": "Fechar o Quadro", + "close-board-pop": "Poderá restaurar o quadro clicando no botão “Arquivo” a partir do cabeçalho do Início.", + "color-black": "preto", + "color-blue": "azul", + "color-crimson": "carmesim", + "color-darkgreen": "verde escuro", + "color-gold": "dourado", + "color-gray": "cinza", + "color-green": "verde", + "color-indigo": "azul", + "color-lime": "verde limão", + "color-magenta": "magenta", + "color-mistyrose": "rosa claro", + "color-navy": "azul marinho", + "color-orange": "laranja", + "color-paleturquoise": "azul ciano", + "color-peachpuff": "pêssego", + "color-pink": "cor-de-rosa", + "color-plum": "ameixa", + "color-purple": "roxo", + "color-red": "vermelho", + "color-saddlebrown": "marrom", + "color-silver": "prateado", + "color-sky": "azul-celeste", + "color-slateblue": "azul ardósia", + "color-white": "branco", + "color-yellow": "amarelo", + "unset-color": "Remover", + "comment": "Comentar", + "comment-placeholder": "Escrever o Comentário", + "comment-only": "Apenas comentários", + "comment-only-desc": "Pode comentar apenas em cartões.", + "no-comments": "Sem comentários", + "no-comments-desc": "Não pode ver comentários nem actividades.", + "worker": "Worker", + "worker-desc": "Can only move cards, assign itself to card and comment.", + "computer": "Computador", + "confirm-subtask-delete-dialog": "Tem certeza que deseja apagar a sub-tarefa?", + "confirm-checklist-delete-dialog": "Tem certeza que quer apagar a lista de verificação?", + "copy-card-link-to-clipboard": "Copiar a ligação do cartão para a área de transferência", + "linkCardPopup-title": "Ligar Cartão", + "searchElementPopup-title": "Procurar", + "copyCardPopup-title": "Copiar o cartão", + "copyChecklistToManyCardsPopup-title": "Copiar o Modelo de Lista de Verificação para Vários Cartões", + "copyChecklistToManyCardsPopup-instructions": "Títulos e Descrições de Cartões de Destino neste formato JSON", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"Título do primeiro cartão\", \"description\":\"Descrição do primeiro cartão\"}, {\"title\":\"Título do segundo cartão\",\"description\":\"Descrição do segundo cartão\"},{\"title\":\"Título do último cartão\",\"description\":\"Descrição do último cartão\"} ]", + "create": "Criar", + "createBoardPopup-title": "Criar Quadro", + "chooseBoardSourcePopup-title": "Importar quadro", + "createLabelPopup-title": "Criar Etiqueta", + "createCustomField": "Criar Campo", + "createCustomFieldPopup-title": "Criar Campo", + "current": "actual", + "custom-field-delete-pop": "Não existe desfazer. Isto irá remover este campo personalizado de todos os cartões e destruir o seu histórico", + "custom-field-checkbox": "Caixa de selecção", + "custom-field-currency": "Moeda", + "custom-field-currency-option": "Código de Moeda", + "custom-field-date": "Data", + "custom-field-dropdown": "Lista Suspensa", + "custom-field-dropdown-none": "(nada)", + "custom-field-dropdown-options": "Opções da Lista", + "custom-field-dropdown-options-placeholder": "Pressione enter para adicionar mais opções", + "custom-field-dropdown-unknown": "(desconhecido)", + "custom-field-number": "Número", + "custom-field-text": "Texto", + "custom-fields": "Campos Personalizados", + "date": "Data", + "decline": "Rejeitar", + "default-avatar": "Avatar por omissão", + "delete": "Apagar", + "deleteCustomFieldPopup-title": "Apagar o Campo Personalizado?", + "deleteLabelPopup-title": "Apagar a Etiqueta?", + "description": "Descrição", + "disambiguateMultiLabelPopup-title": "Desambiguar Acção da Etiqueta", + "disambiguateMultiMemberPopup-title": "Desambiguar Acção do Membro", + "discard": "Descartar", + "done": "Feito", + "download": "Descarregar", + "edit": "Editar", + "edit-avatar": "Alterar o Avatar", + "edit-profile": "Editar o Perfil", + "edit-wip-limit": "Editar o Limite WIP", + "soft-wip-limit": "Limite Suave de WIP", + "editCardStartDatePopup-title": "Alterar a data de início", + "editCardDueDatePopup-title": "Alterar a data limite", + "editCustomFieldPopup-title": "Editar Campo", + "editCardSpentTimePopup-title": "Alterar o tempo gasto", + "editLabelPopup-title": "Alterar a Etiqueta", + "editNotificationPopup-title": "Editar a Notificação", + "editProfilePopup-title": "Editar o Perfil", + "email": "E-mail", + "email-enrollAccount-subject": "Uma conta foi criada para si em __siteName__", + "email-enrollAccount-text": "Olá __user__\nPara começar a utilizar o serviço, basta clicar na ligação abaixo.\n__url__\nObrigado.", + "email-fail": "Falhou a enviar o e-mail", + "email-fail-text": "Erro a tentar enviar o e-mail", + "email-invalid": "E-mail inválido", + "email-invite": "Convidar via E-mail", + "email-invite-subject": "__inviter__ enviou-lhe um convite", + "email-invite-text": "Caro __user__\n__inviter__ convidou-o para se juntar ao quadro \"__board__\" para colaborar.\nPor favor prossiga através da ligação abaixo:\n__url__\nObrigado.", + "email-resetPassword-subject": "Redefina sua senha em __siteName__", + "email-resetPassword-text": "Olá __user__\nPara redefinir a sua senha, por favor clique na ligação abaixo.\n__url__\nObrigado.", + "email-sent": "E-mail enviado", + "email-verifyEmail-subject": "Verifique o seu endereço de e-mail em __siteName__", + "email-verifyEmail-text": "Olá __user__\nPara verificar a sua conta de e-mail, clique na ligação abaixo.\n__url__\nObrigado.", + "enable-wip-limit": "Ativar Limite WIP", + "error-board-doesNotExist": "Este quadro não existe", + "error-board-notAdmin": "Precisa de ser administrador deste quadro para fazer isso", + "error-board-notAMember": "Precisa de ser um membro deste quadro para fazer isso", + "error-json-malformed": "O seu texto não é um JSON válido", + "error-json-schema": "O seu JSON não inclui as informações apropriadas no formato correto", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "Esta lista não existe", + "error-user-doesNotExist": "Este utilizador não existe", + "error-user-notAllowSelf": "Não se pode convidar a si mesmo", + "error-user-notCreated": "Este utilizador não foi criado", + "error-username-taken": "Esse nome de utilizador já existe", + "error-email-taken": "Endereço de e-mail já está em uso", + "export-board": "Exportar quadro", + "export-board-json": "Export board to JSON", + "export-board-csv": "Export board to CSV", + "export-board-tsv": "Export board to TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "Exportar quadro", + "sort": "Ordenar", + "sort-desc": "Clique para ordenar a Lista", + "list-sort-by": "Ordenar a Lista por:", + "list-label-modifiedAt": "Last Access Time", + "list-label-title": "Nome da Lista", + "list-label-sort": "Your Manual Order", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Filtrar", + "filter-cards": "Filtrar Cartões ou Listas", + "list-filter-label": "Filtrar Lista por Título", + "filter-clear": "Limpar filtro", + "filter-no-label": "Sem etiquetas", + "filter-no-member": "Sem membros", + "filter-no-assignee": "No assignee", + "filter-no-custom-fields": "Sem Campos Personalizados", + "filter-show-archive": "Mostrar listas arquivadas", + "filter-hide-empty": "Ocultar listas vazias", + "filter-on": "Filtro está activo", + "filter-on-desc": "Está a filtrar cartões neste quadro. Clique aqui para editar o filtro.", + "filter-to-selection": "Filtrar esta selecção", + "advanced-filter-label": "Filtro Avançado", + "advanced-filter-description": "Filtro Avançado permite escrever uma \"string\" contendo os seguintes operadores: == != <= >= && || ( ). Um espaço é usado como separador entre Operadores. Pode filtrar em todos os Campos Personalizados escreventos os seus nomes e valores. Por Exemplo: Campo1 == Valor1. Nota: Se os campos ou valores contiverem espaços, tem de os encapsular em apóstrofes. Por Exemplo: 'Campo 1' == 'Valor 1'. Para que caracteres de controlo únicos (' \\/) sejam ignorados, pode usar \\. Por exemplo: Campo1 == I\\'m. Pode também combinar múltiplas condições. Por Exemplo: F1 == V1 || F1 == V2. Normalmente todos os operadores são interpretados da esquerda para a direita. Pode alterar a ordem inserindo parênteses. Por Exemplo: F1 == V1 && ( F2 == V2 || F2 == V3 ). Pode também procurar em campos de texto utilizando uma expressão regular: F1 == /Tes.*/i", + "fullname": "Nome Completo", + "header-logo-title": "Voltar para a sua lista de quadros.", + "hide-system-messages": "Esconder mensagens de sistema", + "headerBarCreateBoardPopup-title": "Criar Quadro", + "home": "Início", + "import": "Importar", + "link": "Ligação", + "import-board": "importar quadro", + "import-board-c": "Importar quadro", + "import-board-title-trello": "Importar quadro do Trello", + "import-board-title-wekan": "Importar quadro a partir de exportação prévia", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "Do Trello", + "from-wekan": "A partir de exportação prévia", + "from-csv": "De CSV/TSV", + "import-board-instruction-trello": "No seu quadro do Trello, vá em 'Menu', depois em 'Mais', 'Imprimir e Exportar', 'Exportar JSON', e copie o texto resultante.", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "No seu quadro vá para 'Menu', depois 'Exportar quadro' e copie o texto no ficheiro descarregado.", + "import-board-instruction-about-errors": "Se receber erros ao importar o quadro, às vezes a importação ainda funciona e o quadro está na página Todos os Quadros.", + "import-json-placeholder": "Cole seus dados JSON válidos aqui", + "import-csv-placeholder": "Copie aqui os seus dados CSV/TSV", + "import-map-members": "Mapear membros", + "import-members-map": "O seu quadro importado possui alguns membros. Por favor, mapeie os membros que deseja importar para seus utilizadores", + "import-show-user-mapping": "Rever mapeamento dos membros", + "import-user-select": "Escolha um utilizador existente que deseja usar como esse membro", + "importMapMembersAddPopup-title": "Seleccione membro", + "info": "Versão", + "initials": "Iniciais", + "invalid-date": "Data inválida", + "invalid-time": "Hora inválida", + "invalid-user": "Utilizador inválido", + "joined": "juntou-se", + "just-invited": "Acabou de ser convidado para este quadro", + "keyboard-shortcuts": "Atalhos do teclado", + "label-create": "Criar Etiqueta", + "label-default": "%s etiqueta (omissão)", + "label-delete-pop": "Não há como desfazer. A etiqueta será apagada de todos os cartões e o seu histórico será destruído.", + "labels": "Etiquetas", + "language": "Idioma", + "last-admin-desc": "Não pode alterar funções porque deve existir pelo menos um administrador.", + "leave-board": "Sair do Quadro", + "leave-board-pop": "Tem a certeza de que pretende sair de __boardTitle__? Será removido de todos os cartões neste quadro.", + "leaveBoardPopup-title": "Sair do Quadro ?", + "link-card": "Ligar a este cartão", + "list-archive-cards": "Move todos os cartões nesta lista para o Arquivo", + "list-archive-cards-pop": "Isto irá remover todos os cartões nesta lista do quadro. Para ver os cartões no Arquivo e trazê-los de volta para o quadro, clique em “Menu” > “Arquivo”.", + "list-move-cards": "Mover todos os cartões nesta lista", + "list-select-cards": "Seleccionar todos os cartões nesta lista", + "set-color-list": "Definir Cor", + "listActionPopup-title": "Listar Ações", + "swimlaneActionPopup-title": "Acções de Pista", + "swimlaneAddPopup-title": "Adicionar uma Pista abaixo", + "listImportCardPopup-title": "Importe um cartão do Trello", + "listImportCardsTsvPopup-title": "Importar Excel CSV/TSV", + "listMorePopup-title": "Mais", + "link-list": "Ligar a esta lista", + "list-delete-pop": "Todas as acções serão removidas do feed de actividade e não poderá recuperar a lista. Não há como desfazer.", + "list-delete-suggest-archive": "Pode mover uma lista para o Arquivo para a remover do quadro e preservar a actividade.", + "lists": "Listas", + "swimlanes": "Pistas", + "log-out": "Terminar a Sessão", + "log-in": "Entrar", + "loginPopup-title": "Entrar", + "memberMenuPopup-title": "Configuração dos Membros", + "members": "Membros", + "menu": "Menu", + "move-selection": "Mover a selecção", + "moveCardPopup-title": "Mover o Cartão", + "moveCardToBottom-title": "Mover para o Fundo", + "moveCardToTop-title": "Mover para o Topo", + "moveSelectionPopup-title": "Mover a selecção", + "multi-selection": "Selecção Múltipla", + "multi-selection-on": "Selecção Múltipla está activa", + "muted": "Silenciado", + "muted-info": "Nunca será notificado de quaisquer alterações neste quadro", + "my-boards": "Meus Quadros", + "name": "Nome", + "no-archived-cards": "Sem cartões no Arquivo.", + "no-archived-lists": "Sem listas no Arquivo.", + "no-archived-swimlanes": "Sem pistas no Arquivo.", + "no-results": "Nenhum resultado.", + "normal": "Normal", + "normal-desc": "Pode ver e editar cartões. Não pode alterar configurações.", + "not-accepted-yet": "Convite ainda não aceite", + "notify-participate": "Receber actualizações de qualquer cartão que criar ou participar como membro", + "notify-watch": "Receber actualizações de qualquer quadro, lista ou cartões que estiver a observar", + "optional": "opcional", + "or": "ou", + "page-maybe-private": "Esta página pode ser privada. Poderá vê-la se iniciar a sessão.", + "page-not-found": "Página não encontrada.", + "password": "Senha", + "paste-or-dragdrop": "para colar, ou arrastar e soltar o ficheiro da imagem para lá (somente imagens)", + "participating": "Participando", + "preview": "Pré-visualizar", + "previewAttachedImagePopup-title": "Pré-visualizar", + "previewClipboardImagePopup-title": "Pré-visualizar", + "private": "Privado", + "private-desc": "Este quadro é privado. Apenas o membros do quadro o podem visualizar e editar.", + "profile": "Perfil", + "public": "Público", + "public-desc": "Este quadro é público. Está visível para qualquer pessoa com a ligação e será exibido em motores de busca como o Google. Apenas os membros do quadro o podem editar.", + "quick-access-description": "Clique na estrela de um quadro para adicionar um atalho nesta barra.", + "remove-cover": "Remover Capa", + "remove-from-board": "Remover do Quadro", + "remove-label": "Remover Etiqueta", + "listDeletePopup-title": "Apagar Lista ?", + "remove-member": "Remover Membro", + "remove-member-from-card": "Remover do Cartão", + "remove-member-pop": "Remover __name__ (__username__) de __boardTitle__? O membro será removido de todos os cartões neste quadro e será notificado.", + "removeMemberPopup-title": "Remover Membro?", + "rename": "Renomear", + "rename-board": "Renomear Quadro", + "restore": "Restaurar", + "save": "Guardar", + "search": "Procurar", + "rules": "Regras", + "search-cards": "Search from card/list titles, descriptions and custom fields on this board", + "search-example": "Texto a procurar?", + "select-color": "Seleccionar Cor", + "set-wip-limit-value": "Defina um limite máximo para o número de tarefas nesta lista", + "setWipLimitPopup-title": "Definir Limite WIP", + "shortcut-assign-self": "Atribuir a si o cartão actual", + "shortcut-autocomplete-emoji": "Autocompletar emoji", + "shortcut-autocomplete-members": "Autocompletar membros", + "shortcut-clear-filters": "Limpar todos os filtros", + "shortcut-close-dialog": "Fechar Caixa de Dialogo", + "shortcut-filter-my-cards": "Filtrar os meus cartões", + "shortcut-show-shortcuts": "Mostrar esta lista de atalhos", + "shortcut-toggle-filterbar": "Alternar a Barra Lateral de Filtros", + "shortcut-toggle-sidebar": "Alternar a Barra Lateral do Quadro", + "show-cards-minimum-count": "Mostrar contagem de cartões se a lista tiver mais de", + "sidebar-open": "Abrir a Barra Lateral", + "sidebar-close": "Fechar a Barra Lateral", + "signupPopup-title": "Criar uma Conta", + "star-board-title": "Clique para marcar este quadro como favorito. O quadro irá aparecer no topo da sua lista de quadros.", + "starred-boards": "Quadros Favoritos", + "starred-boards-description": "Os quadros favoritos aparecem no topo da sua lista de quadros.", + "subscribe": "Subscrever", + "team": "Equipa", + "this-board": "este quadro", + "this-card": "este cartão", + "spent-time-hours": "Tempo gasto (horas)", + "overtime-hours": "Horas extra (horas)", + "overtime": "Horas extra", + "has-overtime-cards": "Tem cartões com horas extra", + "has-spenttime-cards": "Tem cartões com tempo gasto", + "time": "Tempo", + "title": "Título", + "tracking": "A seguir", + "tracking-info": "Será notificado de quaisquer alterações em cartões em que é o criador ou membro.", + "type": "Tipo", + "unassign-member": "Desatribuir membro", + "unsaved-description": "Possui uma descrição não guardada.", + "unwatch": "Deixar de observar", + "upload": "Enviar", + "upload-avatar": "Enviar um avatar", + "uploaded-avatar": "Enviado um avatar", + "username": "Nome de utilizador", + "view-it": "Visualizá-lo", + "warn-list-archived": "aviso: este cartão está numa lista no Arquivo", + "watch": "Observar", + "watching": "Observando", + "watching-info": "Será notificado de quaisquer alterações neste quadro", + "welcome-board": "Quadro de Boas Vindas", + "welcome-swimlane": "Marco 1", + "welcome-list1": "Básico", + "welcome-list2": "Avançado", + "card-templates-swimlane": "Modelos de Cartão", + "list-templates-swimlane": "Modelos de Lista", + "board-templates-swimlane": "Modelos de Quadro", + "what-to-do": "O que gostaria de fazer?", + "wipLimitErrorPopup-title": "Limite WIP Inválido", + "wipLimitErrorPopup-dialog-pt1": "O número de tarefas nesta lista excede o limite WIP definido.", + "wipLimitErrorPopup-dialog-pt2": "Por favor, mova algumas tarefas para fora desta lista, ou defina um limite WIP mais elevado.", + "admin-panel": "Painel Administrativo", + "settings": "Configurações", + "people": "Pessoas", + "registration": "Registo", + "disable-self-registration": "Desabilitar Auto-Registo", + "invite": "Convidar", + "invite-people": "Convidar Pessoas", + "to-boards": "Para o(s) quadro(s)", + "email-addresses": "Endereços de E-mail", + "smtp-host-description": "O endereço do servidor SMTP que envia os seus e-mails.", + "smtp-port-description": "A porta que o servidor SMTP usa para enviar os e-mails.", + "smtp-tls-description": "Habilitar suporte TLS para o servidor SMTP", + "smtp-host": "Servidor SMTP", + "smtp-port": "Porta SMTP", + "smtp-username": "Nome de utilizador", + "smtp-password": "Senha", + "smtp-tls": "Suporte TLS", + "send-from": "De", + "send-smtp-test": "Enviar um e-mail de teste para si mesmo", + "invitation-code": "Código do Convite", + "email-invite-register-subject": "__inviter__ enviou-lhe um convite", + "email-invite-register-text": "Caro __user__,\n\n__inviter__ convida-o para o quadro Kanban para colaborações.\n\nPor favor, siga a ligação abaixo:\n__url__ \n\nE seu código de convite é: __icode__\n\nObrigado.", + "email-smtp-test-subject": "E-mail de Teste de SMTP", + "email-smtp-test-text": "Enviou um e-mail com sucesso", + "error-invitation-code-not-exist": "O código do convite não existe", + "error-notAuthorized": "Não tem autorização para ver esta página.", + "webhook-title": "Webhook Name", + "webhook-token": "Token (Optional for Authentication)", + "outgoing-webhooks": "Webhooks de saída", + "bidirectional-webhooks": "Two-Way Webhooks", + "outgoingWebhooksPopup-title": "Webhooks de saída", + "boardCardTitlePopup-title": "Filtro do Título do Cartão", + "disable-webhook": "Disable This Webhook", + "global-webhook": "Global Webhooks", + "new-outgoing-webhook": "Novo Webhook de saída", + "no-name": "(Desconhecido)", + "Node_version": "Versão do Node", + "Meteor_version": "Versão do Meteor", + "MongoDB_version": "Versão do MongoDB", + "MongoDB_storage_engine": "Versão do motor de armazenamento do MongoDB", + "MongoDB_Oplog_enabled": "Oplog do MongoDB activo", + "OS_Arch": "Arquitectura do SO", + "OS_Cpus": "Quantidade de CPUs do SO", + "OS_Freemem": "Memória Disponível do SO", + "OS_Loadavg": "Carga Média do SO", + "OS_Platform": "Plataforma do SO", + "OS_Release": "Versão do SO", + "OS_Totalmem": "Memória Total do SO", + "OS_Type": "Tipo do SO", + "OS_Uptime": "Disponibilidade do SO", + "days": "dias", + "hours": "horas", + "minutes": "minutos", + "seconds": "segundos", + "show-field-on-card": "Mostrar este campo no cartão", + "automatically-field-on-card": "Criar campo automaticamente para todos os cartões", + "showLabel-field-on-card": "Mostrar etiqueta do campo no mini-cartão", + "yes": "Sim", + "no": "Não", + "accounts": "Contas", + "accounts-allowEmailChange": "Permitir Alteração do E-mail", + "accounts-allowUserNameChange": "Permitir Alteração de Nome de Utilizador", + "createdAt": "Criado em", + "verified": "Verificado", + "active": "Activo", + "card-received": "Recebido", + "card-received-on": "Recebido em", + "card-end": "Fim", + "card-end-on": "Termina em", + "editCardReceivedDatePopup-title": "Alterar data de recebimento", + "editCardEndDatePopup-title": "Alterar data de fim", + "setCardColorPopup-title": "Definir cor", + "setCardActionsColorPopup-title": "Escolha uma cor", + "setSwimlaneColorPopup-title": "Escolha uma cor", + "setListColorPopup-title": "Escolha uma cor", + "assigned-by": "Atribuído Por", + "requested-by": "Solicitado Por", + "board-delete-notice": "Apagar é permanente. Irá perder todas as listas, cartões e acções associadas a este quadro.", + "delete-board-confirm-popup": "Todas as listas, cartões, etiquetas e actividades serão apagadas e não poderá recuperar o conteúdo do quadro. Não há como desfazer.", + "boardDeletePopup-title": "Apagar Quadro?", + "delete-board": "Apagar Quadro", + "default-subtasks-board": "Sub-tarefas para o quadro __board__", + "default": "Omissão", + "queue": "Fila", + "subtask-settings": "Configurações de Sub-tarefas", + "card-settings": "Card Settings", + "boardSubtaskSettingsPopup-title": "Configurações das Sub-tarefas do Quadro", + "boardCardSettingsPopup-title": "Card Settings", + "deposit-subtasks-board": "Depositar sub-tarefas neste quadro:", + "deposit-subtasks-list": "Lista de destino para sub-tarefas depositadas aqui:", + "show-parent-in-minicard": "Mostrar pai no mini-cartão:", + "prefix-with-full-path": "Prefixar com o caminho completo", + "prefix-with-parent": "Prefixar com o pai", + "subtext-with-full-path": "Sub-texto com o caminho completo", + "subtext-with-parent": "Sub-texto com o pai", + "change-card-parent": "Alterar o pai do cartão", + "parent-card": "Pai do cartão", + "source-board": "Quadro fonte", + "no-parent": "Não mostrar o pai", + "activity-added-label": "adicionou a etiqueta '%s' a %s", + "activity-removed-label": "removeu a etiqueta '%s' de %s", + "activity-delete-attach": "apagou um anexo de %s", + "activity-added-label-card": "adicionou a etiqueta '%s'", + "activity-removed-label-card": "removeu a etiqueta '%s'", + "activity-delete-attach-card": "apagou um anexo", + "activity-set-customfield": "definiu o campo personalizado '%s' para '%s' em %s", + "activity-unset-customfield": "removeu o campo personalizado '%s' de %s", + "r-rule": "Regra", + "r-add-trigger": "Adicionar gatilho", + "r-add-action": "Adicionar acção", + "r-board-rules": "Regras do quadro", + "r-add-rule": "Adicionar regra", + "r-view-rule": "Ver regra", + "r-delete-rule": "Apagar regra", + "r-new-rule-name": "Título da nova regra", + "r-no-rules": "Sem regras", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "Quando um cartão", + "r-is": "é", + "r-is-moved": "é movido", + "r-added-to": "Adicionado a", + "r-removed-from": "Removido de", + "r-the-board": "o quadro", + "r-list": "lista", + "set-filter": "Definir Filtro", + "r-moved-to": "Movido para", + "r-moved-from": "Movido de", + "r-archived": "Movido para o Arquivo", + "r-unarchived": "Restaurado do Arquivo", + "r-a-card": "um cartão", + "r-when-a-label-is": "Quando uma etiqueta é", + "r-when-the-label": "Quando a etiqueta é", + "r-list-name": "listar o nome", + "r-when-a-member": "Quando um membro é", + "r-when-the-member": "Quando o membro", + "r-name": "nome", + "r-when-a-attach": "Quando um anexo", + "r-when-a-checklist": "Quando a lista de verificação é", + "r-when-the-checklist": "Quando a lista de verificação", + "r-completed": "Completada", + "r-made-incomplete": "Tornado incompleta", + "r-when-a-item": "Quando um item de uma lista de verificação é", + "r-when-the-item": "Quando o item da lista de verificação", + "r-checked": "Marcado", + "r-unchecked": "Desmarcado", + "r-move-card-to": "Mover cartão para", + "r-top-of": "Topo de", + "r-bottom-of": "Fundo de", + "r-its-list": "a sua lista", + "r-archive": "Mover para o Arquivo", + "r-unarchive": "Restaurar do Arquivo", + "r-card": "cartão", + "r-add": "Novo", + "r-remove": "Remover", + "r-label": "etiqueta", + "r-member": "membro", + "r-remove-all": "Remover todos os membros do cartão", + "r-set-color": "Definir a cor para", + "r-checklist": "lista de verificação", + "r-check-all": "Marcar todos", + "r-uncheck-all": "Desmarcar todos", + "r-items-check": "itens da lista de verificação", + "r-check": "Marcar", + "r-uncheck": "Desmarcar", + "r-item": "item", + "r-of-checklist": "da lista de verificação", + "r-send-email": "Enviar um e-mail", + "r-to": "para", + "r-of": "de", + "r-subject": "assunto", + "r-rule-details": "Detalhes da regra", + "r-d-move-to-top-gen": "Mover cartão para o topo da sua lista", + "r-d-move-to-top-spec": "Mover cartão para o topo da lista", + "r-d-move-to-bottom-gen": "Mover cartão para o fundo da sua lista", + "r-d-move-to-bottom-spec": "Mover cartão para fundo da lista", + "r-d-send-email": "Enviar e-mail", + "r-d-send-email-to": "para", + "r-d-send-email-subject": "assunto", + "r-d-send-email-message": "mensagem", + "r-d-archive": "Mover cartão para o Arquivo", + "r-d-unarchive": "Restaurar cartão do Arquivo", + "r-d-add-label": "Adicionar etiqueta", + "r-d-remove-label": "Remover etiqueta", + "r-create-card": "Criar novo cartão", + "r-in-list": "na lista", + "r-in-swimlane": "na pista", + "r-d-add-member": "Adicionar membro", + "r-d-remove-member": "Remover membro", + "r-d-remove-all-member": "Remover todos os membros", + "r-d-check-all": "Marcar todos os itens de uma lista", + "r-d-uncheck-all": "Desmarcar todos os itens de uma lista", + "r-d-check-one": "Marcar item", + "r-d-uncheck-one": "Desmarcar item", + "r-d-check-of-list": "da lista de verificação", + "r-d-add-checklist": "Adicionar lista de verificação", + "r-d-remove-checklist": "Remover lista de verificação", + "r-by": "por", + "r-add-checklist": "Adicionar lista de verificação", + "r-with-items": "com os itens", + "r-items-list": "item1,item2,item3", + "r-add-swimlane": "Adicionar pista", + "r-swimlane-name": "nome da pista", + "r-board-note": "Nota: deixe o campo vazio para corresponder a todos os valores possíveis.", + "r-checklist-note": "Nota: itens de listas de verificação devem ser escritos separados por vírgulas.", + "r-when-a-card-is-moved": "Quando um cartão é movido de outra lista", + "r-set": "Definir", + "r-update": "Actualizar", + "r-datefield": "campo de data", + "r-df-start-at": "início", + "r-df-due-at": "data limite", + "r-df-end-at": "fim", + "r-df-received-at": "recebido", + "r-to-current-datetime": "até à data/hora actual", + "r-remove-value-from": "Remover valor de", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Método de autenticação", + "authentication-type": "Tipo de autenticação", + "custom-product-name": "Nome Personalizado do Produto", + "layout": "Layout", + "hide-logo": "Esconder Logo", + "add-custom-html-after-body-start": "Adicionar HTML Personalizado depois do início do ", + "add-custom-html-before-body-end": "Adicionar HTML Personalizado antes do fim do ", + "error-undefined": "Ocorreu um erro", + "error-ldap-login": "Ocorreu um erro ocorreu enquanto tentava entrar", + "display-authentication-method": "Mostrar Método de Autenticação", + "default-authentication-method": "Método de Autenticação por Omissão", + "duplicate-board": "Duplicar Quadro", + "people-number": "O número de pessoas é:", + "swimlaneDeletePopup-title": "Apagar Pista ?", + "swimlane-delete-pop": "Todas as acções serão removidas do feed de actividade e não será possível recuperar a pista. Não há como desfazer.", + "restore-all": "Restaurar todos", + "delete-all": "Apagar todos", + "loading": "A carregar, por favor aguarde.", + "previous_as": "última data era", + "act-a-dueAt": "modificou a data limite para \nQuando: __timeValue__\nOnde: __card__\n a data limite anterior era __timeOldValue__", + "act-a-endAt": "modificou a data de fim para __timeValue__ de (__timeOldValue__)", + "act-a-startAt": "modificou a data de início para __timeValue__ de (__timeOldValue__)", + "act-a-receivedAt": "modificou a data recebida para __timeValue__ de (__timeOldValue__)", + "a-dueAt": "modificou a data limite para", + "a-endAt": "modificou a data de fim para", + "a-startAt": "modificou a data de início para", + "a-receivedAt": "modificou a data recebida para", + "almostdue": "a data limite actual %s está-se a aproximar", + "pastdue": "a data limite actual %s já passou", + "duenow": "a data limite actual %s é hoje", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "estava a lembrar que a data limite actual (__timeValue__) de __card__ está-se a aproximar", + "act-pastdue": "estava a lembrar que a data limite (__timeValue__) de __card__ já passou", + "act-duenow": "estava a lembrar que a data limite (__timeValue__) de __card__ é agora", + "act-atUserComment": "You were mentioned in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Tem a certeza que pretende apagar esta conta? Não há como desfazer.", + "accounts-allowUserDelete": "Permitir aos utilizadores apagar as suas próprias contas", + "hide-minicard-label-text": "Ocultar texto das etiquetas dos mini-cartões", + "show-desktop-drag-handles": "Show desktop drag handles", + "assignee": "Assignee", + "cardAssigneesPopup-title": "Assignee", + "addmore-detail": "Adicionar uma descrição mais detalhada", + "show-on-card": "Show on Card", + "new": "Novo", + "editUserPopup-title": "Editar Utilizador", + "newUserPopup-title": "Novo Utilizador", + "notifications": "Notificações", + "view-all": "Ver Todos", + "filter-by-unread": "Filtrar por não lidos", + "mark-all-as-read": "Marcar todos como lidos", + "remove-all-read": "Apagar todos os lidos", + "allow-rename": "Permitir Renomear", + "allowRenamePopup-title": "Permitir Renomear", + "start-day-of-week": "Set day of the week start", + "monday": "Segunda-feira", + "tuesday": "Terça-feira", + "wednesday": "Quarta-feira", + "thursday": "Quinta-feira", + "friday": "Sexta-feira", + "saturday": "Sábado", + "sunday": "Domingo", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Modificado pela última vez em", + "last-activity": "Última actividade", + "voting": "Voting", + "archived": "Arquivado", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/ro.i18n.json b/i18n/ro.i18n.json new file mode 100644 index 0000000..f6d6b09 --- /dev/null +++ b/i18n/ro.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Aceptă", + "act-activity-notify": "Activity Notification", + "act-addAttachment": "added attachment __attachment__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteAttachment": "deleted attachment __attachment__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addSubtask": "added subtask __subtask__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addedLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removedLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklist": "added checklist __checklist__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklistItem": "added checklist item __checklistItem__ to checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklist": "removed checklist __checklist__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklistItem": "removed checklist item __checklistItem__ from checklist __checkList__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-checkedItem": "checked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncheckedItem": "unchecked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-completeChecklist": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncompleteChecklist": "uncompleted checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addComment": "commented on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-editComment": "edited comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteComment": "deleted comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createBoard": "created board __board__", + "act-createSwimlane": "created swimlane __swimlane__ to board __board__", + "act-createCard": "created card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-createCustomField": "created custom field __customField__ at board __board__", + "act-deleteCustomField": "deleted custom field __customField__ at board __board__", + "act-setCustomField": "edited custom field __customField__: __customFieldValue__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createList": "added list __list__ to board __board__", + "act-addBoardMember": "added member __member__ to board __board__", + "act-archivedBoard": "Board __board__ moved to Archive", + "act-archivedCard": "Card __card__ at list __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedList": "List __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedSwimlane": "Swimlane __swimlane__ at board __board__ moved to Archive", + "act-importBoard": "imported board __board__", + "act-importCard": "imported card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-importList": "imported list __list__ to swimlane __swimlane__ at board __board__", + "act-joinMember": "added member __member__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-moveCard": "moved card __card__ at board __board__ from list __oldList__ at swimlane __oldSwimlane__ to list __list__ at swimlane __swimlane__", + "act-moveCardToOtherBoard": "moved card __card__ from list __oldList__ at swimlane __oldSwimlane__ at board __oldBoard__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-removeBoardMember": "removed member __member__ from board __board__", + "act-restoredCard": "restored card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-unjoinMember": "removed member __member__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Acțiuni", + "activities": "Activități", + "activity": "Activitate", + "activity-added": "s-a adăugat %s la %s", + "activity-archived": "%s moved to Archive", + "activity-attached": "s-a atașat %s la %s", + "activity-created": "s-a creat %s", + "activity-customfield-created": "created custom field %s", + "activity-excluded": "s-a exclus %s din %s", + "activity-imported": "s-a importat %s în %s din %s", + "activity-imported-board": "s-a importat %s din %s", + "activity-joined": "ai devenit membru %s", + "activity-moved": "s-a mutat %s din %s în%s", + "activity-on": "on %s", + "activity-removed": "s-a șters %s din %s", + "activity-sent": "s-a trimis %s către%s", + "activity-unjoined": "nu mai ești membru al %s", + "activity-subtask-added": "added subtask to %s", + "activity-checked-item": "checked %s in checklist %s of %s", + "activity-unchecked-item": "unchecked %s in checklist %s of %s", + "activity-checklist-added": "added checklist to %s", + "activity-checklist-removed": "removed a checklist from %s", + "activity-checklist-completed": "completed checklist %s of %s", + "activity-checklist-uncompleted": "uncompleted the checklist %s of %s", + "activity-checklist-item-added": "added checklist item to '%s' in %s", + "activity-checklist-item-removed": "removed a checklist item from '%s' in %s", + "add": "Adaugă", + "activity-checked-item-card": "checked %s in checklist %s", + "activity-unchecked-item-card": "unchecked %s in checklist %s", + "activity-checklist-completed-card": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "activity-checklist-uncompleted-card": "uncompleted the checklist %s", + "activity-editComment": "edited comment %s", + "activity-deleteComment": "deleted comment %s", + "add-attachment": "Add Attachment", + "add-board": "Add Board", + "add-card": "Add Card", + "add-swimlane": "Add Swimlane", + "add-subtask": "Add Subtask", + "add-checklist": "Add Checklist", + "add-checklist-item": "Add an item to checklist", + "add-cover": "Adaugă Decor", + "add-label": "Add Label", + "add-list": "Add List", + "add-members": "Adaugă Membrii", + "added": "S-a adăugat", + "addMemberPopup-title": "Membrii", + "admin": "Admin", + "admin-desc": "Poate vedea și edita carduri, șterge membrii, și schimba setările tablei.", + "admin-announcement": "Announcement", + "admin-announcement-active": "Active System-Wide Announcement", + "admin-announcement-title": "Announcement from Administrator", + "all-boards": "Toate tablele", + "and-n-other-card": "Și __count__ alt card", + "and-n-other-card_plural": "Și __count__ alte carduri", + "apply": "Apply", + "app-is-offline": "Loading, please wait. Refreshing the page will cause data loss. If loading does not work, please check that server has not stopped.", + "archive": "Move to Archive", + "archive-all": "Move All to Archive", + "archive-board": "Move Board to Archive", + "archive-card": "Move Card to Archive", + "archive-list": "Move List to Archive", + "archive-swimlane": "Move Swimlane to Archive", + "archive-selection": "Move selection to Archive", + "archiveBoardPopup-title": "Move Board to Archive?", + "archived-items": "Arhivă", + "archived-boards": "Boards in Archive", + "restore-board": "Restore Board", + "no-archived-boards": "No Boards in Archive.", + "archives": "Archive", + "template": "Template", + "templates": "Templates", + "assign-member": "Atribuie unui membru", + "attached": "s-a atașat", + "attachment": "Ataşament", + "attachment-delete-pop": "Ștergerea unui atașament este permanentă. Nu există recuperare.", + "attachmentDeletePopup-title": "Șterge Atașament?", + "attachments": "Ataşamente", + "auto-watch": "Automatically watch boards when they are created", + "avatar-too-big": "The avatar is too large (70KB max)", + "back": "Înapoi", + "board-change-color": "Schimbă culoare", + "board-nb-stars": "%s stele", + "board-not-found": "Tabla nu a fost găsită", + "board-private-info": "Această tabla va fi privată.", + "board-public-info": "Această tabla va fi publică.", + "boardChangeColorPopup-title": "Schimbă Fundalul Tablei", + "boardChangeTitlePopup-title": "Redenumește Tabla", + "boardChangeVisibilityPopup-title": "Schimbă Vizibilitatea", + "boardChangeWatchPopup-title": "Change Watch", + "boardMenuPopup-title": "Board Settings", + "boardChangeViewPopup-title": "Board View", + "boards": "Table", + "board-view": "Board View", + "board-view-cal": "Calendar", + "board-view-swimlanes": "Swimlanes", + "board-view-collapse": "Collapse", + "board-view-lists": "Liste", + "bucket-example": "Like “Bucket List” for example", + "cancel": "Anulează", + "card-archived": "This card is moved to Archive.", + "board-archived": "This board is moved to Archive.", + "card-comments-title": "Acest card are %s commentariu.", + "card-delete-notice": "Ștergerea este permanentă. Se vor pierde toate acțiunile asociate acestui card.", + "card-delete-pop": "Toate acțiunile vor fi șterse din jurnalul de activități si nu vei mai putea redeschide cardul. Nu există recuperare.", + "card-delete-suggest-archive": "You can move a card to Archive to remove it from the board and preserve the activity.", + "card-due": "Due", + "card-due-on": "Due on", + "card-spent": "Spent Time", + "card-edit-attachments": "Editează atașamente", + "card-edit-custom-fields": "Edit custom fields", + "card-edit-labels": "Editează etichete", + "card-edit-members": "Editează membrii", + "card-labels-title": "Change the labels for the card.", + "card-members-title": "Add or remove members of the board from the card.", + "card-start": "Start", + "card-start-on": "Starts on", + "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", + "cardStartVotingPopup-title": "Start a vote", + "positiveVoteMembersPopup-title": "Proponents", + "negativeVoteMembersPopup-title": "Opponents", + "card-edit-voting": "Edit voting", + "editVoteEndDatePopup-title": "Change vote end date", + "allowNonBoardMembers": "Allow all logged in users", + "vote-question": "Voting question", + "vote-public": "Show who voted what", + "vote-for-it": "for it", + "vote-against": "against", + "deleteVotePopup-title": "Delete vote?", + "vote-delete-pop": "Deleting is permanent. You will lose all actions associated with this vote.", + "cardDeletePopup-title": "Delete Card?", + "cardDetailsActionsPopup-title": "Card Actions", + "cardLabelsPopup-title": "Labels", + "cardMembersPopup-title": "Members", + "cardMorePopup-title": "More", + "cardTemplatePopup-title": "Create template", + "cards": "Cards", + "cards-count": "Cards", + "casSignIn": "Sign In with CAS", + "cardType-card": "Card", + "cardType-linkedCard": "Linked Card", + "cardType-linkedBoard": "Linked Board", + "change": "Change", + "change-avatar": "Change Avatar", + "change-password": "Change Password", + "change-permissions": "Change permissions", + "change-settings": "Change Settings", + "changeAvatarPopup-title": "Change Avatar", + "changeLanguagePopup-title": "Change Language", + "changePasswordPopup-title": "Change Password", + "changePermissionsPopup-title": "Change Permissions", + "changeSettingsPopup-title": "Change Settings", + "subtasks": "Subtasks", + "checklists": "Checklists", + "click-to-star": "Click to star this board.", + "click-to-unstar": "Click to unstar this board.", + "clipboard": "Clipboard or drag & drop", + "close": "Închide", + "close-board": "Close Board", + "close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.", + "color-black": "black", + "color-blue": "blue", + "color-crimson": "crimson", + "color-darkgreen": "darkgreen", + "color-gold": "gold", + "color-gray": "gray", + "color-green": "green", + "color-indigo": "indigo", + "color-lime": "lime", + "color-magenta": "magenta", + "color-mistyrose": "mistyrose", + "color-navy": "navy", + "color-orange": "orange", + "color-paleturquoise": "paleturquoise", + "color-peachpuff": "peachpuff", + "color-pink": "pink", + "color-plum": "plum", + "color-purple": "purple", + "color-red": "red", + "color-saddlebrown": "saddlebrown", + "color-silver": "silver", + "color-sky": "sky", + "color-slateblue": "slateblue", + "color-white": "white", + "color-yellow": "yellow", + "unset-color": "Unset", + "comment": "Comment", + "comment-placeholder": "Write Comment", + "comment-only": "Comment only", + "comment-only-desc": "Can comment on cards only.", + "no-comments": "No comments", + "no-comments-desc": "Can not see comments and activities.", + "worker": "Worker", + "worker-desc": "Can only move cards, assign itself to card and comment.", + "computer": "Computer", + "confirm-subtask-delete-dialog": "Are you sure you want to delete subtask?", + "confirm-checklist-delete-dialog": "Are you sure you want to delete checklist?", + "copy-card-link-to-clipboard": "Copy card link to clipboard", + "linkCardPopup-title": "Link Card", + "searchElementPopup-title": "Caută", + "copyCardPopup-title": "Copy Card", + "copyChecklistToManyCardsPopup-title": "Copy Checklist Template to Many Cards", + "copyChecklistToManyCardsPopup-instructions": "Destination Card Titles and Descriptions in this JSON format", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"First card title\", \"description\":\"First card description\"}, {\"title\":\"Second card title\",\"description\":\"Second card description\"},{\"title\":\"Last card title\",\"description\":\"Last card description\"} ]", + "create": "Create", + "createBoardPopup-title": "Create Board", + "chooseBoardSourcePopup-title": "Import board", + "createLabelPopup-title": "Create Label", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", + "current": "current", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-currency": "Currency", + "custom-field-currency-option": "Currency Code", + "custom-field-date": "Date", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", + "date": "Date", + "decline": "Decline", + "default-avatar": "Default avatar", + "delete": "Delete", + "deleteCustomFieldPopup-title": "Delete Custom Field?", + "deleteLabelPopup-title": "Delete Label?", + "description": "Description", + "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", + "disambiguateMultiMemberPopup-title": "Disambiguate Member Action", + "discard": "Discard", + "done": "Done", + "download": "Download", + "edit": "Edit", + "edit-avatar": "Change Avatar", + "edit-profile": "Edit Profile", + "edit-wip-limit": "Edit WIP Limit", + "soft-wip-limit": "Soft WIP Limit", + "editCardStartDatePopup-title": "Change start date", + "editCardDueDatePopup-title": "Change due date", + "editCustomFieldPopup-title": "Edit Field", + "editCardSpentTimePopup-title": "Change spent time", + "editLabelPopup-title": "Change Label", + "editNotificationPopup-title": "Edit Notification", + "editProfilePopup-title": "Edit Profile", + "email": "Email", + "email-enrollAccount-subject": "An account created for you on __siteName__", + "email-enrollAccount-text": "Hello __user__,\n\nTo start using the service, simply click the link below.\n\n__url__\n\nThanks.", + "email-fail": "Sending email failed", + "email-fail-text": "Error trying to send email", + "email-invalid": "Invalid email", + "email-invite": "Invite via Email", + "email-invite-subject": "__inviter__ sent you an invitation", + "email-invite-text": "Dear __user__,\n\n__inviter__ invites you to join board \"__board__\" for collaborations.\n\nPlease follow the link below:\n\n__url__\n\nThanks.", + "email-resetPassword-subject": "Reset your password on __siteName__", + "email-resetPassword-text": "Hello __user__,\n\nTo reset your password, simply click the link below.\n\n__url__\n\nThanks.", + "email-sent": "Email sent", + "email-verifyEmail-subject": "Verify your email address on __siteName__", + "email-verifyEmail-text": "Hello __user__,\n\nTo verify your account email, simply click the link below.\n\n__url__\n\nThanks.", + "enable-wip-limit": "Enable WIP Limit", + "error-board-doesNotExist": "This board does not exist", + "error-board-notAdmin": "You need to be admin of this board to do that", + "error-board-notAMember": "You need to be a member of this board to do that", + "error-json-malformed": "Your text is not valid JSON", + "error-json-schema": "Your JSON data does not include the proper information in the correct format", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "This list does not exist", + "error-user-doesNotExist": "This user does not exist", + "error-user-notAllowSelf": "You can not invite yourself", + "error-user-notCreated": "This user is not created", + "error-username-taken": "This username is already taken", + "error-email-taken": "Email has already been taken", + "export-board": "Export board", + "export-board-json": "Export board to JSON", + "export-board-csv": "Export board to CSV", + "export-board-tsv": "Export board to TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "Export board", + "sort": "Sort", + "sort-desc": "Click to Sort List", + "list-sort-by": "Sort the List By:", + "list-label-modifiedAt": "Last Access Time", + "list-label-title": "Name of the List", + "list-label-sort": "Your Manual Order", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Filter", + "filter-cards": "Filter Cards or Lists", + "list-filter-label": "Filter List by Title", + "filter-clear": "Clear filter", + "filter-no-label": "No label", + "filter-no-member": "No member", + "filter-no-assignee": "No assignee", + "filter-no-custom-fields": "No Custom Fields", + "filter-show-archive": "Show archived lists", + "filter-hide-empty": "Hide empty lists", + "filter-on": "Filter is on", + "filter-on-desc": "You are filtering cards on this board. Click here to edit filter.", + "filter-to-selection": "Filter to selection", + "advanced-filter-label": "Advanced Filter", + "advanced-filter-description": "Advanced Filter allows to write a string containing following operators: == != <= >= && || ( ) A space is used as a separator between the Operators. You can filter for all Custom Fields by typing their names and values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need to encapsulate them into single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) to be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally all operators are interpreted from left to right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i", + "fullname": "Full Name", + "header-logo-title": "Go back to your boards page.", + "hide-system-messages": "Hide system messages", + "headerBarCreateBoardPopup-title": "Create Board", + "home": "Home", + "import": "Import", + "link": "Link", + "import-board": "import board", + "import-board-c": "Import board", + "import-board-title-trello": "Import board from Trello", + "import-board-title-wekan": "Import board from previous export", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "From Trello", + "from-wekan": "From previous export", + "from-csv": "From CSV/TSV", + "import-board-instruction-trello": "In your Trello board, go to 'Menu', then 'More', 'Print and Export', 'Export JSON', and copy the resulting text", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "In your board, go to 'Menu', then 'Export board', and copy the text in the downloaded file.", + "import-board-instruction-about-errors": "If you get errors when importing board, sometimes importing still works, and board is at All Boards page.", + "import-json-placeholder": "Paste your valid JSON data here", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "Map members", + "import-members-map": "Your imported board has some members. Please map the members you want to import to your users", + "import-show-user-mapping": "Review members mapping", + "import-user-select": "Pick your existing user you want to use as this member", + "importMapMembersAddPopup-title": "Select member", + "info": "Version", + "initials": "Iniţiale", + "invalid-date": "Invalid date", + "invalid-time": "Invalid time", + "invalid-user": "Invalid user", + "joined": "joined", + "just-invited": "You are just invited to this board", + "keyboard-shortcuts": "Keyboard shortcuts", + "label-create": "Create Label", + "label-default": "%s label (default)", + "label-delete-pop": "There is no undo. This will remove this label from all cards and destroy its history.", + "labels": "Labels", + "language": "Language", + "last-admin-desc": "You can’t change roles because there must be at least one admin.", + "leave-board": "Leave Board", + "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.", + "leaveBoardPopup-title": "Leave Board ?", + "link-card": "Link to this card", + "list-archive-cards": "Move all cards in this list to Archive", + "list-archive-cards-pop": "This will remove all the cards in this list from the board. To view cards in Archive and bring them back to the board, click “Menu” > “Archive”.", + "list-move-cards": "Move all cards in this list", + "list-select-cards": "Select all cards in this list", + "set-color-list": "Set Color", + "listActionPopup-title": "List Actions", + "swimlaneActionPopup-title": "Swimlane Actions", + "swimlaneAddPopup-title": "Add a Swimlane below", + "listImportCardPopup-title": "Import a Trello card", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "More", + "link-list": "Link to this list", + "list-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the list. There is no undo.", + "list-delete-suggest-archive": "You can move a list to Archive to remove it from the board and preserve the activity.", + "lists": "Liste", + "swimlanes": "Swimlanes", + "log-out": "Log Out", + "log-in": "Log In", + "loginPopup-title": "Log In", + "memberMenuPopup-title": "Member Settings", + "members": "Members", + "menu": "Meniu", + "move-selection": "Move selection", + "moveCardPopup-title": "Move Card", + "moveCardToBottom-title": "Move to Bottom", + "moveCardToTop-title": "Move to Top", + "moveSelectionPopup-title": "Move selection", + "multi-selection": "Multi-Selection", + "multi-selection-on": "Multi-Selection is on", + "muted": "Muted", + "muted-info": "You will never be notified of any changes in this board", + "my-boards": "My Boards", + "name": "Nume", + "no-archived-cards": "No cards in Archive.", + "no-archived-lists": "No lists in Archive.", + "no-archived-swimlanes": "No swimlanes in Archive.", + "no-results": "No results", + "normal": "Normal", + "normal-desc": "Can view and edit cards. Can't change settings.", + "not-accepted-yet": "Invitation not accepted yet", + "notify-participate": "Receive updates to any cards you participate as creater or member", + "notify-watch": "Receive updates to any boards, lists, or cards you’re watching", + "optional": "optional", + "or": "or", + "page-maybe-private": "This page may be private. You may be able to view it by logging in.", + "page-not-found": "Page not found.", + "password": "Parolă", + "paste-or-dragdrop": "to paste, or drag & drop image file to it (image only)", + "participating": "Participating", + "preview": "Preview", + "previewAttachedImagePopup-title": "Preview", + "previewClipboardImagePopup-title": "Preview", + "private": "Privat", + "private-desc": "This board is private. Only people added to the board can view and edit it.", + "profile": "Profil", + "public": "Public", + "public-desc": "This board is public. It's visible to anyone with the link and will show up in search engines like Google. Only people added to the board can edit.", + "quick-access-description": "Star a board to add a shortcut in this bar.", + "remove-cover": "Remove Cover", + "remove-from-board": "Remove from Board", + "remove-label": "Remove Label", + "listDeletePopup-title": "Delete List ?", + "remove-member": "Remove Member", + "remove-member-from-card": "Remove from Card", + "remove-member-pop": "Remove __name__ (__username__) from __boardTitle__? The member will be removed from all cards on this board. They will receive a notification.", + "removeMemberPopup-title": "Remove Member?", + "rename": "Rename", + "rename-board": "Rename Board", + "restore": "Restore", + "save": "Salvează", + "search": "Caută", + "rules": "Rules", + "search-cards": "Search from card/list titles, descriptions and custom fields on this board", + "search-example": "Text to search for?", + "select-color": "Select Color", + "set-wip-limit-value": "Set a limit for the maximum number of tasks in this list", + "setWipLimitPopup-title": "Set WIP Limit", + "shortcut-assign-self": "Assign yourself to current card", + "shortcut-autocomplete-emoji": "Autocomplete emoji", + "shortcut-autocomplete-members": "Autocomplete members", + "shortcut-clear-filters": "Clear all filters", + "shortcut-close-dialog": "Close Dialog", + "shortcut-filter-my-cards": "Filter my cards", + "shortcut-show-shortcuts": "Bring up this shortcuts list", + "shortcut-toggle-filterbar": "Toggle Filter Sidebar", + "shortcut-toggle-sidebar": "Toggle Board Sidebar", + "show-cards-minimum-count": "Show cards count if list contains more than", + "sidebar-open": "Open Sidebar", + "sidebar-close": "Close Sidebar", + "signupPopup-title": "Create an Account", + "star-board-title": "Click to star this board. It will show up at top of your boards list.", + "starred-boards": "Starred Boards", + "starred-boards-description": "Starred boards show up at the top of your boards list.", + "subscribe": "Subscribe", + "team": "Team", + "this-board": "this board", + "this-card": "this card", + "spent-time-hours": "Spent time (hours)", + "overtime-hours": "Overtime (hours)", + "overtime": "Overtime", + "has-overtime-cards": "Has overtime cards", + "has-spenttime-cards": "Has spent time cards", + "time": "Time", + "title": "Titlu", + "tracking": "Tracking", + "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", + "unassign-member": "Unassign member", + "unsaved-description": "You have an unsaved description.", + "unwatch": "Unwatch", + "upload": "Upload", + "upload-avatar": "Upload an avatar", + "uploaded-avatar": "Uploaded an avatar", + "username": "Username", + "view-it": "View it", + "warn-list-archived": "warning: this card is in an list at Archive", + "watch": "Watch", + "watching": "Watching", + "watching-info": "You will be notified of any change in this board", + "welcome-board": "Welcome Board", + "welcome-swimlane": "Milestone 1", + "welcome-list1": "Basics", + "welcome-list2": "Advanced", + "card-templates-swimlane": "Card Templates", + "list-templates-swimlane": "List Templates", + "board-templates-swimlane": "Board Templates", + "what-to-do": "Ce ai vrea sa faci?", + "wipLimitErrorPopup-title": "Invalid WIP Limit", + "wipLimitErrorPopup-dialog-pt1": "The number of tasks in this list is higher than the WIP limit you've defined.", + "wipLimitErrorPopup-dialog-pt2": "Please move some tasks out of this list, or set a higher WIP limit.", + "admin-panel": "Admin Panel", + "settings": "Settings", + "people": "People", + "registration": "Registration", + "disable-self-registration": "Disable Self-Registration", + "invite": "Invite", + "invite-people": "Invite People", + "to-boards": "To board(s)", + "email-addresses": "Email Addresses", + "smtp-host-description": "The address of the SMTP server that handles your emails.", + "smtp-port-description": "The port your SMTP server uses for outgoing emails.", + "smtp-tls-description": "Enable TLS support for SMTP server", + "smtp-host": "SMTP Host", + "smtp-port": "SMTP Port", + "smtp-username": "Username", + "smtp-password": "Parolă", + "smtp-tls": "TLS support", + "send-from": "From", + "send-smtp-test": "Send a test email to yourself", + "invitation-code": "Invitation Code", + "email-invite-register-subject": "__inviter__ sent you an invitation", + "email-invite-register-text": "Dear __user__,\n\n__inviter__ invites you to kanban board for collaborations.\n\nPlease follow the link below:\n__url__\n\nAnd your invitation code is: __icode__\n\nThanks.", + "email-smtp-test-subject": "SMTP Test Email", + "email-smtp-test-text": "You have successfully sent an email", + "error-invitation-code-not-exist": "Invitation code doesn't exist", + "error-notAuthorized": "You are not authorized to view this page.", + "webhook-title": "Webhook Name", + "webhook-token": "Token (Optional for Authentication)", + "outgoing-webhooks": "Outgoing Webhooks", + "bidirectional-webhooks": "Two-Way Webhooks", + "outgoingWebhooksPopup-title": "Outgoing Webhooks", + "boardCardTitlePopup-title": "Card Title Filter", + "disable-webhook": "Disable This Webhook", + "global-webhook": "Global Webhooks", + "new-outgoing-webhook": "New Outgoing Webhook", + "no-name": "(Unknown)", + "Node_version": "Node version", + "Meteor_version": "Meteor version", + "MongoDB_version": "MongoDB version", + "MongoDB_storage_engine": "MongoDB storage engine", + "MongoDB_Oplog_enabled": "MongoDB Oplog enabled", + "OS_Arch": "OS Arch", + "OS_Cpus": "OS CPU Count", + "OS_Freemem": "OS Free Memory", + "OS_Loadavg": "OS Load Average", + "OS_Platform": "OS Platform", + "OS_Release": "OS Release", + "OS_Totalmem": "OS Total Memory", + "OS_Type": "OS Type", + "OS_Uptime": "OS Uptime", + "days": "days", + "hours": "hours", + "minutes": "minutes", + "seconds": "seconds", + "show-field-on-card": "Show this field on card", + "automatically-field-on-card": "Auto create field to all cards", + "showLabel-field-on-card": "Show field label on minicard", + "yes": "Yes", + "no": "No", + "accounts": "Accounts", + "accounts-allowEmailChange": "Allow Email Change", + "accounts-allowUserNameChange": "Allow Username Change", + "createdAt": "Created at", + "verified": "Verified", + "active": "Active", + "card-received": "Received", + "card-received-on": "Received on", + "card-end": "End", + "card-end-on": "Ends on", + "editCardReceivedDatePopup-title": "Change received date", + "editCardEndDatePopup-title": "Change end date", + "setCardColorPopup-title": "Set color", + "setCardActionsColorPopup-title": "Choose a color", + "setSwimlaneColorPopup-title": "Choose a color", + "setListColorPopup-title": "Choose a color", + "assigned-by": "Assigned By", + "requested-by": "Requested By", + "board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.", + "delete-board-confirm-popup": "All lists, cards, labels, and activities will be deleted and you won't be able to recover the board contents. There is no undo.", + "boardDeletePopup-title": "Delete Board?", + "delete-board": "Delete Board", + "default-subtasks-board": "Subtasks for __board__ board", + "default": "Default", + "queue": "Queue", + "subtask-settings": "Subtasks Settings", + "card-settings": "Card Settings", + "boardSubtaskSettingsPopup-title": "Board Subtasks Settings", + "boardCardSettingsPopup-title": "Card Settings", + "deposit-subtasks-board": "Deposit subtasks to this board:", + "deposit-subtasks-list": "Landing list for subtasks deposited here:", + "show-parent-in-minicard": "Show parent in minicard:", + "prefix-with-full-path": "Prefix with full path", + "prefix-with-parent": "Prefix with parent", + "subtext-with-full-path": "Subtext with full path", + "subtext-with-parent": "Subtext with parent", + "change-card-parent": "Change card's parent", + "parent-card": "Parent card", + "source-board": "Source board", + "no-parent": "Don't show parent", + "activity-added-label": "added label '%s' to %s", + "activity-removed-label": "removed label '%s' from %s", + "activity-delete-attach": "deleted an attachment from %s", + "activity-added-label-card": "added label '%s'", + "activity-removed-label-card": "removed label '%s'", + "activity-delete-attach-card": "deleted an attachment", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "Rule", + "r-add-trigger": "Add trigger", + "r-add-action": "Add action", + "r-board-rules": "Board rules", + "r-add-rule": "Add rule", + "r-view-rule": "View rule", + "r-delete-rule": "Delete rule", + "r-new-rule-name": "New rule title", + "r-no-rules": "No rules", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "When a card", + "r-is": "is", + "r-is-moved": "is moved", + "r-added-to": "Added to", + "r-removed-from": "Removed from", + "r-the-board": "the board", + "r-list": "list", + "set-filter": "Set Filter", + "r-moved-to": "Moved to", + "r-moved-from": "Moved from", + "r-archived": "Moved to Archive", + "r-unarchived": "Restored from Archive", + "r-a-card": "a card", + "r-when-a-label-is": "When a label is", + "r-when-the-label": "When the label", + "r-list-name": "list name", + "r-when-a-member": "When a member is", + "r-when-the-member": "When the member", + "r-name": "name", + "r-when-a-attach": "When an attachment", + "r-when-a-checklist": "When a checklist is", + "r-when-the-checklist": "When the checklist", + "r-completed": "Completed", + "r-made-incomplete": "Made incomplete", + "r-when-a-item": "When a checklist item is", + "r-when-the-item": "When the checklist item", + "r-checked": "Checked", + "r-unchecked": "Unchecked", + "r-move-card-to": "Move card to", + "r-top-of": "Top of", + "r-bottom-of": "Bottom of", + "r-its-list": "its list", + "r-archive": "Move to Archive", + "r-unarchive": "Restore from Archive", + "r-card": "card", + "r-add": "Add", + "r-remove": "Remove", + "r-label": "label", + "r-member": "member", + "r-remove-all": "Remove all members from the card", + "r-set-color": "Set color to", + "r-checklist": "checklist", + "r-check-all": "Check all", + "r-uncheck-all": "Uncheck all", + "r-items-check": "items of checklist", + "r-check": "Check", + "r-uncheck": "Uncheck", + "r-item": "item", + "r-of-checklist": "of checklist", + "r-send-email": "Send an email", + "r-to": "to", + "r-of": "of", + "r-subject": "subject", + "r-rule-details": "Rule details", + "r-d-move-to-top-gen": "Move card to top of its list", + "r-d-move-to-top-spec": "Move card to top of list", + "r-d-move-to-bottom-gen": "Move card to bottom of its list", + "r-d-move-to-bottom-spec": "Move card to bottom of list", + "r-d-send-email": "Send email", + "r-d-send-email-to": "to", + "r-d-send-email-subject": "subject", + "r-d-send-email-message": "message", + "r-d-archive": "Move card to Archive", + "r-d-unarchive": "Restore card from Archive", + "r-d-add-label": "Add label", + "r-d-remove-label": "Remove label", + "r-create-card": "Create new card", + "r-in-list": "in list", + "r-in-swimlane": "in swimlane", + "r-d-add-member": "Add member", + "r-d-remove-member": "Remove member", + "r-d-remove-all-member": "Remove all member", + "r-d-check-all": "Check all items of a list", + "r-d-uncheck-all": "Uncheck all items of a list", + "r-d-check-one": "Check item", + "r-d-uncheck-one": "Uncheck item", + "r-d-check-of-list": "of checklist", + "r-d-add-checklist": "Add checklist", + "r-d-remove-checklist": "Remove checklist", + "r-by": "by", + "r-add-checklist": "Add checklist", + "r-with-items": "with items", + "r-items-list": "item1,item2,item3", + "r-add-swimlane": "Add swimlane", + "r-swimlane-name": "swimlane name", + "r-board-note": "Note: leave a field empty to match every possible value.", + "r-checklist-note": "Note: checklist's items have to be written as comma separated values.", + "r-when-a-card-is-moved": "When a card is moved to another list", + "r-set": "Set", + "r-update": "Update", + "r-datefield": "date field", + "r-df-start-at": "start", + "r-df-due-at": "due", + "r-df-end-at": "end", + "r-df-received-at": "received", + "r-to-current-datetime": "to current date/time", + "r-remove-value-from": "Remove value from", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Authentication method", + "authentication-type": "Authentication type", + "custom-product-name": "Custom Product Name", + "layout": "Layout", + "hide-logo": "Hide Logo", + "add-custom-html-after-body-start": "Add Custom HTML after start", + "add-custom-html-before-body-end": "Add Custom HTML before end", + "error-undefined": "Something went wrong", + "error-ldap-login": "An error occurred while trying to login", + "display-authentication-method": "Display Authentication Method", + "default-authentication-method": "Default Authentication Method", + "duplicate-board": "Duplicate Board", + "people-number": "The number of people is:", + "swimlaneDeletePopup-title": "Delete Swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Restore all", + "delete-all": "Delete all", + "loading": "Loading, please wait.", + "previous_as": "last time was", + "act-a-dueAt": "modified due time to \nWhen: __timeValue__\nWhere: __card__\n previous due was __timeOldValue__", + "act-a-endAt": "modified ending time to __timeValue__ from (__timeOldValue__)", + "act-a-startAt": "modified starting time to __timeValue__ from (__timeOldValue__)", + "act-a-receivedAt": "modified received time to __timeValue__ from (__timeOldValue__)", + "a-dueAt": "modified due time to be", + "a-endAt": "modified ending time to be", + "a-startAt": "modified starting time to be", + "a-receivedAt": "modified received time to be", + "almostdue": "current due time %s is approaching", + "pastdue": "current due time %s is past", + "duenow": "current due time %s is today", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", + "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", + "act-duenow": "was reminding the current due (__timeValue__) of __card__ is now", + "act-atUserComment": "You were mentioned in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Are you sure you want to delete this account? There is no undo.", + "accounts-allowUserDelete": "Allow users to self delete their account", + "hide-minicard-label-text": "Hide minicard label text", + "show-desktop-drag-handles": "Show desktop drag handles", + "assignee": "Assignee", + "cardAssigneesPopup-title": "Assignee", + "addmore-detail": "Add a more detailed description", + "show-on-card": "Show on Card", + "new": "New", + "editUserPopup-title": "Edit User", + "newUserPopup-title": "New User", + "notifications": "Notifications", + "view-all": "View All", + "filter-by-unread": "Filter by Unread", + "mark-all-as-read": "Mark all as read", + "remove-all-read": "Remove all read", + "allow-rename": "Allow Rename", + "allowRenamePopup-title": "Allow Rename", + "start-day-of-week": "Set day of the week start", + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archived", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/ru.i18n.json b/i18n/ru.i18n.json new file mode 100644 index 0000000..7c39ef7 --- /dev/null +++ b/i18n/ru.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Принять", + "act-activity-notify": "Уведомление о действиях участников", + "act-addAttachment": "прикрепил вложение __attachment__ в карточку __card__ в списке __list__ на дорожке __swimlane__ доски __board__", + "act-deleteAttachment": "удалил вложение __attachment__ из карточки __card__ в списке __list__ на дорожке __swimlane__ доски __board__", + "act-addSubtask": "добавил подзадачу __subtask__ для карточки __card__ в списке __list__ на дорожке __swimlane__ доски __board__", + "act-addLabel": "добавил метку __label__ в карточку __card__ в списке __list__ на дорожке __swimlane__ доски __board__", + "act-addedLabel": "добавил метку __label__ в карточку __card__ в списке __list__ на дорожке __swimlane__ доски __board__", + "act-removeLabel": "Снята метка __label__ с карточки __card__ в списке __list__ на дорожке __swimlane__ доски __board__", + "act-removedLabel": "Снята метка __label__ с карточки __card__ в списке __list__ на дорожке __swimlane__ доски __board__", + "act-addChecklist": "добавил контрольный список __checklist__ в карточку __card__ в списке __list__ на дорожке __swimlane__ доски __board__", + "act-addChecklistItem": "добавил пункт __checklistItem__ в контрольный список __checklist__ в карточке __card__ в списке __list__ на дорожке __swimlane__ доски __board__", + "act-removeChecklist": "удалил контрольный список __checklist__ из карточки __card__ в списке __list__ на дорожке __swimlane__ доски __board__", + "act-removeChecklistItem": "удалил пункт __checklistItem__ из контрольного списка __checkList__ в карточке __card__ в списке __list__ на дорожке __swimlane__ доски __board__", + "act-checkedItem": "отметил __checklistItem__ в контрольном списке __checklist__ в карточке __card__ в списке __list__ на дорожке __swimlane__ доски __board__", + "act-uncheckedItem": "снял __checklistItem__ в контрольном списке __checklist__ в карточке __card__ в списке __list__ на дорожке __swimlane__ доски __board__", + "act-completeChecklist": "завершил контрольный список __checklist__ в карточке __card__ в списке __list__ на дорожке __swimlane__ доски __board__", + "act-uncompleteChecklist": "вновь открыл контрольный список __checklist__ в карточке __card__ в списке __list__ на дорожке __swimlane__ доски __board__", + "act-addComment": "написал в карточке __card__: __comment__ в списке __list__ на дорожке __swimlane__ доски __board__", + "act-editComment": "изменил комментарий в карточке __card__: __comment__ в списке __list__ на дорожке __swimlane__ доски __board__", + "act-deleteComment": "удалил комментарий из карточки __card__: __comment__ в списке __list__ на дорожке __swimlane__ доски __board__", + "act-createBoard": "создал доску __board__", + "act-createSwimlane": "создал дорожку __swimlane__ на доске __board__", + "act-createCard": "создал карточку __card__ в списке __list__ на дорожке __swimlane__ доски __board__", + "act-createCustomField": "создал новое поле __customField__ на доске __board__\n", + "act-deleteCustomField": "удалил поле __customField__ с доски __board__", + "act-setCustomField": "изменил значение поля __customField__: __customFieldValue__ в карточке __card__ в списке __list__ на дорожке __swimlane__ доски __board__", + "act-createList": "добавил список __list__ на доску __board__", + "act-addBoardMember": "добавил участника __member__ на доску __board__", + "act-archivedBoard": "Доска __board__ перемещена в Архив", + "act-archivedCard": "Карточка __card__ из списка __list__ с дорожки __swimlane__ доски __board__ перемещена в Архив", + "act-archivedList": "Список __list__ на дорожке __swimlane__ доски __board__ перемещен в Архив", + "act-archivedSwimlane": "Дорожка __swimlane__ на доске __board__ перемещена в Архив", + "act-importBoard": "импортировал доску __board__", + "act-importCard": "импортировал карточку __card__ в список __list__ на дорожку __swimlane__ доски __board__", + "act-importList": "импортировал список __list__ на дорожку __swimlane__ доски __board__", + "act-joinMember": "добавил участника __member__ в карточку __card__ в списке __list__ на дорожке __swimlane__ доски __board__", + "act-moveCard": "переместил карточку __card__ на доске __board__ из списка __oldList__ с дорожки __oldSwimlane__ в список __list__ на дорожку __swimlane__", + "act-moveCardToOtherBoard": "переместил карточку __card__ из списка __oldList__ с дорожки __oldSwimlane__ доски __oldBoard__ в список __list__ на дорожку __swimlane__ доски __board__", + "act-removeBoardMember": "удалил участника __member__ с доски __board__", + "act-restoredCard": "восстановил карточку __card__ в список __list__ на дорожку __swimlane__ доски __board__", + "act-unjoinMember": "удалил участника __member__ из карточки __card__ в списке __list__ на дорожке __swimlane__ доски __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Действия", + "activities": "История действий", + "activity": "Действия участников", + "activity-added": "добавил %s на %s", + "activity-archived": "%s теперь в Архиве", + "activity-attached": "прикрепил %s к %s", + "activity-created": "создал %s", + "activity-customfield-created": "создал настраиваемое поле %s", + "activity-excluded": "исключил %s из %s", + "activity-imported": "импортировал %s в %s из %s", + "activity-imported-board": "импортировал %s из %s", + "activity-joined": "присоединился к %s", + "activity-moved": "переместил %s из %s в %s", + "activity-on": "%s", + "activity-removed": "удалил %s из %s", + "activity-sent": "отправил %s в %s", + "activity-unjoined": "вышел из %s", + "activity-subtask-added": "добавил подзадачу в %s", + "activity-checked-item": "отметил %s в контрольном списке %s в %s", + "activity-unchecked-item": "снял %s в контрольном списке %s в %s", + "activity-checklist-added": "добавил контрольный список в %s", + "activity-checklist-removed": "удалил контрольный список из %s", + "activity-checklist-completed": "завершил контрольный список %s в %s", + "activity-checklist-uncompleted": "вновь открыл контрольный список %s в %s", + "activity-checklist-item-added": "добавил пункт в контрольный список '%s' в карточке %s", + "activity-checklist-item-removed": "удалил пункт из контрольного списка '%s' в карточке %s", + "add": "Создать", + "activity-checked-item-card": "отметил %s в контрольном списке %s", + "activity-unchecked-item-card": "снял %s в контрольном списке %s", + "activity-checklist-completed-card": "завершил контрольный список __checklist__ в карточку __card__ в списке __list__ на дорожке __swimlane__ доски __board__", + "activity-checklist-uncompleted-card": "вновь открыл контрольный список %s", + "activity-editComment": "отредактировал комментарий %s", + "activity-deleteComment": "удалил комментарий %s", + "add-attachment": "Добавить вложение", + "add-board": "Добавить доску", + "add-card": "Добавить карточку", + "add-swimlane": "Добавить дорожку", + "add-subtask": "Добавить подзадачу", + "add-checklist": "Добавить контрольный список", + "add-checklist-item": "Добавить пункт в контрольный список", + "add-cover": "Прикрепить", + "add-label": "Добавить метку", + "add-list": "Добавить простой список", + "add-members": "Добавить участника", + "added": "Добавлено", + "addMemberPopup-title": "Участники", + "admin": "Администратор", + "admin-desc": "Может просматривать и редактировать карточки, удалять участников и управлять настройками доски.", + "admin-announcement": "Объявление", + "admin-announcement-active": "Действующее общесистемное объявление", + "admin-announcement-title": "Объявление от Администратора", + "all-boards": "Все доски", + "and-n-other-card": "И __count__ другая карточка", + "and-n-other-card_plural": "И __count__ другие карточки", + "apply": "Применить", + "app-is-offline": "Идет загрузка, подождите. Обновление страницы приведет к потере данных. Если загрузка не происходит, проверьте работоспособность сервера.", + "archive": "Переместить в архив", + "archive-all": "Переместить всё в архив", + "archive-board": "Переместить доску в архив", + "archive-card": "Переместить карточку в архив", + "archive-list": "Переместить список в архив", + "archive-swimlane": "Переместить дорожку в архив", + "archive-selection": "Переместить выбранное в архив", + "archiveBoardPopup-title": "Переместить доску в архив?", + "archived-items": "Архив", + "archived-boards": "Доски в архиве", + "restore-board": "Востановить доску", + "no-archived-boards": "Нет досок в архиве.", + "archives": "Архив", + "template": "Шаблон", + "templates": "Шаблоны", + "assign-member": "Назначить участника", + "attached": "прикреплено", + "attachment": "Вложение", + "attachment-delete-pop": "Если удалить вложение, его нельзя будет восстановить.", + "attachmentDeletePopup-title": "Удалить вложение?", + "attachments": "Вложения", + "auto-watch": "Автоматически следить за созданными досками", + "avatar-too-big": "Аватар слишком большой (максимум 70КБ)", + "back": "Назад", + "board-change-color": "Изменить цвет", + "board-nb-stars": "%s избранное", + "board-not-found": "Доска не найдена", + "board-private-info": "Это доска будет частной.", + "board-public-info": "Эта доска будет доступной всем.", + "boardChangeColorPopup-title": "Изменить фон доски", + "boardChangeTitlePopup-title": "Переименовать доску", + "boardChangeVisibilityPopup-title": "Изменить настройки видимости", + "boardChangeWatchPopup-title": "Режимы оповещения", + "boardMenuPopup-title": "Настройки доски", + "boardChangeViewPopup-title": "Вид доски", + "boards": "Доски", + "board-view": "Вид доски", + "board-view-cal": "Календарь", + "board-view-swimlanes": "Дорожки", + "board-view-collapse": "Свернуть", + "board-view-lists": "Списки", + "bucket-example": "Например “Список дел”", + "cancel": "Отмена", + "card-archived": "Эта карточка перемещена в архив", + "board-archived": "Эта доска перемещена в архив.", + "card-comments-title": "Комментарии (%s)", + "card-delete-notice": "Это действие невозможно будет отменить. Все изменения, которые вы вносили в карточку будут потеряны.", + "card-delete-pop": "Все действия будут удалены из ленты активности участников, и вы не сможете заново открыть карточку. Действие необратимо", + "card-delete-suggest-archive": "Вы можете переместить карточку в архив, чтобы убрать ее с доски, сохранив всю историю действий участников.", + "card-due": "Выполнить к", + "card-due-on": "Выполнить до", + "card-spent": "Затраченное время", + "card-edit-attachments": "Изменить вложения", + "card-edit-custom-fields": "Редактировать настраиваемые поля", + "card-edit-labels": "Изменить метку", + "card-edit-members": "Изменить участников", + "card-labels-title": "Изменить метки для этой карточки.", + "card-members-title": "Добавить или удалить с карточки участников доски.", + "card-start": "В работе с", + "card-start-on": "Начнётся с", + "cardAttachmentsPopup-title": "Прикрепить из", + "cardCustomField-datePopup-title": "Изменить дату", + "cardCustomFieldsPopup-title": "редактировать настраиваемые поля", + "cardStartVotingPopup-title": "Голосовать", + "positiveVoteMembersPopup-title": "Сторонники", + "negativeVoteMembersPopup-title": "Противники", + "card-edit-voting": "Редактировать голосование", + "editVoteEndDatePopup-title": "Изменить дату окончания голосования", + "allowNonBoardMembers": "Разрешить всем авторизованным пользователям ", + "vote-question": "Вопрос для голосования", + "vote-public": "Показать кто как голосовал", + "vote-for-it": "за", + "vote-against": "против", + "deleteVotePopup-title": "Удалить голосование?", + "vote-delete-pop": "Это действие невозможно будет отменить. Все связанные с голосованием действия будут потеряны.", + "cardDeletePopup-title": "Удалить карточку?", + "cardDetailsActionsPopup-title": "Действия в карточке", + "cardLabelsPopup-title": "Метки", + "cardMembersPopup-title": "Участники", + "cardMorePopup-title": "Поделиться", + "cardTemplatePopup-title": "Создать шаблон", + "cards": "Карточки", + "cards-count": "Карточки", + "casSignIn": "Войти через CAS", + "cardType-card": "Карточка", + "cardType-linkedCard": "Связанная карточка", + "cardType-linkedBoard": "Связанная доска", + "change": "Изменить", + "change-avatar": "Изменить аватар", + "change-password": "Изменить пароль", + "change-permissions": "Изменить права доступа", + "change-settings": "Изменить настройки", + "changeAvatarPopup-title": "Изменить аватар", + "changeLanguagePopup-title": "Сменить язык", + "changePasswordPopup-title": "Изменить пароль", + "changePermissionsPopup-title": "Изменить настройки доступа", + "changeSettingsPopup-title": "Изменить Настройки", + "subtasks": "Подзадачи", + "checklists": "Контрольные списки", + "click-to-star": "Добавить в «Избранное»", + "click-to-unstar": "Удалить из «Избранного»", + "clipboard": "Буфер обмена или drag & drop", + "close": "Закрыть", + "close-board": "Закрыть доску", + "close-board-pop": "Вы сможете восстановить доску, нажав \"Архив\" в заголовке домашней страницы.", + "color-black": "черный", + "color-blue": "синий", + "color-crimson": "малиновый", + "color-darkgreen": "темно-зеленый", + "color-gold": "золотой", + "color-gray": "серый", + "color-green": "зеленый", + "color-indigo": "индиго", + "color-lime": "лимоновый", + "color-magenta": "маджента", + "color-mistyrose": "тускло-розовый", + "color-navy": "темно-синий", + "color-orange": "оранжевый", + "color-paleturquoise": "бледно-бирюзовый", + "color-peachpuff": "персиковый", + "color-pink": "розовый", + "color-plum": "сливовый", + "color-purple": "фиолетовый", + "color-red": "красный", + "color-saddlebrown": "кожано-коричневый", + "color-silver": "серебристый", + "color-sky": "голубой", + "color-slateblue": "серо-голубой", + "color-white": "белый", + "color-yellow": "желтый", + "unset-color": "Убрать", + "comment": "Добавить комментарий", + "comment-placeholder": "Написать комментарий", + "comment-only": "Только комментирование", + "comment-only-desc": "Может комментировать только карточки.", + "no-comments": "Без комментариев", + "no-comments-desc": "Не видит комментарии и историю действий.", + "worker": "Исполнитель", + "worker-desc": "Может перемещать карточки, отмечаться как исполнитель и оставлять комментарии", + "computer": "Загрузить с компьютера", + "confirm-subtask-delete-dialog": "Вы уверены, что хотите удалить подзадачу?", + "confirm-checklist-delete-dialog": "Вы уверены, что хотите удалить контрольный список?", + "copy-card-link-to-clipboard": "Копировать ссылку на карточку в буфер обмена", + "linkCardPopup-title": "Карточка-ссылка", + "searchElementPopup-title": "Поиск", + "copyCardPopup-title": "Копировать карточку", + "copyChecklistToManyCardsPopup-title": "Копировать шаблон контрольного списка в несколько карточек", + "copyChecklistToManyCardsPopup-instructions": "Названия и описания целевых карт в формате JSON", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"Название первой карточки\", \"description\":\"Описание первой карточки\"}, {\"title\":\"Название второй карточки\",\"description\":\"Описание второй карточки\"},{\"title\":\"Название последней карточки\",\"description\":\"Описание последней карточки\"} ]", + "create": "Создать", + "createBoardPopup-title": "Создать доску", + "chooseBoardSourcePopup-title": "Импортировать доску", + "createLabelPopup-title": "Создать метку", + "createCustomField": "Создать поле", + "createCustomFieldPopup-title": "Создать поле", + "current": "текущий", + "custom-field-delete-pop": "Отменить нельзя. Это удалит настраиваемое поле со всех карт и уничтожит его историю.", + "custom-field-checkbox": "Галочка", + "custom-field-currency": "Валюта", + "custom-field-currency-option": "Код валюты", + "custom-field-date": "Дата", + "custom-field-dropdown": "Выпадающий список", + "custom-field-dropdown-none": "(нет)", + "custom-field-dropdown-options": "Параметры списка", + "custom-field-dropdown-options-placeholder": "Нажмите «Ввод», чтобы добавить дополнительные параметры.", + "custom-field-dropdown-unknown": "(неизвестно)", + "custom-field-number": "Номер", + "custom-field-text": "Текст", + "custom-fields": "Настраиваемые поля", + "date": "Дата", + "decline": "Отклонить", + "default-avatar": "Аватар по умолчанию", + "delete": "Удалить", + "deleteCustomFieldPopup-title": "Удалить настраиваемые поля?", + "deleteLabelPopup-title": "Удалить метку?", + "description": "Описание", + "disambiguateMultiLabelPopup-title": "Разрешить конфликт меток", + "disambiguateMultiMemberPopup-title": "Разрешить конфликт участников", + "discard": "Отказать", + "done": "Готово", + "download": "Скачать", + "edit": "Редактировать", + "edit-avatar": "Изменить аватар", + "edit-profile": "Изменить профиль", + "edit-wip-limit": "Изменить лимит на кол-во задач", + "soft-wip-limit": "Мягкий лимит", + "editCardStartDatePopup-title": "Изменить дату начала", + "editCardDueDatePopup-title": "Изменить дату выполнения", + "editCustomFieldPopup-title": "Редактировать поле", + "editCardSpentTimePopup-title": "Изменить затраченное время", + "editLabelPopup-title": "Изменить метки", + "editNotificationPopup-title": "Редактировать уведомления", + "editProfilePopup-title": "Редактировать профиль", + "email": "Эл.почта", + "email-enrollAccount-subject": "Аккаунт создан для вас здесь __url__", + "email-enrollAccount-text": "Привет __user__,\n\nДля того, чтобы начать использовать сервис, просто нажми на ссылку ниже.\n\n__url__\n\nСпасибо.", + "email-fail": "Отправка письма на EMail не удалась", + "email-fail-text": "Ошибка при попытке отправить письмо", + "email-invalid": "Неверный адрес электронной почты", + "email-invite": "Пригласить по электронной почте", + "email-invite-subject": "__inviter__ прислал вам приглашение", + "email-invite-text": "Дорогой __user__,\n\n__inviter__ пригласил вас присоединиться к доске \"__board__\" для сотрудничества.\n\nПожалуйста проследуйте по ссылке ниже:\n\n__url__\n\nСпасибо.", + "email-resetPassword-subject": "Перейдите по ссылке, чтобы сбросить пароль __url__", + "email-resetPassword-text": "Привет __user__,\n\nДля сброса пароля перейдите по ссылке ниже.\n\n__url__\n\nThanks.", + "email-sent": "Письмо отправлено", + "email-verifyEmail-subject": "Подтвердите вашу эл.почту перейдя по ссылке __url__", + "email-verifyEmail-text": "Привет __user__,\n\nДля подтверждения вашей электронной почты перейдите по ссылке ниже.\n\n__url__\n\nСпасибо.", + "enable-wip-limit": "Включить лимит на кол-во задач", + "error-board-doesNotExist": "Доска не найдена", + "error-board-notAdmin": "Вы должны обладать правами администратора этой доски, чтобы сделать это", + "error-board-notAMember": "Вы должны быть участником доски, чтобы сделать это", + "error-json-malformed": "Ваше текст не является правильным JSON", + "error-json-schema": "Содержимое вашего JSON не содержит информацию в корректном формате", + "error-csv-schema": "Ваши данные CSV (с разделителями запятой)/TSV (с разделителями табулятором) не содержат информации в корректном формате", + "error-list-doesNotExist": "Список не найден", + "error-user-doesNotExist": "Пользователь не найден", + "error-user-notAllowSelf": "Вы не можете пригласить себя", + "error-user-notCreated": "Пользователь не создан", + "error-username-taken": "Это имя пользователя уже занято", + "error-email-taken": "Этот адрес уже занят", + "export-board": "Экспортировать доску", + "export-board-json": "Экспортировать доску в JSON", + "export-board-csv": "Экспортировать доску в CSV", + "export-board-tsv": "Экспортировать доску в TSV", + "export-board-html": "Экспортировать доску в HTML", + "exportBoardPopup-title": "Экспортировать доску", + "sort": "Сортировать", + "sort-desc": "Нажмите, чтобы отсортировать список", + "list-sort-by": "Сортировать список по:", + "list-label-modifiedAt": "Время последнего доступа", + "list-label-title": "Название списка", + "list-label-sort": "Установленный вами порядок", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Фильтр", + "filter-cards": "Фильтр Карточек или Списков", + "list-filter-label": "Фильтровать Список по Названию", + "filter-clear": "Очистить фильтр", + "filter-no-label": "Нет метки", + "filter-no-member": "Нет участников", + "filter-no-assignee": "Не применимо", + "filter-no-custom-fields": "Нет настраиваемых полей", + "filter-show-archive": "Показать архивные списки", + "filter-hide-empty": "Скрыть пустые списки", + "filter-on": "Включен фильтр", + "filter-on-desc": "Показываются карточки, соответствующие настройкам фильтра. Нажмите для редактирования.", + "filter-to-selection": "Filter to selection", + "advanced-filter-label": "Расширенный фильтр", + "advanced-filter-description": "Расширенный фильтр позволяет написать строку, содержащую следующие операторы: == != <= >= && || ( ) Пробел используется как разделитель между операторами. Можно фильтровать все настраиваемые поля, вводя их имена и значения. Например: Поле1 == Значение1. Примечание. Если поля или значения содержат пробелы, нужно взять их в одинарные кавычки. Например: 'Поле 1' == 'Значение 1'. Для одиночных управляющих символов (' \\/), которые нужно пропустить, следует использовать \\. Например: Field1 = I\\'m. Также можно комбинировать несколько условий. Например: F1 == V1 || F1 == V2. Обычно все операторы интерпретируются слева направо, но можно изменить порядок, разместив скобки. Например: F1 == V1 && (F2 == V2 || F2 == V3). Также можно искать текстовые поля с помощью регулярных выражений: F1 == /Tes.*/i", + "fullname": "Полное имя", + "header-logo-title": "Вернуться к доскам.", + "hide-system-messages": "Скрыть системные сообщения", + "headerBarCreateBoardPopup-title": "Создать доску", + "home": "Главная", + "import": "Импорт", + "link": "Ссылка", + "import-board": "импортировать доску", + "import-board-c": "Импортировать доску", + "import-board-title-trello": "Импортировать доску из Trello", + "import-board-title-wekan": "Импортировать доску, сохраненную ранее.", + "import-board-title-csv": "Импортировать доску из CSV/TSV", + "from-trello": "Из Trello", + "from-wekan": "Сохраненную ранее", + "from-csv": "Из CSV/TSV", + "import-board-instruction-trello": "На вашей Trello доске нажмите “Menu” - “More” - “Print and export - “Export JSON” и скопируйте полученный текст", + "import-board-instruction-csv": "Вставка CSV/TSV данных", + "import-board-instruction-wekan": "На вашей доске перейдите в “Меню”, далее “Экспортировать доску” и скопируйте текст из скачаного файла", + "import-board-instruction-about-errors": "Даже если при импорте возникли ошибки, иногда импортирование проходит успешно – тогда доска появится на странице «Все доски».", + "import-json-placeholder": "Вставьте JSON сюда", + "import-csv-placeholder": "Вставьте CSV/TSV сюда", + "import-map-members": "Составить карту участников", + "import-members-map": "Вы импортировали доску с участниками. Пожалуйста, отметьте участников, которых вы хотите импортировать в качестве пользователей", + "import-show-user-mapping": "Проверить карту участников", + "import-user-select": "Выберите существующего пользователя, которого вы хотите использовать в качестве участника", + "importMapMembersAddPopup-title": "Выбрать участника", + "info": "Версия", + "initials": "Инициалы", + "invalid-date": "Неверная дата", + "invalid-time": "Некорректное время", + "invalid-user": "Неверный пользователь", + "joined": "вступил", + "just-invited": "Вас только что пригласили на эту доску", + "keyboard-shortcuts": "Сочетания клавиш", + "label-create": "Создать метку", + "label-default": "%s (по умолчанию)", + "label-delete-pop": "Это действие невозможно будет отменить. Эта метка будут удалена во всех карточках. Также будет удалена вся история этой метки.", + "labels": "Метки", + "language": "Язык", + "last-admin-desc": "Вы не можете изменять роли, для этого требуются права администратора.", + "leave-board": "Покинуть доску", + "leave-board-pop": "Вы уверенны, что хотите покинуть __boardTitle__? Вы будете удалены из всех карточек на этой доске.", + "leaveBoardPopup-title": "Покинуть доску?", + "link-card": "Доступна по ссылке", + "list-archive-cards": "Переместить все карточки в этом списке в Архив", + "list-archive-cards-pop": "Это действие удалит все карточки из этого списка с доски. Чтобы просмотреть карточки в Архиве и вернуть их на доску, нажмите “Меню” > “Архив”.", + "list-move-cards": "Переместить все карточки в этом списке", + "list-select-cards": "Выбрать все карточки в этом списке", + "set-color-list": "Задать цвет", + "listActionPopup-title": "Список действий", + "swimlaneActionPopup-title": "Действия с дорожкой", + "swimlaneAddPopup-title": "Добавить дорожку ниже", + "listImportCardPopup-title": "Импортировать Trello карточку", + "listImportCardsTsvPopup-title": "Импорт CSV/TSV из Excel", + "listMorePopup-title": "Поделиться", + "link-list": "Ссылка на список", + "list-delete-pop": "Все действия будут удалены из ленты активности участников, и вы не сможете восстановить список. Данное действие необратимо.", + "list-delete-suggest-archive": "Вы можете отправить список в Архив, чтобы убрать его с доски и при этом сохранить результаты.", + "lists": "Списки", + "swimlanes": "Дорожки", + "log-out": "Выйти", + "log-in": "Войти", + "loginPopup-title": "Войти", + "memberMenuPopup-title": "Настройки участника", + "members": "Участники", + "menu": "Меню", + "move-selection": "Переместить выделение", + "moveCardPopup-title": "Переместить карточку", + "moveCardToBottom-title": "Переместить вниз", + "moveCardToTop-title": "Переместить вверх", + "moveSelectionPopup-title": "Переместить выделение", + "multi-selection": "Выбрать несколько", + "multi-selection-on": "Выбрать несколько из", + "muted": "Не беспокоить", + "muted-info": "Вы НИКОГДА не будете уведомлены ни о каких изменениях в этой доске.", + "my-boards": "Мои доски", + "name": "Имя", + "no-archived-cards": "Нет карточек в Архиве", + "no-archived-lists": "Нет списков в Архиве", + "no-archived-swimlanes": "Нет дорожек в Архиве", + "no-results": "Ничего не найдено", + "normal": "Обычный", + "normal-desc": "Может редактировать карточки. Не может управлять настройками.", + "not-accepted-yet": "Приглашение еще не принято", + "notify-participate": "Получать обновления по любым карточкам, которые вы создавали или участником которых являетесь.", + "notify-watch": "Получать обновления по любым доскам, спискам и карточкам, на которые вы подписаны как наблюдатель.", + "optional": "не обязательно", + "or": "или", + "page-maybe-private": "Возможно, эта страница скрыта от незарегистрированных пользователей. Попробуйте войти на сайт.", + "page-not-found": "Страница не найдена.", + "password": "Пароль", + "paste-or-dragdrop": "вставьте, или перетащите файл с изображением сюда (только графический файл)", + "participating": "Участвую", + "preview": "Предпросмотр", + "previewAttachedImagePopup-title": "Предпросмотр", + "previewClipboardImagePopup-title": "Предпросмотр", + "private": "Закрытая", + "private-desc": "Эта доска с ограниченным доступом. Только участники могут работать с ней.", + "profile": "Профиль", + "public": "Открытая", + "public-desc": "Эта доска может быть видна всем у кого есть ссылка. Также может быть проиндексирована поисковыми системами. Вносить изменения могут только участники.", + "quick-access-description": "Нажмите на звезду, что добавить ярлык доски на панель.", + "remove-cover": "Открепить", + "remove-from-board": "Удалить с доски", + "remove-label": "Удалить метку", + "listDeletePopup-title": "Удалить список?", + "remove-member": "Удалить участника", + "remove-member-from-card": "Удалить из карточки", + "remove-member-pop": "Удалить участника __name__ (__username__) из доски __boardTitle__? Участник будет удален из всех карточек на этой доске. Также он получит уведомление о совершаемом действии.", + "removeMemberPopup-title": "Удалить участника?", + "rename": "Переименовать", + "rename-board": "Переименовать доску", + "restore": "Восстановить", + "save": "Сохранить", + "search": "Поиск", + "rules": "Правила", + "search-cards": "Поиск в названиях карточек/списков, описаниях и пользовательских полях на этой доске", + "search-example": "Искать текст?", + "select-color": "Выбрать цвет", + "set-wip-limit-value": "Устанавливает ограничение на максимальное количество задач в этом списке", + "setWipLimitPopup-title": "Задать лимит на кол-во задач", + "shortcut-assign-self": "Связать себя с текущей карточкой", + "shortcut-autocomplete-emoji": "Автозаполнение emoji", + "shortcut-autocomplete-members": "Автозаполнение участников", + "shortcut-clear-filters": "Сбросить все фильтры", + "shortcut-close-dialog": "Закрыть диалог", + "shortcut-filter-my-cards": "Показать мои карточки", + "shortcut-show-shortcuts": "Поднять список ярлыков", + "shortcut-toggle-filterbar": "Переместить фильтр на бововую панель", + "shortcut-toggle-sidebar": "Переместить доску на боковую панель", + "show-cards-minimum-count": "Показывать количество карточек если их больше", + "sidebar-open": "Открыть Панель", + "sidebar-close": "Скрыть Панель", + "signupPopup-title": "Создать учетную запись", + "star-board-title": "Добавить в «Избранное». Эта доска будет всегда на виду.", + "starred-boards": "Добавленные в «Избранное»", + "starred-boards-description": "Избранные доски будут всегда вверху списка.", + "subscribe": "Подписаться", + "team": "Участники", + "this-board": "эту доску", + "this-card": "текущая карточка", + "spent-time-hours": "Затраченное время (в часах)", + "overtime-hours": "Переработка (в часах)", + "overtime": "Переработка", + "has-overtime-cards": "Имеются карточки с переработкой", + "has-spenttime-cards": "Имеются карточки с учетом затраченного времени", + "time": "Время", + "title": "Название", + "tracking": "Отслеживание", + "tracking-info": "Вы будете уведомлены о любых изменениях в тех карточках, в которых вы являетесь создателем или участником.", + "type": "Тип", + "unassign-member": "Отменить назначение участника", + "unsaved-description": "У вас есть несохраненное описание.", + "unwatch": "Перестать следить", + "upload": "Загрузить", + "upload-avatar": "Загрузить аватар", + "uploaded-avatar": "Загруженный аватар", + "username": "Имя пользователя", + "view-it": "Просмотреть", + "warn-list-archived": "внимание: эта карточка из списка, который находится в Архиве", + "watch": "Следить", + "watching": "Полный контроль", + "watching-info": "Вы будете уведомлены об любых изменениях в этой доске.", + "welcome-board": "Приветственная Доска", + "welcome-swimlane": "Этап 1", + "welcome-list1": "Основы", + "welcome-list2": "Расширенно", + "card-templates-swimlane": "Шаблоны карточек", + "list-templates-swimlane": "Шаблоны списков", + "board-templates-swimlane": "Шаблоны доски", + "what-to-do": "Что вы хотите сделать?", + "wipLimitErrorPopup-title": "Некорректный лимит на кол-во задач", + "wipLimitErrorPopup-dialog-pt1": "Количество задач в этом списке превышает установленный вами лимит", + "wipLimitErrorPopup-dialog-pt2": "Пожалуйста, перенесите некоторые задачи из этого списка или увеличьте лимит на кол-во задач", + "admin-panel": "Административная Панель", + "settings": "Настройки", + "people": "Люди", + "registration": "Регистрация", + "disable-self-registration": "Отключить самостоятельную регистрацию", + "invite": "Пригласить", + "invite-people": "Пригласить людей", + "to-boards": "В Доску(и)", + "email-addresses": "Email адрес", + "smtp-host-description": "Адрес SMTP сервера, который отправляет ваши электронные письма.", + "smtp-port-description": "Порт который SMTP-сервер использует для исходящих сообщений.", + "smtp-tls-description": "Включить поддержку TLS для SMTP сервера", + "smtp-host": "SMTP Хост", + "smtp-port": "SMTP Порт", + "smtp-username": "Имя пользователя", + "smtp-password": "Пароль", + "smtp-tls": "Поддержка TLS", + "send-from": "От", + "send-smtp-test": "Отправьте тестовое письмо себе", + "invitation-code": "Код приглашения", + "email-invite-register-subject": "__inviter__ прислал вам приглашение", + "email-invite-register-text": "Уважаемый __user__,\n\n__inviter__ приглашает вас использовать канбан-доску для совместной работы.\n\nПожалуйста, проследуйте по ссылке:\n__url__\n\nКод вашего приглашения: __icode__\n\nСпасибо.", + "email-smtp-test-subject": "Тестовое письмо SMTP", + "email-smtp-test-text": "Вы успешно отправили письмо", + "error-invitation-code-not-exist": "Код приглашения не существует", + "error-notAuthorized": "У вас нет доступа на просмотр этой страницы.", + "webhook-title": "Имя Веб-Хука", + "webhook-token": "Токен (Опционально для аутентификации)", + "outgoing-webhooks": "Исходящие Веб-Хуки", + "bidirectional-webhooks": "Двунаправленный Веб-Хук", + "outgoingWebhooksPopup-title": "Исходящие Веб-Хуки", + "boardCardTitlePopup-title": "Фильтр названий карточек", + "disable-webhook": "Отключить этот Веб-Хук", + "global-webhook": "Глобальные Веб-Хуки", + "new-outgoing-webhook": "Новый исходящий Веб-Хук", + "no-name": "(Неизвестный)", + "Node_version": "Версия NodeJS", + "Meteor_version": "Версия Meteor", + "MongoDB_version": "Версия MongoDB", + "MongoDB_storage_engine": "Движок хранилища MongoDB", + "MongoDB_Oplog_enabled": "MongoDB Oplog включен", + "OS_Arch": "Архитектура", + "OS_Cpus": "Количество процессоров", + "OS_Freemem": "Свободная память", + "OS_Loadavg": "Средняя загрузка", + "OS_Platform": "Платформа", + "OS_Release": "Версия ядра", + "OS_Totalmem": "Общая память", + "OS_Type": "Тип ОС", + "OS_Uptime": "Время работы", + "days": "дней", + "hours": "часы", + "minutes": "минуты", + "seconds": "секунды", + "show-field-on-card": "Показать это поле на карточке", + "automatically-field-on-card": "Cоздавать поле во всех новых карточках", + "showLabel-field-on-card": "Показать имя поля на карточке", + "yes": "Да", + "no": "Нет", + "accounts": "Учетные записи", + "accounts-allowEmailChange": "Разрешить изменение электронной почты", + "accounts-allowUserNameChange": "Разрешить изменение имени пользователя", + "createdAt": "Создан", + "verified": "Подтвержден", + "active": "Действующий", + "card-received": "Получено", + "card-received-on": "Получено с", + "card-end": "Завершено", + "card-end-on": "Завершится до", + "editCardReceivedDatePopup-title": "Изменить дату получения", + "editCardEndDatePopup-title": "Изменить дату завершения", + "setCardColorPopup-title": "Задать цвет", + "setCardActionsColorPopup-title": "Выберите цвет", + "setSwimlaneColorPopup-title": "Выберите цвет", + "setListColorPopup-title": "Выберите цвет", + "assigned-by": "Поручил", + "requested-by": "Запросил", + "board-delete-notice": "Удаление является постоянным. Вы потеряете все списки, карты и действия, связанные с этой доской.", + "delete-board-confirm-popup": "Все списки, карточки, метки и действия будут удалены, и вы не сможете восстановить содержимое доски. Отменить нельзя.", + "boardDeletePopup-title": "Удалить доску?", + "delete-board": "Удалить доску", + "default-subtasks-board": "Подзадача для доски __board__", + "default": "По умолчанию", + "queue": "Очередь", + "subtask-settings": "Настройки подзадач", + "card-settings": "Настройки карточки", + "boardSubtaskSettingsPopup-title": "Настройки подзадач для доски", + "boardCardSettingsPopup-title": "Настройки карточки", + "deposit-subtasks-board": "Отправлять подзадачи на доску:", + "deposit-subtasks-list": "Размещать подзадачи, отправленные на эту доску, в списке:", + "show-parent-in-minicard": "Указывать исходную карточку:", + "prefix-with-full-path": "Cверху, полный путь", + "prefix-with-parent": "Сверху, только имя", + "subtext-with-full-path": "Cнизу, полный путь", + "subtext-with-parent": "Снизу, только имя", + "change-card-parent": "Сменить исходную карточку", + "parent-card": "Исходная карточка", + "source-board": "Исходная доска", + "no-parent": "Не указывать", + "activity-added-label": "добавил метку '%s' на %s", + "activity-removed-label": "удалил метку '%s' с %s", + "activity-delete-attach": "удалил вложение из %s", + "activity-added-label-card": "добавил метку '%s'", + "activity-removed-label-card": "удалил метку '%s'", + "activity-delete-attach-card": "удалил вложение", + "activity-set-customfield": "сменил значение поля '%s' на '%s' в карточке %s", + "activity-unset-customfield": "очистил поле '%s' в карточке %s", + "r-rule": "Правило", + "r-add-trigger": "Задать условие", + "r-add-action": "Задать действие", + "r-board-rules": "Правила доски", + "r-add-rule": "Добавить правило", + "r-view-rule": "Показать правило", + "r-delete-rule": "Удалить правило", + "r-new-rule-name": "Имя нового правила", + "r-no-rules": "Нет правил", + "r-trigger": "Триггер", + "r-action": "Действие", + "r-when-a-card": "Когда карточка", + "r-is": " ", + "r-is-moved": "перемещается", + "r-added-to": "Добавлено в", + "r-removed-from": "Покидает", + "r-the-board": "доску", + "r-list": "список", + "set-filter": "Установить фильтр", + "r-moved-to": "Перемещается в", + "r-moved-from": "Покидает", + "r-archived": "Перемещена в архив", + "r-unarchived": "Восстановлена из архива", + "r-a-card": "карточку", + "r-when-a-label-is": "Когда метка", + "r-when-the-label": "Когда метка", + "r-list-name": "имя", + "r-when-a-member": "Когда участник", + "r-when-the-member": "Когда участник", + "r-name": "имя", + "r-when-a-attach": "Когда вложение", + "r-when-a-checklist": "Когда контрольный список", + "r-when-the-checklist": "Когда контрольный список", + "r-completed": "Завершен", + "r-made-incomplete": "Вновь открыт", + "r-when-a-item": "Когда пункт контрольного списка", + "r-when-the-item": "Когда пункт контрольного списка", + "r-checked": "Отмечен", + "r-unchecked": "Снят", + "r-move-card-to": "Переместить карточку в", + "r-top-of": "Начало", + "r-bottom-of": "Конец", + "r-its-list": "текущего списка", + "r-archive": "Переместить в архив", + "r-unarchive": "Восстановить из Архива", + "r-card": "карточку", + "r-add": "Создать", + "r-remove": "Удалить", + "r-label": "метку", + "r-member": "участника", + "r-remove-all": "Удалить всех участников из карточки", + "r-set-color": "Сменить цвет на", + "r-checklist": "контрольный список", + "r-check-all": "Отметить все", + "r-uncheck-all": "Снять все", + "r-items-check": "пункты контрольного списка", + "r-check": "Отметить", + "r-uncheck": "Снять", + "r-item": "пункт", + "r-of-checklist": "контрольного списка", + "r-send-email": "Отправить письмо", + "r-to": "кому", + "r-of": "из", + "r-subject": "тема", + "r-rule-details": "Содержание правила", + "r-d-move-to-top-gen": "Переместить карточку в начало текущего списка", + "r-d-move-to-top-spec": "Переместить карточку в начало списка", + "r-d-move-to-bottom-gen": "Переместить карточку в конец текущего списка", + "r-d-move-to-bottom-spec": "Переместить карточку в конец списка", + "r-d-send-email": "Отправить письмо", + "r-d-send-email-to": "кому", + "r-d-send-email-subject": "тема", + "r-d-send-email-message": "сообщение", + "r-d-archive": "Переместить карточку в Архив", + "r-d-unarchive": "Восстановить карточку из Архива", + "r-d-add-label": "Добавить метку", + "r-d-remove-label": "Удалить метку", + "r-create-card": "Создать новую карточку", + "r-in-list": "в списке", + "r-in-swimlane": "в дорожке", + "r-d-add-member": "Добавить участника", + "r-d-remove-member": "Удалить участника", + "r-d-remove-all-member": "Удалить всех участников", + "r-d-check-all": "Отметить все пункты в списке", + "r-d-uncheck-all": "Снять все пункты в списке", + "r-d-check-one": "Отметить пункт", + "r-d-uncheck-one": "Снять пункт", + "r-d-check-of-list": "контрольного списка", + "r-d-add-checklist": "Добавить контрольный список", + "r-d-remove-checklist": "Удалить контрольный список", + "r-by": "пользователем", + "r-add-checklist": "Добавить контрольный список", + "r-with-items": "с пунктами", + "r-items-list": "пункт1,пункт2,пункт3", + "r-add-swimlane": "Добавить дорожку", + "r-swimlane-name": "имя", + "r-board-note": "Примечание: пустое поле соответствует любым возможным значениям.", + "r-checklist-note": "Примечание: пункты контрольных списков при перечислении разделяются запятыми.", + "r-when-a-card-is-moved": "Когда карточка перемещена в другой список", + "r-set": "Установить", + "r-update": "Обновить", + "r-datefield": "поле даты", + "r-df-start-at": "в работе с", + "r-df-due-at": "выполнить к", + "r-df-end-at": "завершено", + "r-df-received-at": "получено", + "r-to-current-datetime": "в соответствии с текущей датой/временем", + "r-remove-value-from": "Очистить", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Способ авторизации", + "authentication-type": "Тип авторизации", + "custom-product-name": "Собственное наименование", + "layout": "Внешний вид", + "hide-logo": "Скрыть логотип", + "add-custom-html-after-body-start": "Добавить HTML после начала ", + "add-custom-html-before-body-end": "Добавить HTML до завершения ", + "error-undefined": "Что-то пошло не так", + "error-ldap-login": "Ошибка при попытке авторизации", + "display-authentication-method": "Показывать способ авторизации", + "default-authentication-method": "Способ авторизации по умолчанию", + "duplicate-board": "Клонировать доску", + "people-number": "Количество человек:", + "swimlaneDeletePopup-title": "Удалить дорожку?", + "swimlane-delete-pop": "Все действия будут удалены из ленты активности участников, и вы не сможете восстановить дорожку. Данное действие необратимо.", + "restore-all": "Восстановить все", + "delete-all": "Удалить все", + "loading": "Идет загрузка, пожалуйста подождите", + "previous_as": "в прошлый раз был", + "act-a-dueAt": "изменил срок выполнения \nСтало: __timeValue__\nВ карточке: __card__\nранее было __timeOldValue__", + "act-a-endAt": "изменил время завершения на __timeValue__, было (__timeOldValue__)", + "act-a-startAt": "изменил время начала на __timeValue__, было (__timeOldValue__)", + "act-a-receivedAt": "изменил время получения на __timeValue__, было (__timeOldValue__)", + "a-dueAt": "изменил срок выполнения на", + "a-endAt": "изменил время завершения на", + "a-startAt": "изменил время начала работы на", + "a-receivedAt": "изменил время получения на", + "almostdue": "текущий срок выполнения %s приближается", + "pastdue": "текущий срок выполнения %s прошел", + "duenow": "текущий срок выполнения %s сегодня", + "act-newDue": "__list__/__card__ содержит 1-ое напоминание о сроке [__board__]", + "act-withDue": "__list__/__card__ напоминания о сроке выполнения [__board__]", + "act-almostdue": "напомнил, что скоро завершается срок выполнения (__timeValue__) карточки __card__", + "act-pastdue": "напомнил, что срок выполнения (__timeValue__) карточки __card__ прошел", + "act-duenow": "напомнил, что срок выполнения (__timeValue__) карточки __card__ — это уже сейчас", + "act-atUserComment": "Вас упомянули в [__board__] __list__/__card__", + "delete-user-confirm-popup": "Вы уверены, что хотите удалить аккаунт? Данное действие необратимо.", + "accounts-allowUserDelete": "Разрешить пользователям удалять собственные аккаунты", + "hide-minicard-label-text": "Скрыть текст меток на карточках", + "show-desktop-drag-handles": "Показать ярлыки для перетаскивания", + "assignee": "Исполнитель", + "cardAssigneesPopup-title": "Исполнитель", + "addmore-detail": "Добавить более детальное описание", + "show-on-card": "Показать на карточке", + "new": "Новый", + "editUserPopup-title": "Редактировать пользователя", + "newUserPopup-title": "Новый пользователь", + "notifications": "Уведомления", + "view-all": "Показать все", + "filter-by-unread": "Фильтр по непрочитанным", + "mark-all-as-read": "Отметить все как прочитанные", + "remove-all-read": "Удалить все прочитанные", + "allow-rename": "Разрешить переименование", + "allowRenamePopup-title": "Разрешить переименование", + "start-day-of-week": "Установить день начала недели", + "monday": "Понедельник", + "tuesday": "Вторник", + "wednesday": "Среда", + "thursday": "Четверг", + "friday": "Пятница", + "saturday": "Суббота", + "sunday": "Воскресенье", + "status": "Статус", + "swimlane": "Дорожка", + "owner": "Владелец", + "last-modified-at": "Последний раз изменено", + "last-activity": "Последние действия", + "voting": "Голосование", + "archived": "Архивировано", + "delete-linked-card-before-this-card": "Вы не можете удалить карточку, не удалив связанную c ней карточку, которая имеет ", + "delete-linked-cards-before-this-list": "Вы не можете удалить этот список, не удалив карточки, которые указывают на карточки в этом списке", + "hide-checked-items": "Спрятать отмеченные" +} \ No newline at end of file diff --git a/i18n/sl.i18n.json b/i18n/sl.i18n.json new file mode 100644 index 0000000..a1eb2b8 --- /dev/null +++ b/i18n/sl.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Sprejmi", + "act-activity-notify": "Obvestilo o dejavnosti", + "act-addAttachment": "dodal priponko __attachment__ h kartici __card__ na seznamu __list__ na plavalni stezi __swimlane__ na tabli __board__", + "act-deleteAttachment": "odstranil priponko __attachment__ iz kartice __card__ na seznamu __list__ na plavalni stezi __swimlane__ na tabli __board__", + "act-addSubtask": "dodal podopravilo __subtask__ h kartici __card__ na seznamu __list__ na plavalni stezi __swimlane__ na tabli __board__", + "act-addLabel": "Dodal oznako __label__ h kartici __card__ na seznamu __list__ na plavalni stezi __swimlane__ na tabli __board__", + "act-addedLabel": "Dodal oznako __label__ h kartici __card__ na seznamu __list__ na plavalni stezi __swimlane__ na tabli __board__", + "act-removeLabel": "Odstranil oznako __label__ iz kartice __card__ na seznamu __list__ na plavalni stezi __swimlane__ na tabli __board__", + "act-removedLabel": "Odstranil oznako __label__ iz kartice __card__ na seznamu __list__ na plavalni stezi __swimlane__ na tabli __board__", + "act-addChecklist": "dodal kontrolni seznam __checklist__ h kartici __card__ na seznamu __list__ na plavalni stezi __swimlane__ na tabli __board__", + "act-addChecklistItem": "dodal postavko __checklistItem__ kontrolnega seznama __checklist__ na kartici __card__ na seznamu __list__ na plavalni stezi __swimlane__ na tabli __board__", + "act-removeChecklist": "odstranil kontrolni seznam __checklist__ iz kartice __card__ na seznamu __list__ na plavalni stezi __swimlane__ na tabli __board__", + "act-removeChecklistItem": "odstranil postavko __checklistItem__ kontrolnega seznama __checklist__ na kartici __card__ na seznamu __list__ na plavalni stezi __swimlane__ na tabli __board__", + "act-checkedItem": "obkljukal postavko __checklistItem__ kontrolnega seznama __checklist__ na kartici __card__ na seznamu __list__ na plavalni stezi __swimlane__ na tabli __board__", + "act-uncheckedItem": "odkljukal postavko __checklistItem__ kontrolnega seznama __checklist__ na kartici __card__ na seznamu __list__ na plavalni stezi __swimlane__ na tabli __board__", + "act-completeChecklist": "dokončal kontrolni seznam __checklist__ na kartici __card__ na seznamu __list__ na plavalni stezi __swimlane__ na tabli __board__", + "act-uncompleteChecklist": "nedokončan kontrolni seznam __checklist__ na kartici __card__ na seznamu __list__ na plavalni stezi __swimlane__ na tabli __board__", + "act-addComment": "komentiral na kartici __card__: __comment__ na seznamu __list__ na plavalni stezi __swimlane__ na tabli __board__", + "act-editComment": "uredil komentar na kartici __card__: __comment__ na seznamu __list__ na plavalni stezi __swimlane__ na tabli __board__", + "act-deleteComment": "izbrisal komentar na kartici __card__: __comment__ na seznamu __list__ na plavalni stezi __swimlane__ na tabli __board__", + "act-createBoard": "ustvaril tablo __board__", + "act-createSwimlane": "ustvaril plavalno stezo __swimlane__ na tabli __board__", + "act-createCard": "ustvaril kartico __card__ na seznamu __list__ na plavalni stezi __swimlane__ na tabli __board__", + "act-createCustomField": "ustvaril poljubno polje __customField__ na tabli __board__", + "act-deleteCustomField": "izbrisal poljubno polje __customField__ na tabli __board__", + "act-setCustomField": "uredil poljubno polje __customField__: __customFieldValue__ na kartici __card__ na seznamu __list__ na plavalni stezi __swimlane__ na tabli __board__", + "act-createList": "dodal seznam __list__ na tablo __board__", + "act-addBoardMember": "dodal člana __member__ k tabli __board__", + "act-archivedBoard": "Tabla __board__ premaknjena v arhiv", + "act-archivedCard": "Kartica __card__ na seznamu __list__ na plavalni stezi __swimlane__ na tabli __board__ premaknjena v arhiv", + "act-archivedList": "Seznam __list__ na plavalni stezi __swimlane__ na tabli __board__ premaknjen v arhiv", + "act-archivedSwimlane": "Plavalna steza __swimlane__ na tabli __board__ premaknjena v arhiv", + "act-importBoard": "uvozil tablo __board__", + "act-importCard": "uvozil kartico __card__ na seznam __list__ na plavalni stezi __swimlane__ na tabli __board__", + "act-importList": "uvozil seznam __list__ na plavalni stezi __swimlane__ na tabli __board__", + "act-joinMember": "dodal član __member__ h kartici __card__ na seznamu __list__ na plavalni stezi __swimlane__ na tabli __board__", + "act-moveCard": "premakil kartico __card__ na tabli __board__ iz seznama __oldList__ na plavalni stezi __oldSwimlane__ na seznam __list__ na plavalni stezi __swimlane__", + "act-moveCardToOtherBoard": "premaknil kartico __card__ iz seznama __oldList__ na plavalni stezi __oldSwimlane__ na tabli __oldBoard__ na seznam __list__ na plavalni stezi __swimlane__ na tabli __board__", + "act-removeBoardMember": "odstranil člana __member__ iz table __board__", + "act-restoredCard": "obnovil kartico __card__ na seznam __list__ na plavalni stezi __swimlane__ na tabli __board__", + "act-unjoinMember": "odstranil člana __member__ iz kartice __card__ na seznamu __list__ na plavalni stezi __swimlane__ na tabli __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Dejanja", + "activities": "Aktivnosti", + "activity": "Aktivnost", + "activity-added": "dodal %s v %s", + "activity-archived": "%s premaknjeno v arhiv", + "activity-attached": "pripel %s v %s", + "activity-created": "ustvaril %s", + "activity-customfield-created": "ustvaril poljubno polje%s", + "activity-excluded": "izključil %s iz %s", + "activity-imported": "uvozil %s v %s iz %s", + "activity-imported-board": "uvozil %s iz %s", + "activity-joined": "se je pridružil na %s", + "activity-moved": "premakil %s iz %s na %s", + "activity-on": "na %s", + "activity-removed": "odstranil %s iz %s", + "activity-sent": "poslano %s na %s", + "activity-unjoined": "se je odjavil iz %s", + "activity-subtask-added": "dodal podopravilo k %s", + "activity-checked-item": "obkljukal %s na kontrolnem seznamu %s od %s", + "activity-unchecked-item": "odkljukal %s na kontrolnem seznamu %s od %s", + "activity-checklist-added": "dodal kontrolni seznam na %s", + "activity-checklist-removed": "odstranil kontrolni seznam iz %s", + "activity-checklist-completed": "completed checklist %s of %s", + "activity-checklist-uncompleted": "nedokončal kontrolni seznam %s od %s", + "activity-checklist-item-added": "dodal postavko kontrolnega seznama na '%s' v %s", + "activity-checklist-item-removed": "odstranil postavko kontrolnega seznama iz '%s' v %s", + "add": "Dodaj", + "activity-checked-item-card": "obkljukal %s na kontrolnem seznamu %s", + "activity-unchecked-item-card": "odkljukal %s na kontrolnem seznamu %s", + "activity-checklist-completed-card": "dokončal kontrolni seznam __checklist__ na kartici __card__ na seznamu __list__ na plavalni stezi __swimlane__ na tabli __board__", + "activity-checklist-uncompleted-card": "nedokončal kontrolni seznam %s", + "activity-editComment": "uredil komentar %s", + "activity-deleteComment": "izbrisal komentar %s", + "add-attachment": "Dodaj priponko", + "add-board": "Dodaj tablo", + "add-card": "Dodaj kartico", + "add-swimlane": "Dodaj plavalno stezo", + "add-subtask": "Dodaj podopravilo", + "add-checklist": "Dodaj kontrolni seznam", + "add-checklist-item": "Dodaj postavko na kontrolni seznam", + "add-cover": "Dodaj ovitek", + "add-label": "Dodaj oznako", + "add-list": "Dodaj seznam", + "add-members": "Dodaj člane", + "added": "Dodano", + "addMemberPopup-title": "Člani", + "admin": "Administrator", + "admin-desc": "Lahko gleda in ureja kartice, odstrani člane ter spreminja nastavitve table.", + "admin-announcement": "Najava", + "admin-announcement-active": "Aktivna vse-sistemska najava", + "admin-announcement-title": "Najava od administratorja", + "all-boards": "Vse table", + "and-n-other-card": "In __count__ druga kartica", + "and-n-other-card_plural": "In __count__ drugih kartic", + "apply": "Uporabi", + "app-is-offline": "Nalaganje, prosimo počakajte. Osveževanje strani bo povzročilo izgubo podatkov. Če nalaganje ne deluje, preverite, ali se strežnik ni ustavil.", + "archive": "Premakni v arhiv", + "archive-all": "Premakni vse v arhiv", + "archive-board": "Arhiviraj tablo", + "archive-card": "Arhiviraj kartico", + "archive-list": "Arhiviraj seznam", + "archive-swimlane": "Arhiviraj plavalno stezo", + "archive-selection": "Arhiviraj označeno", + "archiveBoardPopup-title": "Arhiviraj tablo?", + "archived-items": "Arhiv", + "archived-boards": "Table v arhivu", + "restore-board": "Obnovi tablo", + "no-archived-boards": "Nobene table ni v arhivu.", + "archives": "Arhiv", + "template": "Predloga", + "templates": "Predloge", + "assign-member": "Dodeli člana", + "attached": "pripeto", + "attachment": "Priponka", + "attachment-delete-pop": "Brisanje priponke je trajno. Ne obstaja razveljavitev.", + "attachmentDeletePopup-title": "Briši priponko?", + "attachments": "Priponke", + "auto-watch": "Samodejno spremljaj ustvarjene table", + "avatar-too-big": "Velikost avatarja je prevelika (70kB maks.)", + "back": "Nazaj", + "board-change-color": "Spremeni barvo", + "board-nb-stars": "%s zvezdic", + "board-not-found": "Tabla ni najdena", + "board-private-info": "Ta tabla bo privatna.", + "board-public-info": "Ta tabla bo javna.", + "boardChangeColorPopup-title": "Spremeni ozadje table", + "boardChangeTitlePopup-title": "Preimenuj tablo", + "boardChangeVisibilityPopup-title": "Spremeni vidnost", + "boardChangeWatchPopup-title": "Spremeni opazovanje", + "boardMenuPopup-title": "Nastavitve table", + "boardChangeViewPopup-title": "Pogled table", + "boards": "Table", + "board-view": "Pogled table", + "board-view-cal": "Koledar", + "board-view-swimlanes": "Plavalne steze", + "board-view-collapse": "Skrči", + "board-view-lists": "Seznami", + "bucket-example": "Kot na primer \"Življenjski seznam\"", + "cancel": "Prekliči", + "card-archived": "Kartica je premaknjena v arhiv.", + "board-archived": "Tabla je premaknjena v arhiv.", + "card-comments-title": "Ta kartica ima %s komentar.", + "card-delete-notice": "Brisanje je trajno. Izgubili boste vsa dejanja, povezana s kartico.", + "card-delete-pop": "Vsa dejanja bodo odstranjena iz zgodovine dejavnosti. Kartice ne boste mogli znova odpreti. Razveljavitve ni.", + "card-delete-suggest-archive": "Kartico lahko premaknete v arhiv, da jo odstranite s table in ohranite dejavnost.", + "card-due": "Rok", + "card-due-on": "Rok", + "card-spent": "Porabljen čas", + "card-edit-attachments": "Uredi priponke", + "card-edit-custom-fields": "Uredi poljubna polja", + "card-edit-labels": "Uredi oznake", + "card-edit-members": "Uredi člane", + "card-labels-title": "Spremeni oznake za kartico.", + "card-members-title": "Dodaj ali odstrani člane table iz kartice.", + "card-start": "Začetek", + "card-start-on": "Začne ob", + "cardAttachmentsPopup-title": "Pripni od", + "cardCustomField-datePopup-title": "Spremeni datum", + "cardCustomFieldsPopup-title": "Uredi poljubna polja", + "cardStartVotingPopup-title": "Start a vote", + "positiveVoteMembersPopup-title": "Proponents", + "negativeVoteMembersPopup-title": "Opponents", + "card-edit-voting": "Edit voting", + "editVoteEndDatePopup-title": "Change vote end date", + "allowNonBoardMembers": "Allow all logged in users", + "vote-question": "Voting question", + "vote-public": "Show who voted what", + "vote-for-it": "for it", + "vote-against": "against", + "deleteVotePopup-title": "Delete vote?", + "vote-delete-pop": "Deleting is permanent. You will lose all actions associated with this vote.", + "cardDeletePopup-title": "Briši kartico?", + "cardDetailsActionsPopup-title": "Dejanja kartice", + "cardLabelsPopup-title": "Oznake", + "cardMembersPopup-title": "Člani", + "cardMorePopup-title": "Več", + "cardTemplatePopup-title": "Ustvari predlogo", + "cards": "Kartice", + "cards-count": "Kartic", + "casSignIn": "Vpiši se s CAS", + "cardType-card": "Kartica", + "cardType-linkedCard": "Povezana kartica", + "cardType-linkedBoard": "Povezana tabla", + "change": "Spremeni", + "change-avatar": "Spremeni avatar", + "change-password": "Spremeni geslo", + "change-permissions": "Spremeni dovoljenja", + "change-settings": "Spremeni nastavitve", + "changeAvatarPopup-title": "Spremeni avatar", + "changeLanguagePopup-title": "Spremeni jezik", + "changePasswordPopup-title": "Spremeni geslo", + "changePermissionsPopup-title": "Spremeni dovoljenja", + "changeSettingsPopup-title": "Spremeni nastavitve", + "subtasks": "Podopravila", + "checklists": "Kontrolni seznami", + "click-to-star": "Kliknite, da označite tablo z zvezdico.", + "click-to-unstar": "Kliknite, da odznačite tablo z zvezdico.", + "clipboard": "Odložišče ali povleci & spusti", + "close": "Zapri", + "close-board": "Zapri tablo", + "close-board-pop": "Tablo boste lahko obnovili s klikom na gumb »Arhiviraj« na vstopni strani.", + "color-black": "črna", + "color-blue": "modra", + "color-crimson": "temno rdeča", + "color-darkgreen": "temno zelena", + "color-gold": "zlata", + "color-gray": "siva", + "color-green": "zelena", + "color-indigo": "indigo", + "color-lime": "limeta", + "color-magenta": "magenta", + "color-mistyrose": "rožnata", + "color-navy": "navy modra", + "color-orange": "oranžna", + "color-paleturquoise": "bledo turkizna", + "color-peachpuff": "breskvasta", + "color-pink": "roza", + "color-plum": "slivova", + "color-purple": "vijolična", + "color-red": "rdeča", + "color-saddlebrown": "rjava", + "color-silver": "srebrna", + "color-sky": "nebesna", + "color-slateblue": "skrilasto modra", + "color-white": "bela", + "color-yellow": "rumena", + "unset-color": "Onemogoči", + "comment": "Komentiraj", + "comment-placeholder": "Napiši komentar", + "comment-only": "Samo komentar", + "comment-only-desc": "Lahko komentirate samo na karticah.", + "no-comments": "Ni komentarjev", + "no-comments-desc": "Ne morete videti komentarjev in dejavnosti.", + "worker": "Delavec", + "worker-desc": "Lahko samo premikam kartice, se dodelim na kartico in komentiram.", + "computer": "Računalnik", + "confirm-subtask-delete-dialog": "Ste prepričani, da želite izbrisati podopravilo?", + "confirm-checklist-delete-dialog": "Ste prepričani, da želite izbrisati kontrolni seznam?", + "copy-card-link-to-clipboard": "Kopiraj povezavo kartice na odložišče", + "linkCardPopup-title": "Poveži kartico", + "searchElementPopup-title": "Išči", + "copyCardPopup-title": "Kopiraj kartico", + "copyChecklistToManyCardsPopup-title": "Kopiraj predlogo kontrolnega seznama na več kartic", + "copyChecklistToManyCardsPopup-instructions": "Naslovi ciljnih kartic in opisi v JSON formatu", + "copyChecklistToManyCardsPopup-format": "[ {\"naslov\": \"Naslov prve kartice\", \"opis\":\"Opis prve kartice\"}, {\"naslov\":\"Opis druge kartice\",\"opis\":\"Opis druge kartice\"},{\"naslov\":\"Naslov zadnje kartice\",\"opis\":\"Opis zadnje kartice\"} ]", + "create": "Ustvari", + "createBoardPopup-title": "Ustvari tablo", + "chooseBoardSourcePopup-title": "Uvozi tablo", + "createLabelPopup-title": "Ustvari oznako", + "createCustomField": "Ustvari polje", + "createCustomFieldPopup-title": "Ustvari polje", + "current": "trenutno", + "custom-field-delete-pop": "Razveljavitve ni. To bo odstranilo to poljubno polje iz vseh kartic in izbrisalo njegovo zgodovino.", + "custom-field-checkbox": "Potrditveno polje", + "custom-field-currency": "Currency", + "custom-field-currency-option": "Currency Code", + "custom-field-date": "Datum", + "custom-field-dropdown": "Spustni seznam", + "custom-field-dropdown-none": "(nobeno)", + "custom-field-dropdown-options": "Možnosti seznama", + "custom-field-dropdown-options-placeholder": "Pritisnite enter da dodate več možnosti", + "custom-field-dropdown-unknown": "(neznano)", + "custom-field-number": "Število", + "custom-field-text": "Besedilo", + "custom-fields": "Poljubna polja", + "date": "Datum", + "decline": "Zavrni", + "default-avatar": "Privzeti avatar", + "delete": "Briši", + "deleteCustomFieldPopup-title": "Briši poljubno polje?", + "deleteLabelPopup-title": "Briši oznako?", + "description": "Opis", + "disambiguateMultiLabelPopup-title": "Razdvoji Dejanje Oznake", + "disambiguateMultiMemberPopup-title": "Razdvoji dejanje člana", + "discard": "Razveljavi", + "done": "Končano", + "download": "Prenos", + "edit": "Uredi", + "edit-avatar": "Spremeni avatar", + "edit-profile": "Uredi profil", + "edit-wip-limit": "Uredi omejitev št. kartic", + "soft-wip-limit": "Omehčaj omejitev št. kartic", + "editCardStartDatePopup-title": "Spremeni začetni datum", + "editCardDueDatePopup-title": "Spremeni datum zapadlosti", + "editCustomFieldPopup-title": "Uredi polje", + "editCardSpentTimePopup-title": "Spremeni porabljen čas", + "editLabelPopup-title": "Spremeni oznako", + "editNotificationPopup-title": "Uredi obvestilo", + "editProfilePopup-title": "Uredi profil", + "email": "E-pošta", + "email-enrollAccount-subject": "Up. račun ustvarjen za vas na __siteName__", + "email-enrollAccount-text": "Pozdravljeni __user__,\n\nZa začetek uporabe kliknite spodnjo povezavo.\n\n__url__\n\nHvala.", + "email-fail": "Pošiljanje e-pošte ni uspelo", + "email-fail-text": "Napaka pri poskusu pošiljanja e-pošte", + "email-invalid": "Neveljavna e-pošta", + "email-invite": "Povabi z uporabo e-pošte", + "email-invite-subject": "__inviter__ vam je poslal povabilo", + "email-invite-text": "Spoštovani __user__,\n\n__inviter__ vas vabi k sodelovanju na tabli \"__board__\".\n\nProsimo sledite spodnji povezavi:\n\n__url__\n\nHvala.", + "email-resetPassword-subject": "Ponastavite geslo na __siteName__", + "email-resetPassword-text": "Pozdravljeni __user__,\n\nZa ponastavitev gesla kliknite na spodnjo povezavo.\n\n__url__\n\nHvala.", + "email-sent": "E-pošta poslana", + "email-verifyEmail-subject": "Preverite svoje e-poštni naslov na __siteName__", + "email-verifyEmail-text": "Pozdravljeni __user__,\n\nDa preverite e-poštni naslov za vaš uporabniški račun, kliknite na spodnjo povezavo.\n\n__url__\n\nHvala.", + "enable-wip-limit": "Vklopi omejitev št. kartic", + "error-board-doesNotExist": "Ta tabla ne obstaja", + "error-board-notAdmin": "Nimate administrativnih pravic za tablo.", + "error-board-notAMember": "Niste član table.", + "error-json-malformed": "Vaše besedilo ni veljaven JSON", + "error-json-schema": "Vaši JSON podatki ne vsebujejo pravilnih informacij v ustreznem formatu", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "Seznam ne obstaja", + "error-user-doesNotExist": "Uporabnik ne obstaja", + "error-user-notAllowSelf": "Ne morete povabiti sebe", + "error-user-notCreated": "Ta uporabnik ni ustvarjen", + "error-username-taken": "To up. ime že obstaja", + "error-email-taken": "E-poštni naslov je že zaseden", + "export-board": "Izvozi tablo", + "export-board-json": "Export board to JSON", + "export-board-csv": "Export board to CSV", + "export-board-tsv": "Export board to TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "Izvozi tablo", + "sort": "Sortiraj", + "sort-desc": "Klikni za sortiranje seznama", + "list-sort-by": "Sortiraj po:", + "list-label-modifiedAt": "Nazadnje dostopano", + "list-label-title": "Ime seznama", + "list-label-sort": "Ročno nastavljen vrstni red", + "list-label-short-modifiedAt": "(N)", + "list-label-short-title": "(I)", + "list-label-short-sort": "(R)", + "filter": "Filtriraj", + "filter-cards": "Filtriraj kartice ali sezname", + "list-filter-label": "Filtriraj seznam po imenu", + "filter-clear": "Počisti filter", + "filter-no-label": "Brez oznake", + "filter-no-member": "Brez člana", + "filter-no-assignee": "No assignee", + "filter-no-custom-fields": "Brez poljubnih polj", + "filter-show-archive": "Prikaži arhivirane sezname", + "filter-hide-empty": "Skrij prazne sezname", + "filter-on": "Filter vklopljen", + "filter-on-desc": "Filtrirane kartice na tej tabli. Kliknite tukaj za urejanje filtra.", + "filter-to-selection": "Filtriraj izbrane", + "advanced-filter-label": "Napredni filter", + "advanced-filter-description": "Napredni filter omogoča pripravo niza, ki vsebuje naslednje operaterje: == != <= >= && || () Preslednica se uporablja kot ločilo med operatorji. Vsa polja po meri lahko filtrirate tako, da vtipkate njihova imena in vrednosti. Na primer: Polje1 == Vrednost1. Opomba: Če polja ali vrednosti vsebujejo presledke, jih morate postaviti v enojne narekovaje. Primer: 'Polje 1' == 'Vrednost 1'. Če želite preskočiti posamezne kontrolne znake (' \\/), lahko uporabite \\. Na primer: Polje1 == I\\'m. Prav tako lahko kombinirate več pogojev. Na primer: F1 == V1 || F1 == V2. Običajno se vsi operaterji interpretirajo od leve proti desni. Vrstni red lahko spremenite tako, da postavite oklepaje. Na primer: F1 == V1 && ( F2 == V2 || F2 == V3 ). Prav tako lahko po besedilu iščete z uporabo pravil regex: F1 == /Tes.*/i", + "fullname": "Polno Ime", + "header-logo-title": "Pojdi nazaj na stran s tablami.", + "hide-system-messages": "Skrij sistemska sporočila", + "headerBarCreateBoardPopup-title": "Ustvari tablo", + "home": "Domov", + "import": "Uvozi", + "link": "Poveži", + "import-board": "uvozi tablo", + "import-board-c": "Uvozi tablo", + "import-board-title-trello": "Uvozi tablo iz orodja Trello", + "import-board-title-wekan": "Uvozi tablo iz prejšnjega izvoza", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "Iz orodja Trello", + "from-wekan": "Od prejšnjega izvoza", + "from-csv": "From CSV/TSV", + "import-board-instruction-trello": "V vaši Trello tabli pojdite na 'Meni', 'Več', 'Natisni in Izvozi', 'Izvozi JSON', in kopirajte prikazano besedilo.", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "V vaši tabli pojdite na 'Meni', 'Izvozi tablo' in kopirajte besedilo iz prenesene datoteke.", + "import-board-instruction-about-errors": "Pri napakah med uvozom table v nekaterih primerih uvažanje še deluje, uvožena tabla pa je na strani Vse Table.", + "import-json-placeholder": "Tukaj prilepite veljavne JSON podatke", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "Mapiraj člane", + "import-members-map": "Vaša uvožena tabla vsebuje nekaj članov. Prosimo mapirajte člane, ki jih želite uvoziti, z vašimi uporabniki.", + "import-show-user-mapping": "Preglejte povezane člane", + "import-user-select": "Izberite obstoječega uporabnika, ki ga želite uporabiti kot tega člana.", + "importMapMembersAddPopup-title": "Izberite člana", + "info": "Različica", + "initials": "Inicialke", + "invalid-date": "Neveljaven datum", + "invalid-time": "Neveljaven čas", + "invalid-user": "Neveljaven uporabnik", + "joined": "se je pridružil", + "just-invited": "Povabljeni ste k tej tabli", + "keyboard-shortcuts": "Bližnjice", + "label-create": "Ustvari Oznako", + "label-default": "%s oznaka (privzeto)", + "label-delete-pop": "Razveljavitve ni. To bo odstranilo oznako iz vseh kartic in izbrisalo njeno zgodovino.", + "labels": "Oznake", + "language": "Jezik", + "last-admin-desc": "Ne morete zamenjati vlog, ker mora obstajati vsaj en admin.", + "leave-board": "Zapusti tablo", + "leave-board-pop": "Ste prepričani, da želite zapustiti tablo __boardTitle__? Odstranjeni boste iz vseh kartic na tej tabli.", + "leaveBoardPopup-title": "Zapusti tablo ?", + "link-card": "Poveži s kartico", + "list-archive-cards": "Arhiviraj vse kartice v seznamu", + "list-archive-cards-pop": "To bo odstranilo vse kartice tega seznama. Za ogled in vrnitev kartic iz arhiva na tablo, kliknite \"Meni\" > \"arhiv\".", + "list-move-cards": "Premakni vse kartice na seznamu", + "list-select-cards": "Izberi vse kartice na seznamu", + "set-color-list": "Nastavi barvo", + "listActionPopup-title": "Dejanja seznama", + "swimlaneActionPopup-title": "Dejanja plavalnih stez", + "swimlaneAddPopup-title": "Dodaj plavalno stezo spodaj", + "listImportCardPopup-title": "Uvozi Trello kartico", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "Več", + "link-list": "Poveži s seznamom", + "list-delete-pop": "Vsa dejanja bodo odstranjena iz vira dejavnosti in seznama ne boste mogli obnoviti. Razveljavitve ni.", + "list-delete-suggest-archive": "Lahko premaknete seznam v arhiv, da ga odstranite iz table in ohranite dejavnosti.", + "lists": "Seznami", + "swimlanes": "Plavalne steze", + "log-out": "Odjava", + "log-in": "Prijava", + "loginPopup-title": "Prijava", + "memberMenuPopup-title": "Nastavitve članov", + "members": "Člani", + "menu": "Meni", + "move-selection": "Premakni izbiro", + "moveCardPopup-title": "Premakni kartico", + "moveCardToBottom-title": "Premakni na dno", + "moveCardToTop-title": "Premakni na vrh", + "moveSelectionPopup-title": "Premakni izbiro", + "multi-selection": "Multi-Izbira", + "multi-selection-on": "Multi-Izbira je omogočena", + "muted": "Utišano", + "muted-info": "O spremembah na tej tabli ne boste prejemali obvestil.", + "my-boards": "Moje Table", + "name": "Ime", + "no-archived-cards": "Ni kartic v arhivu", + "no-archived-lists": "Ni seznamov v arhivu", + "no-archived-swimlanes": "Ni plavalnih stez v arhivu", + "no-results": "Ni zadetkov", + "normal": "Normalno", + "normal-desc": "Lahko gleda in ureja kartice. Ne more spreminjati nastavitev.", + "not-accepted-yet": "Povabilo še ni sprejeto.", + "notify-participate": "Prejemajte posodobitve kartic, na katerih sodelujete kot ustvarjalec ali član", + "notify-watch": "Prejemajte posodobitve opazovanih tabel, seznamov ali kartic", + "optional": "opcijsko", + "or": "ali", + "page-maybe-private": "Ta stran je morda privatna. Verjetno si jo lahko ogledate poprijavi.", + "page-not-found": "Stran ne obstaja.", + "password": "Geslo", + "paste-or-dragdrop": "prilepi ali povleci & spusti datoteko slike (samo slika)", + "participating": "Sodelovanje", + "preview": "Predogled", + "previewAttachedImagePopup-title": "Predogled", + "previewClipboardImagePopup-title": "Predogled", + "private": "Zasebno", + "private-desc": "Ta tabla je zasebna. Vsebino lahko vidijo ali urejajo samo dodani uporabniki.", + "profile": "Profil", + "public": "Javno", + "public-desc": "Ta tabla je javna. Vidna je vsakomur s povezavo do table in bo prikazana v zadetkih iskalnikov kot Google. Urejajo jo lahko samo člani table.", + "quick-access-description": "Če tablo označite z zvezdico, bo tukaj dodana bližnjica.", + "remove-cover": "Odstrani ovitek", + "remove-from-board": "Odstrani iz table", + "remove-label": "Odstrani oznako", + "listDeletePopup-title": "Odstrani seznam?", + "remove-member": "Odstrani člana", + "remove-member-from-card": "Odstrani iz kartice", + "remove-member-pop": "Odstrani __name__ (__username__) iz __boardTitle__? Član bo odstranjen iz vseh kartic te table in bo prejel obvestilo.", + "removeMemberPopup-title": "Odstrani člana?", + "rename": "Preimenuj", + "rename-board": "Preimenuj tablo", + "restore": "Obnovi", + "save": "Shrani", + "search": "Išči", + "rules": "Pravila", + "search-cards": "Search from card/list titles, descriptions and custom fields on this board", + "search-example": "Besedilo za iskanje?", + "select-color": "Izberi barvo", + "set-wip-limit-value": "Omeji maksimalno število opravil v seznamu", + "setWipLimitPopup-title": "Omeji število kartic", + "shortcut-assign-self": "Dodeli sebe k trenutni kartici", + "shortcut-autocomplete-emoji": "Samodokončaj emoji", + "shortcut-autocomplete-members": "Samodokončaj člane", + "shortcut-clear-filters": "Počisti vse filtre", + "shortcut-close-dialog": "Zapri dialog", + "shortcut-filter-my-cards": "Filtriraj moje kartice", + "shortcut-show-shortcuts": "Prikaži seznam bližnjic", + "shortcut-toggle-filterbar": "Preklopi stransko vrstico za filter", + "shortcut-toggle-sidebar": "Preklopi stransko vrstico table", + "show-cards-minimum-count": "Prikaži število kartic, če seznam vsebuje več kot", + "sidebar-open": "Odpri stransko vrstico", + "sidebar-close": "Zapri stransko vrstico", + "signupPopup-title": "Ustvari up. račun", + "star-board-title": "Označite tablo z zvezdico, da bo prikazana na vrhu v seznamu tabel.", + "starred-boards": "Table z zvezdico", + "starred-boards-description": "Table z zvezdico se prikažejo na vrhu vašega seznama tabel.", + "subscribe": "Naročite se", + "team": "Skupina", + "this-board": "tablo", + "this-card": "kartico", + "spent-time-hours": "Porabljen čas (ure)", + "overtime-hours": "Presežen čas (ure)", + "overtime": "Presežen čas", + "has-overtime-cards": "Ima kartice s preseženim časom", + "has-spenttime-cards": "Ima kartice s porabljenim časom", + "time": "Čas", + "title": "Naslov", + "tracking": "Sledenje", + "tracking-info": "Obveščeni boste o vseh spremembah nad karticami, kjer ste lastnik ali član.", + "type": "Tip", + "unassign-member": "Odjavi člana", + "unsaved-description": "Imate neshranjen opis.", + "unwatch": "Prekliči opazovanje", + "upload": "Naloži", + "upload-avatar": "Naloži avatar", + "uploaded-avatar": "Naložil avatar", + "username": "Up. ime", + "view-it": "Poglej", + "warn-list-archived": "opozorilo: ta kartica je v seznamu v arhivu", + "watch": "Opazuj", + "watching": "Opazuje", + "watching-info": "O spremembah na tej tabli boste obveščeni", + "welcome-board": "Tabla Dobrodošli", + "welcome-swimlane": "Mejnik 1", + "welcome-list1": "Osnove", + "welcome-list2": "Napredno", + "card-templates-swimlane": "Predloge kartice", + "list-templates-swimlane": "Predloge seznama", + "board-templates-swimlane": "Predloge table", + "what-to-do": "Kaj želite storiti?", + "wipLimitErrorPopup-title": "Neveljaven limit št. kartic", + "wipLimitErrorPopup-dialog-pt1": "Število opravil v seznamu je višje od limita št. kartic.", + "wipLimitErrorPopup-dialog-pt2": "Prosimo premaknite nekaj opravil iz tega seznama ali nastavite višji limit št. kartic.", + "admin-panel": "Skrbniška plošča", + "settings": "Nastavitve", + "people": "Ljudje", + "registration": "Registracija", + "disable-self-registration": "Onemogoči samo-registracijo", + "invite": "Povabi", + "invite-people": "Povabi ljudi", + "to-boards": "K tabli(am)", + "email-addresses": "E-poštni naslovi", + "smtp-host-description": "Naslov vašega strežnika SMTP.", + "smtp-port-description": "Vrata vašega strežnika SMTP za odhodno pošto.", + "smtp-tls-description": "Omogoči šifriranje TLS za SMTP strežnik.", + "smtp-host": "SMTP gostitelj", + "smtp-port": "SMTP vrata", + "smtp-username": "Up. ime", + "smtp-password": "Geslo", + "smtp-tls": "TLS podpora", + "send-from": "Od", + "send-smtp-test": "Pošljite testno e-pošto na svoj naslov", + "invitation-code": "Koda Povabila", + "email-invite-register-subject": "__inviter__ vam je poslal povabilo", + "email-invite-register-text": "Dragi __user__,\n\n__inviter__ vas vabi na kanban tablo za sodelovanje.\n\nProsimo sledite spodnji povezavi:\n__url__\n\nVaša koda povabila je: __icode__\n\nHvala.", + "email-smtp-test-subject": "SMTP testna e-pošta", + "email-smtp-test-text": "Uspešno ste poslali e-pošto", + "error-invitation-code-not-exist": "Koda povabila ne obstaja", + "error-notAuthorized": "Nimate pravic za ogled te strani.", + "webhook-title": "Ime spletnega vmesnika (webhook)", + "webhook-token": "Žeton (opcijsko za avtentikacijo)", + "outgoing-webhooks": "Izhodni spletni vmesniki (webhooks)", + "bidirectional-webhooks": "Dvo-smerni spletni vmesniki (webhooks)", + "outgoingWebhooksPopup-title": "Izhodni spletni vmesniki (webhooks)", + "boardCardTitlePopup-title": "Filter po naslovu kartice", + "disable-webhook": "Onemogoči ta spletni vmesnik (webhook)", + "global-webhook": "Globalni spletni vmesnik (webhook)", + "new-outgoing-webhook": "Nov izhodni spletni vmesnik (webhook)", + "no-name": "(Neznano)", + "Node_version": "Node različica", + "Meteor_version": "Meteor različica", + "MongoDB_version": "MongoDB različica", + "MongoDB_storage_engine": "MongoDB storage engine", + "MongoDB_Oplog_enabled": "MongoDB Oplog omogočen", + "OS_Arch": "OS Arhitektura", + "OS_Cpus": "OS število CPU", + "OS_Freemem": "OS prost pomnilnik", + "OS_Loadavg": "OS povp. obremenitev", + "OS_Platform": "OS platforma", + "OS_Release": "OS izdaja", + "OS_Totalmem": "OS skupni pomnilnik", + "OS_Type": "OS tip", + "OS_Uptime": "OS čas delovanja", + "days": "dnevi", + "hours": "ure", + "minutes": "minute", + "seconds": "sekunde", + "show-field-on-card": "Prikaži to polje na kartici", + "automatically-field-on-card": "Samodejno dodaj polja na vse kartice", + "showLabel-field-on-card": "Prikaži oznako polja na mini kartici", + "yes": "Da", + "no": "Ne", + "accounts": "Up. računi", + "accounts-allowEmailChange": "Dovoli spremembo e-poštnega naslova", + "accounts-allowUserNameChange": "Dovoli spremembo up. imena", + "createdAt": "Ustvarjen ob", + "verified": "Preverjeno", + "active": "Aktivno", + "card-received": "Prejeto", + "card-received-on": "Prejeto ob", + "card-end": "Konec", + "card-end-on": "Končano na", + "editCardReceivedDatePopup-title": "Spremeni datum prejema", + "editCardEndDatePopup-title": "Spremeni končni datum", + "setCardColorPopup-title": "Nastavi barvo", + "setCardActionsColorPopup-title": "Izberi barvo", + "setSwimlaneColorPopup-title": "Izberi barvo", + "setListColorPopup-title": "Izberi barvo", + "assigned-by": "Dodelil", + "requested-by": "Zahteval", + "board-delete-notice": "Brisanje je trajno. Izgubili boste vse sezname, kartice in akcije, povezane z desko.", + "delete-board-confirm-popup": "Vsi seznami, kartice, oznake in dejavnosti bodo izbrisani in vsebine table ne boste mogli obnoviti. Razveljavitve ni.", + "boardDeletePopup-title": "Izbriši tablo?", + "delete-board": "Izbriši tablo", + "default-subtasks-board": "Podopravila za tablo", + "default": "Privzeto", + "queue": "Čakalna vrsta", + "subtask-settings": "Nastavitve podopravil", + "card-settings": "Nastavitve kartice", + "boardSubtaskSettingsPopup-title": "Nastavitve podopravil table", + "boardCardSettingsPopup-title": "Nastavitve kartice", + "deposit-subtasks-board": "Deponiraj podopravila na tablo:", + "deposit-subtasks-list": "Ciljni seznam za deponirana podopravila:", + "show-parent-in-minicard": "Pokaži starša na mini-kartici:", + "prefix-with-full-path": "Predpona s celotno potjo", + "prefix-with-parent": "Predpona s staršem", + "subtext-with-full-path": "Podbesedilo s celotno potjo", + "subtext-with-parent": "Podbesedilo s staršem", + "change-card-parent": "Zamenjaj starša kartice", + "parent-card": "Starševska kartica", + "source-board": "Izvorna tabla", + "no-parent": "Ne prikaži starša", + "activity-added-label": "dodal oznako '%s' do %s", + "activity-removed-label": "odstranil oznako '%s' od %s", + "activity-delete-attach": "izbrisal priponko od %s", + "activity-added-label-card": "dodal oznako '%s'", + "activity-removed-label-card": "izbrisal oznako '%s'", + "activity-delete-attach-card": "izbrisal priponko", + "activity-set-customfield": "nastavi polje po meri '%s' do '%s' v %s", + "activity-unset-customfield": "zbriši polje po meri '%s' v %s", + "r-rule": "Pravilo", + "r-add-trigger": "Dodaj prožilec", + "r-add-action": "Dodaj akcijo", + "r-board-rules": "Pravila table", + "r-add-rule": "Dodaj pravilo", + "r-view-rule": "Poglej pravilo", + "r-delete-rule": "Izbriši pravilo", + "r-new-rule-name": "Ime novega pravila", + "r-no-rules": "Ni pravil", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "Ko je kartica", + "r-is": " ", + "r-is-moved": "premaknjena", + "r-added-to": "Added to", + "r-removed-from": "izbrisan iz", + "r-the-board": "tabla", + "r-list": "seznam", + "set-filter": "Nastavi filter", + "r-moved-to": "premaknjena v", + "r-moved-from": "premaknjena iz", + "r-archived": "premaknjena v arhiv", + "r-unarchived": "obnovljena iz arhiva", + "r-a-card": "kartico", + "r-when-a-label-is": "Ko je oznaka", + "r-when-the-label": "Ko je oznaka", + "r-list-name": "ime sezn.", + "r-when-a-member": "Ko je član", + "r-when-the-member": "Ko je član", + "r-name": "ime", + "r-when-a-attach": "Ko je priponka", + "r-when-a-checklist": "Ko je kontrolni seznam", + "r-when-the-checklist": "Ko kontrolni seznam", + "r-completed": "zaključen", + "r-made-incomplete": "nastavljen kot nedokončan", + "r-when-a-item": "Ko je kontrolni seznam", + "r-when-the-item": "Ko je element kontrolnega seznama", + "r-checked": "označen", + "r-unchecked": "odznačen", + "r-move-card-to": "Premakni kartico na", + "r-top-of": "Vrh", + "r-bottom-of": "Dno", + "r-its-list": "pripadajočega seznama", + "r-archive": "premaknjena v arhiv", + "r-unarchive": "Obnovi iz arhiva", + "r-card": "kartico", + "r-add": "Dodaj", + "r-remove": "Odstrani", + "r-label": "oznaka", + "r-member": "član", + "r-remove-all": "Izbriši vse člane iz kartice", + "r-set-color": "Nastavi barvo na", + "r-checklist": "kontrolni seznam", + "r-check-all": "Označi vse", + "r-uncheck-all": "Odznači vse", + "r-items-check": "postavke kontrolnega lista", + "r-check": "Označi", + "r-uncheck": "Odznači", + "r-item": "postavka", + "r-of-checklist": "kontrolnega seznama", + "r-send-email": "Pošlji e-pošto", + "r-to": "naslovnik", + "r-of": "of", + "r-subject": "zadeva", + "r-rule-details": "Podrobnosti pravila", + "r-d-move-to-top-gen": "Premakni kartico na vrh pripadajočega sezama", + "r-d-move-to-top-spec": "Premakni kartico na vrh seznama", + "r-d-move-to-bottom-gen": "Premakni kartico na dno pripadajočega seznama", + "r-d-move-to-bottom-spec": "Premakni kartico na dno seznama", + "r-d-send-email": "Pošlji e-pošto", + "r-d-send-email-to": "na", + "r-d-send-email-subject": "zadeva", + "r-d-send-email-message": "vsebina", + "r-d-archive": "Premakni kartico v arhiv", + "r-d-unarchive": "Obnovi kartico iz arhiva", + "r-d-add-label": "Dodaj oznako", + "r-d-remove-label": "Izbriši oznako", + "r-create-card": "Ustvari novo kartico", + "r-in-list": "v seznamu", + "r-in-swimlane": "v plavalni stezi", + "r-d-add-member": "Dodaj člana", + "r-d-remove-member": "Odstrani člana", + "r-d-remove-all-member": "Odstrani vse člane", + "r-d-check-all": "Označi vse elemente seznama", + "r-d-uncheck-all": "Odznači vse elemente seznama", + "r-d-check-one": "Označi element", + "r-d-uncheck-one": "Odznači element", + "r-d-check-of-list": "kontrolnega seznama", + "r-d-add-checklist": "Dodaj kontrolni list", + "r-d-remove-checklist": "Odstrani kotrolni list", + "r-by": "od", + "r-add-checklist": "Dodaj kontrolni list", + "r-with-items": "s postavkami", + "r-items-list": "el1,el2,el3", + "r-add-swimlane": "Dodaj plavalno stezo", + "r-swimlane-name": "ime pl. steze", + "r-board-note": "Opomba: polje pustite prazno, da ustreza vsaki možni vrednosti.", + "r-checklist-note": "Opomba: elementi kontrolnega seznama morajo biti zapisani kot vrednosti, ločene z vejicami.", + "r-when-a-card-is-moved": "Ko je kartica premaknjena v drug seznam", + "r-set": "Nastavi", + "r-update": "Posodobi", + "r-datefield": "polje z datumom", + "r-df-start-at": "začetek", + "r-df-due-at": "rok", + "r-df-end-at": "konec", + "r-df-received-at": "prejeto", + "r-to-current-datetime": "v trenutni datum/čas", + "r-remove-value-from": "Izbriši vrednost iz", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Metoda avtentikacije", + "authentication-type": "Način avtentikacije", + "custom-product-name": "Ime izdelka po meri", + "layout": "Postavitev", + "hide-logo": "Skrij logo", + "add-custom-html-after-body-start": "Dodaj HTML po meri po začetku", + "add-custom-html-before-body-end": "Dodaj HMTL po meri po koncu", + "error-undefined": "Prišlo je do napake", + "error-ldap-login": "Prišlo je do napake ob prijavi", + "display-authentication-method": "Prikaži metodo avtentikacije", + "default-authentication-method": "Privzeta metoda avtentikacije", + "duplicate-board": "Dupliciraj tablo", + "people-number": "Število ljudi je:", + "swimlaneDeletePopup-title": "Zbriši plavalno stezo?", + "swimlane-delete-pop": "Vsa dejanja bodo odstranjena iz seznama dejavnosti. Plavalne steze ne boste mogli obnoviti. Razveljavitve ni.", + "restore-all": "Obnovi vse", + "delete-all": "Izbriši vse", + "loading": "Nalagam, prosimo počakajte", + "previous_as": "zadnji čas je bil", + "act-a-dueAt": "spremenil rok zapadlosti na \nKdaj: __timeValue__\nKje: __card__\n prejšnji rok zapadlosti je bil __timeOldValue__", + "act-a-endAt": "spremenil čas dokončanja na __timeValue__ iz (__timeOldValue__)", + "act-a-startAt": "spremenil čas pričetka na __timeValue__ iz (__timeOldValue__)", + "act-a-receivedAt": "spremenil čas prejema na __timeValue__ iz (__timeOldValue__)", + "a-dueAt": "spremenil rok v", + "a-endAt": "spremenil končni čas v", + "a-startAt": "spremenil začetni čas v", + "a-receivedAt": "spremenil čas prejetja v", + "almostdue": "trenutni rok %s se približuje", + "pastdue": "trenutni rok %s je potekel", + "duenow": "trenutni rok %s je danes", + "act-newDue": "__list__/__card__ ima 1. opomnik roka zapadlosti [__board__]", + "act-withDue": "__list__/__card__ opomniki roka zapadlosti [__board__]", + "act-almostdue": "je opomnil trenuten rok zapadlosti (__timeValue__) kartice __card__ se bliža", + "act-pastdue": "je opomnil trenuten rok zapadlosti (__timeValue__) kartice __card__ je potekel", + "act-duenow": "je opomnil trenuten rok zapadlosti (__timeValue__) kartice __card__ je sedaj", + "act-atUserComment": "Omenjeni ste bili v [__board__] __list__/__card__", + "delete-user-confirm-popup": "Ali ste prepričani, da želite izbrisati ta račun? Razveljavitve ni.", + "accounts-allowUserDelete": "Dovoli uporabnikom, da sami izbrišejo svoj račun", + "hide-minicard-label-text": "Skrij besedilo oznak na karticah", + "show-desktop-drag-handles": "Pokaži ročke za povleko na namizju", + "assignee": "Dodeljen član", + "cardAssigneesPopup-title": "Dodeljen član", + "addmore-detail": "Dodaj podrobnejši opis", + "show-on-card": "Prikaži na kartici", + "new": "Novo", + "editUserPopup-title": "Uredi uporabnika", + "newUserPopup-title": "Nov uporabnik", + "notifications": "Notifications", + "view-all": "View All", + "filter-by-unread": "Filter by Unread", + "mark-all-as-read": "Mark all as read", + "remove-all-read": "Remove all read", + "allow-rename": "Allow Rename", + "allowRenamePopup-title": "Allow Rename", + "start-day-of-week": "Set day of the week start", + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archived", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/sr.i18n.json b/i18n/sr.i18n.json new file mode 100644 index 0000000..58bf784 --- /dev/null +++ b/i18n/sr.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Prihvati", + "act-activity-notify": "Obaveštenje o aktivnosti", + "act-addAttachment": "dodao attachment __prilog__ na kartici __kartica__ na listi __lista__ na swimlane dijagramu toka __swimlane dijagram toka__ na tabli __tabla__", + "act-deleteAttachment": "deleted attachment __attachment__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addSubtask": "added subtask __subtask__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addedLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removedLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklist": "added checklist __checklist__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklistItem": "added checklist item __checklistItem__ to checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklist": "removed checklist __checklist__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklistItem": "removed checklist item __checklistItem__ from checklist __checkList__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-checkedItem": "checked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncheckedItem": "unchecked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-completeChecklist": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncompleteChecklist": "uncompleted checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addComment": "commented on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-editComment": "izmenio komentar na kartici__kartica__:__komentar__na listi__lista__na swimlane dijagramu toka__swimlane dijagram toka__na tabli__tabla", + "act-deleteComment": "izbrisan komentar na kartici__kartica__:__komentar__na listi__lista__na swimlane dijagramu toka__swimlane dijagram toka__na tabli__tabla", + "act-createBoard": "kreirana tabla __tabla__", + "act-createSwimlane": "created swimlane __swimlane__ to board __board__", + "act-createCard": "created card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-createCustomField": "kreirano prilagodjeno polje__prilagodjenoPolje__na tabli__tabla", + "act-deleteCustomField": "izbrisano prilagodjeno polje__prilagodjenoPolje__na tabli__tabla", + "act-setCustomField": "izmenjeno prilagodjeno polje__prilagodjenoPolje__:__vrednostPilagodjenogPolja__na kartici__kartica__na listi__lista__na swimlane dijagramu toka__swimlane dijagram toka__na tabli__tabla", + "act-createList": "added list __list__ to board __board__", + "act-addBoardMember": "added member __member__ to board __board__", + "act-archivedBoard": "Board __board__ moved to Archive", + "act-archivedCard": "Card __card__ at list __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedList": "List __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedSwimlane": "Swimlane __swimlane__ at board __board__ moved to Archive", + "act-importBoard": "imported board __board__", + "act-importCard": "imported card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-importList": "imported list __list__ to swimlane __swimlane__ at board __board__", + "act-joinMember": "added member __member__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-moveCard": "moved card __card__ at board __board__ from list __oldList__ at swimlane __oldSwimlane__ to list __list__ at swimlane __swimlane__", + "act-moveCardToOtherBoard": "moved card __card__ from list __oldList__ at swimlane __oldSwimlane__ at board __oldBoard__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-removeBoardMember": "removed member __member__ from board __board__", + "act-restoredCard": "restored card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-unjoinMember": "removed member __member__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Akcije", + "activities": "Aktivnosti", + "activity": "Aktivnost", + "activity-added": "dodao %s u %s", + "activity-archived": "%s premešteno u Arhivu", + "activity-attached": "prikačio %s u %s", + "activity-created": "kreirao %s", + "activity-customfield-created": "created custom field %s", + "activity-excluded": "izuzmi %s iz %s", + "activity-imported": "uvezao %s u %s iz %s", + "activity-imported-board": "uvezao %s iz %s", + "activity-joined": "spojio %s", + "activity-moved": "premestio %s iz %s u %s", + "activity-on": "na %s", + "activity-removed": "uklonio %s iz %s", + "activity-sent": "poslao %s %s-u", + "activity-unjoined": "rastavio %s", + "activity-subtask-added": "added subtask to %s", + "activity-checked-item": "checked %s in checklist %s of %s", + "activity-unchecked-item": "unchecked %s in checklist %s of %s", + "activity-checklist-added": "lista je dodata u %s", + "activity-checklist-removed": "removed a checklist from %s", + "activity-checklist-completed": "završena čeklista %s od %s", + "activity-checklist-uncompleted": "uncompleted the checklist %s of %s", + "activity-checklist-item-added": "added checklist item to '%s' in %s", + "activity-checklist-item-removed": "removed a checklist item from '%s' in %s", + "add": "Dodaj", + "activity-checked-item-card": "checked %s in checklist %s", + "activity-unchecked-item-card": "unchecked %s in checklist %s", + "activity-checklist-completed-card": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "activity-checklist-uncompleted-card": "uncompleted the checklist %s", + "activity-editComment": "izmenjen komentar", + "activity-deleteComment": "izbrisan komentar", + "add-attachment": "Dodaj prilog", + "add-board": "Add Board", + "add-card": "Dodaj karticu", + "add-swimlane": "Add Swimlane", + "add-subtask": "Dodaj podzadatak", + "add-checklist": "Add Checklist", + "add-checklist-item": "Dodaj novu stavku u listu", + "add-cover": "Dodaj zaglavlje", + "add-label": "Dodaj oznaku", + "add-list": "Dodaj Listu", + "add-members": "Dodaj članove", + "added": "Dodao", + "addMemberPopup-title": "Članovi", + "admin": "Administrator", + "admin-desc": "Može da pregleda i menja kartice, uklanja članove i menja podešavanja table", + "admin-announcement": "Najava", + "admin-announcement-active": "Active System-Wide Announcement", + "admin-announcement-title": "Najava za administratora", + "all-boards": "Sve table", + "and-n-other-card": "And __count__ other card", + "and-n-other-card_plural": "And __count__ other cards", + "apply": "Primeni", + "app-is-offline": "Loading, please wait. Refreshing the page will cause data loss. If loading does not work, please check that server has not stopped.", + "archive": "Premesti u arhivu", + "archive-all": "Premesti sve u arhivu", + "archive-board": "Move Board to Archive", + "archive-card": "Premesti karticu u arhivu", + "archive-list": "Premesti listu u arhivu", + "archive-swimlane": "Move Swimlane to Archive", + "archive-selection": "Move selection to Archive", + "archiveBoardPopup-title": "Move Board to Archive?", + "archived-items": "Arhiviraj", + "archived-boards": "Boards in Archive", + "restore-board": "Restore Board", + "no-archived-boards": "No Boards in Archive.", + "archives": "Arhiviraj", + "template": "Obrazac", + "templates": "Obrasci", + "assign-member": "Dodeli člana", + "attached": "Prikačeno", + "attachment": "Prikačeni dokument", + "attachment-delete-pop": "Brisanje prikačenog dokumenta je trajno. Ne postoji vraćanje obrisanog.", + "attachmentDeletePopup-title": "Obrisati prikačeni dokument?", + "attachments": "Prikačeni dokumenti", + "auto-watch": "Automatically watch boards when they are created", + "avatar-too-big": "Avatar je prevelik (maksimum je 70KB)", + "back": "Nazad", + "board-change-color": "Promeni boju", + "board-nb-stars": "%s zvezdice", + "board-not-found": "Tabla nije pronađena", + "board-private-info": "Ova tabla će biti privatna.", + "board-public-info": "Ova tabla će biti javna.", + "boardChangeColorPopup-title": "Promeni pozadinu table", + "boardChangeTitlePopup-title": "Preimenuj tablu", + "boardChangeVisibilityPopup-title": "Promeni vidljivost", + "boardChangeWatchPopup-title": "Change Watch", + "boardMenuPopup-title": "Board Settings", + "boardChangeViewPopup-title": "Board View", + "boards": "Table", + "board-view": "Board View", + "board-view-cal": "Kalendar", + "board-view-swimlanes": "Swimlanes", + "board-view-collapse": "Sažmi", + "board-view-lists": "Liste", + "bucket-example": "Na primer \"Lista zadataka\"", + "cancel": "Otkaži", + "card-archived": "Ova kartica je premeštena u arhivu.", + "board-archived": "This board is moved to Archive.", + "card-comments-title": "Ova kartica ima %s komentar.", + "card-delete-notice": "Brisanje je trajno. Izgubićeš sve akcije povezane sa ovom karticom.", + "card-delete-pop": "Sve akcije će biti uklonjene sa liste aktivnosti i kartica neće moći biti ponovo otvorena. Nema vraćanja unazad.", + "card-delete-suggest-archive": "You can move a card to Archive to remove it from the board and preserve the activity.", + "card-due": "Rok", + "card-due-on": "Završava se", + "card-spent": "Spent Time", + "card-edit-attachments": "Uredi priloge", + "card-edit-custom-fields": "Edit custom fields", + "card-edit-labels": "Uredi natpise", + "card-edit-members": "Uredi članove", + "card-labels-title": "Promeni natpis na kartici.", + "card-members-title": "Dodaj ili ukloni članove table sa kartice.", + "card-start": "Početak", + "card-start-on": "Počinje", + "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Promeni datum", + "cardCustomFieldsPopup-title": "Edit custom fields", + "cardStartVotingPopup-title": "Novo glasanje", + "positiveVoteMembersPopup-title": "Proponents", + "negativeVoteMembersPopup-title": "Opponents", + "card-edit-voting": "Edit voting", + "editVoteEndDatePopup-title": "Change vote end date", + "allowNonBoardMembers": "Allow all logged in users", + "vote-question": "Pitanje za glasanje", + "vote-public": "Show who voted what", + "vote-for-it": "za", + "vote-against": "protiv", + "deleteVotePopup-title": "Delete vote?", + "vote-delete-pop": "Deleting is permanent. You will lose all actions associated with this vote.", + "cardDeletePopup-title": "Obrisati karticu?", + "cardDetailsActionsPopup-title": "Card Actions", + "cardLabelsPopup-title": "Oznake", + "cardMembersPopup-title": "Članovi", + "cardMorePopup-title": "Više", + "cardTemplatePopup-title": "Napravi šemu", + "cards": "Kartice", + "cards-count": "Kartice", + "casSignIn": "Sign In with CAS", + "cardType-card": "Kartica", + "cardType-linkedCard": "Povezana kartica", + "cardType-linkedBoard": "Linked Board", + "change": "Promeni", + "change-avatar": "Promeni avatara", + "change-password": "Promeni lozinku", + "change-permissions": "Promeni dozvole", + "change-settings": "Promeni podešavanja", + "changeAvatarPopup-title": "Promeni avatara", + "changeLanguagePopup-title": "Promeni jezik", + "changePasswordPopup-title": "Promeni lozinku", + "changePermissionsPopup-title": "Promeni dozvole", + "changeSettingsPopup-title": "Promeni podešavanja", + "subtasks": "Podzadaci", + "checklists": "Liste", + "click-to-star": "Click to star this board.", + "click-to-unstar": "Click to unstar this board.", + "clipboard": "Clipboard or drag & drop", + "close": "Zatvori", + "close-board": "Close Board", + "close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.", + "color-black": "crno", + "color-blue": "plavo", + "color-crimson": "grimizno", + "color-darkgreen": "tamnozeleno", + "color-gold": "zlatno", + "color-gray": "sivo", + "color-green": "zeleno", + "color-indigo": "indigo", + "color-lime": "lime", + "color-magenta": "magenta", + "color-mistyrose": "mistyrose", + "color-navy": "mornarsko", + "color-orange": "narandžasto", + "color-paleturquoise": "paleturquoise", + "color-peachpuff": "peachpuff", + "color-pink": "pink", + "color-plum": "šljiva", + "color-purple": "ljubičasto", + "color-red": "crveno", + "color-saddlebrown": "saddlebrown", + "color-silver": "srebrno", + "color-sky": "nebesko", + "color-slateblue": "slateblue", + "color-white": "belo", + "color-yellow": "žuto", + "unset-color": "Unset", + "comment": "Komentar", + "comment-placeholder": "Napiši komentar", + "comment-only": "Samo komentari", + "comment-only-desc": "Can comment on cards only.", + "no-comments": "No comments", + "no-comments-desc": "Can not see comments and activities.", + "worker": "Radnik", + "worker-desc": "Može samo da pomera kartice, dodeljuje sebe kartici i da komentariše. ", + "computer": "Računar", + "confirm-subtask-delete-dialog": "Are you sure you want to delete subtask?", + "confirm-checklist-delete-dialog": "Are you sure you want to delete checklist?", + "copy-card-link-to-clipboard": "Copy card link to clipboard", + "linkCardPopup-title": "Poveži karticu", + "searchElementPopup-title": "Pretraga", + "copyCardPopup-title": "Kopiraj karticu", + "copyChecklistToManyCardsPopup-title": "Copy Checklist Template to Many Cards", + "copyChecklistToManyCardsPopup-instructions": "Destination Card Titles and Descriptions in this JSON format", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"First card title\", \"description\":\"First card description\"}, {\"title\":\"Second card title\",\"description\":\"Second card description\"},{\"title\":\"Last card title\",\"description\":\"Last card description\"} ]", + "create": "Napravi", + "createBoardPopup-title": "Create Board", + "chooseBoardSourcePopup-title": "Import board", + "createLabelPopup-title": "Napravi oznaku", + "createCustomField": "Napravi polje", + "createCustomFieldPopup-title": "Napravi polje", + "current": "current", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-currency": "Currency", + "custom-field-currency-option": "Currency Code", + "custom-field-date": "Datum", + "custom-field-dropdown": "Padajuća lista", + "custom-field-dropdown-none": "(ništa)", + "custom-field-dropdown-options": "Opcije liste", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(nepoznato)", + "custom-field-number": "Broj", + "custom-field-text": "Tekst", + "custom-fields": "Custom Fields", + "date": "Datum", + "decline": "Odbij", + "default-avatar": "Default avatar", + "delete": "Obriši", + "deleteCustomFieldPopup-title": "Delete Custom Field?", + "deleteLabelPopup-title": "Obrisati oznaku?", + "description": "Opis", + "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", + "disambiguateMultiMemberPopup-title": "Disambiguate Member Action", + "discard": "Odbaci", + "done": "Završeno", + "download": "Preuzmi", + "edit": "Uredi", + "edit-avatar": "Promeni avatara", + "edit-profile": "Uredi profil", + "edit-wip-limit": "Edit WIP Limit", + "soft-wip-limit": "Soft WIP Limit", + "editCardStartDatePopup-title": "Izmeni početni datum", + "editCardDueDatePopup-title": "Izmeni krajnji datum", + "editCustomFieldPopup-title": "Izmeni polje", + "editCardSpentTimePopup-title": "Change spent time", + "editLabelPopup-title": "Izmeni oznaku", + "editNotificationPopup-title": "Izmeni obaveštenje", + "editProfilePopup-title": "Izmeni profil", + "email": "Epošta", + "email-enrollAccount-subject": "An account created for you on __siteName__", + "email-enrollAccount-text": "Hello __user__,\n\nTo start using the service, simply click the link below.\n\n__url__\n\nThanks.", + "email-fail": "Neuspelo slanje epošte", + "email-fail-text": "Error trying to send email", + "email-invalid": "Invalid email", + "email-invite": "Invite via Email", + "email-invite-subject": "__inviter__ sent you an invitation", + "email-invite-text": "Dear __user__,\n\n__inviter__ invites you to join board \"__board__\" for collaborations.\n\nPlease follow the link below:\n\n__url__\n\nThanks.", + "email-resetPassword-subject": "Reset your password on __siteName__", + "email-resetPassword-text": "Hello __user__,\n\nTo reset your password, simply click the link below.\n\n__url__\n\nThanks.", + "email-sent": "Email sent", + "email-verifyEmail-subject": "Verify your email address on __siteName__", + "email-verifyEmail-text": "Hello __user__,\n\nTo verify your account email, simply click the link below.\n\n__url__\n\nThanks.", + "enable-wip-limit": "Enable WIP Limit", + "error-board-doesNotExist": "This board does not exist", + "error-board-notAdmin": "You need to be admin of this board to do that", + "error-board-notAMember": "You need to be a member of this board to do that", + "error-json-malformed": "Your text is not valid JSON", + "error-json-schema": "Your JSON data does not include the proper information in the correct format", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "This list does not exist", + "error-user-doesNotExist": "Korisnik ne postoji", + "error-user-notAllowSelf": "Ne možeš pozvati samog sebe", + "error-user-notCreated": "Korisnik nije kreiran", + "error-username-taken": "Korisničko ime je već zauzeto", + "error-email-taken": "Email has already been taken", + "export-board": "Export board", + "export-board-json": "Export board to JSON", + "export-board-csv": "Export board to CSV", + "export-board-tsv": "Export board to TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "Export board", + "sort": "Sortiraj", + "sort-desc": "Kliknite da biste sortirali listu", + "list-sort-by": "Poredaj listu po:", + "list-label-modifiedAt": "Poslednje vreme pristupa", + "list-label-title": "Naziv liste", + "list-label-sort": "Vaš ručni nalog", + "list-label-short-modifiedAt": "(P)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(R)", + "filter": "Filter", + "filter-cards": "Filtriraj kartice ili liste", + "list-filter-label": "Filtriraj liste po naslovu", + "filter-clear": "Očisti filter", + "filter-no-label": "Nema oznake", + "filter-no-member": "Nema člana", + "filter-no-assignee": "Nema zastupnika", + "filter-no-custom-fields": "No Custom Fields", + "filter-show-archive": "Prikaži arhivirane liste", + "filter-hide-empty": "Sakrij prazne liste", + "filter-on": "Filter je uključen", + "filter-on-desc": "You are filtering cards on this board. Click here to edit filter.", + "filter-to-selection": "Filter to selection", + "advanced-filter-label": "Napredni filter", + "advanced-filter-description": "Advanced Filter allows to write a string containing following operators: == != <= >= && || ( ) A space is used as a separator between the Operators. You can filter for all Custom Fields by typing their names and values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need to encapsulate them into single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) to be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally all operators are interpreted from left to right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i", + "fullname": "Puno ime", + "header-logo-title": "Go back to your boards page.", + "hide-system-messages": "Sakrij sistemske poruke", + "headerBarCreateBoardPopup-title": "Create Board", + "home": "Početna", + "import": "Uvezi", + "link": "Veza", + "import-board": "import board", + "import-board-c": "Import board", + "import-board-title-trello": "Uvezi tablu iz Trella", + "import-board-title-wekan": "Import board from previous export", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "From Trello", + "from-wekan": "From previous export", + "from-csv": "From CSV/TSV", + "import-board-instruction-trello": "In your Trello board, go to 'Menu', then 'More', 'Print and Export', 'Export JSON', and copy the resulting text.", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "In your board, go to 'Menu', then 'Export board', and copy the text in the downloaded file.", + "import-board-instruction-about-errors": "If you get errors when importing board, sometimes importing still works, and board is at All Boards page.", + "import-json-placeholder": "Paste your valid JSON data here", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "Mapiraj članove", + "import-members-map": "Your imported board has some members. Please map the members you want to import to your users", + "import-show-user-mapping": "Review members mapping", + "import-user-select": "Pick your existing user you want to use as this member", + "importMapMembersAddPopup-title": "Izaberi člana", + "info": "Verzija", + "initials": "Inicijali", + "invalid-date": "Neispravan datum", + "invalid-time": "Neispravno vreme", + "invalid-user": "Neispravan korisnik", + "joined": "joined", + "just-invited": "You are just invited to this board", + "keyboard-shortcuts": "Prečice tastature", + "label-create": "Napravi oznaku", + "label-default": "%s label (default)", + "label-delete-pop": "There is no undo. This will remove this label from all cards and destroy its history.", + "labels": "Oznake", + "language": "Jezik", + "last-admin-desc": "You can’t change roles because there must be at least one admin.", + "leave-board": "Leave Board", + "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.", + "leaveBoardPopup-title": "Leave Board ?", + "link-card": "Veza do ove kartice", + "list-archive-cards": "Move all cards in this list to Archive", + "list-archive-cards-pop": "This will remove all the cards in this list from the board. To view cards in Archive and bring them back to the board, click “Menu” > “Archive”.", + "list-move-cards": "Premesti sve kartice u ovoj listi", + "list-select-cards": "Izaberi sve kartice u ovoj listi", + "set-color-list": "Postavi boju", + "listActionPopup-title": "List Actions", + "swimlaneActionPopup-title": "Swimlane Actions", + "swimlaneAddPopup-title": "Add a Swimlane below", + "listImportCardPopup-title": "Import a Trello card", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "Više", + "link-list": "Link to this list", + "list-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the list. There is no undo.", + "list-delete-suggest-archive": "You can move a list to Archive to remove it from the board and preserve the activity.", + "lists": "Liste", + "swimlanes": "Swimlanes", + "log-out": "Odjavi se", + "log-in": "Prijava", + "loginPopup-title": "Prijava", + "memberMenuPopup-title": "Member Settings", + "members": "Članovi", + "menu": "Meni", + "move-selection": "Move selection", + "moveCardPopup-title": "Premesti karticu", + "moveCardToBottom-title": "Premesti na dno", + "moveCardToTop-title": "Premesti na vrh", + "moveSelectionPopup-title": "Move selection", + "multi-selection": "Multi-Selection", + "multi-selection-on": "Multi-Selection is on", + "muted": "Utišano", + "muted-info": "Nećete biti obavešteni o promenama u ovoj tabli", + "my-boards": "My Boards", + "name": "Name", + "no-archived-cards": "No cards in Archive.", + "no-archived-lists": "No lists in Archive.", + "no-archived-swimlanes": "No swimlanes in Archive.", + "no-results": "Nema rezultata", + "normal": "Normalno", + "normal-desc": "Can view and edit cards. Can't change settings.", + "not-accepted-yet": "Invitation not accepted yet", + "notify-participate": "Receive updates to any cards you participate as creater or member", + "notify-watch": "Receive updates to any boards, lists, or cards you’re watching", + "optional": "opciono", + "or": "ili", + "page-maybe-private": "This page may be private. You may be able to view it by logging in.", + "page-not-found": "Stranica nije pronađena.", + "password": "Lozinka", + "paste-or-dragdrop": "to paste, or drag & drop image file to it (image only)", + "participating": "Učestvujem", + "preview": "Prikaz", + "previewAttachedImagePopup-title": "Prikaz", + "previewClipboardImagePopup-title": "Prikaz", + "private": "Privatno", + "private-desc": "This board is private. Only people added to the board can view and edit it.", + "profile": "Profil", + "public": "Javno", + "public-desc": "This board is public. It's visible to anyone with the link and will show up in search engines like Google. Only people added to the board can edit.", + "quick-access-description": "Star a board to add a shortcut in this bar.", + "remove-cover": "Remove Cover", + "remove-from-board": "Ukloni iz table", + "remove-label": "Ukloni oznaku", + "listDeletePopup-title": "Obrisati listu?", + "remove-member": "Ukloni člana", + "remove-member-from-card": "Ukloni iz kartice", + "remove-member-pop": "Remove __name__ (__username__) from __boardTitle__? The member will be removed from all cards on this board. They will receive a notification.", + "removeMemberPopup-title": "Ukloni člana?", + "rename": "Preimenuj", + "rename-board": "Preimenuj tablu", + "restore": "Oporavi", + "save": "Snimi", + "search": "Pretraga", + "rules": "Pravila", + "search-cards": "Pretraži u naslovima kartica/listi, opsima i proizvoljnim poljima sa ove table", + "search-example": "Tekst za pretragu?", + "select-color": "Izaberi boju", + "set-wip-limit-value": "Set a limit for the maximum number of tasks in this list", + "setWipLimitPopup-title": "Set WIP Limit", + "shortcut-assign-self": "Pridruži sebe trenutnoj kartici", + "shortcut-autocomplete-emoji": "Autocomplete emoji", + "shortcut-autocomplete-members": "Sam popuni članove", + "shortcut-clear-filters": "Očisti sve filtere", + "shortcut-close-dialog": "Zatvori dijalog", + "shortcut-filter-my-cards": "Filtriraj kartice", + "shortcut-show-shortcuts": "Prikaži ovu listu prečica", + "shortcut-toggle-filterbar": "Uključi ili isključi bočni meni filtera", + "shortcut-toggle-sidebar": "Uključi ili isključi bočni meni table", + "show-cards-minimum-count": "Show cards count if list contains more than", + "sidebar-open": "Open Sidebar", + "sidebar-close": "Close Sidebar", + "signupPopup-title": "Kreiraj nalog", + "star-board-title": "Klikni da označiš zvezdicom ovu tablu. Pokazaće se na vrhu tvoje liste tabli.", + "starred-boards": "Table sa zvezdicom", + "starred-boards-description": "Table sa zvezdicom se pokazuju na vrhu liste tabli.", + "subscribe": "Pretplati se", + "team": "Tim", + "this-board": "ova tabla", + "this-card": "ova kartica", + "spent-time-hours": "Spent time (hours)", + "overtime-hours": "Overtime (hours)", + "overtime": "Overtime", + "has-overtime-cards": "Has overtime cards", + "has-spenttime-cards": "Has spent time cards", + "time": "Vreme", + "title": "Naslov", + "tracking": "Praćenje", + "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Tip", + "unassign-member": "Unassign member", + "unsaved-description": "Imaš nesnimljen opis.", + "unwatch": "Ne posmatraj", + "upload": "Upload", + "upload-avatar": "Upload an avatar", + "uploaded-avatar": "Uploaded an avatar", + "username": "Korisničko ime", + "view-it": "Pregledaj je", + "warn-list-archived": "warning: this card is in an list at Archive", + "watch": "Posmatraj", + "watching": "Posmatranje", + "watching-info": "Bićete obavešteni o promenama u ovoj tabli", + "welcome-board": "Tabla dobrodošlice", + "welcome-swimlane": "Milestone 1", + "welcome-list1": "Osnove", + "welcome-list2": "Napredno", + "card-templates-swimlane": "Šeme kartice", + "list-templates-swimlane": "Šeme liste", + "board-templates-swimlane": "Board Templates", + "what-to-do": "Šta želiš da uradiš ?", + "wipLimitErrorPopup-title": "Invalid WIP Limit", + "wipLimitErrorPopup-dialog-pt1": "The number of tasks in this list is higher than the WIP limit you've defined.", + "wipLimitErrorPopup-dialog-pt2": "Please move some tasks out of this list, or set a higher WIP limit.", + "admin-panel": "Admin Panel", + "settings": "Podešavanja", + "people": "Ljudi", + "registration": "Registracija", + "disable-self-registration": "Disable Self-Registration", + "invite": "Invite", + "invite-people": "Invite People", + "to-boards": "To board(s)", + "email-addresses": "Adrese epošte", + "smtp-host-description": "The address of the SMTP server that handles your emails.", + "smtp-port-description": "The port your SMTP server uses for outgoing emails.", + "smtp-tls-description": "Enable TLS support for SMTP server", + "smtp-host": "SMTP Host", + "smtp-port": "SMTP Port", + "smtp-username": "Korisničko ime", + "smtp-password": "Lozinka", + "smtp-tls": "TLS podrška", + "send-from": "Od", + "send-smtp-test": "Send a test email to yourself", + "invitation-code": "Invitation Code", + "email-invite-register-subject": "__inviter__ sent you an invitation", + "email-invite-register-text": "Dear __user__,\n\n__inviter__ invites you to kanban board for collaborations.\n\nPlease follow the link below:\n__url__\n\nAnd your invitation code is: __icode__\n\nThanks.", + "email-smtp-test-subject": "SMTP Test Email", + "email-smtp-test-text": "You have successfully sent an email", + "error-invitation-code-not-exist": "Invitation code doesn't exist", + "error-notAuthorized": "You are not authorized to view this page.", + "webhook-title": "Naziv mrežne kuke", + "webhook-token": "Token (neobavezno za autentifikaciju)", + "outgoing-webhooks": "Outgoing Webhooks", + "bidirectional-webhooks": "Dvosmerne mrežne kuke", + "outgoingWebhooksPopup-title": "Outgoing Webhooks", + "boardCardTitlePopup-title": "Card Title Filter", + "disable-webhook": "Onesposobi ovu mrežnu kuku", + "global-webhook": "Globalna mrežna kuka", + "new-outgoing-webhook": "New Outgoing Webhook", + "no-name": "(Nepoznato)", + "Node_version": "Verzija čvora", + "Meteor_version": "Verzija Meteor-a", + "MongoDB_version": "Verzija MongoDB-a", + "MongoDB_storage_engine": "MongoDB mehanizam za skladištenje", + "MongoDB_Oplog_enabled": "MongoDB Oplog omogućen", + "OS_Arch": "OS Arch", + "OS_Cpus": "OS CPU Count", + "OS_Freemem": "OS Free Memory", + "OS_Loadavg": "OS Load Average", + "OS_Platform": "OS Platform", + "OS_Release": "OS Release", + "OS_Totalmem": "OS Total Memory", + "OS_Type": "OS Type", + "OS_Uptime": "OS Uptime", + "days": "dana", + "hours": "sati", + "minutes": "minuta", + "seconds": "sekundi", + "show-field-on-card": "Show this field on card", + "automatically-field-on-card": "Auto create field to all cards", + "showLabel-field-on-card": "Show field label on minicard", + "yes": "Da", + "no": "Ne", + "accounts": "Nalozi", + "accounts-allowEmailChange": "Allow Email Change", + "accounts-allowUserNameChange": "Allow Username Change", + "createdAt": "Created at", + "verified": "Verified", + "active": "Active", + "card-received": "Received", + "card-received-on": "Received on", + "card-end": "End", + "card-end-on": "Ends on", + "editCardReceivedDatePopup-title": "Change received date", + "editCardEndDatePopup-title": "Change end date", + "setCardColorPopup-title": "Podesi boju", + "setCardActionsColorPopup-title": "Izaberi boju", + "setSwimlaneColorPopup-title": "Izaberi boju", + "setListColorPopup-title": "Izaberi boju", + "assigned-by": "Dodeljeno od strane", + "requested-by": "Requested By", + "board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.", + "delete-board-confirm-popup": "All lists, cards, labels, and activities will be deleted and you won't be able to recover the board contents. There is no undo.", + "boardDeletePopup-title": "Delete Board?", + "delete-board": "Delete Board", + "default-subtasks-board": "Subtasks for __board__ board", + "default": "Predefinisano", + "queue": "Queue", + "subtask-settings": "Subtasks Settings", + "card-settings": "Podešavanja kartice", + "boardSubtaskSettingsPopup-title": "Board Subtasks Settings", + "boardCardSettingsPopup-title": "Podešavanja kartice", + "deposit-subtasks-board": "Deposit subtasks to this board:", + "deposit-subtasks-list": "Landing list for subtasks deposited here:", + "show-parent-in-minicard": "Show parent in minicard:", + "prefix-with-full-path": "Prefix with full path", + "prefix-with-parent": "Prefix with parent", + "subtext-with-full-path": "Subtext with full path", + "subtext-with-parent": "Subtext with parent", + "change-card-parent": "Change card's parent", + "parent-card": "Parent card", + "source-board": "Source board", + "no-parent": "Don't show parent", + "activity-added-label": "added label '%s' to %s", + "activity-removed-label": "removed label '%s' from %s", + "activity-delete-attach": "deleted an attachment from %s", + "activity-added-label-card": "added label '%s'", + "activity-removed-label-card": "removed label '%s'", + "activity-delete-attach-card": "deleted an attachment", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "Pravilo", + "r-add-trigger": "Dodaj okidač", + "r-add-action": "Dodaj akciju", + "r-board-rules": "Board rules", + "r-add-rule": "Dodaj pravilo", + "r-view-rule": "Pregledaj pravilo", + "r-delete-rule": "Obriši pravilo", + "r-new-rule-name": "Novi naslov pravila", + "r-no-rules": "Nema pravila", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "Kada kartica", + "r-is": "je", + "r-is-moved": "je premeštena", + "r-added-to": "Added to", + "r-removed-from": "Uklonjena iz", + "r-the-board": "table", + "r-list": "liste", + "set-filter": "Set Filter", + "r-moved-to": "Moved to", + "r-moved-from": "Moved from", + "r-archived": "Moved to Archive", + "r-unarchived": "Restored from Archive", + "r-a-card": "a card", + "r-when-a-label-is": "When a label is", + "r-when-the-label": "When the label", + "r-list-name": "list name", + "r-when-a-member": "When a member is", + "r-when-the-member": "When the member", + "r-name": "name", + "r-when-a-attach": "When an attachment", + "r-when-a-checklist": "When a checklist is", + "r-when-the-checklist": "When the checklist", + "r-completed": "Završeno", + "r-made-incomplete": "Made incomplete", + "r-when-a-item": "When a checklist item is", + "r-when-the-item": "When the checklist item", + "r-checked": "Checked", + "r-unchecked": "Unchecked", + "r-move-card-to": "Move card to", + "r-top-of": "Top of", + "r-bottom-of": "Bottom of", + "r-its-list": "its list", + "r-archive": "Move to Archive", + "r-unarchive": "Restore from Archive", + "r-card": "kartica", + "r-add": "Dodaj", + "r-remove": "Ukloni", + "r-label": "oznaka", + "r-member": "član", + "r-remove-all": "Remove all members from the card", + "r-set-color": "Set color to", + "r-checklist": "checklist", + "r-check-all": "Check all", + "r-uncheck-all": "Uncheck all", + "r-items-check": "items of checklist", + "r-check": "Check", + "r-uncheck": "Uncheck", + "r-item": "stavka", + "r-of-checklist": "of checklist", + "r-send-email": "Pošalji epoštu", + "r-to": "za", + "r-of": "of", + "r-subject": "naslov", + "r-rule-details": "Detalji pravila", + "r-d-move-to-top-gen": "Move card to top of its list", + "r-d-move-to-top-spec": "Move card to top of list", + "r-d-move-to-bottom-gen": "Move card to bottom of its list", + "r-d-move-to-bottom-spec": "Move card to bottom of list", + "r-d-send-email": "Pošalji epoštu", + "r-d-send-email-to": "za", + "r-d-send-email-subject": "naslov", + "r-d-send-email-message": "poruka", + "r-d-archive": "Move card to Archive", + "r-d-unarchive": "Restore card from Archive", + "r-d-add-label": "Dodaj oznaku", + "r-d-remove-label": "Ukloni oznaku", + "r-create-card": "Napravi novu karticu", + "r-in-list": "u listi", + "r-in-swimlane": "in swimlane", + "r-d-add-member": "Dodaj člana", + "r-d-remove-member": "Ukloni člana", + "r-d-remove-all-member": "Ukloni sve članove", + "r-d-check-all": "Check all items of a list", + "r-d-uncheck-all": "Uncheck all items of a list", + "r-d-check-one": "Check item", + "r-d-uncheck-one": "Uncheck item", + "r-d-check-of-list": "of checklist", + "r-d-add-checklist": "Add checklist", + "r-d-remove-checklist": "Remove checklist", + "r-by": "by", + "r-add-checklist": "Add checklist", + "r-with-items": "with items", + "r-items-list": "item1,item2,item3", + "r-add-swimlane": "Add swimlane", + "r-swimlane-name": "swimlane name", + "r-board-note": "Note: leave a field empty to match every possible value.", + "r-checklist-note": "Note: checklist's items have to be written as comma separated values.", + "r-when-a-card-is-moved": "When a card is moved to another list", + "r-set": "Postavi", + "r-update": "Ažuriraj", + "r-datefield": "polje za datum", + "r-df-start-at": "početak", + "r-df-due-at": "krajnji datum", + "r-df-end-at": "kraj", + "r-df-received-at": "primljen", + "r-to-current-datetime": "do trenutnog datuma/vremena", + "r-remove-value-from": "Ukloni vrednost sa", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Metod autentifikacije", + "authentication-type": "Tip autentifikacije", + "custom-product-name": "Custom Product Name", + "layout": "Raspored", + "hide-logo": "Sakrij logo", + "add-custom-html-after-body-start": "Add Custom HTML after start", + "add-custom-html-before-body-end": "Add Custom HTML before end", + "error-undefined": "Something went wrong", + "error-ldap-login": "An error occurred while trying to login", + "display-authentication-method": "Display Authentication Method", + "default-authentication-method": "Default Authentication Method", + "duplicate-board": "Duplicate Board", + "people-number": "The number of people is:", + "swimlaneDeletePopup-title": "Delete Swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Restore all", + "delete-all": "Obriši sve", + "loading": "Učitavanje, molim sačekajte.", + "previous_as": "prošli put je bio", + "act-a-dueAt": "modifikovano u vreme\nKada:__vremenskaVrednost__\nGde:__kartica__\nprethodni rok je bio__StaraVremenskaVrednost", + "act-a-endAt": "izmenjeno vreme završetaka za__vremenskaVrednost__od (__StaraVremenskaVrednost__)", + "act-a-startAt": "izmenjeno vreme početka u__vremenskaVrednost__od (__StaraVremenskaVrednost__)", + "act-a-receivedAt": "izmenjeno primljeno vreme u__vremenskaVrednost__od (__StaraVremenskaVrednost__)", + "a-dueAt": "izmenjen krajnji datum da bude", + "a-endAt": "izmenjeno vreme završetka", + "a-startAt": "izmenjeno vreme početka", + "a-receivedAt": "izmenjeno primljeno vreme da bude", + "almostdue": "trenutni krajnji datum %s se približava", + "pastdue": "trenutni krajnji datum %s je prošao", + "duenow": "trenutni krajnji datum %s je danas", + "act-newDue": "__lista__/__kartica__ima 1. podsetnik za krajnji datum [__tabla__]", + "act-withDue": "__lista__/__kartica__ podsetnici za krajnji datum [__tabla__]", + "act-almostdue": "podsećao da se trenutni krajnji rok (__vremenskaVrednost__) __kartica__ približava", + "act-pastdue": "podsećao da je trenutni krajnji rok (__vremenskaVrednost__) __kartica__ prošao", + "act-duenow": "podsećao da je trenutni krajnji rok (__vremenskaVrednost__) __kartica__ trenutno", + "act-atUserComment": "Spomenuti ste na [__tabla__] __lista__/__kartica__", + "delete-user-confirm-popup": "Da li ste sigurni da želite da izbrišete nalog? Nema poništenja akcije. ", + "accounts-allowUserDelete": "Dozvoli korisnicima da sami brišu svoj nalog", + "hide-minicard-label-text": "Sakrij tekst nalepnice minikartice", + "show-desktop-drag-handles": "Prikaži kvake za povlačenje sa radne površine", + "assignee": "Zastupnik", + "cardAssigneesPopup-title": "Zastupnik", + "addmore-detail": "Dodaj detaljaniji opis", + "show-on-card": "Prikaži na kartici", + "new": "Novo", + "editUserPopup-title": "Uredi korisnika", + "newUserPopup-title": "Novi korisnik", + "notifications": "Obaveštenja", + "view-all": "Prikaži sve", + "filter-by-unread": "Filtriraj nepročitano", + "mark-all-as-read": "Označi sve kao pročitano", + "remove-all-read": "Ukloni sve pročitano", + "allow-rename": "Dozvoli preimenovanje", + "allowRenamePopup-title": "Dozvoli preimenovanje", + "start-day-of-week": "Set day of the week start", + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archived", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/sv.i18n.json b/i18n/sv.i18n.json new file mode 100644 index 0000000..a863483 --- /dev/null +++ b/i18n/sv.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Acceptera", + "act-activity-notify": "Aktivitetsnotis", + "act-addAttachment": "lade till bifogad fil __attachment__ på kort __card__ i lista __list__ i simbana __swimlane__ på tavla __board__", + "act-deleteAttachment": "raderade bifogad fil __attachment__ från kort __card__ i lista __list__ i simbana __swimlane__ på tavla __board__", + "act-addSubtask": "lade till underaktivitet __subtask__ på kort __card__ i lista __list__ i simbana __swimlane__ på tavla __board__", + "act-addLabel": "lade till etikett __label__ på kort __card__ i lista __list__ i simbana __swimlane__ på tavla __board__", + "act-addedLabel": "lade till etikett __label__ på kort __card__ i lista __list__ i simbana __swimlane__ på tavla __board__", + "act-removeLabel": "Tog bort etikett __label__ från kort __card__ i lista __list__ i simbana __swimlane__ på tavla __board__", + "act-removedLabel": "Tog bort etikett __label__ från kort __card__ i lista __list__ i simbana __swimlane__ på tavla __board__", + "act-addChecklist": "lade till checklista __checklist__ på kort __card__ i lista __list__ i simbana __swimlane__ på tavla __board__", + "act-addChecklistItem": "lade till checklistobjekt __checklistItem__ till checklista __checklist__ på kort __card__ i lista __list__ i simbana __swimlane__ på tavla __board__", + "act-removeChecklist": "tog bort checklista __checklist__ från kort __card__ i lista __list__ i simbana __swimlane__ på tavla __board__", + "act-removeChecklistItem": "tog bort checklistobjekt __checklistItem__ från __checklist__ på kort __card__ i lista __list__ i simbana __swimlane__ på tavla __board__", + "act-checkedItem": "klarmarkerade __checklistItem__ från checklista __checklist__ på kort __card__ i lista __list__ i simbana __swimlane__ på tavla __board__", + "act-uncheckedItem": "avmarkerade __checklistItem__ från checklista __checklist__ på kort __card__ i lista __list__ i simbana __swimlane__ på tavla __board__", + "act-completeChecklist": "slutförde checklista __checklist__ i kort __card__ i lista __list__ i simbana __swimlane__ på tavla __board__", + "act-uncompleteChecklist": "ofullbordade checklista __checklist__ på kort __card__ i lista __list__ i simbana __swimlane__ på tavla __board__", + "act-addComment": "kommenterade på kort __card__: __comment__ i lista __list__ i simbana __swimlane__ på tavla __board__", + "act-editComment": "redigerade kommentar på kort __card__: __comment__ i listan __list__ i simbana __swimlane__ på tavla __board__", + "act-deleteComment": "raderade kommentar på kort __card__: __comment__ i listan __list__ i simbana __swimlane__ på tavla __board__", + "act-createBoard": "skapade tavla __board__", + "act-createSwimlane": "skapade simbana __swimlane__ till tavla __board__", + "act-createCard": "skapade kort __card__ i lista __list__ i simbana __swimlane__ på tavla __board__", + "act-createCustomField": "skapade anpassat fält __customField__ på tavla __board__", + "act-deleteCustomField": "raderade anpassat fält __customField__ på tavla __board__", + "act-setCustomField": "redigerade anpassat fält __customField__: __customFieldValue__ på kort __card__ i lista __list__ i simbana __swimlane__ på tavla __board__", + "act-createList": "lade till lista __list__ på tavla __board__", + "act-addBoardMember": "lade till medlem __member__ på tavla __board__", + "act-archivedBoard": "Tavla__board__ flyttad till Arkiv", + "act-archivedCard": "Kort __card__ i lista __list__ i simbana __swimlane__ på tavla __board__ flyttad till Arkiv", + "act-archivedList": "Lista __list__ i simbana __swimlane__ på tavla __board__ flyttad till Arkiv", + "act-archivedSwimlane": "Simbana __swimlane__ på tavla __board__ flyttad till Arkiv", + "act-importBoard": "importerade tavla __board__", + "act-importCard": "importerade kort __card__ till lista __list__ i simbana __swimlane__ på tavla __board__", + "act-importList": "importerade lista __list__ till simbana __swimlane__ på tavla __board__", + "act-joinMember": "lade till medlem __member__ till kort __card__ i lista __list__ i simbana __swimlane__ på tavla __board__", + "act-moveCard": "flyttade kort __card__ på tavla __board__ från lista __oldList__ i simbana __oldSwimlane__ till lista __list__ i simbana __swimlane__", + "act-moveCardToOtherBoard": "flyttade kort __card__ från lista __oldList__ i simbana __oldSwimlane__ på tavla __oldBoard__ till lista __list__ i simbana __swimlane__ på tavla __board__", + "act-removeBoardMember": "tog bort medlem __member__ från tavla __board__", + "act-restoredCard": "återställde kort __card__ till lista __list__ i simbana __swimlane__ på tavla __board__", + "act-unjoinMember": "tog bort medlem __member__ från kort __card__ i lista __list__ i simbana __swimlane__ på tavla __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Händelser", + "activities": "Aktiviteter", + "activity": "Aktivitet", + "activity-added": "lade %s till %s", + "activity-archived": "%s flyttades till Arkiv", + "activity-attached": "bifogade %s till %s", + "activity-created": "skapade %s", + "activity-customfield-created": "skapade anpassat fält %s", + "activity-excluded": "exkluderade %s från %s", + "activity-imported": "importerade %s till %s från %s", + "activity-imported-board": "importerade %s från %s", + "activity-joined": "gick med i %s", + "activity-moved": "flyttade %s från %s till %s", + "activity-on": "på %s", + "activity-removed": "tog bort %s från %s", + "activity-sent": "skickade %s till %s", + "activity-unjoined": "gick ur %s", + "activity-subtask-added": "lade till deluppgift till %s", + "activity-checked-item": "klarmarkerade %s i checklistan %s av %s", + "activity-unchecked-item": "avmarkerade %s i checklistan %s av %s", + "activity-checklist-added": "lade till checklista till %s", + "activity-checklist-removed": "tog bort en checklista från %s", + "activity-checklist-completed": "slutförde checklista %s av %s", + "activity-checklist-uncompleted": "ofullbordade checklistan %s av %s", + "activity-checklist-item-added": "lade till checklistobjekt till \"%s\" i %s", + "activity-checklist-item-removed": "tog bort ett checklistobjekt från \"%s\" i %s", + "add": "Lägg till", + "activity-checked-item-card": "klarmarkerade %s i checklistan %s", + "activity-unchecked-item-card": "avmarkerade %s i checklistan %s", + "activity-checklist-completed-card": "slutförde checklista __checklist__ i kort __card__ i lista __list__ i simbana __swimlane__ på tavla __board__", + "activity-checklist-uncompleted-card": "ofullbordade checklistan %s", + "activity-editComment": "redigerade kommentar %s", + "activity-deleteComment": "raderade kommentar %s", + "add-attachment": "Lägg till Bilaga", + "add-board": "Lägg till Tavla", + "add-card": "Lägg till Kort", + "add-swimlane": "Lägg till Simbana", + "add-subtask": "Lägg till Deluppgift", + "add-checklist": "Lägg till Checklista", + "add-checklist-item": "Lägg till ett objekt i checklista", + "add-cover": "Lägg till Omslag", + "add-label": "Lägg till Etikett", + "add-list": "Lägg till Lista", + "add-members": "Lägg till Medlemmar", + "added": "Lades till", + "addMemberPopup-title": "Medlemmar", + "admin": "Adminstratör", + "admin-desc": "Kan visa och redigera kort, ta bort medlemmar och ändra inställningarna för tavlan.", + "admin-announcement": "Meddelande", + "admin-announcement-active": "Aktivt Systemövergripande Meddelande", + "admin-announcement-title": "Meddelande från Administratör", + "all-boards": "Alla tavlor", + "and-n-other-card": "Och __count__ annat kort", + "and-n-other-card_plural": "Och __count__ andra kort", + "apply": "Tillämpa", + "app-is-offline": "Läser in, vänligen vänta. Uppdatering av sidan kommer att orsaka förlust av data. Om inläsningen inte fungerar, kontrollera att servern inte har stoppats.", + "archive": "Flytta till Arkiv", + "archive-all": "Flytta Alla till Arkiv", + "archive-board": "Flytta Tavla till Arkiv", + "archive-card": "Flytta Kort till Arkiv", + "archive-list": "Flytta Lista till Arkiv", + "archive-swimlane": "Flytta Simbanan till Arkiv", + "archive-selection": "Flytta markerad till Arkiv", + "archiveBoardPopup-title": "Flytta Tavla till Arkiv?", + "archived-items": "Arkiv", + "archived-boards": "Tavlor i Arkiv", + "restore-board": "Återställ Tavla", + "no-archived-boards": "Inga Tavlor i Arkiv.", + "archives": "Arkiv", + "template": "Mall", + "templates": "Mallar", + "assign-member": "Tilldela medlem", + "attached": "bifogad", + "attachment": "Bilaga", + "attachment-delete-pop": "Radera en bilaga är permanent. Det går inte att ångra.", + "attachmentDeletePopup-title": "Radera bilaga?", + "attachments": "Bilagor", + "auto-watch": "Bevaka automatiskt tavlor när de skapas", + "avatar-too-big": "Avatar är för stor (70KB max)", + "back": "Tillbaka", + "board-change-color": "Ändra färg", + "board-nb-stars": "%s stjärnor", + "board-not-found": "Tavla hittades inte", + "board-private-info": "Denna tavla kommer att vara privat.", + "board-public-info": "Denna tavla kommer att vara publik.", + "boardChangeColorPopup-title": "Ändra Tavelbakgrund", + "boardChangeTitlePopup-title": "Byt namn på Tavla", + "boardChangeVisibilityPopup-title": "Ändra Synlighet", + "boardChangeWatchPopup-title": "Ändra Bevakning", + "boardMenuPopup-title": "Tavelinställningar", + "boardChangeViewPopup-title": "Tavelvy", + "boards": "Tavlor", + "board-view": "Tavelvy", + "board-view-cal": "Kalender", + "board-view-swimlanes": "Simbanor", + "board-view-collapse": "Fäll ihop", + "board-view-lists": "Listor", + "bucket-example": "Gilla \"att-göra-innan-jag-dör-lista\" till exempel", + "cancel": "Avbryt", + "card-archived": "Detta kort är flyttat till Arkiv.", + "board-archived": "Den här tavlan är flyttad till Arkiv.", + "card-comments-title": "Detta kort har %s kommentar.", + "card-delete-notice": "Radering är permanent. Du kommer att förlora alla händelser kopplade till detta kort.", + "card-delete-pop": "Alla händelser kommer att tas bort från aktivitetsflödet och du kommer inte att kunna öppna kortet igen. Det går inte att ångra.", + "card-delete-suggest-archive": "Du kan flytta ett kort till Arkiv för att ta bort det från tavlan och bevara aktiviteten.", + "card-due": "Förfaller", + "card-due-on": "Förfaller på", + "card-spent": "Spenderad Tid", + "card-edit-attachments": "Redigera bilagor", + "card-edit-custom-fields": "Redigera anpassade fält", + "card-edit-labels": "Redigera etiketter", + "card-edit-members": "Redigera medlemmar", + "card-labels-title": "Ändra etiketterna för kortet.", + "card-members-title": "Lägg till eller ta bort medlemmar i tavlan från kortet.", + "card-start": "Börja", + "card-start-on": "Börjar med", + "cardAttachmentsPopup-title": "Bifoga Från", + "cardCustomField-datePopup-title": "Ändra datum", + "cardCustomFieldsPopup-title": "Redigera anpassade fält", + "cardStartVotingPopup-title": "Påbörja en omröstning", + "positiveVoteMembersPopup-title": "Förespråkare", + "negativeVoteMembersPopup-title": "Opponenter", + "card-edit-voting": "Redigera omröstning", + "editVoteEndDatePopup-title": "Ändra slutdatum för omröstning", + "allowNonBoardMembers": "Tillåt alla inloggade användare", + "vote-question": "Omröstningsfråga", + "vote-public": "Visa vem som röstade på vad", + "vote-for-it": "för", + "vote-against": "emot", + "deleteVotePopup-title": "Radera omröstning?", + "vote-delete-pop": "Radering är permanent. Du kommer förlora alla händelser kopplade till denna röstning.", + "cardDeletePopup-title": "Radera Kort?", + "cardDetailsActionsPopup-title": "Korthändelser", + "cardLabelsPopup-title": "Etiketter", + "cardMembersPopup-title": "Medlemmar", + "cardMorePopup-title": "Mer", + "cardTemplatePopup-title": "Skapa mall", + "cards": "Kort", + "cards-count": "Kort", + "casSignIn": "Logga in med CAS", + "cardType-card": "Kort", + "cardType-linkedCard": "Länkat Kort", + "cardType-linkedBoard": "Länkad Tavla", + "change": "Ändra", + "change-avatar": "Ändra Avatar", + "change-password": "Ändra Lösenord", + "change-permissions": "Ändra behörigheter", + "change-settings": "Ändra inställningar", + "changeAvatarPopup-title": "Ändra Avatar", + "changeLanguagePopup-title": "Ändra Språk", + "changePasswordPopup-title": "Ändra Lösenord", + "changePermissionsPopup-title": "Ändra Behörigheter", + "changeSettingsPopup-title": "Ändra Inställningar", + "subtasks": "Deluppgifter", + "checklists": "Checklistor", + "click-to-star": "Klicka för att stjärnmärka denna tavla.", + "click-to-unstar": "Klicka för att ta bort stjärnmärkningen från denna tavla.", + "clipboard": "Urklipp eller dra & släpp", + "close": "Stäng", + "close-board": "Stäng Tavla", + "close-board-pop": "Du kommer att kunna återställa tavlan genom att klicka på knappen \"Arkiv\" i huvudmenyn.", + "color-black": "svart", + "color-blue": "blå", + "color-crimson": "mörkröd", + "color-darkgreen": "mörkgrön", + "color-gold": "guld", + "color-gray": "grå", + "color-green": "grön", + "color-indigo": "indigo", + "color-lime": "lime", + "color-magenta": "magenta", + "color-mistyrose": "ljusrosa", + "color-navy": "marinblå", + "color-orange": "orange", + "color-paleturquoise": "turkos", + "color-peachpuff": "persika", + "color-pink": "rosa", + "color-plum": "lila", + "color-purple": "lila", + "color-red": "röd", + "color-saddlebrown": "sadelbrun", + "color-silver": "silver", + "color-sky": "himmel", + "color-slateblue": "skifferblå", + "color-white": "vit", + "color-yellow": "gul", + "unset-color": "Urkoppla", + "comment": "Kommentera", + "comment-placeholder": "Skriv kommentar", + "comment-only": "Kommentera endast", + "comment-only-desc": "Kan endast kommentera kort.", + "no-comments": "Inga kommentarer", + "no-comments-desc": "Kan inte se kommentarer och aktiviteter.", + "worker": "Worker", + "worker-desc": "Kan endast flytta kort, tilldela sig själv till kort och kommentera.", + "computer": "Dator", + "confirm-subtask-delete-dialog": "Är du säker på att du vill radera deluppgift?", + "confirm-checklist-delete-dialog": "Är du säker på att du vill radera checklista?", + "copy-card-link-to-clipboard": "Kopiera kortlänk till urklipp", + "linkCardPopup-title": "Länka Kort", + "searchElementPopup-title": "Sök", + "copyCardPopup-title": "Kopiera Kort", + "copyChecklistToManyCardsPopup-title": "Kopiera Checklistmallen till Flera Kort", + "copyChecklistToManyCardsPopup-instructions": "Destinationskorttitlar och beskrivningar i detta JSON-format", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"Första kortets titel\", \"description\":\"Första kortets beskrivning\"}, {\"title\":\"Andra kortets titel\",\"description\":\"Andra kortets beskrivning\"},{\"title\":\"Sista kortets titel\",\"description\":\"Sista kortets beskrivning\"} ]", + "create": "Skapa", + "createBoardPopup-title": "Skapa Tavla", + "chooseBoardSourcePopup-title": "Importera tavla", + "createLabelPopup-title": "Skapa Etikett", + "createCustomField": "Skapa Fält", + "createCustomFieldPopup-title": "Skapa Fält", + "current": "aktuell", + "custom-field-delete-pop": "Det går inte att ångra. Detta tar bort det här anpassade fältet från alla kort och förstör dess historik.", + "custom-field-checkbox": "Kryssruta", + "custom-field-currency": "Valuta", + "custom-field-currency-option": "Valutakod", + "custom-field-date": "Datum", + "custom-field-dropdown": "Rullgardinsmeny", + "custom-field-dropdown-none": "(inga)", + "custom-field-dropdown-options": "Listalternativ", + "custom-field-dropdown-options-placeholder": "Tryck på enter för att lägga till fler alternativ", + "custom-field-dropdown-unknown": "(okänd)", + "custom-field-number": "Nummer", + "custom-field-text": "Text", + "custom-fields": "Anpassade Fält", + "date": "Datum", + "decline": "Nedgång", + "default-avatar": "Standard avatar", + "delete": "Ta bort", + "deleteCustomFieldPopup-title": "Radera Anpassat Fält?", + "deleteLabelPopup-title": "Radera Etikett?", + "description": "Beskrivning", + "disambiguateMultiLabelPopup-title": "Precisera Etiketthändelse", + "disambiguateMultiMemberPopup-title": "Precisera Medlemshändelse", + "discard": "Ignorera", + "done": "Färdig", + "download": "Hämta", + "edit": "Redigera", + "edit-avatar": "Ändra Avatar", + "edit-profile": "Redigera Profil", + "edit-wip-limit": "Redigera WIP Gräns", + "soft-wip-limit": "Mjuk WIP Gräns", + "editCardStartDatePopup-title": "Ändra startdatum", + "editCardDueDatePopup-title": "Ändra förfallodatum", + "editCustomFieldPopup-title": "Redigera Fält", + "editCardSpentTimePopup-title": "Ändra spenderad tid", + "editLabelPopup-title": "Ändra Etikett", + "editNotificationPopup-title": "Redigera Notis", + "editProfilePopup-title": "Redigera Profil", + "email": "E-post", + "email-enrollAccount-subject": "Ett konto skapat för dig på __siteName__", + "email-enrollAccount-text": "Hej __user__,\n\nFör att börja använda tjänsten, klicka på länken nedan.\n\n__url__\n\nTack!", + "email-fail": "Sändning av e-post misslyckades", + "email-fail-text": "Ett fel vid försök att skicka e-post", + "email-invalid": "Ogiltig e-post", + "email-invite": "Bjud in via E-post", + "email-invite-subject": "__inviter__ skickade dig en inbjudan", + "email-invite-text": "Kära __user__,\n\n__inviter__ inbjuder dig till tavlan \"__board__\" för samarbete.\n\nFölj länken nedan:\n\n__url__\n\nTack.", + "email-resetPassword-subject": "Återställa lösenordet för __siteName__", + "email-resetPassword-text": "Hej __user__,\n\nFör att återställa ditt lösenord, klicka på länken nedan.\n\n__url__\n\nTack!", + "email-sent": "E-post skickad", + "email-verifyEmail-subject": "Verifiera din e-post adress på __siteName__", + "email-verifyEmail-text": "Hej __user__,\n\nFör att verifiera din konto e-post, klicka på länken nedan.\n\n__url__\n\nTack!", + "enable-wip-limit": "Aktivera WIP Gräns", + "error-board-doesNotExist": "Denna tavla finns inte", + "error-board-notAdmin": "Du måste vara administratör för denna tavla för att göra det", + "error-board-notAMember": "Du måste vara medlem i denna tavla för att göra det", + "error-json-malformed": "Din text är inte giltigt JSON", + "error-json-schema": "Din JSON data inkluderar inte korrekt information i rätt format", + "error-csv-schema": "Din CSV(Comma Separated Values)/TSV (Tab Separated Values) innehåller inte korrekt information i rätt format.", + "error-list-doesNotExist": "Denna lista finns inte", + "error-user-doesNotExist": "Denna användare finns inte", + "error-user-notAllowSelf": "Du kan inte bjuda in dig själv", + "error-user-notCreated": "Den här användaren har inte skapats", + "error-username-taken": "Detta användarnamn är redan taget", + "error-email-taken": "E-post har redan tagits", + "export-board": "Exportera tavla", + "export-board-json": "Exportera tavla till JSON", + "export-board-csv": "Expoertera tavla till CSV", + "export-board-tsv": "Exportera tavla till TSV", + "export-board-html": "Exportera tavla till HTML", + "exportBoardPopup-title": "Exportera tavla", + "sort": "Sortera", + "sort-desc": "Klicka för att sortera listan", + "list-sort-by": "Sortera listan efter:", + "list-label-modifiedAt": "Sista åtkomsttid", + "list-label-title": "Namn på listan", + "list-label-sort": "Din Manuella Ordning", + "list-label-short-modifiedAt": "(S)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Filtrera", + "filter-cards": "Filtrera kort eller listor", + "list-filter-label": "Filtrera lista efter titel", + "filter-clear": "Rensa filter", + "filter-no-label": "Ingen etikett", + "filter-no-member": "Ingen medlem", + "filter-no-assignee": "Inte tilldelad", + "filter-no-custom-fields": "Inga anpassade fält", + "filter-show-archive": "Visa arkiverade listor", + "filter-hide-empty": "Dölj tomma listor", + "filter-on": "Filter är på", + "filter-on-desc": "Du filtrerar kort på denna tavla. Klicka här för att redigera filter.", + "filter-to-selection": "Filter till val", + "advanced-filter-label": "Avancerat filter", + "advanced-filter-description": "Avancerade filter låter dig skriva en sträng innehållande följande operatorer: == != <= >= && || ( ). Ett mellanslag används som separator mellan operatorerna. Du kan filtrera alla specialfält genom att skriva dess namn och värde. Till exempel: Fält1 == Vårde1. Notera: om fälten eller värden innehåller mellanrum behöver du innesluta dem med enkla citatstecken. Till exempel: 'Fält 1' == 'Värde 1'. För att skippa enkla kontrolltecken (' \\/) kan du använda \\. Till exempel: Fält1 == I\\'m. Du kan även kombinera fler villkor. TIll exempel: F1 == V1 || F1 == V2. Vanligtvis läses operatorerna från vänster till höger. Du kan ändra ordning genom att använda paranteser. TIll exempel: F1 == V1 && ( F2 == V2 || F2 == V3 ). Du kan även söka efter textfält med hjälp av regex: F1 == /Tes.*/i", + "fullname": "Namn", + "header-logo-title": "Gå tillbaka till din anslagstavlor-sida.", + "hide-system-messages": "Dölj systemmeddelanden", + "headerBarCreateBoardPopup-title": "Skapa Tavla", + "home": "Hem", + "import": "Importera", + "link": "Länk", + "import-board": "importera tavla", + "import-board-c": "Importera tavla", + "import-board-title-trello": "Importera tavla från Trello", + "import-board-title-wekan": "Importera tavla från tidigare export", + "import-board-title-csv": "Importera tavla från CSV/TSV", + "from-trello": "Från Trello", + "from-wekan": "Från tidigare export", + "from-csv": "Från CSV/TSV", + "import-board-instruction-trello": "I din Trello-tavla, gå till 'Meny', sedan 'Mera', 'Skriv ut och exportera', 'Exportera JSON' och kopiera den resulterande text.", + "import-board-instruction-csv": "Klistra in Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "På din tavla, gå till \"Meny\", sedan \"Exportera tavla\" och kopiera texten i den hämtade filen.", + "import-board-instruction-about-errors": "If you get errors when importing board, sometimes importing still works, and board is at All Boards page.", + "import-json-placeholder": "Klistra in giltigt JSON data här", + "import-csv-placeholder": "Klistra in CSV/TSV data här", + "import-map-members": "Kartlägg medlemmar", + "import-members-map": "Din importerade tavla har några medlemmar. Vänligen matcha medlemmarna du vill importera mot dina användare", + "import-show-user-mapping": "Granska medlemskartläggning", + "import-user-select": "Välj din befintliga användare du vill använda som den här medlemmen", + "importMapMembersAddPopup-title": "Välj medlem", + "info": "Version", + "initials": "Initialer", + "invalid-date": "Ogiltigt datum", + "invalid-time": "Ogiltig tid", + "invalid-user": "Ogiltig användare", + "joined": "gick med", + "just-invited": "Du blev nyss inbjuden till denna tavla", + "keyboard-shortcuts": "Tangentbordsgenvägar", + "label-create": "Skapa etikett", + "label-default": "%s etikett (standard)", + "label-delete-pop": "Det går inte att ångra. Detta tar bort denna etikett från alla kort och förstör dess historik.", + "labels": "Etiketter", + "language": "Språk", + "last-admin-desc": "Du kan inte ändra roller för det måste finnas minst en administratör.", + "leave-board": "Lämna Tavla", + "leave-board-pop": "Är du säker på att du vill lämna __boardTitle__? Du kommer att tas bort från alla kort på den här tavlan.", + "leaveBoardPopup-title": "Lämna Tavla ?", + "link-card": "Länk till detta kort", + "list-archive-cards": "Flytta alla kort i den här listan till Arkiv", + "list-archive-cards-pop": "Detta kommer att ta bort alla kort i denna lista från tavlan. För att visa kort i Arkiv och få dem tillbaka till tavlan, klicka på \"Meny\" > \"Arkiv\".", + "list-move-cards": "Flytta alla kort i denna lista", + "list-select-cards": "Välj alla kort i denna lista", + "set-color-list": "Ange färg", + "listActionPopup-title": "Liståtgärder", + "swimlaneActionPopup-title": "Simbana-åtgärder", + "swimlaneAddPopup-title": "Lägg till en Simbana nedan", + "listImportCardPopup-title": "Importera ett Trello kort", + "listImportCardsTsvPopup-title": "Importera Excel CSV/TSV", + "listMorePopup-title": "Mera", + "link-list": "Länk till den här listan", + "list-delete-pop": "Alla händelser kommer att tas bort från aktivitetsflödet och du kommer inte att kunna återställa listan. Det går inte att ångra.", + "list-delete-suggest-archive": "Du kan flytta en lista till Arkiv för att ta bort den från tavlan och bevara aktiviteten.", + "lists": "Listor", + "swimlanes": "Simbanor", + "log-out": "Logga ut", + "log-in": "Logga in", + "loginPopup-title": "Logga in", + "memberMenuPopup-title": "Användarinställningar", + "members": "Medlemmar", + "menu": "Meny", + "move-selection": "Flytta vald", + "moveCardPopup-title": "Flytta kort", + "moveCardToBottom-title": "Flytta längst ner", + "moveCardToTop-title": "Flytta högst upp", + "moveSelectionPopup-title": "Flytta vald", + "multi-selection": "Flerval", + "multi-selection-on": "Flerval är på", + "muted": "Tystad", + "muted-info": "Du kommer aldrig att få notiser om eventuella ändringar i denna tavla", + "my-boards": "Mina anslagstavlor", + "name": "Namn", + "no-archived-cards": "Inga kort i Arkiv.", + "no-archived-lists": "Inga listor i Arkiv.", + "no-archived-swimlanes": "Inga simbanor i Arkiv.", + "no-results": "Inga reslutat", + "normal": "Normal", + "normal-desc": "Kan se och redigera kort. Kan inte ändra inställningar.", + "not-accepted-yet": "Inbjudan inte ännu accepterad", + "notify-participate": "Få uppdateringar till alla kort du deltar i som skapare eller medlem", + "notify-watch": "Få uppdateringar till alla anslagstavlor, listor, eller kort du bevakar", + "optional": "valfri", + "or": "eller", + "page-maybe-private": "Denna sida kan vara privat. Du kanske kan se den genom att logga in.", + "page-not-found": "Sidan hittades inte.", + "password": "Lösenord", + "paste-or-dragdrop": "klistra in eller dra och släpp bildfil till den (endast bilder)", + "participating": "Deltagande", + "preview": "Förhandsvisning", + "previewAttachedImagePopup-title": "Förhandsvisning", + "previewClipboardImagePopup-title": "Förhandsvisning", + "private": "Privat", + "private-desc": "Denna tavla är privat. Endast personer tillagda i tavlan kan se och redigera den.", + "profile": "Profil", + "public": "Officiell", + "public-desc": "Denna tavla är offentlig. Den är synlig för alla med länken och kommer att dyka upp i sökmotorer som Google. Endast personer tillagda i tavlan kan redigera.", + "quick-access-description": "Stjärnmärk en tavla för att lägga till en genväg i detta fält.", + "remove-cover": "Ta bort Omslag", + "remove-from-board": "Ta bort från Tavla", + "remove-label": "Ta bort Etikett", + "listDeletePopup-title": "Ta bort lista", + "remove-member": "Ta bort Medlem", + "remove-member-from-card": "Ta bort från Kort", + "remove-member-pop": "Ta bort __name__ (__username__) från __boardTitle__? Medlemmen kommer att bli borttagen från alla kort i denna tavla. De kommer att få en notis.", + "removeMemberPopup-title": "Ta bort Medlem?", + "rename": "Byt namn", + "rename-board": "Byt namn på Tavla", + "restore": "Återställ", + "save": "Spara", + "search": "Sök", + "rules": "Regler", + "search-cards": "Sök i kort- och listtitlar, beskrivningar och anpassade fält på denna tavla", + "search-example": "Text att söka efter?", + "select-color": "Välj färg", + "set-wip-limit-value": "Ange en gräns för det maximala antalet uppgifter i den här listan", + "setWipLimitPopup-title": "Ställ in WIP-gräns", + "shortcut-assign-self": "Tilldela dig nuvarande kort", + "shortcut-autocomplete-emoji": "Komplettera automatiskt emoji", + "shortcut-autocomplete-members": "Komplettera automatiskt medlemmar", + "shortcut-clear-filters": "Rensa alla filter", + "shortcut-close-dialog": "Stäng dialog", + "shortcut-filter-my-cards": "Filtrera mina kort", + "shortcut-show-shortcuts": "Ta fram denna genvägslista", + "shortcut-toggle-filterbar": "Växla filtrets sidofält", + "shortcut-toggle-sidebar": "Växla anslagstavlans sidofält", + "show-cards-minimum-count": "Visa kortantal om listan innehåller mer än", + "sidebar-open": "Stäng sidofält", + "sidebar-close": "Stäng sidofält", + "signupPopup-title": "Skapa ett konto", + "star-board-title": "Klicka för att stjärnmärka denna tavla. Den kommer att visas högst upp på din lista över tavlor.", + "starred-boards": "Stjärnmärkta anslagstavlor", + "starred-boards-description": "Stjärnmärkta anslagstavlor visas högst upp på din lista över anslagstavlor.", + "subscribe": "Prenumenera", + "team": "Grupp", + "this-board": "denna tavla", + "this-card": "detta kort", + "spent-time-hours": "Spenderad tid (timmar)", + "overtime-hours": "Övertid (timmar)", + "overtime": "Övertid", + "has-overtime-cards": "Har övertidskort", + "has-spenttime-cards": "Har spenderat tidkort", + "time": "Tid", + "title": "Titel", + "tracking": "Spåra", + "tracking-info": "Du kommer att meddelas om eventuella ändringar av dessa kort du deltar i som skapare eller medlem.", + "type": "Skriv", + "unassign-member": "Ta bort tilldelad medlem", + "unsaved-description": "Du har en osparad beskrivning.", + "unwatch": "Avbevaka", + "upload": "Ladda upp", + "upload-avatar": "Ladda upp en avatar", + "uploaded-avatar": "Laddade upp en avatar", + "username": "Änvandarnamn", + "view-it": "Visa det", + "warn-list-archived": "varning: detta kort finns i en lista i Arkiv", + "watch": "Bevaka", + "watching": "Bevaka", + "watching-info": "Du kommer att få notis om alla ändringar på denna tavla", + "welcome-board": "Välkomstanslagstavla", + "welcome-swimlane": "Milstolpe 1", + "welcome-list1": "Grunderna", + "welcome-list2": "Avancerad", + "card-templates-swimlane": "Kortmallar", + "list-templates-swimlane": "Listmallar", + "board-templates-swimlane": "Tavelmallar", + "what-to-do": "Vad vill du göra?", + "wipLimitErrorPopup-title": "Ogiltig WIP-gräns", + "wipLimitErrorPopup-dialog-pt1": "Antalet uppgifter i den här listan är högre än WIP-gränsen du har definierat.", + "wipLimitErrorPopup-dialog-pt2": "Flytta några uppgifter ur listan, eller ställ in en högre WIP-gräns.", + "admin-panel": "Administratörspanel", + "settings": "Inställningar", + "people": "Personer", + "registration": "Registrering", + "disable-self-registration": "Avaktiverar självregistrering", + "invite": "Bjud in", + "invite-people": "Bjud in personer", + "to-boards": "Till anslagstavl(a/or)", + "email-addresses": "E-post adresser", + "smtp-host-description": "Adressen till SMTP-servern som hanterar din e-post.", + "smtp-port-description": "Porten SMTP-servern använder för utgående e-post.", + "smtp-tls-description": "Aktivera TLS-stöd för SMTP-server", + "smtp-host": "SMTP-värd", + "smtp-port": "SMTP-port", + "smtp-username": "Användarnamn", + "smtp-password": "Lösenord", + "smtp-tls": "TLS-stöd", + "send-from": "Från", + "send-smtp-test": "Skicka ett prov e-postmeddelande till dig själv", + "invitation-code": "Inbjudningskod", + "email-invite-register-subject": "__inviter__ skickade dig en inbjudan", + "email-invite-register-text": "Kära__user__,\n\n__inviter__ bjuder in dig att samarbeta på kanban-tavla.\n\nFölj länken nedan:\n__url__\n\nDin inbjudningskod är: __icode__\n\nTack!", + "email-smtp-test-subject": "SMTP Test E-post", + "email-smtp-test-text": "Du har skickat ett e-postmeddelande", + "error-invitation-code-not-exist": "Inbjudningskod finns inte", + "error-notAuthorized": "Du är inte behörig att se den här sidan.", + "webhook-title": "Namn på webhook", + "webhook-token": "Token (valfritt för autentisering)", + "outgoing-webhooks": "Utgående Webhookar", + "bidirectional-webhooks": "Dubbelriktade Webhookar", + "outgoingWebhooksPopup-title": "Utgående Webhookar", + "boardCardTitlePopup-title": "Korttitelfilter", + "disable-webhook": "Avaktivera Denna Webhook", + "global-webhook": "Globala Webhooks", + "new-outgoing-webhook": "Ny Utgående Webhook", + "no-name": "(Okänd)", + "Node_version": "Nodversion", + "Meteor_version": "Meteor-version", + "MongoDB_version": "MongoDB-version", + "MongoDB_storage_engine": "MongoDB-lagringsmotor", + "MongoDB_Oplog_enabled": "MongoDB Oplog aktiverad", + "OS_Arch": "OS Arch", + "OS_Cpus": "OS CPU-räkning", + "OS_Freemem": "OS ledigt minne", + "OS_Loadavg": "OS belastningsgenomsnitt", + "OS_Platform": "OS plattforme", + "OS_Release": "OS utgåva", + "OS_Totalmem": "OS totalt minne", + "OS_Type": "OS Typ", + "OS_Uptime": "OS drifttid", + "days": "dagar", + "hours": "timmar", + "minutes": "minuter", + "seconds": "sekunder", + "show-field-on-card": "Visa detta fält på kort", + "automatically-field-on-card": "Skapa automatiskt fält till alla kort", + "showLabel-field-on-card": "Visa fältetikett på minikort", + "yes": "Ja", + "no": "Nej", + "accounts": "Konton", + "accounts-allowEmailChange": "Tillåt e-poständring", + "accounts-allowUserNameChange": "Tillåt användarnamnändring", + "createdAt": "Skapad vid", + "verified": "Verifierad", + "active": "Aktiv", + "card-received": "Mottagen", + "card-received-on": "Mottagen den", + "card-end": "Sluta", + "card-end-on": "Slutar den", + "editCardReceivedDatePopup-title": "Ändra mottagningsdatum", + "editCardEndDatePopup-title": "Ändra slutdatum", + "setCardColorPopup-title": "Ange färg", + "setCardActionsColorPopup-title": "Välj en färg", + "setSwimlaneColorPopup-title": "Välj en färg", + "setListColorPopup-title": "Välj en färg", + "assigned-by": "Tilldelad av", + "requested-by": "Efterfrågad av", + "board-delete-notice": "Radering är permanent. Du kommer förlora alla listor, kort och händelser kopplade till den här tavlan.", + "delete-board-confirm-popup": "Alla listor, kort, etiketter och aktiviteter kommer tas bort och du kommer inte kunna återställa tavlans innehåll. Det går inte att ångra.", + "boardDeletePopup-title": "Ta bort Tavla?", + "delete-board": "Ta bort Tavla", + "default-subtasks-board": "Deluppgifter för __board__ board", + "default": "Standard", + "queue": "Kö", + "subtask-settings": "Deluppgift inställningar", + "card-settings": "Kortinställningar", + "boardSubtaskSettingsPopup-title": "Tavelinställningar för Deluppgifter", + "boardCardSettingsPopup-title": "Kortinställningar", + "deposit-subtasks-board": "Lägg till deluppgifter till denna tavla:", + "deposit-subtasks-list": "Landningslista för deluppgifter deponerade här:", + "show-parent-in-minicard": "Visa överordnad i minikort:", + "prefix-with-full-path": "Prefix med fullständig sökväg", + "prefix-with-parent": "Prefix med överordnad", + "subtext-with-full-path": "Undertext med fullständig sökväg", + "subtext-with-parent": "Undertext med överordnad", + "change-card-parent": "Ändra kortets överordnad", + "parent-card": "Ovankort", + "source-board": "Tavelkälla", + "no-parent": "Visa inte överordnad", + "activity-added-label": "lade till etiketten '%s' till %s", + "activity-removed-label": "tog bort etiketten '%s' från %s", + "activity-delete-attach": "raderade en bilaga från %s", + "activity-added-label-card": "lade till etiketten \"%s\"", + "activity-removed-label-card": "tog bort etiketten \"%s\"", + "activity-delete-attach-card": "tog bort en bilaga", + "activity-set-customfield": "ställ in anpassat fält \"%s\" till \"%s\" i %s", + "activity-unset-customfield": "koppla bort anpassat fält \"%s\" i %s", + "r-rule": "Regel", + "r-add-trigger": "Lägg till utlösare", + "r-add-action": "Lägg till åtgärd", + "r-board-rules": "Tavelregler", + "r-add-rule": "Lägg till regel", + "r-view-rule": "Visa regel", + "r-delete-rule": "Ta bort regel", + "r-new-rule-name": "Ny titel på regel", + "r-no-rules": "Inga regler", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "När ett kort", + "r-is": "är", + "r-is-moved": "är flyttad", + "r-added-to": "Tillagd till", + "r-removed-from": "Borttagen från", + "r-the-board": "tavlan", + "r-list": "lista", + "set-filter": "Ställ in filter", + "r-moved-to": "Flyttad till", + "r-moved-from": "Flyttad från", + "r-archived": "Flyttad till Arkiv", + "r-unarchived": "Återställd från Arkiv", + "r-a-card": "ett kort", + "r-when-a-label-is": "När en etikett är", + "r-when-the-label": "När etiketten", + "r-list-name": "listnamn", + "r-when-a-member": "När en medlem är", + "r-when-the-member": "När medlemmen", + "r-name": "namn", + "r-when-a-attach": "När en bilaga", + "r-when-a-checklist": "När en checklista är", + "r-when-the-checklist": "När checklistan", + "r-completed": "Avslutad", + "r-made-incomplete": "Gjord ofullständig", + "r-when-a-item": "När ett checklistobjekt är", + "r-when-the-item": "När checklistans objekt", + "r-checked": "Kryssad", + "r-unchecked": "Okryssad", + "r-move-card-to": "Flytta kort till", + "r-top-of": "Överst på", + "r-bottom-of": "Nederst av", + "r-its-list": "sin lista", + "r-archive": "Flytta till Arkiv", + "r-unarchive": "Återställ från Arkiv", + "r-card": "kort", + "r-add": "Lägg till", + "r-remove": "Ta bort", + "r-label": "etikett", + "r-member": "medlem", + "r-remove-all": "Ta bort alla medlemmar från kortet", + "r-set-color": "Ställ in färg till", + "r-checklist": "checklista", + "r-check-all": "Kryssa alla", + "r-uncheck-all": "Avkryssa alla", + "r-items-check": "objekt på checklistan", + "r-check": "Kryssa", + "r-uncheck": "Avkryssa", + "r-item": "objekt", + "r-of-checklist": "av checklistan", + "r-send-email": "Skicka ett e-postmeddelande", + "r-to": "till", + "r-of": "av", + "r-subject": "änme", + "r-rule-details": "Regeldetaljer", + "r-d-move-to-top-gen": "Flytta kort till toppen av sin lista", + "r-d-move-to-top-spec": "Flytta kort till toppen av listan", + "r-d-move-to-bottom-gen": "Flytta kort till botten av sin lista", + "r-d-move-to-bottom-spec": "Flytta kort till botten av listan", + "r-d-send-email": "Skicka e-post", + "r-d-send-email-to": "till", + "r-d-send-email-subject": "ämne", + "r-d-send-email-message": "meddelande", + "r-d-archive": "Flytta kort till Arkiv", + "r-d-unarchive": "Återställ kortet från Arkiv", + "r-d-add-label": "Lägg till etikett", + "r-d-remove-label": "Ta bort etikett", + "r-create-card": "Skapa nytt kort", + "r-in-list": "i listan", + "r-in-swimlane": "i simbana", + "r-d-add-member": "Lägg till medlem", + "r-d-remove-member": "Ta bort medlem", + "r-d-remove-all-member": "Ta bort alla medlemmar", + "r-d-check-all": "Kryssa alla objekt i en lista", + "r-d-uncheck-all": "Avkryssa alla objekt i en lista", + "r-d-check-one": "Kryssa objekt", + "r-d-uncheck-one": "Avkryssa objekt", + "r-d-check-of-list": "av checklistan", + "r-d-add-checklist": "Lägg till checklista", + "r-d-remove-checklist": "Ta bort checklista", + "r-by": "av", + "r-add-checklist": "Lägg till checklista", + "r-with-items": "med objekt", + "r-items-list": "objekt1,objekt2,objekt3", + "r-add-swimlane": "Lägg till simbana", + "r-swimlane-name": "Simbanans namn", + "r-board-note": "Notera: lämna ett fält tomt för att matcha alla möjliga värden.", + "r-checklist-note": "Notera: objekt i en checklista måste skrivas som kommaseparerade värden.", + "r-when-a-card-is-moved": "När ett kort flyttas till en annan lista", + "r-set": "Ange", + "r-update": "Uppdatera", + "r-datefield": "datumfält", + "r-df-start-at": "start", + "r-df-due-at": "förfallotid", + "r-df-end-at": "slut", + "r-df-received-at": "mottaget", + "r-to-current-datetime": "till aktuellt datum/klockslag", + "r-remove-value-from": "Ta bort värde från", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Autentiseringsmetod", + "authentication-type": "Autentiseringstyp", + "custom-product-name": "Anpassat produktnamn", + "layout": "Layout", + "hide-logo": "Dölj logotypen", + "add-custom-html-after-body-start": "Lägg till anpassad HTML efter start", + "add-custom-html-before-body-end": "Lägg till anpassad HTML före slut", + "error-undefined": "Något gick fel", + "error-ldap-login": "Ett fel uppstod när du försökte logga in", + "display-authentication-method": "Visa autentiseringsmetod", + "default-authentication-method": "Standard autentiseringsmetod", + "duplicate-board": "Duplicera Tavla", + "people-number": "Antalet personer är:", + "swimlaneDeletePopup-title": "Radera Simbana ?", + "swimlane-delete-pop": "Alla händelser kommer att tas bort från aktivitetsflödet och du kommer inte att kunna återställa simbanan. Det går inte att ångra.", + "restore-all": "Återställ alla", + "delete-all": "Ta bort alla", + "loading": "Läser in, var god vänta.", + "previous_as": "förra gången var", + "act-a-dueAt": "ändrad förfallotid till \nNär: __timeValue__\nVar: __card__\n tidigare förfallotid var __timeOldValue__", + "act-a-endAt": "ändrad sluttid till __timeValue__ från (__timeOldValue__)", + "act-a-startAt": "ändrad starttid till __timeValue__ från (__timeOldValue__)", + "act-a-receivedAt": "ändrad mottagen tid till __timeValue__ från (__timeOldValue__)", + "a-dueAt": "ändrad förfallotid att vara", + "a-endAt": "ändrad sluttid att vara", + "a-startAt": "ändrad starttid att vara", + "a-receivedAt": "ändrad mottagen tid att vara", + "almostdue": "aktuell förfallotid %s närmar sig", + "pastdue": "aktuell förfallotid %s är förbi", + "duenow": "aktuell förfallotid %s är idag", + "act-newDue": "__list__/__card__ har en 1:a påminnelse [__board__]", + "act-withDue": "__list__/__card__ påminnelser [__board__]", + "act-almostdue": "påminde om den aktuella förfallotiden (__timeValue__) av __card__ närmar sig", + "act-pastdue": "påminde om den aktuella förfallotiden (__timeValue__) av __card__ är förbi", + "act-duenow": "påminde om den aktuella förfallotiden (__timeValue__) av __card__ är nu", + "act-atUserComment": "Du omnämndes i [__board__] __list__/__card__", + "delete-user-confirm-popup": "Är du säker på att du vill ta bort det här kontot? Det går inte att ångra sig.", + "accounts-allowUserDelete": "Tillåt användare att själv ta bort sina konton", + "hide-minicard-label-text": "Dölj etikett för minikort", + "show-desktop-drag-handles": "Visa greppytor i desktop", + "assignee": "Tilldelad till", + "cardAssigneesPopup-title": "Tilldelad till", + "addmore-detail": "Lägg till detaljerad beskrivning", + "show-on-card": "Visa på Kort", + "new": "Ny", + "editUserPopup-title": "Redigera Användare", + "newUserPopup-title": "Ny Användare", + "notifications": "Notiser", + "view-all": "Visa Allt", + "filter-by-unread": "Filtrera efter Oläst", + "mark-all-as-read": "Markera alla som lästa", + "remove-all-read": "Ta bort alla lästa", + "allow-rename": "Tillåt Namnändring", + "allowRenamePopup-title": "Tillåt Namnändring", + "start-day-of-week": "Ange veckans första dag", + "monday": "Måndag", + "tuesday": "Tisdag", + "wednesday": "Onsdag", + "thursday": "Torsdag", + "friday": "Fredag", + "saturday": "Lördag", + "sunday": "Söndag", + "status": "Status", + "swimlane": "Simbana", + "owner": "Ägare", + "last-modified-at": "Senast ändrad", + "last-activity": "Senaste aktivitet", + "voting": "Röstning", + "archived": "Arkiverad", + "delete-linked-card-before-this-card": "Du kan inte radera det här kortet innan du raderat länkat kort som har", + "delete-linked-cards-before-this-list": "Du kan inte radera den här listan innan du raderat länkade kort som pekar till kort i den här listan", + "hide-checked-items": "Dölj markerade objekt" +} \ No newline at end of file diff --git a/i18n/sw.i18n.json b/i18n/sw.i18n.json new file mode 100644 index 0000000..df11d49 --- /dev/null +++ b/i18n/sw.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Kubali", + "act-activity-notify": "Activity Notification", + "act-addAttachment": "added attachment __attachment__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteAttachment": "deleted attachment __attachment__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addSubtask": "added subtask __subtask__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addedLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removedLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklist": "added checklist __checklist__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklistItem": "added checklist item __checklistItem__ to checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklist": "removed checklist __checklist__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklistItem": "removed checklist item __checklistItem__ from checklist __checkList__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-checkedItem": "checked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncheckedItem": "unchecked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-completeChecklist": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncompleteChecklist": "uncompleted checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addComment": "commented on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-editComment": "edited comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteComment": "deleted comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createBoard": "created board __board__", + "act-createSwimlane": "created swimlane __swimlane__ to board __board__", + "act-createCard": "created card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-createCustomField": "created custom field __customField__ at board __board__", + "act-deleteCustomField": "deleted custom field __customField__ at board __board__", + "act-setCustomField": "edited custom field __customField__: __customFieldValue__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createList": "added list __list__ to board __board__", + "act-addBoardMember": "added member __member__ to board __board__", + "act-archivedBoard": "Board __board__ moved to Archive", + "act-archivedCard": "Card __card__ at list __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedList": "List __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedSwimlane": "Swimlane __swimlane__ at board __board__ moved to Archive", + "act-importBoard": "imported board __board__", + "act-importCard": "imported card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-importList": "imported list __list__ to swimlane __swimlane__ at board __board__", + "act-joinMember": "added member __member__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-moveCard": "moved card __card__ at board __board__ from list __oldList__ at swimlane __oldSwimlane__ to list __list__ at swimlane __swimlane__", + "act-moveCardToOtherBoard": "moved card __card__ from list __oldList__ at swimlane __oldSwimlane__ at board __oldBoard__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-removeBoardMember": "removed member __member__ from board __board__", + "act-restoredCard": "restored card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-unjoinMember": "removed member __member__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Actions", + "activities": "Activities", + "activity": "Activity", + "activity-added": "added %s to %s", + "activity-archived": "%s moved to Archive", + "activity-attached": "attached %s to %s", + "activity-created": "created %s", + "activity-customfield-created": "created custom field %s", + "activity-excluded": "excluded %s from %s", + "activity-imported": "imported %s into %s from %s", + "activity-imported-board": "imported %s from %s", + "activity-joined": "joined %s", + "activity-moved": "moved %s from %s to %s", + "activity-on": "on %s", + "activity-removed": "removed %s from %s", + "activity-sent": "sent %s to %s", + "activity-unjoined": "unjoined %s", + "activity-subtask-added": "added subtask to %s", + "activity-checked-item": "checked %s in checklist %s of %s", + "activity-unchecked-item": "unchecked %s in checklist %s of %s", + "activity-checklist-added": "added checklist to %s", + "activity-checklist-removed": "removed a checklist from %s", + "activity-checklist-completed": "completed checklist %s of %s", + "activity-checklist-uncompleted": "uncompleted the checklist %s of %s", + "activity-checklist-item-added": "added checklist item to '%s' in %s", + "activity-checklist-item-removed": "removed a checklist item from '%s' in %s", + "add": "Add", + "activity-checked-item-card": "checked %s in checklist %s", + "activity-unchecked-item-card": "unchecked %s in checklist %s", + "activity-checklist-completed-card": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "activity-checklist-uncompleted-card": "uncompleted the checklist %s", + "activity-editComment": "edited comment %s", + "activity-deleteComment": "deleted comment %s", + "add-attachment": "Add Attachment", + "add-board": "Add Board", + "add-card": "Add Card", + "add-swimlane": "Add Swimlane", + "add-subtask": "Add Subtask", + "add-checklist": "Add Checklist", + "add-checklist-item": "Add an item to checklist", + "add-cover": "Add Cover", + "add-label": "Add Label", + "add-list": "Add List", + "add-members": "Add Members", + "added": "Added", + "addMemberPopup-title": "Members", + "admin": "Admin", + "admin-desc": "Can view and edit cards, remove members, and change settings for the board.", + "admin-announcement": "Announcement", + "admin-announcement-active": "Active System-Wide Announcement", + "admin-announcement-title": "Announcement from Administrator", + "all-boards": "All boards", + "and-n-other-card": "And __count__ other card", + "and-n-other-card_plural": "And __count__ other cards", + "apply": "Apply", + "app-is-offline": "Loading, please wait. Refreshing the page will cause data loss. If loading does not work, please check that server has not stopped.", + "archive": "Move to Archive", + "archive-all": "Move All to Archive", + "archive-board": "Move Board to Archive", + "archive-card": "Move Card to Archive", + "archive-list": "Move List to Archive", + "archive-swimlane": "Move Swimlane to Archive", + "archive-selection": "Move selection to Archive", + "archiveBoardPopup-title": "Move Board to Archive?", + "archived-items": "Archive", + "archived-boards": "Boards in Archive", + "restore-board": "Restore Board", + "no-archived-boards": "No Boards in Archive.", + "archives": "Archive", + "template": "Template", + "templates": "Templates", + "assign-member": "Assign member", + "attached": "attached", + "attachment": "Attachment", + "attachment-delete-pop": "Deleting an attachment is permanent. There is no undo.", + "attachmentDeletePopup-title": "Delete Attachment?", + "attachments": "Attachments", + "auto-watch": "Automatically watch boards when they are created", + "avatar-too-big": "The avatar is too large (70KB max)", + "back": "Rudi", + "board-change-color": "Badilisha rangi", + "board-nb-stars": "%s stars", + "board-not-found": "Board not found", + "board-private-info": "This board will be private.", + "board-public-info": "This board will be public.", + "boardChangeColorPopup-title": "Change Board Background", + "boardChangeTitlePopup-title": "Rename Board", + "boardChangeVisibilityPopup-title": "Change Visibility", + "boardChangeWatchPopup-title": "Change Watch", + "boardMenuPopup-title": "Board Settings", + "boardChangeViewPopup-title": "Board View", + "boards": "Boards", + "board-view": "Board View", + "board-view-cal": "Calendar", + "board-view-swimlanes": "Swimlanes", + "board-view-collapse": "Collapse", + "board-view-lists": "Lists", + "bucket-example": "Like “Bucket List” for example", + "cancel": "Cancel", + "card-archived": "This card is moved to Archive.", + "board-archived": "This board is moved to Archive.", + "card-comments-title": "This card has %s comment.", + "card-delete-notice": "Deleting is permanent. You will lose all actions associated with this card.", + "card-delete-pop": "All actions will be removed from the activity feed and you won't be able to re-open the card. There is no undo.", + "card-delete-suggest-archive": "You can move a card to Archive to remove it from the board and preserve the activity.", + "card-due": "Due", + "card-due-on": "Due on", + "card-spent": "Muda uliotumika", + "card-edit-attachments": "Edit attachments", + "card-edit-custom-fields": "Edit custom fields", + "card-edit-labels": "Edit labels", + "card-edit-members": "Edit members", + "card-labels-title": "Change the labels for the card.", + "card-members-title": "Add or remove members of the board from the card.", + "card-start": "Start", + "card-start-on": "Starts on", + "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Badilisha tarehe", + "cardCustomFieldsPopup-title": "Edit custom fields", + "cardStartVotingPopup-title": "Start a vote", + "positiveVoteMembersPopup-title": "Proponents", + "negativeVoteMembersPopup-title": "Opponents", + "card-edit-voting": "Edit voting", + "editVoteEndDatePopup-title": "Change vote end date", + "allowNonBoardMembers": "Allow all logged in users", + "vote-question": "Voting question", + "vote-public": "Show who voted what", + "vote-for-it": "for it", + "vote-against": "against", + "deleteVotePopup-title": "Delete vote?", + "vote-delete-pop": "Deleting is permanent. You will lose all actions associated with this vote.", + "cardDeletePopup-title": "Delete Card?", + "cardDetailsActionsPopup-title": "Card Actions", + "cardLabelsPopup-title": "Labels", + "cardMembersPopup-title": "Members", + "cardMorePopup-title": "More", + "cardTemplatePopup-title": "Create template", + "cards": "Cards", + "cards-count": "Cards", + "casSignIn": "Sign In with CAS", + "cardType-card": "Card", + "cardType-linkedCard": "Linked Card", + "cardType-linkedBoard": "Linked Board", + "change": "Change", + "change-avatar": "Change Avatar", + "change-password": "Change Password", + "change-permissions": "Change permissions", + "change-settings": "Change Settings", + "changeAvatarPopup-title": "Change Avatar", + "changeLanguagePopup-title": "Change Language", + "changePasswordPopup-title": "Change Password", + "changePermissionsPopup-title": "Change Permissions", + "changeSettingsPopup-title": "Change Settings", + "subtasks": "Subtasks", + "checklists": "Checklists", + "click-to-star": "Click to star this board.", + "click-to-unstar": "Click to unstar this board.", + "clipboard": "Clipboard or drag & drop", + "close": "Funga", + "close-board": "Close Board", + "close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.", + "color-black": "Nyeusi", + "color-blue": "Samawati", + "color-crimson": "crimson", + "color-darkgreen": "darkgreen", + "color-gold": "gold", + "color-gray": "gray", + "color-green": "Kijani", + "color-indigo": "indigo", + "color-lime": "lime", + "color-magenta": "magenta", + "color-mistyrose": "mistyrose", + "color-navy": "navy", + "color-orange": "orange", + "color-paleturquoise": "paleturquoise", + "color-peachpuff": "peachpuff", + "color-pink": "pink", + "color-plum": "plum", + "color-purple": "purple", + "color-red": "red", + "color-saddlebrown": "saddlebrown", + "color-silver": "silver", + "color-sky": "sky", + "color-slateblue": "slateblue", + "color-white": "white", + "color-yellow": "yellow", + "unset-color": "Unset", + "comment": "Changia", + "comment-placeholder": "Andika changio", + "comment-only": "Changia pekee", + "comment-only-desc": "Can comment on cards only.", + "no-comments": "No comments", + "no-comments-desc": "Can not see comments and activities.", + "worker": "Worker", + "worker-desc": "Can only move cards, assign itself to card and comment.", + "computer": "Tarakilishi", + "confirm-subtask-delete-dialog": "Are you sure you want to delete subtask?", + "confirm-checklist-delete-dialog": "Are you sure you want to delete checklist?", + "copy-card-link-to-clipboard": "Copy card link to clipboard", + "linkCardPopup-title": "Link Card", + "searchElementPopup-title": "Search", + "copyCardPopup-title": "Copy Card", + "copyChecklistToManyCardsPopup-title": "Copy Checklist Template to Many Cards", + "copyChecklistToManyCardsPopup-instructions": "Destination Card Titles and Descriptions in this JSON format", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"First card title\", \"description\":\"First card description\"}, {\"title\":\"Second card title\",\"description\":\"Second card description\"},{\"title\":\"Last card title\",\"description\":\"Last card description\"} ]", + "create": "Create", + "createBoardPopup-title": "Create Board", + "chooseBoardSourcePopup-title": "Import board", + "createLabelPopup-title": "Create Label", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", + "current": "current", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-currency": "Currency", + "custom-field-currency-option": "Currency Code", + "custom-field-date": "Date", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", + "date": "Date", + "decline": "Decline", + "default-avatar": "Default avatar", + "delete": "Delete", + "deleteCustomFieldPopup-title": "Delete Custom Field?", + "deleteLabelPopup-title": "Delete Label?", + "description": "Description", + "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", + "disambiguateMultiMemberPopup-title": "Disambiguate Member Action", + "discard": "Discard", + "done": "Done", + "download": "Download", + "edit": "Edit", + "edit-avatar": "Change Avatar", + "edit-profile": "Edit Profile", + "edit-wip-limit": "Edit WIP Limit", + "soft-wip-limit": "Soft WIP Limit", + "editCardStartDatePopup-title": "Change start date", + "editCardDueDatePopup-title": "Change due date", + "editCustomFieldPopup-title": "Edit Field", + "editCardSpentTimePopup-title": "Change spent time", + "editLabelPopup-title": "Change Label", + "editNotificationPopup-title": "Edit Notification", + "editProfilePopup-title": "Edit Profile", + "email": "Email", + "email-enrollAccount-subject": "An account created for you on __siteName__", + "email-enrollAccount-text": "Hello __user__,\n\nTo start using the service, simply click the link below.\n\n__url__\n\nThanks.", + "email-fail": "Sending email failed", + "email-fail-text": "Error trying to send email", + "email-invalid": "Invalid email", + "email-invite": "Invite via Email", + "email-invite-subject": "__inviter__ sent you an invitation", + "email-invite-text": "Dear __user__,\n\n__inviter__ invites you to join board \"__board__\" for collaborations.\n\nPlease follow the link below:\n\n__url__\n\nThanks.", + "email-resetPassword-subject": "Reset your password on __siteName__", + "email-resetPassword-text": "Hello __user__,\n\nTo reset your password, simply click the link below.\n\n__url__\n\nThanks.", + "email-sent": "Email sent", + "email-verifyEmail-subject": "Verify your email address on __siteName__", + "email-verifyEmail-text": "Hello __user__,\n\nTo verify your account email, simply click the link below.\n\n__url__\n\nThanks.", + "enable-wip-limit": "Enable WIP Limit", + "error-board-doesNotExist": "This board does not exist", + "error-board-notAdmin": "You need to be admin of this board to do that", + "error-board-notAMember": "You need to be a member of this board to do that", + "error-json-malformed": "Your text is not valid JSON", + "error-json-schema": "Your JSON data does not include the proper information in the correct format", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "This list does not exist", + "error-user-doesNotExist": "This user does not exist", + "error-user-notAllowSelf": "You can not invite yourself", + "error-user-notCreated": "This user is not created", + "error-username-taken": "This username is already taken", + "error-email-taken": "Email has already been taken", + "export-board": "Export board", + "export-board-json": "Export board to JSON", + "export-board-csv": "Export board to CSV", + "export-board-tsv": "Export board to TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "Export board", + "sort": "Sort", + "sort-desc": "Click to Sort List", + "list-sort-by": "Sort the List By:", + "list-label-modifiedAt": "Last Access Time", + "list-label-title": "Name of the List", + "list-label-sort": "Your Manual Order", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Filter", + "filter-cards": "Filter Cards or Lists", + "list-filter-label": "Filter List by Title", + "filter-clear": "Clear filter", + "filter-no-label": "No label", + "filter-no-member": "No member", + "filter-no-assignee": "No assignee", + "filter-no-custom-fields": "No Custom Fields", + "filter-show-archive": "Show archived lists", + "filter-hide-empty": "Hide empty lists", + "filter-on": "Filter is on", + "filter-on-desc": "You are filtering cards on this board. Click here to edit filter.", + "filter-to-selection": "Filter to selection", + "advanced-filter-label": "Advanced Filter", + "advanced-filter-description": "Advanced Filter allows to write a string containing following operators: == != <= >= && || ( ) A space is used as a separator between the Operators. You can filter for all Custom Fields by typing their names and values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need to encapsulate them into single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) to be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally all operators are interpreted from left to right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i", + "fullname": "Full Name", + "header-logo-title": "Go back to your boards page.", + "hide-system-messages": "Hide system messages", + "headerBarCreateBoardPopup-title": "Create Board", + "home": "Home", + "import": "Import", + "link": "Link", + "import-board": "import board", + "import-board-c": "Import board", + "import-board-title-trello": "Import board from Trello", + "import-board-title-wekan": "Import board from previous export", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "From Trello", + "from-wekan": "From previous export", + "from-csv": "From CSV/TSV", + "import-board-instruction-trello": "In your Trello board, go to 'Menu', then 'More', 'Print and Export', 'Export JSON', and copy the resulting text.", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "In your board, go to 'Menu', then 'Export board', and copy the text in the downloaded file.", + "import-board-instruction-about-errors": "If you get errors when importing board, sometimes importing still works, and board is at All Boards page.", + "import-json-placeholder": "Paste your valid JSON data here", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "Map members", + "import-members-map": "Your imported board has some members. Please map the members you want to import to your users", + "import-show-user-mapping": "Review members mapping", + "import-user-select": "Pick your existing user you want to use as this member", + "importMapMembersAddPopup-title": "Select member", + "info": "Version", + "initials": "Initials", + "invalid-date": "Invalid date", + "invalid-time": "Invalid time", + "invalid-user": "Invalid user", + "joined": "joined", + "just-invited": "You are just invited to this board", + "keyboard-shortcuts": "Keyboard shortcuts", + "label-create": "Create Label", + "label-default": "%s label (default)", + "label-delete-pop": "There is no undo. This will remove this label from all cards and destroy its history.", + "labels": "Labels", + "language": "Language", + "last-admin-desc": "You can’t change roles because there must be at least one admin.", + "leave-board": "Leave Board", + "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.", + "leaveBoardPopup-title": "Leave Board ?", + "link-card": "Link to this card", + "list-archive-cards": "Move all cards in this list to Archive", + "list-archive-cards-pop": "This will remove all the cards in this list from the board. To view cards in Archive and bring them back to the board, click “Menu” > “Archive”.", + "list-move-cards": "Move all cards in this list", + "list-select-cards": "Select all cards in this list", + "set-color-list": "Set Color", + "listActionPopup-title": "List Actions", + "swimlaneActionPopup-title": "Swimlane Actions", + "swimlaneAddPopup-title": "Add a Swimlane below", + "listImportCardPopup-title": "Import a Trello card", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "More", + "link-list": "Link to this list", + "list-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the list. There is no undo.", + "list-delete-suggest-archive": "You can move a list to Archive to remove it from the board and preserve the activity.", + "lists": "Lists", + "swimlanes": "Swimlanes", + "log-out": "Log Out", + "log-in": "Log In", + "loginPopup-title": "Log In", + "memberMenuPopup-title": "Member Settings", + "members": "Members", + "menu": "Menu", + "move-selection": "Move selection", + "moveCardPopup-title": "Move Card", + "moveCardToBottom-title": "Move to Bottom", + "moveCardToTop-title": "Move to Top", + "moveSelectionPopup-title": "Move selection", + "multi-selection": "Multi-Selection", + "multi-selection-on": "Multi-Selection is on", + "muted": "Muted", + "muted-info": "You will never be notified of any changes in this board", + "my-boards": "My Boards", + "name": "Name", + "no-archived-cards": "No cards in Archive.", + "no-archived-lists": "No lists in Archive.", + "no-archived-swimlanes": "No swimlanes in Archive.", + "no-results": "No results", + "normal": "Normal", + "normal-desc": "Can view and edit cards. Can't change settings.", + "not-accepted-yet": "Invitation not accepted yet", + "notify-participate": "Receive updates to any cards you participate as creater or member", + "notify-watch": "Receive updates to any boards, lists, or cards you’re watching", + "optional": "optional", + "or": "or", + "page-maybe-private": "This page may be private. You may be able to view it by logging in.", + "page-not-found": "Page not found.", + "password": "Password", + "paste-or-dragdrop": "to paste, or drag & drop image file to it (image only)", + "participating": "Participating", + "preview": "Preview", + "previewAttachedImagePopup-title": "Preview", + "previewClipboardImagePopup-title": "Preview", + "private": "Private", + "private-desc": "This board is private. Only people added to the board can view and edit it.", + "profile": "Profile", + "public": "Public", + "public-desc": "This board is public. It's visible to anyone with the link and will show up in search engines like Google. Only people added to the board can edit.", + "quick-access-description": "Star a board to add a shortcut in this bar.", + "remove-cover": "Remove Cover", + "remove-from-board": "Remove from Board", + "remove-label": "Remove Label", + "listDeletePopup-title": "Delete List ?", + "remove-member": "Remove Member", + "remove-member-from-card": "Remove from Card", + "remove-member-pop": "Remove __name__ (__username__) from __boardTitle__? The member will be removed from all cards on this board. They will receive a notification.", + "removeMemberPopup-title": "Remove Member?", + "rename": "Rename", + "rename-board": "Rename Board", + "restore": "Restore", + "save": "Save", + "search": "Search", + "rules": "Rules", + "search-cards": "Search from card/list titles, descriptions and custom fields on this board", + "search-example": "Text to search for?", + "select-color": "Select Color", + "set-wip-limit-value": "Set a limit for the maximum number of tasks in this list", + "setWipLimitPopup-title": "Set WIP Limit", + "shortcut-assign-self": "Assign yourself to current card", + "shortcut-autocomplete-emoji": "Autocomplete emoji", + "shortcut-autocomplete-members": "Autocomplete members", + "shortcut-clear-filters": "Clear all filters", + "shortcut-close-dialog": "Close Dialog", + "shortcut-filter-my-cards": "Filter my cards", + "shortcut-show-shortcuts": "Bring up this shortcuts list", + "shortcut-toggle-filterbar": "Toggle Filter Sidebar", + "shortcut-toggle-sidebar": "Toggle Board Sidebar", + "show-cards-minimum-count": "Show cards count if list contains more than", + "sidebar-open": "Open Sidebar", + "sidebar-close": "Close Sidebar", + "signupPopup-title": "Create an Account", + "star-board-title": "Click to star this board. It will show up at top of your boards list.", + "starred-boards": "Starred Boards", + "starred-boards-description": "Starred boards show up at the top of your boards list.", + "subscribe": "Subscribe", + "team": "Team", + "this-board": "this board", + "this-card": "this card", + "spent-time-hours": "Spent time (hours)", + "overtime-hours": "Overtime (hours)", + "overtime": "Overtime", + "has-overtime-cards": "Has overtime cards", + "has-spenttime-cards": "Has spent time cards", + "time": "Time", + "title": "Title", + "tracking": "Tracking", + "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", + "unassign-member": "Unassign member", + "unsaved-description": "You have an unsaved description.", + "unwatch": "Unwatch", + "upload": "Upload", + "upload-avatar": "Upload an avatar", + "uploaded-avatar": "Uploaded an avatar", + "username": "Username", + "view-it": "View it", + "warn-list-archived": "warning: this card is in an list at Archive", + "watch": "Watch", + "watching": "Watching", + "watching-info": "You will be notified of any change in this board", + "welcome-board": "Welcome Board", + "welcome-swimlane": "Milestone 1", + "welcome-list1": "Basics", + "welcome-list2": "Advanced", + "card-templates-swimlane": "Card Templates", + "list-templates-swimlane": "List Templates", + "board-templates-swimlane": "Board Templates", + "what-to-do": "What do you want to do?", + "wipLimitErrorPopup-title": "Invalid WIP Limit", + "wipLimitErrorPopup-dialog-pt1": "The number of tasks in this list is higher than the WIP limit you've defined.", + "wipLimitErrorPopup-dialog-pt2": "Please move some tasks out of this list, or set a higher WIP limit.", + "admin-panel": "Admin Panel", + "settings": "Settings", + "people": "People", + "registration": "Registration", + "disable-self-registration": "Disable Self-Registration", + "invite": "Invite", + "invite-people": "Invite People", + "to-boards": "To board(s)", + "email-addresses": "Email Addresses", + "smtp-host-description": "The address of the SMTP server that handles your emails.", + "smtp-port-description": "The port your SMTP server uses for outgoing emails.", + "smtp-tls-description": "Enable TLS support for SMTP server", + "smtp-host": "SMTP Host", + "smtp-port": "SMTP Port", + "smtp-username": "Username", + "smtp-password": "Password", + "smtp-tls": "TLS support", + "send-from": "From", + "send-smtp-test": "Send a test email to yourself", + "invitation-code": "Invitation Code", + "email-invite-register-subject": "__inviter__ sent you an invitation", + "email-invite-register-text": "Dear __user__,\n\n__inviter__ invites you to kanban board for collaborations.\n\nPlease follow the link below:\n__url__\n\nAnd your invitation code is: __icode__\n\nThanks.", + "email-smtp-test-subject": "SMTP Test Email", + "email-smtp-test-text": "You have successfully sent an email", + "error-invitation-code-not-exist": "Invitation code doesn't exist", + "error-notAuthorized": "You are not authorized to view this page.", + "webhook-title": "Webhook Name", + "webhook-token": "Token (Optional for Authentication)", + "outgoing-webhooks": "Outgoing Webhooks", + "bidirectional-webhooks": "Two-Way Webhooks", + "outgoingWebhooksPopup-title": "Outgoing Webhooks", + "boardCardTitlePopup-title": "Card Title Filter", + "disable-webhook": "Disable This Webhook", + "global-webhook": "Global Webhooks", + "new-outgoing-webhook": "New Outgoing Webhook", + "no-name": "(Unknown)", + "Node_version": "Node version", + "Meteor_version": "Meteor version", + "MongoDB_version": "MongoDB version", + "MongoDB_storage_engine": "MongoDB storage engine", + "MongoDB_Oplog_enabled": "MongoDB Oplog enabled", + "OS_Arch": "OS Arch", + "OS_Cpus": "OS CPU Count", + "OS_Freemem": "OS Free Memory", + "OS_Loadavg": "OS Load Average", + "OS_Platform": "OS Platform", + "OS_Release": "OS Release", + "OS_Totalmem": "OS Total Memory", + "OS_Type": "OS Type", + "OS_Uptime": "OS Uptime", + "days": "days", + "hours": "hours", + "minutes": "minutes", + "seconds": "seconds", + "show-field-on-card": "Show this field on card", + "automatically-field-on-card": "Auto create field to all cards", + "showLabel-field-on-card": "Show field label on minicard", + "yes": "Yes", + "no": "No", + "accounts": "Accounts", + "accounts-allowEmailChange": "Allow Email Change", + "accounts-allowUserNameChange": "Allow Username Change", + "createdAt": "Created at", + "verified": "Verified", + "active": "Active", + "card-received": "Received", + "card-received-on": "Received on", + "card-end": "End", + "card-end-on": "Ends on", + "editCardReceivedDatePopup-title": "Change received date", + "editCardEndDatePopup-title": "Change end date", + "setCardColorPopup-title": "Set color", + "setCardActionsColorPopup-title": "Choose a color", + "setSwimlaneColorPopup-title": "Choose a color", + "setListColorPopup-title": "Choose a color", + "assigned-by": "Assigned By", + "requested-by": "Requested By", + "board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.", + "delete-board-confirm-popup": "All lists, cards, labels, and activities will be deleted and you won't be able to recover the board contents. There is no undo.", + "boardDeletePopup-title": "Delete Board?", + "delete-board": "Delete Board", + "default-subtasks-board": "Subtasks for __board__ board", + "default": "Default", + "queue": "Queue", + "subtask-settings": "Subtasks Settings", + "card-settings": "Card Settings", + "boardSubtaskSettingsPopup-title": "Board Subtasks Settings", + "boardCardSettingsPopup-title": "Card Settings", + "deposit-subtasks-board": "Deposit subtasks to this board:", + "deposit-subtasks-list": "Landing list for subtasks deposited here:", + "show-parent-in-minicard": "Show parent in minicard:", + "prefix-with-full-path": "Prefix with full path", + "prefix-with-parent": "Prefix with parent", + "subtext-with-full-path": "Subtext with full path", + "subtext-with-parent": "Subtext with parent", + "change-card-parent": "Change card's parent", + "parent-card": "Parent card", + "source-board": "Source board", + "no-parent": "Don't show parent", + "activity-added-label": "added label '%s' to %s", + "activity-removed-label": "removed label '%s' from %s", + "activity-delete-attach": "deleted an attachment from %s", + "activity-added-label-card": "added label '%s'", + "activity-removed-label-card": "removed label '%s'", + "activity-delete-attach-card": "deleted an attachment", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "Rule", + "r-add-trigger": "Add trigger", + "r-add-action": "Add action", + "r-board-rules": "Board rules", + "r-add-rule": "Add rule", + "r-view-rule": "View rule", + "r-delete-rule": "Delete rule", + "r-new-rule-name": "New rule title", + "r-no-rules": "No rules", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "When a card", + "r-is": "is", + "r-is-moved": "is moved", + "r-added-to": "Added to", + "r-removed-from": "Removed from", + "r-the-board": "the board", + "r-list": "list", + "set-filter": "Set Filter", + "r-moved-to": "Moved to", + "r-moved-from": "Moved from", + "r-archived": "Moved to Archive", + "r-unarchived": "Restored from Archive", + "r-a-card": "a card", + "r-when-a-label-is": "When a label is", + "r-when-the-label": "When the label", + "r-list-name": "list name", + "r-when-a-member": "When a member is", + "r-when-the-member": "When the member", + "r-name": "name", + "r-when-a-attach": "When an attachment", + "r-when-a-checklist": "When a checklist is", + "r-when-the-checklist": "When the checklist", + "r-completed": "Completed", + "r-made-incomplete": "Made incomplete", + "r-when-a-item": "When a checklist item is", + "r-when-the-item": "When the checklist item", + "r-checked": "Checked", + "r-unchecked": "Unchecked", + "r-move-card-to": "Move card to", + "r-top-of": "Top of", + "r-bottom-of": "Bottom of", + "r-its-list": "its list", + "r-archive": "Move to Archive", + "r-unarchive": "Restore from Archive", + "r-card": "card", + "r-add": "Add", + "r-remove": "Remove", + "r-label": "label", + "r-member": "member", + "r-remove-all": "Remove all members from the card", + "r-set-color": "Set color to", + "r-checklist": "checklist", + "r-check-all": "Check all", + "r-uncheck-all": "Uncheck all", + "r-items-check": "items of checklist", + "r-check": "Check", + "r-uncheck": "Uncheck", + "r-item": "item", + "r-of-checklist": "of checklist", + "r-send-email": "Send an email", + "r-to": "to", + "r-of": "of", + "r-subject": "subject", + "r-rule-details": "Rule details", + "r-d-move-to-top-gen": "Move card to top of its list", + "r-d-move-to-top-spec": "Move card to top of list", + "r-d-move-to-bottom-gen": "Move card to bottom of its list", + "r-d-move-to-bottom-spec": "Move card to bottom of list", + "r-d-send-email": "Send email", + "r-d-send-email-to": "to", + "r-d-send-email-subject": "subject", + "r-d-send-email-message": "message", + "r-d-archive": "Move card to Archive", + "r-d-unarchive": "Restore card from Archive", + "r-d-add-label": "Add label", + "r-d-remove-label": "Remove label", + "r-create-card": "Create new card", + "r-in-list": "in list", + "r-in-swimlane": "in swimlane", + "r-d-add-member": "Add member", + "r-d-remove-member": "Remove member", + "r-d-remove-all-member": "Remove all member", + "r-d-check-all": "Check all items of a list", + "r-d-uncheck-all": "Uncheck all items of a list", + "r-d-check-one": "Check item", + "r-d-uncheck-one": "Uncheck item", + "r-d-check-of-list": "of checklist", + "r-d-add-checklist": "Add checklist", + "r-d-remove-checklist": "Remove checklist", + "r-by": "by", + "r-add-checklist": "Add checklist", + "r-with-items": "with items", + "r-items-list": "item1,item2,item3", + "r-add-swimlane": "Add swimlane", + "r-swimlane-name": "swimlane name", + "r-board-note": "Note: leave a field empty to match every possible value.", + "r-checklist-note": "Note: checklist's items have to be written as comma separated values.", + "r-when-a-card-is-moved": "When a card is moved to another list", + "r-set": "Set", + "r-update": "Update", + "r-datefield": "date field", + "r-df-start-at": "start", + "r-df-due-at": "due", + "r-df-end-at": "end", + "r-df-received-at": "received", + "r-to-current-datetime": "to current date/time", + "r-remove-value-from": "Remove value from", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Authentication method", + "authentication-type": "Authentication type", + "custom-product-name": "Custom Product Name", + "layout": "Layout", + "hide-logo": "Hide Logo", + "add-custom-html-after-body-start": "Add Custom HTML after start", + "add-custom-html-before-body-end": "Add Custom HTML before end", + "error-undefined": "Something went wrong", + "error-ldap-login": "An error occurred while trying to login", + "display-authentication-method": "Display Authentication Method", + "default-authentication-method": "Default Authentication Method", + "duplicate-board": "Duplicate Board", + "people-number": "The number of people is:", + "swimlaneDeletePopup-title": "Delete Swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Restore all", + "delete-all": "Delete all", + "loading": "Loading, please wait.", + "previous_as": "last time was", + "act-a-dueAt": "modified due time to \nWhen: __timeValue__\nWhere: __card__\n previous due was __timeOldValue__", + "act-a-endAt": "modified ending time to __timeValue__ from (__timeOldValue__)", + "act-a-startAt": "modified starting time to __timeValue__ from (__timeOldValue__)", + "act-a-receivedAt": "modified received time to __timeValue__ from (__timeOldValue__)", + "a-dueAt": "modified due time to be", + "a-endAt": "modified ending time to be", + "a-startAt": "modified starting time to be", + "a-receivedAt": "modified received time to be", + "almostdue": "current due time %s is approaching", + "pastdue": "current due time %s is past", + "duenow": "current due time %s is today", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", + "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", + "act-duenow": "was reminding the current due (__timeValue__) of __card__ is now", + "act-atUserComment": "You were mentioned in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Are you sure you want to delete this account? There is no undo.", + "accounts-allowUserDelete": "Allow users to self delete their account", + "hide-minicard-label-text": "Hide minicard label text", + "show-desktop-drag-handles": "Show desktop drag handles", + "assignee": "Assignee", + "cardAssigneesPopup-title": "Assignee", + "addmore-detail": "Add a more detailed description", + "show-on-card": "Show on Card", + "new": "New", + "editUserPopup-title": "Edit User", + "newUserPopup-title": "New User", + "notifications": "Notifications", + "view-all": "View All", + "filter-by-unread": "Filter by Unread", + "mark-all-as-read": "Mark all as read", + "remove-all-read": "Remove all read", + "allow-rename": "Allow Rename", + "allowRenamePopup-title": "Allow Rename", + "start-day-of-week": "Set day of the week start", + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archived", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/ta.i18n.json b/i18n/ta.i18n.json new file mode 100644 index 0000000..ecf0212 --- /dev/null +++ b/i18n/ta.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "ஏற்றுக்கொள்", + "act-activity-notify": "Activity Notification", + "act-addAttachment": "added attachment __attachment__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteAttachment": "deleted attachment __attachment__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addSubtask": "added subtask __subtask__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addedLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removedLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklist": "added checklist __checklist__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklistItem": "added checklist item __checklistItem__ to checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklist": "removed checklist __checklist__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklistItem": "removed checklist item __checklistItem__ from checklist __checkList__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-checkedItem": "checked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncheckedItem": "unchecked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-completeChecklist": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncompleteChecklist": "uncompleted checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addComment": "commented on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-editComment": "edited comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteComment": "deleted comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createBoard": "created board __board__", + "act-createSwimlane": "created swimlane __swimlane__ to board __board__", + "act-createCard": "created card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-createCustomField": "created custom field __customField__ at board __board__", + "act-deleteCustomField": "deleted custom field __customField__ at board __board__", + "act-setCustomField": "edited custom field __customField__: __customFieldValue__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createList": "added list __list__ to board __board__", + "act-addBoardMember": "added member __member__ to board __board__", + "act-archivedBoard": "Board __board__ moved to Archive", + "act-archivedCard": "Card __card__ at list __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedList": "List __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedSwimlane": "Swimlane __swimlane__ at board __board__ moved to Archive", + "act-importBoard": "imported board __board__", + "act-importCard": "imported card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-importList": "imported list __list__ to swimlane __swimlane__ at board __board__", + "act-joinMember": "added member __member__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-moveCard": "moved card __card__ at board __board__ from list __oldList__ at swimlane __oldSwimlane__ to list __list__ at swimlane __swimlane__", + "act-moveCardToOtherBoard": "moved card __card__ from list __oldList__ at swimlane __oldSwimlane__ at board __oldBoard__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-removeBoardMember": "removed member __member__ from board __board__", + "act-restoredCard": "restored card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-unjoinMember": "removed member __member__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Actions", + "activities": "Activities", + "activity": "Activity", + "activity-added": "added %s to %s", + "activity-archived": "%s moved to Archive", + "activity-attached": "attached %s to %s", + "activity-created": "உருவாக்கப்பட்டது ", + "activity-customfield-created": "created custom field %s", + "activity-excluded": "excluded %s from %s", + "activity-imported": "imported %s into %s from %s", + "activity-imported-board": "imported %s from %s", + "activity-joined": "சேர்ந்தது ", + "activity-moved": "moved %s from %s to %s", + "activity-on": "on %s", + "activity-removed": "removed %s from %s", + "activity-sent": "sent %s to %s", + "activity-unjoined": "பிரிக்கப்பட்டது ", + "activity-subtask-added": "added subtask to %s", + "activity-checked-item": "checked %s in checklist %s of %s", + "activity-unchecked-item": "unchecked %s in checklist %s of %s", + "activity-checklist-added": "added checklist to %s", + "activity-checklist-removed": "removed a checklist from %s", + "activity-checklist-completed": "completed checklist %s of %s", + "activity-checklist-uncompleted": "uncompleted the checklist %s of %s", + "activity-checklist-item-added": "added checklist item to '%s' in %s", + "activity-checklist-item-removed": "removed a checklist item from '%s' in %s", + "add": "சேர் ", + "activity-checked-item-card": "checked %s in checklist %s", + "activity-unchecked-item-card": "unchecked %s in checklist %s", + "activity-checklist-completed-card": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "activity-checklist-uncompleted-card": "uncompleted the checklist %s", + "activity-editComment": "edited comment %s", + "activity-deleteComment": "deleted comment %s", + "add-attachment": "Add Attachment", + "add-board": "Add Board", + "add-card": "Add Card", + "add-swimlane": "Add Swimlane", + "add-subtask": "Add Subtask", + "add-checklist": "Add Checklist", + "add-checklist-item": "Add an item to checklist", + "add-cover": "Add Cover", + "add-label": "Add Label", + "add-list": "Add List", + "add-members": "Add Members", + "added": "Added", + "addMemberPopup-title": "Members", + "admin": "Admin", + "admin-desc": "Can view and edit cards, remove members, and change settings for the board.", + "admin-announcement": "Announcement", + "admin-announcement-active": "Active System-Wide Announcement", + "admin-announcement-title": "Announcement from Administrator", + "all-boards": "All boards", + "and-n-other-card": "And __count__ other card", + "and-n-other-card_plural": "And __count__ other cards", + "apply": "Apply", + "app-is-offline": "Loading, please wait. Refreshing the page will cause data loss. If loading does not work, please check that server has not stopped.", + "archive": "Move to Archive", + "archive-all": "Move All to Archive", + "archive-board": "Move Board to Archive", + "archive-card": "Move Card to Archive", + "archive-list": "Move List to Archive", + "archive-swimlane": "Move Swimlane to Archive", + "archive-selection": "Move selection to Archive", + "archiveBoardPopup-title": "Move Board to Archive?", + "archived-items": "Archive", + "archived-boards": "Boards in Archive", + "restore-board": "Restore Board", + "no-archived-boards": "No Boards in Archive.", + "archives": "Archive", + "template": "Template", + "templates": "Templates", + "assign-member": "Assign member", + "attached": "attached", + "attachment": "இணைப்பு ", + "attachment-delete-pop": "Deleting an attachment is permanent. There is no undo.", + "attachmentDeletePopup-title": "Delete Attachment?", + "attachments": "இணைப்புகள் ", + "auto-watch": "Automatically watch boards when they are created", + "avatar-too-big": "The avatar is too large (70KB max)", + "back": "பின்செல் ", + "board-change-color": "நிறம் மாற்று ", + "board-nb-stars": "%s stars", + "board-not-found": "Board not found", + "board-private-info": "This board will be private.", + "board-public-info": "This board will be public.", + "boardChangeColorPopup-title": "Change Board Background", + "boardChangeTitlePopup-title": "Rename Board", + "boardChangeVisibilityPopup-title": "Change Visibility", + "boardChangeWatchPopup-title": "Change Watch", + "boardMenuPopup-title": "Board Settings", + "boardChangeViewPopup-title": "Board View", + "boards": "Boards", + "board-view": "Board View", + "board-view-cal": "நாள்கட்டி ", + "board-view-swimlanes": "Swimlanes", + "board-view-collapse": "Collapse", + "board-view-lists": "Lists", + "bucket-example": "Like “Bucket List” for example", + "cancel": "Cancel", + "card-archived": "This card is moved to Archive.", + "board-archived": "This board is moved to Archive.", + "card-comments-title": "This card has %s comment.", + "card-delete-notice": "Deleting is permanent. You will lose all actions associated with this card.", + "card-delete-pop": "All actions will be removed from the activity feed and you won't be able to re-open the card. There is no undo.", + "card-delete-suggest-archive": "You can move a card to Archive to remove it from the board and preserve the activity.", + "card-due": "Due", + "card-due-on": "Due on", + "card-spent": "Spent Time", + "card-edit-attachments": "Edit attachments", + "card-edit-custom-fields": "Edit custom fields", + "card-edit-labels": "Edit labels", + "card-edit-members": "Edit members", + "card-labels-title": "Change the labels for the card.", + "card-members-title": "Add or remove members of the board from the card.", + "card-start": "Start", + "card-start-on": "Starts on", + "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", + "cardStartVotingPopup-title": "Start a vote", + "positiveVoteMembersPopup-title": "Proponents", + "negativeVoteMembersPopup-title": "Opponents", + "card-edit-voting": "Edit voting", + "editVoteEndDatePopup-title": "Change vote end date", + "allowNonBoardMembers": "Allow all logged in users", + "vote-question": "Voting question", + "vote-public": "Show who voted what", + "vote-for-it": "for it", + "vote-against": "against", + "deleteVotePopup-title": "Delete vote?", + "vote-delete-pop": "Deleting is permanent. You will lose all actions associated with this vote.", + "cardDeletePopup-title": "Delete Card?", + "cardDetailsActionsPopup-title": "Card Actions", + "cardLabelsPopup-title": "Labels", + "cardMembersPopup-title": "Members", + "cardMorePopup-title": "மேலும் ", + "cardTemplatePopup-title": "Create template", + "cards": "Cards", + "cards-count": "Cards", + "casSignIn": "Sign In with CAS", + "cardType-card": "Card", + "cardType-linkedCard": "Linked Card", + "cardType-linkedBoard": "Linked Board", + "change": "Change", + "change-avatar": "Change Avatar", + "change-password": "கடவுச்சொல்லை மாற்று ", + "change-permissions": "Change permissions", + "change-settings": "Change Settings", + "changeAvatarPopup-title": "Change Avatar", + "changeLanguagePopup-title": "Change Language", + "changePasswordPopup-title": "கடவுச்சொல்லை மாற்றுக ", + "changePermissionsPopup-title": "Change Permissions", + "changeSettingsPopup-title": "Change Settings", + "subtasks": "Subtasks", + "checklists": "Checklists", + "click-to-star": "Click to star this board.", + "click-to-unstar": "Click to unstar this board.", + "clipboard": "Clipboard or drag & drop", + "close": "Close", + "close-board": "Close Board", + "close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.", + "color-black": "black", + "color-blue": "blue", + "color-crimson": "crimson", + "color-darkgreen": "அடர் பச்சை ", + "color-gold": "தங்கம் ", + "color-gray": "gray", + "color-green": "பச்சை ", + "color-indigo": "indigo", + "color-lime": "வெளிர் பச்சை ", + "color-magenta": "magenta", + "color-mistyrose": "mistyrose", + "color-navy": "navy", + "color-orange": "ஆரஞ்சு ", + "color-paleturquoise": "paleturquoise", + "color-peachpuff": "peachpuff", + "color-pink": "pink", + "color-plum": "plum", + "color-purple": "purple", + "color-red": "சிகப்பு ", + "color-saddlebrown": "saddlebrown", + "color-silver": "வெள்ளி ", + "color-sky": "வாணம் ", + "color-slateblue": "slateblue", + "color-white": "வெள்ளை ", + "color-yellow": "மஞ்சள் ", + "unset-color": "Unset", + "comment": "கருத்து ", + "comment-placeholder": "Write Comment", + "comment-only": "கருத்து மட்டும் ", + "comment-only-desc": "Can comment on cards only.", + "no-comments": "கருத்து இல்லை ", + "no-comments-desc": "Can not see comments and activities.", + "worker": "Worker", + "worker-desc": "Can only move cards, assign itself to card and comment.", + "computer": "கணினி ", + "confirm-subtask-delete-dialog": "Are you sure you want to delete subtask?", + "confirm-checklist-delete-dialog": "Are you sure you want to delete checklist?", + "copy-card-link-to-clipboard": "Copy card link to clipboard", + "linkCardPopup-title": "Link Card", + "searchElementPopup-title": "தேடு ", + "copyCardPopup-title": "Copy Card", + "copyChecklistToManyCardsPopup-title": "Copy Checklist Template to Many Cards", + "copyChecklistToManyCardsPopup-instructions": "Destination Card Titles and Descriptions in this JSON format", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"First card title\", \"description\":\"First card description\"}, {\"title\":\"Second card title\",\"description\":\"Second card description\"},{\"title\":\"Last card title\",\"description\":\"Last card description\"} ]", + "create": "உருவாக்கு ", + "createBoardPopup-title": "Create Board", + "chooseBoardSourcePopup-title": "Import board", + "createLabelPopup-title": "Create Label", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", + "current": "current", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-currency": "Currency", + "custom-field-currency-option": "Currency Code", + "custom-field-date": "நாள் ", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "எண் ", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", + "date": "நாள் ", + "decline": "Decline", + "default-avatar": "Default avatar", + "delete": "Delete", + "deleteCustomFieldPopup-title": "Delete Custom Field?", + "deleteLabelPopup-title": "Delete Label?", + "description": "Description", + "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", + "disambiguateMultiMemberPopup-title": "Disambiguate Member Action", + "discard": "Discard", + "done": "Done", + "download": "பதிவிறக்கம் ", + "edit": "திருத்து ", + "edit-avatar": "Change Avatar", + "edit-profile": "Edit Profile", + "edit-wip-limit": "Edit WIP Limit", + "soft-wip-limit": "Soft WIP Limit", + "editCardStartDatePopup-title": "Change start date", + "editCardDueDatePopup-title": "Change due date", + "editCustomFieldPopup-title": "Edit Field", + "editCardSpentTimePopup-title": "Change spent time", + "editLabelPopup-title": "Change Label", + "editNotificationPopup-title": "Edit Notification", + "editProfilePopup-title": "Edit Profile", + "email": "மின் அஞ்சல் ", + "email-enrollAccount-subject": "An account created for you on __siteName__", + "email-enrollAccount-text": "Hello __user__,\n\nTo start using the service, simply click the link below.\n\n__url__\n\nThanks.", + "email-fail": "Sending email failed", + "email-fail-text": "Error trying to send email", + "email-invalid": "Invalid email", + "email-invite": "Invite via Email", + "email-invite-subject": "__inviter__ sent you an invitation", + "email-invite-text": "Dear __user__,\n\n__inviter__ invites you to join board \"__board__\" for collaborations.\n\nPlease follow the link below:\n\n__url__\n\nThanks.", + "email-resetPassword-subject": "Reset your password on __siteName__", + "email-resetPassword-text": "Hello __user__,\n\nTo reset your password, simply click the link below.\n\n__url__\n\nThanks.", + "email-sent": "Email sent", + "email-verifyEmail-subject": "Verify your email address on __siteName__", + "email-verifyEmail-text": "Hello __user__,\n\nTo verify your account email, simply click the link below.\n\n__url__\n\nThanks.", + "enable-wip-limit": "Enable WIP Limit", + "error-board-doesNotExist": "This board does not exist", + "error-board-notAdmin": "You need to be admin of this board to do that", + "error-board-notAMember": "You need to be a member of this board to do that", + "error-json-malformed": "Your text is not valid JSON", + "error-json-schema": "Your JSON data does not include the proper information in the correct format", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "This list does not exist", + "error-user-doesNotExist": "This user does not exist", + "error-user-notAllowSelf": "You can not invite yourself", + "error-user-notCreated": "This user is not created", + "error-username-taken": "This username is already taken", + "error-email-taken": "Email has already been taken", + "export-board": "Export board", + "export-board-json": "Export board to JSON", + "export-board-csv": "Export board to CSV", + "export-board-tsv": "Export board to TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "Export board", + "sort": "Sort", + "sort-desc": "Click to Sort List", + "list-sort-by": "Sort the List By:", + "list-label-modifiedAt": "Last Access Time", + "list-label-title": "Name of the List", + "list-label-sort": "Your Manual Order", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Filter", + "filter-cards": "Filter Cards or Lists", + "list-filter-label": "Filter List by Title", + "filter-clear": "Clear filter", + "filter-no-label": "No label", + "filter-no-member": "No member", + "filter-no-assignee": "No assignee", + "filter-no-custom-fields": "No Custom Fields", + "filter-show-archive": "Show archived lists", + "filter-hide-empty": "Hide empty lists", + "filter-on": "Filter is on", + "filter-on-desc": "You are filtering cards on this board. Click here to edit filter.", + "filter-to-selection": "Filter to selection", + "advanced-filter-label": "Advanced Filter", + "advanced-filter-description": "Advanced Filter allows to write a string containing following operators: == != <= >= && || ( ) A space is used as a separator between the Operators. You can filter for all Custom Fields by typing their names and values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need to encapsulate them into single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) to be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally all operators are interpreted from left to right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i", + "fullname": "முழு பெயர் ", + "header-logo-title": "Go back to your boards page.", + "hide-system-messages": "Hide system messages", + "headerBarCreateBoardPopup-title": "Create Board", + "home": "தொடக்கம் ", + "import": "பதிவேற்றம் ", + "link": "இணை ", + "import-board": "import board", + "import-board-c": "Import board", + "import-board-title-trello": "Import board from Trello", + "import-board-title-wekan": "Import board from previous export", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "Trello ல் இருந்து ", + "from-wekan": "From previous export", + "from-csv": "From CSV/TSV", + "import-board-instruction-trello": "In your Trello board, go to 'Menu', then 'More', 'Print and Export', 'Export JSON', and copy the resulting text.", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "In your board, go to 'Menu', then 'Export board', and copy the text in the downloaded file.", + "import-board-instruction-about-errors": "If you get errors when importing board, sometimes importing still works, and board is at All Boards page.", + "import-json-placeholder": "Paste your valid JSON data here", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "Map members", + "import-members-map": "Your imported board has some members. Please map the members you want to import to your users", + "import-show-user-mapping": "Review members mapping", + "import-user-select": "Pick your existing user you want to use as this member", + "importMapMembersAddPopup-title": "Select member", + "info": "Version", + "initials": "Initials", + "invalid-date": "Invalid date", + "invalid-time": "Invalid time", + "invalid-user": "Invalid user", + "joined": "joined", + "just-invited": "You are just invited to this board", + "keyboard-shortcuts": "Keyboard shortcuts", + "label-create": "Create Label", + "label-default": "%s label (default)", + "label-delete-pop": "There is no undo. This will remove this label from all cards and destroy its history.", + "labels": "Labels", + "language": "மொழி ", + "last-admin-desc": "You can’t change roles because there must be at least one admin.", + "leave-board": "Leave Board", + "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.", + "leaveBoardPopup-title": "Leave Board ?", + "link-card": "Link to this card", + "list-archive-cards": "Move all cards in this list to Archive", + "list-archive-cards-pop": "This will remove all the cards in this list from the board. To view cards in Archive and bring them back to the board, click “Menu” > “Archive”.", + "list-move-cards": "Move all cards in this list", + "list-select-cards": "Select all cards in this list", + "set-color-list": "நிறத்தை மாற்று ", + "listActionPopup-title": "List Actions", + "swimlaneActionPopup-title": "Swimlane Actions", + "swimlaneAddPopup-title": "Add a Swimlane below", + "listImportCardPopup-title": "Import a Trello card", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "மேலும் ", + "link-list": "Link to this list", + "list-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the list. There is no undo.", + "list-delete-suggest-archive": "You can move a list to Archive to remove it from the board and preserve the activity.", + "lists": "Lists", + "swimlanes": "Swimlanes", + "log-out": "Log Out", + "log-in": "Log In", + "loginPopup-title": "Log In", + "memberMenuPopup-title": "Member Settings", + "members": "Members", + "menu": "Menu", + "move-selection": "Move selection", + "moveCardPopup-title": "Move Card", + "moveCardToBottom-title": "Move to Bottom", + "moveCardToTop-title": "Move to Top", + "moveSelectionPopup-title": "Move selection", + "multi-selection": "Multi-Selection", + "multi-selection-on": "Multi-Selection is on", + "muted": "Muted", + "muted-info": "You will never be notified of any changes in this board", + "my-boards": "My Boards", + "name": "பெயர் ", + "no-archived-cards": "No cards in Archive.", + "no-archived-lists": "No lists in Archive.", + "no-archived-swimlanes": "No swimlanes in Archive.", + "no-results": "No results", + "normal": "Normal", + "normal-desc": "Can view and edit cards. Can't change settings.", + "not-accepted-yet": "Invitation not accepted yet", + "notify-participate": "Receive updates to any cards you participate as creater or member", + "notify-watch": "Receive updates to any boards, lists, or cards you’re watching", + "optional": "optional", + "or": "or", + "page-maybe-private": "This page may be private. You may be able to view it by logging in.", + "page-not-found": "Page not found.", + "password": "கடவுச்சொல் ", + "paste-or-dragdrop": "to paste, or drag & drop image file to it (image only)", + "participating": "Participating", + "preview": "Preview", + "previewAttachedImagePopup-title": "Preview", + "previewClipboardImagePopup-title": "Preview", + "private": "தனியார் ", + "private-desc": "This board is private. Only people added to the board can view and edit it.", + "profile": "Profile", + "public": "பொது ", + "public-desc": "This board is public. It's visible to anyone with the link and will show up in search engines like Google. Only people added to the board can edit.", + "quick-access-description": "Star a board to add a shortcut in this bar.", + "remove-cover": "Remove Cover", + "remove-from-board": "Remove from Board", + "remove-label": "Remove Label", + "listDeletePopup-title": "Delete List ?", + "remove-member": "Remove Member", + "remove-member-from-card": "Remove from Card", + "remove-member-pop": "Remove __name__ (__username__) from __boardTitle__? The member will be removed from all cards on this board. They will receive a notification.", + "removeMemberPopup-title": "Remove Member?", + "rename": "பெயர்மாற்றம் ", + "rename-board": "Rename Board", + "restore": "Restore", + "save": "சேமி ", + "search": "தேடு ", + "rules": "Rules", + "search-cards": "Search from card/list titles, descriptions and custom fields on this board", + "search-example": "Text to search for?", + "select-color": "Select Color", + "set-wip-limit-value": "Set a limit for the maximum number of tasks in this list", + "setWipLimitPopup-title": "Set WIP Limit", + "shortcut-assign-self": "Assign yourself to current card", + "shortcut-autocomplete-emoji": "Autocomplete emoji", + "shortcut-autocomplete-members": "Autocomplete members", + "shortcut-clear-filters": "Clear all filters", + "shortcut-close-dialog": "Close Dialog", + "shortcut-filter-my-cards": "Filter my cards", + "shortcut-show-shortcuts": "Bring up this shortcuts list", + "shortcut-toggle-filterbar": "Toggle Filter Sidebar", + "shortcut-toggle-sidebar": "Toggle Board Sidebar", + "show-cards-minimum-count": "Show cards count if list contains more than", + "sidebar-open": "Open Sidebar", + "sidebar-close": "Close Sidebar", + "signupPopup-title": "Create an Account", + "star-board-title": "Click to star this board. It will show up at top of your boards list.", + "starred-boards": "Starred Boards", + "starred-boards-description": "Starred boards show up at the top of your boards list.", + "subscribe": "சந்தா ", + "team": "குழு ", + "this-board": "this board", + "this-card": "this card", + "spent-time-hours": "Spent time (hours)", + "overtime-hours": "Overtime (hours)", + "overtime": "Overtime", + "has-overtime-cards": "Has overtime cards", + "has-spenttime-cards": "Has spent time cards", + "time": "Time", + "title": "Title", + "tracking": "Tracking", + "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", + "unassign-member": "Unassign member", + "unsaved-description": "You have an unsaved description.", + "unwatch": "Unwatch", + "upload": "Upload", + "upload-avatar": "Upload an avatar", + "uploaded-avatar": "Uploaded an avatar", + "username": "Username", + "view-it": "View it", + "warn-list-archived": "warning: this card is in an list at Archive", + "watch": "Watch", + "watching": "Watching", + "watching-info": "You will be notified of any change in this board", + "welcome-board": "Welcome Board", + "welcome-swimlane": "Milestone 1", + "welcome-list1": "Basics", + "welcome-list2": "Advanced", + "card-templates-swimlane": "Card Templates", + "list-templates-swimlane": "List Templates", + "board-templates-swimlane": "Board Templates", + "what-to-do": "What do you want to do?", + "wipLimitErrorPopup-title": "Invalid WIP Limit", + "wipLimitErrorPopup-dialog-pt1": "The number of tasks in this list is higher than the WIP limit you've defined.", + "wipLimitErrorPopup-dialog-pt2": "Please move some tasks out of this list, or set a higher WIP limit.", + "admin-panel": "Admin Panel", + "settings": "Settings", + "people": "People", + "registration": "Registration", + "disable-self-registration": "Disable Self-Registration", + "invite": "அழைப்பு ", + "invite-people": "Invite People", + "to-boards": "To board(s)", + "email-addresses": "Email Addresses", + "smtp-host-description": "The address of the SMTP server that handles your emails.", + "smtp-port-description": "The port your SMTP server uses for outgoing emails.", + "smtp-tls-description": "Enable TLS support for SMTP server", + "smtp-host": "SMTP Host", + "smtp-port": "SMTP Port", + "smtp-username": "Username", + "smtp-password": "கடவுச்சொல் ", + "smtp-tls": "TLS support", + "send-from": "அனுப்புனர் ", + "send-smtp-test": "சோதனை மின்னஞ்சல் அணுப்புக ", + "invitation-code": "Invitation Code", + "email-invite-register-subject": "__inviter__ sent you an invitation", + "email-invite-register-text": "Dear __user__,\n\n__inviter__ invites you to kanban board for collaborations.\n\nPlease follow the link below:\n__url__\n\nAnd your invitation code is: __icode__\n\nThanks.", + "email-smtp-test-subject": "SMTP Test Email", + "email-smtp-test-text": "You have successfully sent an email", + "error-invitation-code-not-exist": "Invitation code doesn't exist", + "error-notAuthorized": "You are not authorized to view this page.", + "webhook-title": "Webhook Name", + "webhook-token": "Token (Optional for Authentication)", + "outgoing-webhooks": "Outgoing Webhooks", + "bidirectional-webhooks": "Two-Way Webhooks", + "outgoingWebhooksPopup-title": "Outgoing Webhooks", + "boardCardTitlePopup-title": "Card Title Filter", + "disable-webhook": "Disable This Webhook", + "global-webhook": "Global Webhooks", + "new-outgoing-webhook": "New Outgoing Webhook", + "no-name": "(Unknown)", + "Node_version": "Node version", + "Meteor_version": "Meteor version", + "MongoDB_version": "MongoDB version", + "MongoDB_storage_engine": "MongoDB storage engine", + "MongoDB_Oplog_enabled": "MongoDB Oplog enabled", + "OS_Arch": "OS Arch", + "OS_Cpus": "OS CPU Count", + "OS_Freemem": "OS Free Memory", + "OS_Loadavg": "OS Load Average", + "OS_Platform": "OS Platform", + "OS_Release": "OS Release", + "OS_Totalmem": "OS Total Memory", + "OS_Type": "OS Type", + "OS_Uptime": "OS Uptime", + "days": "days", + "hours": "hours", + "minutes": "minutes", + "seconds": "seconds", + "show-field-on-card": "Show this field on card", + "automatically-field-on-card": "Auto create field to all cards", + "showLabel-field-on-card": "Show field label on minicard", + "yes": "Yes", + "no": "No", + "accounts": "Accounts", + "accounts-allowEmailChange": "Allow Email Change", + "accounts-allowUserNameChange": "Allow Username Change", + "createdAt": "Created at", + "verified": "Verified", + "active": "Active", + "card-received": "Received", + "card-received-on": "Received on", + "card-end": "முடிவு ", + "card-end-on": "Ends on", + "editCardReceivedDatePopup-title": "Change received date", + "editCardEndDatePopup-title": "Change end date", + "setCardColorPopup-title": "Set color", + "setCardActionsColorPopup-title": "Choose a color", + "setSwimlaneColorPopup-title": "Choose a color", + "setListColorPopup-title": "Choose a color", + "assigned-by": "Assigned By", + "requested-by": "Requested By", + "board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.", + "delete-board-confirm-popup": "All lists, cards, labels, and activities will be deleted and you won't be able to recover the board contents. There is no undo.", + "boardDeletePopup-title": "Delete Board?", + "delete-board": "Delete Board", + "default-subtasks-board": "Subtasks for __board__ board", + "default": "Default", + "queue": "Queue", + "subtask-settings": "Subtasks Settings", + "card-settings": "Card Settings", + "boardSubtaskSettingsPopup-title": "Board Subtasks Settings", + "boardCardSettingsPopup-title": "Card Settings", + "deposit-subtasks-board": "Deposit subtasks to this board:", + "deposit-subtasks-list": "Landing list for subtasks deposited here:", + "show-parent-in-minicard": "Show parent in minicard:", + "prefix-with-full-path": "Prefix with full path", + "prefix-with-parent": "Prefix with parent", + "subtext-with-full-path": "Subtext with full path", + "subtext-with-parent": "Subtext with parent", + "change-card-parent": "Change card's parent", + "parent-card": "Parent card", + "source-board": "Source board", + "no-parent": "Don't show parent", + "activity-added-label": "added label '%s' to %s", + "activity-removed-label": "removed label '%s' from %s", + "activity-delete-attach": "deleted an attachment from %s", + "activity-added-label-card": "added label '%s'", + "activity-removed-label-card": "removed label '%s'", + "activity-delete-attach-card": "deleted an attachment", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "Rule", + "r-add-trigger": "Add trigger", + "r-add-action": "Add action", + "r-board-rules": "Board rules", + "r-add-rule": "Add rule", + "r-view-rule": "View rule", + "r-delete-rule": "Delete rule", + "r-new-rule-name": "New rule title", + "r-no-rules": "No rules", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "When a card", + "r-is": "is", + "r-is-moved": "is moved", + "r-added-to": "Added to", + "r-removed-from": "Removed from", + "r-the-board": "the board", + "r-list": "list", + "set-filter": "Set Filter", + "r-moved-to": "Moved to", + "r-moved-from": "Moved from", + "r-archived": "Moved to Archive", + "r-unarchived": "Restored from Archive", + "r-a-card": "a card", + "r-when-a-label-is": "When a label is", + "r-when-the-label": "When the label", + "r-list-name": "list name", + "r-when-a-member": "When a member is", + "r-when-the-member": "When the member", + "r-name": "name", + "r-when-a-attach": "When an attachment", + "r-when-a-checklist": "When a checklist is", + "r-when-the-checklist": "When the checklist", + "r-completed": "Completed", + "r-made-incomplete": "Made incomplete", + "r-when-a-item": "When a checklist item is", + "r-when-the-item": "When the checklist item", + "r-checked": "Checked", + "r-unchecked": "Unchecked", + "r-move-card-to": "Move card to", + "r-top-of": "Top of", + "r-bottom-of": "Bottom of", + "r-its-list": "its list", + "r-archive": "Move to Archive", + "r-unarchive": "Restore from Archive", + "r-card": "card", + "r-add": "சேர் ", + "r-remove": "Remove", + "r-label": "label", + "r-member": "member", + "r-remove-all": "Remove all members from the card", + "r-set-color": "Set color to", + "r-checklist": "checklist", + "r-check-all": "Check all", + "r-uncheck-all": "Uncheck all", + "r-items-check": "items of checklist", + "r-check": "Check", + "r-uncheck": "Uncheck", + "r-item": "item", + "r-of-checklist": "of checklist", + "r-send-email": "Send an email", + "r-to": "to", + "r-of": "of", + "r-subject": "subject", + "r-rule-details": "Rule details", + "r-d-move-to-top-gen": "Move card to top of its list", + "r-d-move-to-top-spec": "Move card to top of list", + "r-d-move-to-bottom-gen": "Move card to bottom of its list", + "r-d-move-to-bottom-spec": "Move card to bottom of list", + "r-d-send-email": "Send email", + "r-d-send-email-to": "to", + "r-d-send-email-subject": "subject", + "r-d-send-email-message": "message", + "r-d-archive": "Move card to Archive", + "r-d-unarchive": "Restore card from Archive", + "r-d-add-label": "Add label", + "r-d-remove-label": "Remove label", + "r-create-card": "Create new card", + "r-in-list": "in list", + "r-in-swimlane": "in swimlane", + "r-d-add-member": "Add member", + "r-d-remove-member": "Remove member", + "r-d-remove-all-member": "Remove all member", + "r-d-check-all": "Check all items of a list", + "r-d-uncheck-all": "Uncheck all items of a list", + "r-d-check-one": "Check item", + "r-d-uncheck-one": "Uncheck item", + "r-d-check-of-list": "of checklist", + "r-d-add-checklist": "Add checklist", + "r-d-remove-checklist": "Remove checklist", + "r-by": "by", + "r-add-checklist": "Add checklist", + "r-with-items": "with items", + "r-items-list": "item1,item2,item3", + "r-add-swimlane": "Add swimlane", + "r-swimlane-name": "swimlane name", + "r-board-note": "Note: leave a field empty to match every possible value.", + "r-checklist-note": "Note: checklist's items have to be written as comma separated values.", + "r-when-a-card-is-moved": "When a card is moved to another list", + "r-set": "Set", + "r-update": "Update", + "r-datefield": "date field", + "r-df-start-at": "start", + "r-df-due-at": "due", + "r-df-end-at": "end", + "r-df-received-at": "received", + "r-to-current-datetime": "to current date/time", + "r-remove-value-from": "Remove value from", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Authentication method", + "authentication-type": "Authentication type", + "custom-product-name": "Custom Product Name", + "layout": "Layout", + "hide-logo": "Hide Logo", + "add-custom-html-after-body-start": "Add Custom HTML after start", + "add-custom-html-before-body-end": "Add Custom HTML before end", + "error-undefined": "Something went wrong", + "error-ldap-login": "An error occurred while trying to login", + "display-authentication-method": "Display Authentication Method", + "default-authentication-method": "Default Authentication Method", + "duplicate-board": "Duplicate Board", + "people-number": "The number of people is:", + "swimlaneDeletePopup-title": "Delete Swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Restore all", + "delete-all": "Delete all", + "loading": "Loading, please wait.", + "previous_as": "last time was", + "act-a-dueAt": "modified due time to \nWhen: __timeValue__\nWhere: __card__\n previous due was __timeOldValue__", + "act-a-endAt": "modified ending time to __timeValue__ from (__timeOldValue__)", + "act-a-startAt": "modified starting time to __timeValue__ from (__timeOldValue__)", + "act-a-receivedAt": "modified received time to __timeValue__ from (__timeOldValue__)", + "a-dueAt": "modified due time to be", + "a-endAt": "modified ending time to be", + "a-startAt": "modified starting time to be", + "a-receivedAt": "modified received time to be", + "almostdue": "current due time %s is approaching", + "pastdue": "current due time %s is past", + "duenow": "current due time %s is today", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", + "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", + "act-duenow": "was reminding the current due (__timeValue__) of __card__ is now", + "act-atUserComment": "You were mentioned in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Are you sure you want to delete this account? There is no undo.", + "accounts-allowUserDelete": "Allow users to self delete their account", + "hide-minicard-label-text": "Hide minicard label text", + "show-desktop-drag-handles": "Show desktop drag handles", + "assignee": "Assignee", + "cardAssigneesPopup-title": "Assignee", + "addmore-detail": "Add a more detailed description", + "show-on-card": "Show on Card", + "new": "New", + "editUserPopup-title": "Edit User", + "newUserPopup-title": "New User", + "notifications": "Notifications", + "view-all": "View All", + "filter-by-unread": "Filter by Unread", + "mark-all-as-read": "Mark all as read", + "remove-all-read": "Remove all read", + "allow-rename": "Allow Rename", + "allowRenamePopup-title": "Allow Rename", + "start-day-of-week": "Set day of the week start", + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archived", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/th.i18n.json b/i18n/th.i18n.json new file mode 100644 index 0000000..a5a5747 --- /dev/null +++ b/i18n/th.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "ยอมรับ", + "act-activity-notify": "Activity Notification", + "act-addAttachment": "added attachment __attachment__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteAttachment": "deleted attachment __attachment__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addSubtask": "added subtask __subtask__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addedLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removedLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklist": "added checklist __checklist__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklistItem": "added checklist item __checklistItem__ to checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklist": "removed checklist __checklist__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklistItem": "removed checklist item __checklistItem__ from checklist __checkList__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-checkedItem": "checked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncheckedItem": "unchecked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-completeChecklist": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncompleteChecklist": "uncompleted checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addComment": "commented on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-editComment": "edited comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteComment": "deleted comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createBoard": "created board __board__", + "act-createSwimlane": "created swimlane __swimlane__ to board __board__", + "act-createCard": "created card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-createCustomField": "created custom field __customField__ at board __board__", + "act-deleteCustomField": "deleted custom field __customField__ at board __board__", + "act-setCustomField": "edited custom field __customField__: __customFieldValue__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createList": "added list __list__ to board __board__", + "act-addBoardMember": "added member __member__ to board __board__", + "act-archivedBoard": "Board __board__ moved to Archive", + "act-archivedCard": "Card __card__ at list __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedList": "List __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedSwimlane": "Swimlane __swimlane__ at board __board__ moved to Archive", + "act-importBoard": "imported board __board__", + "act-importCard": "imported card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-importList": "imported list __list__ to swimlane __swimlane__ at board __board__", + "act-joinMember": "added member __member__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-moveCard": "moved card __card__ at board __board__ from list __oldList__ at swimlane __oldSwimlane__ to list __list__ at swimlane __swimlane__", + "act-moveCardToOtherBoard": "moved card __card__ from list __oldList__ at swimlane __oldSwimlane__ at board __oldBoard__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-removeBoardMember": "removed member __member__ from board __board__", + "act-restoredCard": "restored card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-unjoinMember": "removed member __member__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "ปฎิบัติการ", + "activities": "กิจกรรม", + "activity": "กิจกรรม", + "activity-added": "เพิ่ม %s ไปยัง %s", + "activity-archived": "%s moved to Archive", + "activity-attached": "แนบ %s ไปยัง %s", + "activity-created": "สร้าง %s", + "activity-customfield-created": "created custom field %s", + "activity-excluded": "ยกเว้น %s จาก %s", + "activity-imported": "ถูกนำเข้า %s ไปยัง %s จาก %s", + "activity-imported-board": "นำเข้า %s จาก %s", + "activity-joined": "เข้าร่วม %s", + "activity-moved": "ย้าย %s จาก %s ถึง %s", + "activity-on": "บน %s", + "activity-removed": "ลบ %s จาด %s", + "activity-sent": "ส่ง %s ถึง %s", + "activity-unjoined": "ยกเลิกเข้าร่วม %s", + "activity-subtask-added": "added subtask to %s", + "activity-checked-item": "checked %s in checklist %s of %s", + "activity-unchecked-item": "unchecked %s in checklist %s of %s", + "activity-checklist-added": "รายการถูกเพิ่มไป %s", + "activity-checklist-removed": "removed a checklist from %s", + "activity-checklist-completed": "completed checklist %s of %s", + "activity-checklist-uncompleted": "uncompleted the checklist %s of %s", + "activity-checklist-item-added": "added checklist item to '%s' in %s", + "activity-checklist-item-removed": "removed a checklist item from '%s' in %s", + "add": "เพิ่ม", + "activity-checked-item-card": "checked %s in checklist %s", + "activity-unchecked-item-card": "unchecked %s in checklist %s", + "activity-checklist-completed-card": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "activity-checklist-uncompleted-card": "uncompleted the checklist %s", + "activity-editComment": "edited comment %s", + "activity-deleteComment": "deleted comment %s", + "add-attachment": "Add Attachment", + "add-board": "Add Board", + "add-card": "Add Card", + "add-swimlane": "Add Swimlane", + "add-subtask": "Add Subtask", + "add-checklist": "Add Checklist", + "add-checklist-item": "เพิ่มรายการตรวจสอบ", + "add-cover": "เพิ่มหน้าปก", + "add-label": "Add Label", + "add-list": "Add List", + "add-members": "เพิ่มสมาชิก", + "added": "เพิ่ม", + "addMemberPopup-title": "สมาชิก", + "admin": "ผู้ดูแลระบบ", + "admin-desc": "สามารถดูและแก้ไขการ์ด ลบสมาชิก และเปลี่ยนการตั้งค่าบอร์ดได้", + "admin-announcement": "Announcement", + "admin-announcement-active": "Active System-Wide Announcement", + "admin-announcement-title": "Announcement from Administrator", + "all-boards": "บอร์ดทั้งหมด", + "and-n-other-card": "และการ์ดอื่น __count__", + "and-n-other-card_plural": "และการ์ดอื่น ๆ __count__", + "apply": "นำมาใช้", + "app-is-offline": "Loading, please wait. Refreshing the page will cause data loss. If loading does not work, please check that server has not stopped.", + "archive": "Move to Archive", + "archive-all": "Move All to Archive", + "archive-board": "Move Board to Archive", + "archive-card": "Move Card to Archive", + "archive-list": "Move List to Archive", + "archive-swimlane": "Move Swimlane to Archive", + "archive-selection": "Move selection to Archive", + "archiveBoardPopup-title": "Move Board to Archive?", + "archived-items": "เอกสารที่เก็บไว้", + "archived-boards": "Boards in Archive", + "restore-board": "Restore Board", + "no-archived-boards": "No Boards in Archive.", + "archives": "เอกสารที่เก็บไว้", + "template": "Template", + "templates": "Templates", + "assign-member": "กำหนดสมาชิก", + "attached": "แนบมาด้วย", + "attachment": "สิ่งที่แนบมา", + "attachment-delete-pop": "ลบสิ่งที่แนบมาถาวร ไม่สามารถเลิกทำได้", + "attachmentDeletePopup-title": "ลบสิ่งที่แนบมาหรือไม่", + "attachments": "สิ่งที่แนบมา", + "auto-watch": "Automatically watch boards when they are created", + "avatar-too-big": "The avatar is too large (70KB max)", + "back": "ย้อนกลับ", + "board-change-color": "เปลี่ยนสี", + "board-nb-stars": "ติดดาว %s", + "board-not-found": "ไม่มีบอร์ด", + "board-private-info": "บอร์ดนี้จะเป็น ส่วนตัว.", + "board-public-info": "บอร์ดนี้จะเป็น สาธารณะ.", + "boardChangeColorPopup-title": "เปลี่ยนสีพื้นหลังบอร์ด", + "boardChangeTitlePopup-title": "เปลี่ยนชื่อบอร์ด", + "boardChangeVisibilityPopup-title": "เปลี่ยนการเข้าถึง", + "boardChangeWatchPopup-title": "เปลี่ยนการเฝ้าดู", + "boardMenuPopup-title": "Board Settings", + "boardChangeViewPopup-title": "Board View", + "boards": "บอร์ด", + "board-view": "Board View", + "board-view-cal": "Calendar", + "board-view-swimlanes": "Swimlanes", + "board-view-collapse": "Collapse", + "board-view-lists": "รายการ", + "bucket-example": "ตัวอย่างเช่น “ระบบที่ต้องทำ”", + "cancel": "ยกเลิก", + "card-archived": "This card is moved to Archive.", + "board-archived": "This board is moved to Archive.", + "card-comments-title": "การ์ดนี้มี %s ความเห็น.", + "card-delete-notice": "เป็นการลบถาวร คุณจะสูญเสียข้อมูลที่เกี่ยวข้องกับการ์ดนี้ทั้งหมด", + "card-delete-pop": "การดำเนินการทั้งหมดจะถูกลบจาก feed กิจกรรมและคุณไม่สามารถเปิดได้อีกครั้งหรือยกเลิกการทำ", + "card-delete-suggest-archive": "You can move a card to Archive to remove it from the board and preserve the activity.", + "card-due": "ครบกำหนด", + "card-due-on": "ครบกำหนดเมื่อ", + "card-spent": "Spent Time", + "card-edit-attachments": "แก้ไขสิ่งที่แนบมา", + "card-edit-custom-fields": "Edit custom fields", + "card-edit-labels": "แก้ไขป้ายกำกับ", + "card-edit-members": "แก้ไขสมาชิก", + "card-labels-title": "เปลี่ยนป้ายกำกับของการ์ด", + "card-members-title": "เพิ่มหรือลบสมาชิกของบอร์ดจากการ์ด", + "card-start": "เริ่ม", + "card-start-on": "เริ่มเมื่อ", + "cardAttachmentsPopup-title": "แนบจาก", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", + "cardStartVotingPopup-title": "Start a vote", + "positiveVoteMembersPopup-title": "Proponents", + "negativeVoteMembersPopup-title": "Opponents", + "card-edit-voting": "Edit voting", + "editVoteEndDatePopup-title": "Change vote end date", + "allowNonBoardMembers": "Allow all logged in users", + "vote-question": "Voting question", + "vote-public": "Show who voted what", + "vote-for-it": "for it", + "vote-against": "against", + "deleteVotePopup-title": "Delete vote?", + "vote-delete-pop": "Deleting is permanent. You will lose all actions associated with this vote.", + "cardDeletePopup-title": "ลบการ์ดนี้หรือไม่", + "cardDetailsActionsPopup-title": "การดำเนินการการ์ด", + "cardLabelsPopup-title": "ป้ายกำกับ", + "cardMembersPopup-title": "สมาชิก", + "cardMorePopup-title": "เพิ่มเติม", + "cardTemplatePopup-title": "Create template", + "cards": "การ์ด", + "cards-count": "การ์ด", + "casSignIn": "Sign In with CAS", + "cardType-card": "Card", + "cardType-linkedCard": "Linked Card", + "cardType-linkedBoard": "Linked Board", + "change": "เปลี่ยน", + "change-avatar": "เปลี่ยนภาพ", + "change-password": "เปลี่ยนรหัสผ่าน", + "change-permissions": "เปลี่ยนสิทธิ์", + "change-settings": "เปลี่ยนการตั้งค่า", + "changeAvatarPopup-title": "เปลี่ยนภาพ", + "changeLanguagePopup-title": "เปลี่ยนภาษา", + "changePasswordPopup-title": "เปลี่ยนรหัสผ่าน", + "changePermissionsPopup-title": "เปลี่ยนสิทธิ์", + "changeSettingsPopup-title": "เปลี่ยนการตั้งค่า", + "subtasks": "Subtasks", + "checklists": "รายการตรวจสอบ", + "click-to-star": "คลิกดาวบอร์ดนี้", + "click-to-unstar": "คลิกยกเลิกดาวบอร์ดนี้", + "clipboard": "Clipboard หรือลากและวาง", + "close": "ปิด", + "close-board": "ปิดบอร์ด", + "close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.", + "color-black": "ดำ", + "color-blue": "น้ำเงิน", + "color-crimson": "crimson", + "color-darkgreen": "darkgreen", + "color-gold": "gold", + "color-gray": "gray", + "color-green": "เขียว", + "color-indigo": "indigo", + "color-lime": "เหลืองมะนาว", + "color-magenta": "magenta", + "color-mistyrose": "mistyrose", + "color-navy": "navy", + "color-orange": "ส้ม", + "color-paleturquoise": "paleturquoise", + "color-peachpuff": "peachpuff", + "color-pink": "ชมพู", + "color-plum": "plum", + "color-purple": "ม่วง", + "color-red": "แดง", + "color-saddlebrown": "saddlebrown", + "color-silver": "silver", + "color-sky": "ฟ้า", + "color-slateblue": "slateblue", + "color-white": "white", + "color-yellow": "เหลือง", + "unset-color": "Unset", + "comment": "คอมเม็นต์", + "comment-placeholder": "Write Comment", + "comment-only": "Comment only", + "comment-only-desc": "Can comment on cards only.", + "no-comments": "No comments", + "no-comments-desc": "Can not see comments and activities.", + "worker": "Worker", + "worker-desc": "Can only move cards, assign itself to card and comment.", + "computer": "คอมพิวเตอร์", + "confirm-subtask-delete-dialog": "Are you sure you want to delete subtask?", + "confirm-checklist-delete-dialog": "Are you sure you want to delete checklist?", + "copy-card-link-to-clipboard": "Copy card link to clipboard", + "linkCardPopup-title": "Link Card", + "searchElementPopup-title": "ค้นหา", + "copyCardPopup-title": "Copy Card", + "copyChecklistToManyCardsPopup-title": "Copy Checklist Template to Many Cards", + "copyChecklistToManyCardsPopup-instructions": "Destination Card Titles and Descriptions in this JSON format", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"First card title\", \"description\":\"First card description\"}, {\"title\":\"Second card title\",\"description\":\"Second card description\"},{\"title\":\"Last card title\",\"description\":\"Last card description\"} ]", + "create": "สร้าง", + "createBoardPopup-title": "สร้างบอร์ด", + "chooseBoardSourcePopup-title": "Import board", + "createLabelPopup-title": "สร้างป้ายกำกับ", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", + "current": "ปัจจุบัน", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-currency": "Currency", + "custom-field-currency-option": "Currency Code", + "custom-field-date": "วันที่", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", + "date": "วันที่", + "decline": "ปฎิเสธ", + "default-avatar": "ภาพเริ่มต้น", + "delete": "ลบ", + "deleteCustomFieldPopup-title": "Delete Custom Field?", + "deleteLabelPopup-title": "ลบป้ายกำกับนี้หรือไม่", + "description": "คำอธิบาย", + "disambiguateMultiLabelPopup-title": "การดำเนินการกำกับป้ายชัดเจน", + "disambiguateMultiMemberPopup-title": "การดำเนินการสมาชิกชัดเจน", + "discard": "ทิ้ง", + "done": "เสร็จสิ้น", + "download": "ดาวน์โหลด", + "edit": "แก้ไข", + "edit-avatar": "เปลี่ยนภาพ", + "edit-profile": "แก้ไขโปรไฟล์", + "edit-wip-limit": "Edit WIP Limit", + "soft-wip-limit": "Soft WIP Limit", + "editCardStartDatePopup-title": "เปลี่ยนวันเริ่มต้น", + "editCardDueDatePopup-title": "เปลี่ยนวันครบกำหนด", + "editCustomFieldPopup-title": "Edit Field", + "editCardSpentTimePopup-title": "Change spent time", + "editLabelPopup-title": "เปลี่ยนป้ายกำกับ", + "editNotificationPopup-title": "แก้ไขการแจ้งเตือน", + "editProfilePopup-title": "แก้ไขโปรไฟล์", + "email": "อีเมล์", + "email-enrollAccount-subject": "บัญชีคุณถูกสร้างใน __siteName__", + "email-enrollAccount-text": "สวัสดี __user__,\n\nเริ่มใช้บริการง่าย ๆ , ด้วยการคลิกลิงค์ด้านล่าง.\n\n__url__\n\n ขอบคุณค่ะ", + "email-fail": "การส่งอีเมล์ล้มเหลว", + "email-fail-text": "Error trying to send email", + "email-invalid": "อีเมล์ไม่ถูกต้อง", + "email-invite": "เชิญผ่านทางอีเมล์", + "email-invite-subject": "__inviter__ ส่งคำเชิญให้คุณ", + "email-invite-text": "สวัสดี __user__,\n\n__inviter__ ขอเชิญคุณเข้าร่วม \"__board__\" เพื่อขอความร่วมมือ \n\n โปรดคลิกตามลิงค์ข้างล่างนี้ \n\n__url__\n\n ขอบคุณ", + "email-resetPassword-subject": "ตั้งรหัสผ่่านใหม่ของคุณบน __siteName__", + "email-resetPassword-text": "สวัสดี __user__,\n\nในการรีเซ็ตรหัสผ่านของคุณ, คลิกตามลิงค์ด้านล่าง \n\n__url__\n\nขอบคุณค่ะ", + "email-sent": "ส่งอีเมล์", + "email-verifyEmail-subject": "ยืนยันที่อยู่อีเม์ของคุณบน __siteName__", + "email-verifyEmail-text": "สวัสดี __user__,\n\nตรวจสอบบัญชีอีเมล์ของคุณ ง่าย ๆ ตามลิงค์ด้านล่าง \n\n__url__\n\n ขอบคุณค่ะ", + "enable-wip-limit": "Enable WIP Limit", + "error-board-doesNotExist": "บอร์ดนี้ไม่มีอยู่แล้ว", + "error-board-notAdmin": "คุณจะต้องเป็นผู้ดูแลระบบถึงจะทำสิ่งเหล่านี้ได้", + "error-board-notAMember": "คุณต้องเป็นสมาชิกของบอร์ดนี้ถึงจะทำได้", + "error-json-malformed": "ข้อความของคุณไม่ใช่ JSON", + "error-json-schema": "รูปแบบข้้้อมูล JSON ของคุณไม่ถูกต้อง", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "รายการนี้ไม่มีอยู่", + "error-user-doesNotExist": "ผู้ใช้นี้ไม่มีอยู่", + "error-user-notAllowSelf": "You can not invite yourself", + "error-user-notCreated": "ผู้ใช้รายนี้ไม่ได้สร้าง", + "error-username-taken": "ชื่อนี้ถูกใช้งานแล้ว", + "error-email-taken": "Email has already been taken", + "export-board": "ส่งออกกระดาน", + "export-board-json": "Export board to JSON", + "export-board-csv": "Export board to CSV", + "export-board-tsv": "Export board to TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "ส่งออกกระดาน", + "sort": "Sort", + "sort-desc": "Click to Sort List", + "list-sort-by": "Sort the List By:", + "list-label-modifiedAt": "Last Access Time", + "list-label-title": "Name of the List", + "list-label-sort": "Your Manual Order", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "กรอง", + "filter-cards": "Filter Cards or Lists", + "list-filter-label": "Filter List by Title", + "filter-clear": "ล้างตัวกรอง", + "filter-no-label": "ไม่มีฉลาก", + "filter-no-member": "ไม่มีสมาชิก", + "filter-no-assignee": "No assignee", + "filter-no-custom-fields": "No Custom Fields", + "filter-show-archive": "Show archived lists", + "filter-hide-empty": "Hide empty lists", + "filter-on": "กรองบน", + "filter-on-desc": "คุณกำลังกรองการ์ดในบอร์ดนี้ คลิกที่นี่เพื่อแก้ไขตัวกรอง", + "filter-to-selection": "กรองตัวเลือก", + "advanced-filter-label": "Advanced Filter", + "advanced-filter-description": "Advanced Filter allows to write a string containing following operators: == != <= >= && || ( ) A space is used as a separator between the Operators. You can filter for all Custom Fields by typing their names and values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need to encapsulate them into single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) to be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally all operators are interpreted from left to right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i", + "fullname": "ชื่อ นามสกุล", + "header-logo-title": "ย้อนกลับไปที่หน้าบอร์ดของคุณ", + "hide-system-messages": "ซ่อนข้อความของระบบ", + "headerBarCreateBoardPopup-title": "สร้างบอร์ด", + "home": "หน้าหลัก", + "import": "นำเข้า", + "link": "Link", + "import-board": "import board", + "import-board-c": "Import board", + "import-board-title-trello": "นำเข้าบอร์ดจาก Trello", + "import-board-title-wekan": "Import board from previous export", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "From Trello", + "from-wekan": "From previous export", + "from-csv": "From CSV/TSV", + "import-board-instruction-trello": "ใน Trello ของคุณให้ไปที่ 'Menu' และไปที่ More -> Print and Export -> Export JSON และคัดลอกข้อความจากนั้น", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "In your board, go to 'Menu', then 'Export board', and copy the text in the downloaded file.", + "import-board-instruction-about-errors": "If you get errors when importing board, sometimes importing still works, and board is at All Boards page.", + "import-json-placeholder": "วางข้อมูล JSON ที่ถูกต้องของคุณที่นี่", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "แผนที่สมาชิก", + "import-members-map": "Your imported board has some members. Please map the members you want to import to your users", + "import-show-user-mapping": "Review การทำแผนที่สมาชิก", + "import-user-select": "Pick your existing user you want to use as this member", + "importMapMembersAddPopup-title": "Select member", + "info": "Version", + "initials": "ชื่อย่อ", + "invalid-date": "วันที่ไม่ถูกต้อง", + "invalid-time": "Invalid time", + "invalid-user": "Invalid user", + "joined": "เข้าร่วม", + "just-invited": "คุณพึ่งได้รับเชิญบอร์ดนี้", + "keyboard-shortcuts": "แป้นพิมพ์ลัด", + "label-create": "สร้างป้ายกำกับ", + "label-default": "ป้าย %s (ค่าเริ่มต้น)", + "label-delete-pop": "ไม่มีการยกเลิกการทำนี้ ลบป้ายกำกับนี้จากทุกการ์ดและล้างประวัติทิ้ง", + "labels": "ป้ายกำกับ", + "language": "ภาษา", + "last-admin-desc": "คุณไม่สามารถเปลี่ยนบทบาทเพราะต้องมีผู้ดูแลระบบหนึ่งคนเป็นอย่างน้อย", + "leave-board": "ทิ้งบอร์ด", + "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.", + "leaveBoardPopup-title": "Leave Board ?", + "link-card": "เชื่อมโยงไปยังการ์ดใบนี้", + "list-archive-cards": "Move all cards in this list to Archive", + "list-archive-cards-pop": "This will remove all the cards in this list from the board. To view cards in Archive and bring them back to the board, click “Menu” > “Archive”.", + "list-move-cards": "ย้ายการ์ดทั้งหมดในรายการนี้", + "list-select-cards": "เลือกการ์ดทั้งหมดในรายการนี้", + "set-color-list": "Set Color", + "listActionPopup-title": "รายการการดำเนิน", + "swimlaneActionPopup-title": "Swimlane Actions", + "swimlaneAddPopup-title": "Add a Swimlane below", + "listImportCardPopup-title": "นำเข้าการ์ด Trello", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "เพิ่มเติม", + "link-list": "Link to this list", + "list-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the list. There is no undo.", + "list-delete-suggest-archive": "You can move a list to Archive to remove it from the board and preserve the activity.", + "lists": "รายการ", + "swimlanes": "Swimlanes", + "log-out": "ออกจากระบบ", + "log-in": "เข้าสู่ระบบ", + "loginPopup-title": "เข้าสู่ระบบ", + "memberMenuPopup-title": "การตั้งค่า", + "members": "สมาชิก", + "menu": "เมนู", + "move-selection": "ย้ายตัวเลือก", + "moveCardPopup-title": "ย้ายการ์ด", + "moveCardToBottom-title": "ย้ายไปล่าง", + "moveCardToTop-title": "ย้ายไปบน", + "moveSelectionPopup-title": "เลือกย้าย", + "multi-selection": "เลือกหลายรายการ", + "multi-selection-on": "เลือกหลายรายการเมื่อ", + "muted": "ไม่ออกเสียง", + "muted-info": "คุณจะไม่ได้รับแจ้งการเปลี่ยนแปลงใด ๆ ในบอร์ดนี้", + "my-boards": "บอร์ดของฉัน", + "name": "ชื่อ", + "no-archived-cards": "No cards in Archive.", + "no-archived-lists": "No lists in Archive.", + "no-archived-swimlanes": "No swimlanes in Archive.", + "no-results": "ไม่มีข้อมูล", + "normal": "ธรรมดา", + "normal-desc": "สามารถดูและแก้ไขการ์ดได้ แต่ไม่สามารถเปลี่ยนการตั้งค่าได้", + "not-accepted-yet": "ยังไม่ยอมรับคำเชิญ", + "notify-participate": "ได้รับการแจ้งปรับปรุงการ์ดอื่น ๆ ที่คุณมีส่วนร่วมในฐานะผู้สร้างหรือสมาชิก", + "notify-watch": "ได้รับการแจ้งปรับปรุงบอร์ด รายการหรือการ์ดที่คุณเฝ้าติดตาม", + "optional": "ไม่จำเป็น", + "or": "หรือ", + "page-maybe-private": "หน้านี้อาจจะเป็นส่วนตัว. คุณอาจจะสามารถดูจาก logging in.", + "page-not-found": "ไม่พบหน้า", + "password": "รหัสผ่าน", + "paste-or-dragdrop": "วาง หรือลากและวาง ไฟล์ภาพ(ภาพเท่านั้น)", + "participating": "Participating", + "preview": "ภาพตัวอย่าง", + "previewAttachedImagePopup-title": "ตัวอย่าง", + "previewClipboardImagePopup-title": "ตัวอย่าง", + "private": "ส่วนตัว", + "private-desc": "บอร์ดนี้เป็นส่วนตัว. คนที่ถูกเพิ่มเข้าในบอร์ดเท่านั้นที่สามารถดูและแก้ไขได้", + "profile": "โปรไฟล์", + "public": "สาธารณะ", + "public-desc": "บอร์ดนี้เป็นสาธารณะ. ทุกคนสามารถเข้าถึงได้ผ่าน url นี้ แต่สามารถแก้ไขได้เฉพาะผู้ที่ถูกเพิ่มเข้าไปในการ์ดเท่านั้น", + "quick-access-description": "เพิ่มไว้ในนี้เพื่อเป็นทางลัด", + "remove-cover": "ลบหน้าปก", + "remove-from-board": "ลบจากบอร์ด", + "remove-label": "Remove Label", + "listDeletePopup-title": "Delete List ?", + "remove-member": "ลบสมาชิก", + "remove-member-from-card": "ลบจากการ์ด", + "remove-member-pop": "ลบ __name__ (__username__) จาก __boardTitle__ หรือไม่ สมาชิกจะถูกลบออกจากการ์ดทั้งหมดบนบอร์ดนี้ และพวกเขาจะได้รับการแจ้งเตือน", + "removeMemberPopup-title": "ลบสมาชิกหรือไม่", + "rename": "ตั้งชื่อใหม่", + "rename-board": "ตั้งชื่อบอร์ดใหม่", + "restore": "กู้คืน", + "save": "บันทึก", + "search": "ค้นหา", + "rules": "Rules", + "search-cards": "Search from card/list titles, descriptions and custom fields on this board", + "search-example": "Text to search for?", + "select-color": "Select Color", + "set-wip-limit-value": "Set a limit for the maximum number of tasks in this list", + "setWipLimitPopup-title": "Set WIP Limit", + "shortcut-assign-self": "กำหนดตัวเองให้การ์ดนี้", + "shortcut-autocomplete-emoji": "เติม emoji อัตโนมัติ", + "shortcut-autocomplete-members": "เติมสมาชิกอัตโนมัติ", + "shortcut-clear-filters": "ล้างตัวกรองทั้งหมด", + "shortcut-close-dialog": "ปิดหน้าต่าง", + "shortcut-filter-my-cards": "กรองการ์ดฉัน", + "shortcut-show-shortcuts": "นำรายการทางลัดนี้ขึ้น", + "shortcut-toggle-filterbar": "สลับแถบกรองสไลด์ด้้านข้าง", + "shortcut-toggle-sidebar": "สลับโชว์แถบด้านข้าง", + "show-cards-minimum-count": "แสดงจำนวนของการ์ดถ้ารายการมีมากกว่า(เลื่อนกำหนดตัวเลข)", + "sidebar-open": "เปิดแถบเลื่อน", + "sidebar-close": "ปิดแถบเลื่อน", + "signupPopup-title": "สร้างบัญชี", + "star-board-title": "คลิกติดดาวบอร์ดนี้ มันจะแสดงอยู่บนสุดของรายการบอร์ดของคุณ", + "starred-boards": "ติดดาวบอร์ด", + "starred-boards-description": "ติดดาวบอร์ดและแสดงไว้บนสุดของรายการบอร์ด", + "subscribe": "บอกรับสมาชิก", + "team": "ทีม", + "this-board": "บอร์ดนี้", + "this-card": "การ์ดนี้", + "spent-time-hours": "Spent time (hours)", + "overtime-hours": "Overtime (hours)", + "overtime": "Overtime", + "has-overtime-cards": "Has overtime cards", + "has-spenttime-cards": "Has spent time cards", + "time": "เวลา", + "title": "หัวข้อ", + "tracking": "ติดตาม", + "tracking-info": "คุณจะได้รับแจ้งการเปลี่ยนแปลงใด ๆ กับการ์ดที่คุณมีส่วนร่วมในฐานะผู้สร้างหรือสมาชิก", + "type": "Type", + "unassign-member": "ยกเลิกสมาชิก", + "unsaved-description": "คุณมีคำอธิบายที่ไม่ได้บันทึก", + "unwatch": "เลิกเฝ้าดู", + "upload": "อัพโหลด", + "upload-avatar": "อัพโหลดรูปภาพ", + "uploaded-avatar": "ภาพอัพโหลดแล้ว", + "username": "ชื่อผู้ใช้งาน", + "view-it": "ดู", + "warn-list-archived": "warning: this card is in an list at Archive", + "watch": "เฝ้าดู", + "watching": "เฝ้าดู", + "watching-info": "คุณจะได้รับแจ้งหากมีการเปลี่ยนแปลงใด ๆ ในบอร์ดนี้", + "welcome-board": "ยินดีต้อนรับสู่บอร์ด", + "welcome-swimlane": "Milestone 1", + "welcome-list1": "พื้นฐาน", + "welcome-list2": "ก้าวหน้า", + "card-templates-swimlane": "Card Templates", + "list-templates-swimlane": "List Templates", + "board-templates-swimlane": "Board Templates", + "what-to-do": "ต้องการทำอะไร", + "wipLimitErrorPopup-title": "Invalid WIP Limit", + "wipLimitErrorPopup-dialog-pt1": "The number of tasks in this list is higher than the WIP limit you've defined.", + "wipLimitErrorPopup-dialog-pt2": "Please move some tasks out of this list, or set a higher WIP limit.", + "admin-panel": "Admin Panel", + "settings": "Settings", + "people": "People", + "registration": "Registration", + "disable-self-registration": "Disable Self-Registration", + "invite": "Invite", + "invite-people": "Invite People", + "to-boards": "To board(s)", + "email-addresses": "Email Addresses", + "smtp-host-description": "The address of the SMTP server that handles your emails.", + "smtp-port-description": "The port your SMTP server uses for outgoing emails.", + "smtp-tls-description": "Enable TLS support for SMTP server", + "smtp-host": "SMTP Host", + "smtp-port": "SMTP Port", + "smtp-username": "ชื่อผู้ใช้งาน", + "smtp-password": "รหัสผ่าน", + "smtp-tls": "TLS support", + "send-from": "From", + "send-smtp-test": "Send a test email to yourself", + "invitation-code": "Invitation Code", + "email-invite-register-subject": "__inviter__ ส่งคำเชิญให้คุณ", + "email-invite-register-text": "Dear __user__,\n\n__inviter__ invites you to kanban board for collaborations.\n\nPlease follow the link below:\n__url__\n\nAnd your invitation code is: __icode__\n\nThanks.", + "email-smtp-test-subject": "SMTP Test Email", + "email-smtp-test-text": "You have successfully sent an email", + "error-invitation-code-not-exist": "Invitation code doesn't exist", + "error-notAuthorized": "You are not authorized to view this page.", + "webhook-title": "Webhook Name", + "webhook-token": "Token (Optional for Authentication)", + "outgoing-webhooks": "Outgoing Webhooks", + "bidirectional-webhooks": "Two-Way Webhooks", + "outgoingWebhooksPopup-title": "Outgoing Webhooks", + "boardCardTitlePopup-title": "Card Title Filter", + "disable-webhook": "Disable This Webhook", + "global-webhook": "Global Webhooks", + "new-outgoing-webhook": "New Outgoing Webhook", + "no-name": "(Unknown)", + "Node_version": "Node version", + "Meteor_version": "Meteor version", + "MongoDB_version": "MongoDB version", + "MongoDB_storage_engine": "MongoDB storage engine", + "MongoDB_Oplog_enabled": "MongoDB Oplog enabled", + "OS_Arch": "OS Arch", + "OS_Cpus": "OS CPU Count", + "OS_Freemem": "OS Free Memory", + "OS_Loadavg": "OS Load Average", + "OS_Platform": "OS Platform", + "OS_Release": "OS Release", + "OS_Totalmem": "OS Total Memory", + "OS_Type": "OS Type", + "OS_Uptime": "OS Uptime", + "days": "days", + "hours": "hours", + "minutes": "minutes", + "seconds": "seconds", + "show-field-on-card": "Show this field on card", + "automatically-field-on-card": "Auto create field to all cards", + "showLabel-field-on-card": "Show field label on minicard", + "yes": "Yes", + "no": "No", + "accounts": "Accounts", + "accounts-allowEmailChange": "Allow Email Change", + "accounts-allowUserNameChange": "Allow Username Change", + "createdAt": "Created at", + "verified": "Verified", + "active": "Active", + "card-received": "Received", + "card-received-on": "Received on", + "card-end": "End", + "card-end-on": "Ends on", + "editCardReceivedDatePopup-title": "Change received date", + "editCardEndDatePopup-title": "Change end date", + "setCardColorPopup-title": "Set color", + "setCardActionsColorPopup-title": "Choose a color", + "setSwimlaneColorPopup-title": "Choose a color", + "setListColorPopup-title": "Choose a color", + "assigned-by": "Assigned By", + "requested-by": "Requested By", + "board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.", + "delete-board-confirm-popup": "All lists, cards, labels, and activities will be deleted and you won't be able to recover the board contents. There is no undo.", + "boardDeletePopup-title": "Delete Board?", + "delete-board": "Delete Board", + "default-subtasks-board": "Subtasks for __board__ board", + "default": "Default", + "queue": "Queue", + "subtask-settings": "Subtasks Settings", + "card-settings": "Card Settings", + "boardSubtaskSettingsPopup-title": "Board Subtasks Settings", + "boardCardSettingsPopup-title": "Card Settings", + "deposit-subtasks-board": "Deposit subtasks to this board:", + "deposit-subtasks-list": "Landing list for subtasks deposited here:", + "show-parent-in-minicard": "Show parent in minicard:", + "prefix-with-full-path": "Prefix with full path", + "prefix-with-parent": "Prefix with parent", + "subtext-with-full-path": "Subtext with full path", + "subtext-with-parent": "Subtext with parent", + "change-card-parent": "Change card's parent", + "parent-card": "Parent card", + "source-board": "Source board", + "no-parent": "Don't show parent", + "activity-added-label": "added label '%s' to %s", + "activity-removed-label": "removed label '%s' from %s", + "activity-delete-attach": "deleted an attachment from %s", + "activity-added-label-card": "added label '%s'", + "activity-removed-label-card": "removed label '%s'", + "activity-delete-attach-card": "deleted an attachment", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "Rule", + "r-add-trigger": "Add trigger", + "r-add-action": "Add action", + "r-board-rules": "Board rules", + "r-add-rule": "Add rule", + "r-view-rule": "View rule", + "r-delete-rule": "Delete rule", + "r-new-rule-name": "New rule title", + "r-no-rules": "No rules", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "When a card", + "r-is": "is", + "r-is-moved": "is moved", + "r-added-to": "Added to", + "r-removed-from": "Removed from", + "r-the-board": "the board", + "r-list": "list", + "set-filter": "Set Filter", + "r-moved-to": "Moved to", + "r-moved-from": "Moved from", + "r-archived": "Moved to Archive", + "r-unarchived": "Restored from Archive", + "r-a-card": "a card", + "r-when-a-label-is": "When a label is", + "r-when-the-label": "When the label", + "r-list-name": "list name", + "r-when-a-member": "When a member is", + "r-when-the-member": "When the member", + "r-name": "name", + "r-when-a-attach": "When an attachment", + "r-when-a-checklist": "When a checklist is", + "r-when-the-checklist": "When the checklist", + "r-completed": "Completed", + "r-made-incomplete": "Made incomplete", + "r-when-a-item": "When a checklist item is", + "r-when-the-item": "When the checklist item", + "r-checked": "Checked", + "r-unchecked": "Unchecked", + "r-move-card-to": "Move card to", + "r-top-of": "Top of", + "r-bottom-of": "Bottom of", + "r-its-list": "its list", + "r-archive": "Move to Archive", + "r-unarchive": "Restore from Archive", + "r-card": "card", + "r-add": "เพิ่ม", + "r-remove": "Remove", + "r-label": "label", + "r-member": "member", + "r-remove-all": "Remove all members from the card", + "r-set-color": "Set color to", + "r-checklist": "checklist", + "r-check-all": "Check all", + "r-uncheck-all": "Uncheck all", + "r-items-check": "items of checklist", + "r-check": "Check", + "r-uncheck": "Uncheck", + "r-item": "item", + "r-of-checklist": "of checklist", + "r-send-email": "Send an email", + "r-to": "to", + "r-of": "of", + "r-subject": "subject", + "r-rule-details": "Rule details", + "r-d-move-to-top-gen": "Move card to top of its list", + "r-d-move-to-top-spec": "Move card to top of list", + "r-d-move-to-bottom-gen": "Move card to bottom of its list", + "r-d-move-to-bottom-spec": "Move card to bottom of list", + "r-d-send-email": "Send email", + "r-d-send-email-to": "to", + "r-d-send-email-subject": "subject", + "r-d-send-email-message": "message", + "r-d-archive": "Move card to Archive", + "r-d-unarchive": "Restore card from Archive", + "r-d-add-label": "Add label", + "r-d-remove-label": "Remove label", + "r-create-card": "Create new card", + "r-in-list": "in list", + "r-in-swimlane": "in swimlane", + "r-d-add-member": "Add member", + "r-d-remove-member": "Remove member", + "r-d-remove-all-member": "Remove all member", + "r-d-check-all": "Check all items of a list", + "r-d-uncheck-all": "Uncheck all items of a list", + "r-d-check-one": "Check item", + "r-d-uncheck-one": "Uncheck item", + "r-d-check-of-list": "of checklist", + "r-d-add-checklist": "Add checklist", + "r-d-remove-checklist": "Remove checklist", + "r-by": "by", + "r-add-checklist": "Add checklist", + "r-with-items": "with items", + "r-items-list": "item1,item2,item3", + "r-add-swimlane": "Add swimlane", + "r-swimlane-name": "swimlane name", + "r-board-note": "Note: leave a field empty to match every possible value.", + "r-checklist-note": "Note: checklist's items have to be written as comma separated values.", + "r-when-a-card-is-moved": "When a card is moved to another list", + "r-set": "Set", + "r-update": "Update", + "r-datefield": "date field", + "r-df-start-at": "start", + "r-df-due-at": "due", + "r-df-end-at": "end", + "r-df-received-at": "received", + "r-to-current-datetime": "to current date/time", + "r-remove-value-from": "Remove value from", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Authentication method", + "authentication-type": "Authentication type", + "custom-product-name": "Custom Product Name", + "layout": "Layout", + "hide-logo": "Hide Logo", + "add-custom-html-after-body-start": "Add Custom HTML after start", + "add-custom-html-before-body-end": "Add Custom HTML before end", + "error-undefined": "Something went wrong", + "error-ldap-login": "An error occurred while trying to login", + "display-authentication-method": "Display Authentication Method", + "default-authentication-method": "Default Authentication Method", + "duplicate-board": "Duplicate Board", + "people-number": "The number of people is:", + "swimlaneDeletePopup-title": "Delete Swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Restore all", + "delete-all": "Delete all", + "loading": "Loading, please wait.", + "previous_as": "last time was", + "act-a-dueAt": "modified due time to \nWhen: __timeValue__\nWhere: __card__\n previous due was __timeOldValue__", + "act-a-endAt": "modified ending time to __timeValue__ from (__timeOldValue__)", + "act-a-startAt": "modified starting time to __timeValue__ from (__timeOldValue__)", + "act-a-receivedAt": "modified received time to __timeValue__ from (__timeOldValue__)", + "a-dueAt": "modified due time to be", + "a-endAt": "modified ending time to be", + "a-startAt": "modified starting time to be", + "a-receivedAt": "modified received time to be", + "almostdue": "current due time %s is approaching", + "pastdue": "current due time %s is past", + "duenow": "current due time %s is today", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", + "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", + "act-duenow": "was reminding the current due (__timeValue__) of __card__ is now", + "act-atUserComment": "You were mentioned in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Are you sure you want to delete this account? There is no undo.", + "accounts-allowUserDelete": "Allow users to self delete their account", + "hide-minicard-label-text": "Hide minicard label text", + "show-desktop-drag-handles": "Show desktop drag handles", + "assignee": "Assignee", + "cardAssigneesPopup-title": "Assignee", + "addmore-detail": "Add a more detailed description", + "show-on-card": "Show on Card", + "new": "New", + "editUserPopup-title": "Edit User", + "newUserPopup-title": "New User", + "notifications": "Notifications", + "view-all": "View All", + "filter-by-unread": "Filter by Unread", + "mark-all-as-read": "Mark all as read", + "remove-all-read": "Remove all read", + "allow-rename": "Allow Rename", + "allowRenamePopup-title": "Allow Rename", + "start-day-of-week": "Set day of the week start", + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archived", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/tr.i18n.json b/i18n/tr.i18n.json new file mode 100644 index 0000000..9a15bd8 --- /dev/null +++ b/i18n/tr.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Kabul Et", + "act-activity-notify": "Etkinlik Bildirimi", + "act-addAttachment": "__attachment__ eklentisi, __swimlane__ kulvarındaki __list__ listesindeki __board__ panosundaki __card__ kartına eklendi.", + "act-deleteAttachment": "__attachment__ eklentisi, __swimlane__ kulvarındaki __list__ listesindeki __board__ panosundaki __card__ kartından silindi.", + "act-addSubtask": "added subtask __subtask__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addedLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removedLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklist": "added checklist __checklist__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklistItem": "added checklist item __checklistItem__ to checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklist": "removed checklist __checklist__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklistItem": "removed checklist item __checklistItem__ from checklist __checkList__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-checkedItem": "checked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncheckedItem": "unchecked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-completeChecklist": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncompleteChecklist": "uncompleted checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addComment": "commented on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-editComment": "edited comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteComment": "deleted comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createBoard": "__board__ panosu oluşturuldu", + "act-createSwimlane": "__board__ panosuna __swimlane__ kulvarı oluşturuldu", + "act-createCard": "__board__ panosunun __swimlane__ kulvarının __list__ listesinin __card__ kartı oluşturuldu", + "act-createCustomField": "created custom field __customField__ at board __board__", + "act-deleteCustomField": "deleted custom field __customField__ at board __board__", + "act-setCustomField": "edited custom field __customField__: __customFieldValue__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createList": "added list __list__ to board __board__", + "act-addBoardMember": "__board__ panosuna __member__ kullanıcısı eklendi", + "act-archivedBoard": "__board__ panosu Arşiv'e taşındı", + "act-archivedCard": "Card __card__ at list __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedList": "List __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedSwimlane": "Swimlane __swimlane__ at board __board__ moved to Archive", + "act-importBoard": "__board__ panosu içeriye aktarıldı", + "act-importCard": "imported card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-importList": "imported list __list__ to swimlane __swimlane__ at board __board__", + "act-joinMember": "added member __member__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-moveCard": "moved card __card__ at board __board__ from list __oldList__ at swimlane __oldSwimlane__ to list __list__ at swimlane __swimlane__", + "act-moveCardToOtherBoard": "moved card __card__ from list __oldList__ at swimlane __oldSwimlane__ at board __oldBoard__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-removeBoardMember": "removed member __member__ from board __board__", + "act-restoredCard": "restored card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-unjoinMember": "removed member __member__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "İşlemler", + "activities": "Etkinlikler", + "activity": "Etkinlik", + "activity-added": "%s içine %s ekledi", + "activity-archived": "%s arşive taşındı", + "activity-attached": "%s içine %s ekledi", + "activity-created": "%s öğesini oluşturdu", + "activity-customfield-created": "%s adlı özel alan yaratıldı", + "activity-excluded": "%s içinden %s çıkarttı", + "activity-imported": "%s kaynağından %s öğesini %s öğesinin içine taşıdı ", + "activity-imported-board": "%s i %s içinden aktardı", + "activity-joined": "şuna katıldı: %s", + "activity-moved": "%s i %s içinden %s içine taşıdı", + "activity-on": "%s", + "activity-removed": "%s i %s ten kaldırdı", + "activity-sent": "%s i %s e gönderdi", + "activity-unjoined": "%s içinden ayrıldı", + "activity-subtask-added": "Alt-görev %s'e eklendi", + "activity-checked-item": "checked %s in checklist %s of %s", + "activity-unchecked-item": "unchecked %s in checklist %s of %s", + "activity-checklist-added": "%s içine yapılacak listesi ekledi", + "activity-checklist-removed": "%s Tarafından yapılacaklar listesi silinmiştir", + "activity-checklist-completed": "completed checklist %s of %s", + "activity-checklist-uncompleted": "uncompleted the checklist %s of %s", + "activity-checklist-item-added": "%s içinde %s yapılacak listesine öğe ekledi", + "activity-checklist-item-removed": "removed a checklist item from '%s' in %s", + "add": "Ekle", + "activity-checked-item-card": "checked %s in checklist %s", + "activity-unchecked-item-card": "unchecked %s in checklist %s", + "activity-checklist-completed-card": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "activity-checklist-uncompleted-card": "uncompleted the checklist %s", + "activity-editComment": "%s yorum düzenlendi", + "activity-deleteComment": "deleted comment %s", + "add-attachment": "Ek Ekle", + "add-board": "Pano Ekle", + "add-card": "Kart Ekle", + "add-swimlane": "Kulvar Ekle", + "add-subtask": "Alt Görev Ekle", + "add-checklist": "Yapılacak Listesi Ekle", + "add-checklist-item": "Yapılacak listesine yeni bir öğe ekle", + "add-cover": "Kapak resmi ekle", + "add-label": "Etiket Ekle", + "add-list": "Liste Ekle", + "add-members": "Üye ekle", + "added": "Eklendi", + "addMemberPopup-title": "Üyeler", + "admin": "Yönetici", + "admin-desc": "Kartları görüntüleyebilir ve düzenleyebilir, üyeleri çıkarabilir ve pano ayarlarını değiştirebilir.", + "admin-announcement": "Duyuru", + "admin-announcement-active": "Tüm Sistemde Etkin Duyuru", + "admin-announcement-title": "Yöneticiden Duyuru", + "all-boards": "Tüm panolar", + "and-n-other-card": "Ve __count__ diğer kart", + "and-n-other-card_plural": "Ve __count__ diğer kart", + "apply": "Uygula", + "app-is-offline": "Yükleniyor lütfen bekleyin. Sayfayı yenilemek veri kaybına neden olur. Yükleme çalışmıyorsa, lütfen sunucunun durmadığını kontrol edin.", + "archive": "Arşive Taşı", + "archive-all": "Hepsini Arşive Taşı", + "archive-board": "Panoyu Arşive Taşı", + "archive-card": "Kartı Arşive Taşı", + "archive-list": "Listeyi Arşive Taşı", + "archive-swimlane": "Kulvarı Arşive Taşı", + "archive-selection": "Seçimi arşive taşı", + "archiveBoardPopup-title": "Panoyu arşive taşı?", + "archived-items": "Arşivle", + "archived-boards": "Panolar Arşivde", + "restore-board": "Panoyu Geri Getir", + "no-archived-boards": "Arşivde Pano Yok.", + "archives": "Arşivle", + "template": "Şablon", + "templates": "Şablonlar", + "assign-member": "Üye ata", + "attached": "dosya(sı) eklendi", + "attachment": "Ek Dosya", + "attachment-delete-pop": "Ek silme işlemi kalıcıdır ve geri alınamaz.", + "attachmentDeletePopup-title": "Ek Silinsin mi?", + "attachments": "Ekler", + "auto-watch": "Oluşan yeni panoları kendiliğinden izlemeye al", + "avatar-too-big": "Avatar boyutu çok büyük (En fazla 70KB olabilir)", + "back": "Geri", + "board-change-color": "Renk değiştir", + "board-nb-stars": "%s yıldız", + "board-not-found": "Pano bulunamadı", + "board-private-info": "Bu pano gizli olacak.", + "board-public-info": "Bu pano genele açılacaktır.", + "boardChangeColorPopup-title": "Pano arkaplan rengini değiştir", + "boardChangeTitlePopup-title": "Panonun Adını Değiştir", + "boardChangeVisibilityPopup-title": "Görünebilirliği Değiştir", + "boardChangeWatchPopup-title": "İzleme Durumunu Değiştir", + "boardMenuPopup-title": "Pano Ayarları", + "boardChangeViewPopup-title": "Pano Görünümü", + "boards": "Panolar", + "board-view": "Pano Görünümü", + "board-view-cal": "Takvim", + "board-view-swimlanes": "Kulvarlar", + "board-view-collapse": "Collapse", + "board-view-lists": "Listeler", + "bucket-example": "Örn: \"Marketten Alacaklarım\"", + "cancel": "İptal", + "card-archived": "Bu kart arşive taşındı.", + "board-archived": "Bu pano arşive taşındı.", + "card-comments-title": "Bu kartta %s yorum var.", + "card-delete-notice": "Silme işlemi kalıcıdır. Bu kartla ilişkili tüm eylemleri kaybedersiniz.", + "card-delete-pop": "Son hareketler alanındaki tüm veriler silinecek, ayrıca bu kartı yeniden açamayacaksın. Bu işlemin geri dönüşü yok.", + "card-delete-suggest-archive": "Bir kartı tahtadan çıkarmak ve etkinliği korumak için Arşive taşıyabilirsiniz.", + "card-due": "Bitiş", + "card-due-on": "Bitiş tarihi:", + "card-spent": "Harcanan Zaman", + "card-edit-attachments": "Ek dosyasını düzenle", + "card-edit-custom-fields": "Özel alanları düzenle", + "card-edit-labels": "Etiketleri düzenle", + "card-edit-members": "Üyeleri düzenle", + "card-labels-title": "Bu kart için etiketleri düzenle", + "card-members-title": "Karta pano içindeki üyeleri ekler veya çıkartır.", + "card-start": "Başlama", + "card-start-on": "Başlama tarihi:", + "cardAttachmentsPopup-title": "Eklenme", + "cardCustomField-datePopup-title": "Tarihi değiştir", + "cardCustomFieldsPopup-title": "Özel alanları düzenle", + "cardStartVotingPopup-title": "Start a vote", + "positiveVoteMembersPopup-title": "Proponents", + "negativeVoteMembersPopup-title": "Opponents", + "card-edit-voting": "Edit voting", + "editVoteEndDatePopup-title": "Change vote end date", + "allowNonBoardMembers": "Allow all logged in users", + "vote-question": "Voting question", + "vote-public": "Show who voted what", + "vote-for-it": "for it", + "vote-against": "against", + "deleteVotePopup-title": "Delete vote?", + "vote-delete-pop": "Deleting is permanent. You will lose all actions associated with this vote.", + "cardDeletePopup-title": "Kart Silinsin mi?", + "cardDetailsActionsPopup-title": "Kart işlemleri", + "cardLabelsPopup-title": "Etiketler", + "cardMembersPopup-title": "Üyeler", + "cardMorePopup-title": "Daha", + "cardTemplatePopup-title": "Şablon oluştur", + "cards": "Kartlar", + "cards-count": "Kartlar", + "casSignIn": "CAS ile giriş yapın", + "cardType-card": "Kart", + "cardType-linkedCard": "Bağlantılı kart", + "cardType-linkedBoard": "Bağlantılı Pano", + "change": "Değiştir", + "change-avatar": "Avatar Değiştir", + "change-password": "Parola Değiştir", + "change-permissions": "İzinleri değiştir", + "change-settings": "Ayarları değiştir", + "changeAvatarPopup-title": "Avatar Değiştir", + "changeLanguagePopup-title": "Dil Değiştir", + "changePasswordPopup-title": "Parola Değiştir", + "changePermissionsPopup-title": "Yetkileri Değiştirme", + "changeSettingsPopup-title": "Ayarları değiştir", + "subtasks": "Alt Görevler", + "checklists": "Yapılacak Listeleri", + "click-to-star": "Bu panoyu yıldızlamak için tıkla.", + "click-to-unstar": "Bu panunun yıldızını kaldırmak için tıkla.", + "clipboard": "Yapıştır veya sürükleyip bırak", + "close": "Kapat", + "close-board": "Panoyu kapat", + "close-board-pop": "\n92/5000\nAna başlıktaki “Arşiv” düğmesine tıklayarak tahtayı geri yükleyebilirsiniz.", + "color-black": "siyah", + "color-blue": "mavi", + "color-crimson": "crimson", + "color-darkgreen": "koyu yeşil", + "color-gold": "altın rengi", + "color-gray": "gri", + "color-green": "yeşil", + "color-indigo": "çivit", + "color-lime": "misket limonu", + "color-magenta": "magenta", + "color-mistyrose": "mistyrose", + "color-navy": "navy", + "color-orange": "turuncu", + "color-paleturquoise": "paleturquoise", + "color-peachpuff": "peachpuff", + "color-pink": "pembe", + "color-plum": "plum", + "color-purple": "mor", + "color-red": "kırmızı", + "color-saddlebrown": "saddlebrown", + "color-silver": "gümüş rengi", + "color-sky": "açık mavi", + "color-slateblue": "slateblue", + "color-white": "beyaz", + "color-yellow": "sarı", + "unset-color": "Unset", + "comment": "Yorum", + "comment-placeholder": "Yorum Yaz", + "comment-only": "Sadece yorum", + "comment-only-desc": "Sadece kartlara yorum yazabilir.", + "no-comments": "Yorum Yok", + "no-comments-desc": "Yorumlar ve aktiviteleri göremiyorum.", + "worker": "Worker", + "worker-desc": "Can only move cards, assign itself to card and comment.", + "computer": "Bilgisayar", + "confirm-subtask-delete-dialog": "Alt görevi silmek istediğinizden emin misiniz?", + "confirm-checklist-delete-dialog": "Kontrol listesini silmek istediğinden emin misin?", + "copy-card-link-to-clipboard": "Kartın linkini kopyala", + "linkCardPopup-title": "Bağlantı kartı", + "searchElementPopup-title": "Arama", + "copyCardPopup-title": "Kartı Kopyala", + "copyChecklistToManyCardsPopup-title": "Yapılacaklar Listesi şemasını birden çok karta kopyala", + "copyChecklistToManyCardsPopup-instructions": "Hedef Kart Başlıkları ve Açıklamaları bu JSON formatında", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"İlk kart başlığı\", \"description\":\"İlk kart açıklaması\"}, {\"title\":\"İkinci kart başlığı\",\"description\":\"İkinci kart açıklaması\"},{\"title\":\"Son kart başlığı\",\"description\":\"Son kart açıklaması\"} ]", + "create": "Oluştur", + "createBoardPopup-title": "Pano Oluşturma", + "chooseBoardSourcePopup-title": "Panoyu içe aktar", + "createLabelPopup-title": "Etiket Oluşturma", + "createCustomField": "Alanı yarat", + "createCustomFieldPopup-title": "Alanı yarat", + "current": "mevcut", + "custom-field-delete-pop": "Bunun geri dönüşü yoktur. Bu özel alan tüm kartlardan kaldırılıp tarihçesi yokedilecektir.", + "custom-field-checkbox": "İşaret kutusu", + "custom-field-currency": "Para birimi", + "custom-field-currency-option": "Para birimi kodu", + "custom-field-date": "Tarih", + "custom-field-dropdown": "Açılır liste", + "custom-field-dropdown-none": "(hiçbiri)", + "custom-field-dropdown-options": "Liste seçenekleri", + "custom-field-dropdown-options-placeholder": "Başka seçenekler eklemek için giriş tuşuna basınız", + "custom-field-dropdown-unknown": "(bilinmeyen)", + "custom-field-number": "Sayı", + "custom-field-text": "Metin", + "custom-fields": "Özel alanlar", + "date": "Tarih", + "decline": "Reddet", + "default-avatar": "Varsayılan avatar", + "delete": "Sil", + "deleteCustomFieldPopup-title": "Özel alan silinsin mi?", + "deleteLabelPopup-title": "Etiket Silinsin mi?", + "description": "Açıklama", + "disambiguateMultiLabelPopup-title": "Etiket işlemini izah et", + "disambiguateMultiMemberPopup-title": "Üye işlemini izah et", + "discard": "At", + "done": "Tamam", + "download": "İndir", + "edit": "Düzenle", + "edit-avatar": "Avatar Değiştir", + "edit-profile": "Profili Düzenle", + "edit-wip-limit": "Devam Eden İş Sınırını Düzenle", + "soft-wip-limit": "Zayıf Devam Eden İş Sınırı", + "editCardStartDatePopup-title": "Başlangıç tarihini değiştir", + "editCardDueDatePopup-title": "Bitiş tarihini değiştir", + "editCustomFieldPopup-title": "Alanı düzenle", + "editCardSpentTimePopup-title": "Harcanan zamanı değiştir", + "editLabelPopup-title": "Etiket Değiştir", + "editNotificationPopup-title": "Bildirimi değiştir", + "editProfilePopup-title": "Profili Düzenle", + "email": "E-posta", + "email-enrollAccount-subject": "Hesabınız __siteName__ üzerinde oluşturuldu", + "email-enrollAccount-text": "Merhaba __user__,\n\nBu servisi kullanmaya başlamak için aşağıdaki linke tıklamalısın:\n\n__url__\n\nTeşekkürler.", + "email-fail": "E-posta gönderimi başarısız", + "email-fail-text": "E-Posta gönderilme çalışırken hata oluştu", + "email-invalid": "Geçersiz e-posta", + "email-invite": "E-posta ile davet et", + "email-invite-subject": "__inviter__ size bir davetiye gönderdi", + "email-invite-text": "Sevgili __user__,\n\n__inviter__ seni birlikte çalışmak için \"__board__\" panosuna davet ediyor.\n\nLütfen aşağıdaki linke tıkla:\n\n__url__\n\nTeşekkürler.", + "email-resetPassword-subject": "__siteName__ üzerinde parolanı sıfırla", + "email-resetPassword-text": "Merhaba __user__,\n\nParolanı sıfırlaman için aşağıdaki linke tıklaman yeterli.\n\n__url__\n\nTeşekkürler.", + "email-sent": "E-posta gönderildi", + "email-verifyEmail-subject": "__siteName__ üzerindeki e-posta adresini doğrulama", + "email-verifyEmail-text": "Merhaba __user__,\n\nHesap e-posta adresini doğrulamak için aşağıdaki linke tıklaman yeterli.\n\n__url__\n\nTeşekkürler.", + "enable-wip-limit": "Devam Eden İş Sınırını Aç", + "error-board-doesNotExist": "Pano bulunamadı", + "error-board-notAdmin": "Bu işlemi yapmak için pano yöneticisi olmalısın.", + "error-board-notAMember": "Bu işlemi yapmak için panoya üye olmalısın.", + "error-json-malformed": "Girilen metin geçerli bir JSON formatında değil", + "error-json-schema": "Girdiğin JSON metni tüm bilgileri doğru biçimde barındırmıyor", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "Liste bulunamadı", + "error-user-doesNotExist": "Kullanıcı bulunamadı", + "error-user-notAllowSelf": "Kendi kendini davet edemezsin", + "error-user-notCreated": "Bu üye oluşturulmadı", + "error-username-taken": "Kullanıcı adı zaten alınmış", + "error-email-taken": "Bu e-posta adresi daha önceden alınmış", + "export-board": "Panoyu dışarı aktar", + "export-board-json": "Panoyu JSON olarak dışarı aktar", + "export-board-csv": "Panoyu CSV olarak dışarı aktar", + "export-board-tsv": "Panoyu TSV olarak dışarı aktar", + "export-board-html": "Panoyu HTML olarak dışarı aktar", + "exportBoardPopup-title": "Panoyu dışarı aktar", + "sort": "Sırala", + "sort-desc": "Click to Sort List", + "list-sort-by": "Sort the List By:", + "list-label-modifiedAt": "Son Erişim Zamanı...", + "list-label-title": "Listenin Adı...", + "list-label-sort": "Your Manual Order", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Filtre", + "filter-cards": "Filter Cards or Lists", + "list-filter-label": "Filter List by Title", + "filter-clear": "Filtreyi temizle", + "filter-no-label": "Etiket yok", + "filter-no-member": "Üyesi olmayan", + "filter-no-assignee": "Atanmayan", + "filter-no-custom-fields": "Hiç özel alan yok", + "filter-show-archive": "Arşivlenmiş listeleri göster", + "filter-hide-empty": "Boş listeleri gizle", + "filter-on": "Filtre aktif", + "filter-on-desc": "Bu panodaki kartları filtreliyorsunuz. Fitreyi düzenlemek için tıklayın.", + "filter-to-selection": "Seçime göre filtreleme yap", + "advanced-filter-label": "Gelişmiş Filtreleme", + "advanced-filter-description": "Advanced Filter allows to write a string containing following operators: == != <= >= && || ( ) A space is used as a separator between the Operators. You can filter for all Custom Fields by typing their names and values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need to encapsulate them into single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) to be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally all operators are interpreted from left to right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i", + "fullname": "Ad Soyad", + "header-logo-title": "Panolar sayfanıza geri dön.", + "hide-system-messages": "Sistem mesajlarını gizle", + "headerBarCreateBoardPopup-title": "Pano Oluşturma", + "home": "Ana Sayfa", + "import": "İçeri aktar", + "link": "Bağlantı", + "import-board": "panoyu içe aktar", + "import-board-c": "Panoyu içe aktar", + "import-board-title-trello": "Trello'dan panoyu içeri aktar", + "import-board-title-wekan": "Import board from previous export", + "import-board-title-csv": "CSV/TSV formatındaki panoyu içeri aktar", + "from-trello": "Trello'dan", + "from-wekan": "From previous export", + "from-csv": "CSV/TSV'den", + "import-board-instruction-trello": "Trello panonuzda 'Menü'ye gidip 'Daha fazlası'na tıklayın, ardından 'Yazdır ve Çıktı Al'ı seçip 'JSON biçiminde çıktı al' diyerek çıkan metni buraya kopyalayın.", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "In your board, go to 'Menu', then 'Export board', and copy the text in the downloaded file.", + "import-board-instruction-about-errors": "If you get errors when importing board, sometimes importing still works, and board is at All Boards page.", + "import-json-placeholder": "Geçerli JSON verisini buraya yapıştırın", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "Üyeleri eşleştirme", + "import-members-map": "Your imported board has some members. Please map the members you want to import to your users", + "import-show-user-mapping": "Üye eşleştirmesini kontrol et", + "import-user-select": "Bu üye olarak kullanmak istediğiniz mevcut kullanıcınızı seçin", + "importMapMembersAddPopup-title": "Üye seç", + "info": "Sürüm", + "initials": "İlk Harfleri", + "invalid-date": "Geçersiz tarih", + "invalid-time": "Geçersiz zaman", + "invalid-user": "Geçersiz kullanıcı", + "joined": "katıldı", + "just-invited": "Bu panoya şimdi davet edildin.", + "keyboard-shortcuts": "Klavye kısayolları", + "label-create": "Etiket Oluşturma", + "label-default": "%s etiket (varsayılan)", + "label-delete-pop": "Bu işlem geri alınamaz. Bu etiket tüm kartlardan kaldırılacaktır ve geçmişi yok edecektir.", + "labels": "Etiketler", + "language": "Dil", + "last-admin-desc": "En az bir yönetici olması gerektiğinden rolleri değiştiremezsiniz.", + "leave-board": "Panodan ayrıl", + "leave-board-pop": "__boardTitle__ panosundan ayrılmak istediğinize emin misiniz? Panodaki tüm kartlardan kaldırılacaksınız.", + "leaveBoardPopup-title": "Panodan ayrılmak istediğinize emin misiniz?", + "link-card": "Bu kartın bağlantısı", + "list-archive-cards": "Bu listedeki tüm kartları arşive taşı", + "list-archive-cards-pop": "This will remove all the cards in this list from the board. To view cards in Archive and bring them back to the board, click “Menu” > “Archive”.", + "list-move-cards": "Listedeki tüm kartları taşı", + "list-select-cards": "Listedeki tüm kartları seç", + "set-color-list": "Rengi Ayarla", + "listActionPopup-title": "Liste İşlemleri", + "swimlaneActionPopup-title": "Kulvar İşlemleri", + "swimlaneAddPopup-title": "Aşağı kulvar ekle", + "listImportCardPopup-title": "Bir Trello kartını içeri aktar", + "listImportCardsTsvPopup-title": "İçe aktar Excel CSV/TSV", + "listMorePopup-title": "Daha fazla", + "link-list": "Listeye doğrudan bağlantı", + "list-delete-pop": "Etkinlik akışınızdaki tüm eylemler geri kurtarılamaz şekilde kaldırılacak. Bu işlem geri alınamaz.", + "list-delete-suggest-archive": "Bir listeyi panodan kaldırmak için Arşive taşıyabilir ve kayıtları saklayabilirsiniz.", + "lists": "Listeler", + "swimlanes": "Kulvarlar", + "log-out": "Oturum Kapat", + "log-in": "Oturum Aç", + "loginPopup-title": "Oturum Aç", + "memberMenuPopup-title": "Üye Ayarları", + "members": "Üyeler", + "menu": "Menü", + "move-selection": "Seçimi taşı", + "moveCardPopup-title": "Kartı taşı", + "moveCardToBottom-title": "Aşağı taşı", + "moveCardToTop-title": "Yukarı taşı", + "moveSelectionPopup-title": "Seçimi taşı", + "multi-selection": "Çoklu seçim", + "multi-selection-on": "Çoklu seçim açık", + "muted": "Sessiz", + "muted-info": "Bu panodaki hiçbir değişiklik hakkında bildirim almayacaksınız", + "my-boards": "Panolarım", + "name": "Adı", + "no-archived-cards": "Arşivde kart yok", + "no-archived-lists": "Arşivde liste yok", + "no-archived-swimlanes": "Arşivde kulvar yok", + "no-results": "Sonuç yok", + "normal": "Normal", + "normal-desc": "Kartları görüntüleyebilir ve düzenleyebilir. Ayarları değiştiremez.", + "not-accepted-yet": "Davet henüz kabul edilmemiş", + "notify-participate": "Oluşturduğunuz veya üye olduğunuz tüm kartlar hakkında bildirim al", + "notify-watch": "Takip ettiğiniz tüm pano, liste ve kartlar hakkında bildirim al", + "optional": "isteğe bağlı", + "or": "veya", + "page-maybe-private": "Bu sayfa gizli olabilir. Oturum açarak görmeyi deneyin.", + "page-not-found": "Sayfa bulunamadı.", + "password": "Parola", + "paste-or-dragdrop": "Dosya eklemek için yapıştırabilir, veya (eğer resimse) sürükle bırak yapabilirsiniz", + "participating": "Katılımcılar", + "preview": "Önizleme", + "previewAttachedImagePopup-title": "Önizleme", + "previewClipboardImagePopup-title": "Önizleme", + "private": "Gizli", + "private-desc": "Bu pano gizli. Sadece panoya ekli kişiler görüntüleyebilir ve düzenleyebilir.", + "profile": "Kullanıcı Sayfası", + "public": "Genel", + "public-desc": "Bu pano genel bir panodur. Bağlantıya sahip olan herkes panoyu görüntüleyebilir, ayrıca panonuz Google gibi arama motorlarında görünür. Panoyu, sadece panoya eklenen kişiler düzenleyebilir.", + "quick-access-description": "Yıldızladığınız panolar burada gözükür", + "remove-cover": "Kapak Resmini Kaldır", + "remove-from-board": "Panodan Kaldır", + "remove-label": "Etiketi Kaldır", + "listDeletePopup-title": "Liste silinsin mi?", + "remove-member": "Üyeyi Çıkar", + "remove-member-from-card": "Karttan Çıkar", + "remove-member-pop": "__boardTitle__ panosundan __name__ (__username__) çıkarılsın mı? Üye, bu panodaki tüm kartlardan çıkarılacak. Panodan çıkarıldığı üyeye bildirilecektir.", + "removeMemberPopup-title": "Üye çıkarılsın mı?", + "rename": "Yeniden adlandır", + "rename-board": "Panonun Adını Değiştir", + "restore": "Geri Getir", + "save": "Kaydet", + "search": "Arama", + "rules": "Kurallar", + "search-cards": "Bu panodaki kart / liste başlıkları, açıklamalar ve özel alanlarda arama yapın", + "search-example": "Aranılacak metin?", + "select-color": "Renk Seç", + "set-wip-limit-value": "Bu listedeki en fazla öğe sayısı için bir sınır belirleyin", + "setWipLimitPopup-title": "Devam Eden İş Sınırı Belirle", + "shortcut-assign-self": "Kendini karta ata", + "shortcut-autocomplete-emoji": "Emojileri otomatik tamamla", + "shortcut-autocomplete-members": "Üye isimlerini otomatik tamamla", + "shortcut-clear-filters": "Tüm filtreleri temizle", + "shortcut-close-dialog": "Diyaloğu kapat", + "shortcut-filter-my-cards": "Kartlarımı filtrele", + "shortcut-show-shortcuts": "Kısayollar listesini getir", + "shortcut-toggle-filterbar": "Filtre kenar çubuğunu aç/kapa", + "shortcut-toggle-sidebar": "Pano kenar çubuğunu aç/kapa", + "show-cards-minimum-count": "Eğer listede şu sayıdan fazla öğe varsa kart sayısını göster: ", + "sidebar-open": "Kenar Çubuğunu Aç", + "sidebar-close": "Kenar Çubuğunu Kapat", + "signupPopup-title": "Bir Hesap Oluştur", + "star-board-title": "Bu panoyu yıldızlamak için tıkla. Yıldızlı panolar pano listesinin en üstünde gösterilir.", + "starred-boards": "Yıldızlı Panolar", + "starred-boards-description": "Yıldızlanmış panolar, pano listesinin en üstünde gösterilir.", + "subscribe": "Abone ol", + "team": "Takım", + "this-board": "bu panoyu", + "this-card": "bu kart", + "spent-time-hours": "Harcanan zaman (saat)", + "overtime-hours": "Aşılan süre (saat)", + "overtime": "Aşılan süre", + "has-overtime-cards": "Süresi aşılmış kartlar", + "has-spenttime-cards": "Zaman geçirilmiş kartlar", + "time": "Zaman", + "title": "Başlık", + "tracking": "Takip", + "tracking-info": "Oluşturduğunuz veya üyesi olduğunuz tüm kartlardaki değişiklikler size bildirim olarak gelecek.", + "type": "Tür", + "unassign-member": "Üyeye atamayı kaldır", + "unsaved-description": "Kaydedilmemiş bir açıklama metnin bulunmakta", + "unwatch": "Takibi bırak", + "upload": "Yükle", + "upload-avatar": "Avatar yükle", + "uploaded-avatar": "Avatar yüklendi", + "username": "Kullanıcı adı", + "view-it": "Görüntüle", + "warn-list-archived": "Uyarı: Bu kart arşivdeki bir listede", + "watch": "Takip Et", + "watching": "Takip Ediliyor", + "watching-info": "Bu pano hakkındaki tüm değişiklikler hakkında bildirim alacaksınız", + "welcome-board": "Hoş Geldiniz Panosu", + "welcome-swimlane": "Kilometre taşı", + "welcome-list1": "Temel", + "welcome-list2": "Gelişmiş", + "card-templates-swimlane": "Kart şablonları", + "list-templates-swimlane": "Liste şablonları", + "board-templates-swimlane": "Pano şablonları", + "what-to-do": "Ne yapmak istiyorsunuz?", + "wipLimitErrorPopup-title": "Geçersiz Devam Eden İş Sınırı", + "wipLimitErrorPopup-dialog-pt1": "Bu listedeki iş sayısı belirlediğiniz sınırdan daha fazla.", + "wipLimitErrorPopup-dialog-pt2": "Lütfen bazı işleri bu listeden başka listeye taşıyın ya da devam eden iş sınırını yükseltin.", + "admin-panel": "Yönetici Paneli", + "settings": "Ayarlar", + "people": "Kullanıcılar", + "registration": "Kayıt", + "disable-self-registration": "Ziyaretçilere kaydı kapa", + "invite": "Davet", + "invite-people": "Kullanıcı davet et", + "to-boards": "Şu pano(lar)a", + "email-addresses": "E-posta adresleri", + "smtp-host-description": "E-posta gönderimi yapan SMTP sunucu adresi", + "smtp-port-description": "E-posta gönderimi yapan SMTP sunucu portu", + "smtp-tls-description": "SMTP mail sunucusu için TLS kriptolama desteği açılsın", + "smtp-host": "SMTP sunucu adresi", + "smtp-port": "SMTP portu", + "smtp-username": "Kullanıcı adı", + "smtp-password": "Parola", + "smtp-tls": "TLS desteği", + "send-from": "Gönderen", + "send-smtp-test": "Kendinize deneme E-Postası gönderin", + "invitation-code": "Davetiye kodu", + "email-invite-register-subject": "__inviter__ size bir davetiye gönderdi", + "email-invite-register-text": "Dear __user__,\n\n__inviter__ invites you to kanban board for collaborations.\n\nPlease follow the link below:\n__url__\n\nAnd your invitation code is: __icode__\n\nThanks.", + "email-smtp-test-subject": "SMTP Test E-postası", + "email-smtp-test-text": "E-Posta başarıyla gönderildi", + "error-invitation-code-not-exist": "Davetiye kodu bulunamadı", + "error-notAuthorized": "Bu sayfayı görmek için yetkiniz yok.", + "webhook-title": "Bağlantı Adı", + "webhook-token": "Belirteç (Kimlik Doğrulama için İsteğe Bağlı)", + "outgoing-webhooks": "Dışarı giden bağlantılar", + "bidirectional-webhooks": "İki yönlü bağlantılar", + "outgoingWebhooksPopup-title": "Dışarı giden bağlantılar", + "boardCardTitlePopup-title": "Kart Başlığı Filtresi", + "disable-webhook": "Bu bağlantıyı devre dışı bırak", + "global-webhook": "Global Bağlantılar", + "new-outgoing-webhook": "Yeni Dışarı Giden Web Bağlantısı", + "no-name": "(Bilinmeyen)", + "Node_version": "Node sürümü", + "Meteor_version": "Meteor sürümü", + "MongoDB_version": "MongoDB sürümü", + "MongoDB_storage_engine": "MongoDB depolama motoru", + "MongoDB_Oplog_enabled": "MongoDB Oplog etkin", + "OS_Arch": "İşletim Sistemi Mimarisi", + "OS_Cpus": "İşletim Sistemi İşlemci Sayısı", + "OS_Freemem": "İşletim Sistemi Kullanılmayan Bellek", + "OS_Loadavg": "İşletim Sistemi Ortalama Yük", + "OS_Platform": "İşletim Sistemi Platformu", + "OS_Release": "İşletim Sistemi Sürümü", + "OS_Totalmem": "İşletim Sistemi Toplam Belleği", + "OS_Type": "İşletim Sistemi Tipi", + "OS_Uptime": "İşletim Sistemi Toplam Açık Kalınan Süre", + "days": "günler", + "hours": "saat", + "minutes": "dakika", + "seconds": "saniye", + "show-field-on-card": "Bu alanı kartta göster", + "automatically-field-on-card": "Tüm kartlara otomatik alan oluştur", + "showLabel-field-on-card": "Minikard üzerindeki alan etiketini göster", + "yes": "Evet", + "no": "Hayır", + "accounts": "Hesaplar", + "accounts-allowEmailChange": "E-posta Değiştirmeye İzin Ver", + "accounts-allowUserNameChange": "Kullanıcı adı değiştirmeye izin ver", + "createdAt": "Oluşturulma tarihi", + "verified": "Doğrulanmış", + "active": "Aktif", + "card-received": "Giriş", + "card-received-on": "Giriş zamanı", + "card-end": "Bitiş", + "card-end-on": "Bitiş zamanı", + "editCardReceivedDatePopup-title": "Giriş tarihini değiştir", + "editCardEndDatePopup-title": "Bitiş tarihini değiştir", + "setCardColorPopup-title": "Renk ayarla", + "setCardActionsColorPopup-title": "Renk seçimi yap", + "setSwimlaneColorPopup-title": "Renk seçimi yap", + "setListColorPopup-title": "Renk seçimi yap", + "assigned-by": "Atamayı yapan", + "requested-by": "Talep Eden", + "board-delete-notice": "Silme kalıcıdır. Bu kartla ilişkili tüm listeleri, kartları ve işlemleri kaybedeceksiniz.", + "delete-board-confirm-popup": "Tüm listeler, kartlar, etiketler ve etkinlikler silinecek ve pano içeriğini kurtaramayacaksınız. Geri dönüş yok.", + "boardDeletePopup-title": "Panoyu Sil?", + "delete-board": "Panoyu Sil", + "default-subtasks-board": "__board__ panosu için alt görevler", + "default": "Varsayılan", + "queue": "Sıra", + "subtask-settings": "Alt Görev ayarları", + "card-settings": "Kart ayarları", + "boardSubtaskSettingsPopup-title": "Pano alt görev ayarları", + "boardCardSettingsPopup-title": "Kart ayarları", + "deposit-subtasks-board": "Alt görevleri bu panoda sakla:", + "deposit-subtasks-list": "Alt görevlerin açılacağı liste:", + "show-parent-in-minicard": "Mini kart içinde üst kartı göster", + "prefix-with-full-path": "Tam yolunu önüne ekle", + "prefix-with-parent": "Ana görev ile ön adlandır", + "subtext-with-full-path": "Tam yolu ile alt metin", + "subtext-with-parent": "üst öge ile alt metin", + "change-card-parent": "Kartın üst kartını değiştir", + "parent-card": "Ana kart", + "source-board": "Kaynak panosu", + "no-parent": "Üst ögeyi gösterme", + "activity-added-label": "added label '%s' to %s", + "activity-removed-label": "removed label '%s' from %s", + "activity-delete-attach": "deleted an attachment from %s", + "activity-added-label-card": "etiket eklendi '%s'", + "activity-removed-label-card": "removed label '%s'", + "activity-delete-attach-card": "Ek silindi", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "Kural", + "r-add-trigger": "Tetikleyici ekle", + "r-add-action": "Eylem ekle", + "r-board-rules": "Pano Kuralları", + "r-add-rule": "Kural ekle", + "r-view-rule": "Kuralı göster", + "r-delete-rule": "Kuralı sil", + "r-new-rule-name": "Yeni kural başlığı", + "r-no-rules": "Kural yok", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "Kart eklendiğinde", + "r-is": "is", + "r-is-moved": "taşındı", + "r-added-to": "Added to", + "r-removed-from": "Removed from", + "r-the-board": "pano", + "r-list": "liste", + "set-filter": "Filtrele", + "r-moved-to": "Moved to", + "r-moved-from": "Moved from", + "r-archived": "Arşive taşındı", + "r-unarchived": "Arşivden geri çıkarıldı", + "r-a-card": "Kart", + "r-when-a-label-is": "When a label is", + "r-when-the-label": "When the label", + "r-list-name": "liste adı", + "r-when-a-member": "When a member is", + "r-when-the-member": "When the member", + "r-name": "isim", + "r-when-a-attach": "When an attachment", + "r-when-a-checklist": "When a checklist is", + "r-when-the-checklist": "When the checklist", + "r-completed": "Tamamlandı", + "r-made-incomplete": "Tamamlanmamış", + "r-when-a-item": "When a checklist item is", + "r-when-the-item": "When the checklist item", + "r-checked": "İşaretlendi", + "r-unchecked": "İşaret Kaldırıldı", + "r-move-card-to": "Kartı taşı", + "r-top-of": "En üst", + "r-bottom-of": "En alt", + "r-its-list": "its list", + "r-archive": "Arşive Taşı", + "r-unarchive": "Arşivden Geri Yükle", + "r-card": "Kart", + "r-add": "Ekle", + "r-remove": "Kaldır", + "r-label": "etiket", + "r-member": "üye", + "r-remove-all": "Tüm üyeleri karttan çıkarın", + "r-set-color": "Set color to", + "r-checklist": "Kontrol Listesi", + "r-check-all": "Tümünü işaretle", + "r-uncheck-all": "Tüm işaretleri kaldır", + "r-items-check": "Kontrol Listesi maddeleri", + "r-check": "işaretle", + "r-uncheck": "İşareti Kaldır", + "r-item": "öge", + "r-of-checklist": "of checklist", + "r-send-email": "E-Posta Gönder", + "r-to": "to", + "r-of": "of", + "r-subject": "Konu", + "r-rule-details": "Kural Detayları", + "r-d-move-to-top-gen": "Kartı listesinin en üstüne taşı", + "r-d-move-to-top-spec": "Kartı listenin en üstüne taşı", + "r-d-move-to-bottom-gen": "Kartı listesinin en altına taşı", + "r-d-move-to-bottom-spec": "Kartı listenin en altına taşı", + "r-d-send-email": "E-Posta gönder", + "r-d-send-email-to": "to", + "r-d-send-email-subject": "Konu", + "r-d-send-email-message": "mesaj", + "r-d-archive": "Kartı Arşive Taşı", + "r-d-unarchive": "Kartı arşivden geri yükle", + "r-d-add-label": "Etiket ekle", + "r-d-remove-label": "Etiketi kaldır", + "r-create-card": "Yeni kart oluştur", + "r-in-list": ", listesinde", + "r-in-swimlane": "in swimlane", + "r-d-add-member": "Üye Ekle", + "r-d-remove-member": "Üye Sil", + "r-d-remove-all-member": "Tüm Üyeleri Sil", + "r-d-check-all": "Check all items of a list", + "r-d-uncheck-all": "Uncheck all items of a list", + "r-d-check-one": "Ögeyi kontrol et", + "r-d-uncheck-one": "Uncheck item", + "r-d-check-of-list": "of checklist", + "r-d-add-checklist": "Kontrol listesine ekle", + "r-d-remove-checklist": "Kontrol listesini kaldır", + "r-by": "tarafından", + "r-add-checklist": "Kontrol listesine ekle", + "r-with-items": "with items", + "r-items-list": "item1,item2,item3", + "r-add-swimlane": "Kulvar ekle", + "r-swimlane-name": "kulvar adı", + "r-board-note": "Not: Her olası değere uyması için bir alanı boş bırakın.", + "r-checklist-note": "Not: kontrol listesindeki öğelerin virgülle ayrılmış değerler olarak yazılması gerekir.", + "r-when-a-card-is-moved": "Bir kart başka bir listeye taşındığında", + "r-set": "Set", + "r-update": "Güncelle", + "r-datefield": "date field", + "r-df-start-at": "start", + "r-df-due-at": "due", + "r-df-end-at": "end", + "r-df-received-at": "received", + "r-to-current-datetime": "to current date/time", + "r-remove-value-from": "Remove value from", + "ldap": "LDAP", + "oauth2": "Oauth2", + "cas": "CAS", + "authentication-method": "Kimlik doğrulama yöntemi", + "authentication-type": "Kimlik doğrulama türü", + "custom-product-name": "Özel Ürün Adı", + "layout": "Düzen", + "hide-logo": "Logoyu Gizle", + "add-custom-html-after-body-start": "Add Custom HTML after start", + "add-custom-html-before-body-end": "Add Custom HTML before end", + "error-undefined": "Bir şeyler yanlış gitti", + "error-ldap-login": "Giriş yapmaya çalışırken bir hata oluştu", + "display-authentication-method": "Display Authentication Method", + "default-authentication-method": "Default Authentication Method", + "duplicate-board": "Duplicate Board", + "people-number": "The number of people is:", + "swimlaneDeletePopup-title": "Kulvar silinsin mi?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Her şeyi eski haline getir", + "delete-all": "Hepsini sil", + "loading": "Yükleniyor, lütfen bekleyiniz", + "previous_as": "last time was", + "act-a-dueAt": "modified due time to \nWhen: __timeValue__\nWhere: __card__\n previous due was __timeOldValue__", + "act-a-endAt": "modified ending time to __timeValue__ from (__timeOldValue__)", + "act-a-startAt": "modified starting time to __timeValue__ from (__timeOldValue__)", + "act-a-receivedAt": "modified received time to __timeValue__ from (__timeOldValue__)", + "a-dueAt": "modified due time to be", + "a-endAt": "modified ending time to be", + "a-startAt": "modified starting time to be", + "a-receivedAt": "modified received time to be", + "almostdue": "current due time %s is approaching", + "pastdue": "current due time %s is past", + "duenow": "current due time %s is today", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", + "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", + "act-duenow": "was reminding the current due (__timeValue__) of __card__ is now", + "act-atUserComment": "You were mentioned in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Bu kullanıcı hesabını silmek istediğinize emin misiniz? Bu işlemi geri alamazsınız.", + "accounts-allowUserDelete": "Kullanıcılara hesaplarını silmek için izin ver.", + "hide-minicard-label-text": "Mini kart etiklerini gizle", + "show-desktop-drag-handles": "Show desktop drag handles", + "assignee": "Atanan", + "cardAssigneesPopup-title": "Atanan", + "addmore-detail": "Add a more detailed description", + "show-on-card": "Show on Card", + "new": "New", + "editUserPopup-title": "Edit User", + "newUserPopup-title": "New User", + "notifications": "Bildirim", + "view-all": "View All", + "filter-by-unread": "Filter by Unread", + "mark-all-as-read": "Mark all as read", + "remove-all-read": "Remove all read", + "allow-rename": "Allow Rename", + "allowRenamePopup-title": "Allow Rename", + "start-day-of-week": "Set day of the week start", + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archived", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/uk.i18n.json b/i18n/uk.i18n.json new file mode 100644 index 0000000..b08c016 --- /dev/null +++ b/i18n/uk.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Прийняти", + "act-activity-notify": "Сповіщення активності", + "act-addAttachment": "added attachment __attachment__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteAttachment": "deleted attachment __attachment__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addSubtask": "added subtask __subtask__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addedLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removedLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklist": "added checklist __checklist__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklistItem": "added checklist item __checklistItem__ to checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklist": "removed checklist __checklist__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklistItem": "removed checklist item __checklistItem__ from checklist __checkList__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-checkedItem": "checked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncheckedItem": "unchecked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-completeChecklist": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncompleteChecklist": "uncompleted checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addComment": "commented on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-editComment": "edited comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteComment": "deleted comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createBoard": "Дошку __board__створено", + "act-createSwimlane": "created swimlane __swimlane__ to board __board__", + "act-createCard": "created card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-createCustomField": "created custom field __customField__ at board __board__", + "act-deleteCustomField": "deleted custom field __customField__ at board __board__", + "act-setCustomField": "edited custom field __customField__: __customFieldValue__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createList": "added list __list__ to board __board__", + "act-addBoardMember": "added member __member__ to board __board__", + "act-archivedBoard": "Дошку __board__ переміщено до Архіву", + "act-archivedCard": "Card __card__ at list __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedList": "List __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedSwimlane": "Swimlane __swimlane__ at board __board__ moved to Archive", + "act-importBoard": "Імпортовано дошку __board__", + "act-importCard": "imported card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-importList": "imported list __list__ to swimlane __swimlane__ at board __board__", + "act-joinMember": "added member __member__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-moveCard": "moved card __card__ at board __board__ from list __oldList__ at swimlane __oldSwimlane__ to list __list__ at swimlane __swimlane__", + "act-moveCardToOtherBoard": "moved card __card__ from list __oldList__ at swimlane __oldSwimlane__ at board __oldBoard__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-removeBoardMember": "removed member __member__ from board __board__", + "act-restoredCard": "restored card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-unjoinMember": "removed member __member__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Дії", + "activities": "Діяльності", + "activity": "Діяльність", + "activity-added": "%s додано до %s", + "activity-archived": "%s перенесено до архіву", + "activity-attached": "%s прикріплено до %s", + "activity-created": "%sстворено", + "activity-customfield-created": "Створено спеціальне поле%s", + "activity-excluded": "%s виключено з %s", + "activity-imported": "%s імпортовано до %s з %s", + "activity-imported-board": "%s імпортовано з %s", + "activity-joined": "%s приєднано", + "activity-moved": "%s переміщено з %s до %s", + "activity-on": "%s", + "activity-removed": "%s видалено з %s", + "activity-sent": "%s відправлено до %s", + "activity-unjoined": "unjoined %s", + "activity-subtask-added": "Додано підзадачу до %s", + "activity-checked-item": "checked %s in checklist %s of %s", + "activity-unchecked-item": "unchecked %s in checklist %s of %s", + "activity-checklist-added": "Додано контрольний список до %s", + "activity-checklist-removed": "removed a checklist from %s", + "activity-checklist-completed": "completed checklist %s of %s", + "activity-checklist-uncompleted": "uncompleted the checklist %s of %s", + "activity-checklist-item-added": "added checklist item to '%s' in %s", + "activity-checklist-item-removed": "removed a checklist item from '%s' in %s", + "add": "Додати", + "activity-checked-item-card": "checked %s in checklist %s", + "activity-unchecked-item-card": "unchecked %s in checklist %s", + "activity-checklist-completed-card": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "activity-checklist-uncompleted-card": "uncompleted the checklist %s", + "activity-editComment": "відредаговано коментар %s", + "activity-deleteComment": "видалено коментар %s", + "add-attachment": "Додати вкладення", + "add-board": "Додати дошку", + "add-card": "Додати картку", + "add-swimlane": "Add Swimlane", + "add-subtask": "Додати підзадачу", + "add-checklist": "Add Checklist", + "add-checklist-item": "Додати елемент в список", + "add-cover": "Додати обкладинку", + "add-label": "Додати мітку", + "add-list": "Додати список", + "add-members": "Додати користувача", + "added": "Доданно", + "addMemberPopup-title": "Користувачі", + "admin": "Адмін", + "admin-desc": "Може переглядати і редагувати картки, відаляти учасників та змінювати налаштування для дошки.", + "admin-announcement": "Announcement", + "admin-announcement-active": "Active System-Wide Announcement", + "admin-announcement-title": "Announcement from Administrator", + "all-boards": "Всі дошки", + "and-n-other-card": "та __count__ інших карток", + "and-n-other-card_plural": "та __count__ інших карток", + "apply": "Прийняти", + "app-is-offline": "Завантаження, будь ласка, зачекайте. Оновлення сторінки призведе до втрати даних. Якщо завантаження не працює, перевірте, чи не зупинився сервер.", + "archive": "Move to Archive", + "archive-all": "Move All to Archive", + "archive-board": "Move Board to Archive", + "archive-card": "Move Card to Archive", + "archive-list": "Move List to Archive", + "archive-swimlane": "Move Swimlane to Archive", + "archive-selection": "Move selection to Archive", + "archiveBoardPopup-title": "Move Board to Archive?", + "archived-items": "Архів", + "archived-boards": "Дошки в архіві", + "restore-board": "Відновити дошку", + "no-archived-boards": "Немає дошок в архіві", + "archives": "Архів", + "template": "Template", + "templates": "Templates", + "assign-member": "Assign member", + "attached": "доданно", + "attachment": "Додаток", + "attachment-delete-pop": "Видалення Додатку безповоротне. Тут нема відміні (undo).", + "attachmentDeletePopup-title": "Видалити Додаток?", + "attachments": "Додатки", + "auto-watch": "Automatically watch boards when they are created", + "avatar-too-big": "The avatar is too large (70KB max)", + "back": "Назад", + "board-change-color": "Змінити колір", + "board-nb-stars": "%s stars", + "board-not-found": "Дошка не знайдена", + "board-private-info": "This board will be private.", + "board-public-info": "This board will be public.", + "boardChangeColorPopup-title": "Change Board Background", + "boardChangeTitlePopup-title": "Перейменувати дошку", + "boardChangeVisibilityPopup-title": "Change Visibility", + "boardChangeWatchPopup-title": "Change Watch", + "boardMenuPopup-title": "Board Settings", + "boardChangeViewPopup-title": "Board View", + "boards": "Дошки", + "board-view": "Board View", + "board-view-cal": "Календар", + "board-view-swimlanes": "Swimlanes", + "board-view-collapse": "Collapse", + "board-view-lists": "Lists", + "bucket-example": "Like “Bucket List” for example", + "cancel": "Відміна", + "card-archived": "This card is moved to Archive.", + "board-archived": "This board is moved to Archive.", + "card-comments-title": "This card has %s comment.", + "card-delete-notice": "Цю дію неможливо буде скасувати. Всі зміни, які ви вносили в картку будуть втрачені.", + "card-delete-pop": "Усі дії буде видалено з каналу активності, і ви не зможете повторно відкрити картку. Цю дію не можна скасувати.", + "card-delete-suggest-archive": "Ви можете перемістити картку до архіву, щоб прибрати її з дошки, зберігаючи всю історію дій учасників.", + "card-due": "Due", + "card-due-on": "Due on", + "card-spent": "Витрачено часу", + "card-edit-attachments": "Edit attachments", + "card-edit-custom-fields": "Edit custom fields", + "card-edit-labels": "Редагувати мітки", + "card-edit-members": "Редагувати учасників", + "card-labels-title": "Change the labels for the card.", + "card-members-title": "Add or remove members of the board from the card.", + "card-start": "Start", + "card-start-on": "Starts on", + "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", + "cardStartVotingPopup-title": "Start a vote", + "positiveVoteMembersPopup-title": "Proponents", + "negativeVoteMembersPopup-title": "Opponents", + "card-edit-voting": "Edit voting", + "editVoteEndDatePopup-title": "Change vote end date", + "allowNonBoardMembers": "Allow all logged in users", + "vote-question": "Voting question", + "vote-public": "Show who voted what", + "vote-for-it": "for it", + "vote-against": "against", + "deleteVotePopup-title": "Delete vote?", + "vote-delete-pop": "Deleting is permanent. You will lose all actions associated with this vote.", + "cardDeletePopup-title": "Видалити картку?", + "cardDetailsActionsPopup-title": "Card Actions", + "cardLabelsPopup-title": "Labels", + "cardMembersPopup-title": "Користувачі", + "cardMorePopup-title": "More", + "cardTemplatePopup-title": "Create template", + "cards": "Картки", + "cards-count": "Картки", + "casSignIn": "Sign In with CAS", + "cardType-card": "Картка", + "cardType-linkedCard": "Linked Card", + "cardType-linkedBoard": "Linked Board", + "change": "Змінити", + "change-avatar": "Змінити аватар", + "change-password": "Змінити пароль", + "change-permissions": "Change permissions", + "change-settings": "Змінити налаштування", + "changeAvatarPopup-title": "Змінити аватар", + "changeLanguagePopup-title": "Змінити мову", + "changePasswordPopup-title": "Змінити пароль", + "changePermissionsPopup-title": "Change Permissions", + "changeSettingsPopup-title": "Змінити налаштування", + "subtasks": "Підзадачі", + "checklists": "Checklists", + "click-to-star": "Click to star this board.", + "click-to-unstar": "Click to unstar this board.", + "clipboard": "Clipboard or drag & drop", + "close": "Закрити", + "close-board": "Close Board", + "close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.", + "color-black": "чорний", + "color-blue": "синій", + "color-crimson": "crimson", + "color-darkgreen": "darkgreen", + "color-gold": "gold", + "color-gray": "gray", + "color-green": "зелений", + "color-indigo": "indigo", + "color-lime": "лайм", + "color-magenta": "magenta", + "color-mistyrose": "mistyrose", + "color-navy": "navy", + "color-orange": "помаранчевий", + "color-paleturquoise": "paleturquoise", + "color-peachpuff": "peachpuff", + "color-pink": "рожевий", + "color-plum": "plum", + "color-purple": "фіолетовий", + "color-red": "червоний", + "color-saddlebrown": "saddlebrown", + "color-silver": "silver", + "color-sky": "sky", + "color-slateblue": "slateblue", + "color-white": "white", + "color-yellow": "жовтий", + "unset-color": "Unset", + "comment": "Коментар", + "comment-placeholder": "Написати коментар", + "comment-only": "Comment only", + "comment-only-desc": "Can comment on cards only.", + "no-comments": "Немає коментарів", + "no-comments-desc": "Can not see comments and activities.", + "worker": "Worker", + "worker-desc": "Can only move cards, assign itself to card and comment.", + "computer": "Computer", + "confirm-subtask-delete-dialog": "Are you sure you want to delete subtask?", + "confirm-checklist-delete-dialog": "Are you sure you want to delete checklist?", + "copy-card-link-to-clipboard": "Скопіювати посилання на картку в буфер обміну", + "linkCardPopup-title": "Link Card", + "searchElementPopup-title": "Search", + "copyCardPopup-title": "Copy Card", + "copyChecklistToManyCardsPopup-title": "Copy Checklist Template to Many Cards", + "copyChecklistToManyCardsPopup-instructions": "Destination Card Titles and Descriptions in this JSON format", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"First card title\", \"description\":\"First card description\"}, {\"title\":\"Second card title\",\"description\":\"Second card description\"},{\"title\":\"Last card title\",\"description\":\"Last card description\"} ]", + "create": "Create", + "createBoardPopup-title": "Create Board", + "chooseBoardSourcePopup-title": "Import board", + "createLabelPopup-title": "Create Label", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", + "current": "current", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-currency": "Currency", + "custom-field-currency-option": "Currency Code", + "custom-field-date": "Date", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", + "date": "Date", + "decline": "Decline", + "default-avatar": "Default avatar", + "delete": "Delete", + "deleteCustomFieldPopup-title": "Delete Custom Field?", + "deleteLabelPopup-title": "Delete Label?", + "description": "Description", + "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", + "disambiguateMultiMemberPopup-title": "Disambiguate Member Action", + "discard": "Discard", + "done": "Done", + "download": "Download", + "edit": "Edit", + "edit-avatar": "Змінити аватар", + "edit-profile": "Edit Profile", + "edit-wip-limit": "Edit WIP Limit", + "soft-wip-limit": "Soft WIP Limit", + "editCardStartDatePopup-title": "Change start date", + "editCardDueDatePopup-title": "Change due date", + "editCustomFieldPopup-title": "Edit Field", + "editCardSpentTimePopup-title": "Change spent time", + "editLabelPopup-title": "Change Label", + "editNotificationPopup-title": "Edit Notification", + "editProfilePopup-title": "Edit Profile", + "email": "Email", + "email-enrollAccount-subject": "An account created for you on __siteName__", + "email-enrollAccount-text": "Hello __user__,\n\nTo start using the service, simply click the link below.\n\n__url__\n\nThanks.", + "email-fail": "Sending email failed", + "email-fail-text": "Error trying to send email", + "email-invalid": "Invalid email", + "email-invite": "Invite via Email", + "email-invite-subject": "__inviter__ sent you an invitation", + "email-invite-text": "Dear __user__,\n\n__inviter__ invites you to join board \"__board__\" for collaborations.\n\nPlease follow the link below:\n\n__url__\n\nThanks.", + "email-resetPassword-subject": "Reset your password on __siteName__", + "email-resetPassword-text": "Hello __user__,\n\nTo reset your password, simply click the link below.\n\n__url__\n\nThanks.", + "email-sent": "Email sent", + "email-verifyEmail-subject": "Verify your email address on __siteName__", + "email-verifyEmail-text": "Hello __user__,\n\nTo verify your account email, simply click the link below.\n\n__url__\n\nThanks.", + "enable-wip-limit": "Enable WIP Limit", + "error-board-doesNotExist": "This board does not exist", + "error-board-notAdmin": "You need to be admin of this board to do that", + "error-board-notAMember": "You need to be a member of this board to do that", + "error-json-malformed": "Your text is not valid JSON", + "error-json-schema": "Your JSON data does not include the proper information in the correct format", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "This list does not exist", + "error-user-doesNotExist": "This user does not exist", + "error-user-notAllowSelf": "You can not invite yourself", + "error-user-notCreated": "This user is not created", + "error-username-taken": "This username is already taken", + "error-email-taken": "Email has already been taken", + "export-board": "Export board", + "export-board-json": "Export board to JSON", + "export-board-csv": "Export board to CSV", + "export-board-tsv": "Export board to TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "Export board", + "sort": "Sort", + "sort-desc": "Click to Sort List", + "list-sort-by": "Sort the List By:", + "list-label-modifiedAt": "Last Access Time", + "list-label-title": "Name of the List", + "list-label-sort": "Your Manual Order", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Filter", + "filter-cards": "Filter Cards or Lists", + "list-filter-label": "Filter List by Title", + "filter-clear": "Clear filter", + "filter-no-label": "No label", + "filter-no-member": "No member", + "filter-no-assignee": "No assignee", + "filter-no-custom-fields": "No Custom Fields", + "filter-show-archive": "Show archived lists", + "filter-hide-empty": "Hide empty lists", + "filter-on": "Filter is on", + "filter-on-desc": "You are filtering cards on this board. Click here to edit filter.", + "filter-to-selection": "Filter to selection", + "advanced-filter-label": "Advanced Filter", + "advanced-filter-description": "Advanced Filter allows to write a string containing following operators: == != <= >= && || ( ) A space is used as a separator between the Operators. You can filter for all Custom Fields by typing their names and values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need to encapsulate them into single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) to be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally all operators are interpreted from left to right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i", + "fullname": "Full Name", + "header-logo-title": "Go back to your boards page.", + "hide-system-messages": "Hide system messages", + "headerBarCreateBoardPopup-title": "Create Board", + "home": "Home", + "import": "Import", + "link": "Link", + "import-board": "import board", + "import-board-c": "Import board", + "import-board-title-trello": "Import board from Trello", + "import-board-title-wekan": "Import board from previous export", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "From Trello", + "from-wekan": "From previous export", + "from-csv": "From CSV/TSV", + "import-board-instruction-trello": "In your Trello board, go to 'Menu', then 'More', 'Print and Export', 'Export JSON', and copy the resulting text.", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "In your board, go to 'Menu', then 'Export board', and copy the text in the downloaded file.", + "import-board-instruction-about-errors": "If you get errors when importing board, sometimes importing still works, and board is at All Boards page.", + "import-json-placeholder": "Paste your valid JSON data here", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "Map members", + "import-members-map": "Your imported board has some members. Please map the members you want to import to your users", + "import-show-user-mapping": "Review members mapping", + "import-user-select": "Pick your existing user you want to use as this member", + "importMapMembersAddPopup-title": "Select member", + "info": "Version", + "initials": "Initials", + "invalid-date": "Invalid date", + "invalid-time": "Invalid time", + "invalid-user": "Invalid user", + "joined": "joined", + "just-invited": "You are just invited to this board", + "keyboard-shortcuts": "Keyboard shortcuts", + "label-create": "Create Label", + "label-default": "%s label (default)", + "label-delete-pop": "There is no undo. This will remove this label from all cards and destroy its history.", + "labels": "Labels", + "language": "Language", + "last-admin-desc": "You can’t change roles because there must be at least one admin.", + "leave-board": "Leave Board", + "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.", + "leaveBoardPopup-title": "Leave Board ?", + "link-card": "Link to this card", + "list-archive-cards": "Move all cards in this list to Archive", + "list-archive-cards-pop": "This will remove all the cards in this list from the board. To view cards in Archive and bring them back to the board, click “Menu” > “Archive”.", + "list-move-cards": "Move all cards in this list", + "list-select-cards": "Select all cards in this list", + "set-color-list": "Set Color", + "listActionPopup-title": "List Actions", + "swimlaneActionPopup-title": "Swimlane Actions", + "swimlaneAddPopup-title": "Add a Swimlane below", + "listImportCardPopup-title": "Import a Trello card", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "More", + "link-list": "Link to this list", + "list-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the list. There is no undo.", + "list-delete-suggest-archive": "You can move a list to Archive to remove it from the board and preserve the activity.", + "lists": "Lists", + "swimlanes": "Swimlanes", + "log-out": "Log Out", + "log-in": "Log In", + "loginPopup-title": "Log In", + "memberMenuPopup-title": "Member Settings", + "members": "Користувачі", + "menu": "Menu", + "move-selection": "Move selection", + "moveCardPopup-title": "Move Card", + "moveCardToBottom-title": "Move to Bottom", + "moveCardToTop-title": "Move to Top", + "moveSelectionPopup-title": "Move selection", + "multi-selection": "Multi-Selection", + "multi-selection-on": "Multi-Selection is on", + "muted": "Muted", + "muted-info": "You will never be notified of any changes in this board", + "my-boards": "My Boards", + "name": "Name", + "no-archived-cards": "No cards in Archive.", + "no-archived-lists": "No lists in Archive.", + "no-archived-swimlanes": "No swimlanes in Archive.", + "no-results": "No results", + "normal": "Normal", + "normal-desc": "Can view and edit cards. Can't change settings.", + "not-accepted-yet": "Invitation not accepted yet", + "notify-participate": "Receive updates to any cards you participate as creater or member", + "notify-watch": "Receive updates to any boards, lists, or cards you’re watching", + "optional": "optional", + "or": "or", + "page-maybe-private": "This page may be private. You may be able to view it by logging in.", + "page-not-found": "Page not found.", + "password": "Password", + "paste-or-dragdrop": "to paste, or drag & drop image file to it (image only)", + "participating": "Participating", + "preview": "Preview", + "previewAttachedImagePopup-title": "Preview", + "previewClipboardImagePopup-title": "Preview", + "private": "Private", + "private-desc": "This board is private. Only people added to the board can view and edit it.", + "profile": "Profile", + "public": "Public", + "public-desc": "Цю дошку можуть переглядати усі, у кого є посилання. Також ця дошка може бути проіндексована пошуковими системами. Вносити зміни можуть тільки учасники.", + "quick-access-description": "Star a board to add a shortcut in this bar.", + "remove-cover": "Remove Cover", + "remove-from-board": "Remove from Board", + "remove-label": "Remove Label", + "listDeletePopup-title": "Delete List ?", + "remove-member": "Remove Member", + "remove-member-from-card": "Remove from Card", + "remove-member-pop": "Remove __name__ (__username__) from __boardTitle__? The member will be removed from all cards on this board. They will receive a notification.", + "removeMemberPopup-title": "Remove Member?", + "rename": "Rename", + "rename-board": "Перейменувати дошку", + "restore": "Restore", + "save": "Save", + "search": "Search", + "rules": "Rules", + "search-cards": "Search from card/list titles, descriptions and custom fields on this board", + "search-example": "Text to search for?", + "select-color": "Select Color", + "set-wip-limit-value": "Set a limit for the maximum number of tasks in this list", + "setWipLimitPopup-title": "Set WIP Limit", + "shortcut-assign-self": "Assign yourself to current card", + "shortcut-autocomplete-emoji": "Autocomplete emoji", + "shortcut-autocomplete-members": "Autocomplete members", + "shortcut-clear-filters": "Clear all filters", + "shortcut-close-dialog": "Close Dialog", + "shortcut-filter-my-cards": "Filter my cards", + "shortcut-show-shortcuts": "Bring up this shortcuts list", + "shortcut-toggle-filterbar": "Toggle Filter Sidebar", + "shortcut-toggle-sidebar": "Toggle Board Sidebar", + "show-cards-minimum-count": "Show cards count if list contains more than", + "sidebar-open": "Open Sidebar", + "sidebar-close": "Close Sidebar", + "signupPopup-title": "Create an Account", + "star-board-title": "Click to star this board. It will show up at top of your boards list.", + "starred-boards": "Starred Boards", + "starred-boards-description": "Starred boards show up at the top of your boards list.", + "subscribe": "Subscribe", + "team": "Team", + "this-board": "this board", + "this-card": "this card", + "spent-time-hours": "Spent time (hours)", + "overtime-hours": "Overtime (hours)", + "overtime": "Overtime", + "has-overtime-cards": "Has overtime cards", + "has-spenttime-cards": "Has spent time cards", + "time": "Time", + "title": "Title", + "tracking": "Tracking", + "tracking-info": "Ви будете повідомлені про будь-які зміни в тих картках, в яких ви є творцем або учасником.", + "type": "Type", + "unassign-member": "Unassign member", + "unsaved-description": "You have an unsaved description.", + "unwatch": "Unwatch", + "upload": "Upload", + "upload-avatar": "Upload an avatar", + "uploaded-avatar": "Uploaded an avatar", + "username": "Username", + "view-it": "View it", + "warn-list-archived": "warning: this card is in an list at Archive", + "watch": "Watch", + "watching": "Watching", + "watching-info": "You will be notified of any change in this board", + "welcome-board": "Welcome Board", + "welcome-swimlane": "Milestone 1", + "welcome-list1": "Basics", + "welcome-list2": "Advanced", + "card-templates-swimlane": "Card Templates", + "list-templates-swimlane": "List Templates", + "board-templates-swimlane": "Board Templates", + "what-to-do": "What do you want to do?", + "wipLimitErrorPopup-title": "Invalid WIP Limit", + "wipLimitErrorPopup-dialog-pt1": "Кількість завдань у цьому списку перевищує встановлений вами ліміт", + "wipLimitErrorPopup-dialog-pt2": "Будь ласка, перенесіть деякі завдання з цього списку або збільште ліміт на кількість завдань", + "admin-panel": "Admin Panel", + "settings": "Settings", + "people": "People", + "registration": "Registration", + "disable-self-registration": "Disable Self-Registration", + "invite": "Invite", + "invite-people": "Invite People", + "to-boards": "To board(s)", + "email-addresses": "Email Addresses", + "smtp-host-description": "The address of the SMTP server that handles your emails.", + "smtp-port-description": "The port your SMTP server uses for outgoing emails.", + "smtp-tls-description": "Enable TLS support for SMTP server", + "smtp-host": "SMTP Host", + "smtp-port": "SMTP Port", + "smtp-username": "Username", + "smtp-password": "Password", + "smtp-tls": "TLS support", + "send-from": "From", + "send-smtp-test": "Send a test email to yourself", + "invitation-code": "Invitation Code", + "email-invite-register-subject": "__inviter__ sent you an invitation", + "email-invite-register-text": "Dear __user__,\n\n__inviter__ invites you to kanban board for collaborations.\n\nPlease follow the link below:\n__url__\n\nAnd your invitation code is: __icode__\n\nThanks.", + "email-smtp-test-subject": "SMTP Test Email", + "email-smtp-test-text": "You have successfully sent an email", + "error-invitation-code-not-exist": "Invitation code doesn't exist", + "error-notAuthorized": "You are not authorized to view this page.", + "webhook-title": "Webhook Name", + "webhook-token": "Token (Optional for Authentication)", + "outgoing-webhooks": "Outgoing Webhooks", + "bidirectional-webhooks": "Two-Way Webhooks", + "outgoingWebhooksPopup-title": "Outgoing Webhooks", + "boardCardTitlePopup-title": "Card Title Filter", + "disable-webhook": "Disable This Webhook", + "global-webhook": "Global Webhooks", + "new-outgoing-webhook": "New Outgoing Webhook", + "no-name": "(Unknown)", + "Node_version": "Node version", + "Meteor_version": "Meteor version", + "MongoDB_version": "MongoDB version", + "MongoDB_storage_engine": "MongoDB storage engine", + "MongoDB_Oplog_enabled": "MongoDB Oplog enabled", + "OS_Arch": "OS Arch", + "OS_Cpus": "OS CPU Count", + "OS_Freemem": "OS Free Memory", + "OS_Loadavg": "OS Load Average", + "OS_Platform": "OS Platform", + "OS_Release": "OS Release", + "OS_Totalmem": "OS Total Memory", + "OS_Type": "OS Type", + "OS_Uptime": "OS Uptime", + "days": "days", + "hours": "hours", + "minutes": "minutes", + "seconds": "seconds", + "show-field-on-card": "Show this field on card", + "automatically-field-on-card": "Auto create field to all cards", + "showLabel-field-on-card": "Show field label on minicard", + "yes": "Yes", + "no": "No", + "accounts": "Accounts", + "accounts-allowEmailChange": "Allow Email Change", + "accounts-allowUserNameChange": "Allow Username Change", + "createdAt": "Created at", + "verified": "Verified", + "active": "Active", + "card-received": "Received", + "card-received-on": "Received on", + "card-end": "End", + "card-end-on": "Ends on", + "editCardReceivedDatePopup-title": "Change received date", + "editCardEndDatePopup-title": "Change end date", + "setCardColorPopup-title": "Set color", + "setCardActionsColorPopup-title": "Choose a color", + "setSwimlaneColorPopup-title": "Choose a color", + "setListColorPopup-title": "Choose a color", + "assigned-by": "Assigned By", + "requested-by": "Requested By", + "board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.", + "delete-board-confirm-popup": "All lists, cards, labels, and activities will be deleted and you won't be able to recover the board contents. There is no undo.", + "boardDeletePopup-title": "Delete Board?", + "delete-board": "Delete Board", + "default-subtasks-board": "Subtasks for __board__ board", + "default": "Default", + "queue": "Queue", + "subtask-settings": "Subtasks Settings", + "card-settings": "Card Settings", + "boardSubtaskSettingsPopup-title": "Board Subtasks Settings", + "boardCardSettingsPopup-title": "Card Settings", + "deposit-subtasks-board": "Deposit subtasks to this board:", + "deposit-subtasks-list": "Landing list for subtasks deposited here:", + "show-parent-in-minicard": "Show parent in minicard:", + "prefix-with-full-path": "Prefix with full path", + "prefix-with-parent": "Prefix with parent", + "subtext-with-full-path": "Subtext with full path", + "subtext-with-parent": "Subtext with parent", + "change-card-parent": "Change card's parent", + "parent-card": "Parent card", + "source-board": "Source board", + "no-parent": "Don't show parent", + "activity-added-label": "added label '%s' to %s", + "activity-removed-label": "removed label '%s' from %s", + "activity-delete-attach": "deleted an attachment from %s", + "activity-added-label-card": "added label '%s'", + "activity-removed-label-card": "removed label '%s'", + "activity-delete-attach-card": "deleted an attachment", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "Правило", + "r-add-trigger": "Add trigger", + "r-add-action": "Add action", + "r-board-rules": "Дошка правил", + "r-add-rule": "Add rule", + "r-view-rule": "Переглянути правило", + "r-delete-rule": "Видалити правило", + "r-new-rule-name": "Заголовок нового правила\n", + "r-no-rules": "No rules", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "When a card", + "r-is": "is", + "r-is-moved": "is moved", + "r-added-to": "Added to", + "r-removed-from": "Видалити з", + "r-the-board": "Дошка", + "r-list": "list", + "set-filter": "Set Filter", + "r-moved-to": "переміщено до", + "r-moved-from": "переміщено з", + "r-archived": "переміщено до Архіву", + "r-unarchived": "Відновлено з Архіву", + "r-a-card": "a card", + "r-when-a-label-is": "When a label is", + "r-when-the-label": "When the label", + "r-list-name": "list name", + "r-when-a-member": "When a member is", + "r-when-the-member": "When the member", + "r-name": "name", + "r-when-a-attach": "When an attachment", + "r-when-a-checklist": "When a checklist is", + "r-when-the-checklist": "When the checklist", + "r-completed": "Completed", + "r-made-incomplete": "Made incomplete", + "r-when-a-item": "When a checklist item is", + "r-when-the-item": "When the checklist item", + "r-checked": "Checked", + "r-unchecked": "Unchecked", + "r-move-card-to": "Move card to", + "r-top-of": "Top of", + "r-bottom-of": "Bottom of", + "r-its-list": "its list", + "r-archive": "Move to Archive", + "r-unarchive": "Restore from Archive", + "r-card": "Картка", + "r-add": "Додати", + "r-remove": "Видалити\n", + "r-label": "label", + "r-member": "Користувач", + "r-remove-all": "Видалити усіх учасників картки", + "r-set-color": "Set color to", + "r-checklist": "checklist", + "r-check-all": "Check all", + "r-uncheck-all": "Uncheck all", + "r-items-check": "items of checklist", + "r-check": "Check", + "r-uncheck": "Uncheck", + "r-item": "item", + "r-of-checklist": "of checklist", + "r-send-email": "Send an email", + "r-to": "to", + "r-of": "of", + "r-subject": "Об'єкт", + "r-rule-details": "Rule details", + "r-d-move-to-top-gen": "Move card to top of its list", + "r-d-move-to-top-spec": "Move card to top of list", + "r-d-move-to-bottom-gen": "Move card to bottom of its list", + "r-d-move-to-bottom-spec": "Move card to bottom of list", + "r-d-send-email": "Відправити email", + "r-d-send-email-to": "to", + "r-d-send-email-subject": "Об'єкт", + "r-d-send-email-message": "повідомлення", + "r-d-archive": "Move card to Archive", + "r-d-unarchive": "Restore card from Archive", + "r-d-add-label": "Add label", + "r-d-remove-label": "Remove label", + "r-create-card": "Create new card", + "r-in-list": "in list", + "r-in-swimlane": "in swimlane", + "r-d-add-member": "Додати користувача", + "r-d-remove-member": "Видалити користувача", + "r-d-remove-all-member": "Remove all member", + "r-d-check-all": "Check all items of a list", + "r-d-uncheck-all": "Uncheck all items of a list", + "r-d-check-one": "Check item", + "r-d-uncheck-one": "Uncheck item", + "r-d-check-of-list": "of checklist", + "r-d-add-checklist": "Add checklist", + "r-d-remove-checklist": "Remove checklist", + "r-by": "by", + "r-add-checklist": "Add checklist", + "r-with-items": "with items", + "r-items-list": "item1,item2,item3", + "r-add-swimlane": "Add swimlane", + "r-swimlane-name": "swimlane name", + "r-board-note": "Note: leave a field empty to match every possible value.", + "r-checklist-note": "Note: checklist's items have to be written as comma separated values.", + "r-when-a-card-is-moved": "When a card is moved to another list", + "r-set": "Set", + "r-update": "Update", + "r-datefield": "date field", + "r-df-start-at": "start", + "r-df-due-at": "due", + "r-df-end-at": "end", + "r-df-received-at": "received", + "r-to-current-datetime": "to current date/time", + "r-remove-value-from": "Remove value from", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Authentication method", + "authentication-type": "Authentication type", + "custom-product-name": "Custom Product Name", + "layout": "Layout", + "hide-logo": "Hide Logo", + "add-custom-html-after-body-start": "Add Custom HTML after start", + "add-custom-html-before-body-end": "Add Custom HTML before end", + "error-undefined": "Something went wrong", + "error-ldap-login": "An error occurred while trying to login", + "display-authentication-method": "Display Authentication Method", + "default-authentication-method": "Default Authentication Method", + "duplicate-board": "Duplicate Board", + "people-number": "The number of people is:", + "swimlaneDeletePopup-title": "Delete Swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Відновити все", + "delete-all": "Видалити все", + "loading": "Завантаження, зачекайте будь-ласка.", + "previous_as": "last time was", + "act-a-dueAt": "modified due time to \nWhen: __timeValue__\nWhere: __card__\n previous due was __timeOldValue__", + "act-a-endAt": "modified ending time to __timeValue__ from (__timeOldValue__)", + "act-a-startAt": "modified starting time to __timeValue__ from (__timeOldValue__)", + "act-a-receivedAt": "modified received time to __timeValue__ from (__timeOldValue__)", + "a-dueAt": "modified due time to be", + "a-endAt": "modified ending time to be", + "a-startAt": "modified starting time to be", + "a-receivedAt": "modified received time to be", + "almostdue": "current due time %s is approaching", + "pastdue": "current due time %s is past", + "duenow": "current due time %s is today", + "act-newDue": "__list__/__card__ має 1-ше нагадування визначеного терміну [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", + "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", + "act-duenow": "was reminding the current due (__timeValue__) of __card__ is now", + "act-atUserComment": "Ви були згадані у [__board__] __list__/__card__", + "delete-user-confirm-popup": "Ви дійсно бажаєте видалити даний обліковий запис? Цю дію не можна відмінити.", + "accounts-allowUserDelete": "Дозволити користувачам видаляти їх власні облікові записи", + "hide-minicard-label-text": "Hide minicard label text", + "show-desktop-drag-handles": "Show desktop drag handles", + "assignee": "Assignee", + "cardAssigneesPopup-title": "Assignee", + "addmore-detail": "Add a more detailed description", + "show-on-card": "Show on Card", + "new": "New", + "editUserPopup-title": "Edit User", + "newUserPopup-title": "New User", + "notifications": "Notifications", + "view-all": "View All", + "filter-by-unread": "Filter by Unread", + "mark-all-as-read": "Mark all as read", + "remove-all-read": "Remove all read", + "allow-rename": "Allow Rename", + "allowRenamePopup-title": "Allow Rename", + "start-day-of-week": "Set day of the week start", + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archived", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/vi.i18n.json b/i18n/vi.i18n.json new file mode 100644 index 0000000..2e75250 --- /dev/null +++ b/i18n/vi.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Chấp nhận", + "act-activity-notify": "Thông báo hoạt động", + "act-addAttachment": "thêm tập tin đính kèm __attachment__ vào thẻ __list__ tại danh sách __list__ tại đường bơi __swimlane__ tại bảng __board__", + "act-deleteAttachment": "xóa tập tin đính kèm __attachment__ tại thẻ __card__ tại danh sách __list__ tại đường bơi __swimlane__ tại bảng __board__ ", + "act-addSubtask": "added subtask __subtask__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addedLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removedLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklist": "added checklist __checklist__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklistItem": "added checklist item __checklistItem__ to checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklist": "removed checklist __checklist__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklistItem": "removed checklist item __checklistItem__ from checklist __checkList__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-checkedItem": "checked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncheckedItem": "unchecked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-completeChecklist": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncompleteChecklist": "uncompleted checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addComment": "commented on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-editComment": "edited comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteComment": "deleted comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createBoard": "created board __board__", + "act-createSwimlane": "created swimlane __swimlane__ to board __board__", + "act-createCard": "created card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-createCustomField": "created custom field __customField__ at board __board__", + "act-deleteCustomField": "deleted custom field __customField__ at board __board__", + "act-setCustomField": "edited custom field __customField__: __customFieldValue__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createList": "added list __list__ to board __board__", + "act-addBoardMember": "added member __member__ to board __board__", + "act-archivedBoard": "Board __board__ moved to Archive", + "act-archivedCard": "Card __card__ at list __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedList": "List __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedSwimlane": "Swimlane __swimlane__ at board __board__ moved to Archive", + "act-importBoard": "imported board __board__", + "act-importCard": "imported card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-importList": "imported list __list__ to swimlane __swimlane__ at board __board__", + "act-joinMember": "added member __member__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-moveCard": "moved card __card__ at board __board__ from list __oldList__ at swimlane __oldSwimlane__ to list __list__ at swimlane __swimlane__", + "act-moveCardToOtherBoard": "moved card __card__ from list __oldList__ at swimlane __oldSwimlane__ at board __oldBoard__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-removeBoardMember": "removed member __member__ from board __board__", + "act-restoredCard": "restored card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-unjoinMember": "removed member __member__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Hành Động", + "activities": "Hoạt Động", + "activity": "Hoạt Động", + "activity-added": "đã thêm %s vào %s", + "activity-archived": "%s moved to Archive", + "activity-attached": "đã đính kèm %s vào %s", + "activity-created": "đã tạo %s", + "activity-customfield-created": "created custom field %s", + "activity-excluded": "đã loại bỏ %s khỏi %s", + "activity-imported": "đã nạp %s vào %s từ %s", + "activity-imported-board": "đã nạp %s từ %s", + "activity-joined": "đã tham gia %s", + "activity-moved": "đã di chuyển %s từ %s đến %s", + "activity-on": "trên %s", + "activity-removed": "đã xóa %s từ %s", + "activity-sent": "gửi %s đến %s", + "activity-unjoined": "đã rời khỏi %s", + "activity-subtask-added": "added subtask to %s", + "activity-checked-item": "checked %s in checklist %s of %s", + "activity-unchecked-item": "unchecked %s in checklist %s of %s", + "activity-checklist-added": "đã thêm checklist vào %s", + "activity-checklist-removed": "removed a checklist from %s", + "activity-checklist-completed": "completed checklist %s of %s", + "activity-checklist-uncompleted": "uncompleted the checklist %s of %s", + "activity-checklist-item-added": "added checklist item to '%s' in %s", + "activity-checklist-item-removed": "removed a checklist item from '%s' in %s", + "add": "Thêm", + "activity-checked-item-card": "checked %s in checklist %s", + "activity-unchecked-item-card": "unchecked %s in checklist %s", + "activity-checklist-completed-card": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "activity-checklist-uncompleted-card": "uncompleted the checklist %s", + "activity-editComment": "edited comment %s", + "activity-deleteComment": "deleted comment %s", + "add-attachment": "Thêm Bản Đính Kèm", + "add-board": "Thêm Bảng", + "add-card": "Thêm Thẻ", + "add-swimlane": "Add Swimlane", + "add-subtask": "Add Subtask", + "add-checklist": "Thêm Danh Sách Kiểm Tra", + "add-checklist-item": "Thêm Một Mục Vào Danh Sách Kiểm Tra", + "add-cover": "Thêm Bìa", + "add-label": "Thêm Nhãn", + "add-list": "Thêm Danh Sách", + "add-members": "Thêm Thành Viên", + "added": "Đã Thêm", + "addMemberPopup-title": "Thành Viên", + "admin": "Quản Trị Viên", + "admin-desc": "Có thể xem và chỉnh sửa những thẻ, xóa thành viên và thay đổi cài đặt cho bảng.", + "admin-announcement": "Announcement", + "admin-announcement-active": "Active System-Wide Announcement", + "admin-announcement-title": "Announcement from Administrator", + "all-boards": "Tất cả các bảng", + "and-n-other-card": "Và __count__ thẻ khác", + "and-n-other-card_plural": "Và __count__ thẻ khác", + "apply": "Ứng Dụng", + "app-is-offline": "Loading, please wait. Refreshing the page will cause data loss. If loading does not work, please check that server has not stopped.", + "archive": "Move to Archive", + "archive-all": "Move All to Archive", + "archive-board": "Move Board to Archive", + "archive-card": "Move Card to Archive", + "archive-list": "Move List to Archive", + "archive-swimlane": "Move Swimlane to Archive", + "archive-selection": "Move selection to Archive", + "archiveBoardPopup-title": "Move Board to Archive?", + "archived-items": "Lưu Trữ", + "archived-boards": "Boards in Archive", + "restore-board": "Khôi Phục Bảng", + "no-archived-boards": "No Boards in Archive.", + "archives": "Lưu Trữ", + "template": "Template", + "templates": "Templates", + "assign-member": "Chỉ định thành viên", + "attached": "đã đính kèm", + "attachment": "Phần đính kèm", + "attachment-delete-pop": "Xóa tệp đính kèm là vĩnh viễn. Không có khôi phục.", + "attachmentDeletePopup-title": "Xóa tệp đính kèm không?", + "attachments": "Tệp Đính Kèm", + "auto-watch": "Tự động xem bảng lúc được tạo ra", + "avatar-too-big": "Hình đại diện quá to (70KB tối đa)", + "back": "Trở Lại", + "board-change-color": "Đổi màu", + "board-nb-stars": "%s sao", + "board-not-found": "Không tìm được bảng", + "board-private-info": "Bảng này sẽ chuyển sang chế độ private.", + "board-public-info": "Bảng này sẽ chuyển sang chế độ public.", + "boardChangeColorPopup-title": "Thay hình nền của bảng", + "boardChangeTitlePopup-title": "Đổi tên bảng", + "boardChangeVisibilityPopup-title": "Đổi cách hiển thị", + "boardChangeWatchPopup-title": "Đổi cách xem", + "boardMenuPopup-title": "Board Settings", + "boardChangeViewPopup-title": "Board View", + "boards": "Bảng", + "board-view": "Board View", + "board-view-cal": "Calendar", + "board-view-swimlanes": "Swimlanes", + "board-view-collapse": "Collapse", + "board-view-lists": "Lists", + "bucket-example": "Like “Bucket List” for example", + "cancel": "Hủy", + "card-archived": "This card is moved to Archive.", + "board-archived": "This board is moved to Archive.", + "card-comments-title": "Thẻ này có %s bình luận.", + "card-delete-notice": "Hành động xóa là không thể khôi phục. Bạn sẽ mất hết các hoạt động liên quan đến thẻ này.", + "card-delete-pop": "All actions will be removed from the activity feed and you won't be able to re-open the card. There is no undo.", + "card-delete-suggest-archive": "You can move a card to Archive to remove it from the board and preserve the activity.", + "card-due": "Due", + "card-due-on": "Due on", + "card-spent": "Spent Time", + "card-edit-attachments": "Edit attachments", + "card-edit-custom-fields": "Edit custom fields", + "card-edit-labels": "Edit labels", + "card-edit-members": "Edit members", + "card-labels-title": "Change the labels for the card.", + "card-members-title": "Add or remove members of the board from the card.", + "card-start": "Start", + "card-start-on": "Starts on", + "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", + "cardStartVotingPopup-title": "Start a vote", + "positiveVoteMembersPopup-title": "Proponents", + "negativeVoteMembersPopup-title": "Opponents", + "card-edit-voting": "Edit voting", + "editVoteEndDatePopup-title": "Change vote end date", + "allowNonBoardMembers": "Allow all logged in users", + "vote-question": "Voting question", + "vote-public": "Show who voted what", + "vote-for-it": "for it", + "vote-against": "against", + "deleteVotePopup-title": "Delete vote?", + "vote-delete-pop": "Deleting is permanent. You will lose all actions associated with this vote.", + "cardDeletePopup-title": "Delete Card?", + "cardDetailsActionsPopup-title": "Card Actions", + "cardLabelsPopup-title": "Labels", + "cardMembersPopup-title": "Thành Viên", + "cardMorePopup-title": "More", + "cardTemplatePopup-title": "Create template", + "cards": "Cards", + "cards-count": "Cards", + "casSignIn": "Sign In with CAS", + "cardType-card": "Card", + "cardType-linkedCard": "Linked Card", + "cardType-linkedBoard": "Linked Board", + "change": "Change", + "change-avatar": "Change Avatar", + "change-password": "Change Password", + "change-permissions": "Change permissions", + "change-settings": "Change Settings", + "changeAvatarPopup-title": "Change Avatar", + "changeLanguagePopup-title": "Change Language", + "changePasswordPopup-title": "Change Password", + "changePermissionsPopup-title": "Change Permissions", + "changeSettingsPopup-title": "Change Settings", + "subtasks": "Subtasks", + "checklists": "Checklists", + "click-to-star": "Click to star this board.", + "click-to-unstar": "Click to unstar this board.", + "clipboard": "Clipboard or drag & drop", + "close": "Close", + "close-board": "Close Board", + "close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.", + "color-black": "black", + "color-blue": "blue", + "color-crimson": "crimson", + "color-darkgreen": "darkgreen", + "color-gold": "gold", + "color-gray": "gray", + "color-green": "green", + "color-indigo": "indigo", + "color-lime": "lime", + "color-magenta": "magenta", + "color-mistyrose": "mistyrose", + "color-navy": "navy", + "color-orange": "orange", + "color-paleturquoise": "paleturquoise", + "color-peachpuff": "peachpuff", + "color-pink": "pink", + "color-plum": "plum", + "color-purple": "purple", + "color-red": "red", + "color-saddlebrown": "saddlebrown", + "color-silver": "silver", + "color-sky": "sky", + "color-slateblue": "slateblue", + "color-white": "white", + "color-yellow": "yellow", + "unset-color": "Unset", + "comment": "Comment", + "comment-placeholder": "Write Comment", + "comment-only": "Comment only", + "comment-only-desc": "Can comment on cards only.", + "no-comments": "No comments", + "no-comments-desc": "Can not see comments and activities.", + "worker": "Worker", + "worker-desc": "Can only move cards, assign itself to card and comment.", + "computer": "Computer", + "confirm-subtask-delete-dialog": "Are you sure you want to delete subtask?", + "confirm-checklist-delete-dialog": "Are you sure you want to delete checklist?", + "copy-card-link-to-clipboard": "Copy card link to clipboard", + "linkCardPopup-title": "Link Card", + "searchElementPopup-title": "Search", + "copyCardPopup-title": "Copy Card", + "copyChecklistToManyCardsPopup-title": "Copy Checklist Template to Many Cards", + "copyChecklistToManyCardsPopup-instructions": "Destination Card Titles and Descriptions in this JSON format", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"First card title\", \"description\":\"First card description\"}, {\"title\":\"Second card title\",\"description\":\"Second card description\"},{\"title\":\"Last card title\",\"description\":\"Last card description\"} ]", + "create": "Create", + "createBoardPopup-title": "Create Board", + "chooseBoardSourcePopup-title": "Import board", + "createLabelPopup-title": "Create Label", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", + "current": "current", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-currency": "Currency", + "custom-field-currency-option": "Currency Code", + "custom-field-date": "Date", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", + "date": "Date", + "decline": "Decline", + "default-avatar": "Default avatar", + "delete": "Delete", + "deleteCustomFieldPopup-title": "Delete Custom Field?", + "deleteLabelPopup-title": "Delete Label?", + "description": "Description", + "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", + "disambiguateMultiMemberPopup-title": "Disambiguate Member Action", + "discard": "Discard", + "done": "Done", + "download": "Download", + "edit": "Edit", + "edit-avatar": "Change Avatar", + "edit-profile": "Edit Profile", + "edit-wip-limit": "Edit WIP Limit", + "soft-wip-limit": "Soft WIP Limit", + "editCardStartDatePopup-title": "Change start date", + "editCardDueDatePopup-title": "Change due date", + "editCustomFieldPopup-title": "Edit Field", + "editCardSpentTimePopup-title": "Change spent time", + "editLabelPopup-title": "Change Label", + "editNotificationPopup-title": "Edit Notification", + "editProfilePopup-title": "Edit Profile", + "email": "Email", + "email-enrollAccount-subject": "An account created for you on __siteName__", + "email-enrollAccount-text": "Hello __user__,\n\nTo start using the service, simply click the link below.\n\n__url__\n\nThanks.", + "email-fail": "Sending email failed", + "email-fail-text": "Error trying to send email", + "email-invalid": "Invalid email", + "email-invite": "Invite via Email", + "email-invite-subject": "__inviter__ sent you an invitation", + "email-invite-text": "Dear __user__,\n\n__inviter__ invites you to join board \"__board__\" for collaborations.\n\nPlease follow the link below:\n\n__url__\n\nThanks.", + "email-resetPassword-subject": "Reset your password on __siteName__", + "email-resetPassword-text": "Hello __user__,\n\nTo reset your password, simply click the link below.\n\n__url__\n\nThanks.", + "email-sent": "Email sent", + "email-verifyEmail-subject": "Verify your email address on __siteName__", + "email-verifyEmail-text": "Hello __user__,\n\nTo verify your account email, simply click the link below.\n\n__url__\n\nThanks.", + "enable-wip-limit": "Enable WIP Limit", + "error-board-doesNotExist": "This board does not exist", + "error-board-notAdmin": "You need to be admin of this board to do that", + "error-board-notAMember": "You need to be a member of this board to do that", + "error-json-malformed": "Your text is not valid JSON", + "error-json-schema": "Your JSON data does not include the proper information in the correct format", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "This list does not exist", + "error-user-doesNotExist": "This user does not exist", + "error-user-notAllowSelf": "You can not invite yourself", + "error-user-notCreated": "This user is not created", + "error-username-taken": "This username is already taken", + "error-email-taken": "Email has already been taken", + "export-board": "Export board", + "export-board-json": "Export board to JSON", + "export-board-csv": "Export board to CSV", + "export-board-tsv": "Export board to TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "Export board", + "sort": "Sort", + "sort-desc": "Click to Sort List", + "list-sort-by": "Sort the List By:", + "list-label-modifiedAt": "Last Access Time", + "list-label-title": "Name of the List", + "list-label-sort": "Your Manual Order", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Filter", + "filter-cards": "Filter Cards or Lists", + "list-filter-label": "Filter List by Title", + "filter-clear": "Clear filter", + "filter-no-label": "No label", + "filter-no-member": "No member", + "filter-no-assignee": "No assignee", + "filter-no-custom-fields": "No Custom Fields", + "filter-show-archive": "Show archived lists", + "filter-hide-empty": "Hide empty lists", + "filter-on": "Filter is on", + "filter-on-desc": "You are filtering cards on this board. Click here to edit filter.", + "filter-to-selection": "Filter to selection", + "advanced-filter-label": "Advanced Filter", + "advanced-filter-description": "Advanced Filter allows to write a string containing following operators: == != <= >= && || ( ) A space is used as a separator between the Operators. You can filter for all Custom Fields by typing their names and values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need to encapsulate them into single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) to be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally all operators are interpreted from left to right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i", + "fullname": "Full Name", + "header-logo-title": "Go back to your boards page.", + "hide-system-messages": "Hide system messages", + "headerBarCreateBoardPopup-title": "Create Board", + "home": "Home", + "import": "Import", + "link": "Link", + "import-board": "import board", + "import-board-c": "Import board", + "import-board-title-trello": "Import board from Trello", + "import-board-title-wekan": "Import board from previous export", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "From Trello", + "from-wekan": "From previous export", + "from-csv": "From CSV/TSV", + "import-board-instruction-trello": "In your Trello board, go to 'Menu', then 'More', 'Print and Export', 'Export JSON', and copy the resulting text.", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "In your board, go to 'Menu', then 'Export board', and copy the text in the downloaded file.", + "import-board-instruction-about-errors": "If you get errors when importing board, sometimes importing still works, and board is at All Boards page.", + "import-json-placeholder": "Paste your valid JSON data here", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "Map members", + "import-members-map": "Your imported board has some members. Please map the members you want to import to your users", + "import-show-user-mapping": "Review members mapping", + "import-user-select": "Pick your existing user you want to use as this member", + "importMapMembersAddPopup-title": "Select member", + "info": "Version", + "initials": "Initials", + "invalid-date": "Invalid date", + "invalid-time": "Invalid time", + "invalid-user": "Invalid user", + "joined": "joined", + "just-invited": "You are just invited to this board", + "keyboard-shortcuts": "Keyboard shortcuts", + "label-create": "Create Label", + "label-default": "%s label (default)", + "label-delete-pop": "There is no undo. This will remove this label from all cards and destroy its history.", + "labels": "Labels", + "language": "Language", + "last-admin-desc": "You can’t change roles because there must be at least one admin.", + "leave-board": "Leave Board", + "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.", + "leaveBoardPopup-title": "Leave Board ?", + "link-card": "Link to this card", + "list-archive-cards": "Move all cards in this list to Archive", + "list-archive-cards-pop": "This will remove all the cards in this list from the board. To view cards in Archive and bring them back to the board, click “Menu” > “Archive”.", + "list-move-cards": "Move all cards in this list", + "list-select-cards": "Select all cards in this list", + "set-color-list": "Set Color", + "listActionPopup-title": "List Actions", + "swimlaneActionPopup-title": "Swimlane Actions", + "swimlaneAddPopup-title": "Add a Swimlane below", + "listImportCardPopup-title": "Import a Trello card", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "More", + "link-list": "Link to this list", + "list-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the list. There is no undo.", + "list-delete-suggest-archive": "You can move a list to Archive to remove it from the board and preserve the activity.", + "lists": "Lists", + "swimlanes": "Swimlanes", + "log-out": "Log Out", + "log-in": "Log In", + "loginPopup-title": "Log In", + "memberMenuPopup-title": "Member Settings", + "members": "Thành Viên", + "menu": "Menu", + "move-selection": "Move selection", + "moveCardPopup-title": "Move Card", + "moveCardToBottom-title": "Move to Bottom", + "moveCardToTop-title": "Move to Top", + "moveSelectionPopup-title": "Move selection", + "multi-selection": "Multi-Selection", + "multi-selection-on": "Multi-Selection is on", + "muted": "Muted", + "muted-info": "You will never be notified of any changes in this board", + "my-boards": "My Boards", + "name": "Name", + "no-archived-cards": "No cards in Archive.", + "no-archived-lists": "No lists in Archive.", + "no-archived-swimlanes": "No swimlanes in Archive.", + "no-results": "No results", + "normal": "Normal", + "normal-desc": "Can view and edit cards. Can't change settings.", + "not-accepted-yet": "Invitation not accepted yet", + "notify-participate": "Receive updates to any cards you participate as creater or member", + "notify-watch": "Receive updates to any boards, lists, or cards you’re watching", + "optional": "optional", + "or": "or", + "page-maybe-private": "This page may be private. You may be able to view it by logging in.", + "page-not-found": "Page not found.", + "password": "Password", + "paste-or-dragdrop": "to paste, or drag & drop image file to it (image only)", + "participating": "Participating", + "preview": "Preview", + "previewAttachedImagePopup-title": "Preview", + "previewClipboardImagePopup-title": "Preview", + "private": "Private", + "private-desc": "This board is private. Only people added to the board can view and edit it.", + "profile": "Profile", + "public": "Public", + "public-desc": "This board is public. It's visible to anyone with the link and will show up in search engines like Google. Only people added to the board can edit.", + "quick-access-description": "Star a board to add a shortcut in this bar.", + "remove-cover": "Remove Cover", + "remove-from-board": "Remove from Board", + "remove-label": "Remove Label", + "listDeletePopup-title": "Delete List ?", + "remove-member": "Remove Member", + "remove-member-from-card": "Remove from Card", + "remove-member-pop": "Remove __name__ (__username__) from __boardTitle__? The member will be removed from all cards on this board. They will receive a notification.", + "removeMemberPopup-title": "Remove Member?", + "rename": "Rename", + "rename-board": "Đổi tên bảng", + "restore": "Restore", + "save": "Save", + "search": "Search", + "rules": "Rules", + "search-cards": "Search from card/list titles, descriptions and custom fields on this board", + "search-example": "Text to search for?", + "select-color": "Select Color", + "set-wip-limit-value": "Set a limit for the maximum number of tasks in this list", + "setWipLimitPopup-title": "Set WIP Limit", + "shortcut-assign-self": "Assign yourself to current card", + "shortcut-autocomplete-emoji": "Autocomplete emoji", + "shortcut-autocomplete-members": "Autocomplete members", + "shortcut-clear-filters": "Clear all filters", + "shortcut-close-dialog": "Close Dialog", + "shortcut-filter-my-cards": "Filter my cards", + "shortcut-show-shortcuts": "Bring up this shortcuts list", + "shortcut-toggle-filterbar": "Toggle Filter Sidebar", + "shortcut-toggle-sidebar": "Toggle Board Sidebar", + "show-cards-minimum-count": "Show cards count if list contains more than", + "sidebar-open": "Open Sidebar", + "sidebar-close": "Close Sidebar", + "signupPopup-title": "Create an Account", + "star-board-title": "Click to star this board. It will show up at top of your boards list.", + "starred-boards": "Starred Boards", + "starred-boards-description": "Starred boards show up at the top of your boards list.", + "subscribe": "Subscribe", + "team": "Team", + "this-board": "this board", + "this-card": "this card", + "spent-time-hours": "Spent time (hours)", + "overtime-hours": "Overtime (hours)", + "overtime": "Overtime", + "has-overtime-cards": "Has overtime cards", + "has-spenttime-cards": "Has spent time cards", + "time": "Time", + "title": "Title", + "tracking": "Tracking", + "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", + "unassign-member": "Unassign member", + "unsaved-description": "You have an unsaved description.", + "unwatch": "Unwatch", + "upload": "Upload", + "upload-avatar": "Upload an avatar", + "uploaded-avatar": "Uploaded an avatar", + "username": "Username", + "view-it": "View it", + "warn-list-archived": "warning: this card is in an list at Archive", + "watch": "Watch", + "watching": "Watching", + "watching-info": "You will be notified of any change in this board", + "welcome-board": "Welcome Board", + "welcome-swimlane": "Milestone 1", + "welcome-list1": "Basics", + "welcome-list2": "Advanced", + "card-templates-swimlane": "Card Templates", + "list-templates-swimlane": "List Templates", + "board-templates-swimlane": "Board Templates", + "what-to-do": "What do you want to do?", + "wipLimitErrorPopup-title": "Invalid WIP Limit", + "wipLimitErrorPopup-dialog-pt1": "The number of tasks in this list is higher than the WIP limit you've defined.", + "wipLimitErrorPopup-dialog-pt2": "Please move some tasks out of this list, or set a higher WIP limit.", + "admin-panel": "Admin Panel", + "settings": "Settings", + "people": "People", + "registration": "Registration", + "disable-self-registration": "Disable Self-Registration", + "invite": "Invite", + "invite-people": "Invite People", + "to-boards": "To board(s)", + "email-addresses": "Email Addresses", + "smtp-host-description": "The address of the SMTP server that handles your emails.", + "smtp-port-description": "The port your SMTP server uses for outgoing emails.", + "smtp-tls-description": "Enable TLS support for SMTP server", + "smtp-host": "SMTP Host", + "smtp-port": "SMTP Port", + "smtp-username": "Username", + "smtp-password": "Password", + "smtp-tls": "TLS support", + "send-from": "From", + "send-smtp-test": "Send a test email to yourself", + "invitation-code": "Invitation Code", + "email-invite-register-subject": "__inviter__ sent you an invitation", + "email-invite-register-text": "Dear __user__,\n\n__inviter__ invites you to kanban board for collaborations.\n\nPlease follow the link below:\n__url__\n\nAnd your invitation code is: __icode__\n\nThanks.", + "email-smtp-test-subject": "SMTP Test Email", + "email-smtp-test-text": "You have successfully sent an email", + "error-invitation-code-not-exist": "Invitation code doesn't exist", + "error-notAuthorized": "You are not authorized to view this page.", + "webhook-title": "Webhook Name", + "webhook-token": "Token (Optional for Authentication)", + "outgoing-webhooks": "Outgoing Webhooks", + "bidirectional-webhooks": "Two-Way Webhooks", + "outgoingWebhooksPopup-title": "Outgoing Webhooks", + "boardCardTitlePopup-title": "Card Title Filter", + "disable-webhook": "Disable This Webhook", + "global-webhook": "Global Webhooks", + "new-outgoing-webhook": "New Outgoing Webhook", + "no-name": "(Unknown)", + "Node_version": "Node version", + "Meteor_version": "Meteor version", + "MongoDB_version": "MongoDB version", + "MongoDB_storage_engine": "MongoDB storage engine", + "MongoDB_Oplog_enabled": "MongoDB Oplog enabled", + "OS_Arch": "OS Arch", + "OS_Cpus": "OS CPU Count", + "OS_Freemem": "OS Free Memory", + "OS_Loadavg": "OS Load Average", + "OS_Platform": "OS Platform", + "OS_Release": "OS Release", + "OS_Totalmem": "OS Total Memory", + "OS_Type": "OS Type", + "OS_Uptime": "OS Uptime", + "days": "days", + "hours": "hours", + "minutes": "minutes", + "seconds": "seconds", + "show-field-on-card": "Show this field on card", + "automatically-field-on-card": "Auto create field to all cards", + "showLabel-field-on-card": "Show field label on minicard", + "yes": "Yes", + "no": "No", + "accounts": "Accounts", + "accounts-allowEmailChange": "Allow Email Change", + "accounts-allowUserNameChange": "Allow Username Change", + "createdAt": "Created at", + "verified": "Verified", + "active": "Active", + "card-received": "Received", + "card-received-on": "Received on", + "card-end": "End", + "card-end-on": "Ends on", + "editCardReceivedDatePopup-title": "Change received date", + "editCardEndDatePopup-title": "Change end date", + "setCardColorPopup-title": "Set color", + "setCardActionsColorPopup-title": "Choose a color", + "setSwimlaneColorPopup-title": "Choose a color", + "setListColorPopup-title": "Choose a color", + "assigned-by": "Assigned By", + "requested-by": "Requested By", + "board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.", + "delete-board-confirm-popup": "All lists, cards, labels, and activities will be deleted and you won't be able to recover the board contents. There is no undo.", + "boardDeletePopup-title": "Delete Board?", + "delete-board": "Delete Board", + "default-subtasks-board": "Subtasks for __board__ board", + "default": "Default", + "queue": "Queue", + "subtask-settings": "Subtasks Settings", + "card-settings": "Card Settings", + "boardSubtaskSettingsPopup-title": "Board Subtasks Settings", + "boardCardSettingsPopup-title": "Card Settings", + "deposit-subtasks-board": "Deposit subtasks to this board:", + "deposit-subtasks-list": "Landing list for subtasks deposited here:", + "show-parent-in-minicard": "Show parent in minicard:", + "prefix-with-full-path": "Prefix with full path", + "prefix-with-parent": "Prefix with parent", + "subtext-with-full-path": "Subtext with full path", + "subtext-with-parent": "Subtext with parent", + "change-card-parent": "Change card's parent", + "parent-card": "Parent card", + "source-board": "Source board", + "no-parent": "Don't show parent", + "activity-added-label": "added label '%s' to %s", + "activity-removed-label": "removed label '%s' from %s", + "activity-delete-attach": "deleted an attachment from %s", + "activity-added-label-card": "added label '%s'", + "activity-removed-label-card": "removed label '%s'", + "activity-delete-attach-card": "deleted an attachment", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "Rule", + "r-add-trigger": "Add trigger", + "r-add-action": "Add action", + "r-board-rules": "Board rules", + "r-add-rule": "Add rule", + "r-view-rule": "View rule", + "r-delete-rule": "Delete rule", + "r-new-rule-name": "New rule title", + "r-no-rules": "No rules", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "When a card", + "r-is": "is", + "r-is-moved": "is moved", + "r-added-to": "Added to", + "r-removed-from": "Removed from", + "r-the-board": "the board", + "r-list": "list", + "set-filter": "Set Filter", + "r-moved-to": "Moved to", + "r-moved-from": "Moved from", + "r-archived": "Moved to Archive", + "r-unarchived": "Restored from Archive", + "r-a-card": "a card", + "r-when-a-label-is": "When a label is", + "r-when-the-label": "When the label", + "r-list-name": "list name", + "r-when-a-member": "When a member is", + "r-when-the-member": "When the member", + "r-name": "name", + "r-when-a-attach": "When an attachment", + "r-when-a-checklist": "When a checklist is", + "r-when-the-checklist": "When the checklist", + "r-completed": "Completed", + "r-made-incomplete": "Made incomplete", + "r-when-a-item": "When a checklist item is", + "r-when-the-item": "When the checklist item", + "r-checked": "Checked", + "r-unchecked": "Unchecked", + "r-move-card-to": "Move card to", + "r-top-of": "Top of", + "r-bottom-of": "Bottom of", + "r-its-list": "its list", + "r-archive": "Move to Archive", + "r-unarchive": "Restore from Archive", + "r-card": "card", + "r-add": "Thêm", + "r-remove": "Remove", + "r-label": "label", + "r-member": "member", + "r-remove-all": "Remove all members from the card", + "r-set-color": "Set color to", + "r-checklist": "checklist", + "r-check-all": "Check all", + "r-uncheck-all": "Uncheck all", + "r-items-check": "items of checklist", + "r-check": "Check", + "r-uncheck": "Uncheck", + "r-item": "item", + "r-of-checklist": "of checklist", + "r-send-email": "Send an email", + "r-to": "to", + "r-of": "of", + "r-subject": "subject", + "r-rule-details": "Rule details", + "r-d-move-to-top-gen": "Move card to top of its list", + "r-d-move-to-top-spec": "Move card to top of list", + "r-d-move-to-bottom-gen": "Move card to bottom of its list", + "r-d-move-to-bottom-spec": "Move card to bottom of list", + "r-d-send-email": "Send email", + "r-d-send-email-to": "to", + "r-d-send-email-subject": "subject", + "r-d-send-email-message": "message", + "r-d-archive": "Move card to Archive", + "r-d-unarchive": "Restore card from Archive", + "r-d-add-label": "Add label", + "r-d-remove-label": "Remove label", + "r-create-card": "Create new card", + "r-in-list": "in list", + "r-in-swimlane": "in swimlane", + "r-d-add-member": "Add member", + "r-d-remove-member": "Remove member", + "r-d-remove-all-member": "Remove all member", + "r-d-check-all": "Check all items of a list", + "r-d-uncheck-all": "Uncheck all items of a list", + "r-d-check-one": "Check item", + "r-d-uncheck-one": "Uncheck item", + "r-d-check-of-list": "of checklist", + "r-d-add-checklist": "Add checklist", + "r-d-remove-checklist": "Remove checklist", + "r-by": "by", + "r-add-checklist": "Add checklist", + "r-with-items": "with items", + "r-items-list": "item1,item2,item3", + "r-add-swimlane": "Add swimlane", + "r-swimlane-name": "swimlane name", + "r-board-note": "Note: leave a field empty to match every possible value.", + "r-checklist-note": "Note: checklist's items have to be written as comma separated values.", + "r-when-a-card-is-moved": "When a card is moved to another list", + "r-set": "Set", + "r-update": "Update", + "r-datefield": "date field", + "r-df-start-at": "start", + "r-df-due-at": "due", + "r-df-end-at": "end", + "r-df-received-at": "received", + "r-to-current-datetime": "to current date/time", + "r-remove-value-from": "Remove value from", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Authentication method", + "authentication-type": "Authentication type", + "custom-product-name": "Custom Product Name", + "layout": "Layout", + "hide-logo": "Hide Logo", + "add-custom-html-after-body-start": "Add Custom HTML after start", + "add-custom-html-before-body-end": "Add Custom HTML before end", + "error-undefined": "Something went wrong", + "error-ldap-login": "An error occurred while trying to login", + "display-authentication-method": "Display Authentication Method", + "default-authentication-method": "Default Authentication Method", + "duplicate-board": "Duplicate Board", + "people-number": "The number of people is:", + "swimlaneDeletePopup-title": "Delete Swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Restore all", + "delete-all": "Delete all", + "loading": "Loading, please wait.", + "previous_as": "last time was", + "act-a-dueAt": "modified due time to \nWhen: __timeValue__\nWhere: __card__\n previous due was __timeOldValue__", + "act-a-endAt": "modified ending time to __timeValue__ from (__timeOldValue__)", + "act-a-startAt": "modified starting time to __timeValue__ from (__timeOldValue__)", + "act-a-receivedAt": "modified received time to __timeValue__ from (__timeOldValue__)", + "a-dueAt": "modified due time to be", + "a-endAt": "modified ending time to be", + "a-startAt": "modified starting time to be", + "a-receivedAt": "modified received time to be", + "almostdue": "current due time %s is approaching", + "pastdue": "current due time %s is past", + "duenow": "current due time %s is today", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", + "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", + "act-duenow": "was reminding the current due (__timeValue__) of __card__ is now", + "act-atUserComment": "You were mentioned in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Are you sure you want to delete this account? There is no undo.", + "accounts-allowUserDelete": "Allow users to self delete their account", + "hide-minicard-label-text": "Hide minicard label text", + "show-desktop-drag-handles": "Show desktop drag handles", + "assignee": "Assignee", + "cardAssigneesPopup-title": "Assignee", + "addmore-detail": "Add a more detailed description", + "show-on-card": "Show on Card", + "new": "New", + "editUserPopup-title": "Edit User", + "newUserPopup-title": "New User", + "notifications": "Notifications", + "view-all": "View All", + "filter-by-unread": "Filter by Unread", + "mark-all-as-read": "Mark all as read", + "remove-all-read": "Remove all read", + "allow-rename": "Allow Rename", + "allowRenamePopup-title": "Allow Rename", + "start-day-of-week": "Set day of the week start", + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archived", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/zh-CN.i18n.json b/i18n/zh-CN.i18n.json new file mode 100644 index 0000000..6436d9a --- /dev/null +++ b/i18n/zh-CN.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "接受", + "act-activity-notify": "活动通知", + "act-addAttachment": "添加附件 __attachment__ 到看板 __board__ 中的泳道 __swimlane__ 中的列表 __list__ 中的卡片 __card__ 中", + "act-deleteAttachment": "删除看板 __board__ 中的泳道 __swimlane__ 中的列表 __list__ 中的卡片 __card__ 中的附件 __attachment__", + "act-addSubtask": "添加子任务 __subtask__ 到看板 __board__ 中的泳道 __swimlane__ 中的列表 __list__ 中的卡片 __card__ 中", + "act-addLabel": "添加标签 __label__ 到看板 __board__ 中的泳道 __swimlane__ 中的列表 __list__ 中的卡片 __card__ 中", + "act-addedLabel": "添加标签 __label__ 到看板 __board__ 中的泳道 __swimlane__ 中的列表 __list__ 中的卡片 __card__ 中", + "act-removeLabel": "移除看板 __board__ 中的泳道 __swimlane__ 中的列表 __list__ 中的卡片 __card__ 中的标签 __label__", + "act-removedLabel": "移除看板 __board__ 中的泳道 __swimlane__ 中的列表 __list__ 中的卡片 __card__ 中的标签 __label__", + "act-addChecklist": "添加清单 __checklist__ 到看板 __board__ 中的泳道 __swimlane__ 中的列表 __list__ 中的卡片 __card__ 中", + "act-addChecklistItem": "添加清单项 __checklistItem__ 到看板 __board__ 中的泳道 __swimlane__ 中的列表 __list__ 中的卡片 __card__ 中的清单 __checklist__", + "act-removeChecklist": "移除看板 __board__ 中的泳道 __swimlane__ 中的列表 __list__ 中的卡片 __card__ 中的清单 __checklist__", + "act-removeChecklistItem": "移除看板 __board__ 中的泳道 __swimlane__ 中的列表 __list__ 中的卡片 __card__ 中的清单 __checklist__ 清单项 __checklistItem__", + "act-checkedItem": "选中看板 __board__ 中的泳道 __swimlane__ 中的列表 __list__ 中的卡片 __card__ 中的清单 __checklist__ 的清单项 __checklistItem__", + "act-uncheckedItem": "反选看板 __board__ 中的泳道 __swimlane__ 中的列表 __list__ 中的卡片 __card__ 中的清单 __checklist__ 的清单项 __checklistItem__", + "act-completeChecklist": "完成检查列表__checklist__ 卡片 __card__ 列表 __list__ 泳道 __swimlane__ 看板 __board__", + "act-uncompleteChecklist": "看板 __board__ 中的泳道 __swimlane__ 中的列表 __list__ 中的卡片 __card__ 中的清单 __checklist__ 未完成", + "act-addComment": "对看板 __board__ 中的泳道 __swimlane__ 中的列表 __list__ 中的卡片 __card__ 发表了评论: __comment__", + "act-editComment": "编辑卡片中的评论:看板__board__中的泳道__swimlane__中的列表__list__中的评论__comment__", + "act-deleteComment": "删除卡片中的评论:看板__board__中的泳道__swimlane__中的列表__list__中的评论__comment__", + "act-createBoard": "创建看板 __board__", + "act-createSwimlane": "创建泳道 __swimlane__ 到看板 __board__", + "act-createCard": "在看板 __board__ 的泳道 __swimlane__ 的列表 __list__ 中添加卡片 __card__", + "act-createCustomField": "已创建看板__board__中的自定义字段__customField__", + "act-deleteCustomField": "已删除看板__board__中的自定义字段__customField__", + "act-setCustomField": "编辑定制字段__customField__:看板__board__中的泳道__swimlane__中的列表__list__中的卡片__card__中的__customFieldValue__", + "act-createList": "添加列表 __list__ 至看板 __board__", + "act-addBoardMember": "添加成员 __member__ 到看板 __board__", + "act-archivedBoard": "看板 __board__ 已被移入归档", + "act-archivedCard": "将看板 __board__ 中的泳道 __swimlane__ 中的列表 __list__ 中的卡片 移动到归档中", + "act-archivedList": "看板 __board__ 中的泳道 __swimlane__ 中的列表 __list__ 已被移入归档", + "act-archivedSwimlane": "看板 __board__ 中的泳道 __swimlane__ 已被移入归档", + "act-importBoard": "导入看板 __board__", + "act-importCard": "已将卡片 __card__ 导入到 __board__ 看板中的 __swimlane__ 泳道中的 __list__ 列表中", + "act-importList": "已将列表导入到 __board__ 看板中的 __swimlane__  泳道中的 __list__  列表中", + "act-joinMember": "已将成员 __member__  添加到 __board__ 看板中的 __swimlane__ 泳道中的 __list__  列表中的 __card__ 卡片中", + "act-moveCard": "移动卡片 __card__ 到看板 __board__ 从列表 __oldList__ 泳道 __oldSwimlane__ 至列表 __list__ 泳道 __swimlane__", + "act-moveCardToOtherBoard": "移动卡片 __card__ 从列表 __oldList__ 泳道 __oldSwimlane__ 看板 __oldBoard__ 至列表 __list__ 泳道 __swimlane__ 看板 __board__", + "act-removeBoardMember": "从看板 __board__ 移除成员 __member__", + "act-restoredCard": "恢复卡片 __card__ 至列表 __list__ 泳道 __swimlane__ 看板 __board__", + "act-unjoinMember": "移除成员 __member__ 从卡片 __card__ 列表 __list__ a泳道 __swimlane__ 看板 __board__", + "act-withBoardTitle": "看板__board__", + "act-withCardTitle": "[看板 __board__] 卡片 __card__", + "actions": "操作", + "activities": "活动", + "activity": "活动", + "activity-added": "添加 %s 至 %s", + "activity-archived": "%s 已被移入归档", + "activity-attached": "添加附件 %s 至 %s", + "activity-created": "创建 %s", + "activity-customfield-created": "创建了自定义字段 %s", + "activity-excluded": "排除 %s 从 %s", + "activity-imported": "导入 %s 至 %s 从 %s 中", + "activity-imported-board": "已导入 %s 从 %s 中", + "activity-joined": "已关联 %s", + "activity-moved": "将 %s 从 %s 移动到 %s", + "activity-on": "在 %s", + "activity-removed": "从 %s 中移除 %s", + "activity-sent": "发送 %s 至 %s", + "activity-unjoined": "已解除 %s 关联", + "activity-subtask-added": "添加子任务到%s", + "activity-checked-item": "勾选%s于清单%s 共 %s", + "activity-unchecked-item": "未勾选 %s 于清单 %s 共 %s", + "activity-checklist-added": "已经将清单添加到 %s", + "activity-checklist-removed": "已从%s移除待办清单", + "activity-checklist-completed": "完成清单%s共%s", + "activity-checklist-uncompleted": "未完成清单 %s 共 %s", + "activity-checklist-item-added": "添加清单项至'%s' 于 %s", + "activity-checklist-item-removed": "已从 '%s' 于 %s中 移除一个清单项", + "add": "添加", + "activity-checked-item-card": "勾选 %s 与清单 %s 中", + "activity-unchecked-item-card": "取消勾选 %s 于清单 %s中", + "activity-checklist-completed-card": "完成检查列表 __checklist__ 卡片 __card__ 列表 __list__ 泳道 __swimlane__ 看板 __board__", + "activity-checklist-uncompleted-card": "未完成清单 %s", + "activity-editComment": "评论已编辑", + "activity-deleteComment": "评论已删除", + "add-attachment": "添加附件", + "add-board": "添加看板", + "add-card": "添加卡片", + "add-swimlane": "添加泳道图", + "add-subtask": "添加子任务", + "add-checklist": "添加待办清单", + "add-checklist-item": "扩充清单", + "add-cover": "添加封面", + "add-label": "添加标签", + "add-list": "添加列表", + "add-members": "添加成员", + "added": "添加", + "addMemberPopup-title": "成员", + "admin": "管理员", + "admin-desc": "可以浏览并编辑卡片,移除成员,并且更改该看板的设置", + "admin-announcement": "通知", + "admin-announcement-active": "激活系统通知", + "admin-announcement-title": "管理员的通知", + "all-boards": "全部看板", + "and-n-other-card": "和其他 __count__ 个卡片", + "and-n-other-card_plural": "和其他 __count__ 个卡片", + "apply": "应用", + "app-is-offline": "加载中,请稍后。刷新页面将导致数据丢失,如果加载长时间不起作用,请检查服务器是否已经停止工作。", + "archive": "归档", + "archive-all": "全部归档", + "archive-board": "将看板归档", + "archive-card": "将卡片归档", + "archive-list": "将列表归档", + "archive-swimlane": "将泳道归档", + "archive-selection": "将选择归档", + "archiveBoardPopup-title": "是否归档看板?", + "archived-items": "归档", + "archived-boards": "归档的看板", + "restore-board": "还原看板", + "no-archived-boards": "没有归档的看板。", + "archives": "归档", + "template": "模板", + "templates": "模板", + "assign-member": "指派成员", + "attached": "附加", + "attachment": "附件", + "attachment-delete-pop": "删除附件的操作不可逆。", + "attachmentDeletePopup-title": "删除附件?", + "attachments": "附件", + "auto-watch": "自动关注新建的看板", + "avatar-too-big": "头像过大 (上限 70 KB)", + "back": "返回", + "board-change-color": "更改颜色", + "board-nb-stars": "%s 星标", + "board-not-found": "看板不存在", + "board-private-info": "该看板将被设为 私有.", + "board-public-info": "该看板将被设为 公开.", + "boardChangeColorPopup-title": "修改看板背景", + "boardChangeTitlePopup-title": "重命名看板", + "boardChangeVisibilityPopup-title": "更改可视级别", + "boardChangeWatchPopup-title": "更改关注状态", + "boardMenuPopup-title": "看板设置", + "boardChangeViewPopup-title": "看板视图", + "boards": "看板", + "board-view": "看板视图", + "board-view-cal": "日历", + "board-view-swimlanes": "泳道图", + "board-view-collapse": "崩溃", + "board-view-lists": "列表", + "bucket-example": "例如 “目标清单”", + "cancel": "取消", + "card-archived": "归档这个卡片。", + "board-archived": "归档这个看板。", + "card-comments-title": "该卡片有 %s 条评论", + "card-delete-notice": "彻底删除的操作不可恢复,你将会丢失该卡片相关的所有操作记录。", + "card-delete-pop": "所有的活动将从活动摘要中被移除且您将无法重新打开该卡片。此操作无法撤销。", + "card-delete-suggest-archive": "您可以移动卡片到活动以便从看板中删除并保持活动。", + "card-due": "到期", + "card-due-on": "期限", + "card-spent": "耗时", + "card-edit-attachments": "编辑附件", + "card-edit-custom-fields": "编辑自定义字段", + "card-edit-labels": "编辑标签", + "card-edit-members": "编辑成员", + "card-labels-title": "更改该卡片上的标签", + "card-members-title": "在该卡片中添加或移除看板成员", + "card-start": "开始", + "card-start-on": "始于", + "cardAttachmentsPopup-title": "附件来源", + "cardCustomField-datePopup-title": "修改日期", + "cardCustomFieldsPopup-title": "编辑自定义字段", + "cardStartVotingPopup-title": "建立投票", + "positiveVoteMembersPopup-title": "支持", + "negativeVoteMembersPopup-title": "反对", + "card-edit-voting": "编辑投票", + "editVoteEndDatePopup-title": "修改投票截止日期", + "allowNonBoardMembers": "允许所有已登入账户", + "vote-question": "投票题目", + "vote-public": "查看投票结果", + "vote-for-it": "同意", + "vote-against": "反对", + "deleteVotePopup-title": "删除投票?", + "vote-delete-pop": "永久删除。此操作会将所有数据删除掉。", + "cardDeletePopup-title": "彻底删除卡片?", + "cardDetailsActionsPopup-title": "卡片操作", + "cardLabelsPopup-title": "标签", + "cardMembersPopup-title": "成员", + "cardMorePopup-title": "更多", + "cardTemplatePopup-title": "新建模板", + "cards": "卡片", + "cards-count": "卡片", + "casSignIn": "用CAS登录", + "cardType-card": "卡片", + "cardType-linkedCard": "已链接卡片", + "cardType-linkedBoard": "已链接看板", + "change": "变更", + "change-avatar": "更改头像", + "change-password": "更改密码", + "change-permissions": "更改权限", + "change-settings": "更改设置", + "changeAvatarPopup-title": "更改头像", + "changeLanguagePopup-title": "更改语言", + "changePasswordPopup-title": "更改密码", + "changePermissionsPopup-title": "更改权限", + "changeSettingsPopup-title": "更改设置", + "subtasks": "子任务", + "checklists": "清单", + "click-to-star": "点此来标记该看板", + "click-to-unstar": "点此来去除该看板的标记", + "clipboard": "剪贴板或者拖放文件", + "close": "关闭", + "close-board": "关闭看板", + "close-board-pop": "您可以通过主页头部的“归档”按钮,来恢复看板。", + "color-black": "黑色", + "color-blue": "蓝色", + "color-crimson": "深红", + "color-darkgreen": "墨绿", + "color-gold": "金", + "color-gray": "灰", + "color-green": "绿色", + "color-indigo": "靛蓝", + "color-lime": "绿黄", + "color-magenta": "洋红", + "color-mistyrose": "玫瑰红", + "color-navy": "藏青", + "color-orange": "橙色", + "color-paleturquoise": "宝石绿", + "color-peachpuff": "桃红", + "color-pink": "粉红", + "color-plum": "紫红", + "color-purple": "紫色", + "color-red": "红色", + "color-saddlebrown": "棕褐", + "color-silver": "银", + "color-sky": "天蓝", + "color-slateblue": "石板蓝", + "color-white": "白", + "color-yellow": "黄色", + "unset-color": "复原", + "comment": "评论", + "comment-placeholder": "添加评论", + "comment-only": "仅能评论", + "comment-only-desc": "只能在卡片上评论。", + "no-comments": "暂无评论", + "no-comments-desc": "无法查看评论和活动。", + "worker": "人员", + "worker-desc": "只能移动卡片,分配给卡片和评论", + "computer": "从本机上传", + "confirm-subtask-delete-dialog": "确定要删除子任务吗?", + "confirm-checklist-delete-dialog": "确定要删除清单吗?", + "copy-card-link-to-clipboard": "复制卡片链接到剪贴板", + "linkCardPopup-title": "链接卡片", + "searchElementPopup-title": "搜索", + "copyCardPopup-title": "复制卡片", + "copyChecklistToManyCardsPopup-title": "复制清单模板至多个卡片", + "copyChecklistToManyCardsPopup-instructions": "以JSON格式表示目标卡片的标题和描述", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"第一个卡片的标题\", \"description\":\"第一个卡片的描述\"}, {\"title\":\"第二个卡片的标题\",\"description\":\"第二个卡片的描述\"},{\"title\":\"最后一个卡片的标题\",\"description\":\"最后一个卡片的描述\"} ]", + "create": "创建", + "createBoardPopup-title": "创建看板", + "chooseBoardSourcePopup-title": "导入看板", + "createLabelPopup-title": "创建标签", + "createCustomField": "创建字段", + "createCustomFieldPopup-title": "创建字段", + "current": "当前", + "custom-field-delete-pop": "没有撤销,此动作将从所有卡片中移除自定义字段并销毁历史。", + "custom-field-checkbox": "选择框", + "custom-field-currency": "货币", + "custom-field-currency-option": "货币代码", + "custom-field-date": "日期", + "custom-field-dropdown": "下拉列表", + "custom-field-dropdown-none": "(无)", + "custom-field-dropdown-options": "列表选项", + "custom-field-dropdown-options-placeholder": "回车可以加入更多选项", + "custom-field-dropdown-unknown": "(未知)", + "custom-field-number": "数字", + "custom-field-text": "文本", + "custom-fields": "自定义字段", + "date": "日期", + "decline": "拒绝", + "default-avatar": "默认头像", + "delete": "删除", + "deleteCustomFieldPopup-title": "删除自定义字段?", + "deleteLabelPopup-title": "删除标签?", + "description": "描述", + "disambiguateMultiLabelPopup-title": "消除标签歧义", + "disambiguateMultiMemberPopup-title": "消除成员歧义", + "discard": "放弃", + "done": "完成", + "download": "下载", + "edit": "编辑", + "edit-avatar": "更改头像", + "edit-profile": "编辑资料", + "edit-wip-limit": "编辑最大任务数", + "soft-wip-limit": "最大任务数软限制", + "editCardStartDatePopup-title": "修改起始日期", + "editCardDueDatePopup-title": "修改截止日期", + "editCustomFieldPopup-title": "编辑字段", + "editCardSpentTimePopup-title": "修改耗时", + "editLabelPopup-title": "更改标签", + "editNotificationPopup-title": "编辑通知", + "editProfilePopup-title": "编辑资料", + "email": "邮箱", + "email-enrollAccount-subject": "已为您在 __siteName__ 创建帐号", + "email-enrollAccount-text": "尊敬的 __user__,\n\n点击下面的链接,即刻开始使用这项服务。\n\n__url__\n\n谢谢。", + "email-fail": "邮件发送失败", + "email-fail-text": "尝试发送邮件时出错", + "email-invalid": "邮件地址错误", + "email-invite": "发送邮件邀请", + "email-invite-subject": "__inviter__ 向您发出邀请", + "email-invite-text": "尊敬的 __user__,\n\n__inviter__ 邀请您加入看板 \"__board__\" 参与协作。\n\n请点击下面的链接访问看板:\n\n__url__\n\n谢谢。", + "email-resetPassword-subject": "重置您的 __siteName__ 密码", + "email-resetPassword-text": "尊敬的 __user__,\n\n点击下面的链接,重置您的密码:\n\n__url__\n\n谢谢。", + "email-sent": "邮件已发送", + "email-verifyEmail-subject": "在 __siteName__ 验证您的邮件地址", + "email-verifyEmail-text": "尊敬的 __user__,\n\n点击下面的链接,验证您的邮件地址:\n\n__url__\n\n谢谢。", + "enable-wip-limit": "启用最大任务数限制", + "error-board-doesNotExist": "该看板不存在", + "error-board-notAdmin": "需要成为管理员才能执行此操作", + "error-board-notAMember": "需要成为看板成员才能执行此操作", + "error-json-malformed": "文本不是合法的 JSON", + "error-json-schema": "JSON 数据没有用正确的格式包含合适的信息", + "error-csv-schema": "CSV(逗号分隔值)/TSV(制表符分隔值)数据格式的不正确", + "error-list-doesNotExist": "不存在此列表", + "error-user-doesNotExist": "该用户不存在", + "error-user-notAllowSelf": "无法邀请自己", + "error-user-notCreated": "该用户未能成功创建", + "error-username-taken": "此用户名已存在", + "error-email-taken": "此EMail已存在", + "export-board": "导出看板", + "export-board-json": "看板导出为JSON", + "export-board-csv": "看板导出为CSV", + "export-board-tsv": "看板导出为TSV", + "export-board-html": "看板导出为HTML", + "exportBoardPopup-title": "导出看板", + "sort": "排序", + "sort-desc": "点此来将列表排序", + "list-sort-by": "按此来将列表排序:", + "list-label-modifiedAt": "上次访问时间", + "list-label-title": "列表名称", + "list-label-sort": "您手动指定的顺序", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "过滤", + "filter-cards": "过滤卡片或列表", + "list-filter-label": "以标题过滤列表", + "filter-clear": "清空过滤器", + "filter-no-label": "无标签", + "filter-no-member": "无成员", + "filter-no-assignee": "没有代理人", + "filter-no-custom-fields": "无自定义字段", + "filter-show-archive": "显示归档的列表", + "filter-hide-empty": "隐藏空列表", + "filter-on": "过滤器启用", + "filter-on-desc": "你正在过滤该看板上的卡片,点此编辑过滤。", + "filter-to-selection": "要选择的过滤器", + "advanced-filter-label": "高级过滤器", + "advanced-filter-description": "高级过滤器可以使用包含如下操作符的字符串进行过滤:== != <= >= && || ( ) 。操作符之间用空格隔开。输入字段名和数值就可以过滤所有自定义字段。例如:Field1 == Value1。注意如果字段名或数值包含空格,需要用单引号。例如: 'Field 1' == 'Value 1'。要跳过单个控制字符(' \\/),请使用 \\ 转义字符。例如: Field1 = I\\'m。支持组合使用多个条件,例如: F1 == V1 || F1 == V2。通常以从左到右的顺序进行判断。可以通过括号修改顺序,例如:F1 == V1 && ( F2 == V2 || F2 == V3 )。也支持使用正则表达式搜索文本字段。", + "fullname": "全称", + "header-logo-title": "返回您的看板页", + "hide-system-messages": "隐藏系统消息", + "headerBarCreateBoardPopup-title": "创建看板", + "home": "首页", + "import": "导入", + "link": "链接", + "import-board": "导入看板", + "import-board-c": "导入看板", + "import-board-title-trello": "从Trello导入看板", + "import-board-title-wekan": "从以前的导出数据导入看板", + "import-board-title-csv": "导入CSV/TSV看板", + "from-trello": "自 Trello", + "from-wekan": "自以前的导出", + "from-csv": "从CSV/TSV", + "import-board-instruction-trello": "在你的Trello看板中,点击“菜单”,然后选择“更多”,“打印与导出”,“导出为 JSON” 并拷贝结果文本", + "import-board-instruction-csv": "粘贴逗号分隔值(CSV)/制表符分隔值(TSV)。", + "import-board-instruction-wekan": "在您的看板,点击“菜单”,然后“导出看板”,复制下载文件中的文本。", + "import-board-instruction-about-errors": "如果在导入看板时出现错误,导入工作可能仍然在进行中,并且看板已经出现在全部看板页。", + "import-json-placeholder": "粘贴您有效的 JSON 数据至此", + "import-csv-placeholder": "在此处粘贴有效的CSV/TSV数据", + "import-map-members": "映射成员", + "import-members-map": "您导入的看板有一些成员,请映射这些成员到您导入的用户。", + "import-show-user-mapping": "核对成员映射", + "import-user-select": "为这个成员选择您已经存在的用户", + "importMapMembersAddPopup-title": "选择成员", + "info": "版本", + "initials": "缩写", + "invalid-date": "无效日期", + "invalid-time": "非法时间", + "invalid-user": "非法用户", + "joined": "关联", + "just-invited": "您刚刚被邀请加入此看板", + "keyboard-shortcuts": "键盘快捷键", + "label-create": "创建标签", + "label-default": "%s 标签 (默认)", + "label-delete-pop": "此操作不可逆,这将会删除该标签并清除它的历史记录。", + "labels": "标签", + "language": "语言", + "last-admin-desc": "你不能更改角色,因为至少需要一名管理员。", + "leave-board": "离开看板", + "leave-board-pop": "确认要离开 __boardTitle__ 吗?此看板的所有卡片都会将您移除。", + "leaveBoardPopup-title": "离开看板?", + "link-card": "关联至该卡片", + "list-archive-cards": "将此列表中的所有卡片归档", + "list-archive-cards-pop": "将移动看板中列表的所有卡片,查看或回复归档中的卡片,点击“菜单”->“归档”", + "list-move-cards": "移动列表中的所有卡片", + "list-select-cards": "选择列表中的所有卡片", + "set-color-list": "设置颜色", + "listActionPopup-title": "列表操作", + "swimlaneActionPopup-title": "泳道图操作", + "swimlaneAddPopup-title": "在下面添加一个泳道", + "listImportCardPopup-title": "导入 Trello 卡片", + "listImportCardsTsvPopup-title": "导入Excel CSV/TSV", + "listMorePopup-title": "更多", + "link-list": "关联到这个列表", + "list-delete-pop": "所有活动将被从活动动态中删除并且你无法恢复他们,此操作无法撤销。", + "list-delete-suggest-archive": "您可以移动列表到归档以将其从看板中移除并保留活动。", + "lists": "列表", + "swimlanes": "泳道图", + "log-out": "登出", + "log-in": "登录", + "loginPopup-title": "登录", + "memberMenuPopup-title": "成员设置", + "members": "成员", + "menu": "菜单", + "move-selection": "移动选择", + "moveCardPopup-title": "移动卡片", + "moveCardToBottom-title": "移动至底端", + "moveCardToTop-title": "移动至顶端", + "moveSelectionPopup-title": "移动选择", + "multi-selection": "多选", + "multi-selection-on": "多选启用", + "muted": "静默", + "muted-info": "你将不会收到此看板的任何变更通知", + "my-boards": "我的看板", + "name": "名称", + "no-archived-cards": "存档中没有卡片。", + "no-archived-lists": "存档中没有清单。", + "no-archived-swimlanes": "存档中没有泳道。", + "no-results": "无结果", + "normal": "普通", + "normal-desc": "可以创建以及编辑卡片,无法更改设置。", + "not-accepted-yet": "邀请尚未接受", + "notify-participate": "接收以创建者或成员身份参与的卡片的更新", + "notify-watch": "接收所有关注的面板、列表、及卡片的更新", + "optional": "可选", + "or": "或", + "page-maybe-private": "本页面被设为私有. 您必须 登录以浏览其中内容。", + "page-not-found": "页面不存在。", + "password": "密码", + "paste-or-dragdrop": "从剪贴板粘贴,或者拖放文件到它上面 (仅限于图片)", + "participating": "参与", + "preview": "预览", + "previewAttachedImagePopup-title": "预览", + "previewClipboardImagePopup-title": "预览", + "private": "私有", + "private-desc": "该看板将被设为私有。只有该看板成员才可以进行查看和编辑。", + "profile": "资料", + "public": "公开", + "public-desc": "该看板将被公开。任何人均可通过链接查看,并且将对Google和其他搜索引擎开放。只有添加至该看板的成员才可进行编辑。", + "quick-access-description": "星标看板在导航条中添加快捷方式", + "remove-cover": "移除封面", + "remove-from-board": "从看板中删除", + "remove-label": "移除标签", + "listDeletePopup-title": "删除列表", + "remove-member": "移除成员", + "remove-member-from-card": "从该卡片中移除", + "remove-member-pop": "确定从 __boardTitle__ 中移除 __name__ (__username__) 吗? 该成员将被从该看板的所有卡片中移除,同时他会收到一条提醒。", + "removeMemberPopup-title": "删除成员?", + "rename": "重命名", + "rename-board": "重命名看板", + "restore": "还原", + "save": "保存", + "search": "搜索", + "rules": "规则", + "search-cards": "搜寻看板內的卡片/列表标题、描述、自定义字段", + "search-example": "搜索", + "select-color": "选择颜色", + "set-wip-limit-value": "设置此列表中的最大任务数", + "setWipLimitPopup-title": "设置最大任务数", + "shortcut-assign-self": "指派当前卡片给自己", + "shortcut-autocomplete-emoji": "表情符号自动补全", + "shortcut-autocomplete-members": "自动补全成员", + "shortcut-clear-filters": "清空全部过滤器", + "shortcut-close-dialog": "关闭对话框", + "shortcut-filter-my-cards": "过滤我的卡片", + "shortcut-show-shortcuts": "显示此快捷键列表", + "shortcut-toggle-filterbar": "切换过滤器边栏", + "shortcut-toggle-sidebar": "切换面板边栏", + "show-cards-minimum-count": "当列表中的卡片多于此阈值时将显示数量", + "sidebar-open": "打开侧栏", + "sidebar-close": "打开侧栏", + "signupPopup-title": "创建账户", + "star-board-title": "点此来标记该看板,它将会出现在您的看板列表顶部。", + "starred-boards": "已标记看板", + "starred-boards-description": "已标记看板将会出现在您的看板列表顶部。", + "subscribe": "订阅", + "team": "团队", + "this-board": "该看板", + "this-card": "该卡片", + "spent-time-hours": "耗时 (小时)", + "overtime-hours": "超时 (小时)", + "overtime": "超时", + "has-overtime-cards": "有超时卡片", + "has-spenttime-cards": "耗时卡", + "time": "时间", + "title": "标题", + "tracking": "跟踪", + "tracking-info": "当任何包含您(作为创建者或成员)的卡片发生变更时,您将得到通知。", + "type": "类型", + "unassign-member": "取消指派成员", + "unsaved-description": "存在未保存的描述", + "unwatch": "取消关注", + "upload": "上传", + "upload-avatar": "上传头像", + "uploaded-avatar": "头像已经上传", + "username": "用户名", + "view-it": "查看", + "warn-list-archived": "警告:此卡片在列表归档中", + "watch": "关注", + "watching": "关注", + "watching-info": "当此看板发生变更时会通知你", + "welcome-board": "“欢迎”看板", + "welcome-swimlane": "里程碑 1", + "welcome-list1": "基本", + "welcome-list2": "高阶", + "card-templates-swimlane": "卡片模板", + "list-templates-swimlane": "列表模板", + "board-templates-swimlane": "看板模板", + "what-to-do": "要做什么?", + "wipLimitErrorPopup-title": "无效的最大任务数", + "wipLimitErrorPopup-dialog-pt1": "此列表中的任务数量已经超过了设置的最大任务数。", + "wipLimitErrorPopup-dialog-pt2": "请将一些任务移出此列表,或者设置一个更大的最大任务数。", + "admin-panel": "管理面板", + "settings": "设置", + "people": "人员", + "registration": "注册", + "disable-self-registration": "禁止自助注册", + "invite": "邀请", + "invite-people": "邀请人员", + "to-boards": "邀请到看板 (可多选)", + "email-addresses": "电子邮箱地址", + "smtp-host-description": "用于发送邮件的SMTP服务器地址。", + "smtp-port-description": "SMTP服务器端口。", + "smtp-tls-description": "对SMTP服务器启用TLS支持", + "smtp-host": "SMTP服务器", + "smtp-port": "SMTP端口", + "smtp-username": "用户名", + "smtp-password": "密码", + "smtp-tls": "TLS支持", + "send-from": "发件人", + "send-smtp-test": "给自己发送一封测试邮件", + "invitation-code": "邀请码", + "email-invite-register-subject": "__inviter__ 向您发出邀请", + "email-invite-register-text": "亲爱的__user__:\n__inviter__ 邀请您加入到看板\n\n请点击下面的链接:\n__url__\n\n您的邀请码是:__icode__\n\n谢谢。", + "email-smtp-test-subject": "通过SMTP发送测试邮件", + "email-smtp-test-text": "你已成功发送邮件", + "error-invitation-code-not-exist": "邀请码不存在", + "error-notAuthorized": "您无权查看此页面。", + "webhook-title": "Webhook名称", + "webhook-token": "Token(认证选项)", + "outgoing-webhooks": "外部Web挂钩", + "bidirectional-webhooks": "双向Webhook", + "outgoingWebhooksPopup-title": "外部Web挂钩", + "boardCardTitlePopup-title": "卡片标题过滤", + "disable-webhook": "禁用Webhook", + "global-webhook": "全局Webhook", + "new-outgoing-webhook": "新建外部Web挂钩", + "no-name": "(未知)", + "Node_version": "Node.js版本", + "Meteor_version": "Meteor版本", + "MongoDB_version": "MongoDB版本", + "MongoDB_storage_engine": "MongoDB存储引擎", + "MongoDB_Oplog_enabled": "MongoDB Oplog已启用", + "OS_Arch": "系统架构", + "OS_Cpus": "系统 CPU数量", + "OS_Freemem": "系统可用内存", + "OS_Loadavg": "系统负载均衡", + "OS_Platform": "系统平台", + "OS_Release": "系统发布版本", + "OS_Totalmem": "系统全部内存", + "OS_Type": "系统类型", + "OS_Uptime": "系统运行时间", + "days": "天", + "hours": "小时", + "minutes": "分钟", + "seconds": "秒", + "show-field-on-card": "在卡片上显示此字段", + "automatically-field-on-card": "自动创建所有卡片的字段", + "showLabel-field-on-card": "在迷你卡片上显示字段标签", + "yes": "是", + "no": "否", + "accounts": "账号", + "accounts-allowEmailChange": "允许邮箱变更", + "accounts-allowUserNameChange": "允许变更用户名", + "createdAt": "创建于", + "verified": "已验证", + "active": "活跃", + "card-received": "已接收", + "card-received-on": "接收于", + "card-end": "终止", + "card-end-on": "终止于", + "editCardReceivedDatePopup-title": "修改接收日期", + "editCardEndDatePopup-title": "修改终止日期", + "setCardColorPopup-title": "设置颜色", + "setCardActionsColorPopup-title": "选择一种颜色", + "setSwimlaneColorPopup-title": "选择一种颜色", + "setListColorPopup-title": "选择一种颜色", + "assigned-by": "指派人", + "requested-by": "需求人", + "board-delete-notice": "删除时永久操作,将会丢失此看板上的所有列表、卡片和动作。", + "delete-board-confirm-popup": "所有列表、卡片、标签和活动都回被删除,将无法恢复看板内容。不支持撤销。", + "boardDeletePopup-title": "删除看板?", + "delete-board": "删除看板", + "default-subtasks-board": "__board__ 看板的子任务", + "default": "缺省", + "queue": "队列", + "subtask-settings": "子任务设置", + "card-settings": "卡片设置", + "boardSubtaskSettingsPopup-title": "看板子任务设置", + "boardCardSettingsPopup-title": "卡片设置", + "deposit-subtasks-board": "将子任务放入以下看板:", + "deposit-subtasks-list": "将子任务放入以下列表:", + "show-parent-in-minicard": "显示上一级卡片:", + "prefix-with-full-path": "完整路径前缀", + "prefix-with-parent": "上级前缀", + "subtext-with-full-path": "子标题显示完整路径", + "subtext-with-parent": "子标题显示上级", + "change-card-parent": "修改卡片的上级", + "parent-card": "上级卡片", + "source-board": "源看板", + "no-parent": "不显示上级", + "activity-added-label": "已添加标签 '%s' 到 %s", + "activity-removed-label": "已将标签 '%s' 从 %s 移除", + "activity-delete-attach": "已从 %s 删除附件", + "activity-added-label-card": "已添加标签 '%s'", + "activity-removed-label-card": "已移除标签 '%s'", + "activity-delete-attach-card": "已删除附件", + "activity-set-customfield": "设置自定义字段 '%s' 至 '%s' 于 %s", + "activity-unset-customfield": "未设置自定义字段 '%s' 于 %s", + "r-rule": "规则", + "r-add-trigger": "添加触发器", + "r-add-action": "添加行动", + "r-board-rules": "看板规则", + "r-add-rule": "添加规则", + "r-view-rule": "查看规则", + "r-delete-rule": "删除规则", + "r-new-rule-name": "新建规则标题", + "r-no-rules": "暂无规则", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "当一张卡片", + "r-is": "是", + "r-is-moved": "已经移动", + "r-added-to": "添加到", + "r-removed-from": "已移除", + "r-the-board": "该看板", + "r-list": "列表", + "set-filter": "设置过滤器", + "r-moved-to": "移至", + "r-moved-from": "已移动", + "r-archived": "已移动到归档", + "r-unarchived": "已从归档中恢复", + "r-a-card": "一个卡片", + "r-when-a-label-is": "当一个标签是", + "r-when-the-label": "当该标签是", + "r-list-name": "列表名称", + "r-when-a-member": "当一个成员是", + "r-when-the-member": "当该成员", + "r-name": "名称", + "r-when-a-attach": "当一个附件", + "r-when-a-checklist": "当一个清单是", + "r-when-the-checklist": "当该清单", + "r-completed": "已完成", + "r-made-incomplete": "置为未完成", + "r-when-a-item": "当一个清单项是", + "r-when-the-item": "当该清单项", + "r-checked": "勾选", + "r-unchecked": "未勾选", + "r-move-card-to": "移动卡片到", + "r-top-of": "的顶部", + "r-bottom-of": "的尾部", + "r-its-list": "其列表", + "r-archive": "归档", + "r-unarchive": "从归档中恢复", + "r-card": "卡片", + "r-add": "添加", + "r-remove": "移除", + "r-label": "标签", + "r-member": "成员", + "r-remove-all": "从卡片移除所有成员", + "r-set-color": "设置颜色", + "r-checklist": "清单", + "r-check-all": "勾选所有", + "r-uncheck-all": "取消勾选所有", + "r-items-check": "清单条目", + "r-check": "勾选", + "r-uncheck": "取消勾选", + "r-item": "条目", + "r-of-checklist": "清单的", + "r-send-email": "发送邮件", + "r-to": "收件人", + "r-of": "分之", + "r-subject": "标题", + "r-rule-details": "规则详情", + "r-d-move-to-top-gen": "移动卡片到其列表顶部", + "r-d-move-to-top-spec": "移动卡片到列表顶部", + "r-d-move-to-bottom-gen": "移动卡片到其列表尾部", + "r-d-move-to-bottom-spec": "移动卡片到列表尾部", + "r-d-send-email": "发送邮件", + "r-d-send-email-to": "收件人", + "r-d-send-email-subject": "标题", + "r-d-send-email-message": "消息", + "r-d-archive": "将卡片归档", + "r-d-unarchive": "从归档中恢复卡片", + "r-d-add-label": "添加标签", + "r-d-remove-label": "移除标签", + "r-create-card": "创建新卡片", + "r-in-list": "在列表中", + "r-in-swimlane": "在泳道中", + "r-d-add-member": "添加成员", + "r-d-remove-member": "移除成员", + "r-d-remove-all-member": "移除所有成员", + "r-d-check-all": "勾选所有列表项", + "r-d-uncheck-all": "取消勾选所有列表项", + "r-d-check-one": "勾选该项", + "r-d-uncheck-one": "取消勾选", + "r-d-check-of-list": "清单的", + "r-d-add-checklist": "添加待办清单", + "r-d-remove-checklist": "移动待办清单", + "r-by": "在", + "r-add-checklist": "添加待办清单", + "r-with-items": "与项目", + "r-items-list": "项目1,项目2,项目3", + "r-add-swimlane": "添加泳道", + "r-swimlane-name": "泳道名", + "r-board-note": "注意:保留一个空字段去匹配所有可能的值。", + "r-checklist-note": "注意:清单中的项目必须用都好分割。", + "r-when-a-card-is-moved": "当移动卡片到另一个列表时", + "r-set": "设置", + "r-update": "更新", + "r-datefield": "日期字段", + "r-df-start-at": "开始", + "r-df-due-at": "至", + "r-df-end-at": "结束", + "r-df-received-at": "已接收", + "r-to-current-datetime": "到当前日期/时间", + "r-remove-value-from": "从变量中移动", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "认证方式", + "authentication-type": "认证类型", + "custom-product-name": "自定义产品名称", + "layout": "布局", + "hide-logo": "隐藏LOGO", + "add-custom-html-after-body-start": "添加定制的HTML在开始之前", + "add-custom-html-before-body-end": "添加定制的HTML在结束之后", + "error-undefined": "出了点问题", + "error-ldap-login": "尝试登陆时出错", + "display-authentication-method": "显示认证方式", + "default-authentication-method": "缺省认证方式", + "duplicate-board": "复制看板", + "people-number": "人数是:", + "swimlaneDeletePopup-title": "是否删除泳道?", + "swimlane-delete-pop": "所有活动将从活动源中删除,您将无法恢复泳道。此操作无法撤销。", + "restore-all": "全部恢复", + "delete-all": "全部删除", + "loading": "加载中,请稍等。", + "previous_as": "上次是", + "act-a-dueAt": "修改到期时间:\n时间:__timeValue__\n位置:__card__\n上一个到期日是 __timeOldValue__", + "act-a-endAt": "修改结束时间从 (__timeOldValue__) 至 __timeValue__", + "act-a-startAt": "修改开始时间从 (__timeOldValue__) 至 __timeValue__", + "act-a-receivedAt": "修改接收时间从 (__timeOldValue__) 至 __timeValue__", + "a-dueAt": "修改到期时间", + "a-endAt": "修改结束时间", + "a-startAt": "修改开始时间", + "a-receivedAt": "修改接收时间", + "almostdue": "当前到期时间%s即将到来", + "pastdue": "当前到期时间%s已过", + "duenow": "当前到期时间%s为今天", + "act-newDue": "__list__/__card__ 有 1st 到期提醒 [__board__]", + "act-withDue": "__list__/__card__ 到期提醒 [__board__]", + "act-almostdue": "__card__ 的当前到期提醒(__timeValue__) 正在接近", + "act-pastdue": "__card__ 的当前到期提醒(__timeValue__) 已经过去了", + "act-duenow": "__card__ 的当前到期提醒(__timeValue__) 现在到期", + "act-atUserComment": "[__board__] __list__/__card__ 提到了您", + "delete-user-confirm-popup": "确实要删除此帐户吗?此操作无法撤销。", + "accounts-allowUserDelete": "允许用户自行删除其帐户", + "hide-minicard-label-text": "隐藏迷你卡片标签文本", + "show-desktop-drag-handles": "显示桌面拖放手柄", + "assignee": "被指派人", + "cardAssigneesPopup-title": "被指派人", + "addmore-detail": "添加更详细的说明", + "show-on-card": "显示卡片", + "new": "新", + "editUserPopup-title": "修改用户", + "newUserPopup-title": "新增用户", + "notifications": "提示", + "view-all": "查看全部", + "filter-by-unread": "过滤未读", + "mark-all-as-read": "标记全部已读", + "remove-all-read": "移除所有已读", + "allow-rename": "允许重命名", + "allowRenamePopup-title": "允许重命名", + "start-day-of-week": "设定一周的开始", + "monday": "周一", + "tuesday": "周二", + "wednesday": "周三", + "thursday": "周四", + "friday": "周五", + "saturday": "周六", + "sunday": "周日", + "status": "状态", + "swimlane": "泳道", + "owner": "所有者", + "last-modified-at": "上次修改时间", + "last-activity": "上次活动", + "voting": "投票", + "archived": "存档", + "delete-linked-card-before-this-card": "在你首次删除卡片前你无法删除此选项卡片", + "delete-linked-cards-before-this-list": "在首先删除指向此列表中的卡的链接卡之前,不能删除此列表", + "hide-checked-items": "隐藏选中项" +} \ No newline at end of file diff --git a/i18n/zh-HK.i18n.json b/i18n/zh-HK.i18n.json new file mode 100644 index 0000000..2401d08 --- /dev/null +++ b/i18n/zh-HK.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "Accept", + "act-activity-notify": "Activity Notification", + "act-addAttachment": "added attachment __attachment__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteAttachment": "deleted attachment __attachment__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addSubtask": "added subtask __subtask__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addedLabel": "Added label __label__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removedLabel": "Removed label __label__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklist": "added checklist __checklist__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addChecklistItem": "added checklist item __checklistItem__ to checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklist": "removed checklist __checklist__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-removeChecklistItem": "removed checklist item __checklistItem__ from checklist __checkList__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-checkedItem": "checked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncheckedItem": "unchecked __checklistItem__ of checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-completeChecklist": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-uncompleteChecklist": "uncompleted checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-addComment": "commented on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-editComment": "edited comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-deleteComment": "deleted comment on card __card__: __comment__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createBoard": "created board __board__", + "act-createSwimlane": "created swimlane __swimlane__ to board __board__", + "act-createCard": "created card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-createCustomField": "created custom field __customField__ at board __board__", + "act-deleteCustomField": "deleted custom field __customField__ at board __board__", + "act-setCustomField": "edited custom field __customField__: __customFieldValue__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-createList": "added list __list__ to board __board__", + "act-addBoardMember": "added member __member__ to board __board__", + "act-archivedBoard": "Board __board__ moved to Archive", + "act-archivedCard": "Card __card__ at list __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedList": "List __list__ at swimlane __swimlane__ at board __board__ moved to Archive", + "act-archivedSwimlane": "Swimlane __swimlane__ at board __board__ moved to Archive", + "act-importBoard": "imported board __board__", + "act-importCard": "imported card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-importList": "imported list __list__ to swimlane __swimlane__ at board __board__", + "act-joinMember": "added member __member__ to card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-moveCard": "moved card __card__ at board __board__ from list __oldList__ at swimlane __oldSwimlane__ to list __list__ at swimlane __swimlane__", + "act-moveCardToOtherBoard": "moved card __card__ from list __oldList__ at swimlane __oldSwimlane__ at board __oldBoard__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-removeBoardMember": "removed member __member__ from board __board__", + "act-restoredCard": "restored card __card__ to list __list__ at swimlane __swimlane__ at board __board__", + "act-unjoinMember": "removed member __member__ from card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "act-withBoardTitle": "__board__", + "act-withCardTitle": "[__board__] __card__", + "actions": "Actions", + "activities": "Activities", + "activity": "Activity", + "activity-added": "added %s to %s", + "activity-archived": "%s moved to Archive", + "activity-attached": "attached %s to %s", + "activity-created": "created %s", + "activity-customfield-created": "created custom field %s", + "activity-excluded": "excluded %s from %s", + "activity-imported": "imported %s into %s from %s", + "activity-imported-board": "imported %s from %s", + "activity-joined": "joined %s", + "activity-moved": "moved %s from %s to %s", + "activity-on": "on %s", + "activity-removed": "removed %s from %s", + "activity-sent": "sent %s to %s", + "activity-unjoined": "unjoined %s", + "activity-subtask-added": "added subtask to %s", + "activity-checked-item": "checked %s in checklist %s of %s", + "activity-unchecked-item": "unchecked %s in checklist %s of %s", + "activity-checklist-added": "added checklist to %s", + "activity-checklist-removed": "removed a checklist from %s", + "activity-checklist-completed": "completed checklist %s of %s", + "activity-checklist-uncompleted": "uncompleted the checklist %s of %s", + "activity-checklist-item-added": "added checklist item to '%s' in %s", + "activity-checklist-item-removed": "removed a checklist item from '%s' in %s", + "add": "Add", + "activity-checked-item-card": "checked %s in checklist %s", + "activity-unchecked-item-card": "unchecked %s in checklist %s", + "activity-checklist-completed-card": "completed checklist __checklist__ at card __card__ at list __list__ at swimlane __swimlane__ at board __board__", + "activity-checklist-uncompleted-card": "uncompleted the checklist %s", + "activity-editComment": "edited comment %s", + "activity-deleteComment": "deleted comment %s", + "add-attachment": "Add Attachment", + "add-board": "Add Board", + "add-card": "Add Card", + "add-swimlane": "Add Swimlane", + "add-subtask": "Add Subtask", + "add-checklist": "Add Checklist", + "add-checklist-item": "Add an item to checklist", + "add-cover": "Add Cover", + "add-label": "Add Label", + "add-list": "Add List", + "add-members": "Add Members", + "added": "Added", + "addMemberPopup-title": "Members", + "admin": "Admin", + "admin-desc": "Can view and edit cards, remove members, and change settings for the board.", + "admin-announcement": "Announcement", + "admin-announcement-active": "Active System-Wide Announcement", + "admin-announcement-title": "Announcement from Administrator", + "all-boards": "All boards", + "and-n-other-card": "And __count__ other card", + "and-n-other-card_plural": "And __count__ other cards", + "apply": "Apply", + "app-is-offline": "Loading, please wait. Refreshing the page will cause data loss. If loading does not work, please check that server has not stopped.", + "archive": "Move to Archive", + "archive-all": "Move All to Archive", + "archive-board": "Move Board to Archive", + "archive-card": "Move Card to Archive", + "archive-list": "Move List to Archive", + "archive-swimlane": "Move Swimlane to Archive", + "archive-selection": "Move selection to Archive", + "archiveBoardPopup-title": "Move Board to Archive?", + "archived-items": "Archive", + "archived-boards": "Boards in Archive", + "restore-board": "Restore Board", + "no-archived-boards": "No Boards in Archive.", + "archives": "Archive", + "template": "Template", + "templates": "Templates", + "assign-member": "Assign member", + "attached": "attached", + "attachment": "Attachment", + "attachment-delete-pop": "Deleting an attachment is permanent. There is no undo.", + "attachmentDeletePopup-title": "Delete Attachment?", + "attachments": "Attachments", + "auto-watch": "Automatically watch boards when they are created", + "avatar-too-big": "The avatar is too large (70KB max)", + "back": "Back", + "board-change-color": "Change color", + "board-nb-stars": "%s stars", + "board-not-found": "Board not found", + "board-private-info": "This board will be private.", + "board-public-info": "This board will be public.", + "boardChangeColorPopup-title": "Change Board Background", + "boardChangeTitlePopup-title": "Rename Board", + "boardChangeVisibilityPopup-title": "Change Visibility", + "boardChangeWatchPopup-title": "Change Watch", + "boardMenuPopup-title": "Board Settings", + "boardChangeViewPopup-title": "Board View", + "boards": "Boards", + "board-view": "Board View", + "board-view-cal": "Calendar", + "board-view-swimlanes": "Swimlanes", + "board-view-collapse": "Collapse", + "board-view-lists": "Lists", + "bucket-example": "Like “Bucket List” for example", + "cancel": "Cancel", + "card-archived": "This card is moved to Archive.", + "board-archived": "This board is moved to Archive.", + "card-comments-title": "This card has %s comment.", + "card-delete-notice": "Deleting is permanent. You will lose all actions associated with this card.", + "card-delete-pop": "All actions will be removed from the activity feed and you won't be able to re-open the card. There is no undo.", + "card-delete-suggest-archive": "You can move a card to Archive to remove it from the board and preserve the activity.", + "card-due": "Due", + "card-due-on": "Due on", + "card-spent": "Spent Time", + "card-edit-attachments": "Edit attachments", + "card-edit-custom-fields": "Edit custom fields", + "card-edit-labels": "Edit labels", + "card-edit-members": "Edit members", + "card-labels-title": "Change the labels for the card.", + "card-members-title": "Add or remove members of the board from the card.", + "card-start": "Start", + "card-start-on": "Starts on", + "cardAttachmentsPopup-title": "Attach From", + "cardCustomField-datePopup-title": "Change date", + "cardCustomFieldsPopup-title": "Edit custom fields", + "cardStartVotingPopup-title": "Start a vote", + "positiveVoteMembersPopup-title": "Proponents", + "negativeVoteMembersPopup-title": "Opponents", + "card-edit-voting": "Edit voting", + "editVoteEndDatePopup-title": "Change vote end date", + "allowNonBoardMembers": "Allow all logged in users", + "vote-question": "Voting question", + "vote-public": "Show who voted what", + "vote-for-it": "for it", + "vote-against": "against", + "deleteVotePopup-title": "Delete vote?", + "vote-delete-pop": "Deleting is permanent. You will lose all actions associated with this vote.", + "cardDeletePopup-title": "Delete Card?", + "cardDetailsActionsPopup-title": "Card Actions", + "cardLabelsPopup-title": "Labels", + "cardMembersPopup-title": "Members", + "cardMorePopup-title": "More", + "cardTemplatePopup-title": "Create template", + "cards": "Cards", + "cards-count": "Cards", + "casSignIn": "Sign In with CAS", + "cardType-card": "Card", + "cardType-linkedCard": "Linked Card", + "cardType-linkedBoard": "Linked Board", + "change": "Change", + "change-avatar": "Change Avatar", + "change-password": "Change Password", + "change-permissions": "Change permissions", + "change-settings": "Change Settings", + "changeAvatarPopup-title": "Change Avatar", + "changeLanguagePopup-title": "Change Language", + "changePasswordPopup-title": "Change Password", + "changePermissionsPopup-title": "Change Permissions", + "changeSettingsPopup-title": "Change Settings", + "subtasks": "Subtasks", + "checklists": "Checklists", + "click-to-star": "Click to star this board.", + "click-to-unstar": "Click to unstar this board.", + "clipboard": "Clipboard or drag & drop", + "close": "Close", + "close-board": "Close Board", + "close-board-pop": "You will be able to restore the board by clicking the “Archive” button from the home header.", + "color-black": "black", + "color-blue": "blue", + "color-crimson": "crimson", + "color-darkgreen": "darkgreen", + "color-gold": "gold", + "color-gray": "gray", + "color-green": "green", + "color-indigo": "indigo", + "color-lime": "lime", + "color-magenta": "magenta", + "color-mistyrose": "mistyrose", + "color-navy": "navy", + "color-orange": "orange", + "color-paleturquoise": "paleturquoise", + "color-peachpuff": "peachpuff", + "color-pink": "pink", + "color-plum": "plum", + "color-purple": "purple", + "color-red": "red", + "color-saddlebrown": "saddlebrown", + "color-silver": "silver", + "color-sky": "sky", + "color-slateblue": "slateblue", + "color-white": "white", + "color-yellow": "yellow", + "unset-color": "Unset", + "comment": "Comment", + "comment-placeholder": "Write Comment", + "comment-only": "Comment only", + "comment-only-desc": "Can comment on cards only.", + "no-comments": "No comments", + "no-comments-desc": "Can not see comments and activities.", + "worker": "Worker", + "worker-desc": "Can only move cards, assign itself to card and comment.", + "computer": "Computer", + "confirm-subtask-delete-dialog": "Are you sure you want to delete subtask?", + "confirm-checklist-delete-dialog": "Are you sure you want to delete checklist?", + "copy-card-link-to-clipboard": "Copy card link to clipboard", + "linkCardPopup-title": "Link Card", + "searchElementPopup-title": "Search", + "copyCardPopup-title": "Copy Card", + "copyChecklistToManyCardsPopup-title": "Copy Checklist Template to Many Cards", + "copyChecklistToManyCardsPopup-instructions": "Destination Card Titles and Descriptions in this JSON format", + "copyChecklistToManyCardsPopup-format": "[ {\"title\": \"First card title\", \"description\":\"First card description\"}, {\"title\":\"Second card title\",\"description\":\"Second card description\"},{\"title\":\"Last card title\",\"description\":\"Last card description\"} ]", + "create": "Create", + "createBoardPopup-title": "Create Board", + "chooseBoardSourcePopup-title": "Import board", + "createLabelPopup-title": "Create Label", + "createCustomField": "Create Field", + "createCustomFieldPopup-title": "Create Field", + "current": "current", + "custom-field-delete-pop": "There is no undo. This will remove this custom field from all cards and destroy its history.", + "custom-field-checkbox": "Checkbox", + "custom-field-currency": "Currency", + "custom-field-currency-option": "Currency Code", + "custom-field-date": "Date", + "custom-field-dropdown": "Dropdown List", + "custom-field-dropdown-none": "(none)", + "custom-field-dropdown-options": "List Options", + "custom-field-dropdown-options-placeholder": "Press enter to add more options", + "custom-field-dropdown-unknown": "(unknown)", + "custom-field-number": "Number", + "custom-field-text": "Text", + "custom-fields": "Custom Fields", + "date": "Date", + "decline": "Decline", + "default-avatar": "Default avatar", + "delete": "Delete", + "deleteCustomFieldPopup-title": "Delete Custom Field?", + "deleteLabelPopup-title": "Delete Label?", + "description": "Description", + "disambiguateMultiLabelPopup-title": "Disambiguate Label Action", + "disambiguateMultiMemberPopup-title": "Disambiguate Member Action", + "discard": "Discard", + "done": "Done", + "download": "Download", + "edit": "Edit", + "edit-avatar": "Change Avatar", + "edit-profile": "Edit Profile", + "edit-wip-limit": "Edit WIP Limit", + "soft-wip-limit": "Soft WIP Limit", + "editCardStartDatePopup-title": "Change start date", + "editCardDueDatePopup-title": "Change due date", + "editCustomFieldPopup-title": "Edit Field", + "editCardSpentTimePopup-title": "Change spent time", + "editLabelPopup-title": "Change Label", + "editNotificationPopup-title": "Edit Notification", + "editProfilePopup-title": "Edit Profile", + "email": "Email", + "email-enrollAccount-subject": "An account created for you on __siteName__", + "email-enrollAccount-text": "Hello __user__,\n\nTo start using the service, simply click the link below.\n\n__url__\n\nThanks.", + "email-fail": "Sending email failed", + "email-fail-text": "Error trying to send email", + "email-invalid": "Invalid email", + "email-invite": "Invite via Email", + "email-invite-subject": "__inviter__ sent you an invitation", + "email-invite-text": "Dear __user__,\n\n__inviter__ invites you to join board \"__board__\" for collaborations.\n\nPlease follow the link below:\n\n__url__\n\nThanks.", + "email-resetPassword-subject": "Reset your password on __siteName__", + "email-resetPassword-text": "Hello __user__,\n\nTo reset your password, simply click the link below.\n\n__url__\n\nThanks.", + "email-sent": "Email sent", + "email-verifyEmail-subject": "Verify your email address on __siteName__", + "email-verifyEmail-text": "Hello __user__,\n\nTo verify your account email, simply click the link below.\n\n__url__\n\nThanks.", + "enable-wip-limit": "Enable WIP Limit", + "error-board-doesNotExist": "This board does not exist", + "error-board-notAdmin": "You need to be admin of this board to do that", + "error-board-notAMember": "You need to be a member of this board to do that", + "error-json-malformed": "Your text is not valid JSON", + "error-json-schema": "Your JSON data does not include the proper information in the correct format", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "This list does not exist", + "error-user-doesNotExist": "This user does not exist", + "error-user-notAllowSelf": "You can not invite yourself", + "error-user-notCreated": "This user is not created", + "error-username-taken": "This username is already taken", + "error-email-taken": "Email has already been taken", + "export-board": "Export board", + "export-board-json": "Export board to JSON", + "export-board-csv": "Export board to CSV", + "export-board-tsv": "Export board to TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "Export board", + "sort": "Sort", + "sort-desc": "Click to Sort List", + "list-sort-by": "Sort the List By:", + "list-label-modifiedAt": "Last Access Time", + "list-label-title": "Name of the List", + "list-label-sort": "Your Manual Order", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "Filter", + "filter-cards": "Filter Cards or Lists", + "list-filter-label": "Filter List by Title", + "filter-clear": "Clear filter", + "filter-no-label": "No label", + "filter-no-member": "No member", + "filter-no-assignee": "No assignee", + "filter-no-custom-fields": "No Custom Fields", + "filter-show-archive": "Show archived lists", + "filter-hide-empty": "Hide empty lists", + "filter-on": "Filter is on", + "filter-on-desc": "You are filtering cards on this board. Click here to edit filter.", + "filter-to-selection": "Filter to selection", + "advanced-filter-label": "Advanced Filter", + "advanced-filter-description": "Advanced Filter allows to write a string containing following operators: == != <= >= && || ( ) A space is used as a separator between the Operators. You can filter for all Custom Fields by typing their names and values. For Example: Field1 == Value1. Note: If fields or values contains spaces, you need to encapsulate them into single quotes. For Example: 'Field 1' == 'Value 1'. For single control characters (' \\/) to be skipped, you can use \\. For example: Field1 == I\\'m. Also you can combine multiple conditions. For Example: F1 == V1 || F1 == V2. Normally all operators are interpreted from left to right. You can change the order by placing brackets. For Example: F1 == V1 && ( F2 == V2 || F2 == V3 ). Also you can search text fields using regex: F1 == /Tes.*/i", + "fullname": "Full Name", + "header-logo-title": "Go back to your boards page.", + "hide-system-messages": "Hide system messages", + "headerBarCreateBoardPopup-title": "Create Board", + "home": "Home", + "import": "Import", + "link": "Link", + "import-board": "import board", + "import-board-c": "Import board", + "import-board-title-trello": "Import board from Trello", + "import-board-title-wekan": "Import board from previous export", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "From Trello", + "from-wekan": "From previous export", + "from-csv": "From CSV/TSV", + "import-board-instruction-trello": "In your Trello board, go to 'Menu', then 'More', 'Print and Export', 'Export JSON', and copy the resulting text.", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "In your board, go to 'Menu', then 'Export board', and copy the text in the downloaded file.", + "import-board-instruction-about-errors": "If you get errors when importing board, sometimes importing still works, and board is at All Boards page.", + "import-json-placeholder": "Paste your valid JSON data here", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "Map members", + "import-members-map": "Your imported board has some members. Please map the members you want to import to your users", + "import-show-user-mapping": "Review members mapping", + "import-user-select": "Pick your existing user you want to use as this member", + "importMapMembersAddPopup-title": "Select member", + "info": "Version", + "initials": "Initials", + "invalid-date": "Invalid date", + "invalid-time": "Invalid time", + "invalid-user": "Invalid user", + "joined": "joined", + "just-invited": "You are just invited to this board", + "keyboard-shortcuts": "Keyboard shortcuts", + "label-create": "Create Label", + "label-default": "%s label (default)", + "label-delete-pop": "There is no undo. This will remove this label from all cards and destroy its history.", + "labels": "Labels", + "language": "Language", + "last-admin-desc": "You can’t change roles because there must be at least one admin.", + "leave-board": "Leave Board", + "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.", + "leaveBoardPopup-title": "Leave Board ?", + "link-card": "Link to this card", + "list-archive-cards": "Move all cards in this list to Archive", + "list-archive-cards-pop": "This will remove all the cards in this list from the board. To view cards in Archive and bring them back to the board, click “Menu” > “Archive”.", + "list-move-cards": "Move all cards in this list", + "list-select-cards": "Select all cards in this list", + "set-color-list": "Set Color", + "listActionPopup-title": "List Actions", + "swimlaneActionPopup-title": "Swimlane Actions", + "swimlaneAddPopup-title": "Add a Swimlane below", + "listImportCardPopup-title": "Import a Trello card", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "More", + "link-list": "Link to this list", + "list-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the list. There is no undo.", + "list-delete-suggest-archive": "You can move a list to Archive to remove it from the board and preserve the activity.", + "lists": "Lists", + "swimlanes": "Swimlanes", + "log-out": "Log Out", + "log-in": "登入", + "loginPopup-title": "登入", + "memberMenuPopup-title": "Member Settings", + "members": "Members", + "menu": "Menu", + "move-selection": "Move selection", + "moveCardPopup-title": "Move Card", + "moveCardToBottom-title": "Move to Bottom", + "moveCardToTop-title": "Move to Top", + "moveSelectionPopup-title": "Move selection", + "multi-selection": "Multi-Selection", + "multi-selection-on": "Multi-Selection is on", + "muted": "Muted", + "muted-info": "You will never be notified of any changes in this board", + "my-boards": "My Boards", + "name": "Name", + "no-archived-cards": "No cards in Archive.", + "no-archived-lists": "No lists in Archive.", + "no-archived-swimlanes": "No swimlanes in Archive.", + "no-results": "No results", + "normal": "Normal", + "normal-desc": "Can view and edit cards. Can't change settings.", + "not-accepted-yet": "Invitation not accepted yet", + "notify-participate": "Receive updates to any cards you participate as creater or member", + "notify-watch": "Receive updates to any boards, lists, or cards you’re watching", + "optional": "optional", + "or": "or", + "page-maybe-private": "This page may be private. You may be able to view it by logging in.", + "page-not-found": "Page not found.", + "password": "Password", + "paste-or-dragdrop": "to paste, or drag & drop image file to it (image only)", + "participating": "Participating", + "preview": "Preview", + "previewAttachedImagePopup-title": "Preview", + "previewClipboardImagePopup-title": "Preview", + "private": "Private", + "private-desc": "This board is private. Only people added to the board can view and edit it.", + "profile": "Profile", + "public": "Public", + "public-desc": "This board is public. It's visible to anyone with the link and will show up in search engines like Google. Only people added to the board can edit.", + "quick-access-description": "Star a board to add a shortcut in this bar.", + "remove-cover": "Remove Cover", + "remove-from-board": "Remove from Board", + "remove-label": "Remove Label", + "listDeletePopup-title": "Delete List ?", + "remove-member": "Remove Member", + "remove-member-from-card": "Remove from Card", + "remove-member-pop": "Remove __name__ (__username__) from __boardTitle__? The member will be removed from all cards on this board. They will receive a notification.", + "removeMemberPopup-title": "Remove Member?", + "rename": "Rename", + "rename-board": "Rename Board", + "restore": "Restore", + "save": "儲存", + "search": "Search", + "rules": "Rules", + "search-cards": "Search from card/list titles, descriptions and custom fields on this board", + "search-example": "Text to search for?", + "select-color": "Select Color", + "set-wip-limit-value": "Set a limit for the maximum number of tasks in this list", + "setWipLimitPopup-title": "Set WIP Limit", + "shortcut-assign-self": "Assign yourself to current card", + "shortcut-autocomplete-emoji": "Autocomplete emoji", + "shortcut-autocomplete-members": "Autocomplete members", + "shortcut-clear-filters": "Clear all filters", + "shortcut-close-dialog": "Close Dialog", + "shortcut-filter-my-cards": "Filter my cards", + "shortcut-show-shortcuts": "Bring up this shortcuts list", + "shortcut-toggle-filterbar": "Toggle Filter Sidebar", + "shortcut-toggle-sidebar": "Toggle Board Sidebar", + "show-cards-minimum-count": "Show cards count if list contains more than", + "sidebar-open": "Open Sidebar", + "sidebar-close": "Close Sidebar", + "signupPopup-title": "Create an Account", + "star-board-title": "Click to star this board. It will show up at top of your boards list.", + "starred-boards": "Starred Boards", + "starred-boards-description": "Starred boards show up at the top of your boards list.", + "subscribe": "Subscribe", + "team": "Team", + "this-board": "this board", + "this-card": "this card", + "spent-time-hours": "Spent time (hours)", + "overtime-hours": "Overtime (hours)", + "overtime": "Overtime", + "has-overtime-cards": "Has overtime cards", + "has-spenttime-cards": "Has spent time cards", + "time": "Time", + "title": "Title", + "tracking": "Tracking", + "tracking-info": "You will be notified of any changes to those cards you are involved as creator or member.", + "type": "Type", + "unassign-member": "Unassign member", + "unsaved-description": "You have an unsaved description.", + "unwatch": "Unwatch", + "upload": "Upload", + "upload-avatar": "Upload an avatar", + "uploaded-avatar": "Uploaded an avatar", + "username": "Username", + "view-it": "View it", + "warn-list-archived": "warning: this card is in an list at Archive", + "watch": "Watch", + "watching": "Watching", + "watching-info": "You will be notified of any change in this board", + "welcome-board": "Welcome Board", + "welcome-swimlane": "Milestone 1", + "welcome-list1": "Basics", + "welcome-list2": "Advanced", + "card-templates-swimlane": "Card Templates", + "list-templates-swimlane": "List Templates", + "board-templates-swimlane": "Board Templates", + "what-to-do": "What do you want to do?", + "wipLimitErrorPopup-title": "Invalid WIP Limit", + "wipLimitErrorPopup-dialog-pt1": "The number of tasks in this list is higher than the WIP limit you've defined.", + "wipLimitErrorPopup-dialog-pt2": "Please move some tasks out of this list, or set a higher WIP limit.", + "admin-panel": "Admin Panel", + "settings": "Settings", + "people": "People", + "registration": "Registration", + "disable-self-registration": "Disable Self-Registration", + "invite": "Invite", + "invite-people": "Invite People", + "to-boards": "To board(s)", + "email-addresses": "Email Addresses", + "smtp-host-description": "The address of the SMTP server that handles your emails.", + "smtp-port-description": "The port your SMTP server uses for outgoing emails.", + "smtp-tls-description": "Enable TLS support for SMTP server", + "smtp-host": "SMTP Host", + "smtp-port": "SMTP Port", + "smtp-username": "Username", + "smtp-password": "Password", + "smtp-tls": "TLS support", + "send-from": "From", + "send-smtp-test": "Send a test email to yourself", + "invitation-code": "Invitation Code", + "email-invite-register-subject": "__inviter__ sent you an invitation", + "email-invite-register-text": "Dear __user__,\n\n__inviter__ invites you to kanban board for collaborations.\n\nPlease follow the link below:\n__url__\n\nAnd your invitation code is: __icode__\n\nThanks.", + "email-smtp-test-subject": "SMTP Test Email", + "email-smtp-test-text": "You have successfully sent an email", + "error-invitation-code-not-exist": "Invitation code doesn't exist", + "error-notAuthorized": "You are not authorized to view this page.", + "webhook-title": "Webhook Name", + "webhook-token": "Token (Optional for Authentication)", + "outgoing-webhooks": "Outgoing Webhooks", + "bidirectional-webhooks": "Two-Way Webhooks", + "outgoingWebhooksPopup-title": "Outgoing Webhooks", + "boardCardTitlePopup-title": "Card Title Filter", + "disable-webhook": "Disable This Webhook", + "global-webhook": "Global Webhooks", + "new-outgoing-webhook": "New Outgoing Webhook", + "no-name": "(Unknown)", + "Node_version": "Node version", + "Meteor_version": "Meteor version", + "MongoDB_version": "MongoDB version", + "MongoDB_storage_engine": "MongoDB storage engine", + "MongoDB_Oplog_enabled": "MongoDB Oplog enabled", + "OS_Arch": "OS Arch", + "OS_Cpus": "OS CPU Count", + "OS_Freemem": "OS Free Memory", + "OS_Loadavg": "OS Load Average", + "OS_Platform": "OS Platform", + "OS_Release": "OS Release", + "OS_Totalmem": "OS Total Memory", + "OS_Type": "OS Type", + "OS_Uptime": "OS Uptime", + "days": "days", + "hours": "hours", + "minutes": "minutes", + "seconds": "seconds", + "show-field-on-card": "Show this field on card", + "automatically-field-on-card": "Auto create field to all cards", + "showLabel-field-on-card": "Show field label on minicard", + "yes": "Yes", + "no": "No", + "accounts": "Accounts", + "accounts-allowEmailChange": "Allow Email Change", + "accounts-allowUserNameChange": "Allow Username Change", + "createdAt": "Created at", + "verified": "Verified", + "active": "Active", + "card-received": "Received", + "card-received-on": "Received on", + "card-end": "End", + "card-end-on": "Ends on", + "editCardReceivedDatePopup-title": "Change received date", + "editCardEndDatePopup-title": "Change end date", + "setCardColorPopup-title": "Set color", + "setCardActionsColorPopup-title": "Choose a color", + "setSwimlaneColorPopup-title": "Choose a color", + "setListColorPopup-title": "Choose a color", + "assigned-by": "Assigned By", + "requested-by": "Requested By", + "board-delete-notice": "Deleting is permanent. You will lose all lists, cards and actions associated with this board.", + "delete-board-confirm-popup": "All lists, cards, labels, and activities will be deleted and you won't be able to recover the board contents. There is no undo.", + "boardDeletePopup-title": "Delete Board?", + "delete-board": "Delete Board", + "default-subtasks-board": "Subtasks for __board__ board", + "default": "Default", + "queue": "Queue", + "subtask-settings": "Subtasks Settings", + "card-settings": "Card Settings", + "boardSubtaskSettingsPopup-title": "Board Subtasks Settings", + "boardCardSettingsPopup-title": "Card Settings", + "deposit-subtasks-board": "Deposit subtasks to this board:", + "deposit-subtasks-list": "Landing list for subtasks deposited here:", + "show-parent-in-minicard": "Show parent in minicard:", + "prefix-with-full-path": "Prefix with full path", + "prefix-with-parent": "Prefix with parent", + "subtext-with-full-path": "Subtext with full path", + "subtext-with-parent": "Subtext with parent", + "change-card-parent": "Change card's parent", + "parent-card": "Parent card", + "source-board": "Source board", + "no-parent": "Don't show parent", + "activity-added-label": "added label '%s' to %s", + "activity-removed-label": "removed label '%s' from %s", + "activity-delete-attach": "deleted an attachment from %s", + "activity-added-label-card": "added label '%s'", + "activity-removed-label-card": "removed label '%s'", + "activity-delete-attach-card": "deleted an attachment", + "activity-set-customfield": "set custom field '%s' to '%s' in %s", + "activity-unset-customfield": "unset custom field '%s' in %s", + "r-rule": "Rule", + "r-add-trigger": "Add trigger", + "r-add-action": "Add action", + "r-board-rules": "Board rules", + "r-add-rule": "Add rule", + "r-view-rule": "View rule", + "r-delete-rule": "Delete rule", + "r-new-rule-name": "New rule title", + "r-no-rules": "No rules", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "When a card", + "r-is": "is", + "r-is-moved": "is moved", + "r-added-to": "Added to", + "r-removed-from": "Removed from", + "r-the-board": "the board", + "r-list": "list", + "set-filter": "Set Filter", + "r-moved-to": "Moved to", + "r-moved-from": "Moved from", + "r-archived": "Moved to Archive", + "r-unarchived": "Restored from Archive", + "r-a-card": "a card", + "r-when-a-label-is": "When a label is", + "r-when-the-label": "When the label", + "r-list-name": "list name", + "r-when-a-member": "When a member is", + "r-when-the-member": "When the member", + "r-name": "name", + "r-when-a-attach": "When an attachment", + "r-when-a-checklist": "When a checklist is", + "r-when-the-checklist": "When the checklist", + "r-completed": "Completed", + "r-made-incomplete": "Made incomplete", + "r-when-a-item": "When a checklist item is", + "r-when-the-item": "When the checklist item", + "r-checked": "Checked", + "r-unchecked": "Unchecked", + "r-move-card-to": "Move card to", + "r-top-of": "Top of", + "r-bottom-of": "Bottom of", + "r-its-list": "its list", + "r-archive": "Move to Archive", + "r-unarchive": "Restore from Archive", + "r-card": "card", + "r-add": "Add", + "r-remove": "Remove", + "r-label": "label", + "r-member": "member", + "r-remove-all": "Remove all members from the card", + "r-set-color": "Set color to", + "r-checklist": "checklist", + "r-check-all": "Check all", + "r-uncheck-all": "Uncheck all", + "r-items-check": "items of checklist", + "r-check": "Check", + "r-uncheck": "Uncheck", + "r-item": "item", + "r-of-checklist": "of checklist", + "r-send-email": "Send an email", + "r-to": "to", + "r-of": "of", + "r-subject": "subject", + "r-rule-details": "Rule details", + "r-d-move-to-top-gen": "Move card to top of its list", + "r-d-move-to-top-spec": "Move card to top of list", + "r-d-move-to-bottom-gen": "Move card to bottom of its list", + "r-d-move-to-bottom-spec": "Move card to bottom of list", + "r-d-send-email": "Send email", + "r-d-send-email-to": "to", + "r-d-send-email-subject": "subject", + "r-d-send-email-message": "message", + "r-d-archive": "Move card to Archive", + "r-d-unarchive": "Restore card from Archive", + "r-d-add-label": "Add label", + "r-d-remove-label": "Remove label", + "r-create-card": "Create new card", + "r-in-list": "in list", + "r-in-swimlane": "in swimlane", + "r-d-add-member": "Add member", + "r-d-remove-member": "Remove member", + "r-d-remove-all-member": "Remove all member", + "r-d-check-all": "Check all items of a list", + "r-d-uncheck-all": "Uncheck all items of a list", + "r-d-check-one": "Check item", + "r-d-uncheck-one": "Uncheck item", + "r-d-check-of-list": "of checklist", + "r-d-add-checklist": "Add checklist", + "r-d-remove-checklist": "Remove checklist", + "r-by": "by", + "r-add-checklist": "Add checklist", + "r-with-items": "with items", + "r-items-list": "item1,item2,item3", + "r-add-swimlane": "Add swimlane", + "r-swimlane-name": "swimlane name", + "r-board-note": "Note: leave a field empty to match every possible value.", + "r-checklist-note": "Note: checklist's items have to be written as comma separated values.", + "r-when-a-card-is-moved": "When a card is moved to another list", + "r-set": "Set", + "r-update": "Update", + "r-datefield": "date field", + "r-df-start-at": "start", + "r-df-due-at": "due", + "r-df-end-at": "end", + "r-df-received-at": "received", + "r-to-current-datetime": "to current date/time", + "r-remove-value-from": "Remove value from", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "Authentication method", + "authentication-type": "Authentication type", + "custom-product-name": "Custom Product Name", + "layout": "Layout", + "hide-logo": "Hide Logo", + "add-custom-html-after-body-start": "Add Custom HTML after start", + "add-custom-html-before-body-end": "Add Custom HTML before end", + "error-undefined": "Something went wrong", + "error-ldap-login": "An error occurred while trying to login", + "display-authentication-method": "Display Authentication Method", + "default-authentication-method": "Default Authentication Method", + "duplicate-board": "Duplicate Board", + "people-number": "The number of people is:", + "swimlaneDeletePopup-title": "Delete Swimlane ?", + "swimlane-delete-pop": "All actions will be removed from the activity feed and you won't be able to recover the swimlane. There is no undo.", + "restore-all": "Restore all", + "delete-all": "Delete all", + "loading": "Loading, please wait.", + "previous_as": "last time was", + "act-a-dueAt": "modified due time to \nWhen: __timeValue__\nWhere: __card__\n previous due was __timeOldValue__", + "act-a-endAt": "modified ending time to __timeValue__ from (__timeOldValue__)", + "act-a-startAt": "modified starting time to __timeValue__ from (__timeOldValue__)", + "act-a-receivedAt": "modified received time to __timeValue__ from (__timeOldValue__)", + "a-dueAt": "modified due time to be", + "a-endAt": "modified ending time to be", + "a-startAt": "modified starting time to be", + "a-receivedAt": "modified received time to be", + "almostdue": "current due time %s is approaching", + "pastdue": "current due time %s is past", + "duenow": "current due time %s is today", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "was reminding the current due (__timeValue__) of __card__ is approaching", + "act-pastdue": "was reminding the current due (__timeValue__) of __card__ is past", + "act-duenow": "was reminding the current due (__timeValue__) of __card__ is now", + "act-atUserComment": "You were mentioned in [__board__] __list__/__card__", + "delete-user-confirm-popup": "Are you sure you want to delete this account? There is no undo.", + "accounts-allowUserDelete": "Allow users to self delete their account", + "hide-minicard-label-text": "Hide minicard label text", + "show-desktop-drag-handles": "Show desktop drag handles", + "assignee": "Assignee", + "cardAssigneesPopup-title": "Assignee", + "addmore-detail": "Add a more detailed description", + "show-on-card": "Show on Card", + "new": "New", + "editUserPopup-title": "Edit User", + "newUserPopup-title": "New User", + "notifications": "Notifications", + "view-all": "View All", + "filter-by-unread": "Filter by Unread", + "mark-all-as-read": "Mark all as read", + "remove-all-read": "Remove all read", + "allow-rename": "Allow Rename", + "allowRenamePopup-title": "Allow Rename", + "start-day-of-week": "Set day of the week start", + "monday": "Monday", + "tuesday": "Tuesday", + "wednesday": "Wednesday", + "thursday": "Thursday", + "friday": "Friday", + "saturday": "Saturday", + "sunday": "Sunday", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archived", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/i18n/zh-TW.i18n.json b/i18n/zh-TW.i18n.json new file mode 100644 index 0000000..10a72d2 --- /dev/null +++ b/i18n/zh-TW.i18n.json @@ -0,0 +1,815 @@ +{ + "accept": "接受", + "act-activity-notify": "活動通知", + "act-addAttachment": "附件 __attachment__ 已新增到卡片 __card__ 位於清單 __list__  泳道  __swimlane__ 看板 __board__", + "act-deleteAttachment": "已刪除的附件__附件__卡片上__卡片__在清單__清單__at swimlane__swimlane__在看板__看板__", + "act-addSubtask": "新增子任務 __子任務 __ to card __卡片__ at list_清單__ at swimlane __分隔線__ at board __看板__", + "act-addLabel": "新增標籤 __label__ 到看板 __board__ 中的泳道 __swimlane__ 中的清單 __list__ 中的卡片 __card__ 中", + "act-addedLabel": "新增標籤 __label__ 到看板 __board__ 中的泳道 __swimlane__ 中的清單 __list__ 中的卡片 __card__ 中", + "act-removeLabel": "移除看板 __board__ 中的泳道 __swimlane__ 中的清單 __list__ 中的卡片 __card__ 中的標籤 __label__", + "act-removedLabel": "移除看板 __board__ 中的泳道 __swimlane__ 中的清單 __list__ 中的卡片 __card__ 中的標籤 __label__", + "act-addChecklist": "新增清單 __checklist__ 到看板 __board__ 中的泳道 __swimlane__ 中的清單 __list__ 中的卡片 __card__ 中", + "act-addChecklistItem": "新增清單項 __checklistItem__ 到看板 __board__ 中的泳道 __swimlane__ 中的清單 __list__ 中的卡片 __card__ 中的清單 __checklist__", + "act-removeChecklist": "移除看板 __board__ 中的泳道 __swimlane__ 中的清單 __list__ 中的卡片 __card__ 中的清單 __checklist__", + "act-removeChecklistItem": "移除看板 __board__ 中的泳道 __swimlane__ 中的清單 __list__ 中的卡片 __card__ 中的清單 __checklist__ 清單項 __checklistItem__", + "act-checkedItem": "選中看板 __board__ 中的泳道 __swimlane__ 中的清單 __list__ 中的卡片 __card__ 中的清單 __checklist__ 的清單項 __checklistItem__", + "act-uncheckedItem": "取消選取__選取清單項目__清單上__清單__在卡片__卡片__在清單__清單__在分隔線__分隔線__在看板__看板__", + "act-completeChecklist": "完成檢查清單__checklist__ 卡片 __card__ 清單 __list__ 泳道 __swimlane__ 看板 __board__", + "act-uncompleteChecklist": "看板 __board__ 中的泳道 __swimlane__ 中的清單 __list__ 中的卡片 __card__ 中的清單 __checklist__ 未完成", + "act-addComment": "對看板 __board__ 中的泳道 __swimlane__ 中的清單 __list__ 中的卡片 __card__ 發表了評論: __comment__", + "act-editComment": "編輯卡片中的評論:看板__board__中的泳道__swimlane__中的清單__list__中的評論__comment__", + "act-deleteComment": "刪除卡片中的評論:看板__board__中的泳道__swimlane__中的清單__list__中的評論__comment__", + "act-createBoard": "新增看板 __board__", + "act-createSwimlane": "新增泳道 __swimlane__ 到看板 __board__", + "act-createCard": "在看板 __board__ 的泳道 __swimlane__ 的清單 __list__ 中新增卡片 __card__", + "act-createCustomField": "已新增看板__board__自訂欄位__customField__", + "act-deleteCustomField": "已刪除看板__board__自訂欄位__customField__", + "act-setCustomField": "編輯自訂欄位__customField__:看板__board__中的泳道__swimlane__中的清單__list__中的卡片__card__中的__customFieldValue__", + "act-createList": "新增清單 __list__ 至看板 __board__", + "act-addBoardMember": "新增成員 __member__ 到看板 __board__", + "act-archivedBoard": "看板 __board__ 已被移到封存", + "act-archivedCard": "將看板 __board__ 中的泳道 __swimlane__ 中的清單 __list__ 中的卡片 移動到封存中", + "act-archivedList": "看板 __board__ 中的泳道 __swimlane__ 中的清單 __list__ 已被移入封存", + "act-archivedSwimlane": "看板 __board__ 中的泳道 __swimlane__ 已被移入封存", + "act-importBoard": "匯入看板 __board__", + "act-importCard": "已將卡片 __card__ 匯入到 __board__ 看板中的 __swimlane__ 泳道中的 __list__ 清單中", + "act-importList": "已將清單匯入到 __board__ 看板中的 __swimlane__  泳道中的 __list__  清單中", + "act-joinMember": "已將成員 __member__  新增到 __board__ 看板中的 __swimlane__ 泳道中的 __list__  清單中的 __card__ 卡片中", + "act-moveCard": "移動卡片 __card__ 到看板 __board__ 從清單 __oldList__ 泳道 __oldSwimlane__ 至清單 __list__ 泳道 __swimlane__", + "act-moveCardToOtherBoard": "移動卡片 __card__ 從清單 __oldList__ 泳道 __oldSwimlane__ 看板 __oldBoard__ 至清單 __list__ 泳道 __swimlane__ 看板 __board__", + "act-removeBoardMember": "從看板 __board__ 移除成員 __member__", + "act-restoredCard": "恢覆卡片 __card__ 至清單 __list__ 泳道 __swimlane__ 看板 __board__", + "act-unjoinMember": "移除成員 __member__ 從卡片 __card__ 清單 __list__ a泳道 __swimlane__ 看板 __board__", + "act-withBoardTitle": "看板__board__", + "act-withCardTitle": "[看板 __board__] 卡片 __card__", + "actions": "操作", + "activities": "活動紀錄", + "activity": "活動", + "activity-added": "新增 %s 到 %s", + "activity-archived": "%s 已被移到封存", + "activity-attached": "已新增附件 %s 到 %s", + "activity-created": "新增 %s", + "activity-customfield-created": "已建立的自訂欄位 %s", + "activity-excluded": "排除 %s 從 %s", + "activity-imported": "匯入 %s 到 %s 從 %s 中", + "activity-imported-board": "已匯入 %s 從 %s 中", + "activity-joined": "已關聯 %s", + "activity-moved": "將 %s 從 %s 移到 %s", + "activity-on": "在 %s", + "activity-removed": "已移除 %s 從 %s 中", + "activity-sent": "已寄送 %s 到 %s", + "activity-unjoined": "已解除關聯 %s", + "activity-subtask-added": "已新增子任務到 %s", + "activity-checked-item": "勾選%s於清單%s 共 %s", + "activity-unchecked-item": "未勾選 %s 於清單 %s 共 %s", + "activity-checklist-added": "已新增待辦清單 %s", + "activity-checklist-removed": "已刪除%s的待辦清單", + "activity-checklist-completed": "已完成清單 %s 共 %s 項", + "activity-checklist-uncompleted": "未完成清單 %s 共 %s 項", + "activity-checklist-item-added": "新增待辦清單項目從 %s 到 %s", + "activity-checklist-item-removed": "已從 '%s' 於 %s中 移除一個清單項", + "add": "新增", + "activity-checked-item-card": "勾選 %s 與清單 %s 中", + "activity-unchecked-item-card": "取消勾選 %s 於清單 %s中", + "activity-checklist-completed-card": "完成檢查清單 __checklist__ 卡片 __card__ 清單 __list__ 泳道 __swimlane__ 看板 __board__", + "activity-checklist-uncompleted-card": "未完成清單 %s", + "activity-editComment": "評論已編輯", + "activity-deleteComment": "評論已刪除", + "add-attachment": "新增附件", + "add-board": "新增看板", + "add-card": "新增卡片", + "add-swimlane": "新增泳道", + "add-subtask": "新增子任務", + "add-checklist": "新增待辦清單", + "add-checklist-item": "新增項目", + "add-cover": "新增封面", + "add-label": "新增標籤", + "add-list": "新增清單", + "add-members": "新增成員", + "added": "新增", + "addMemberPopup-title": "成員", + "admin": "管理員", + "admin-desc": "可以瀏覽並編輯卡片,移除成員,並且更改該看板的設定", + "admin-announcement": "通知", + "admin-announcement-active": "啟用系統公告", + "admin-announcement-title": "來自管理員的公告訊息", + "all-boards": "全部看板", + "and-n-other-card": "和其他 __count__ 個卡片", + "and-n-other-card_plural": "和其他 __count__ 個卡片", + "apply": "應用", + "app-is-offline": "頁面載入中,請稍後。重新整理頁面將會造成尚未儲存的資料遺失,如果載入太久,請檢查伺服器是否已經停止工作。", + "archive": "封存", + "archive-all": "全部封存", + "archive-board": "將看板封存", + "archive-card": "將卡片封存", + "archive-list": "將清單封存", + "archive-swimlane": "將泳道封存", + "archive-selection": "將選擇封存", + "archiveBoardPopup-title": "是否封存看板?", + "archived-items": "封存", + "archived-boards": "封存的看板", + "restore-board": "還原看板", + "no-archived-boards": "沒有封存的看板。", + "archives": "封存", + "template": "範本", + "templates": "範本", + "assign-member": "分配成員", + "attached": "附加", + "attachment": "附件", + "attachment-delete-pop": "刪除附件的操作不可逆。", + "attachmentDeletePopup-title": "刪除附件?", + "attachments": "附件", + "auto-watch": "自動訂閱新建立的看板", + "avatar-too-big": "頭像過大 (上限 70 KB)", + "back": "返回", + "board-change-color": "更改顏色", + "board-nb-stars": "%s 星星", + "board-not-found": "看板不存在", + "board-private-info": "該看板將被設為 私有.", + "board-public-info": "該看板將被設為 公開.", + "boardChangeColorPopup-title": "修改看板背景", + "boardChangeTitlePopup-title": "重新命名看板", + "boardChangeVisibilityPopup-title": "更改可見度", + "boardChangeWatchPopup-title": "更改訂閱狀態", + "boardMenuPopup-title": "看板設定", + "boardChangeViewPopup-title": "看板檢視", + "boards": "看板", + "board-view": "看板檢視", + "board-view-cal": "日曆", + "board-view-swimlanes": "泳道", + "board-view-collapse": "損毀", + "board-view-lists": "清單", + "bucket-example": "例如 “目標清單”", + "cancel": "取消", + "card-archived": "封存這個卡片。", + "board-archived": "封存這個看板。", + "card-comments-title": "該卡片有 %s 條評論", + "card-delete-notice": "永久刪除是無法復原的,你將會失去這張卡片的所有相關操作記錄。", + "card-delete-pop": "所有的活動將從活動摘要中被移除且您將無法重新打開該卡片。此操作無法撤銷。", + "card-delete-suggest-archive": "您可以移動卡片到活動以便從看板中刪除並保持活動。", + "card-due": "到期日", + "card-due-on": "期限", + "card-spent": "耗時", + "card-edit-attachments": "編輯附件", + "card-edit-custom-fields": "編輯自訂欄位", + "card-edit-labels": "編輯標籤", + "card-edit-members": "編輯成員", + "card-labels-title": "更改該卡片上的標籤", + "card-members-title": "在該卡片中新增或移除看板成員", + "card-start": "開始", + "card-start-on": "開始於", + "cardAttachmentsPopup-title": "附件來源", + "cardCustomField-datePopup-title": "修改日期", + "cardCustomFieldsPopup-title": "編輯自訂欄位", + "cardStartVotingPopup-title": "建立投票", + "positiveVoteMembersPopup-title": "支持", + "negativeVoteMembersPopup-title": "反對", + "card-edit-voting": "Edit voting", + "editVoteEndDatePopup-title": "Change vote end date", + "allowNonBoardMembers": "Allow all logged in users", + "vote-question": "投票題目", + "vote-public": "Show who voted what", + "vote-for-it": "同意", + "vote-against": "反對", + "deleteVotePopup-title": "Delete vote?", + "vote-delete-pop": "Deleting is permanent. You will lose all actions associated with this vote.", + "cardDeletePopup-title": "徹底刪除卡片?", + "cardDetailsActionsPopup-title": "卡片操作", + "cardLabelsPopup-title": "標籤", + "cardMembersPopup-title": "成員", + "cardMorePopup-title": "更多", + "cardTemplatePopup-title": "建立範本", + "cards": "卡片", + "cards-count": "卡片", + "casSignIn": "以 CAS 登入", + "cardType-card": "卡片", + "cardType-linkedCard": "已連結卡片", + "cardType-linkedBoard": "已連結看板", + "change": "變更", + "change-avatar": "更換大頭貼", + "change-password": "變更密碼", + "change-permissions": "變更權限", + "change-settings": "更改設定", + "changeAvatarPopup-title": "更換大頭貼", + "changeLanguagePopup-title": "更改語系", + "changePasswordPopup-title": "變更密碼", + "changePermissionsPopup-title": "變更權限", + "changeSettingsPopup-title": "更改設定", + "subtasks": "子任務", + "checklists": "待辦清單", + "click-to-star": "將看板加入我的最愛。", + "click-to-unstar": "從我的最愛移除此看板。", + "clipboard": "剪貼簿貼上或者拖曳檔案", + "close": "關閉", + "close-board": "關閉看板", + "close-board-pop": "您可以透過點擊首頁中的「封存」按鈕來還原看板。", + "color-black": "黑色", + "color-blue": "藍色", + "color-crimson": "深紅", + "color-darkgreen": "墨綠", + "color-gold": "金色", + "color-gray": "灰色", + "color-green": "綠色", + "color-indigo": "紫藍色", + "color-lime": "綠黃", + "color-magenta": "洋紅", + "color-mistyrose": "玫瑰紅", + "color-navy": "藏青色", + "color-orange": "橙色", + "color-paleturquoise": "寶石綠", + "color-peachpuff": "桃紅色", + "color-pink": "粉紅色", + "color-plum": "紫紅色", + "color-purple": "紫色", + "color-red": "紅色", + "color-saddlebrown": "棕褐色", + "color-silver": "銀色", + "color-sky": "天藍", + "color-slateblue": "青藍", + "color-white": "白色", + "color-yellow": "黃色", + "unset-color": "未設定", + "comment": "評論", + "comment-placeholder": "撰寫文字", + "comment-only": "僅能評論", + "comment-only-desc": "只能在卡片上發表評論。", + "no-comments": "暫無評論", + "no-comments-desc": "無法檢視評論和活動。", + "worker": "工作者", + "worker-desc": "只能移動卡片,分配給自己及發表評論。", + "computer": "從本機上傳", + "confirm-subtask-delete-dialog": "確定要刪除子任務嗎?", + "confirm-checklist-delete-dialog": "確定要刪除清單嗎?", + "copy-card-link-to-clipboard": "將卡片連結複製到剪貼簿", + "linkCardPopup-title": "連結卡片", + "searchElementPopup-title": "搜尋", + "copyCardPopup-title": "複製卡片", + "copyChecklistToManyCardsPopup-title": "複製待辦清單的範本到多個卡片", + "copyChecklistToManyCardsPopup-instructions": "使用此 JSON 格式來表示目標卡片的標題和描述", + "copyChecklistToManyCardsPopup-format": "[ {\\\"title\\\": \\\"第一個卡片標題\\\", \\\"description\\\":\\\"第一個卡片描述\\\"}, {\\\"title\\\":\\\"第二個卡片標題\\\",\\\"description\\\":\\\"第二個卡片描述\\\"},{\\\"title\\\":\\\"最後一個卡片標題\\\",\\\"description\\\":\\\"最後一個卡片描述\\\"} ]", + "create": "建立", + "createBoardPopup-title": "建立看板", + "chooseBoardSourcePopup-title": "匯入看板", + "createLabelPopup-title": "建立標籤", + "createCustomField": "建立欄位", + "createCustomFieldPopup-title": "建立欄位", + "current": "目前", + "custom-field-delete-pop": "此操作將會從所有卡片中移除自訂欄位以及銷毀歷史紀錄,並且無法撤消。", + "custom-field-checkbox": "複選框", + "custom-field-currency": "Currency", + "custom-field-currency-option": "Currency Code", + "custom-field-date": "日期", + "custom-field-dropdown": "下拉式選單", + "custom-field-dropdown-none": "(無)", + "custom-field-dropdown-options": "清單選項", + "custom-field-dropdown-options-placeholder": "按下 Enter 新增更多選項", + "custom-field-dropdown-unknown": "(未知)", + "custom-field-number": "數字", + "custom-field-text": "文字", + "custom-fields": "自訂欄位", + "date": "日期", + "decline": "拒絕", + "default-avatar": "預設大頭貼", + "delete": "刪除", + "deleteCustomFieldPopup-title": "刪除自訂欄位?", + "deleteLabelPopup-title": "刪除標籤?", + "description": "描述", + "disambiguateMultiLabelPopup-title": "清除標籤動作歧義", + "disambiguateMultiMemberPopup-title": "清除成員動作歧義", + "discard": "取消", + "done": "完成", + "download": "下載", + "edit": "編輯", + "edit-avatar": "更換大頭貼", + "edit-profile": "編輯個人資料", + "edit-wip-limit": "編輯 WIP 限制", + "soft-wip-limit": "軟性 WIP 限制", + "editCardStartDatePopup-title": "變更開始日期", + "editCardDueDatePopup-title": "變更到期日期", + "editCustomFieldPopup-title": "編輯欄位", + "editCardSpentTimePopup-title": "變更耗費時間", + "editLabelPopup-title": "更改標籤", + "editNotificationPopup-title": "更改通知", + "editProfilePopup-title": "編輯個人資料", + "email": "電子郵件", + "email-enrollAccount-subject": "您在 __siteName__ 的帳號已經建立", + "email-enrollAccount-text": "親愛的 __user__,\n\n點選下面的連結,即刻開始使用這項服務。\n\n__url__\n\n謝謝。", + "email-fail": "郵件寄送失敗", + "email-fail-text": "嘗試發送郵件時出現錯誤", + "email-invalid": "電子郵件地址錯誤", + "email-invite": "寄送郵件邀請", + "email-invite-subject": "__inviter__ 向您發出邀請", + "email-invite-text": "親愛的 __user__,\n\n__inviter__ 邀請您加入看板 \"__board__\" 參與協作。\n\n請點選下面的連結訪問看板:\n\n__url__\n\n謝謝。", + "email-resetPassword-subject": "重設您在 __siteName__ 的密碼", + "email-resetPassword-text": "您好 __user__,\n\n點選下面的連結,重置您的密碼:\n\n__url__\n\n謝謝。", + "email-sent": "郵件已寄送", + "email-verifyEmail-subject": "驗證您在 __siteName__ 的電子郵件", + "email-verifyEmail-text": "親愛的 __user__,\n\n點選下面的連結,驗證您的電子郵件地址:\n\n__url__\n\n謝謝。", + "enable-wip-limit": "啟用 WIP 限制", + "error-board-doesNotExist": "該看板不存在", + "error-board-notAdmin": "需要成為管理員才能執行此操作", + "error-board-notAMember": "需要成為看板成員才能執行此操作", + "error-json-malformed": "不是有效的 JSON", + "error-json-schema": "JSON 資料沒有用正確的格式包含合適的資訊", + "error-csv-schema": "Your CSV(Comma Separated Values)/TSV (Tab Separated Values) does not include the proper information in the correct format", + "error-list-doesNotExist": "不存在此列表", + "error-user-doesNotExist": "該使用者不存在", + "error-user-notAllowSelf": "不允許對自己執行此操作", + "error-user-notCreated": "該使用者未能成功新增", + "error-username-taken": "這個使用者名稱已被使用", + "error-email-taken": "Email 已被使用", + "export-board": "匯出看板", + "export-board-json": "Export board to JSON", + "export-board-csv": "Export board to CSV", + "export-board-tsv": "Export board to TSV", + "export-board-html": "Export board to HTML", + "exportBoardPopup-title": "匯出看板", + "sort": "排序", + "sort-desc": "點選排序清單", + "list-sort-by": "清單排序依照:", + "list-label-modifiedAt": "最後存取時間", + "list-label-title": "名稱清單", + "list-label-sort": "自定義排序", + "list-label-short-modifiedAt": "(L)", + "list-label-short-title": "(N)", + "list-label-short-sort": "(M)", + "filter": "篩選", + "filter-cards": "篩選卡片或清單", + "list-filter-label": "篩選清單依據標題", + "filter-clear": "清除篩選條件", + "filter-no-label": "沒有標籤", + "filter-no-member": "沒有成員", + "filter-no-assignee": "沒有代理人", + "filter-no-custom-fields": "沒有自訂欄位", + "filter-show-archive": "顯示封存的清單", + "filter-hide-empty": "隱藏空清單", + "filter-on": "篩選器已開啟", + "filter-on-desc": "你正在篩選該看板上的卡片,點此編輯篩選條件。", + "filter-to-selection": "選擇的篩選條件", + "advanced-filter-label": "進階篩選", + "advanced-filter-description": "進階篩選可以使用包含如下運算子的字串進行過濾:== != <= >= && || ( ) 。運算子之間用空格隔開。輸入文字和數值就可以過濾所有自訂內容。例如:Field1 == Value1。注意:如果內容或數值包含空格,需要用單引號。例如: 'Field 1' == 'Value 1'。要跳過單個控制字元(' \\/),請使用 \\ 跳脫字元。例如: Field1 = I\\'m。支援組合使用多個條件,例如: F1 == V1 || F1 == V2。通常以從左到右的順序進行判斷。可以透過括號修改順序,例如:F1 == V1 && ( F2 == V2 || F2 == V3 )。也支援使用 正規表示式 (Regex) 搜尋內容。", + "fullname": "全稱", + "header-logo-title": "返回您的看板頁面", + "hide-system-messages": "隱藏系統訊息", + "headerBarCreateBoardPopup-title": "建立看板", + "home": "首頁", + "import": "匯入", + "link": "連結", + "import-board": "匯入看板", + "import-board-c": "匯入看板", + "import-board-title-trello": "匯入在 Trello 的看板", + "import-board-title-wekan": "從上次的匯出檔匯入看板", + "import-board-title-csv": "Import board from CSV/TSV", + "from-trello": "來自 Trello", + "from-wekan": "從上次的匯出檔", + "from-csv": "From CSV/TSV", + "import-board-instruction-trello": "在你的Trello看板中,點選“功能表”,然後選擇“更多”,“列印與匯出”,“匯出為 JSON” 並拷貝結果文本", + "import-board-instruction-csv": "Paste in your Comma Separated Values(CSV)/ Tab Separated Values (TSV) .", + "import-board-instruction-wekan": "在您的看板,點擊“選單”,然後“匯出看板”,複製下載文件中的文本。", + "import-board-instruction-about-errors": "如果在匯入看板時出現錯誤,匯入工作可能仍然在進行中,並且看板已經出現在全部看板頁。", + "import-json-placeholder": "貼上您有效的 JSON 資料至此", + "import-csv-placeholder": "Paste your valid CSV/TSV data here", + "import-map-members": "複製成員", + "import-members-map": "您匯入的看板有一些成員,請複製這些成員到您匯入的用戶。", + "import-show-user-mapping": "核對複製的成員", + "import-user-select": "選擇現有使用者作為成員", + "importMapMembersAddPopup-title": "選擇成員", + "info": "版本", + "initials": "縮寫", + "invalid-date": "無效的日期", + "invalid-time": "非法的時間", + "invalid-user": "無效的使用者", + "joined": "關聯", + "just-invited": "您剛剛被邀請加入此看板", + "keyboard-shortcuts": "鍵盤快捷鍵", + "label-create": "新增標籤", + "label-default": "%s 標籤 (預設)", + "label-delete-pop": "此操作無法還原,這將會刪除該標籤並清除它的歷史記錄。", + "labels": "標籤", + "language": "語言", + "last-admin-desc": "你不能更改角色,因為至少需要一名管理員。", + "leave-board": "離開看板", + "leave-board-pop": "你確定要離開 __boardTitle__ 嗎?此看板的所有卡片都會將您移除。", + "leaveBoardPopup-title": "離開看板?", + "link-card": "關聯至該卡片", + "list-archive-cards": "封存清單內所有的卡片", + "list-archive-cards-pop": "將移動看板中清單的所有卡片,查看或恢復封存中的卡片,點擊“選單”->“封存”", + "list-move-cards": "移動清單中的所有卡片", + "list-select-cards": "選擇清單中的所有卡片", + "set-color-list": "設定顏色", + "listActionPopup-title": "清單操作", + "swimlaneActionPopup-title": "泳道動作", + "swimlaneAddPopup-title": "在下面新增泳道", + "listImportCardPopup-title": "匯入 Trello 卡片", + "listImportCardsTsvPopup-title": "Import Excel CSV/TSV", + "listMorePopup-title": "更多", + "link-list": "連結到這個清單", + "list-delete-pop": "所有的動作都將從活動動態中被移除且您將無法再開啟該清單\b。此操作無法復原。", + "list-delete-suggest-archive": "您可以移動清單到封存以將其從看板中移除並保留活動。", + "lists": "清單", + "swimlanes": "泳道", + "log-out": "登出", + "log-in": "登入", + "loginPopup-title": "登入", + "memberMenuPopup-title": "成員更改", + "members": "成員", + "menu": "選單", + "move-selection": "移動被選擇的項目", + "moveCardPopup-title": "移動卡片", + "moveCardToBottom-title": "移至最下面", + "moveCardToTop-title": "移至最上面", + "moveSelectionPopup-title": "移動選取的項目", + "multi-selection": "多選", + "multi-selection-on": "多選啟用", + "muted": "取消任何通知", + "muted-info": "您將不會收到有關這個看板的任何訊息", + "my-boards": "我的看板", + "name": "名稱", + "no-archived-cards": "沒有封存的卡片", + "no-archived-lists": "沒有封存的清單", + "no-archived-swimlanes": "沒有封存的泳道", + "no-results": "無結果", + "normal": "普通", + "normal-desc": "可以建立以及編輯卡片,無法更改。", + "not-accepted-yet": "邀請尚未接受", + "notify-participate": "接收與你有關的卡片更新", + "notify-watch": "接收您關注的看板、清單或卡片的更新", + "optional": "選擇性的", + "or": "或", + "page-maybe-private": "本頁面被設為私有. 您必須 登入以瀏覽其中內容。", + "page-not-found": "頁面不存在。", + "password": "密碼", + "paste-or-dragdrop": "從剪貼簿貼上,或者拖曳檔案到它上面 (僅限於圖片)", + "participating": "參與", + "preview": "預覽", + "previewAttachedImagePopup-title": "預覽", + "previewClipboardImagePopup-title": "預覽", + "private": "私有", + "private-desc": "該看板將被設為私有。只有該看板成員才可以進行檢視和編輯。", + "profile": "資料", + "public": "公開", + "public-desc": "該看板將被公開。任何人均可透過連結檢視,並且將對Google和其他搜尋引擎開放。只有加入至該看板的成員才可進行編輯。", + "quick-access-description": "加入我的最愛的看板將會在此導覽列中新增捷徑", + "remove-cover": "移除封面", + "remove-from-board": "從看板中刪除", + "remove-label": "移除標籤", + "listDeletePopup-title": "刪除標籤", + "remove-member": "移除成員", + "remove-member-from-card": "從該卡片中移除", + "remove-member-pop": "確定從 __boardTitle__ 中移除 __name__ (__username__) 嗎? 該成員將被從該看板的所有卡片中移除,同時他會收到一則提醒。", + "removeMemberPopup-title": "刪除成員?", + "rename": "重新命名", + "rename-board": "重新命名看板", + "restore": "還原", + "save": "儲存", + "search": "搜尋", + "rules": "規則", + "search-cards": "搜尋看板內的卡片/清單標題、描述、自訂欄位", + "search-example": "搜尋", + "select-color": "選擇顏色", + "set-wip-limit-value": "設定此清單中的最大任務數", + "setWipLimitPopup-title": "設定 WIP 限制", + "shortcut-assign-self": "分配當前卡片給自己", + "shortcut-autocomplete-emoji": "自動完成表情符號", + "shortcut-autocomplete-members": "自動補齊成員", + "shortcut-clear-filters": "清空全部過濾條件", + "shortcut-close-dialog": "關閉對話方塊", + "shortcut-filter-my-cards": "過濾我的卡片", + "shortcut-show-shortcuts": "顯示此快速鍵清單", + "shortcut-toggle-filterbar": "切換過濾程式邊欄", + "shortcut-toggle-sidebar": "切換面板邊欄", + "show-cards-minimum-count": "顯示卡片數量,當內容超過數量", + "sidebar-open": "開啟側邊欄", + "sidebar-close": "關閉側邊欄", + "signupPopup-title": "建立帳戶", + "star-board-title": "點擊這裡可將看板加入我的最愛,它將會出現在您的看板列表上方。", + "starred-boards": "我的最愛看板", + "starred-boards-description": "加入我的最愛的看板將會出現在您的看板列表上方。", + "subscribe": "訂閱", + "team": "團隊", + "this-board": "這個看板", + "this-card": "這個卡片", + "spent-time-hours": "耗費時間 (小時)", + "overtime-hours": "超時 (小時)", + "overtime": "超時", + "has-overtime-cards": "有卡片已超時", + "has-spenttime-cards": "耗時卡", + "time": "時間", + "title": "標題", + "tracking": "訂閱相關通知", + "tracking-info": "你將會收到與你有關的卡片的所有變更通知", + "type": "類型", + "unassign-member": "取消分配成員", + "unsaved-description": "未儲存的描述", + "unwatch": "取消追蹤", + "upload": "上傳", + "upload-avatar": "上傳大頭貼", + "uploaded-avatar": "大頭貼已經上傳", + "username": "使用者名稱", + "view-it": "檢視", + "warn-list-archived": "警告: 卡片位在封存的清單中", + "watch": "追蹤", + "watching": "訂閱所有通知", + "watching-info": "你將會收到關於這個看板所有的變更通知", + "welcome-board": "歡迎進入看板", + "welcome-swimlane": "里程碑 1", + "welcome-list1": "基本", + "welcome-list2": "進階", + "card-templates-swimlane": "卡片範本", + "list-templates-swimlane": "清單範本", + "board-templates-swimlane": "看板範本", + "what-to-do": "要做什麼?", + "wipLimitErrorPopup-title": "無效的最大任務數", + "wipLimitErrorPopup-dialog-pt1": "此清單中的任務數量已經超過了設定的最大任務數。", + "wipLimitErrorPopup-dialog-pt2": "請將一些任務移出此清單,或者設定一個更大的最大任務數。", + "admin-panel": "系統設定", + "settings": "設定", + "people": "成員", + "registration": "註冊", + "disable-self-registration": "關閉自我註冊", + "invite": "邀請", + "invite-people": "邀請成員", + "to-boards": "至看板()", + "email-addresses": "電子郵件", + "smtp-host-description": "SMTP 外寄郵件伺服器", + "smtp-port-description": "SMTP 外寄郵件伺服器埠號", + "smtp-tls-description": "對 SMTP 啟動 TLS 支援", + "smtp-host": "SMTP 位置", + "smtp-port": "SMTP 埠號", + "smtp-username": "使用者名稱", + "smtp-password": "密碼", + "smtp-tls": "支援 TLS", + "send-from": "寄件人", + "send-smtp-test": "傳送測試郵件給自己", + "invitation-code": "邀請碼", + "email-invite-register-subject": "__inviter__ 向您發出邀請", + "email-invite-register-text": "親愛的__user__:\n__inviter__ 邀請您加入到看板\n\n請點擊下面的連結:\n__url__\n\n您的邀請碼是:__icode__\n\n謝謝。", + "email-smtp-test-subject": "透過SMTP發送測試郵件", + "email-smtp-test-text": "你已成功發送郵件", + "error-invitation-code-not-exist": "邀請碼不存在", + "error-notAuthorized": "您無權限查看此頁面。", + "webhook-title": "Webhook 名稱", + "webhook-token": "Token (認證選項)", + "outgoing-webhooks": "設定訂閱 (Webhooks)", + "bidirectional-webhooks": "雙向訂閱 (Webhooks)", + "outgoingWebhooksPopup-title": "外部訂閱 (Webhooks)", + "boardCardTitlePopup-title": "卡片標題過濾器", + "disable-webhook": "禁用訂閱 (Webhooks)", + "global-webhook": "全域訂閱 (Webhooks)", + "new-outgoing-webhook": "新增連外訂閱 (Webhooks)", + "no-name": "(未知)", + "Node_version": "Node.js 版本", + "Meteor_version": "Meteor 版本", + "MongoDB_version": "MongoDB 版本", + "MongoDB_storage_engine": "MongoDB 儲存引擎", + "MongoDB_Oplog_enabled": "MongoDB Oplog 已啟用", + "OS_Arch": "作業系統架構", + "OS_Cpus": "系統 CPU 數量", + "OS_Freemem": "系統可用記憶體", + "OS_Loadavg": "系統平均負載", + "OS_Platform": "作業系統平台", + "OS_Release": "作業系統版本", + "OS_Totalmem": "系統總記憶體", + "OS_Type": "作業系統類型", + "OS_Uptime": "系統運行時間", + "days": "天", + "hours": "小時", + "minutes": "分鐘", + "seconds": "秒", + "show-field-on-card": "在卡片上顯示這個欄位", + "automatically-field-on-card": "自動在所有卡片建立欄位", + "showLabel-field-on-card": "在迷你卡片中顯示欄位標籤", + "yes": "是", + "no": "否", + "accounts": "帳號", + "accounts-allowEmailChange": "允許變更 Email", + "accounts-allowUserNameChange": "允許修改使用者名稱", + "createdAt": "新增於", + "verified": "已驗證", + "active": "啟用", + "card-received": "已接收", + "card-received-on": "接收於", + "card-end": "完成日", + "card-end-on": "完成於", + "editCardReceivedDatePopup-title": "更改接收日期", + "editCardEndDatePopup-title": "更改完成日期", + "setCardColorPopup-title": "設定顏色", + "setCardActionsColorPopup-title": "選擇顏色", + "setSwimlaneColorPopup-title": "選擇顏色", + "setListColorPopup-title": "選擇顏色", + "assigned-by": "分配者", + "requested-by": "請求者", + "board-delete-notice": "永久刪除是無法復原的,你將會失去這個看板上的所有清單、卡片和動作。", + "delete-board-confirm-popup": "所有清單、卡片、標籤和活動都會被刪除,將無法恢覆看板內容。不支援撤銷。", + "boardDeletePopup-title": "刪除看板?", + "delete-board": "刪除看板", + "default-subtasks-board": "__board__ 看板的子任務", + "default": "預設值", + "queue": "隊列", + "subtask-settings": "子任務設定", + "card-settings": "卡片設定", + "boardSubtaskSettingsPopup-title": "看板子任務設定", + "boardCardSettingsPopup-title": "卡片設定", + "deposit-subtasks-board": "將子任務放入以下看板:", + "deposit-subtasks-list": "將子任務放入以下清單:", + "show-parent-in-minicard": "顯示上一級卡片:", + "prefix-with-full-path": "完整路徑前綴", + "prefix-with-parent": "父層前綴", + "subtext-with-full-path": "子標題顯示完整路徑", + "subtext-with-parent": "子標題顯示父層", + "change-card-parent": "修改卡片的父層", + "parent-card": "父層卡片", + "source-board": "來源看板", + "no-parent": "不顯示上層", + "activity-added-label": "增加標籤%s至%s", + "activity-removed-label": "刪除標籤%s位於%s", + "activity-delete-attach": "刪除%s的附件", + "activity-added-label-card": "新增標籤%s", + "activity-removed-label-card": "刪除標籤%s", + "activity-delete-attach-card": "刪除附件", + "activity-set-customfield": "設定自定欄位 '%s' 至 '%s' 於 %s", + "activity-unset-customfield": "未設定自定欄位 '%s' 於 %s", + "r-rule": "規則", + "r-add-trigger": "新增觸發器", + "r-add-action": "新增動作", + "r-board-rules": "看板規則", + "r-add-rule": "新增規則", + "r-view-rule": "查看規則", + "r-delete-rule": "刪除規則", + "r-new-rule-name": "新規則標題", + "r-no-rules": "暫無規則", + "r-trigger": "Trigger", + "r-action": "Action", + "r-when-a-card": "當一張卡片", + "r-is": "是", + "r-is-moved": "已經移動", + "r-added-to": "Added to", + "r-removed-from": "已移除", + "r-the-board": "該看板", + "r-list": "清單", + "set-filter": "設定過濾器", + "r-moved-to": "移至", + "r-moved-from": "已移動", + "r-archived": "已移動到封存", + "r-unarchived": "已從封存中恢復", + "r-a-card": "一個卡片", + "r-when-a-label-is": "當一個標籤是", + "r-when-the-label": "當該標籤是", + "r-list-name": "清單名稱", + "r-when-a-member": "當一個成員是", + "r-when-the-member": "當該成員", + "r-name": "名稱", + "r-when-a-attach": "當一個附件", + "r-when-a-checklist": "當一個清單是", + "r-when-the-checklist": "當該清單", + "r-completed": "已完成", + "r-made-incomplete": "置為未完成", + "r-when-a-item": "當一個清單項是", + "r-when-the-item": "當該清單項", + "r-checked": "勾選", + "r-unchecked": "未勾選", + "r-move-card-to": "移動卡片到", + "r-top-of": "的頂部", + "r-bottom-of": "的尾部", + "r-its-list": "其清單", + "r-archive": "移到封存", + "r-unarchive": "從封存中恢復", + "r-card": "卡片", + "r-add": "新增", + "r-remove": "移除", + "r-label": "標籤", + "r-member": "成員", + "r-remove-all": "從卡片移除所有成員", + "r-set-color": "設定顏色", + "r-checklist": "清單", + "r-check-all": "勾選所有", + "r-uncheck-all": "取消所有勾選", + "r-items-check": "清單條目", + "r-check": "勾選", + "r-uncheck": "取消勾選", + "r-item": "條目", + "r-of-checklist": "清單的", + "r-send-email": "寄送郵件", + "r-to": "收件人", + "r-of": "of", + "r-subject": "主旨", + "r-rule-details": "詳細規則", + "r-d-move-to-top-gen": "將卡片移到所屬清單頂部", + "r-d-move-to-top-spec": "將卡片移到清單頂部", + "r-d-move-to-bottom-gen": "將卡片移到所屬清單底部", + "r-d-move-to-bottom-spec": "將卡片移到清單底部", + "r-d-send-email": "寄送郵件", + "r-d-send-email-to": "收件人", + "r-d-send-email-subject": "主旨", + "r-d-send-email-message": "訊息", + "r-d-archive": "將卡片封存", + "r-d-unarchive": "從封存中恢復卡片", + "r-d-add-label": "新增標籤", + "r-d-remove-label": "移除標籤", + "r-create-card": "新增新卡片", + "r-in-list": "在清單中", + "r-in-swimlane": "在泳道", + "r-d-add-member": "新增成員", + "r-d-remove-member": "移除成員", + "r-d-remove-all-member": "移除所有成員", + "r-d-check-all": "勾選所有清單項", + "r-d-uncheck-all": "取消所有勾選清單項目", + "r-d-check-one": "勾選該項", + "r-d-uncheck-one": "取消勾選", + "r-d-check-of-list": "清單的", + "r-d-add-checklist": "新增待辦清單", + "r-d-remove-checklist": "移除待辦清單", + "r-by": "在", + "r-add-checklist": "新增待辦清單", + "r-with-items": "與項目", + "r-items-list": "項目1,項目2,項目3", + "r-add-swimlane": "新增泳道", + "r-swimlane-name": "泳道名稱", + "r-board-note": "註解:保留一個空字串去比對所有可能的值。", + "r-checklist-note": "註解:清單中的項目必須使用逗號分隔。", + "r-when-a-card-is-moved": "當移動卡片到另一個清單時", + "r-set": "設定", + "r-update": "更新", + "r-datefield": "日期欄位", + "r-df-start-at": "開始", + "r-df-due-at": "至", + "r-df-end-at": "完成", + "r-df-received-at": "已接收", + "r-to-current-datetime": "到當前日期/時間", + "r-remove-value-from": "移除值從", + "ldap": "LDAP", + "oauth2": "OAuth2", + "cas": "CAS", + "authentication-method": "認證方式", + "authentication-type": "認證類型", + "custom-product-name": "自訂產品名稱", + "layout": "排版", + "hide-logo": "隱藏圖示", + "add-custom-html-after-body-start": "新增自訂的 HTML 在之後開始", + "add-custom-html-before-body-end": "新增自訂的 HTML 在之前結束", + "error-undefined": "發生問題", + "error-ldap-login": "嘗試登入時出現錯誤", + "display-authentication-method": "顯示認證方式", + "default-authentication-method": "預設認證方式", + "duplicate-board": "複製看板", + "people-number": "人數是:", + "swimlaneDeletePopup-title": "是否刪除泳道?", + "swimlane-delete-pop": "所有動作將從活動來源中刪除,您將無法恢復泳道。此操作無法還原。", + "restore-all": "全部還原", + "delete-all": "全部刪除", + "loading": "讀取中,請稍後。", + "previous_as": "上次是", + "act-a-dueAt": "修改到期時間:\n時間:__timeValue__\n位置:__card__\n上一個到期日是 __timeOldValue__", + "act-a-endAt": "修改結束時間從 (__timeOldValue__) 至 __timeValue__", + "act-a-startAt": "修改開始時間從 (__timeOldValue__) 至 __timeValue__", + "act-a-receivedAt": "修改接收時間從 (__timeOldValue__) 至 __timeValue__", + "a-dueAt": "修改到期時間", + "a-endAt": "修改結束時間", + "a-startAt": "修改開始時間", + "a-receivedAt": "修改接收時間", + "almostdue": "當前到期時間%s即將到來", + "pastdue": "當前到期時間%s已過", + "duenow": "當前到期時間%s為今天", + "act-newDue": "__list__/__card__ has 1st due reminder [__board__]", + "act-withDue": "__list__/__card__ due reminders [__board__]", + "act-almostdue": "__card__ 的當前到期提醒(__timeValue__) 正在接近", + "act-pastdue": "__card__ 的當前到期提醒(__timeValue__) 已經過去了", + "act-duenow": "__card__ 的當前到期提醒(__timeValue__) 現在到期", + "act-atUserComment": "You were mentioned in [__board__] __list__/__card__", + "delete-user-confirm-popup": "確定要刪除此帳戶嗎?此操作無法還原。", + "accounts-allowUserDelete": "允許用戶自行刪除其帳戶", + "hide-minicard-label-text": "隱藏迷你卡片標籤內文", + "show-desktop-drag-handles": "顯示桌面拖曳工具", + "assignee": "代理人", + "cardAssigneesPopup-title": "代理人", + "addmore-detail": "新增更多詳細描述", + "show-on-card": "在卡片上顯示", + "new": "新增", + "editUserPopup-title": "編輯使用者", + "newUserPopup-title": "新增使用者", + "notifications": "通知", + "view-all": "檢視全部", + "filter-by-unread": "篩選: 未讀", + "mark-all-as-read": "標示全部已讀", + "remove-all-read": "移除所有已讀", + "allow-rename": "允許更名", + "allowRenamePopup-title": "允許更名", + "start-day-of-week": "一周的第一天", + "monday": "周一", + "tuesday": "週二", + "wednesday": "週三", + "thursday": "週四", + "friday": "週五", + "saturday": "週六", + "sunday": "週日", + "status": "Status", + "swimlane": "Swimlane", + "owner": "Owner", + "last-modified-at": "Last modified at", + "last-activity": "Last activity", + "voting": "Voting", + "archived": "Archived", + "delete-linked-card-before-this-card": "You can not delete this card before first deleting linked card that has", + "delete-linked-cards-before-this-list": "You can not delete this list before first deleting linked cards that are pointing to cards in this list", + "hide-checked-items": "Hide checked items" +} \ No newline at end of file diff --git a/meta/description.md b/meta/description.md new file mode 100644 index 0000000..f56aa82 --- /dev/null +++ b/meta/description.md @@ -0,0 +1,15 @@ +Wekan is an open-source and collaborative kanban board application. + +Whether you’re maintaining a personal todo list, planning your holidays with +some friends, or working in a team on your next revolutionary idea, Kanban +boards are an unbeatable tool to keep your things organized. They give you a +visual overview of the current state of your project, and make you productive by +allowing you to focus on the few items that matter the most. + +Wekan implements all the goodness of kanban board in an open-source software +that is free to use and modify. It supports most features you would expect of it +including a real-time user interface, cards comments, member assignations, +customizable labels, filtered views, and more. + +Wekan supports Sandstorm as a first-class platform and integrates with its +sharing model for seamless collaboration. diff --git a/meta/dwrensha-pgp-sig b/meta/dwrensha-pgp-sig new file mode 100644 index 0000000..0ee50fa Binary files /dev/null and b/meta/dwrensha-pgp-sig differ diff --git a/meta/icons/wekan-128.svg b/meta/icons/wekan-128.svg new file mode 100644 index 0000000..d6e1ac5 --- /dev/null +++ b/meta/icons/wekan-128.svg @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/meta/icons/wekan-150.png b/meta/icons/wekan-150.png new file mode 100644 index 0000000..e8e89c6 Binary files /dev/null and b/meta/icons/wekan-150.png differ diff --git a/meta/icons/wekan-150.svg b/meta/icons/wekan-150.svg new file mode 100644 index 0000000..51d4eed --- /dev/null +++ b/meta/icons/wekan-150.svg @@ -0,0 +1,68 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/meta/icons/wekan-24.svg b/meta/icons/wekan-24.svg new file mode 100644 index 0000000..d19a65a --- /dev/null +++ b/meta/icons/wekan-24.svg @@ -0,0 +1,34 @@ + + + + + + + + + + + + + diff --git a/meta/keyring b/meta/keyring new file mode 100644 index 0000000..50ebb06 Binary files /dev/null and b/meta/keyring differ diff --git a/meta/mquandalle-pgp-sig b/meta/mquandalle-pgp-sig new file mode 100644 index 0000000..8b41cef Binary files /dev/null and b/meta/mquandalle-pgp-sig differ diff --git a/meta/screenshots/board_view_01.png b/meta/screenshots/board_view_01.png new file mode 100755 index 0000000..6151a17 Binary files /dev/null and b/meta/screenshots/board_view_01.png differ diff --git a/meta/screenshots/board_view_02.png b/meta/screenshots/board_view_02.png new file mode 100755 index 0000000..2e745a7 Binary files /dev/null and b/meta/screenshots/board_view_02.png differ diff --git a/meta/t9n-changelog/fi.md b/meta/t9n-changelog/fi.md new file mode 100644 index 0000000..b27c092 --- /dev/null +++ b/meta/t9n-changelog/fi.md @@ -0,0 +1,20 @@ +# v0.75 2018-02-16 Wekan julkaisu + +Tämä julkaisu lisää seuraavat ominaisuudet: + +- [Tarkistuslista mallit](https://github.com/wekan/wekan/pull/1470); +- Lisätty [Suomenkielinen muutosloki](https://github.com/wekan/wekan/tree/devel/meta/t9n-changelog) + ja [lisää suomennoksia](https://github.com/wekan/wekan/blob/devel/sandstorm-pkgdef.capnp) + Sandstormiin. + + +Kiitos GitHub käyttäjille erikturk ja xet7 heidän osallistumisistaan. + +# v0.74 2018-02-13 Wekan julkaisu + +Tämä julkaisu korjaa seuraavat bugit: + +- [Poistettu Emoji tuki, jotta MAC osoitteet, kellonajat jne näkyvät oikein](https://github.com/wekan/wekan/commit/056843d66c361594d5d4478cfe86e2e405333b91). + HUOM: Voit silti käyttää Unicode Emojeita, tämä vain poistaa rikkinäisen automaattimuunnoksen Emojeiksi. + +Kiitos GitHub käyttäjälle xet7 osallistumisista. diff --git a/meta/t9n-changelog/fr.md b/meta/t9n-changelog/fr.md new file mode 100644 index 0000000..fed1fbe --- /dev/null +++ b/meta/t9n-changelog/fr.md @@ -0,0 +1,50 @@ +# v0.8 + +Cette version continue l’implémentation des fonctionnalités basique d’un +logiciel de « kanban », en particulier: + +* Pièces jointes aux cartes basiques. Si le fichier joint est une image nous + générons une miniature qui peut être utilisé comme « couverture » de carte + (visible dans la vue générale du tableau); +* Mention et auto-complétion des noms utilisateurs dans la description des + cartes et les commentaires (bien que n’ayant pas encore de système de + notification, cette fonctionnalité est moins utile qu’attendu); +* Vues filtrées, les options de filtrage actuelles sont basées sur les + étiquettes et les membres assignés; +* Créer et supprimer des étiquettes (précédemment nous avions une liste fixée + d’étiquettes) +* Personnalisation de la couleur de fond du tableau. + +Cette version est également la première à offrir la traduction de l’interface +utilisateur. + +Nouvelles langues supportées: français, allemand, japonais, portugais, et turc. + +# v0.7.1 + +Cette version corrige les bogues suivants: + +* Perte inopinée du tri des carte côté serveur; +* Correction d’un bug durant la création des tableaux; +* Focus sur le formulaire de nouvelle list si le tableau est vide. + +# v0.7 + +Cette version débute la transition d’un projet bac à sable en quelque chose de +plus utile. En plus des améliorations de sécurité et de performance (par exemple +l’ouverture des cartes était longue car l'intégralité du DOM était re-généré). +Les nouvelles fonctionnalités incluent: + +* Ajouter et supprimer des étiquettes aux cartes; +* Assigner et retirer l’assignation de membres aux cartes; +* Archiver des cartes (bien que la restauration ne soit pas encore possible); +* Tableaux favoris +* Support du markdown et des emoji dans les commentaires et la description des + cartes; +* Auto-complétion des emoji dans l'éditeur de texte; +* Quelques raccourcis clavier (ex `Ctrl`+`Enter` pour envoyer une entrée + multi-lignes). + +Nous avons également débuté l’intégration avec la plateforme +[Sandstorm](https://sandstorm.io) [en], et distribuons un `spk` (Sandstorm +PacKage) pour cette version et les suivantes. diff --git a/meta/wekanteam-pgp-sig b/meta/wekanteam-pgp-sig new file mode 100644 index 0000000..66a5ace Binary files /dev/null and b/meta/wekanteam-pgp-sig differ diff --git a/models/accountSettings.js b/models/accountSettings.js new file mode 100644 index 0000000..a20303f --- /dev/null +++ b/models/accountSettings.js @@ -0,0 +1,97 @@ +AccountSettings = new Mongo.Collection('accountSettings'); + +AccountSettings.attachSchema( + new SimpleSchema({ + _id: { + type: String, + }, + booleanValue: { + type: Boolean, + optional: true, + }, + sort: { + type: Number, + decimal: true, + }, + createdAt: { + type: Date, + optional: true, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert) { + return new Date(); + } else if (this.isUpsert) { + return { $setOnInsert: new Date() }; + } else { + this.unset(); + } + }, + }, + modifiedAt: { + type: Date, + denyUpdate: false, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert || this.isUpsert || this.isUpdate) { + return new Date(); + } else { + this.unset(); + } + }, + }, + }), +); + +AccountSettings.allow({ + update(userId) { + const user = Users.findOne(userId); + return user && user.isAdmin; + }, +}); + +if (Meteor.isServer) { + Meteor.startup(() => { + AccountSettings._collection._ensureIndex({ modifiedAt: -1 }); + AccountSettings.upsert( + { _id: 'accounts-allowEmailChange' }, + { + $setOnInsert: { + booleanValue: false, + sort: 0, + }, + }, + ); + AccountSettings.upsert( + { _id: 'accounts-allowUserNameChange' }, + { + $setOnInsert: { + booleanValue: false, + sort: 1, + }, + }, + ); + AccountSettings.upsert( + { _id: 'accounts-allowUserDelete' }, + { + $setOnInsert: { + booleanValue: false, + sort: 0, + }, + }, + ); + }); +} + +AccountSettings.helpers({ + allowEmailChange() { + return AccountSettings.findOne('accounts-allowEmailChange').booleanValue; + }, + allowUserNameChange() { + return AccountSettings.findOne('accounts-allowUserNameChange').booleanValue; + }, + allowUserDelete() { + return AccountSettings.findOne('accounts-allowUserDelete').booleanValue; + }, +}); + +export default AccountSettings; diff --git a/models/actions.js b/models/actions.js new file mode 100644 index 0000000..8995d10 --- /dev/null +++ b/models/actions.js @@ -0,0 +1,39 @@ +import { Meteor } from 'meteor/meteor'; + +Actions = new Mongo.Collection('actions'); + +Actions.allow({ + insert(userId, doc) { + return allowIsBoardAdmin(userId, Boards.findOne(doc.boardId)); + }, + update(userId, doc) { + return allowIsBoardAdmin(userId, Boards.findOne(doc.boardId)); + }, + remove(userId, doc) { + return allowIsBoardAdmin(userId, Boards.findOne(doc.boardId)); + }, +}); + +Actions.before.insert((userId, doc) => { + doc.createdAt = new Date(); + doc.modifiedAt = doc.createdAt; +}); + +Actions.before.update((userId, doc, fieldNames, modifier) => { + modifier.$set = modifier.$set || {}; + modifier.$set.modifiedAt = new Date(); +}); + +Actions.helpers({ + description() { + return this.desc; + }, +}); + +if (Meteor.isServer) { + Meteor.startup(() => { + Actions._collection._ensureIndex({ modifiedAt: -1 }); + }); +} + +export default Actions; diff --git a/models/activities.js b/models/activities.js new file mode 100644 index 0000000..b5fcb7d --- /dev/null +++ b/models/activities.js @@ -0,0 +1,314 @@ +// Activities don't need a schema because they are always set from the a trusted +// environment - the server - and there is no risk that a user change the logic +// we use with this collection. Moreover using a schema for this collection +// would be difficult (different activities have different fields) and wouldn't +// bring any direct advantage. +// +// XXX The activities API is not so nice and need some functionalities. For +// instance if a user archive a card, and un-archive it a few seconds later we +// should remove both activities assuming it was an error the user decided to +// revert. +Activities = new Mongo.Collection('activities'); + +Activities.helpers({ + board() { + return Boards.findOne(this.boardId); + }, + oldBoard() { + return Boards.findOne(this.oldBoardId); + }, + user() { + return Users.findOne(this.userId); + }, + member() { + return Users.findOne(this.memberId); + }, + list() { + return Lists.findOne(this.listId); + }, + swimlane() { + return Swimlanes.findOne(this.swimlaneId); + }, + oldSwimlane() { + return Swimlanes.findOne(this.oldSwimlaneId); + }, + oldList() { + return Lists.findOne(this.oldListId); + }, + card() { + return Cards.findOne(this.cardId); + }, + comment() { + return CardComments.findOne(this.commentId); + }, + attachment() { + return Attachments.findOne(this.attachmentId); + }, + checklist() { + return Checklists.findOne(this.checklistId); + }, + checklistItem() { + return ChecklistItems.findOne(this.checklistItemId); + }, + subtasks() { + return Cards.findOne(this.subtaskId); + }, + customField() { + return CustomFields.findOne(this.customFieldId); + }, + // Label activity did not work yet, unable to edit labels when tried this. + //label() { + // return Cards.findOne(this.labelId); + //}, +}); + +Activities.before.update((userId, doc, fieldNames, modifier) => { + modifier.$set = modifier.$set || {}; + modifier.$set.modifiedAt = new Date(); +}); + +Activities.before.insert((userId, doc) => { + doc.createdAt = new Date(); + doc.modifiedAt = doc.createdAt; +}); + +Activities.after.insert((userId, doc) => { + const activity = Activities._transform(doc); + RulesHelper.executeRules(activity); +}); + +if (Meteor.isServer) { + // For efficiency create indexes on the date of creation, and on the date of + // creation in conjunction with the card or board id, as corresponding views + // are largely used in the App. See #524. + Meteor.startup(() => { + Activities._collection._ensureIndex({ createdAt: -1 }); + Activities._collection._ensureIndex({ modifiedAt: -1 }); + Activities._collection._ensureIndex({ cardId: 1, createdAt: -1 }); + Activities._collection._ensureIndex({ boardId: 1, createdAt: -1 }); + Activities._collection._ensureIndex( + { commentId: 1 }, + { partialFilterExpression: { commentId: { $exists: true } } }, + ); + Activities._collection._ensureIndex( + { attachmentId: 1 }, + { partialFilterExpression: { attachmentId: { $exists: true } } }, + ); + Activities._collection._ensureIndex( + { customFieldId: 1 }, + { partialFilterExpression: { customFieldId: { $exists: true } } }, + ); + // Label activity did not work yet, unable to edit labels when tried this. + //Activities._collection._dropIndex({ labelId: 1 }, { "indexKey": -1 }); + //Activities._collection._dropIndex({ labelId: 1 }, { partialFilterExpression: { labelId: { $exists: true } } }); + }); + + Activities.after.insert((userId, doc) => { + const activity = Activities._transform(doc); + let participants = []; + let watchers = []; + let title = 'act-activity-notify'; + const board = Boards.findOne(activity.boardId); + const description = `act-${activity.activityType}`; + const params = { + activityId: activity._id, + }; + if (activity.userId) { + // No need send notification to user of activity + // participants = _.union(participants, [activity.userId]); + const user = activity.user(); + params.user = user.getName(); + params.userEmails = user.emails; + params.userId = activity.userId; + } + if (activity.boardId) { + if (board.title.length > 0) { + params.board = board.title; + } else { + params.board = ''; + } + title = 'act-withBoardTitle'; + params.url = board.absoluteUrl(); + params.boardId = activity.boardId; + } + if (activity.oldBoardId) { + const oldBoard = activity.oldBoard(); + if (oldBoard) { + watchers = _.union(watchers, oldBoard.watchers || []); + params.oldBoard = oldBoard.title; + params.oldBoardId = activity.oldBoardId; + } + } + if (activity.memberId) { + participants = _.union(participants, [activity.memberId]); + params.member = activity.member().getName(); + } + if (activity.listId) { + const list = activity.list(); + watchers = _.union(watchers, list.watchers || []); + params.list = list.title; + params.listId = activity.listId; + } + if (activity.oldListId) { + const oldList = activity.oldList(); + if (oldList) { + watchers = _.union(watchers, oldList.watchers || []); + params.oldList = oldList.title; + params.oldListId = activity.oldListId; + } + } + if (activity.oldSwimlaneId) { + const oldSwimlane = activity.oldSwimlane(); + if (oldSwimlane) { + watchers = _.union(watchers, oldSwimlane.watchers || []); + params.oldSwimlane = oldSwimlane.title; + params.oldSwimlaneId = activity.oldSwimlaneId; + } + } + if (activity.cardId) { + const card = activity.card(); + participants = _.union(participants, [card.userId], card.members || []); + watchers = _.union(watchers, card.watchers || []); + params.card = card.title; + title = 'act-withCardTitle'; + params.url = card.absoluteUrl(); + params.cardId = activity.cardId; + } + if (activity.swimlaneId) { + const swimlane = activity.swimlane(); + params.swimlane = swimlane.title; + params.swimlaneId = activity.swimlaneId; + } + if (activity.commentId) { + const comment = activity.comment(); + params.comment = comment.text; + if (board) { + const comment = params.comment; + const knownUsers = board.members.map(member => { + const u = Users.findOne(member.userId); + if (u) { + member.username = u.username; + member.emails = u.emails; + } + return member; + }); + const mentionRegex = /\B@(?:(?:"([\w.\s]*)")|([\w.]+))/gi; // including space in username + let currentMention; + while ((currentMention = mentionRegex.exec(comment)) !== null) { + /*eslint no-unused-vars: ["error", { "varsIgnorePattern": "[iI]gnored" }]*/ + const [ignored, quoteduser, simple] = currentMention; + const username = quoteduser || simple; + if (username === params.user) { + // ignore commenter mention himself? + continue; + } + const atUser = _.findWhere(knownUsers, { username }); + if (!atUser) { + continue; + } + const uid = atUser.userId; + params.atUsername = username; + params.atEmails = atUser.emails; + title = 'act-atUserComment'; + watchers = _.union(watchers, [uid]); + } + } + params.commentId = comment._id; + } + if (activity.attachmentId) { + const attachment = activity.attachment(); + params.attachment = attachment.original.name; + params.attachmentId = attachment._id; + } + if (activity.checklistId) { + const checklist = activity.checklist(); + params.checklist = checklist.title; + } + if (activity.checklistItemId) { + const checklistItem = activity.checklistItem(); + params.checklistItem = checklistItem.title; + } + if (activity.customFieldId) { + const customField = activity.customField(); + params.customField = customField.name; + params.customFieldValue = Activities.findOne({ + customFieldId: customField._id, + }).value; + } + // Label activity did not work yet, unable to edit labels when tried this. + //if (activity.labelId) { + // const label = activity.label(); + // params.label = label.name; + // params.labelId = activity.labelId; + //} + if ( + (!activity.timeKey || activity.timeKey === 'dueAt') && + activity.timeValue + ) { + // due time reminder, if it doesn't have old value, it's a brand new set, need some differentiation + title = activity.timeOldValue ? 'act-withDue' : 'act-newDue'; + } + ['timeValue', 'timeOldValue'].forEach(key => { + // copy time related keys & values to params + const value = activity[key]; + if (value) params[key] = value; + }); + if (board) { + const BIGEVENTS = process.env.BIGEVENTS_PATTERN || 'due'; // if environment BIGEVENTS_PATTERN is set or default, any activityType matching it is important + try { + const atype = activity.activityType; + if (new RegExp(BIGEVENTS).exec(atype)) { + watchers = _.union( + watchers, + board.activeMembers().map(member => member.userId), + ); // notify all active members for important events system defined or default to all activity related to due date + } + } catch (e) { + // passed env var BIGEVENTS_PATTERN is not a valid regex + } + + const watchingUsers = _.pluck( + _.where(board.watchers, { level: 'watching' }), + 'userId', + ); + const trackingUsers = _.pluck( + _.where(board.watchers, { level: 'tracking' }), + 'userId', + ); + watchers = _.union( + watchers, + watchingUsers, + _.intersection(participants, trackingUsers), + ); + } + Notifications.getUsers(watchers).forEach(user => { + // don't notify a user of their own behavior + if (user._id !== userId) { + Notifications.notify(user, title, description, params); + } + }); + + const integrations = Integrations.find({ + boardId: { $in: [board._id, Integrations.Const.GLOBAL_WEBHOOK_ID] }, + // type: 'outgoing-webhooks', // all types + enabled: true, + activities: { $in: [description, 'all'] }, + }).fetch(); + if (integrations.length > 0) { + params.watchers = watchers; + integrations.forEach(integration => { + Meteor.call( + 'outgoingWebhooks', + integration, + description, + params, + () => { + return; + }, + ); + }); + } + }); +} + +export default Activities; diff --git a/models/announcements.js b/models/announcements.js new file mode 100644 index 0000000..7fdf8d8 --- /dev/null +++ b/models/announcements.js @@ -0,0 +1,67 @@ +Announcements = new Mongo.Collection('announcements'); + +Announcements.attachSchema( + new SimpleSchema({ + enabled: { + type: Boolean, + defaultValue: false, + }, + title: { + type: String, + optional: true, + }, + body: { + type: String, + optional: true, + }, + sort: { + type: Number, + decimal: true, + }, + createdAt: { + type: Date, + optional: true, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert) { + return new Date(); + } else if (this.isUpsert) { + return { $setOnInsert: new Date() }; + } else { + this.unset(); + } + }, + }, + modifiedAt: { + type: Date, + denyUpdate: false, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert || this.isUpsert || this.isUpdate) { + return new Date(); + } else { + this.unset(); + } + }, + }, + }), +); + +Announcements.allow({ + update(userId) { + const user = Users.findOne(userId); + return user && user.isAdmin; + }, +}); + +if (Meteor.isServer) { + Meteor.startup(() => { + Announcements._collection._ensureIndex({ modifiedAt: -1 }); + const announcements = Announcements.findOne({}); + if (!announcements) { + Announcements.insert({ enabled: false, sort: 0 }); + } + }); +} + +export default Announcements; diff --git a/models/attachments.js b/models/attachments.js new file mode 100644 index 0000000..3fe1d74 --- /dev/null +++ b/models/attachments.js @@ -0,0 +1,263 @@ +const localFSStore = process.env.ATTACHMENTS_STORE_PATH; +const storeName = 'attachments'; +const defaultStoreOptions = { + beforeWrite: fileObj => { + if (!fileObj.isImage()) { + return { + type: 'application/octet-stream', + }; + } + return {}; + }, +}; +let store; +if (localFSStore) { + // have to reinvent methods from FS.Store.GridFS and FS.Store.FileSystem + const fs = Npm.require('fs'); + const path = Npm.require('path'); + const mongodb = Npm.require('mongodb'); + const Grid = Npm.require('gridfs-stream'); + // calulate the absolute path here, because FS.Store.FileSystem didn't expose the aboslutepath or FS.Store didn't expose api calls :( + let pathname = localFSStore; + /*eslint camelcase: ["error", {allow: ["__meteor_bootstrap__"]}] */ + + if (!pathname && __meteor_bootstrap__ && __meteor_bootstrap__.serverDir) { + pathname = path.join( + __meteor_bootstrap__.serverDir, + `../../../cfs/files/${storeName}`, + ); + } + + if (!pathname) + throw new Error('FS.Store.FileSystem unable to determine path'); + + // Check if we have '~/foo/bar' + if (pathname.split(path.sep)[0] === '~') { + const homepath = + process.env.HOME || process.env.HOMEPATH || process.env.USERPROFILE; + if (homepath) { + pathname = pathname.replace('~', homepath); + } else { + throw new Error('FS.Store.FileSystem unable to resolve "~" in path'); + } + } + + // Set absolute path + const absolutePath = path.resolve(pathname); + + const _FStore = new FS.Store.FileSystem(storeName, { + path: localFSStore, + ...defaultStoreOptions, + }); + const GStore = { + fileKey(fileObj) { + const key = { + _id: null, + filename: null, + }; + + // If we're passed a fileObj, we retrieve the _id and filename from it. + if (fileObj) { + const info = fileObj._getInfo(storeName, { + updateFileRecordFirst: false, + }); + key._id = info.key || null; + key.filename = + info.name || + fileObj.name({ updateFileRecordFirst: false }) || + `${fileObj.collectionName}-${fileObj._id}`; + } + + // If key._id is null at this point, createWriteStream will let GridFS generate a new ID + return key; + }, + db: undefined, + mongoOptions: { useNewUrlParser: true }, + mongoUrl: process.env.MONGO_URL, + init() { + this._init(err => { + this.inited = !err; + }); + }, + _init(callback) { + const self = this; + mongodb.MongoClient.connect(self.mongoUrl, self.mongoOptions, function( + err, + db, + ) { + if (err) { + return callback(err); + } + self.db = db; + return callback(null); + }); + return; + }, + createReadStream(fileKey, options) { + const self = this; + if (!self.inited) { + self.init(); + return undefined; + } + options = options || {}; + + // Init GridFS + const gfs = new Grid(self.db, mongodb); + + // Set the default streamning settings + const settings = { + _id: new mongodb.ObjectID(fileKey._id), + root: `cfs_gridfs.${storeName}`, + }; + + // Check if this should be a partial read + if ( + typeof options.start !== 'undefined' && + typeof options.end !== 'undefined' + ) { + // Add partial info + settings.range = { + startPos: options.start, + endPos: options.end, + }; + } + return gfs.createReadStream(settings); + }, + }; + GStore.init(); + const CRS = 'createReadStream'; + const _CRS = `_${CRS}`; + const FStore = _FStore._transform; + FStore[_CRS] = FStore[CRS].bind(FStore); + FStore[CRS] = function(fileObj, options) { + let stream; + try { + const localFile = path.join( + absolutePath, + FStore.storage.fileKey(fileObj), + ); + const state = fs.statSync(localFile); + if (state) { + stream = FStore[_CRS](fileObj, options); + } + } catch (e) { + // file is not there, try GridFS ? + stream = undefined; + } + if (stream) return stream; + else { + try { + const stream = GStore[CRS](GStore.fileKey(fileObj), options); + return stream; + } catch (e) { + return undefined; + } + } + }.bind(FStore); + store = _FStore; +} else { + store = new FS.Store.GridFS(localFSStore ? `G${storeName}` : storeName, { + // XXX Add a new store for cover thumbnails so we don't load big images in + // the general board view + // If the uploaded document is not an image we need to enforce browser + // download instead of execution. This is particularly important for HTML + // files that the browser will just execute if we don't serve them with the + // appropriate `application/octet-stream` MIME header which can lead to user + // data leaks. I imagine other formats (like PDF) can also be attack vectors. + // See https://github.com/wekan/wekan/issues/99 + // XXX Should we use `beforeWrite` option of CollectionFS instead of + // collection-hooks? + // We should use `beforeWrite`. + ...defaultStoreOptions, + }); +} +Attachments = new FS.Collection('attachments', { + stores: [store], +}); + +if (Meteor.isServer) { + Meteor.startup(() => { + Attachments.files._ensureIndex({ cardId: 1 }); + }); + + Attachments.allow({ + insert(userId, doc) { + return allowIsBoardMember(userId, Boards.findOne(doc.boardId)); + }, + update(userId, doc) { + return allowIsBoardMember(userId, Boards.findOne(doc.boardId)); + }, + remove(userId, doc) { + return allowIsBoardMember(userId, Boards.findOne(doc.boardId)); + }, + // We authorize the attachment download either: + // - if the board is public, everyone (even unconnected) can download it + // - if the board is private, only board members can download it + download(userId, doc) { + const board = Boards.findOne(doc.boardId); + if (board.isPublic()) { + return true; + } else { + return board.hasMember(userId); + } + }, + + fetch: ['boardId'], + }); +} + +// XXX Enforce a schema for the Attachments CollectionFS + +if (Meteor.isServer) { + Attachments.files.after.insert((userId, doc) => { + // If the attachment doesn't have a source field + // or its source is different than import + if (!doc.source || doc.source !== 'import') { + // Add activity about adding the attachment + Activities.insert({ + userId, + type: 'card', + activityType: 'addAttachment', + attachmentId: doc._id, + // this preserves the name so that notifications can be meaningful after + // this file is removed + attachmentName: doc.original.name, + boardId: doc.boardId, + cardId: doc.cardId, + listId: doc.listId, + swimlaneId: doc.swimlaneId, + }); + } else { + // Don't add activity about adding the attachment as the activity + // be imported and delete source field + Attachments.update( + { + _id: doc._id, + }, + { + $unset: { + source: '', + }, + }, + ); + } + }); + + Attachments.files.before.remove((userId, doc) => { + Activities.insert({ + userId, + type: 'card', + activityType: 'deleteAttachment', + attachmentId: doc._id, + // this preserves the name so that notifications can be meaningful after + // this file is removed + attachmentName: doc.original.name, + boardId: doc.boardId, + cardId: doc.cardId, + listId: doc.listId, + swimlaneId: doc.swimlaneId, + }); + }); +} + +export default Attachments; diff --git a/models/avatars.js b/models/avatars.js new file mode 100644 index 0000000..2fda031 --- /dev/null +++ b/models/avatars.js @@ -0,0 +1,29 @@ +Avatars = new FS.Collection('avatars', { + stores: [new FS.Store.GridFS('avatars')], + filter: { + maxSize: 72000, + allow: { + contentTypes: ['image/*'], + }, + }, +}); + +function isOwner(userId, file) { + return userId && userId === file.userId; +} + +Avatars.allow({ + insert: isOwner, + update: isOwner, + remove: isOwner, + download() { + return true; + }, + fetch: ['userId'], +}); + +Avatars.files.before.insert((userId, doc) => { + doc.userId = userId; +}); + +export default Avatars; diff --git a/models/boards.js b/models/boards.js new file mode 100644 index 0000000..306bae1 --- /dev/null +++ b/models/boards.js @@ -0,0 +1,1757 @@ +Boards = new Mongo.Collection('boards'); + +/** + * This is a Board. + */ +Boards.attachSchema( + new SimpleSchema({ + title: { + /** + * The title of the board + */ + type: String, + }, + slug: { + /** + * The title slugified. + */ + type: String, + // eslint-disable-next-line consistent-return + autoValue() { + // In some cases (Chinese and Japanese for instance) the `getSlug` function + // return an empty string. This is causes bugs in our application so we set + // a default slug in this case. + // Improvment would be to change client URL after slug is changed + const title = this.field('title'); + if (title.isSet && !this.isSet) { + let slug = 'board'; + slug = getSlug(title.value) || slug; + return slug; + } + }, + }, + archived: { + /** + * Is the board archived? + */ + type: Boolean, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert && !this.isSet) { + return false; + } + }, + }, + createdAt: { + /** + * Creation time of the board + */ + type: Date, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert) { + return new Date(); + } else if (this.isUpsert) { + return { $setOnInsert: new Date() }; + } else { + this.unset(); + } + }, + }, + // XXX Inconsistent field naming + modifiedAt: { + /** + * Last modification time of the board + */ + type: Date, + optional: true, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert || this.isUpsert || this.isUpdate) { + return new Date(); + } else { + this.unset(); + } + }, + }, + // De-normalized number of users that have starred this board + stars: { + /** + * How many stars the board has + */ + type: Number, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert) { + return 0; + } + }, + }, + // De-normalized label system + labels: { + /** + * List of labels attached to a board + */ + type: [Object], + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert && !this.isSet) { + const colors = Boards.simpleSchema()._schema['labels.$.color'] + .allowedValues; + const defaultLabelsColors = _.clone(colors).splice(0, 6); + return defaultLabelsColors.map(color => ({ + color, + _id: Random.id(6), + name: '', + })); + } + }, + }, + 'labels.$._id': { + /** + * Unique id of a label + */ + // We don't specify that this field must be unique in the board because that + // will cause performance penalties and is not necessary since this field is + // always set on the server. + // XXX Actually if we create a new label, the `_id` is set on the client + // without being overwritten by the server, could it be a problem? + type: String, + }, + 'labels.$.name': { + /** + * Name of a label + */ + type: String, + optional: true, + }, + 'labels.$.color': { + /** + * color of a label. + * + * Can be amongst `green`, `yellow`, `orange`, `red`, `purple`, + * `blue`, `sky`, `lime`, `pink`, `black`, + * `silver`, `peachpuff`, `crimson`, `plum`, `darkgreen`, + * `slateblue`, `magenta`, `gold`, `navy`, `gray`, + * `saddlebrown`, `paleturquoise`, `mistyrose`, `indigo` + */ + type: String, + allowedValues: [ + 'green', + 'yellow', + 'orange', + 'red', + 'purple', + 'blue', + 'sky', + 'lime', + 'pink', + 'black', + 'silver', + 'peachpuff', + 'crimson', + 'plum', + 'darkgreen', + 'slateblue', + 'magenta', + 'gold', + 'navy', + 'gray', + 'saddlebrown', + 'paleturquoise', + 'mistyrose', + 'indigo', + ], + }, + // XXX We might want to maintain more informations under the member sub- + // documents like de-normalized meta-data (the date the member joined the + // board, the number of contributions, etc.). + members: { + /** + * List of members of a board + */ + type: [Object], + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert && !this.isSet) { + return [ + { + userId: this.userId, + isAdmin: true, + isActive: true, + isNoComments: false, + isCommentOnly: false, + isWorker: false, + }, + ]; + } + }, + }, + 'members.$.userId': { + /** + * The uniq ID of the member + */ + type: String, + }, + 'members.$.isAdmin': { + /** + * Is the member an admin of the board? + */ + type: Boolean, + }, + 'members.$.isActive': { + /** + * Is the member active? + */ + type: Boolean, + }, + 'members.$.isNoComments': { + /** + * Is the member not allowed to make comments + */ + type: Boolean, + optional: true, + }, + 'members.$.isCommentOnly': { + /** + * Is the member only allowed to comment on the board + */ + type: Boolean, + optional: true, + }, + 'members.$.isWorker': { + /** + * Is the member only allowed to move card, assign himself to card and comment + */ + type: Boolean, + optional: true, + }, + permission: { + /** + * visibility of the board + */ + type: String, + allowedValues: ['public', 'private'], + }, + color: { + /** + * The color of the board. + */ + type: String, + allowedValues: [ + 'belize', + 'nephritis', + 'pomegranate', + 'pumpkin', + 'wisteria', + 'moderatepink', + 'strongcyan', + 'limegreen', + 'midnight', + 'dark', + 'relax', + 'corteza', + 'clearblue', + 'natural', + 'modern', + ], + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert && !this.isSet) { + return Boards.simpleSchema()._schema.color.allowedValues[0]; + } + }, + }, + description: { + /** + * The description of the board + */ + type: String, + optional: true, + }, + subtasksDefaultBoardId: { + /** + * The default board ID assigned to subtasks. + */ + type: String, + optional: true, + defaultValue: null, + }, + + subtasksDefaultListId: { + /** + * The default List ID assigned to subtasks. + */ + type: String, + optional: true, + defaultValue: null, + }, + + dateSettingsDefaultBoardId: { + type: String, + optional: true, + defaultValue: null, + }, + + dateSettingsDefaultListId: { + type: String, + optional: true, + defaultValue: null, + }, + + allowsSubtasks: { + /** + * Does the board allows subtasks? + */ + type: Boolean, + defaultValue: true, + }, + + allowsAttachments: { + /** + * Does the board allows attachments? + */ + type: Boolean, + defaultValue: true, + }, + + allowsChecklists: { + /** + * Does the board allows checklists? + */ + type: Boolean, + defaultValue: true, + }, + + allowsComments: { + /** + * Does the board allows comments? + */ + type: Boolean, + defaultValue: true, + }, + + allowsDescriptionTitle: { + /** + * Does the board allows description title? + */ + type: Boolean, + defaultValue: true, + }, + + allowsDescriptionText: { + /** + * Does the board allows description text? + */ + type: Boolean, + defaultValue: true, + }, + + allowsActivities: { + /** + * Does the board allows comments? + */ + type: Boolean, + defaultValue: true, + }, + + allowsLabels: { + /** + * Does the board allows labels? + */ + type: Boolean, + defaultValue: true, + }, + + allowsAssignee: { + /** + * Does the board allows assignee? + */ + type: Boolean, + defaultValue: true, + }, + + allowsMembers: { + /** + * Does the board allows members? + */ + type: Boolean, + defaultValue: true, + }, + + allowsRequestedBy: { + /** + * Does the board allows requested by? + */ + type: Boolean, + defaultValue: true, + }, + + allowsAssignedBy: { + /** + * Does the board allows requested by? + */ + type: Boolean, + defaultValue: true, + }, + + allowsReceivedDate: { + /** + * Does the board allows received date? + */ + type: Boolean, + defaultValue: true, + }, + + allowsStartDate: { + /** + * Does the board allows start date? + */ + type: Boolean, + defaultValue: true, + }, + + allowsEndDate: { + /** + * Does the board allows end date? + */ + type: Boolean, + defaultValue: true, + }, + + allowsDueDate: { + /** + * Does the board allows due date? + */ + type: Boolean, + defaultValue: true, + }, + + presentParentTask: { + /** + * Controls how to present the parent task: + * + * - `prefix-with-full-path`: add a prefix with the full path + * - `prefix-with-parent`: add a prefisx with the parent name + * - `subtext-with-full-path`: add a subtext with the full path + * - `subtext-with-parent`: add a subtext with the parent name + * - `no-parent`: does not show the parent at all + */ + type: String, + allowedValues: [ + 'prefix-with-full-path', + 'prefix-with-parent', + 'subtext-with-full-path', + 'subtext-with-parent', + 'no-parent', + ], + optional: true, + defaultValue: 'no-parent', + }, + startAt: { + /** + * Starting date of the board. + */ + type: Date, + optional: true, + }, + dueAt: { + /** + * Due date of the board. + */ + type: Date, + optional: true, + }, + endAt: { + /** + * End date of the board. + */ + type: Date, + optional: true, + }, + spentTime: { + /** + * Time spent in the board. + */ + type: Number, + decimal: true, + optional: true, + }, + isOvertime: { + /** + * Is the board overtimed? + */ + type: Boolean, + defaultValue: false, + optional: true, + }, + type: { + /** + * The type of board + */ + type: String, + defaultValue: 'board', + }, + sort: { + /** + * Sort value + */ + type: Number, + decimal: true, + defaultValue: -1, + }, + }), +); + +Boards.helpers({ + copy() { + const oldId = this._id; + delete this._id; + const _id = Boards.insert(this); + + // Copy all swimlanes in board + Swimlanes.find({ + boardId: oldId, + archived: false, + }).forEach(swimlane => { + swimlane.type = 'swimlane'; + swimlane.copy(_id); + }); + }, + /** + * Is supplied user authorized to view this board? + */ + isVisibleBy(user) { + if (this.isPublic()) { + // public boards are visible to everyone + return true; + } else { + // otherwise you have to be logged-in and active member + return user && this.isActiveMember(user._id); + } + }, + + /** + * Is the user one of the active members of the board? + * + * @param userId + * @returns {boolean} the member that matches, or undefined/false + */ + isActiveMember(userId) { + if (userId) { + return this.members.find( + member => member.userId === userId && member.isActive, + ); + } else { + return false; + } + }, + + isPublic() { + return this.permission === 'public'; + }, + + cards() { + return Cards.find( + { boardId: this._id, archived: false }, + { sort: { title: 1 } }, + ); + }, + + lists() { + //currentUser = Meteor.user(); + //if (currentUser) { + // enabled = Meteor.user().hasSortBy(); + //} + //return enabled ? this.newestLists() : this.draggableLists(); + return this.draggableLists(); + }, + + newestLists() { + // sorted lists from newest to the oldest, by its creation date or its cards' last modification date + const value = Meteor.user()._getListSortBy(); + const sortKey = { starred: -1, [value[0]]: value[1] }; // [["starred",-1],value]; + return Lists.find( + { + boardId: this._id, + archived: false, + }, + { sort: sortKey }, + ); + }, + draggableLists() { + return Lists.find({ boardId: this._id }, { sort: { sort: 1 } }); + }, + + nullSortLists() { + return Lists.find({ + boardId: this._id, + archived: false, + sort: { $eq: null }, + }); + }, + + swimlanes() { + return Swimlanes.find( + { boardId: this._id, archived: false }, + { sort: { sort: 1 } }, + ); + }, + + nextSwimlane(swimlane) { + return Swimlanes.findOne( + { + boardId: this._id, + archived: false, + sort: { $gte: swimlane.sort }, + _id: { $ne: swimlane._id }, + }, + { + sort: { sort: 1 }, + }, + ); + }, + + nullSortSwimlanes() { + return Swimlanes.find({ + boardId: this._id, + archived: false, + sort: { $eq: null }, + }); + }, + + hasOvertimeCards() { + const card = Cards.findOne({ + isOvertime: true, + boardId: this._id, + archived: false, + }); + return card !== undefined; + }, + + hasSpentTimeCards() { + const card = Cards.findOne({ + spentTime: { $gt: 0 }, + boardId: this._id, + archived: false, + }); + return card !== undefined; + }, + + activities() { + return Activities.find({ boardId: this._id }, { sort: { createdAt: -1 } }); + }, + + activeMembers() { + return _.where(this.members, { isActive: true }); + }, + + activeAdmins() { + return _.where(this.members, { isActive: true, isAdmin: true }); + }, + + memberUsers() { + return Users.find({ _id: { $in: _.pluck(this.members, 'userId') } }); + }, + + getLabel(name, color) { + return _.findWhere(this.labels, { name, color }); + }, + + getLabelById(labelId) { + return _.findWhere(this.labels, { _id: labelId }); + }, + + labelIndex(labelId) { + return _.pluck(this.labels, '_id').indexOf(labelId); + }, + + memberIndex(memberId) { + return _.pluck(this.members, 'userId').indexOf(memberId); + }, + + hasMember(memberId) { + return !!_.findWhere(this.members, { userId: memberId, isActive: true }); + }, + + hasAdmin(memberId) { + return !!_.findWhere(this.members, { + userId: memberId, + isActive: true, + isAdmin: true, + }); + }, + + hasNoComments(memberId) { + return !!_.findWhere(this.members, { + userId: memberId, + isActive: true, + isAdmin: false, + isNoComments: true, + isWorker: false, + }); + }, + + hasCommentOnly(memberId) { + return !!_.findWhere(this.members, { + userId: memberId, + isActive: true, + isAdmin: false, + isCommentOnly: true, + isWorker: false, + }); + }, + + hasWorker(memberId) { + return !!_.findWhere(this.members, { + userId: memberId, + isActive: true, + isAdmin: false, + isCommentOnly: false, + isWorker: true, + }); + }, + + absoluteUrl() { + return FlowRouter.url('board', { id: this._id, slug: this.slug }); + }, + + colorClass() { + return `board-color-${this.color}`; + }, + + customFields() { + return CustomFields.find( + { boardIds: { $in: [this._id] } }, + { sort: { name: 1 } }, + ); + }, + + // XXX currently mutations return no value so we have an issue when using addLabel in import + // XXX waiting on https://github.com/mquandalle/meteor-collection-mutations/issues/1 to remove... + pushLabel(name, color) { + const _id = Random.id(6); + Boards.direct.update(this._id, { $push: { labels: { _id, name, color } } }); + return _id; + }, + + searchBoards(term) { + check(term, Match.OneOf(String, null, undefined)); + + const query = { boardId: this._id }; + query.type = 'cardType-linkedBoard'; + query.archived = false; + + const projection = { limit: 10, sort: { createdAt: -1 } }; + + if (term) { + const regex = new RegExp(term, 'i'); + + query.$or = [{ title: regex }, { description: regex }]; + } + + return Cards.find(query, projection); + }, + + searchSwimlanes(term) { + check(term, Match.OneOf(String, null, undefined)); + + const query = { boardId: this._id }; + if (this.isTemplatesBoard()) { + query.type = 'template-swimlane'; + query.archived = false; + } else { + query.type = { $nin: ['template-swimlane'] }; + } + const projection = { limit: 10, sort: { createdAt: -1 } }; + + if (term) { + const regex = new RegExp(term, 'i'); + + query.$or = [{ title: regex }, { description: regex }]; + } + + return Swimlanes.find(query, projection); + }, + + searchLists(term) { + check(term, Match.OneOf(String, null, undefined)); + + const query = { boardId: this._id }; + if (this.isTemplatesBoard()) { + query.type = 'template-list'; + query.archived = false; + } else { + query.type = { $nin: ['template-list'] }; + } + const projection = { limit: 10, sort: { createdAt: -1 } }; + + if (term) { + const regex = new RegExp(term, 'i'); + + query.$or = [{ title: regex }, { description: regex }]; + } + + return Lists.find(query, projection); + }, + + searchCards(term, excludeLinked) { + check(term, Match.OneOf(String, null, undefined)); + + const query = { boardId: this._id }; + if (excludeLinked) { + query.linkedId = null; + } + if (this.isTemplatesBoard()) { + query.type = 'template-card'; + query.archived = false; + } else { + query.type = { $nin: ['template-card'] }; + } + const projection = { limit: 10, sort: { createdAt: -1 } }; + + if (term) { + const regex = new RegExp(term, 'i'); + + query.$or = [ + { title: regex }, + { description: regex }, + { customFields: { $elemMatch: { value: regex } } }, + ]; + } + + return Cards.find(query, projection); + }, + // A board alwasy has another board where it deposits subtasks of thasks + // that belong to itself. + getDefaultSubtasksBoardId() { + if ( + this.subtasksDefaultBoardId === null || + this.subtasksDefaultBoardId === undefined + ) { + this.subtasksDefaultBoardId = Boards.insert({ + title: `^${this.title}^`, + permission: this.permission, + members: this.members, + color: this.color, + description: TAPi18n.__('default-subtasks-board', { + board: this.title, + }), + }); + + Swimlanes.insert({ + title: TAPi18n.__('default'), + boardId: this.subtasksDefaultBoardId, + }); + Boards.update(this._id, { + $set: { + subtasksDefaultBoardId: this.subtasksDefaultBoardId, + }, + }); + } + return this.subtasksDefaultBoardId; + }, + + getDefaultSubtasksBoard() { + return Boards.findOne(this.getDefaultSubtasksBoardId()); + }, + + //Date Settings option such as received date, start date and so on. + getDefaultDateSettingsBoardId() { + if ( + this.dateSettingsDefaultBoardId === null || + this.dateSettingsDefaultBoardId === undefined + ) { + this.dateSettingsDefaultBoardId = Boards.insert({ + title: `^${this.title}^`, + permission: this.permission, + members: this.members, + color: this.color, + description: TAPi18n.__('default-dates-board', { + board: this.title, + }), + }); + + Swimlanes.insert({ + title: TAPi18n.__('default'), + boardId: this.dateSettingsDefaultBoardId, + }); + Boards.update(this._id, { + $set: { + dateSettingsDefaultBoardId: this.dateSettingsDefaultBoardId, + }, + }); + } + return this.dateSettingsDefaultBoardId; + }, + + getDefaultDateSettingsBoard() { + return Boards.findOne(this.getDefaultDateSettingsBoardId()); + }, + + getDefaultSubtasksListId() { + if ( + this.subtasksDefaultListId === null || + this.subtasksDefaultListId === undefined + ) { + this.subtasksDefaultListId = Lists.insert({ + title: TAPi18n.__('queue'), + boardId: this._id, + }); + this.setSubtasksDefaultListId(this.subtasksDefaultListId); + } + return this.subtasksDefaultListId; + }, + + getDefaultSubtasksList() { + return Lists.findOne(this.getDefaultSubtasksListId()); + }, + + getDefaultDateSettingsListId() { + if ( + this.dateSettingsDefaultListId === null || + this.dateSettingsDefaultListId === undefined + ) { + this.dateSettingsDefaultListId = Lists.insert({ + title: TAPi18n.__('queue'), + boardId: this._id, + }); + this.setDateSettingsDefaultListId(this.dateSettingsDefaultListId); + } + return this.dateSettingsDefaultListId; + }, + + getDefaultDateSettingsList() { + return Lists.findOne(this.getDefaultDateSettingsListId()); + }, + + getDefaultSwimline() { + let result = Swimlanes.findOne({ boardId: this._id }); + if (result === undefined) { + Swimlanes.insert({ + title: TAPi18n.__('default'), + boardId: this._id, + }); + result = Swimlanes.findOne({ boardId: this._id }); + } + return result; + }, + + cardsDueInBetween(start, end) { + return Cards.find({ + boardId: this._id, + dueAt: { $gte: start, $lte: end }, + }); + }, + + cardsInInterval(start, end) { + return Cards.find({ + boardId: this._id, + $or: [ + { + startAt: { + $lte: start, + }, + endAt: { + $gte: start, + }, + }, + { + startAt: { + $lte: end, + }, + endAt: { + $gte: end, + }, + }, + { + startAt: { + $gte: start, + }, + endAt: { + $lte: end, + }, + }, + ], + }); + }, + + isTemplateBoard() { + return this.type === 'template-board'; + }, + + isTemplatesBoard() { + return this.type === 'template-container'; + }, +}); + +Boards.mutations({ + archive() { + return { $set: { archived: true } }; + }, + + restore() { + return { $set: { archived: false } }; + }, + + rename(title) { + return { $set: { title } }; + }, + + setDescription(description) { + return { $set: { description } }; + }, + + setColor(color) { + return { $set: { color } }; + }, + + setVisibility(visibility) { + return { $set: { permission: visibility } }; + }, + + addLabel(name, color) { + // If label with the same name and color already exists we don't want to + // create another one because they would be indistinguishable in the UI + // (they would still have different `_id` but that is not exposed to the + // user). + if (!this.getLabel(name, color)) { + const _id = Random.id(6); + return { $push: { labels: { _id, name, color } } }; + } + return {}; + }, + + editLabel(labelId, name, color) { + if (!this.getLabel(name, color)) { + const labelIndex = this.labelIndex(labelId); + return { + $set: { + [`labels.${labelIndex}.name`]: name, + [`labels.${labelIndex}.color`]: color, + }, + }; + } + return {}; + }, + + removeLabel(labelId) { + return { $pull: { labels: { _id: labelId } } }; + }, + + changeOwnership(fromId, toId) { + const memberIndex = this.memberIndex(fromId); + return { + $set: { + [`members.${memberIndex}.userId`]: toId, + }, + }; + }, + + addMember(memberId) { + const memberIndex = this.memberIndex(memberId); + if (memberIndex >= 0) { + return { + $set: { + [`members.${memberIndex}.isActive`]: true, + }, + }; + } + + return { + $push: { + members: { + userId: memberId, + isAdmin: false, + isActive: true, + isNoComments: false, + isCommentOnly: false, + isWorker: false, + }, + }, + }; + }, + + removeMember(memberId) { + const memberIndex = this.memberIndex(memberId); + + // we do not allow the only one admin to be removed + const allowRemove = + !this.members[memberIndex].isAdmin || this.activeAdmins().length > 1; + if (!allowRemove) { + return { + $set: { + [`members.${memberIndex}.isActive`]: true, + }, + }; + } + + return { + $set: { + [`members.${memberIndex}.isActive`]: false, + [`members.${memberIndex}.isAdmin`]: false, + }, + }; + }, + + setMemberPermission( + memberId, + isAdmin, + isNoComments, + isCommentOnly, + isWorker, + currentUserId = Meteor.userId(), + ) { + const memberIndex = this.memberIndex(memberId); + // do not allow change permission of self + if (memberId === currentUserId) { + isAdmin = this.members[memberIndex].isAdmin; + } + + return { + $set: { + [`members.${memberIndex}.isAdmin`]: isAdmin, + [`members.${memberIndex}.isNoComments`]: isNoComments, + [`members.${memberIndex}.isCommentOnly`]: isCommentOnly, + [`members.${memberIndex}.isWorker`]: isWorker, + }, + }; + }, + + setAllowsSubtasks(allowsSubtasks) { + return { $set: { allowsSubtasks } }; + }, + + setAllowsMembers(allowsMembers) { + return { $set: { allowsMembers } }; + }, + + setAllowsChecklists(allowsChecklists) { + return { $set: { allowsChecklists } }; + }, + + setAllowsAssignee(allowsAssignee) { + return { $set: { allowsAssignee } }; + }, + + setAllowsAssignedBy(allowsAssignedBy) { + return { $set: { allowsAssignedBy } }; + }, + + setAllowsRequestedBy(allowsRequestedBy) { + return { $set: { allowsRequestedBy } }; + }, + + setAllowsAttachments(allowsAttachments) { + return { $set: { allowsAttachments } }; + }, + + setAllowsLabels(allowsLabels) { + return { $set: { allowsLabels } }; + }, + + setAllowsComments(allowsComments) { + return { $set: { allowsComments } }; + }, + + setAllowsDescriptionTitle(allowsDescriptionTitle) { + return { $set: { allowsDescriptionTitle } }; + }, + + setAllowsDescriptionText(allowsDescriptionText) { + return { $set: { allowsDescriptionText } }; + }, + + setAllowsActivities(allowsActivities) { + return { $set: { allowsActivities } }; + }, + + setAllowsReceivedDate(allowsReceivedDate) { + return { $set: { allowsReceivedDate } }; + }, + + setAllowsStartDate(allowsStartDate) { + return { $set: { allowsStartDate } }; + }, + + setAllowsEndDate(allowsEndDate) { + return { $set: { allowsEndDate } }; + }, + + setAllowsDueDate(allowsDueDate) { + return { $set: { allowsDueDate } }; + }, + + setSubtasksDefaultBoardId(subtasksDefaultBoardId) { + return { $set: { subtasksDefaultBoardId } }; + }, + + setSubtasksDefaultListId(subtasksDefaultListId) { + return { $set: { subtasksDefaultListId } }; + }, + + setPresentParentTask(presentParentTask) { + return { $set: { presentParentTask } }; + }, + + move(sortIndex) { + return { $set: { sort: sortIndex } }; + }, +}); + +function boardRemover(userId, doc) { + [Cards, Lists, Swimlanes, Integrations, Rules, Activities].forEach( + element => { + element.remove({ boardId: doc._id }); + }, + ); +} + +if (Meteor.isServer) { + Boards.allow({ + insert: Meteor.userId, + update: allowIsBoardAdmin, + remove: allowIsBoardAdmin, + fetch: ['members'], + }); + + // All logged in users are allowed to reorder boards by dragging at All Boards page and Public Boards page. + Boards.allow({ + update(userId, board, fieldNames) { + return _.contains(fieldNames, 'sort'); + }, + fetch: [], + }); + + // The number of users that have starred this board is managed by trusted code + // and the user is not allowed to update it + Boards.deny({ + update(userId, board, fieldNames) { + return _.contains(fieldNames, 'stars'); + }, + fetch: [], + }); + + // We can't remove a member if it is the last administrator + Boards.deny({ + update(userId, doc, fieldNames, modifier) { + if (!_.contains(fieldNames, 'members')) return false; + + // We only care in case of a $pull operation, ie remove a member + if (!_.isObject(modifier.$pull && modifier.$pull.members)) return false; + + // If there is more than one admin, it's ok to remove anyone + const nbAdmins = _.where(doc.members, { isActive: true, isAdmin: true }) + .length; + if (nbAdmins > 1) return false; + + // If all the previous conditions were verified, we can't remove + // a user if it's an admin + const removedMemberId = modifier.$pull.members.userId; + return Boolean( + _.findWhere(doc.members, { + userId: removedMemberId, + isAdmin: true, + }), + ); + }, + fetch: ['members'], + }); + + Meteor.methods({ + quitBoard(boardId) { + check(boardId, String); + const board = Boards.findOne(boardId); + if (board) { + const userId = Meteor.userId(); + const index = board.memberIndex(userId); + if (index >= 0) { + board.removeMember(userId); + return true; + } else throw new Meteor.Error('error-board-notAMember'); + } else throw new Meteor.Error('error-board-doesNotExist'); + }, + acceptInvite(boardId) { + check(boardId, String); + const board = Boards.findOne(boardId); + if (!board) { + throw new Meteor.Error('error-board-doesNotExist'); + } + + Meteor.users.update(Meteor.userId(), { + $pull: { + 'profile.invitedBoards': boardId, + }, + }); + }, + }); + + Meteor.methods({ + archiveBoard(boardId) { + check(boardId, String); + const board = Boards.findOne(boardId); + if (board) { + const userId = Meteor.userId(); + const index = board.memberIndex(userId); + if (index >= 0) { + board.archive(); + return true; + } else throw new Meteor.Error('error-board-notAMember'); + } else throw new Meteor.Error('error-board-doesNotExist'); + }, + }); +} + +// Insert new board at last position in sort order. +Boards.before.insert((userId, doc) => { + const lastBoard = Boards.findOne( + { sort: { $exists: true } }, + { sort: { sort: -1 } }, + ); + if (lastBoard && typeof lastBoard.sort !== 'undefined') { + doc.sort = lastBoard.sort + 1; + } +}); + +if (Meteor.isServer) { + // Let MongoDB ensure that a member is not included twice in the same board + Meteor.startup(() => { + Boards._collection._ensureIndex({ modifiedAt: -1 }); + Boards._collection._ensureIndex( + { + _id: 1, + 'members.userId': 1, + }, + { unique: true }, + ); + Boards._collection._ensureIndex({ 'members.userId': 1 }); + }); + + // Genesis: the first activity of the newly created board + Boards.after.insert((userId, doc) => { + Activities.insert({ + userId, + type: 'board', + activityTypeId: doc._id, + activityType: 'createBoard', + boardId: doc._id, + }); + }); + + // If the user remove one label from a board, we cant to remove reference of + // this label in any card of this board. + Boards.after.update((userId, doc, fieldNames, modifier) => { + if ( + !_.contains(fieldNames, 'labels') || + !modifier.$pull || + !modifier.$pull.labels || + !modifier.$pull.labels._id + ) { + return; + } + + const removedLabelId = modifier.$pull.labels._id; + Cards.update( + { boardId: doc._id }, + { + $pull: { + labelIds: removedLabelId, + }, + }, + { multi: true }, + ); + }); + + const foreachRemovedMember = (doc, modifier, callback) => { + Object.keys(modifier).forEach(set => { + if (modifier[set] !== false) { + return; + } + + const parts = set.split('.'); + if ( + parts.length === 3 && + parts[0] === 'members' && + parts[2] === 'isActive' + ) { + callback(doc.members[parts[1]].userId); + } + }); + }; + + // Remove a member from all objects of the board before leaving the board + Boards.before.update((userId, doc, fieldNames, modifier) => { + if (!_.contains(fieldNames, 'members')) { + return; + } + + if (modifier.$set) { + const boardId = doc._id; + foreachRemovedMember(doc, modifier.$set, memberId => { + Cards.update( + { boardId }, + { + $pull: { + members: memberId, + watchers: memberId, + }, + }, + { multi: true }, + ); + + Lists.update( + { boardId }, + { + $pull: { + watchers: memberId, + }, + }, + { multi: true }, + ); + + const board = Boards._transform(doc); + board.setWatcher(memberId, false); + + // Remove board from users starred list + if (!board.isPublic()) { + Users.update(memberId, { + $pull: { + 'profile.starredBoards': boardId, + }, + }); + } + }); + } + }); + + Boards.before.remove((userId, doc) => { + boardRemover(userId, doc); + // Add removeBoard activity to keep it + Activities.insert({ + userId, + type: 'board', + activityTypeId: doc._id, + activityType: 'removeBoard', + boardId: doc._id, + }); + }); + + // Add a new activity if we add or remove a member to the board + Boards.after.update((userId, doc, fieldNames, modifier) => { + if (!_.contains(fieldNames, 'members')) { + return; + } + + // Say hello to the new member + if (modifier.$push && modifier.$push.members) { + const memberId = modifier.$push.members.userId; + Activities.insert({ + userId, + memberId, + type: 'member', + activityType: 'addBoardMember', + boardId: doc._id, + }); + } + + // Say goodbye to the former member + if (modifier.$set) { + foreachRemovedMember(doc, modifier.$set, memberId => { + Activities.insert({ + userId, + memberId, + type: 'member', + activityType: 'removeBoardMember', + boardId: doc._id, + }); + }); + } + }); +} + +//BOARDS REST API +if (Meteor.isServer) { + /** + * @operation get_boards_from_user + * @summary Get all boards attached to a user + * + * @param {string} userId the ID of the user to retrieve the data + * @return_type [{_id: string, + title: string}] + */ + JsonRoutes.add('GET', '/api/users/:userId/boards', function(req, res) { + try { + Authentication.checkLoggedIn(req.userId); + const paramUserId = req.params.userId; + // A normal user should be able to see their own boards, + // admins can access boards of any user + Authentication.checkAdminOrCondition( + req.userId, + req.userId === paramUserId, + ); + + const data = Boards.find( + { + archived: false, + 'members.userId': paramUserId, + }, + { + sort: { sort: 1 /* boards default sorting */ }, + }, + ).map(function(board) { + return { + _id: board._id, + title: board.title, + }; + }); + + JsonRoutes.sendResult(res, { code: 200, data }); + } catch (error) { + JsonRoutes.sendResult(res, { + code: 200, + data: error, + }); + } + }); + + /** + * @operation get_public_boards + * @summary Get all public boards + * + * @return_type [{_id: string, + title: string}] + */ + JsonRoutes.add('GET', '/api/boards', function(req, res) { + try { + Authentication.checkUserId(req.userId); + JsonRoutes.sendResult(res, { + code: 200, + data: Boards.find( + { permission: 'public' }, + { + sort: { sort: 1 /* boards default sorting */ }, + }, + ).map(function(doc) { + return { + _id: doc._id, + title: doc.title, + }; + }), + }); + } catch (error) { + JsonRoutes.sendResult(res, { + code: 200, + data: error, + }); + } + }); + + /** + * @operation get_board + * @summary Get the board with that particular ID + * + * @param {string} boardId the ID of the board to retrieve the data + * @return_type Boards + */ + JsonRoutes.add('GET', '/api/boards/:boardId', function(req, res) { + try { + const id = req.params.boardId; + Authentication.checkBoardAccess(req.userId, id); + + JsonRoutes.sendResult(res, { + code: 200, + data: Boards.findOne({ _id: id }), + }); + } catch (error) { + JsonRoutes.sendResult(res, { + code: 200, + data: error, + }); + } + }); + + /** + * @operation new_board + * @summary Create a board + * + * @description This allows to create a board. + * + * The color has to be chosen between `belize`, `nephritis`, `pomegranate`, + * `pumpkin`, `wisteria`, `moderatepink`, `strongcyan`, + * `limegreen`, `midnight`, `dark`, `relax`, `corteza`: + * + * Wekan logo + * + * @param {string} title the new title of the board + * @param {string} owner "ABCDE12345" <= User ID in Wekan. + * (Not username or email) + * @param {boolean} [isAdmin] is the owner an admin of the board (default true) + * @param {boolean} [isActive] is the board active (default true) + * @param {boolean} [isNoComments] disable comments (default false) + * @param {boolean} [isCommentOnly] only enable comments (default false) + * @param {boolean} [isWorker] only move cards, assign himself to card and comment (default false) + * @param {string} [permission] "private" board <== Set to "public" if you + * want public Wekan board + * @param {string} [color] the color of the board + * + * @return_type {_id: string, + defaultSwimlaneId: string} + */ + JsonRoutes.add('POST', '/api/boards', function(req, res) { + try { + Authentication.checkUserId(req.userId); + const id = Boards.insert({ + title: req.body.title, + members: [ + { + userId: req.body.owner, + isAdmin: req.body.isAdmin || true, + isActive: req.body.isActive || true, + isNoComments: req.body.isNoComments || false, + isCommentOnly: req.body.isCommentOnly || false, + isWorker: req.body.isWorker || false, + }, + ], + permission: req.body.permission || 'private', + color: req.body.color || 'belize', + }); + const swimlaneId = Swimlanes.insert({ + title: TAPi18n.__('default'), + boardId: id, + }); + JsonRoutes.sendResult(res, { + code: 200, + data: { + _id: id, + defaultSwimlaneId: swimlaneId, + }, + }); + } catch (error) { + JsonRoutes.sendResult(res, { + code: 200, + data: error, + }); + } + }); + + /** + * @operation delete_board + * @summary Delete a board + * + * @param {string} boardId the ID of the board + */ + JsonRoutes.add('DELETE', '/api/boards/:boardId', function(req, res) { + try { + Authentication.checkUserId(req.userId); + const id = req.params.boardId; + Boards.remove({ _id: id }); + JsonRoutes.sendResult(res, { + code: 200, + data: { + _id: id, + }, + }); + } catch (error) { + JsonRoutes.sendResult(res, { + code: 200, + data: error, + }); + } + }); + + /** + * @operation add_board_label + * @summary Add a label to a board + * + * @description If the board doesn't have the name/color label, this function + * adds the label to the board. + * + * @param {string} boardId the board + * @param {string} color the color of the new label + * @param {string} name the name of the new label + * + * @return_type string + */ + JsonRoutes.add('PUT', '/api/boards/:boardId/labels', function(req, res) { + Authentication.checkUserId(req.userId); + const id = req.params.boardId; + try { + if (req.body.hasOwnProperty('label')) { + const board = Boards.findOne({ _id: id }); + const color = req.body.label.color; + const name = req.body.label.name; + const labelId = Random.id(6); + if (!board.getLabel(name, color)) { + Boards.direct.update( + { _id: id }, + { $push: { labels: { _id: labelId, name, color } } }, + ); + JsonRoutes.sendResult(res, { + code: 200, + data: labelId, + }); + } else { + JsonRoutes.sendResult(res, { + code: 200, + }); + } + } + } catch (error) { + JsonRoutes.sendResult(res, { + data: error, + }); + } + }); + + /** + * @operation set_board_member_permission + * @tag Users + * @summary Change the permission of a member of a board + * + * @param {string} boardId the ID of the board that we are changing + * @param {string} memberId the ID of the user to change permissions + * @param {boolean} isAdmin admin capability + * @param {boolean} isNoComments NoComments capability + * @param {boolean} isCommentOnly CommentsOnly capability + * @param {boolean} isWorker Worker capability + */ + JsonRoutes.add('POST', '/api/boards/:boardId/members/:memberId', function( + req, + res, + ) { + try { + const boardId = req.params.boardId; + const memberId = req.params.memberId; + const { isAdmin, isNoComments, isCommentOnly, isWorker } = req.body; + Authentication.checkBoardAccess(req.userId, boardId); + const board = Boards.findOne({ _id: boardId }); + function isTrue(data) { + try { + return data.toLowerCase() === 'true'; + } catch (error) { + return data; + } + } + const query = board.setMemberPermission( + memberId, + isTrue(isAdmin), + isTrue(isNoComments), + isTrue(isCommentOnly), + isTrue(isWorker), + req.userId, + ); + + JsonRoutes.sendResult(res, { + code: 200, + data: query, + }); + } catch (error) { + JsonRoutes.sendResult(res, { + code: 200, + data: error, + }); + } + }); +} + +export default Boards; diff --git a/models/cardComments.js b/models/cardComments.js new file mode 100644 index 0000000..39477e1 --- /dev/null +++ b/models/cardComments.js @@ -0,0 +1,320 @@ +CardComments = new Mongo.Collection('card_comments'); + +/** + * A comment on a card + */ +CardComments.attachSchema( + new SimpleSchema({ + boardId: { + /** + * the board ID + */ + type: String, + }, + cardId: { + /** + * the card ID + */ + type: String, + }, + // XXX Rename in `content`? `text` is a bit vague... + text: { + /** + * the text of the comment + */ + type: String, + }, + createdAt: { + /** + * when was the comment created + */ + type: Date, + denyUpdate: false, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert) { + return new Date(); + } else if (this.isUpsert) { + return { $setOnInsert: new Date() }; + } else { + this.unset(); + } + }, + }, + modifiedAt: { + type: Date, + denyUpdate: false, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert || this.isUpsert || this.isUpdate) { + return new Date(); + } else { + this.unset(); + } + }, + }, + // XXX Should probably be called `authorId` + userId: { + /** + * the author ID of the comment + */ + type: String, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert && !this.isSet) { + return this.userId; + } + }, + }, + }), +); + +CardComments.allow({ + insert(userId, doc) { + return allowIsBoardMember(userId, Boards.findOne(doc.boardId)); + }, + update(userId, doc) { + return userId === doc.userId; + }, + remove(userId, doc) { + return userId === doc.userId; + }, + fetch: ['userId', 'boardId'], +}); + +CardComments.helpers({ + copy(newCardId) { + this.cardId = newCardId; + delete this._id; + CardComments.insert(this); + }, + + user() { + return Users.findOne(this.userId); + }, +}); + +CardComments.hookOptions.after.update = { fetchPrevious: false }; + +function commentCreation(userId, doc) { + const card = Cards.findOne(doc.cardId); + Activities.insert({ + userId, + activityType: 'addComment', + boardId: doc.boardId, + cardId: doc.cardId, + commentId: doc._id, + listId: card.listId, + swimlaneId: card.swimlaneId, + }); +} + +if (Meteor.isServer) { + // Comments are often fetched within a card, so we create an index to make these + // queries more efficient. + Meteor.startup(() => { + CardComments._collection._ensureIndex({ modifiedAt: -1 }); + CardComments._collection._ensureIndex({ cardId: 1, createdAt: -1 }); + }); + + CardComments.after.insert((userId, doc) => { + commentCreation(userId, doc); + }); + + CardComments.after.update((userId, doc) => { + const card = Cards.findOne(doc.cardId); + Activities.insert({ + userId, + activityType: 'editComment', + boardId: doc.boardId, + cardId: doc.cardId, + commentId: doc._id, + listId: card.listId, + swimlaneId: card.swimlaneId, + }); + }); + + CardComments.before.remove((userId, doc) => { + const card = Cards.findOne(doc.cardId); + Activities.insert({ + userId, + activityType: 'deleteComment', + boardId: doc.boardId, + cardId: doc.cardId, + commentId: doc._id, + listId: card.listId, + swimlaneId: card.swimlaneId, + }); + }); + + CardComments.after.remove((userId, doc) => { + const activity = Activities.findOne({ commentId: doc._id }); + if (activity) { + Activities.remove(activity._id); + } + }); +} + +//CARD COMMENT REST API +if (Meteor.isServer) { + /** + * @operation get_all_comments + * @summary Get all comments attached to a card + * + * @param {string} boardId the board ID of the card + * @param {string} cardId the ID of the card + * @return_type [{_id: string, + * comment: string, + * authorId: string}] + */ + JsonRoutes.add('GET', '/api/boards/:boardId/cards/:cardId/comments', function( + req, + res, + ) { + try { + Authentication.checkUserId(req.userId); + const paramBoardId = req.params.boardId; + const paramCardId = req.params.cardId; + JsonRoutes.sendResult(res, { + code: 200, + data: CardComments.find({ + boardId: paramBoardId, + cardId: paramCardId, + }).map(function(doc) { + return { + _id: doc._id, + comment: doc.text, + authorId: doc.userId, + }; + }), + }); + } catch (error) { + JsonRoutes.sendResult(res, { + code: 200, + data: error, + }); + } + }); + + /** + * @operation get_comment + * @summary Get a comment on a card + * + * @param {string} boardId the board ID of the card + * @param {string} cardId the ID of the card + * @param {string} commentId the ID of the comment to retrieve + * @return_type CardComments + */ + JsonRoutes.add( + 'GET', + '/api/boards/:boardId/cards/:cardId/comments/:commentId', + function(req, res) { + try { + Authentication.checkUserId(req.userId); + const paramBoardId = req.params.boardId; + const paramCommentId = req.params.commentId; + const paramCardId = req.params.cardId; + JsonRoutes.sendResult(res, { + code: 200, + data: CardComments.findOne({ + _id: paramCommentId, + cardId: paramCardId, + boardId: paramBoardId, + }), + }); + } catch (error) { + JsonRoutes.sendResult(res, { + code: 200, + data: error, + }); + } + }, + ); + + /** + * @operation new_comment + * @summary Add a comment on a card + * + * @param {string} boardId the board ID of the card + * @param {string} cardId the ID of the card + * @param {string} authorId the user who 'posted' the comment + * @param {string} text the content of the comment + * @return_type {_id: string} + */ + JsonRoutes.add( + 'POST', + '/api/boards/:boardId/cards/:cardId/comments', + function(req, res) { + try { + Authentication.checkUserId(req.userId); + const paramBoardId = req.params.boardId; + const paramCardId = req.params.cardId; + const id = CardComments.direct.insert({ + userId: req.body.authorId, + text: req.body.comment, + cardId: paramCardId, + boardId: paramBoardId, + }); + + JsonRoutes.sendResult(res, { + code: 200, + data: { + _id: id, + }, + }); + + const cardComment = CardComments.findOne({ + _id: id, + cardId: paramCardId, + boardId: paramBoardId, + }); + commentCreation(req.body.authorId, cardComment); + } catch (error) { + JsonRoutes.sendResult(res, { + code: 200, + data: error, + }); + } + }, + ); + + /** + * @operation delete_comment + * @summary Delete a comment on a card + * + * @param {string} boardId the board ID of the card + * @param {string} cardId the ID of the card + * @param {string} commentId the ID of the comment to delete + * @return_type {_id: string} + */ + JsonRoutes.add( + 'DELETE', + '/api/boards/:boardId/cards/:cardId/comments/:commentId', + function(req, res) { + try { + Authentication.checkUserId(req.userId); + const paramBoardId = req.params.boardId; + const paramCommentId = req.params.commentId; + const paramCardId = req.params.cardId; + CardComments.remove({ + _id: paramCommentId, + cardId: paramCardId, + boardId: paramBoardId, + }); + JsonRoutes.sendResult(res, { + code: 200, + data: { + _id: paramCardId, + }, + }); + } catch (error) { + JsonRoutes.sendResult(res, { + code: 200, + data: error, + }); + } + }, + ); +} + +export default CardComments; diff --git a/models/cards.js b/models/cards.js new file mode 100644 index 0000000..04d187b --- /dev/null +++ b/models/cards.js @@ -0,0 +1,2781 @@ +Cards = new Mongo.Collection('cards'); + +// XXX To improve pub/sub performances a card document should include a +// de-normalized number of comments so we don't have to publish the whole list +// of comments just to display the number of them in the board view. +Cards.attachSchema( + new SimpleSchema({ + title: { + /** + * the title of the card + */ + type: String, + optional: true, + defaultValue: '', + }, + archived: { + /** + * is the card archived + */ + type: Boolean, + // eslint-disable-next-line consistent-return + autoValue() { + // eslint-disable-line consistent-return + if (this.isInsert && !this.isSet) { + return false; + } + }, + }, + parentId: { + /** + * ID of the parent card + */ + type: String, + optional: true, + defaultValue: '', + }, + listId: { + /** + * List ID where the card is + */ + type: String, + optional: true, + defaultValue: '', + }, + swimlaneId: { + /** + * Swimlane ID where the card is + */ + type: String, + }, + // The system could work without this `boardId` information (we could deduce + // the board identifier from the card), but it would make the system more + // difficult to manage and less efficient. + boardId: { + /** + * Board ID of the card + */ + type: String, + optional: true, + defaultValue: '', + }, + coverId: { + /** + * Cover ID of the card + */ + type: String, + optional: true, + defaultValue: '', + }, + color: { + type: String, + optional: true, + allowedValues: [ + 'white', + 'green', + 'yellow', + 'orange', + 'red', + 'purple', + 'blue', + 'sky', + 'lime', + 'pink', + 'black', + 'silver', + 'peachpuff', + 'crimson', + 'plum', + 'darkgreen', + 'slateblue', + 'magenta', + 'gold', + 'navy', + 'gray', + 'saddlebrown', + 'paleturquoise', + 'mistyrose', + 'indigo', + ], + }, + createdAt: { + /** + * creation date + */ + type: Date, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert) { + return new Date(); + } else if (this.isUpsert) { + return { $setOnInsert: new Date() }; + } else { + this.unset(); + } + }, + }, + modifiedAt: { + type: Date, + denyUpdate: false, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert || this.isUpsert || this.isUpdate) { + return new Date(); + } else { + this.unset(); + } + }, + }, + customFields: { + /** + * list of custom fields + */ + type: [Object], + optional: true, + defaultValue: [], + }, + 'customFields.$': { + type: new SimpleSchema({ + _id: { + /** + * the ID of the related custom field + */ + type: String, + optional: true, + defaultValue: '', + }, + value: { + /** + * value attached to the custom field + */ + type: Match.OneOf(String, Number, Boolean, Date), + optional: true, + defaultValue: '', + }, + }), + }, + dateLastActivity: { + /** + * Date of last activity + */ + type: Date, + autoValue() { + return new Date(); + }, + }, + description: { + /** + * description of the card + */ + type: String, + optional: true, + defaultValue: '', + }, + requestedBy: { + /** + * who requested the card (ID of the user) + */ + type: String, + optional: true, + defaultValue: '', + }, + assignedBy: { + /** + * who assigned the card (ID of the user) + */ + type: String, + optional: true, + defaultValue: '', + }, + labelIds: { + /** + * list of labels ID the card has + */ + type: [String], + optional: true, + defaultValue: [], + }, + members: { + /** + * list of members (user IDs) + */ + type: [String], + optional: true, + defaultValue: [], + }, + assignees: { + /** + * who is assignee of the card (user ID), + * maximum one ID of assignee in array. + */ + type: [String], + optional: true, + defaultValue: [], + }, + receivedAt: { + /** + * Date the card was received + */ + type: Date, + optional: true, + }, + startAt: { + /** + * Date the card was started to be worked on + */ + type: Date, + optional: true, + }, + dueAt: { + /** + * Date the card is due + */ + type: Date, + optional: true, + }, + endAt: { + /** + * Date the card ended + */ + type: Date, + optional: true, + }, + spentTime: { + /** + * How much time has been spent on this + */ + type: Number, + decimal: true, + optional: true, + defaultValue: 0, + }, + isOvertime: { + /** + * is the card over time? + */ + type: Boolean, + defaultValue: false, + optional: true, + }, + // XXX Should probably be called `authorId`. Is it even needed since we have + // the `members` field? + userId: { + /** + * user ID of the author of the card + */ + type: String, + // eslint-disable-next-line consistent-return + autoValue() { + // eslint-disable-line consistent-return + if (this.isInsert && !this.isSet) { + return this.userId; + } + }, + }, + sort: { + /** + * Sort value + */ + type: Number, + decimal: true, + defaultValue: 0, + }, + subtaskSort: { + /** + * subtask sort value + */ + type: Number, + decimal: true, + defaultValue: -1, + optional: true, + }, + type: { + /** + * type of the card + */ + type: String, + defaultValue: 'cardType-card', + }, + linkedId: { + /** + * ID of the linked card + */ + type: String, + optional: true, + defaultValue: '', + }, + vote: { + /** + * vote object, see below + */ + type: Object, + optional: true, + }, + 'vote.question': { + type: String, + defaultValue: '', + }, + 'vote.positive': { + /** + * list of members (user IDs) + */ + type: [String], + optional: true, + defaultValue: [], + }, + 'vote.negative': { + /** + * list of members (user IDs) + */ + type: [String], + optional: true, + defaultValue: [], + }, + 'vote.end': { + type: Date, + optional: true, + defaultValue: null, + }, + 'vote.public': { + type: Boolean, + defaultValue: false, + }, + 'vote.allowNonBoardMembers': { + type: Boolean, + defaultValue: false, + }, + }), +); + +Cards.allow({ + insert(userId, doc) { + return allowIsBoardMember(userId, Boards.findOne(doc.boardId)); + }, + + update(userId, doc, fields) { + // Allow board members or logged in users if only vote get's changed + return ( + allowIsBoardMember(userId, Boards.findOne(doc.boardId)) || + (_.isEqual(fields, ['vote', 'modifiedAt', 'dateLastActivity']) && + !!userId) + ); + }, + remove(userId, doc) { + return allowIsBoardMember(userId, Boards.findOne(doc.boardId)); + }, + fetch: ['boardId'], +}); + +Cards.helpers({ + copy(boardId, swimlaneId, listId) { + const oldId = this._id; + const oldCard = Cards.findOne(oldId); + + // we must only copy the labels and custom fields if the target board + // differs from the source board + if (this.boardId !== boardId) { + const oldBoard = Boards.findOne(this.boardId); + const oldBoardLabels = oldBoard.labels; + + // Get old label names + const oldCardLabels = _.pluck( + _.filter(oldBoardLabels, label => { + return _.contains(this.labelIds, label._id); + }), + 'name', + ); + + const newBoard = Boards.findOne(boardId); + const newBoardLabels = newBoard.labels; + const newCardLabels = _.pluck( + _.filter(newBoardLabels, label => { + return _.contains(oldCardLabels, label.name); + }), + '_id', + ); + // now set the new label ids + delete this.labelIds; + this.labelIds = newCardLabels; + + // Copy Custom Fields + CustomFields.find({ + _id: { + $in: oldCard.customFields.map(cf => { + return cf._id; + }), + }, + }).forEach(cf => { + if (!_.contains(cf.boardIds, boardId)) cf.addBoard(boardId); + }); + } + + delete this._id; + this.boardId = boardId; + this.swimlaneId = swimlaneId; + this.listId = listId; + const _id = Cards.insert(this); + + // Copy attachments + oldCard.attachments().forEach(att => { + att.cardId = _id; + delete att._id; + return Attachments.insert(att); + }); + + // copy checklists + Checklists.find({ cardId: oldId }).forEach(ch => { + ch.copy(_id); + }); + + // copy subtasks + Cards.find({ parentId: oldId }).forEach(subtask => { + subtask.parentId = _id; + subtask._id = null; + Cards.insert(subtask); + }); + + // copy card comments + CardComments.find({ cardId: oldId }).forEach(cmt => { + cmt.copy(_id); + }); + + return _id; + }, + + link(boardId, swimlaneId, listId) { + // TODO is there a better method to create a deepcopy? + linkCard = JSON.parse(JSON.stringify(this)); + // TODO is this how it is meant to be? + linkCard.linkedId = linkCard.linkedId || linkCard._id; + linkCard.boardId = boardId; + linkCard.swimlaneId = swimlaneId; + linkCard.listId = listId; + linkCard.type = 'cardType-linkedCard'; + delete linkCard._id; + // TODO shall we copy the labels for a linked card?! + delete linkCard.labelIds; + return Cards.insert(linkCard); + }, + + list() { + return Lists.findOne(this.listId); + }, + + board() { + return Boards.findOne(this.boardId); + }, + + labels() { + const boardLabels = this.board().labels; + const cardLabels = _.filter(boardLabels, label => { + return _.contains(this.labelIds, label._id); + }); + return cardLabels; + }, + + hasLabel(labelId) { + return _.contains(this.labelIds, labelId); + }, + + user() { + return Users.findOne(this.userId); + }, + + isAssigned(memberId) { + return _.contains(this.getMembers(), memberId); + }, + + isAssignee(assigneeId) { + return _.contains(this.getAssignees(), assigneeId); + }, + + activities() { + if (this.isLinkedCard()) { + return Activities.find( + { cardId: this.linkedId }, + { sort: { createdAt: -1 } }, + ); + } else if (this.isLinkedBoard()) { + return Activities.find( + { boardId: this.linkedId }, + { sort: { createdAt: -1 } }, + ); + } else { + return Activities.find({ cardId: this._id }, { sort: { createdAt: -1 } }); + } + }, + + comments() { + if (this.isLinkedCard()) { + return CardComments.find( + { cardId: this.linkedId }, + { sort: { createdAt: -1 } }, + ); + } else { + return CardComments.find( + { cardId: this._id }, + { sort: { createdAt: -1 } }, + ); + } + }, + + attachments() { + if (this.isLinkedCard()) { + return Attachments.find( + { cardId: this.linkedId }, + { sort: { uploadedAt: -1 } }, + ); + } else { + return Attachments.find( + { cardId: this._id }, + { sort: { uploadedAt: -1 } }, + ); + } + }, + + cover() { + if (!this.coverId) return false; + const cover = Attachments.findOne(this.coverId); + // if we return a cover before it is fully stored, we will get errors when we try to display it + // todo XXX we could return a default "upload pending" image in the meantime? + return cover && cover.url() && cover; + }, + + checklists() { + if (this.isLinkedCard()) { + return Checklists.find({ cardId: this.linkedId }, { sort: { sort: 1 } }); + } else { + return Checklists.find({ cardId: this._id }, { sort: { sort: 1 } }); + } + }, + + checklistItemCount() { + const checklists = this.checklists().fetch(); + return checklists + .map(checklist => { + return checklist.itemCount(); + }) + .reduce((prev, next) => { + return prev + next; + }, 0); + }, + + checklistFinishedCount() { + const checklists = this.checklists().fetch(); + return checklists + .map(checklist => { + return checklist.finishedCount(); + }) + .reduce((prev, next) => { + return prev + next; + }, 0); + }, + + checklistFinished() { + return ( + this.hasChecklist() && + this.checklistItemCount() === this.checklistFinishedCount() + ); + }, + + hasChecklist() { + return this.checklistItemCount() !== 0; + }, + + subtasks() { + return Cards.find( + { + parentId: this._id, + archived: false, + }, + { + sort: { + sort: 1, + }, + }, + ); + }, + + allSubtasks() { + return Cards.find( + { + parentId: this._id, + archived: false, + }, + { + sort: { + sort: 1, + }, + }, + ); + }, + + subtasksCount() { + return Cards.find({ + parentId: this._id, + archived: false, + }).count(); + }, + + subtasksFinishedCount() { + return Cards.find({ + parentId: this._id, + archived: true, + }).count(); + }, + + subtasksFinished() { + const finishCount = this.subtasksFinishedCount(); + return finishCount > 0 && this.subtasksCount() === finishCount; + }, + + allowsSubtasks() { + return this.subtasksCount() !== 0; + }, + + customFieldIndex(customFieldId) { + return _.pluck(this.customFields, '_id').indexOf(customFieldId); + }, + + // customFields with definitions + customFieldsWD() { + // get all definitions + const definitions = CustomFields.find({ + boardIds: { $in: [this.boardId] }, + }).fetch(); + + // match right definition to each field + if (!this.customFields) return []; + return this.customFields.map(customField => { + const definition = definitions.find(definition => { + return definition._id === customField._id; + }); + if (!definition) { + return {}; + } + //search for "True Value" which is for DropDowns other then the Value (which is the id) + let trueValue = customField.value; + if ( + definition.settings.dropdownItems && + definition.settings.dropdownItems.length > 0 + ) { + for (let i = 0; i < definition.settings.dropdownItems.length; i++) { + if (definition.settings.dropdownItems[i]._id === customField.value) { + trueValue = definition.settings.dropdownItems[i].name; + } + } + } + return { + _id: customField._id, + value: customField.value, + trueValue, + definition, + }; + }); + }, + + colorClass() { + if (this.color) return this.color; + return ''; + }, + + absoluteUrl() { + const board = this.board(); + return FlowRouter.url('card', { + boardId: board._id, + slug: board.slug, + cardId: this._id, + }); + }, + + canBeRestored() { + const list = Lists.findOne({ + _id: this.listId, + }); + if ( + !list.getWipLimit('soft') && + list.getWipLimit('enabled') && + list.getWipLimit('value') === list.cards().count() + ) { + return false; + } + return true; + }, + + parentCard() { + if (this.parentId === '') { + return null; + } + return Cards.findOne(this.parentId); + }, + + parentCardName() { + let result = ''; + if (this.parentId !== '') { + const card = Cards.findOne(this.parentId); + if (card) { + result = card.title; + } + } + return result; + }, + + parentListId() { + const result = []; + let crtParentId = this.parentId; + while (crtParentId !== '') { + const crt = Cards.findOne(crtParentId); + if (crt === null || crt === undefined) { + // maybe it has been deleted + break; + } + if (crtParentId in result) { + // circular reference + break; + } + result.unshift(crtParentId); + crtParentId = crt.parentId; + } + return result; + }, + + parentList() { + const resultId = []; + const result = []; + let crtParentId = this.parentId; + while (crtParentId !== '') { + const crt = Cards.findOne(crtParentId); + if (crt === null || crt === undefined) { + // maybe it has been deleted + break; + } + if (crtParentId in resultId) { + // circular reference + break; + } + resultId.unshift(crtParentId); + result.unshift(crt); + crtParentId = crt.parentId; + } + return result; + }, + + parentString(sep) { + return this.parentList() + .map(function(elem) { + return elem.title; + }) + .join(sep); + }, + + isTopLevel() { + return this.parentId === ''; + }, + + isLinkedCard() { + return this.type === 'cardType-linkedCard'; + }, + + isLinkedBoard() { + return this.type === 'cardType-linkedBoard'; + }, + + isLinked() { + return this.isLinkedCard() || this.isLinkedBoard(); + }, + + setDescription(description) { + if (this.isLinkedCard()) { + return Cards.update({ _id: this.linkedId }, { $set: { description } }); + } else if (this.isLinkedBoard()) { + return Boards.update({ _id: this.linkedId }, { $set: { description } }); + } else { + return Cards.update({ _id: this._id }, { $set: { description } }); + } + }, + + getDescription() { + if (this.isLinkedCard()) { + const card = Cards.findOne({ _id: this.linkedId }); + if (card && card.description) return card.description; + else return null; + } else if (this.isLinkedBoard()) { + const board = Boards.findOne({ _id: this.linkedId }); + if (board && board.description) return board.description; + else return null; + } else if (this.description) { + return this.description; + } else { + return null; + } + }, + + getMembers() { + if (this.isLinkedCard()) { + const card = Cards.findOne({ _id: this.linkedId }); + return card.members; + } else if (this.isLinkedBoard()) { + const board = Boards.findOne({ _id: this.linkedId }); + return board.activeMembers().map(member => { + return member.userId; + }); + } else { + return this.members; + } + }, + + getAssignees() { + if (this.isLinkedCard()) { + const card = Cards.findOne({ _id: this.linkedId }); + return card.assignees; + } else if (this.isLinkedBoard()) { + const board = Boards.findOne({ _id: this.linkedId }); + return board.activeMembers().map(assignee => { + return assignee.userId; + }); + } else { + return this.assignees; + } + }, + + assignMember(memberId) { + if (this.isLinkedCard()) { + return Cards.update( + { _id: this.linkedId }, + { $addToSet: { members: memberId } }, + ); + } else if (this.isLinkedBoard()) { + const board = Boards.findOne({ _id: this.linkedId }); + return board.addMember(memberId); + } else { + return Cards.update( + { _id: this._id }, + { $addToSet: { members: memberId } }, + ); + } + }, + + assignAssignee(assigneeId) { + if (this.isLinkedCard()) { + return Cards.update( + { _id: this.linkedId }, + { $addToSet: { assignees: assigneeId } }, + ); + } else if (this.isLinkedBoard()) { + const board = Boards.findOne({ _id: this.linkedId }); + return board.addAssignee(assigneeId); + } else { + return Cards.update( + { _id: this._id }, + { $addToSet: { assignees: assigneeId } }, + ); + } + }, + + unassignMember(memberId) { + if (this.isLinkedCard()) { + return Cards.update( + { _id: this.linkedId }, + { $pull: { members: memberId } }, + ); + } else if (this.isLinkedBoard()) { + const board = Boards.findOne({ _id: this.linkedId }); + return board.removeMember(memberId); + } else { + return Cards.update({ _id: this._id }, { $pull: { members: memberId } }); + } + }, + + unassignAssignee(assigneeId) { + if (this.isLinkedCard()) { + return Cards.update( + { _id: this.linkedId }, + { $pull: { assignees: assigneeId } }, + ); + } else if (this.isLinkedBoard()) { + const board = Boards.findOne({ _id: this.linkedId }); + return board.removeAssignee(assigneeId); + } else { + return Cards.update( + { _id: this._id }, + { $pull: { assignees: assigneeId } }, + ); + } + }, + + toggleMember(memberId) { + if (this.getMembers() && this.getMembers().indexOf(memberId) > -1) { + return this.unassignMember(memberId); + } else { + return this.assignMember(memberId); + } + }, + + toggleAssignee(assigneeId) { + if (this.getAssignees() && this.getAssignees().indexOf(assigneeId) > -1) { + return this.unassignAssignee(assigneeId); + } else { + return this.assignAssignee(assigneeId); + } + }, + + getReceived() { + if (this.isLinkedCard()) { + const card = Cards.findOne({ _id: this.linkedId }); + return card.receivedAt; + } else { + return this.receivedAt; + } + }, + + setReceived(receivedAt) { + if (this.isLinkedCard()) { + return Cards.update({ _id: this.linkedId }, { $set: { receivedAt } }); + } else { + return Cards.update({ _id: this._id }, { $set: { receivedAt } }); + } + }, + + getStart() { + if (this.isLinkedCard()) { + const card = Cards.findOne({ _id: this.linkedId }); + return card.startAt; + } else if (this.isLinkedBoard()) { + const board = Boards.findOne({ _id: this.linkedId }); + return board.startAt; + } else { + return this.startAt; + } + }, + + setStart(startAt) { + if (this.isLinkedCard()) { + return Cards.update({ _id: this.linkedId }, { $set: { startAt } }); + } else if (this.isLinkedBoard()) { + return Boards.update({ _id: this.linkedId }, { $set: { startAt } }); + } else { + return Cards.update({ _id: this._id }, { $set: { startAt } }); + } + }, + + getDue() { + if (this.isLinkedCard()) { + const card = Cards.findOne({ _id: this.linkedId }); + return card.dueAt; + } else if (this.isLinkedBoard()) { + const board = Boards.findOne({ _id: this.linkedId }); + return board.dueAt; + } else { + return this.dueAt; + } + }, + + setDue(dueAt) { + if (this.isLinkedCard()) { + return Cards.update({ _id: this.linkedId }, { $set: { dueAt } }); + } else if (this.isLinkedBoard()) { + return Boards.update({ _id: this.linkedId }, { $set: { dueAt } }); + } else { + return Cards.update({ _id: this._id }, { $set: { dueAt } }); + } + }, + + getEnd() { + if (this.isLinkedCard()) { + const card = Cards.findOne({ _id: this.linkedId }); + return card.endAt; + } else if (this.isLinkedBoard()) { + const board = Boards.findOne({ _id: this.linkedId }); + return board.endAt; + } else { + return this.endAt; + } + }, + + setEnd(endAt) { + if (this.isLinkedCard()) { + return Cards.update({ _id: this.linkedId }, { $set: { endAt } }); + } else if (this.isLinkedBoard()) { + return Boards.update({ _id: this.linkedId }, { $set: { endAt } }); + } else { + return Cards.update({ _id: this._id }, { $set: { endAt } }); + } + }, + + getIsOvertime() { + if (this.isLinkedCard()) { + const card = Cards.findOne({ _id: this.linkedId }); + return card.isOvertime; + } else if (this.isLinkedBoard()) { + const board = Boards.findOne({ _id: this.linkedId }); + return board.isOvertime; + } else { + return this.isOvertime; + } + }, + + setIsOvertime(isOvertime) { + if (this.isLinkedCard()) { + return Cards.update({ _id: this.linkedId }, { $set: { isOvertime } }); + } else if (this.isLinkedBoard()) { + return Boards.update({ _id: this.linkedId }, { $set: { isOvertime } }); + } else { + return Cards.update({ _id: this._id }, { $set: { isOvertime } }); + } + }, + + getSpentTime() { + if (this.isLinkedCard()) { + const card = Cards.findOne({ _id: this.linkedId }); + return card.spentTime; + } else if (this.isLinkedBoard()) { + const board = Boards.findOne({ _id: this.linkedId }); + return board.spentTime; + } else { + return this.spentTime; + } + }, + + setSpentTime(spentTime) { + if (this.isLinkedCard()) { + return Cards.update({ _id: this.linkedId }, { $set: { spentTime } }); + } else if (this.isLinkedBoard()) { + return Boards.update({ _id: this.linkedId }, { $set: { spentTime } }); + } else { + return Cards.update({ _id: this._id }, { $set: { spentTime } }); + } + }, + + getVoteQuestion() { + if (this.isLinkedCard()) { + const card = Cards.findOne({ _id: this.linkedId }); + if (card && card.vote) return card.vote.question; + else return null; + } else if (this.isLinkedBoard()) { + const board = Boards.findOne({ _id: this.linkedId }); + if (board && board.vote) return board.vote.question; + else return null; + } else if (this.vote) { + return this.vote.question; + } else { + return null; + } + }, + + getVotePublic() { + if (this.isLinkedCard()) { + const card = Cards.findOne({ _id: this.linkedId }); + if (card && card.vote) return card.vote.public; + else return null; + } else if (this.isLinkedBoard()) { + const board = Boards.findOne({ _id: this.linkedId }); + if (board && board.vote) return board.vote.public; + else return null; + } else if (this.vote) { + return this.vote.public; + } else { + return null; + } + }, + + getVoteEnd() { + if (this.isLinkedCard()) { + const card = Cards.findOne({ _id: this.linkedId }); + if (card && card.vote) return card.vote.end; + else return null; + } else if (this.isLinkedBoard()) { + const board = Boards.findOne({ _id: this.linkedId }); + if (board && board.vote) return board.vote.end; + else return null; + } else if (this.vote) { + return this.vote.end; + } else { + return null; + } + }, + expiredVote() { + let end = this.getVoteEnd(); + if (end) { + end = moment(end); + return end.isBefore(new Date()); + } + return false; + }, + voteMemberPositive() { + if (this.vote && this.vote.positive) + return Users.find({ _id: { $in: this.vote.positive } }); + return []; + }, + + voteMemberNegative() { + if (this.vote && this.vote.negative) + return Users.find({ _id: { $in: this.vote.negative } }); + return []; + }, + voteState() { + const userId = Meteor.userId(); + let state; + if (this.vote) { + if (this.vote.positive) { + state = _.contains(this.vote.positive, userId); + if (state === true) return true; + } + if (this.vote.negative) { + state = _.contains(this.vote.negative, userId); + if (state === true) return false; + } + } + return null; + }, + + getId() { + if (this.isLinked()) { + return this.linkedId; + } else { + return this._id; + } + }, + + getTitle() { + if (this.isLinkedCard()) { + const card = Cards.findOne({ _id: this.linkedId }); + return card.title; + } else if (this.isLinkedBoard()) { + const board = Boards.findOne({ _id: this.linkedId }); + return board.title; + } else { + return this.title; + } + }, + + getBoardTitle() { + if (this.isLinkedCard()) { + const card = Cards.findOne({ _id: this.linkedId }); + const board = Boards.findOne({ _id: card.boardId }); + return board.title; + } else if (this.isLinkedBoard()) { + const board = Boards.findOne({ _id: this.linkedId }); + return board.title; + } else { + const board = Boards.findOne({ _id: this.boardId }); + return board.title; + } + }, + + setTitle(title) { + if (this.isLinkedCard()) { + return Cards.update({ _id: this.linkedId }, { $set: { title } }); + } else if (this.isLinkedBoard()) { + return Boards.update({ _id: this.linkedId }, { $set: { title } }); + } else { + return Cards.update({ _id: this._id }, { $set: { title } }); + } + }, + + getArchived() { + if (this.isLinkedCard()) { + const card = Cards.findOne({ _id: this.linkedId }); + return card.archived; + } else if (this.isLinkedBoard()) { + const board = Boards.findOne({ _id: this.linkedId }); + return board.archived; + } else { + return this.archived; + } + }, + + setRequestedBy(requestedBy) { + if (this.isLinkedCard()) { + return Cards.update({ _id: this.linkedId }, { $set: { requestedBy } }); + } else { + return Cards.update({ _id: this._id }, { $set: { requestedBy } }); + } + }, + + getRequestedBy() { + if (this.isLinkedCard()) { + const card = Cards.findOne({ _id: this.linkedId }); + return card.requestedBy; + } else { + return this.requestedBy; + } + }, + + setAssignedBy(assignedBy) { + if (this.isLinkedCard()) { + return Cards.update({ _id: this.linkedId }, { $set: { assignedBy } }); + } else { + return Cards.update({ _id: this._id }, { $set: { assignedBy } }); + } + }, + + getAssignedBy() { + if (this.isLinkedCard()) { + const card = Cards.findOne({ _id: this.linkedId }); + return card.assignedBy; + } else { + return this.assignedBy; + } + }, + + isTemplateCard() { + return this.type === 'template-card'; + }, + + votePublic() { + if (this.vote) return this.vote.public; + return null; + }, + voteAllowNonBoardMembers() { + if (this.vote) return this.vote.allowNonBoardMembers; + return null; + }, + voteCountNegative() { + if (this.vote && this.vote.negative) return this.vote.negative.length; + return null; + }, + voteCountPositive() { + if (this.vote && this.vote.positive) return this.vote.positive.length; + return null; + }, + voteCount() { + return this.voteCountPositive() + this.voteCountNegative(); + }, +}); + +Cards.mutations({ + applyToChildren(funct) { + Cards.find({ + parentId: this._id, + }).forEach(card => { + funct(card); + }); + }, + + archive() { + this.applyToChildren(card => { + return card.archive(); + }); + return { + $set: { + archived: true, + }, + }; + }, + + restore() { + this.applyToChildren(card => { + return card.restore(); + }); + return { + $set: { + archived: false, + }, + }; + }, + + moveToEndOfList({ listId } = {}) { + let swimlaneId = this.swimlaneId; + const boardId = this.boardId; + let sortIndex = 0; + + // This should never happen, but there was a bug that was fixed in commit + // ea0239538a68e225c867411a4f3e0d27c158383. + if (!swimlaneId) { + const board = Boards.findOne(boardId); + swimlaneId = board.getDefaultSwimline()._id; + } + // Move the minicard to the end of the target list + let parentElementDom = $(`#swimlane-${this.swimlaneId}`).get(0); + if (!parentElementDom) parentElementDom = $(':root'); + + const lastCardDom = $(parentElementDom) + .find(`#js-list-${listId} .js-minicard:last`) + .get(0); + if (lastCardDom) sortIndex = Utils.calculateIndex(lastCardDom, null).base; + + return this.moveOptionalArgs({ + boardId, + swimlaneId, + listId, + sort: sortIndex, + }); + }, + + moveOptionalArgs({ boardId, swimlaneId, listId, sort } = {}) { + boardId = boardId || this.boardId; + swimlaneId = swimlaneId || this.swimlaneId; + // This should never happen, but there was a bug that was fixed in commit + // ea0239538a68e225c867411a4f3e0d27c158383. + if (!swimlaneId) { + const board = Boards.findOne(boardId); + swimlaneId = board.getDefaultSwimline()._id; + } + listId = listId || this.listId; + if (sort === undefined || sort === null) sort = this.sort; + return this.move(boardId, swimlaneId, listId, sort); + }, + + move(boardId, swimlaneId, listId, sort) { + const mutatedFields = { + boardId, + swimlaneId, + listId, + sort, + }; + + // we must only copy the labels and custom fields if the target board + // differs from the source board + if (this.boardId !== boardId) { + // Get label names + const oldBoard = Boards.findOne(this.boardId); + const oldBoardLabels = oldBoard.labels; + const oldCardLabels = _.pluck( + _.filter(oldBoardLabels, label => { + return _.contains(this.labelIds, label._id); + }), + 'name', + ); + + const newBoard = Boards.findOne(boardId); + const newBoardLabels = newBoard.labels; + const newCardLabelIds = _.pluck( + _.filter(newBoardLabels, label => { + return label.name && _.contains(oldCardLabels, label.name); + }), + '_id', + ); + + Object.assign(mutatedFields, { + labelIds: newCardLabelIds, + }); + + // Copy custom fields + CustomFields.find({ + _id: { + $in: this.customFields.map(cf => { + return cf._id; + }), + }, + }).forEach(cf => { + if (!_.contains(cf.boardIds, boardId)) cf.addBoard(boardId); + }); + } + + Cards.update(this._id, { + $set: mutatedFields, + }); + }, + + addLabel(labelId) { + return { + $addToSet: { + labelIds: labelId, + }, + }; + }, + + removeLabel(labelId) { + return { + $pull: { + labelIds: labelId, + }, + }; + }, + + toggleLabel(labelId) { + if (this.labelIds && this.labelIds.indexOf(labelId) > -1) { + return this.removeLabel(labelId); + } else { + return this.addLabel(labelId); + } + }, + + setColor(newColor) { + if (newColor === 'white') { + newColor = null; + } + return { + $set: { + color: newColor, + }, + }; + }, + + assignMember(memberId) { + return { + $addToSet: { + members: memberId, + }, + }; + }, + + assignAssignee(assigneeId) { + // If there is not any assignee, allow one assignee, not more. + if (this.getAssignees().length === 0) { + return { + $addToSet: { + assignees: assigneeId, + }, + }; + } else { + return false; + } + }, + + unassignMember(memberId) { + return { + $pull: { + members: memberId, + }, + }; + }, + + unassignAssignee(assigneeId) { + return { + $pull: { + assignees: assigneeId, + }, + }; + }, + + toggleMember(memberId) { + if (this.members && this.members.indexOf(memberId) > -1) { + return this.unassignMember(memberId); + } else { + return this.assignMember(memberId); + } + }, + + toggleAssignee(assigneeId) { + if (this.assignees && this.assignees.indexOf(assigneeId) > -1) { + return this.unassignAssignee(assigneeId); + } else { + return this.assignAssignee(assigneeId); + } + }, + + assignCustomField(customFieldId) { + return { + $addToSet: { + customFields: { + _id: customFieldId, + value: null, + }, + }, + }; + }, + + unassignCustomField(customFieldId) { + return { + $pull: { + customFields: { + _id: customFieldId, + }, + }, + }; + }, + + toggleCustomField(customFieldId) { + if (this.customFields && this.customFieldIndex(customFieldId) > -1) { + return this.unassignCustomField(customFieldId); + } else { + return this.assignCustomField(customFieldId); + } + }, + + setCustomField(customFieldId, value) { + // todo + const index = this.customFieldIndex(customFieldId); + if (index > -1) { + const update = { + $set: {}, + }; + update.$set[`customFields.${index}.value`] = value; + return update; + } + // TODO + // Ignatz 18.05.2018: Return null to silence ESLint. No Idea if that is correct + return null; + }, + + setCover(coverId) { + return { + $set: { + coverId, + }, + }; + }, + + unsetCover() { + return { + $unset: { + coverId: '', + }, + }; + }, + + setReceived(receivedAt) { + return { + $set: { + receivedAt, + }, + }; + }, + + unsetReceived() { + return { + $unset: { + receivedAt: '', + }, + }; + }, + + setStart(startAt) { + return { + $set: { + startAt, + }, + }; + }, + + unsetStart() { + return { + $unset: { + startAt: '', + }, + }; + }, + + setDue(dueAt) { + return { + $set: { + dueAt, + }, + }; + }, + + unsetDue() { + return { + $unset: { + dueAt: '', + }, + }; + }, + + setEnd(endAt) { + return { + $set: { + endAt, + }, + }; + }, + + unsetEnd() { + return { + $unset: { + endAt: '', + }, + }; + }, + + setOvertime(isOvertime) { + return { + $set: { + isOvertime, + }, + }; + }, + + setSpentTime(spentTime) { + return { + $set: { + spentTime, + }, + }; + }, + + unsetSpentTime() { + return { + $unset: { + spentTime: '', + isOvertime: false, + }, + }; + }, + + setParentId(parentId) { + return { + $set: { + parentId, + }, + }; + }, + setVoteQuestion(question, publicVote, allowNonBoardMembers) { + return { + $set: { + vote: { + question, + public: publicVote, + allowNonBoardMembers, + positive: [], + negative: [], + }, + }, + }; + }, + unsetVote() { + return { + $unset: { + vote: '', + }, + }; + }, + setVoteEnd(end) { + return { + $set: { 'vote.end': end }, + }; + }, + unsetVoteEnd() { + return { + $unset: { 'vote.end': '' }, + }; + }, + setVote(userId, forIt) { + switch (forIt) { + case true: + // vote for it + return { + $pull: { + 'vote.negative': userId, + }, + $addToSet: { + 'vote.positive': userId, + }, + }; + case false: + // vote against + return { + $pull: { + 'vote.positive': userId, + }, + $addToSet: { + 'vote.negative': userId, + }, + }; + + default: + // Remove votes + return { + $pull: { + 'vote.positive': userId, + 'vote.negative': userId, + }, + }; + } + }, +}); + +//FUNCTIONS FOR creation of Activities + +function updateActivities(doc, fieldNames, modifier) { + if (_.contains(fieldNames, 'labelIds') && _.contains(fieldNames, 'boardId')) { + Activities.find({ + activityType: 'addedLabel', + cardId: doc._id, + }).forEach(a => { + const lidx = doc.labelIds.indexOf(a.labelId); + if (lidx !== -1 && modifier.$set.labelIds.length > lidx) { + Activities.update(a._id, { + $set: { + labelId: modifier.$set.labelIds[doc.labelIds.indexOf(a.labelId)], + boardId: modifier.$set.boardId, + }, + }); + } else { + Activities.remove(a._id); + } + }); + } else if (_.contains(fieldNames, 'boardId')) { + Activities.remove({ + activityType: 'addedLabel', + cardId: doc._id, + }); + } +} + +function cardMove( + userId, + doc, + fieldNames, + oldListId, + oldSwimlaneId, + oldBoardId, +) { + if (_.contains(fieldNames, 'boardId') && doc.boardId !== oldBoardId) { + Activities.insert({ + userId, + activityType: 'moveCardBoard', + boardName: Boards.findOne(doc.boardId).title, + boardId: doc.boardId, + oldBoardId, + oldBoardName: Boards.findOne(oldBoardId).title, + cardId: doc._id, + swimlaneName: Swimlanes.findOne(doc.swimlaneId).title, + swimlaneId: doc.swimlaneId, + oldSwimlaneId, + }); + } else if ( + (_.contains(fieldNames, 'listId') && doc.listId !== oldListId) || + (_.contains(fieldNames, 'swimlaneId') && doc.swimlaneId !== oldSwimlaneId) + ) { + Activities.insert({ + userId, + oldListId, + activityType: 'moveCard', + listName: Lists.findOne(doc.listId).title, + listId: doc.listId, + boardId: doc.boardId, + cardId: doc._id, + cardTitle: doc.title, + swimlaneName: Swimlanes.findOne(doc.swimlaneId).title, + swimlaneId: doc.swimlaneId, + oldSwimlaneId, + }); + } +} + +function cardState(userId, doc, fieldNames) { + if (_.contains(fieldNames, 'archived')) { + if (doc.archived) { + Activities.insert({ + userId, + activityType: 'archivedCard', + listName: Lists.findOne(doc.listId).title, + boardId: doc.boardId, + listId: doc.listId, + cardId: doc._id, + swimlaneId: doc.swimlaneId, + }); + } else { + Activities.insert({ + userId, + activityType: 'restoredCard', + boardId: doc.boardId, + listName: Lists.findOne(doc.listId).title, + listId: doc.listId, + cardId: doc._id, + swimlaneId: doc.swimlaneId, + }); + } + } +} + +function cardMembers(userId, doc, fieldNames, modifier) { + if (!_.contains(fieldNames, 'members')) return; + let memberId; + // Say hello to the new member + if (modifier.$addToSet && modifier.$addToSet.members) { + memberId = modifier.$addToSet.members; + const username = Users.findOne(memberId).username; + if (!_.contains(doc.members, memberId)) { + Activities.insert({ + userId, + username, + activityType: 'joinMember', + boardId: doc.boardId, + cardId: doc._id, + memberId, + listId: doc.listId, + swimlaneId: doc.swimlaneId, + }); + } + } + + // Say goodbye to the former member + if (modifier.$pull && modifier.$pull.members) { + memberId = modifier.$pull.members; + const username = Users.findOne(memberId).username; + // Check that the former member is member of the card + if (_.contains(doc.members, memberId)) { + Activities.insert({ + userId, + username, + activityType: 'unjoinMember', + boardId: doc.boardId, + cardId: doc._id, + memberId, + listId: doc.listId, + swimlaneId: doc.swimlaneId, + }); + } + } +} + +function cardAssignees(userId, doc, fieldNames, modifier) { + if (!_.contains(fieldNames, 'assignees')) return; + let assigneeId; + // Say hello to the new assignee + if (modifier.$addToSet && modifier.$addToSet.assignees) { + assigneeId = modifier.$addToSet.assignees; + const username = Users.findOne(assigneeId).username; + if (!_.contains(doc.assignees, assigneeId)) { + Activities.insert({ + userId, + username, + activityType: 'joinAssignee', + boardId: doc.boardId, + cardId: doc._id, + assigneeId, + listId: doc.listId, + swimlaneId: doc.swimlaneId, + }); + } + } + // Say goodbye to the former assignee + if (modifier.$pull && modifier.$pull.assignees) { + assigneeId = modifier.$pull.assignees; + const username = Users.findOne(assigneeId).username; + // Check that the former assignee is assignee of the card + if (_.contains(doc.assignees, assigneeId)) { + Activities.insert({ + userId, + username, + activityType: 'unjoinAssignee', + boardId: doc.boardId, + cardId: doc._id, + assigneeId, + listId: doc.listId, + swimlaneId: doc.swimlaneId, + }); + } + } +} + +function cardLabels(userId, doc, fieldNames, modifier) { + if (!_.contains(fieldNames, 'labelIds')) return; + let labelId; + // Say hello to the new label + if (modifier.$addToSet && modifier.$addToSet.labelIds) { + labelId = modifier.$addToSet.labelIds; + if (!_.contains(doc.labelIds, labelId)) { + const act = { + userId, + labelId, + activityType: 'addedLabel', + boardId: doc.boardId, + cardId: doc._id, + listId: doc.listId, + swimlaneId: doc.swimlaneId, + }; + Activities.insert(act); + } + } + + // Say goodbye to the label + if (modifier.$pull && modifier.$pull.labelIds) { + labelId = modifier.$pull.labelIds; + // Check that the former member is member of the card + if (_.contains(doc.labelIds, labelId)) { + Activities.insert({ + userId, + labelId, + activityType: 'removedLabel', + boardId: doc.boardId, + cardId: doc._id, + listId: doc.listId, + swimlaneId: doc.swimlaneId, + }); + } + } +} + +function cardCustomFields(userId, doc, fieldNames, modifier) { + if (!_.contains(fieldNames, 'customFields')) return; + + // Say hello to the new customField value + if (modifier.$set) { + _.each(modifier.$set, (value, key) => { + if (key.startsWith('customFields')) { + const dotNotation = key.split('.'); + + // only individual changes are registered + if (dotNotation.length > 1) { + const customFieldId = doc.customFields[dotNotation[1]]._id; + const act = { + userId, + customFieldId, + value, + activityType: 'setCustomField', + boardId: doc.boardId, + cardId: doc._id, + }; + Activities.insert(act); + } + } + }); + } + + // Say goodbye to the former customField value + if (modifier.$unset) { + _.each(modifier.$unset, (value, key) => { + if (key.startsWith('customFields')) { + const dotNotation = key.split('.'); + + // only individual changes are registered + if (dotNotation.length > 1) { + const customFieldId = doc.customFields[dotNotation[1]]._id; + const act = { + userId, + customFieldId, + activityType: 'unsetCustomField', + boardId: doc.boardId, + cardId: doc._id, + }; + Activities.insert(act); + } + } + }); + } +} + +function cardCreation(userId, doc) { + Activities.insert({ + userId, + activityType: 'createCard', + boardId: doc.boardId, + listName: Lists.findOne(doc.listId).title, + listId: doc.listId, + cardId: doc._id, + cardTitle: doc.title, + swimlaneName: Swimlanes.findOne(doc.swimlaneId).title, + swimlaneId: doc.swimlaneId, + }); +} + +function cardRemover(userId, doc) { + ChecklistItems.remove({ + cardId: doc._id, + }); + Checklists.remove({ + cardId: doc._id, + }); + Cards.remove({ + parentId: doc._id, + }); + CardComments.remove({ + cardId: doc._id, + }); + Attachments.remove({ + cardId: doc._id, + }); +} + +const findDueCards = days => { + const seekDue = ($from, $to, activityType) => { + Cards.find({ + archived: false, + dueAt: { $gte: $from, $lt: $to }, + }).forEach(card => { + const username = Users.findOne(card.userId).username; + const activity = { + userId: card.userId, + username, + activityType, + boardId: card.boardId, + cardId: card._id, + cardTitle: card.title, + listId: card.listId, + timeValue: card.dueAt, + swimlaneId: card.swimlaneId, + }; + Activities.insert(activity); + }); + }; + const now = new Date(), + aday = 3600 * 24 * 1e3, + then = day => new Date(now.setHours(0, 0, 0, 0) + day * aday); + if (!days) return; + if (!days.map) days = [days]; + days.map(day => { + let args = []; + if (day === 0) { + args = [then(0), then(1), 'duenow']; + } else if (day > 0) { + args = [then(1), then(day), 'almostdue']; + } else { + args = [then(day), now, 'pastdue']; + } + seekDue(...args); + }); +}; +const addCronJob = _.debounce( + Meteor.bindEnvironment(function findDueCardsDebounced() { + const envValue = process.env.NOTIFY_DUE_DAYS_BEFORE_AND_AFTER; + if (!envValue) { + return; + } + const notifydays = envValue + .split(',') + .map(value => { + const iValue = parseInt(value, 10); + if (!(iValue > 0 && iValue < 15)) { + // notifying due is disabled + return false; + } else { + return iValue; + } + }) + .filter(Boolean); + const notifyitvl = process.env.NOTIFY_DUE_AT_HOUR_OF_DAY; //passed in the itvl has to be a number standing for the hour of current time + const defaultitvl = 8; // default every morning at 8am, if the passed env variable has parsing error use default + const itvl = parseInt(notifyitvl, 10) || defaultitvl; + const scheduler = (job => () => { + const now = new Date(); + const hour = 3600 * 1e3; + if (now.getHours() === itvl) { + if (typeof job === 'function') { + job(); + } + } + Meteor.setTimeout(scheduler, hour); + })(() => { + findDueCards(notifydays); + }); + scheduler(); + }), + 500, +); + +if (Meteor.isServer) { + // Cards are often fetched within a board, so we create an index to make these + // queries more efficient. + Meteor.startup(() => { + Cards._collection._ensureIndex({ modifiedAt: -1 }); + Cards._collection._ensureIndex({ boardId: 1, createdAt: -1 }); + // https://github.com/wekan/wekan/issues/1863 + // Swimlane added a new field in the cards collection of mongodb named parentId. + // When loading a board, mongodb is searching for every cards, the id of the parent (in the swinglanes collection). + // With a huge database, this result in a very slow app and high CPU on the mongodb side. + // To correct it, add Index to parentId: + Cards._collection._ensureIndex({ parentId: 1 }); + // let notifydays = parseInt(process.env.NOTIFY_DUE_DAYS_BEFORE_AND_AFTER) || 2; // default as 2 days b4 and after + // let notifyitvl = parseInt(process.env.NOTIFY_DUE_AT_HOUR_OF_DAY) || 3600 * 24 * 1e3; // default interval as one day + // Meteor.call("findDueCards",notifydays,notifyitvl); + Meteor.defer(() => { + addCronJob(); + }); + }); + + Cards.after.insert((userId, doc) => { + cardCreation(userId, doc); + }); + // New activity for card (un)archivage + Cards.after.update((userId, doc, fieldNames) => { + cardState(userId, doc, fieldNames); + }); + + //New activity for card moves + Cards.after.update(function(userId, doc, fieldNames) { + const oldListId = this.previous.listId; + const oldSwimlaneId = this.previous.swimlaneId; + const oldBoardId = this.previous.boardId; + cardMove(userId, doc, fieldNames, oldListId, oldSwimlaneId, oldBoardId); + }); + + // Add a new activity if we add or remove a member to the card + Cards.before.update((userId, doc, fieldNames, modifier) => { + cardMembers(userId, doc, fieldNames, modifier); + updateActivities(doc, fieldNames, modifier); + }); + + // Add a new activity if we add or remove a assignee to the card + Cards.before.update((userId, doc, fieldNames, modifier) => { + cardAssignees(userId, doc, fieldNames, modifier); + updateActivities(doc, fieldNames, modifier); + }); + + // Add a new activity if we add or remove a label to the card + Cards.before.update((userId, doc, fieldNames, modifier) => { + cardLabels(userId, doc, fieldNames, modifier); + }); + + // Add a new activity if we edit a custom field + Cards.before.update((userId, doc, fieldNames, modifier) => { + cardCustomFields(userId, doc, fieldNames, modifier); + }); + + // Add a new activity if modify time related field like dueAt startAt etc + Cards.before.update((userId, doc, fieldNames, modifier) => { + const dla = 'dateLastActivity'; + const fields = fieldNames.filter(name => name !== dla); + const timingaction = ['receivedAt', 'dueAt', 'startAt', 'endAt']; + const action = fields[0]; + if (fields.length > 0 && _.contains(timingaction, action)) { + // add activities for user change these attributes + const value = modifier.$set[action]; + const oldvalue = doc[action] || ''; + const activityType = `a-${action}`; + const card = Cards.findOne(doc._id); + const list = card.list(); + if (list) { + // change list modifiedAt, when user modified the key values in timingaction array, if it's endAt, put the modifiedAt of list back to one year ago for sorting purpose + const modifiedAt = new Date( + new Date(value).getTime() - + (action === 'endAt' ? 365 * 24 * 3600 * 1e3 : 0), + ); // set it as 1 year before + const boardId = list.boardId; + Lists.direct.update( + { + _id: list._id, + }, + { + $set: { + modifiedAt, + boardId, + }, + }, + ); + } + const username = Users.findOne(userId).username; + const activity = { + userId, + username, + activityType, + boardId: doc.boardId, + cardId: doc._id, + cardTitle: doc.title, + timeKey: action, + timeValue: value, + timeOldValue: oldvalue, + listId: card.listId, + swimlaneId: card.swimlaneId, + }; + Activities.insert(activity); + } + }); + // Remove all activities associated with a card if we remove the card + // Remove also card_comments / checklists / attachments + Cards.before.remove((userId, doc) => { + cardRemover(userId, doc); + }); +} +//SWIMLANES REST API +if (Meteor.isServer) { + /** + * @operation get_swimlane_cards + * @summary get all cards attached to a swimlane + * + * @param {string} boardId the board ID + * @param {string} swimlaneId the swimlane ID + * @return_type [{_id: string, + * title: string, + * description: string, + * listId: string}] + */ + JsonRoutes.add( + 'GET', + '/api/boards/:boardId/swimlanes/:swimlaneId/cards', + function(req, res) { + const paramBoardId = req.params.boardId; + const paramSwimlaneId = req.params.swimlaneId; + Authentication.checkBoardAccess(req.userId, paramBoardId); + JsonRoutes.sendResult(res, { + code: 200, + data: Cards.find({ + boardId: paramBoardId, + swimlaneId: paramSwimlaneId, + archived: false, + }).map(function(doc) { + return { + _id: doc._id, + title: doc.title, + description: doc.description, + listId: doc.listId, + receivedAt: doc.receivedAt, + startAt: doc.startAt, + dueAt: doc.dueAt, + endAt: doc.endAt, + assignees: doc.assignees, + }; + }), + }); + }, + ); +} +//LISTS REST API +if (Meteor.isServer) { + /** + * @operation get_all_cards + * @summary Get all Cards attached to a List + * + * @param {string} boardId the board ID + * @param {string} listId the list ID + * @return_type [{_id: string, + * title: string, + * description: string}] + */ + JsonRoutes.add('GET', '/api/boards/:boardId/lists/:listId/cards', function( + req, + res, + ) { + const paramBoardId = req.params.boardId; + const paramListId = req.params.listId; + Authentication.checkBoardAccess(req.userId, paramBoardId); + JsonRoutes.sendResult(res, { + code: 200, + data: Cards.find({ + boardId: paramBoardId, + listId: paramListId, + archived: false, + }).map(function(doc) { + return { + _id: doc._id, + title: doc.title, + description: doc.description, + receivedAt: doc.receivedAt, + startAt: doc.startAt, + dueAt: doc.dueAt, + endAt: doc.endAt, + assignees: doc.assignees, + }; + }), + }); + }); + + /** + * @operation get_card + * @summary Get a Card + * + * @param {string} boardId the board ID + * @param {string} listId the list ID of the card + * @param {string} cardId the card ID + * @return_type Cards + */ + JsonRoutes.add( + 'GET', + '/api/boards/:boardId/lists/:listId/cards/:cardId', + function(req, res) { + const paramBoardId = req.params.boardId; + const paramListId = req.params.listId; + const paramCardId = req.params.cardId; + Authentication.checkBoardAccess(req.userId, paramBoardId); + JsonRoutes.sendResult(res, { + code: 200, + data: Cards.findOne({ + _id: paramCardId, + listId: paramListId, + boardId: paramBoardId, + archived: false, + }), + }); + }, + ); + + /** + * @operation new_card + * @summary Create a new Card + * + * @param {string} boardId the board ID of the new card + * @param {string} listId the list ID of the new card + * @param {string} authorID the user ID of the person owning the card + * @param {string} parentId the parent ID of the new card + * @param {string} title the title of the new card + * @param {string} description the description of the new card + * @param {string} swimlaneId the swimlane ID of the new card + * @param {string} [members] the member IDs list of the new card + * @param {string} [assignees] the array of maximum one ID of assignee of the new card + * @return_type {_id: string} + */ + JsonRoutes.add('POST', '/api/boards/:boardId/lists/:listId/cards', function( + req, + res, + ) { + // Check user is logged in + Authentication.checkLoggedIn(req.userId); + const paramBoardId = req.params.boardId; + // Check user has permission to add card to the board + const board = Boards.findOne({ + _id: paramBoardId, + }); + const addPermission = allowIsBoardMemberCommentOnly(req.userId, board); + Authentication.checkAdminOrCondition(req.userId, addPermission); + const paramListId = req.params.listId; + const paramParentId = req.params.parentId; + const currentCards = Cards.find( + { + listId: paramListId, + archived: false, + }, + { sort: ['sort'] }, + ); + const check = Users.findOne({ + _id: req.body.authorId, + }); + const members = req.body.members; + const assignees = req.body.assignees; + if (typeof check !== 'undefined') { + const id = Cards.direct.insert({ + title: req.body.title, + boardId: paramBoardId, + listId: paramListId, + parentId: paramParentId, + description: req.body.description, + userId: req.body.authorId, + swimlaneId: req.body.swimlaneId, + sort: currentCards.count(), + members, + assignees, + }); + JsonRoutes.sendResult(res, { + code: 200, + data: { + _id: id, + }, + }); + + const card = Cards.findOne({ + _id: id, + }); + cardCreation(req.body.authorId, card); + } else { + JsonRoutes.sendResult(res, { + code: 401, + }); + } + }); + + /* + * Note for the JSDoc: + * 'list' will be interpreted as the path parameter + * 'listID' will be interpreted as the body parameter + */ + /** + * @operation edit_card + * @summary Edit Fields in a Card + * + * @description Edit a card + * + * The color has to be chosen between `white`, `green`, `yellow`, `orange`, + * `red`, `purple`, `blue`, `sky`, `lime`, `pink`, `black`, `silver`, + * `peachpuff`, `crimson`, `plum`, `darkgreen`, `slateblue`, `magenta`, + * `gold`, `navy`, `gray`, `saddlebrown`, `paleturquoise`, `mistyrose`, + * `indigo`: + * + * Wekan card colors + * + * Note: setting the color to white has the same effect than removing it. + * + * @param {string} boardId the board ID of the card + * @param {string} list the list ID of the card + * @param {string} cardId the ID of the card + * @param {string} [title] the new title of the card + * @param {string} [listId] the new list ID of the card (move operation) + * @param {string} [description] the new description of the card + * @param {string} [authorId] change the owner of the card + * @param {string} [parentId] change the parent of the card + * @param {string} [labelIds] the new list of label IDs attached to the card + * @param {string} [swimlaneId] the new swimlane ID of the card + * @param {string} [members] the new list of member IDs attached to the card + * @param {string} [assignees] the array of maximum one ID of assignee attached to the card + * @param {string} [requestedBy] the new requestedBy field of the card + * @param {string} [assignedBy] the new assignedBy field of the card + * @param {string} [receivedAt] the new receivedAt field of the card + * @param {string} [assignBy] the new assignBy field of the card + * @param {string} [startAt] the new startAt field of the card + * @param {string} [dueAt] the new dueAt field of the card + * @param {string} [endAt] the new endAt field of the card + * @param {string} [spentTime] the new spentTime field of the card + * @param {boolean} [isOverTime] the new isOverTime field of the card + * @param {string} [customFields] the new customFields value of the card + * @param {string} [color] the new color of the card + * @param {Object} [vote] the vote object + * @param {string} vote.question the vote question + * @param {boolean} vote.public show who voted what + * @param {boolean} vote.allowNonBoardMembers allow all logged in users to vote? + * @return_type {_id: string} + */ + JsonRoutes.add( + 'PUT', + '/api/boards/:boardId/lists/:listId/cards/:cardId', + function(req, res) { + Authentication.checkUserId(req.userId); + const paramBoardId = req.params.boardId; + const paramCardId = req.params.cardId; + const paramListId = req.params.listId; + + if (req.body.hasOwnProperty('title')) { + const newTitle = req.body.title; + Cards.direct.update( + { + _id: paramCardId, + listId: paramListId, + boardId: paramBoardId, + archived: false, + }, + { + $set: { + title: newTitle, + }, + }, + ); + } + if (req.body.hasOwnProperty('parentId')) { + const newParentId = req.body.parentId; + Cards.direct.update( + { + _id: paramCardId, + listId: paramListId, + boardId: paramBoardId, + archived: false, + }, + { + $set: { + parentId: newParentId, + }, + }, + ); + } + if (req.body.hasOwnProperty('description')) { + const newDescription = req.body.description; + Cards.direct.update( + { + _id: paramCardId, + listId: paramListId, + boardId: paramBoardId, + archived: false, + }, + { + $set: { + description: newDescription, + }, + }, + ); + } + if (req.body.hasOwnProperty('color')) { + const newColor = req.body.color; + Cards.direct.update( + { + _id: paramCardId, + listId: paramListId, + boardId: paramBoardId, + archived: false, + }, + { $set: { color: newColor } }, + ); + } + if (req.body.hasOwnProperty('vote')) { + const newVote = req.body.vote; + newVote.positive = []; + newVote.negative = []; + if (!newVote.hasOwnProperty('public')) newVote.public = false; + if (!newVote.hasOwnProperty('allowNonBoardMembers')) + newVote.allowNonBoardMembers = false; + + Cards.direct.update( + { + _id: paramCardId, + listId: paramListId, + boardId: paramBoardId, + archived: false, + }, + { $set: { vote: newVote } }, + ); + } + if (req.body.hasOwnProperty('labelIds')) { + let newlabelIds = req.body.labelIds; + if (_.isString(newlabelIds)) { + if (newlabelIds === '') { + newlabelIds = null; + } else { + newlabelIds = [newlabelIds]; + } + } + Cards.direct.update( + { + _id: paramCardId, + listId: paramListId, + boardId: paramBoardId, + archived: false, + }, + { + $set: { + labelIds: newlabelIds, + }, + }, + ); + } + if (req.body.hasOwnProperty('requestedBy')) { + const newrequestedBy = req.body.requestedBy; + Cards.direct.update( + { + _id: paramCardId, + listId: paramListId, + boardId: paramBoardId, + archived: false, + }, + { $set: { requestedBy: newrequestedBy } }, + ); + } + if (req.body.hasOwnProperty('assignedBy')) { + const newassignedBy = req.body.assignedBy; + Cards.direct.update( + { + _id: paramCardId, + listId: paramListId, + boardId: paramBoardId, + archived: false, + }, + { $set: { assignedBy: newassignedBy } }, + ); + } + if (req.body.hasOwnProperty('receivedAt')) { + const newreceivedAt = req.body.receivedAt; + Cards.direct.update( + { + _id: paramCardId, + listId: paramListId, + boardId: paramBoardId, + archived: false, + }, + { $set: { receivedAt: newreceivedAt } }, + ); + } + if (req.body.hasOwnProperty('startAt')) { + const newstartAt = req.body.startAt; + Cards.direct.update( + { + _id: paramCardId, + listId: paramListId, + boardId: paramBoardId, + archived: false, + }, + { $set: { startAt: newstartAt } }, + ); + } + if (req.body.hasOwnProperty('dueAt')) { + const newdueAt = req.body.dueAt; + Cards.direct.update( + { + _id: paramCardId, + listId: paramListId, + boardId: paramBoardId, + archived: false, + }, + { $set: { dueAt: newdueAt } }, + ); + } + if (req.body.hasOwnProperty('endAt')) { + const newendAt = req.body.endAt; + Cards.direct.update( + { + _id: paramCardId, + listId: paramListId, + boardId: paramBoardId, + archived: false, + }, + { $set: { endAt: newendAt } }, + ); + } + if (req.body.hasOwnProperty('spentTime')) { + const newspentTime = req.body.spentTime; + Cards.direct.update( + { + _id: paramCardId, + listId: paramListId, + boardId: paramBoardId, + archived: false, + }, + { $set: { spentTime: newspentTime } }, + ); + } + if (req.body.hasOwnProperty('isOverTime')) { + const newisOverTime = req.body.isOverTime; + Cards.direct.update( + { + _id: paramCardId, + listId: paramListId, + boardId: paramBoardId, + archived: false, + }, + { $set: { isOverTime: newisOverTime } }, + ); + } + if (req.body.hasOwnProperty('customFields')) { + const newcustomFields = req.body.customFields; + Cards.direct.update( + { + _id: paramCardId, + listId: paramListId, + boardId: paramBoardId, + archived: false, + }, + { $set: { customFields: newcustomFields } }, + ); + } + if (req.body.hasOwnProperty('members')) { + let newmembers = req.body.members; + if (_.isString(newmembers)) { + if (newmembers === '') { + newmembers = null; + } else { + newmembers = [newmembers]; + } + } + Cards.direct.update( + { + _id: paramCardId, + listId: paramListId, + boardId: paramBoardId, + archived: false, + }, + { $set: { members: newmembers } }, + ); + } + if (req.body.hasOwnProperty('assignees')) { + let newassignees = req.body.assignees; + if (_.isString(newassignees)) { + if (newassignees === '') { + newassignees = null; + } else { + newassignees = [newassignees]; + } + } + Cards.direct.update( + { + _id: paramCardId, + listId: paramListId, + boardId: paramBoardId, + archived: false, + }, + { $set: { assignees: newassignees } }, + ); + } + if (req.body.hasOwnProperty('swimlaneId')) { + const newParamSwimlaneId = req.body.swimlaneId; + Cards.direct.update( + { + _id: paramCardId, + listId: paramListId, + boardId: paramBoardId, + archived: false, + }, + { $set: { swimlaneId: newParamSwimlaneId } }, + ); + } + if (req.body.hasOwnProperty('listId')) { + const newParamListId = req.body.listId; + Cards.direct.update( + { + _id: paramCardId, + listId: paramListId, + boardId: paramBoardId, + archived: false, + }, + { + $set: { + listId: newParamListId, + }, + }, + ); + + const card = Cards.findOne({ + _id: paramCardId, + }); + cardMove( + req.body.authorId, + card, + { + fieldName: 'listId', + }, + paramListId, + ); + } + JsonRoutes.sendResult(res, { + code: 200, + data: { + _id: paramCardId, + }, + }); + }, + ); + + /** + * @operation delete_card + * @summary Delete a card from a board + * + * @description This operation **deletes** a card, and therefore the card + * is not put in the recycle bin. + * + * @param {string} boardId the board ID of the card + * @param {string} list the list ID of the card + * @param {string} cardId the ID of the card + * @return_type {_id: string} + */ + JsonRoutes.add( + 'DELETE', + '/api/boards/:boardId/lists/:listId/cards/:cardId', + function(req, res) { + Authentication.checkUserId(req.userId); + const paramBoardId = req.params.boardId; + const paramListId = req.params.listId; + const paramCardId = req.params.cardId; + + const card = Cards.findOne({ + _id: paramCardId, + }); + Cards.direct.remove({ + _id: paramCardId, + listId: paramListId, + boardId: paramBoardId, + }); + cardRemover(req.body.authorId, card); + JsonRoutes.sendResult(res, { + code: 200, + data: { + _id: paramCardId, + }, + }); + }, + ); + + /** + * @operation get_cards_by_custom_field + * @summary Get all Cards that matchs a value of a specific custom field + * + * @param {string} boardId the board ID + * @param {string} customFieldId the list ID + * @param {string} customFieldValue the value to look for + * @return_type [{_id: string, + * title: string, + * description: string, + * listId: string, + * swinlaneId: string}] + */ + JsonRoutes.add( + 'GET', + '/api/boards/:boardId/cardsByCustomField/:customFieldId/:customFieldValue', + function(req, res) { + const paramBoardId = req.params.boardId; + const paramCustomFieldId = req.params.customFieldId; + const paramCustomFieldValue = req.params.customFieldValue; + + Authentication.checkBoardAccess(req.userId, paramBoardId); + JsonRoutes.sendResult(res, { + code: 200, + data: Cards.find({ + boardId: paramBoardId, + customFields: { + $elemMatch: { + _id: paramCustomFieldId, + value: paramCustomFieldValue, + }, + }, + archived: false, + }).fetch(), + }); + }, + ); +} + +export default Cards; diff --git a/models/checklistItems.js b/models/checklistItems.js new file mode 100644 index 0000000..afcd908 --- /dev/null +++ b/models/checklistItems.js @@ -0,0 +1,365 @@ +ChecklistItems = new Mongo.Collection('checklistItems'); + +/** + * An item in a checklist + */ +ChecklistItems.attachSchema( + new SimpleSchema({ + title: { + /** + * the text of the item + */ + type: String, + }, + sort: { + /** + * the sorting field of the item + */ + type: Number, + decimal: true, + }, + isFinished: { + /** + * Is the item checked? + */ + type: Boolean, + defaultValue: false, + }, + checklistId: { + /** + * the checklist ID the item is attached to + */ + type: String, + }, + cardId: { + /** + * the card ID the item is attached to + */ + type: String, + }, + createdAt: { + type: Date, + optional: true, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert) { + return new Date(); + } else if (this.isUpsert) { + return { $setOnInsert: new Date() }; + } else { + this.unset(); + } + }, + }, + modifiedAt: { + type: Date, + denyUpdate: false, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert || this.isUpsert || this.isUpdate) { + return new Date(); + } else { + this.unset(); + } + }, + }, + }), +); + +ChecklistItems.allow({ + insert(userId, doc) { + return allowIsBoardMemberByCard(userId, Cards.findOne(doc.cardId)); + }, + update(userId, doc) { + return allowIsBoardMemberByCard(userId, Cards.findOne(doc.cardId)); + }, + remove(userId, doc) { + return allowIsBoardMemberByCard(userId, Cards.findOne(doc.cardId)); + }, + fetch: ['userId', 'cardId'], +}); + +ChecklistItems.before.insert((userId, doc) => { + if (!doc.userId) { + doc.userId = userId; + } +}); + +// Mutations +ChecklistItems.mutations({ + setTitle(title) { + return { $set: { title } }; + }, + check() { + return { $set: { isFinished: true } }; + }, + uncheck() { + return { $set: { isFinished: false } }; + }, + toggleItem() { + return { $set: { isFinished: !this.isFinished } }; + }, + move(checklistId, sortIndex) { + const cardId = Checklists.findOne(checklistId).cardId; + const mutatedFields = { + cardId, + checklistId, + sort: sortIndex, + }; + + return { $set: mutatedFields }; + }, +}); + +// Activities helper +function itemCreation(userId, doc) { + const card = Cards.findOne(doc.cardId); + const boardId = card.boardId; + Activities.insert({ + userId, + activityType: 'addChecklistItem', + cardId: doc.cardId, + boardId, + checklistId: doc.checklistId, + checklistItemId: doc._id, + checklistItemName: doc.title, + listId: card.listId, + swimlaneId: card.swimlaneId, + }); +} + +function itemRemover(userId, doc) { + Activities.remove({ + checklistItemId: doc._id, + }); +} + +function publishCheckActivity(userId, doc) { + const card = Cards.findOne(doc.cardId); + const boardId = card.boardId; + let activityType; + if (doc.isFinished) { + activityType = 'checkedItem'; + } else { + activityType = 'uncheckedItem'; + } + const act = { + userId, + activityType, + cardId: doc.cardId, + boardId, + checklistId: doc.checklistId, + checklistItemId: doc._id, + checklistItemName: doc.title, + listId: card.listId, + swimlaneId: card.swimlaneId, + }; + Activities.insert(act); +} + +function publishChekListCompleted(userId, doc) { + const card = Cards.findOne(doc.cardId); + const boardId = card.boardId; + const checklistId = doc.checklistId; + const checkList = Checklists.findOne({ _id: checklistId }); + if (checkList.isFinished()) { + const act = { + userId, + activityType: 'completeChecklist', + cardId: doc.cardId, + boardId, + checklistId: doc.checklistId, + checklistName: checkList.title, + listId: card.listId, + swimlaneId: card.swimlaneId, + }; + Activities.insert(act); + } +} + +function publishChekListUncompleted(userId, doc) { + const card = Cards.findOne(doc.cardId); + const boardId = card.boardId; + const checklistId = doc.checklistId; + const checkList = Checklists.findOne({ _id: checklistId }); + // BUGS in IFTTT Rules: https://github.com/wekan/wekan/issues/1972 + // Currently in checklist all are set as uncompleted/not checked, + // IFTTT Rule does not move card to other list. + // If following line is negated/changed to: + // if(!checkList.isFinished()){ + // then unchecking of any checkbox will move card to other list, + // even when all checkboxes are not yet unchecked. + // What is correct code for only moving when all in list is unchecked? + // TIPS: Finding files, ignoring some directories with grep -v: + // cd wekan + // find . | xargs grep 'count' -sl | grep -v .meteor | grep -v node_modules | grep -v .build + // Maybe something related here? + // wekan/client/components/rules/triggers/checklistTriggers.js + if (checkList.isFinished()) { + const act = { + userId, + activityType: 'uncompleteChecklist', + cardId: doc.cardId, + boardId, + checklistId: doc.checklistId, + checklistName: checkList.title, + listId: card.listId, + swimlaneId: card.swimlaneId, + }; + Activities.insert(act); + } +} + +// Activities +if (Meteor.isServer) { + Meteor.startup(() => { + ChecklistItems._collection._ensureIndex({ modifiedAt: -1 }); + ChecklistItems._collection._ensureIndex({ checklistId: 1 }); + ChecklistItems._collection._ensureIndex({ cardId: 1 }); + }); + + ChecklistItems.after.update((userId, doc, fieldNames) => { + publishCheckActivity(userId, doc); + publishChekListCompleted(userId, doc, fieldNames); + }); + + ChecklistItems.before.update((userId, doc, fieldNames) => { + publishChekListUncompleted(userId, doc, fieldNames); + }); + + ChecklistItems.after.insert((userId, doc) => { + itemCreation(userId, doc); + }); + + ChecklistItems.before.remove((userId, doc) => { + itemRemover(userId, doc); + const card = Cards.findOne(doc.cardId); + const boardId = card.boardId; + Activities.insert({ + userId, + activityType: 'removedChecklistItem', + cardId: doc.cardId, + boardId, + checklistId: doc.checklistId, + checklistItemId: doc._id, + checklistItemName: doc.title, + listId: card.listId, + swimlaneId: card.swimlaneId, + }); + }); +} + +if (Meteor.isServer) { + /** + * @operation get_checklist_item + * @tag Checklists + * @summary Get a checklist item + * + * @param {string} boardId the board ID + * @param {string} cardId the card ID + * @param {string} checklistId the checklist ID + * @param {string} itemId the ID of the item + * @return_type ChecklistItems + */ + JsonRoutes.add( + 'GET', + '/api/boards/:boardId/cards/:cardId/checklists/:checklistId/items/:itemId', + function(req, res) { + Authentication.checkUserId(req.userId); + const paramItemId = req.params.itemId; + const checklistItem = ChecklistItems.findOne({ _id: paramItemId }); + if (checklistItem) { + JsonRoutes.sendResult(res, { + code: 200, + data: checklistItem, + }); + } else { + JsonRoutes.sendResult(res, { + code: 500, + }); + } + }, + ); + + /** + * @operation edit_checklist_item + * @tag Checklists + * @summary Edit a checklist item + * + * @param {string} boardId the board ID + * @param {string} cardId the card ID + * @param {string} checklistId the checklist ID + * @param {string} itemId the ID of the item + * @param {string} [isFinished] is the item checked? + * @param {string} [title] the new text of the item + * @return_type {_id: string} + */ + JsonRoutes.add( + 'PUT', + '/api/boards/:boardId/cards/:cardId/checklists/:checklistId/items/:itemId', + function(req, res) { + Authentication.checkUserId(req.userId); + + const paramItemId = req.params.itemId; + + function isTrue(data) { + try { + return data.toLowerCase() === 'true'; + } catch (error) { + return data; + } + } + + if (req.body.hasOwnProperty('isFinished')) { + ChecklistItems.direct.update( + { _id: paramItemId }, + { $set: { isFinished: isTrue(req.body.isFinished) } }, + ); + } + if (req.body.hasOwnProperty('title')) { + ChecklistItems.direct.update( + { _id: paramItemId }, + { $set: { title: req.body.title } }, + ); + } + + JsonRoutes.sendResult(res, { + code: 200, + data: { + _id: paramItemId, + }, + }); + }, + ); + + /** + * @operation delete_checklist_item + * @tag Checklists + * @summary Delete a checklist item + * + * @description Note: this operation can't be reverted. + * + * @param {string} boardId the board ID + * @param {string} cardId the card ID + * @param {string} checklistId the checklist ID + * @param {string} itemId the ID of the item to be removed + * @return_type {_id: string} + */ + JsonRoutes.add( + 'DELETE', + '/api/boards/:boardId/cards/:cardId/checklists/:checklistId/items/:itemId', + function(req, res) { + Authentication.checkUserId(req.userId); + const paramItemId = req.params.itemId; + ChecklistItems.direct.remove({ _id: paramItemId }); + JsonRoutes.sendResult(res, { + code: 200, + data: { + _id: paramItemId, + }, + }); + }, + ); +} + +export default ChecklistItems; diff --git a/models/checklists.js b/models/checklists.js new file mode 100644 index 0000000..cbf7d6d --- /dev/null +++ b/models/checklists.js @@ -0,0 +1,362 @@ +Checklists = new Mongo.Collection('checklists'); + +/** + * A Checklist + */ +Checklists.attachSchema( + new SimpleSchema({ + cardId: { + /** + * The ID of the card the checklist is in + */ + type: String, + }, + title: { + /** + * the title of the checklist + */ + type: String, + defaultValue: 'Checklist', + }, + finishedAt: { + /** + * When was the checklist finished + */ + type: Date, + optional: true, + }, + createdAt: { + /** + * Creation date of the checklist + */ + type: Date, + denyUpdate: false, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert) { + return new Date(); + } else if (this.isUpsert) { + return { $setOnInsert: new Date() }; + } else { + this.unset(); + } + }, + }, + modifiedAt: { + type: Date, + denyUpdate: false, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert || this.isUpsert || this.isUpdate) { + return new Date(); + } else { + this.unset(); + } + }, + }, + sort: { + /** + * sorting value of the checklist + */ + type: Number, + decimal: true, + }, + }), +); + +Checklists.helpers({ + copy(newCardId) { + const oldChecklistId = this._id; + this._id = null; + this.cardId = newCardId; + const newChecklistId = Checklists.insert(this); + ChecklistItems.find({ checklistId: oldChecklistId }).forEach(function( + item, + ) { + item._id = null; + item.checklistId = newChecklistId; + item.cardId = newCardId; + ChecklistItems.insert(item); + }); + }, + + itemCount() { + return ChecklistItems.find({ checklistId: this._id }).count(); + }, + items() { + return ChecklistItems.find( + { + checklistId: this._id, + }, + { sort: ['sort'] }, + ); + }, + finishedCount() { + return ChecklistItems.find({ + checklistId: this._id, + isFinished: true, + }).count(); + }, + isFinished() { + return 0 !== this.itemCount() && this.itemCount() === this.finishedCount(); + }, + checkAllItems() { + const checkItems = ChecklistItems.find({ checklistId: this._id }); + checkItems.forEach(function(item) { + item.check(); + }); + }, + uncheckAllItems() { + const checkItems = ChecklistItems.find({ checklistId: this._id }); + checkItems.forEach(function(item) { + item.uncheck(); + }); + }, + itemIndex(itemId) { + const items = self.findOne({ _id: this._id }).items; + return _.pluck(items, '_id').indexOf(itemId); + }, +}); + +Checklists.allow({ + insert(userId, doc) { + return allowIsBoardMemberByCard(userId, Cards.findOne(doc.cardId)); + }, + update(userId, doc) { + return allowIsBoardMemberByCard(userId, Cards.findOne(doc.cardId)); + }, + remove(userId, doc) { + return allowIsBoardMemberByCard(userId, Cards.findOne(doc.cardId)); + }, + fetch: ['userId', 'cardId'], +}); + +Checklists.before.insert((userId, doc) => { + doc.createdAt = new Date(); + if (!doc.userId) { + doc.userId = userId; + } +}); + +Checklists.mutations({ + setTitle(title) { + return { $set: { title } }; + }, +}); + +if (Meteor.isServer) { + Meteor.startup(() => { + Checklists._collection._ensureIndex({ modifiedAt: -1 }); + Checklists._collection._ensureIndex({ cardId: 1, createdAt: 1 }); + }); + + Checklists.after.insert((userId, doc) => { + const card = Cards.findOne(doc.cardId); + Activities.insert({ + userId, + activityType: 'addChecklist', + cardId: doc.cardId, + boardId: card.boardId, + checklistId: doc._id, + checklistName: doc.title, + listId: card.listId, + swimlaneId: card.swimlaneId, + }); + }); + + Checklists.before.remove((userId, doc) => { + const activities = Activities.find({ checklistId: doc._id }); + const card = Cards.findOne(doc.cardId); + if (activities) { + activities.forEach(activity => { + Activities.remove(activity._id); + }); + } + Activities.insert({ + userId, + activityType: 'removeChecklist', + cardId: doc.cardId, + boardId: Cards.findOne(doc.cardId).boardId, + checklistId: doc._id, + checklistName: doc.title, + listId: card.listId, + swimlaneId: card.swimlaneId, + }); + }); +} + +if (Meteor.isServer) { + /** + * @operation get_all_checklists + * @summary Get the list of checklists attached to a card + * + * @param {string} boardId the board ID + * @param {string} cardId the card ID + * @return_type [{_id: string, + * title: string}] + */ + JsonRoutes.add( + 'GET', + '/api/boards/:boardId/cards/:cardId/checklists', + function(req, res) { + Authentication.checkUserId(req.userId); + const paramCardId = req.params.cardId; + const checklists = Checklists.find({ cardId: paramCardId }).map(function( + doc, + ) { + return { + _id: doc._id, + title: doc.title, + }; + }); + if (checklists) { + JsonRoutes.sendResult(res, { + code: 200, + data: checklists, + }); + } else { + JsonRoutes.sendResult(res, { + code: 500, + }); + } + }, + ); + + /** + * @operation get_checklist + * @summary Get a checklist + * + * @param {string} boardId the board ID + * @param {string} cardId the card ID + * @param {string} checklistId the ID of the checklist + * @return_type {cardId: string, + * title: string, + * finishedAt: string, + * createdAt: string, + * sort: number, + * items: [{_id: string, + * title: string, + * isFinished: boolean}]} + */ + JsonRoutes.add( + 'GET', + '/api/boards/:boardId/cards/:cardId/checklists/:checklistId', + function(req, res) { + Authentication.checkUserId(req.userId); + const paramChecklistId = req.params.checklistId; + const paramCardId = req.params.cardId; + const checklist = Checklists.findOne({ + _id: paramChecklistId, + cardId: paramCardId, + }); + if (checklist) { + checklist.items = ChecklistItems.find({ + checklistId: checklist._id, + }).map(function(doc) { + return { + _id: doc._id, + title: doc.title, + isFinished: doc.isFinished, + }; + }); + JsonRoutes.sendResult(res, { + code: 200, + data: checklist, + }); + } else { + JsonRoutes.sendResult(res, { + code: 500, + }); + } + }, + ); + + /** + * @operation new_checklist + * @summary create a new checklist + * + * @param {string} boardId the board ID + * @param {string} cardId the card ID + * @param {string} title the title of the new checklist + * @param {string} [items] the list of items on the new checklist + * @return_type {_id: string} + */ + JsonRoutes.add( + 'POST', + '/api/boards/:boardId/cards/:cardId/checklists', + function(req, res) { + // Check user is logged in + Authentication.checkLoggedIn(req.userId); + const paramBoardId = req.params.boardId; + // Check user has permission to add checklist to the card + const board = Boards.findOne({ + _id: paramBoardId, + }); + const addPermission = allowIsBoardMemberCommentOnly(req.userId, board); + Authentication.checkAdminOrCondition(req.userId, addPermission); + const paramCardId = req.params.cardId; + const id = Checklists.insert({ + title: req.body.title, + cardId: paramCardId, + sort: 0, + }); + if (id) { + let items = req.body.items || []; + if (_.isString(items)) { + if (items === '') { + items = []; + } else { + items = [items]; + } + } + items.forEach(function(item, idx) { + ChecklistItems.insert({ + cardId: paramCardId, + checklistId: id, + title: item, + sort: idx, + }); + }); + JsonRoutes.sendResult(res, { + code: 200, + data: { + _id: id, + }, + }); + } else { + JsonRoutes.sendResult(res, { + code: 400, + }); + } + }, + ); + + /** + * @operation delete_checklist + * @summary Delete a checklist + * + * @description The checklist will be removed, not put in the recycle bin. + * + * @param {string} boardId the board ID + * @param {string} cardId the card ID + * @param {string} checklistId the ID of the checklist to remove + * @return_type {_id: string} + */ + JsonRoutes.add( + 'DELETE', + '/api/boards/:boardId/cards/:cardId/checklists/:checklistId', + function(req, res) { + Authentication.checkUserId(req.userId); + const paramChecklistId = req.params.checklistId; + Checklists.remove({ _id: paramChecklistId }); + JsonRoutes.sendResult(res, { + code: 200, + data: { + _id: paramChecklistId, + }, + }); + }, + ); +} + +export default Checklists; diff --git a/models/counters.js b/models/counters.js new file mode 100644 index 0000000..232353f --- /dev/null +++ b/models/counters.js @@ -0,0 +1 @@ +Counters = new Mongo.Collection('counters'); diff --git a/models/csvCreator.js b/models/csvCreator.js new file mode 100644 index 0000000..72b8a3b --- /dev/null +++ b/models/csvCreator.js @@ -0,0 +1,394 @@ +import Boards from './boards'; + +export class CsvCreator { + constructor(data) { + // date to be used for timestamps during import + this._nowDate = new Date(); + // index to help keep track of what information a column stores + // each row represents a card + this.fieldIndex = {}; + this.lists = {}; + // Map of members using username => wekanid + this.members = data.membersMapping ? data.membersMapping : {}; + this.swimlane = null; + } + + /** + * If dateString is provided, + * return the Date it represents. + * If not, will return the date when it was first called. + * This is useful for us, as we want all import operations to + * have the exact same date for easier later retrieval. + * + * @param {String} dateString a properly formatted Date + */ + _now(dateString) { + if (dateString) { + return new Date(dateString); + } + if (!this._nowDate) { + this._nowDate = new Date(); + } + return this._nowDate; + } + + _user(wekanUserId) { + if (wekanUserId && this.members[wekanUserId]) { + return this.members[wekanUserId]; + } + return Meteor.userId(); + } + + /** + * Map the header row titles to an index to help assign proper values to the cards' fields + * Valid headers (name of card fields): + * title, description, status, owner, member, label, due date, start date, finish date, created at, updated at + * Some header aliases can also be accepted. + * Headers are NOT case-sensitive. + * + * @param {Array} headerRow array from row of headers of imported CSV/TSV for cards + */ + mapHeadertoCardFieldIndex(headerRow) { + const index = {}; + index.customFields = []; + for (let i = 0; i < headerRow.length; i++) { + switch (headerRow[i].trim().toLowerCase()) { + case 'title': + index.title = i; + break; + case 'description': + index.description = i; + break; + case 'stage': + case 'status': + case 'state': + index.stage = i; + break; + case 'owner': + index.owner = i; + break; + case 'members': + case 'member': + index.members = i; + break; + case 'labels': + case 'label': + index.labels = i; + break; + case 'due date': + case 'deadline': + case 'due at': + index.dueAt = i; + break; + case 'start date': + case 'start at': + index.startAt = i; + break; + case 'finish date': + case 'end at': + index.endAt = i; + break; + case 'creation date': + case 'created at': + index.createdAt = i; + break; + case 'update date': + case 'updated at': + case 'modified at': + case 'modified on': + index.modifiedAt = i; + break; + } + if (headerRow[i].toLowerCase().startsWith('customfield')) { + if (headerRow[i].split('-')[2] === 'dropdown') { + index.customFields.push({ + name: headerRow[i].split('-')[1], + type: headerRow[i].split('-')[2], + options: headerRow[i].split('-')[3].split('/'), + position: i, + }); + } else if (headerRow[i].split('-')[2] === 'currency') { + index.customFields.push({ + name: headerRow[i].split('-')[1], + type: headerRow[i].split('-')[2], + currencyCode: headerRow[i].split('-')[3], + position: i, + }); + } else { + index.customFields.push({ + name: headerRow[i].split('-')[1], + type: headerRow[i].split('-')[2], + position: i, + }); + } + } + } + this.fieldIndex = index; + } + createCustomFields(boardId) { + this.fieldIndex.customFields.forEach(customField => { + let settings = {}; + if (customField.type === 'dropdown') { + settings = { + dropdownItems: customField.options.map(option => { + return { _id: Random.id(6), name: option }; + }), + }; + } else if (customField.type === 'currency') { + settings = { + currencyCode: customField.currencyCode, + }; + } else { + settings = {}; + } + const id = CustomFields.direct.insert({ + name: customField.name, + type: customField.type, + settings, + showOnCard: false, + automaticallyOnCard: false, + showLabelOnMiniCard: false, + boardIds: [boardId], + }); + customField.id = id; + customField.settings = settings; + }); + } + + createBoard(csvData) { + const boardToCreate = { + archived: false, + color: 'belize', + createdAt: this._now(), + labels: [], + members: [ + { + userId: Meteor.userId(), + wekanId: Meteor.userId(), + isActive: true, + isAdmin: true, + isNoComments: false, + isCommentOnly: false, + swimlaneId: false, + }, + ], + modifiedAt: this._now(), + //default is private, should inform user. + permission: 'private', + slug: 'board', + stars: 0, + title: `Imported Board ${this._now()}`, + }; + + // create labels + const labelsToCreate = new Set(); + for (let i = 1; i < csvData.length; i++) { + if (csvData[i][this.fieldIndex.labels]) { + for (const importedLabel of csvData[i][this.fieldIndex.labels].split( + ' ', + )) { + if (importedLabel && importedLabel.length > 0) { + labelsToCreate.add(importedLabel); + } + } + } + } + for (const label of labelsToCreate) { + let labelName, labelColor; + if (label.indexOf('-') > -1) { + labelName = label.split('-')[0]; + labelColor = label.split('-')[1]; + } else { + labelName = label; + } + const labelToCreate = { + _id: Random.id(6), + color: labelColor ? labelColor : 'black', + name: labelName, + }; + boardToCreate.labels.push(labelToCreate); + } + + const boardId = Boards.direct.insert(boardToCreate); + Boards.direct.update(boardId, { + $set: { + modifiedAt: this._now(), + }, + }); + // log activity + Activities.direct.insert({ + activityType: 'importBoard', + boardId, + createdAt: this._now(), + source: { + id: boardId, + system: 'CSV/TSV', + }, + // We attribute the import to current user, + // not the author from the original object. + userId: this._user(), + }); + return boardId; + } + + createSwimlanes(boardId) { + const swimlaneToCreate = { + archived: false, + boardId, + createdAt: this._now(), + title: 'Default', + sort: 1, + }; + const swimlaneId = Swimlanes.direct.insert(swimlaneToCreate); + Swimlanes.direct.update(swimlaneId, { $set: { updatedAt: this._now() } }); + this.swimlane = swimlaneId; + } + + createLists(csvData, boardId) { + let numOfCreatedLists = 0; + for (let i = 1; i < csvData.length; i++) { + const listToCreate = { + archived: false, + boardId, + createdAt: this._now(), + }; + if (csvData[i][this.fieldIndex.stage]) { + const existingList = Lists.find({ + title: csvData[i][this.fieldIndex.stage], + boardId, + }).fetch(); + if (existingList.length > 0) { + continue; + } else { + listToCreate.title = csvData[i][this.fieldIndex.stage]; + } + } else listToCreate.title = `Imported List ${this._now()}`; + + const listId = Lists.direct.insert(listToCreate); + this.lists[csvData[i][this.fieldIndex.stage]] = listId; + numOfCreatedLists++; + Lists.direct.update(listId, { + $set: { + updatedAt: this._now(), + sort: numOfCreatedLists, + }, + }); + } + } + + createCards(csvData, boardId) { + for (let i = 1; i < csvData.length; i++) { + const cardToCreate = { + archived: false, + boardId, + createdAt: + csvData[i][this.fieldIndex.createdAt] !== ' ' || '' + ? this._now(new Date(csvData[i][this.fieldIndex.createdAt])) + : null, + dateLastActivity: this._now(), + description: csvData[i][this.fieldIndex.description], + listId: this.lists[csvData[i][this.fieldIndex.stage]], + swimlaneId: this.swimlane, + sort: -1, + title: csvData[i][this.fieldIndex.title], + userId: this._user(), + startAt: + csvData[i][this.fieldIndex.startAt] !== ' ' || '' + ? this._now(new Date(csvData[i][this.fieldIndex.startAt])) + : null, + dueAt: + csvData[i][this.fieldIndex.dueAt] !== ' ' || '' + ? this._now(new Date(csvData[i][this.fieldIndex.dueAt])) + : null, + endAt: + csvData[i][this.fieldIndex.endAt] !== ' ' || '' + ? this._now(new Date(csvData[i][this.fieldIndex.endAt])) + : null, + spentTime: null, + labelIds: [], + modifiedAt: + csvData[i][this.fieldIndex.modifiedAt] !== ' ' || '' + ? this._now(new Date(csvData[i][this.fieldIndex.modifiedAt])) + : null, + }; + // add the labels + if (csvData[i][this.fieldIndex.labels]) { + const board = Boards.findOne(boardId); + for (const importedLabel of csvData[i][this.fieldIndex.labels].split( + ' ', + )) { + if (importedLabel && importedLabel.length > 0) { + let labelToApply; + if (importedLabel.indexOf('-') === -1) { + labelToApply = board.getLabel(importedLabel, 'black'); + } else { + labelToApply = board.getLabel( + importedLabel.split('-')[0], + importedLabel.split('-')[1], + ); + } + cardToCreate.labelIds.push(labelToApply._id); + } + } + } + // add the members + if (csvData[i][this.fieldIndex.members]) { + const wekanMembers = []; + for (const importedMember of csvData[i][this.fieldIndex.members].split( + ' ', + )) { + if (this.members[importedMember]) { + const wekanId = this.members[importedMember]; + if (!wekanMembers.find(wId => wId === wekanId)) { + wekanMembers.push(wekanId); + } + } + } + if (wekanMembers.length > 0) { + cardToCreate.members = wekanMembers; + } + } + // add the custom fields + if (this.fieldIndex.customFields.length > 0) { + const customFields = []; + this.fieldIndex.customFields.forEach(customField => { + if (csvData[i][customField.position] !== ' ') { + if (customField.type === 'dropdown') { + customFields.push({ + _id: customField.id, + value: customField.settings.dropdownItems.find( + ({ name }) => name === csvData[i][customField.position], + )._id, + }); + } else { + customFields.push({ + _id: customField.id, + value: csvData[i][customField.position], + }); + } + } + cardToCreate.customFields = customFields; + }); + Cards.direct.insert(cardToCreate); + } + } + } + + create(board, currentBoardId) { + const isSandstorm = + Meteor.settings && + Meteor.settings.public && + Meteor.settings.public.sandstorm; + if (isSandstorm && currentBoardId) { + const currentBoard = Boards.findOne(currentBoardId); + currentBoard.archive(); + } + this.mapHeadertoCardFieldIndex(board[0]); + const boardId = this.createBoard(board); + this.createLists(board, boardId); + this.createSwimlanes(boardId); + this.createCustomFields(boardId); + this.createCards(board, boardId); + return boardId; + } +} diff --git a/models/customFields.js b/models/customFields.js new file mode 100644 index 0000000..83b47fc --- /dev/null +++ b/models/customFields.js @@ -0,0 +1,362 @@ +CustomFields = new Mongo.Collection('customFields'); + +/** + * A custom field on a card in the board + */ +CustomFields.attachSchema( + new SimpleSchema({ + boardIds: { + /** + * the ID of the board + */ + type: [String], + }, + name: { + /** + * name of the custom field + */ + type: String, + }, + type: { + /** + * type of the custom field + */ + type: String, + allowedValues: ['text', 'number', 'date', 'dropdown', 'currency'], + }, + settings: { + /** + * settings of the custom field + */ + type: Object, + }, + 'settings.currencyCode': { + type: String, + optional: true, + }, + 'settings.dropdownItems': { + /** + * list of drop down items objects + */ + type: [Object], + optional: true, + }, + 'settings.dropdownItems.$': { + type: new SimpleSchema({ + _id: { + /** + * ID of the drop down item + */ + type: String, + }, + name: { + /** + * name of the drop down item + */ + type: String, + }, + }), + }, + showOnCard: { + /** + * should we show on the cards this custom field + */ + type: Boolean, + }, + automaticallyOnCard: { + /** + * should the custom fields automatically be added on cards? + */ + type: Boolean, + }, + showLabelOnMiniCard: { + /** + * should the label of the custom field be shown on minicards? + */ + type: Boolean, + }, + createdAt: { + type: Date, + optional: true, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert) { + return new Date(); + } else if (this.isUpsert) { + return { $setOnInsert: new Date() }; + } else { + this.unset(); + } + }, + }, + modifiedAt: { + type: Date, + denyUpdate: false, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert || this.isUpsert || this.isUpdate) { + return new Date(); + } else { + this.unset(); + } + }, + }, + }), +); + +CustomFields.mutations({ + addBoard(boardId) { + if (boardId) { + return { + $push: { + boardIds: boardId, + }, + }; + } else { + return null; + } + }, +}); + +CustomFields.allow({ + insert(userId, doc) { + return allowIsAnyBoardMember( + userId, + Boards.find({ + _id: { $in: doc.boardIds }, + }).fetch(), + ); + }, + update(userId, doc) { + return allowIsAnyBoardMember( + userId, + Boards.find({ + _id: { $in: doc.boardIds }, + }).fetch(), + ); + }, + remove(userId, doc) { + return allowIsAnyBoardMember( + userId, + Boards.find({ + _id: { $in: doc.boardIds }, + }).fetch(), + ); + }, + fetch: ['userId', 'boardIds'], +}); + +// not sure if we need this? +//CustomFields.hookOptions.after.update = { fetchPrevious: false }; + +function customFieldCreation(userId, doc) { + Activities.insert({ + userId, + activityType: 'createCustomField', + boardId: doc.boardIds[0], // We are creating a customField, it has only one boardId + customFieldId: doc._id, + }); +} + +function customFieldDeletion(userId, doc) { + Activities.insert({ + userId, + activityType: 'deleteCustomField', + boardId: doc.boardIds[0], // We are creating a customField, it has only one boardId + customFieldId: doc._id, + }); +} + +// This has some bug, it does not show edited customField value at Outgoing Webhook, +// instead it shows undefined, and no listId and swimlaneId. +function customFieldEdit(userId, doc) { + const card = Cards.findOne(doc.cardId); + const customFieldValue = Activities.findOne({ customFieldId: doc._id }).value; + Activities.insert({ + userId, + activityType: 'setCustomField', + boardId: doc.boardIds[0], // We are creating a customField, it has only one boardId + customFieldId: doc._id, + customFieldValue, + listId: doc.listId, + swimlaneId: doc.swimlaneId, + }); +} + +if (Meteor.isServer) { + Meteor.startup(() => { + CustomFields._collection._ensureIndex({ modifiedAt: -1 }); + CustomFields._collection._ensureIndex({ boardIds: 1 }); + }); + + CustomFields.after.insert((userId, doc) => { + customFieldCreation(userId, doc); + }); + + CustomFields.before.update((userId, doc, fieldNames, modifier) => { + if (_.contains(fieldNames, 'boardIds') && modifier.$pull) { + Cards.update( + { boardId: modifier.$pull.boardIds, 'customFields._id': doc._id }, + { $pull: { customFields: { _id: doc._id } } }, + { multi: true }, + ); + customFieldEdit(userId, doc); + Activities.remove({ + customFieldId: doc._id, + boardId: modifier.$pull.boardIds, + listId: doc.listId, + swimlaneId: doc.swimlaneId, + }); + } else if (_.contains(fieldNames, 'boardIds') && modifier.$push) { + Activities.insert({ + userId, + activityType: 'createCustomField', + boardId: modifier.$push.boardIds, + customFieldId: doc._id, + }); + } + }); + + CustomFields.before.remove((userId, doc) => { + customFieldDeletion(userId, doc); + Activities.remove({ + customFieldId: doc._id, + }); + + Cards.update( + { boardId: { $in: doc.boardIds }, 'customFields._id': doc._id }, + { $pull: { customFields: { _id: doc._id } } }, + { multi: true }, + ); + }); +} + +//CUSTOM FIELD REST API +if (Meteor.isServer) { + /** + * @operation get_all_custom_fields + * @summary Get the list of Custom Fields attached to a board + * + * @param {string} boardID the ID of the board + * @return_type [{_id: string, + * name: string, + * type: string}] + */ + JsonRoutes.add('GET', '/api/boards/:boardId/custom-fields', function( + req, + res, + ) { + Authentication.checkUserId(req.userId); + const paramBoardId = req.params.boardId; + JsonRoutes.sendResult(res, { + code: 200, + data: CustomFields.find({ boardIds: { $in: [paramBoardId] } }).map( + function(cf) { + return { + _id: cf._id, + name: cf.name, + type: cf.type, + }; + }, + ), + }); + }); + + /** + * @operation get_custom_field + * @summary Get a Custom Fields attached to a board + * + * @param {string} boardID the ID of the board + * @param {string} customFieldId the ID of the custom field + * @return_type CustomFields + */ + JsonRoutes.add( + 'GET', + '/api/boards/:boardId/custom-fields/:customFieldId', + function(req, res) { + Authentication.checkUserId(req.userId); + const paramBoardId = req.params.boardId; + const paramCustomFieldId = req.params.customFieldId; + JsonRoutes.sendResult(res, { + code: 200, + data: CustomFields.findOne({ + _id: paramCustomFieldId, + boardIds: { $in: [paramBoardId] }, + }), + }); + }, + ); + + /** + * @operation new_custom_field + * @summary Create a Custom Field + * + * @param {string} boardID the ID of the board + * @param {string} name the name of the custom field + * @param {string} type the type of the custom field + * @param {string} settings the settings object of the custom field + * @param {boolean} showOnCard should we show the custom field on cards? + * @param {boolean} automaticallyOnCard should the custom fields automatically be added on cards? + * @param {boolean} showLabelOnMiniCard should the label of the custom field be shown on minicards? + * @return_type {_id: string} + */ + JsonRoutes.add('POST', '/api/boards/:boardId/custom-fields', function( + req, + res, + ) { + Authentication.checkUserId(req.userId); + const paramBoardId = req.params.boardId; + const board = Boards.findOne({ _id: paramBoardId }); + const id = CustomFields.direct.insert({ + name: req.body.name, + type: req.body.type, + settings: req.body.settings, + showOnCard: req.body.showOnCard, + automaticallyOnCard: req.body.automaticallyOnCard, + showLabelOnMiniCard: req.body.showLabelOnMiniCard, + boardIds: [board._id], + }); + + const customField = CustomFields.findOne({ + _id: id, + boardIds: { $in: [paramBoardId] }, + }); + customFieldCreation(req.body.authorId, customField); + + JsonRoutes.sendResult(res, { + code: 200, + data: { + _id: id, + }, + }); + }); + + /** + * @operation delete_custom_field + * @summary Delete a Custom Fields attached to a board + * + * @description The Custom Field can't be retrieved after this operation + * + * @param {string} boardID the ID of the board + * @param {string} customFieldId the ID of the custom field + * @return_type {_id: string} + */ + JsonRoutes.add( + 'DELETE', + '/api/boards/:boardId/custom-fields/:customFieldId', + function(req, res) { + Authentication.checkUserId(req.userId); + const paramBoardId = req.params.boardId; + const id = req.params.customFieldId; + CustomFields.remove({ _id: id, boardIds: { $in: [paramBoardId] } }); + JsonRoutes.sendResult(res, { + code: 200, + data: { + _id: id, + }, + }); + }, + ); +} + +export default CustomFields; diff --git a/models/export.js b/models/export.js new file mode 100644 index 0000000..17b08da --- /dev/null +++ b/models/export.js @@ -0,0 +1,98 @@ +import { Exporter } from './exporter'; +/* global JsonRoutes */ +if (Meteor.isServer) { + // todo XXX once we have a real API in place, move that route there + // todo XXX also share the route definition between the client and the server + // so that we could use something like + // `ApiRoutes.path('boards/export', boardId)`` + // on the client instead of copy/pasting the route path manually between the + // client and the server. + /** + * @operation exportJson + * @tag Boards + * + * @summary This route is used to export the board to a json file format. + * + * @description If user is already logged-in, pass loginToken as param + * "authToken": '/api/boards/:boardId/export?authToken=:token' + * + * See https://blog.kayla.com.au/server-side-route-authentication-in-meteor/ + * for detailed explanations + * + * @param {string} boardId the ID of the board we are exporting + * @param {string} authToken the loginToken + */ + JsonRoutes.add('get', '/api/boards/:boardId/export', function(req, res) { + const boardId = req.params.boardId; + let user = null; + const loginToken = req.query.authToken; + if (loginToken) { + const hashToken = Accounts._hashLoginToken(loginToken); + user = Meteor.users.findOne({ + 'services.resume.loginTokens.hashedToken': hashToken, + }); + } else if (!Meteor.settings.public.sandstorm) { + Authentication.checkUserId(req.userId); + user = Users.findOne({ _id: req.userId, isAdmin: true }); + } + const exporter = new Exporter(boardId); + if (exporter.canExport(user)) { + JsonRoutes.sendResult(res, { + code: 200, + data: exporter.build(), + }); + } else { + // we could send an explicit error message, but on the other hand the only + // way to get there is by hacking the UI so let's keep it raw. + JsonRoutes.sendResult(res, 403); + } + }); + + /** + * @operation exportCSV/TSV + * @tag Boards + * + * @summary This route is used to export the board to a CSV or TSV file format. + * + * @description If user is already logged-in, pass loginToken as param + * + * See https://blog.kayla.com.au/server-side-route-authentication-in-meteor/ + * for detailed explanations + * + * @param {string} boardId the ID of the board we are exporting + * @param {string} authToken the loginToken + * @param {string} delimiter delimiter to use while building export. Default is comma ',' + */ + Picker.route('/api/boards/:boardId/export/csv', function(params, req, res) { + const boardId = params.boardId; + let user = null; + const loginToken = params.query.authToken; + if (loginToken) { + const hashToken = Accounts._hashLoginToken(loginToken); + user = Meteor.users.findOne({ + 'services.resume.loginTokens.hashedToken': hashToken, + }); + } else if (!Meteor.settings.public.sandstorm) { + Authentication.checkUserId(req.userId); + user = Users.findOne({ + _id: req.userId, + isAdmin: true, + }); + } + const exporter = new Exporter(boardId); + //if (exporter.canExport(user)) { + body = params.query.delimiter + ? exporter.buildCsv(params.query.delimiter) + : exporter.buildCsv(); + //'Content-Length': body.length, + res.writeHead(200, { + 'Content-Type': params.query.delimiter ? 'text/csv' : 'text/tsv', + }); + res.write(body); + res.end(); + //} else { + // res.writeHead(403); + // res.end('Permission Error'); + //} + }); +} diff --git a/models/exporter.js b/models/exporter.js new file mode 100644 index 0000000..26cb556 --- /dev/null +++ b/models/exporter.js @@ -0,0 +1,398 @@ +//const stringify = require('csv-stringify'); + +// exporter maybe is broken since Gridfs introduced, add fs and path +export class Exporter { + constructor(boardId) { + this._boardId = boardId; + } + + build() { + const fs = Npm.require('fs'); + const os = Npm.require('os'); + const path = Npm.require('path'); + + const byBoard = { boardId: this._boardId }; + const byBoardNoLinked = { + boardId: this._boardId, + linkedId: { $in: ['', null] }, + }; + // we do not want to retrieve boardId in related elements + const noBoardId = { + fields: { + boardId: 0, + }, + }; + const result = { + _format: 'wekan-board-1.0.0', + }; + _.extend( + result, + Boards.findOne(this._boardId, { + fields: { + stars: 0, + }, + }), + ); + result.lists = Lists.find(byBoard, noBoardId).fetch(); + result.cards = Cards.find(byBoardNoLinked, noBoardId).fetch(); + result.swimlanes = Swimlanes.find(byBoard, noBoardId).fetch(); + result.customFields = CustomFields.find( + { boardIds: this._boardId }, + { fields: { boardIds: 0 } }, + ).fetch(); + result.comments = CardComments.find(byBoard, noBoardId).fetch(); + result.activities = Activities.find(byBoard, noBoardId).fetch(); + result.rules = Rules.find(byBoard, noBoardId).fetch(); + result.checklists = []; + result.checklistItems = []; + result.subtaskItems = []; + result.triggers = []; + result.actions = []; + result.cards.forEach(card => { + result.checklists.push( + ...Checklists.find({ + cardId: card._id, + }).fetch(), + ); + result.checklistItems.push( + ...ChecklistItems.find({ + cardId: card._id, + }).fetch(), + ); + result.subtaskItems.push( + ...Cards.find({ + parentId: card._id, + }).fetch(), + ); + }); + result.rules.forEach(rule => { + result.triggers.push( + ...Triggers.find( + { + _id: rule.triggerId, + }, + noBoardId, + ).fetch(), + ); + result.actions.push( + ...Actions.find( + { + _id: rule.actionId, + }, + noBoardId, + ).fetch(), + ); + }); + + // [Old] for attachments we only export IDs and absolute url to original doc + // [New] Encode attachment to base64 + + const getBase64Data = function(doc, callback) { + let buffer = Buffer.allocUnsafe(0); + buffer.fill(0); + + // callback has the form function (err, res) {} + const tmpFile = path.join( + os.tmpdir(), + `tmpexport${process.pid}${Math.random()}`, + ); + const tmpWriteable = fs.createWriteStream(tmpFile); + const readStream = doc.createReadStream(); + readStream.on('data', function(chunk) { + buffer = Buffer.concat([buffer, chunk]); + }); + + readStream.on('error', function() { + callback(null, null); + }); + readStream.on('end', function() { + // done + fs.unlink(tmpFile, () => { + //ignored + }); + + callback(null, buffer.toString('base64')); + }); + readStream.pipe(tmpWriteable); + }; + const getBase64DataSync = Meteor.wrapAsync(getBase64Data); + result.attachments = Attachments.find(byBoard) + .fetch() + .map(attachment => { + let filebase64 = null; + filebase64 = getBase64DataSync(attachment); + + return { + _id: attachment._id, + cardId: attachment.cardId, + //url: FlowRouter.url(attachment.url()), + file: filebase64, + name: attachment.original.name, + type: attachment.original.type, + }; + }); + + // we also have to export some user data - as the other elements only + // include id but we have to be careful: + // 1- only exports users that are linked somehow to that board + // 2- do not export any sensitive information + const users = {}; + result.members.forEach(member => { + users[member.userId] = true; + }); + result.lists.forEach(list => { + users[list.userId] = true; + }); + result.cards.forEach(card => { + users[card.userId] = true; + if (card.members) { + card.members.forEach(memberId => { + users[memberId] = true; + }); + } + }); + result.comments.forEach(comment => { + users[comment.userId] = true; + }); + result.activities.forEach(activity => { + users[activity.userId] = true; + }); + result.checklists.forEach(checklist => { + users[checklist.userId] = true; + }); + const byUserIds = { + _id: { + $in: Object.getOwnPropertyNames(users), + }, + }; + // we use whitelist to be sure we do not expose inadvertently + // some secret fields that gets added to User later. + const userFields = { + fields: { + _id: 1, + username: 1, + 'profile.fullname': 1, + 'profile.initials': 1, + 'profile.avatarUrl': 1, + }, + }; + result.users = Users.find(byUserIds, userFields) + .fetch() + .map(user => { + // user avatar is stored as a relative url, we export absolute + if ((user.profile || {}).avatarUrl) { + user.profile.avatarUrl = FlowRouter.url(user.profile.avatarUrl); + } + return user; + }); + return result; + } + + buildCsv(delimiter = ',') { + const result = this.build(); + const columnHeaders = []; + const cardRows = []; + columnHeaders.push( + 'Title', + 'Description', + 'Status', + 'Swimlane', + 'Owner', + 'Requested by', + 'Assigned by', + 'Members', + 'Assignees', + 'Labels', + 'Start at', + 'Due at', + 'End at', + 'Over time', + 'Spent time (hours)', + 'Created at', + 'Last modified at', + 'Last activity', + 'Vote', + 'Archived', + ); + const customFieldMap = {}; + let i = 0; + result.customFields.forEach(customField => { + customFieldMap[customField._id] = { + position: i, + type: customField.type, + }; + if (customField.type === 'dropdown') { + let options = ''; + customField.settings.dropdownItems.forEach(item => { + options = options === '' ? item.name : `${`${options}/${item.name}`}`; + }); + columnHeaders.push( + `CustomField-${customField.name}-${customField.type}-${options}`, + ); + } else if (customField.type === 'currency') { + columnHeaders.push( + `CustomField-${customField.name}-${customField.type}-${customField.settings.currencyCode}`, + ); + } else { + columnHeaders.push( + `CustomField-${customField.name}-${customField.type}`, + ); + } + i++; + }); + /* TODO: Try to get translations working. + These currently only bring English translations. + TAPi18n.__('title'), + TAPi18n.__('description'), + TAPi18n.__('status'), + TAPi18n.__('swimlane'), + TAPi18n.__('owner'), + TAPi18n.__('requested-by'), + TAPi18n.__('assigned-by'), + TAPi18n.__('members'), + TAPi18n.__('assignee'), + TAPi18n.__('labels'), + TAPi18n.__('card-start'), + TAPi18n.__('card-due'), + TAPi18n.__('card-end'), + TAPi18n.__('overtime-hours'), + TAPi18n.__('spent-time-hours'), + TAPi18n.__('createdAt'), + TAPi18n.__('last-modified-at'), + TAPi18n.__('last-activity'), + TAPi18n.__('voting'), + TAPi18n.__('archived'), + */ + + const stringifier = stringify({ + header: true, + delimiter, + columns: columnHeaders, + }); + + stringifier.on('readable', function() { + let row; + while ((row = stringifier.read())) { + cardRows.push(row); + } + }); + + stringifier.on('error', function(err) { + // eslint-disable-next-line no-console + console.error(err.message); + }); + + result.cards.forEach(card => { + const currentRow = []; + currentRow.push(card.title); + currentRow.push(card.description); + currentRow.push( + result.lists.find(({ _id }) => _id === card.listId).title, + ); + currentRow.push( + result.swimlanes.find(({ _id }) => _id === card.swimlaneId).title, + ); + currentRow.push( + result.users.find(({ _id }) => _id === card.userId).username, + ); + currentRow.push(card.requestedBy ? card.requestedBy : ' '); + currentRow.push(card.assignedBy ? card.assignedBy : ' '); + let usernames = ''; + card.members.forEach(memberId => { + const user = result.users.find(({ _id }) => _id === memberId); + usernames = `${usernames + user.username} `; + }); + currentRow.push(usernames.trim()); + let assignees = ''; + card.assignees.forEach(assigneeId => { + const user = result.users.find(({ _id }) => _id === assigneeId); + assignees = `${assignees + user.username} `; + }); + currentRow.push(assignees.trim()); + let labels = ''; + card.labelIds.forEach(labelId => { + const label = result.labels.find(({ _id }) => _id === labelId); + labels = `${labels + label.name}-${label.color} `; + }); + currentRow.push(labels.trim()); + currentRow.push(card.startAt ? moment(card.startAt).format() : ' '); + currentRow.push(card.dueAt ? moment(card.dueAt).format() : ' '); + currentRow.push(card.endAt ? moment(card.endAt).format() : ' '); + currentRow.push(card.isOvertime ? 'true' : 'false'); + currentRow.push(card.spentTime); + currentRow.push(card.createdAt ? moment(card.createdAt).format() : ' '); + currentRow.push(card.modifiedAt ? moment(card.modifiedAt).format() : ' '); + currentRow.push( + card.dateLastActivity ? moment(card.dateLastActivity).format() : ' ', + ); + if (card.vote && card.vote.question !== '') { + let positiveVoters = ''; + let negativeVoters = ''; + card.vote.positive.forEach(userId => { + const user = result.users.find(({ _id }) => _id === userId); + positiveVoters = `${positiveVoters + user.username} `; + }); + card.vote.negative.forEach(userId => { + const user = result.users.find(({ _id }) => _id === userId); + negativeVoters = `${negativeVoters + user.username} `; + }); + const votingResult = `${ + card.vote.public + ? `yes-${ + card.vote.positive.length + }-${positiveVoters.trimRight()}-no-${ + card.vote.negative.length + }-${negativeVoters.trimRight()}` + : `yes-${card.vote.positive.length}-no-${card.vote.negative.length}` + }`; + currentRow.push(`${card.vote.question}-${votingResult}`); + } else { + currentRow.push(' '); + } + currentRow.push(card.archived ? 'true' : 'false'); + //Custom fields + const customFieldValuesToPush = new Array(result.customFields.length); + card.customFields.forEach(field => { + if (field.value !== null) { + if (customFieldMap[field._id].type === 'date') { + customFieldValuesToPush[ + customFieldMap[field._id].position + ] = moment(field.value).format(); + } else if (customFieldMap[field._id].type === 'dropdown') { + const dropdownOptions = result.customFields.find( + ({ _id }) => _id === field._id, + ).settings.dropdownItems; + const fieldValue = dropdownOptions.find( + ({ _id }) => _id === field.value, + ).name; + customFieldValuesToPush[ + customFieldMap[field._id].position + ] = fieldValue; + } else { + customFieldValuesToPush[customFieldMap[field._id].position] = + field.value; + } + } + }); + for ( + let valueIndex = 0; + valueIndex < customFieldValuesToPush.length; + valueIndex++ + ) { + if (!(valueIndex in customFieldValuesToPush)) { + currentRow.push(' '); + } else { + currentRow.push(customFieldValuesToPush[valueIndex]); + } + } + stringifier.write(currentRow); + }); + stringifier.end(); + return cardRows[0]; + } + + canExport(user) { + const board = Boards.findOne(this._boardId); + return board && board.isVisibleBy(user); + } +} diff --git a/models/import.js b/models/import.js new file mode 100644 index 0000000..f3cbaa9 --- /dev/null +++ b/models/import.js @@ -0,0 +1,52 @@ +import { TrelloCreator } from './trelloCreator'; +import { WekanCreator } from './wekanCreator'; +import { CsvCreator } from './csvCreator'; +import { Exporter } from './exporter'; +import wekanMembersMapper from './wekanmapper'; + +Meteor.methods({ + importBoard(board, data, importSource, currentBoard) { + check(data, Object); + check(importSource, String); + check(currentBoard, Match.Maybe(String)); + let creator; + switch (importSource) { + case 'trello': + check(board, Object); + creator = new TrelloCreator(data); + break; + case 'wekan': + check(board, Object); + creator = new WekanCreator(data); + break; + case 'csv': + check(board, Array); + creator = new CsvCreator(data); + break; + } + + // 1. check all parameters are ok from a syntax point of view + //creator.check(board); + + // 2. check parameters are ok from a business point of view (exist & + // authorized) nothing to check, everyone can import boards in their account + + // 3. create all elements + return creator.create(board, currentBoard); + }, +}); + +Meteor.methods({ + cloneBoard(sourceBoardId, currentBoardId) { + check(sourceBoardId, String); + check(currentBoardId, Match.Maybe(String)); + const exporter = new Exporter(sourceBoardId); + const data = exporter.build(); + const addData = {}; + addData.membersMapping = wekanMembersMapper.getMembersToMap(data); + const creator = new WekanCreator(addData); + //data.title = `${data.title } - ${ TAPi18n.__('copy-tag')}`; + data.title = `${data.title}`; + return creator.create(data, currentBoardId); + }, +}); diff --git a/models/integrations.js b/models/integrations.js new file mode 100644 index 0000000..dbf53b8 --- /dev/null +++ b/models/integrations.js @@ -0,0 +1,412 @@ +Integrations = new Mongo.Collection('integrations'); + +/** + * Integration with third-party applications + */ +Integrations.attachSchema( + new SimpleSchema({ + enabled: { + /** + * is the integration enabled? + */ + type: Boolean, + defaultValue: true, + }, + title: { + /** + * name of the integration + */ + type: String, + optional: true, + }, + type: { + /** + * type of the integratation (Default to 'outgoing-webhooks') + */ + type: String, + defaultValue: 'outgoing-webhooks', + }, + activities: { + /** + * activities the integration gets triggered (list) + */ + type: [String], + defaultValue: ['all'], + }, + url: { + // URL validation regex (https://mathiasbynens.be/demo/url-regex) + /** + * URL validation regex (https://mathiasbynens.be/demo/url-regex) + */ + type: String, + }, + token: { + /** + * token of the integration + */ + type: String, + optional: true, + }, + boardId: { + /** + * Board ID of the integration + */ + type: String, + }, + createdAt: { + /** + * Creation date of the integration + */ + type: Date, + denyUpdate: false, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert) { + return new Date(); + } else if (this.isUpsert) { + return { $setOnInsert: new Date() }; + } else { + this.unset(); + } + }, + }, + modifiedAt: { + type: Date, + denyUpdate: false, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert || this.isUpsert || this.isUpdate) { + return new Date(); + } else { + this.unset(); + } + }, + }, + userId: { + /** + * user ID who created the interation + */ + type: String, + }, + }), +); +Integrations.Const = { + GLOBAL_WEBHOOK_ID: '_global', + ONEWAY: 'outgoing-webhooks', + TWOWAY: 'bidirectional-webhooks', + get WEBHOOK_TYPES() { + return [this.ONEWAY, this.TWOWAY]; + }, +}; +const permissionHelper = { + allow(userId, doc) { + const user = Users.findOne(userId); + const isAdmin = user && Meteor.user().isAdmin; + return isAdmin || allowIsBoardAdmin(userId, Boards.findOne(doc.boardId)); + }, +}; +Integrations.allow({ + insert(userId, doc) { + return permissionHelper.allow(userId, doc); + }, + update(userId, doc) { + return permissionHelper.allow(userId, doc); + }, + remove(userId, doc) { + return permissionHelper.allow(userId, doc); + }, + fetch: ['boardId'], +}); + +//INTEGRATIONS REST API +if (Meteor.isServer) { + Meteor.startup(() => { + Integrations._collection._ensureIndex({ modifiedAt: -1 }); + Integrations._collection._ensureIndex({ boardId: 1 }); + }); + + /** + * @operation get_all_integrations + * @summary Get all integrations in board + * + * @param {string} boardId the board ID + * @return_type [Integrations] + */ + JsonRoutes.add('GET', '/api/boards/:boardId/integrations', function( + req, + res, + ) { + try { + const paramBoardId = req.params.boardId; + Authentication.checkBoardAccess(req.userId, paramBoardId); + + const data = Integrations.find( + { boardId: paramBoardId }, + { fields: { token: 0 } }, + ).map(function(doc) { + return doc; + }); + + JsonRoutes.sendResult(res, { code: 200, data }); + } catch (error) { + JsonRoutes.sendResult(res, { + code: 200, + data: error, + }); + } + }); + + /** + * @operation get_integration + * @summary Get a single integration in board + * + * @param {string} boardId the board ID + * @param {string} intId the integration ID + * @return_type Integrations + */ + JsonRoutes.add('GET', '/api/boards/:boardId/integrations/:intId', function( + req, + res, + ) { + try { + const paramBoardId = req.params.boardId; + const paramIntId = req.params.intId; + Authentication.checkBoardAccess(req.userId, paramBoardId); + + JsonRoutes.sendResult(res, { + code: 200, + data: Integrations.findOne( + { _id: paramIntId, boardId: paramBoardId }, + { fields: { token: 0 } }, + ), + }); + } catch (error) { + JsonRoutes.sendResult(res, { + code: 200, + data: error, + }); + } + }); + + /** + * @operation new_integration + * @summary Create a new integration + * + * @param {string} boardId the board ID + * @param {string} url the URL of the integration + * @return_type {_id: string} + */ + JsonRoutes.add('POST', '/api/boards/:boardId/integrations', function( + req, + res, + ) { + try { + const paramBoardId = req.params.boardId; + Authentication.checkBoardAccess(req.userId, paramBoardId); + + const id = Integrations.insert({ + userId: req.userId, + boardId: paramBoardId, + url: req.body.url, + }); + + JsonRoutes.sendResult(res, { + code: 200, + data: { + _id: id, + }, + }); + } catch (error) { + JsonRoutes.sendResult(res, { + code: 200, + data: error, + }); + } + }); + + /** + * @operation edit_integration + * @summary Edit integration data + * + * @param {string} boardId the board ID + * @param {string} intId the integration ID + * @param {string} [enabled] is the integration enabled? + * @param {string} [title] new name of the integration + * @param {string} [url] new URL of the integration + * @param {string} [token] new token of the integration + * @param {string} [activities] new list of activities of the integration + * @return_type {_id: string} + */ + JsonRoutes.add('PUT', '/api/boards/:boardId/integrations/:intId', function( + req, + res, + ) { + try { + const paramBoardId = req.params.boardId; + const paramIntId = req.params.intId; + Authentication.checkBoardAccess(req.userId, paramBoardId); + + if (req.body.hasOwnProperty('enabled')) { + const newEnabled = req.body.enabled; + Integrations.direct.update( + { _id: paramIntId, boardId: paramBoardId }, + { $set: { enabled: newEnabled } }, + ); + } + if (req.body.hasOwnProperty('title')) { + const newTitle = req.body.title; + Integrations.direct.update( + { _id: paramIntId, boardId: paramBoardId }, + { $set: { title: newTitle } }, + ); + } + if (req.body.hasOwnProperty('url')) { + const newUrl = req.body.url; + Integrations.direct.update( + { _id: paramIntId, boardId: paramBoardId }, + { $set: { url: newUrl } }, + ); + } + if (req.body.hasOwnProperty('token')) { + const newToken = req.body.token; + Integrations.direct.update( + { _id: paramIntId, boardId: paramBoardId }, + { $set: { token: newToken } }, + ); + } + if (req.body.hasOwnProperty('activities')) { + const newActivities = req.body.activities; + Integrations.direct.update( + { _id: paramIntId, boardId: paramBoardId }, + { $set: { activities: newActivities } }, + ); + } + + JsonRoutes.sendResult(res, { + code: 200, + data: { + _id: paramIntId, + }, + }); + } catch (error) { + JsonRoutes.sendResult(res, { + code: 200, + data: error, + }); + } + }); + + /** + * @operation delete_integration_activities + * @summary Delete subscribed activities + * + * @param {string} boardId the board ID + * @param {string} intId the integration ID + * @param {string} newActivities the activities to remove from the integration + * @return_type Integrations + */ + JsonRoutes.add( + 'DELETE', + '/api/boards/:boardId/integrations/:intId/activities', + function(req, res) { + try { + const paramBoardId = req.params.boardId; + const paramIntId = req.params.intId; + const newActivities = req.body.activities; + Authentication.checkBoardAccess(req.userId, paramBoardId); + + Integrations.direct.update( + { _id: paramIntId, boardId: paramBoardId }, + { $pullAll: { activities: newActivities } }, + ); + + JsonRoutes.sendResult(res, { + code: 200, + data: Integrations.findOne( + { _id: paramIntId, boardId: paramBoardId }, + { fields: { _id: 1, activities: 1 } }, + ), + }); + } catch (error) { + JsonRoutes.sendResult(res, { + code: 200, + data: error, + }); + } + }, + ); + + /** + * @operation new_integration_activities + * @summary Add subscribed activities + * + * @param {string} boardId the board ID + * @param {string} intId the integration ID + * @param {string} newActivities the activities to add to the integration + * @return_type Integrations + */ + JsonRoutes.add( + 'POST', + '/api/boards/:boardId/integrations/:intId/activities', + function(req, res) { + try { + const paramBoardId = req.params.boardId; + const paramIntId = req.params.intId; + const newActivities = req.body.activities; + Authentication.checkBoardAccess(req.userId, paramBoardId); + + Integrations.direct.update( + { _id: paramIntId, boardId: paramBoardId }, + { $addToSet: { activities: { $each: newActivities } } }, + ); + + JsonRoutes.sendResult(res, { + code: 200, + data: Integrations.findOne( + { _id: paramIntId, boardId: paramBoardId }, + { fields: { _id: 1, activities: 1 } }, + ), + }); + } catch (error) { + JsonRoutes.sendResult(res, { + code: 200, + data: error, + }); + } + }, + ); + + /** + * @operation delete_integration + * @summary Delete integration + * + * @param {string} boardId the board ID + * @param {string} intId the integration ID + * @return_type {_id: string} + */ + JsonRoutes.add('DELETE', '/api/boards/:boardId/integrations/:intId', function( + req, + res, + ) { + try { + const paramBoardId = req.params.boardId; + const paramIntId = req.params.intId; + Authentication.checkBoardAccess(req.userId, paramBoardId); + + Integrations.direct.remove({ _id: paramIntId, boardId: paramBoardId }); + JsonRoutes.sendResult(res, { + code: 200, + data: { + _id: paramIntId, + }, + }); + } catch (error) { + JsonRoutes.sendResult(res, { + code: 200, + data: error, + }); + } + }); +} + +export default Integrations; diff --git a/models/invitationCodes.js b/models/invitationCodes.js new file mode 100644 index 0000000..abb30f3 --- /dev/null +++ b/models/invitationCodes.js @@ -0,0 +1,75 @@ +InvitationCodes = new Mongo.Collection('invitation_codes'); + +InvitationCodes.attachSchema( + new SimpleSchema({ + code: { + type: String, + }, + email: { + type: String, + unique: true, + regEx: SimpleSchema.RegEx.Email, + }, + createdAt: { + type: Date, + denyUpdate: false, + optional: true, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert) { + return new Date(); + } else if (this.isUpsert) { + return { $setOnInsert: new Date() }; + } else { + this.unset(); + } + }, + }, + modifiedAt: { + type: Date, + denyUpdate: false, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert || this.isUpsert || this.isUpdate) { + return new Date(); + } else { + this.unset(); + } + }, + }, + // always be the admin if only one admin + authorId: { + type: String, + }, + boardsToBeInvited: { + type: [String], + optional: true, + }, + valid: { + type: Boolean, + defaultValue: true, + }, + }), +); + +InvitationCodes.helpers({ + author() { + return Users.findOne(this.authorId); + }, +}); + +// InvitationCodes.before.insert((userId, doc) => { +// doc.createdAt = new Date(); +// doc.authorId = userId; +// }); + +if (Meteor.isServer) { + Meteor.startup(() => { + InvitationCodes._collection._ensureIndex({ modifiedAt: -1 }); + }); + Boards.deny({ + fetch: ['members'], + }); +} + +export default InvitationCodes; diff --git a/models/lists.js b/models/lists.js new file mode 100644 index 0000000..b123ab4 --- /dev/null +++ b/models/lists.js @@ -0,0 +1,544 @@ +Lists = new Mongo.Collection('lists'); + +/** + * A list (column) in the Wekan board. + */ +Lists.attachSchema( + new SimpleSchema({ + title: { + /** + * the title of the list + */ + type: String, + }, + starred: { + /** + * if a list is stared + * then we put it on the top + */ + type: Boolean, + optional: true, + defaultValue: false, + }, + archived: { + /** + * is the list archived + */ + type: Boolean, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert && !this.isSet) { + return false; + } + }, + }, + boardId: { + /** + * the board associated to this list + */ + type: String, + }, + swimlaneId: { + /** + * the swimlane associated to this list. Used for templates + */ + type: String, + defaultValue: '', + }, + createdAt: { + /** + * creation date + */ + type: Date, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert) { + return new Date(); + } else if (this.isUpsert) { + return { $setOnInsert: new Date() }; + } else { + this.unset(); + } + }, + }, + sort: { + /** + * is the list sorted + */ + type: Number, + decimal: true, + // XXX We should probably provide a default + optional: true, + }, + updatedAt: { + /** + * last update of the list + */ + type: Date, + optional: true, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isUpdate || this.isUpsert || this.isInsert) { + return new Date(); + } else { + this.unset(); + } + }, + }, + modifiedAt: { + type: Date, + denyUpdate: false, + // eslint-disable-next-line consistent-return + autoValue() { + // this is redundant with updatedAt + /*if (this.isInsert || this.isUpsert || this.isUpdate) { + return new Date(); + } else { + this.unset(); + }*/ + if (!this.isSet) { + return new Date(); + } + }, + }, + wipLimit: { + /** + * WIP object, see below + */ + type: Object, + optional: true, + }, + 'wipLimit.value': { + /** + * value of the WIP + */ + type: Number, + decimal: false, + defaultValue: 1, + }, + 'wipLimit.enabled': { + /** + * is the WIP enabled + */ + type: Boolean, + defaultValue: false, + }, + 'wipLimit.soft': { + /** + * is the WIP a soft or hard requirement + */ + type: Boolean, + defaultValue: false, + }, + color: { + /** + * the color of the list + */ + type: String, + optional: true, + // silver is the default, so it is left out + allowedValues: [ + 'white', + 'green', + 'yellow', + 'orange', + 'red', + 'purple', + 'blue', + 'sky', + 'lime', + 'pink', + 'black', + 'peachpuff', + 'crimson', + 'plum', + 'darkgreen', + 'slateblue', + 'magenta', + 'gold', + 'navy', + 'gray', + 'saddlebrown', + 'paleturquoise', + 'mistyrose', + 'indigo', + ], + }, + type: { + /** + * The type of list + */ + type: String, + defaultValue: 'list', + }, + }), +); + +Lists.allow({ + insert(userId, doc) { + return allowIsBoardMemberCommentOnly(userId, Boards.findOne(doc.boardId)); + }, + update(userId, doc) { + return allowIsBoardMemberCommentOnly(userId, Boards.findOne(doc.boardId)); + }, + remove(userId, doc) { + return allowIsBoardMemberCommentOnly(userId, Boards.findOne(doc.boardId)); + }, + fetch: ['boardId'], +}); + +Lists.helpers({ + copy(boardId, swimlaneId) { + const oldId = this._id; + const oldSwimlaneId = this.swimlaneId || null; + this.boardId = boardId; + this.swimlaneId = swimlaneId; + + let _id = null; + existingListWithSameName = Lists.findOne({ + boardId, + title: this.title, + archived: false, + }); + if (existingListWithSameName) { + _id = existingListWithSameName._id; + } else { + delete this._id; + delete this.swimlaneId; + _id = Lists.insert(this); + } + + // Copy all cards in list + Cards.find({ + swimlaneId: oldSwimlaneId, + listId: oldId, + archived: false, + }).forEach(card => { + card.copy(boardId, swimlaneId, _id); + }); + }, + + cards(swimlaneId) { + const selector = { + listId: this._id, + archived: false, + }; + if (swimlaneId) selector.swimlaneId = swimlaneId; + return Cards.find(Filter.mongoSelector(selector), { sort: ['sort'] }); + }, + + cardsUnfiltered(swimlaneId) { + const selector = { + listId: this._id, + archived: false, + }; + if (swimlaneId) selector.swimlaneId = swimlaneId; + return Cards.find(selector, { sort: ['sort'] }); + }, + + allCards() { + return Cards.find({ listId: this._id }); + }, + + board() { + return Boards.findOne(this.boardId); + }, + + getWipLimit(option) { + const list = Lists.findOne({ _id: this._id }); + if (!list.wipLimit) { + // Necessary check to avoid exceptions for the case where the doc doesn't have the wipLimit field yet set + return 0; + } else if (!option) { + return list.wipLimit; + } else { + return list.wipLimit[option] ? list.wipLimit[option] : 0; // Necessary check to avoid exceptions for the case where the doc doesn't have the wipLimit field yet set + } + }, + + colorClass() { + if (this.color) return this.color; + return ''; + }, + + isTemplateList() { + return this.type === 'template-list'; + }, + + isStarred() { + return this.starred === true; + }, + + absoluteUrl() { + const card = Cards.findOne({ listId: this._id }); + return card && card.absoluteUrl(); + }, + remove() { + Lists.remove({ _id: this._id }); + }, +}); + +Lists.mutations({ + rename(title) { + return { $set: { title } }; + }, + star(enable = true) { + return { $set: { starred: !!enable } }; + }, + + archive() { + if (this.isTemplateList()) { + this.cards().forEach(card => { + return card.archive(); + }); + } + return { $set: { archived: true } }; + }, + + restore() { + if (this.isTemplateList()) { + this.allCards().forEach(card => { + return card.restore(); + }); + } + return { $set: { archived: false } }; + }, + + toggleSoftLimit(toggle) { + return { $set: { 'wipLimit.soft': toggle } }; + }, + + toggleWipLimit(toggle) { + return { $set: { 'wipLimit.enabled': toggle } }; + }, + + setWipLimit(limit) { + return { $set: { 'wipLimit.value': limit } }; + }, + + setColor(newColor) { + if (newColor === 'silver') { + newColor = null; + } + return { + $set: { + color: newColor, + }, + }; + }, +}); + +Meteor.methods({ + applyWipLimit(listId, limit) { + check(listId, String); + check(limit, Number); + if (limit === 0) { + limit = 1; + } + Lists.findOne({ _id: listId }).setWipLimit(limit); + }, + + enableWipLimit(listId) { + check(listId, String); + const list = Lists.findOne({ _id: listId }); + if (list.getWipLimit('value') === 0) { + list.setWipLimit(1); + } + list.toggleWipLimit(!list.getWipLimit('enabled')); + }, + + enableSoftLimit(listId) { + check(listId, String); + const list = Lists.findOne({ _id: listId }); + list.toggleSoftLimit(!list.getWipLimit('soft')); + }, +}); + +Lists.hookOptions.after.update = { fetchPrevious: false }; + +if (Meteor.isServer) { + Meteor.startup(() => { + Lists._collection._ensureIndex({ modifiedAt: -1 }); + Lists._collection._ensureIndex({ boardId: 1 }); + }); + + Lists.after.insert((userId, doc) => { + Activities.insert({ + userId, + type: 'list', + activityType: 'createList', + boardId: doc.boardId, + listId: doc._id, + // this preserves the name so that the activity can be useful after the + // list is deleted + title: doc.title, + }); + }); + + Lists.before.remove((userId, doc) => { + const cards = Cards.find({ listId: doc._id }); + if (cards) { + cards.forEach(card => { + Cards.remove(card._id); + }); + } + Activities.insert({ + userId, + type: 'list', + activityType: 'removeList', + boardId: doc.boardId, + listId: doc._id, + title: doc.title, + }); + }); + + Lists.after.update((userId, doc) => { + if (doc.archived) { + Activities.insert({ + userId, + type: 'list', + activityType: 'archivedList', + listId: doc._id, + boardId: doc.boardId, + // this preserves the name so that the activity can be useful after the + // list is deleted + title: doc.title, + }); + } + }); +} + +//LISTS REST API +if (Meteor.isServer) { + /** + * @operation get_all_lists + * @summary Get the list of Lists attached to a board + * + * @param {string} boardId the board ID + * @return_type [{_id: string, + * title: string}] + */ + JsonRoutes.add('GET', '/api/boards/:boardId/lists', function(req, res) { + try { + const paramBoardId = req.params.boardId; + Authentication.checkBoardAccess(req.userId, paramBoardId); + + JsonRoutes.sendResult(res, { + code: 200, + data: Lists.find({ boardId: paramBoardId, archived: false }).map( + function(doc) { + return { + _id: doc._id, + title: doc.title, + }; + }, + ), + }); + } catch (error) { + JsonRoutes.sendResult(res, { + code: 200, + data: error, + }); + } + }); + + /** + * @operation get_list + * @summary Get a List attached to a board + * + * @param {string} boardId the board ID + * @param {string} listId the List ID + * @return_type Lists + */ + JsonRoutes.add('GET', '/api/boards/:boardId/lists/:listId', function( + req, + res, + ) { + try { + const paramBoardId = req.params.boardId; + const paramListId = req.params.listId; + Authentication.checkBoardAccess(req.userId, paramBoardId); + JsonRoutes.sendResult(res, { + code: 200, + data: Lists.findOne({ + _id: paramListId, + boardId: paramBoardId, + archived: false, + }), + }); + } catch (error) { + JsonRoutes.sendResult(res, { + code: 200, + data: error, + }); + } + }); + + /** + * @operation new_list + * @summary Add a List to a board + * + * @param {string} boardId the board ID + * @param {string} title the title of the List + * @return_type {_id: string} + */ + JsonRoutes.add('POST', '/api/boards/:boardId/lists', function(req, res) { + try { + Authentication.checkUserId(req.userId); + const paramBoardId = req.params.boardId; + const board = Boards.findOne(paramBoardId); + const id = Lists.insert({ + title: req.body.title, + boardId: paramBoardId, + sort: board.lists().count(), + }); + JsonRoutes.sendResult(res, { + code: 200, + data: { + _id: id, + }, + }); + } catch (error) { + JsonRoutes.sendResult(res, { + code: 200, + data: error, + }); + } + }); + + /** + * @operation delete_list + * @summary Delete a List + * + * @description This **deletes** a list from a board. + * The list is not put in the recycle bin. + * + * @param {string} boardId the board ID + * @param {string} listId the ID of the list to remove + * @return_type {_id: string} + */ + JsonRoutes.add('DELETE', '/api/boards/:boardId/lists/:listId', function( + req, + res, + ) { + try { + Authentication.checkUserId(req.userId); + const paramBoardId = req.params.boardId; + const paramListId = req.params.listId; + Lists.remove({ _id: paramListId, boardId: paramBoardId }); + JsonRoutes.sendResult(res, { + code: 200, + data: { + _id: paramListId, + }, + }); + } catch (error) { + JsonRoutes.sendResult(res, { + code: 200, + data: error, + }); + } + }); +} + +export default Lists; diff --git a/models/org.js b/models/org.js new file mode 100644 index 0000000..a24d829 --- /dev/null +++ b/models/org.js @@ -0,0 +1,130 @@ +Org = new Mongo.Collection('org'); + +/** + * A Organization in wekan + */ +Org.attachSchema( + new SimpleSchema({ + _id: { + /** + * the organization id + */ + type: Number, + optional: true, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert && !this.isSet) { + return incrementCounter('counters', 'orgId', 1); + } + }, + }, + version: { + /** + * the version of the organization + */ + type: Number, + optional: true, + }, + name: { + /** + * name of the organization + */ + type: String, + optional: true, + max: 190, + }, + address1: { + /** + * address1 of the organization + */ + type: String, + optional: true, + max: 255, + }, + address2: { + /** + * address2 of the organization + */ + type: String, + optional: true, + max: 255, + }, + city: { + /** + * city of the organization + */ + type: String, + optional: true, + max: 255, + }, + state: { + /** + * state of the organization + */ + type: String, + optional: true, + max: 255, + }, + zipCode: { + /** + * zipCode of the organization + */ + type: String, + optional: true, + max: 50, + }, + country: { + /** + * country of the organization + */ + type: String, + optional: true, + max: 255, + }, + billingEmail: { + /** + * billingEmail of the organization + */ + type: String, + optional: true, + max: 255, + }, + createdAt: { + /** + * creation date of the organization + */ + type: Date, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert) { + return new Date(); + } else if (this.isUpsert) { + return { $setOnInsert: new Date() }; + } else { + this.unset(); + } + }, + }, + modifiedAt: { + type: Date, + denyUpdate: false, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert || this.isUpsert || this.isUpdate) { + return new Date(); + } else { + this.unset(); + } + }, + }, + }), +); + +if (Meteor.isServer) { + // Index for Organization name. + Meteor.startup(() => { + Org._collection._ensureIndex({ name: -1 }); + }); +} + +export default Org; diff --git a/models/orgUser.js b/models/orgUser.js new file mode 100644 index 0000000..f310fa9 --- /dev/null +++ b/models/orgUser.js @@ -0,0 +1,82 @@ +OrgUser = new Mongo.Collection('orgUser'); + +/** + * A Organization User in wekan + */ +OrgUser.attachSchema( + new SimpleSchema({ + _id: { + /** + * the organization user's id + */ + type: Number, + optional: true, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert && !this.isSet) { + return incrementCounter('counters', 'orgUserId', 1); + } + }, + }, + orgId: { + /** + * the organization id + */ + type: Number, + optional: true, + }, + userId: { + /** + * the user id + */ + type: Number, + optional: true, + }, + role: { + /** + * the role of user + */ + type: String, + optional: true, + max: 20, + }, + createdAt: { + /** + * creation date of the organization user + */ + type: Date, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert) { + return new Date(); + } else if (this.isUpsert) { + return { $setOnInsert: new Date() }; + } else { + this.unset(); + } + }, + }, + modifiedAt: { + type: Date, + denyUpdate: false, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert || this.isUpsert || this.isUpdate) { + return new Date(); + } else { + this.unset(); + } + }, + }, + }), +); + +if (Meteor.isServer) { + // Index for Organization User. + Meteor.startup(() => { + OrgUser._collection._ensureIndex({ orgId: -1 }); + OrgUser._collection._ensureIndex({ orgId: -1, userId: -1 }); + }); +} + +export default OrgUser; diff --git a/models/rules.js b/models/rules.js new file mode 100644 index 0000000..2e6729c --- /dev/null +++ b/models/rules.js @@ -0,0 +1,85 @@ +import { Meteor } from 'meteor/meteor'; + +Rules = new Mongo.Collection('rules'); + +Rules.attachSchema( + new SimpleSchema({ + title: { + type: String, + optional: false, + }, + triggerId: { + type: String, + optional: false, + }, + actionId: { + type: String, + optional: false, + }, + boardId: { + type: String, + optional: false, + }, + createdAt: { + type: Date, + optional: true, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert) { + return new Date(); + } else if (this.isUpsert) { + return { $setOnInsert: new Date() }; + } else { + this.unset(); + } + }, + }, + modifiedAt: { + type: Date, + denyUpdate: false, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert || this.isUpsert || this.isUpdate) { + return new Date(); + } else { + this.unset(); + } + }, + }, + }), +); + +Rules.mutations({ + rename(description) { + return { $set: { description } }; + }, +}); + +Rules.helpers({ + getAction() { + return Actions.findOne({ _id: this.actionId }); + }, + getTrigger() { + return Triggers.findOne({ _id: this.triggerId }); + }, +}); + +Rules.allow({ + insert(userId, doc) { + return allowIsBoardAdmin(userId, Boards.findOne(doc.boardId)); + }, + update(userId, doc) { + return allowIsBoardAdmin(userId, Boards.findOne(doc.boardId)); + }, + remove(userId, doc) { + return allowIsBoardAdmin(userId, Boards.findOne(doc.boardId)); + }, +}); + +if (Meteor.isServer) { + Meteor.startup(() => { + Rules._collection._ensureIndex({ modifiedAt: -1 }); + }); +} + +export default Rules; diff --git a/models/settings.js b/models/settings.js new file mode 100644 index 0000000..90c231b --- /dev/null +++ b/models/settings.js @@ -0,0 +1,344 @@ +Settings = new Mongo.Collection('settings'); + +Settings.attachSchema( + new SimpleSchema({ + disableRegistration: { + type: Boolean, + }, + 'mailServer.username': { + type: String, + optional: true, + }, + 'mailServer.password': { + type: String, + optional: true, + }, + 'mailServer.host': { + type: String, + optional: true, + }, + 'mailServer.port': { + type: String, + optional: true, + }, + 'mailServer.enableTLS': { + type: Boolean, + optional: true, + }, + 'mailServer.from': { + type: String, + optional: true, + }, + productName: { + type: String, + optional: true, + }, + displayAuthenticationMethod: { + type: Boolean, + optional: true, + }, + defaultAuthenticationMethod: { + type: String, + optional: false, + }, + hideLogo: { + type: Boolean, + optional: true, + }, + createdAt: { + type: Date, + denyUpdate: true, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert) { + return new Date(); + } else if (this.isUpsert) { + return { $setOnInsert: new Date() }; + } else { + this.unset(); + } + }, + }, + modifiedAt: { + type: Date, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert || this.isUpsert || this.isUpdate) { + return new Date(); + } else { + this.unset(); + } + }, + }, + }), +); +Settings.helpers({ + mailUrl() { + if (!this.mailServer.host) { + return null; + } + const protocol = this.mailServer.enableTLS ? 'smtps://' : 'smtp://'; + if (!this.mailServer.username && !this.mailServer.password) { + return `${protocol}${this.mailServer.host}:${this.mailServer.port}/`; + } + return `${protocol}${this.mailServer.username}:${encodeURIComponent( + this.mailServer.password, + )}@${this.mailServer.host}:${this.mailServer.port}/`; + }, +}); +Settings.allow({ + update(userId) { + const user = Users.findOne(userId); + return user && user.isAdmin; + }, +}); + +if (Meteor.isServer) { + Meteor.startup(() => { + Settings._collection._ensureIndex({ modifiedAt: -1 }); + const setting = Settings.findOne({}); + if (!setting) { + const now = new Date(); + const domain = process.env.ROOT_URL.match( + /\/\/(?:www\.)?(.*)?(?:\/)?/, + )[1]; + const from = `Boards Support `; + const defaultSetting = { + disableRegistration: false, + mailServer: { + username: '', + password: '', + host: '', + port: '', + enableTLS: false, + from, + }, + createdAt: now, + modifiedAt: now, + displayAuthenticationMethod: true, + defaultAuthenticationMethod: 'password', + }; + Settings.insert(defaultSetting); + } + const newSetting = Settings.findOne(); + if (!process.env.MAIL_URL && newSetting.mailUrl()) + process.env.MAIL_URL = newSetting.mailUrl(); + Accounts.emailTemplates.from = process.env.MAIL_FROM + ? process.env.MAIL_FROM + : newSetting.mailServer.from; + }); + Settings.after.update((userId, doc, fieldNames) => { + // assign new values to mail-from & MAIL_URL in environment + if (_.contains(fieldNames, 'mailServer') && doc.mailServer.host) { + const protocol = doc.mailServer.enableTLS ? 'smtps://' : 'smtp://'; + if (!doc.mailServer.username && !doc.mailServer.password) { + process.env.MAIL_URL = `${protocol}${doc.mailServer.host}:${doc.mailServer.port}/`; + } else { + process.env.MAIL_URL = `${protocol}${ + doc.mailServer.username + }:${encodeURIComponent(doc.mailServer.password)}@${ + doc.mailServer.host + }:${doc.mailServer.port}/`; + } + Accounts.emailTemplates.from = doc.mailServer.from; + } + }); + + function getRandomNum(min, max) { + const range = max - min; + const rand = Math.random(); + return min + Math.round(rand * range); + } + + function getEnvVar(name) { + const value = process.env[name]; + if (value) { + return value; + } + throw new Meteor.Error([ + 'var-not-exist', + `The environment variable ${name} does not exist`, + ]); + } + + function sendInvitationEmail(_id) { + const icode = InvitationCodes.findOne(_id); + const author = Users.findOne(Meteor.userId()); + try { + const params = { + email: icode.email, + inviter: Users.findOne(icode.authorId).username, + user: icode.email.split('@')[0], + icode: icode.code, + url: FlowRouter.url('sign-up'), + }; + const lang = author.getLanguage(); + + Email.send({ + to: icode.email, + from: Accounts.emailTemplates.from, + subject: TAPi18n.__('email-invite-register-subject', params, lang), + text: TAPi18n.__('email-invite-register-text', params, lang), + }); + } catch (e) { + InvitationCodes.remove(_id); + throw new Meteor.Error('email-fail', e.message); + } + } + + function isLdapEnabled() { + return process.env.LDAP_ENABLE === 'true'; + } + + function isOauth2Enabled() { + return process.env.OAUTH2_ENABLED === 'true'; + } + + function isCasEnabled() { + return process.env.CAS_ENABLED === 'true'; + } + + function isApiEnabled() { + return process.env.WITH_API === 'true'; + } + + Meteor.methods({ + sendInvitation(emails, boards) { + check(emails, [String]); + check(boards, [String]); + + const user = Users.findOne(Meteor.userId()); + if (!user.isAdmin) { + throw new Meteor.Error('not-allowed'); + } + emails.forEach(email => { + if (email && SimpleSchema.RegEx.Email.test(email)) { + // Checks if the email is already link to an account. + const userExist = Users.findOne({ email }); + if (userExist) { + throw new Meteor.Error( + 'user-exist', + `The user with the email ${email} has already an account.`, + ); + } + // Checks if the email is already link to an invitation. + const invitation = InvitationCodes.findOne({ email }); + if (invitation) { + InvitationCodes.update(invitation, { + $set: { boardsToBeInvited: boards }, + }); + sendInvitationEmail(invitation._id); + } else { + const code = getRandomNum(100000, 999999); + InvitationCodes.insert( + { + code, + email, + boardsToBeInvited: boards, + createdAt: new Date(), + authorId: Meteor.userId(), + }, + function(err, _id) { + if (!err && _id) { + sendInvitationEmail(_id); + } else { + throw new Meteor.Error( + 'invitation-generated-fail', + err.message, + ); + } + }, + ); + } + } + }); + }, + + sendSMTPTestEmail() { + if (!Meteor.userId()) { + throw new Meteor.Error('invalid-user'); + } + const user = Meteor.user(); + if (!user.emails || !user.emails[0] || !user.emails[0].address) { + throw new Meteor.Error('email-invalid'); + } + this.unblock(); + const lang = user.getLanguage(); + try { + Email.send({ + to: user.emails[0].address, + from: Accounts.emailTemplates.from, + subject: TAPi18n.__('email-smtp-test-subject', { lng: lang }), + text: TAPi18n.__('email-smtp-test-text', { lng: lang }), + }); + } catch ({ message }) { + throw new Meteor.Error( + 'email-fail', + `${TAPi18n.__('email-fail-text', { lng: lang })}: ${message}`, + message, + ); + } + return { + message: 'email-sent', + email: user.emails[0].address, + }; + }, + + getCustomUI() { + const setting = Settings.findOne({}); + if (!setting.productName) { + return { + productName: '', + }; + } else { + return { + productName: `${setting.productName}`, + }; + } + }, + + getMatomoConf() { + return { + address: getEnvVar('MATOMO_ADDRESS'), + siteId: getEnvVar('MATOMO_SITE_ID'), + doNotTrack: process.env.MATOMO_DO_NOT_TRACK || false, + withUserName: process.env.MATOMO_WITH_USERNAME || false, + }; + }, + + _isLdapEnabled() { + return isLdapEnabled(); + }, + + _isOauth2Enabled() { + return isOauth2Enabled(); + }, + + _isCasEnabled() { + return isCasEnabled(); + }, + + _isApiEnabled() { + return isApiEnabled(); + }, + + // Gets all connection methods to use it in the Template + getAuthenticationsEnabled() { + return { + ldap: isLdapEnabled(), + oauth2: isOauth2Enabled(), + cas: isCasEnabled(), + }; + }, + + getDefaultAuthenticationMethod() { + return process.env.DEFAULT_AUTHENTICATION_METHOD; + }, + + isPasswordLoginDisabled() { + return process.env.PASSWORD_LOGIN_ENABLED === 'false'; + }, + }); +} + +export default Settings; diff --git a/models/swimlanes.js b/models/swimlanes.js new file mode 100644 index 0000000..aa7016f --- /dev/null +++ b/models/swimlanes.js @@ -0,0 +1,482 @@ +Swimlanes = new Mongo.Collection('swimlanes'); + +/** + * A swimlane is an line in the kaban board. + */ +Swimlanes.attachSchema( + new SimpleSchema({ + title: { + /** + * the title of the swimlane + */ + type: String, + }, + archived: { + /** + * is the swimlane archived? + */ + type: Boolean, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert && !this.isSet) { + return false; + } + }, + }, + boardId: { + /** + * the ID of the board the swimlane is attached to + */ + type: String, + }, + createdAt: { + /** + * creation date of the swimlane + */ + type: Date, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert) { + return new Date(); + } else if (this.isUpsert) { + return { $setOnInsert: new Date() }; + } else { + this.unset(); + } + }, + }, + sort: { + /** + * the sort value of the swimlane + */ + type: Number, + decimal: true, + // XXX We should probably provide a default + optional: true, + }, + color: { + /** + * the color of the swimlane + */ + type: String, + optional: true, + // silver is the default, so it is left out + allowedValues: [ + 'white', + 'green', + 'yellow', + 'orange', + 'red', + 'purple', + 'blue', + 'sky', + 'lime', + 'pink', + 'black', + 'peachpuff', + 'crimson', + 'plum', + 'darkgreen', + 'slateblue', + 'magenta', + 'gold', + 'navy', + 'gray', + 'saddlebrown', + 'paleturquoise', + 'mistyrose', + 'indigo', + ], + }, + updatedAt: { + /** + * when was the swimlane last edited + */ + type: Date, + optional: true, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isUpdate || this.isUpsert || this.isInsert) { + return new Date(); + } else { + this.unset(); + } + }, + }, + modifiedAt: { + type: Date, + denyUpdate: false, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert || this.isUpsert || this.isUpdate) { + return new Date(); + } else { + this.unset(); + } + }, + }, + type: { + /** + * The type of swimlane + */ + type: String, + defaultValue: 'swimlane', + }, + }), +); + +Swimlanes.allow({ + insert(userId, doc) { + return allowIsBoardMemberCommentOnly(userId, Boards.findOne(doc.boardId)); + }, + update(userId, doc) { + return allowIsBoardMemberCommentOnly(userId, Boards.findOne(doc.boardId)); + }, + remove(userId, doc) { + return allowIsBoardMemberCommentOnly(userId, Boards.findOne(doc.boardId)); + }, + fetch: ['boardId'], +}); + +Swimlanes.helpers({ + copy(boardId) { + const oldId = this._id; + const oldBoardId = this.boardId; + this.boardId = boardId; + delete this._id; + const _id = Swimlanes.insert(this); + + const query = { + swimlaneId: { $in: [oldId, ''] }, + archived: false, + }; + if (oldBoardId) { + query.boardId = oldBoardId; + } + + // Copy all lists in swimlane + Lists.find(query).forEach(list => { + list.type = 'list'; + list.swimlaneId = oldId; + list.boardId = boardId; + list.copy(boardId, _id); + }); + }, + + cards() { + return Cards.find( + Filter.mongoSelector({ + swimlaneId: this._id, + archived: false, + }), + { sort: ['sort'] }, + ); + }, + + lists() { + //currentUser = Meteor.user(); + //if (currentUser) { + // enabled = Meteor.user().hasSortBy(); + //} + //return enabled ? this.newestLists() : this.draggableLists(); + return this.draggableLists(); + }, + newestLists() { + // sorted lists from newest to the oldest, by its creation date or its cards' last modification date + return Lists.find( + { + boardId: this.boardId, + swimlaneId: { $in: [this._id, ''] }, + archived: false, + }, + { sort: { modifiedAt: -1 } }, + ); + }, + draggableLists() { + return Lists.find( + { + boardId: this.boardId, + swimlaneId: { $in: [this._id, ''] }, + archived: false, + }, + { sort: ['sort'] }, + ); + }, + + myLists() { + return Lists.find({ swimlaneId: this._id }); + }, + + allCards() { + return Cards.find({ swimlaneId: this._id }); + }, + + board() { + return Boards.findOne(this.boardId); + }, + + colorClass() { + if (this.color) return this.color; + return ''; + }, + + isTemplateSwimlane() { + return this.type === 'template-swimlane'; + }, + + isTemplateContainer() { + return this.type === 'template-container'; + }, + + isListTemplatesSwimlane() { + const user = Users.findOne(Meteor.userId()); + return (user.profile || {}).listTemplatesSwimlaneId === this._id; + }, + + isCardTemplatesSwimlane() { + const user = Users.findOne(Meteor.userId()); + return (user.profile || {}).cardTemplatesSwimlaneId === this._id; + }, + + isBoardTemplatesSwimlane() { + const user = Users.findOne(Meteor.userId()); + return (user.profile || {}).boardTemplatesSwimlaneId === this._id; + }, + + remove() { + Swimlanes.remove({ _id: this._id }); + }, +}); + +Swimlanes.mutations({ + rename(title) { + return { $set: { title } }; + }, + + archive() { + if (this.isTemplateSwimlane()) { + this.myLists().forEach(list => { + return list.archive(); + }); + } + return { $set: { archived: true } }; + }, + + restore() { + if (this.isTemplateSwimlane()) { + this.myLists().forEach(list => { + return list.restore(); + }); + } + return { $set: { archived: false } }; + }, + + setColor(newColor) { + if (newColor === 'silver') { + newColor = null; + } + return { + $set: { + color: newColor, + }, + }; + }, +}); + +Swimlanes.hookOptions.after.update = { fetchPrevious: false }; + +if (Meteor.isServer) { + Meteor.startup(() => { + Swimlanes._collection._ensureIndex({ modifiedAt: -1 }); + Swimlanes._collection._ensureIndex({ boardId: 1 }); + }); + + Swimlanes.after.insert((userId, doc) => { + Activities.insert({ + userId, + type: 'swimlane', + activityType: 'createSwimlane', + boardId: doc.boardId, + swimlaneId: doc._id, + }); + }); + + Swimlanes.before.remove(function(userId, doc) { + const lists = Lists.find( + { + boardId: doc.boardId, + swimlaneId: { $in: [doc._id, ''] }, + archived: false, + }, + { sort: ['sort'] }, + ); + + if (lists.count() < 2) { + lists.forEach(list => { + list.remove(); + }); + } else { + Cards.remove({ swimlaneId: doc._id }); + } + + Activities.insert({ + userId, + type: 'swimlane', + activityType: 'removeSwimlane', + boardId: doc.boardId, + swimlaneId: doc._id, + title: doc.title, + }); + }); + + Swimlanes.after.update((userId, doc) => { + if (doc.archived) { + Activities.insert({ + userId, + type: 'swimlane', + activityType: 'archivedSwimlane', + swimlaneId: doc._id, + boardId: doc.boardId, + }); + } + }); +} + +//SWIMLANE REST API +if (Meteor.isServer) { + /** + * @operation get_all_swimlanes + * + * @summary Get the list of swimlanes attached to a board + * + * @param {string} boardId the ID of the board + * @return_type [{_id: string, + * title: string}] + */ + JsonRoutes.add('GET', '/api/boards/:boardId/swimlanes', function(req, res) { + try { + const paramBoardId = req.params.boardId; + Authentication.checkBoardAccess(req.userId, paramBoardId); + + JsonRoutes.sendResult(res, { + code: 200, + data: Swimlanes.find({ boardId: paramBoardId, archived: false }).map( + function(doc) { + return { + _id: doc._id, + title: doc.title, + }; + }, + ), + }); + } catch (error) { + JsonRoutes.sendResult(res, { + code: 200, + data: error, + }); + } + }); + + /** + * @operation get_swimlane + * + * @summary Get a swimlane + * + * @param {string} boardId the ID of the board + * @param {string} swimlaneId the ID of the swimlane + * @return_type Swimlanes + */ + JsonRoutes.add('GET', '/api/boards/:boardId/swimlanes/:swimlaneId', function( + req, + res, + ) { + try { + const paramBoardId = req.params.boardId; + const paramSwimlaneId = req.params.swimlaneId; + Authentication.checkBoardAccess(req.userId, paramBoardId); + JsonRoutes.sendResult(res, { + code: 200, + data: Swimlanes.findOne({ + _id: paramSwimlaneId, + boardId: paramBoardId, + archived: false, + }), + }); + } catch (error) { + JsonRoutes.sendResult(res, { + code: 200, + data: error, + }); + } + }); + + /** + * @operation new_swimlane + * + * @summary Add a swimlane to a board + * + * @param {string} boardId the ID of the board + * @param {string} title the new title of the swimlane + * @return_type {_id: string} + */ + JsonRoutes.add('POST', '/api/boards/:boardId/swimlanes', function(req, res) { + try { + Authentication.checkUserId(req.userId); + const paramBoardId = req.params.boardId; + const board = Boards.findOne(paramBoardId); + const id = Swimlanes.insert({ + title: req.body.title, + boardId: paramBoardId, + sort: board.swimlanes().count(), + }); + JsonRoutes.sendResult(res, { + code: 200, + data: { + _id: id, + }, + }); + } catch (error) { + JsonRoutes.sendResult(res, { + code: 200, + data: error, + }); + } + }); + + /** + * @operation delete_swimlane + * + * @summary Delete a swimlane + * + * @description The swimlane will be deleted, not moved to the recycle bin + * + * @param {string} boardId the ID of the board + * @param {string} swimlaneId the ID of the swimlane + * @return_type {_id: string} + */ + JsonRoutes.add( + 'DELETE', + '/api/boards/:boardId/swimlanes/:swimlaneId', + function(req, res) { + try { + Authentication.checkUserId(req.userId); + const paramBoardId = req.params.boardId; + const paramSwimlaneId = req.params.swimlaneId; + Swimlanes.remove({ _id: paramSwimlaneId, boardId: paramBoardId }); + JsonRoutes.sendResult(res, { + code: 200, + data: { + _id: paramSwimlaneId, + }, + }); + } catch (error) { + JsonRoutes.sendResult(res, { + code: 200, + data: error, + }); + } + }, + ); +} + +export default Swimlanes; diff --git a/models/trelloCreator.js b/models/trelloCreator.js new file mode 100644 index 0000000..1c5bcd9 --- /dev/null +++ b/models/trelloCreator.js @@ -0,0 +1,691 @@ +const DateString = Match.Where(function(dateAsString) { + check(dateAsString, String); + return moment(dateAsString, moment.ISO_8601).isValid(); +}); + +export class TrelloCreator { + constructor(data) { + // we log current date, to use the same timestamp for all our actions. + // this helps to retrieve all elements performed by the same import. + this._nowDate = new Date(); + // The object creation dates, indexed by Trello id + // (so we only parse actions once!) + this.createdAt = { + board: null, + cards: {}, + lists: {}, + }; + // The object creator Trello Id, indexed by the object Trello id + // (so we only parse actions once!) + this.createdBy = { + cards: {}, // only cards have a field for that + }; + + // Map of labels Trello ID => Wekan ID + this.labels = {}; + // Default swimlane + this.swimlane = null; + // Map of lists Trello ID => Wekan ID + this.lists = {}; + // Map of cards Trello ID => Wekan ID + this.cards = {}; + // Map of attachments Wekan ID => Wekan ID + this.attachmentIds = {}; + // Map of checklists Wekan ID => Wekan ID + this.checklists = {}; + // The comments, indexed by Trello card id (to map when importing cards) + this.comments = {}; + // the members, indexed by Trello member id => Wekan user ID + this.members = data.membersMapping ? data.membersMapping : {}; + + // maps a trelloCardId to an array of trelloAttachments + this.attachments = {}; + } + + /** + * If dateString is provided, + * return the Date it represents. + * If not, will return the date when it was first called. + * This is useful for us, as we want all import operations to + * have the exact same date for easier later retrieval. + * + * @param {String} dateString a properly formatted Date + */ + _now(dateString) { + if (dateString) { + return new Date(dateString); + } + if (!this._nowDate) { + this._nowDate = new Date(); + } + return this._nowDate; + } + + /** + * if trelloUserId is provided and we have a mapping, + * return it. + * Otherwise return current logged user. + * @param trelloUserId + * @private + */ + _user(trelloUserId) { + if (trelloUserId && this.members[trelloUserId]) { + return this.members[trelloUserId]; + } + return Meteor.userId(); + } + + checkActions(trelloActions) { + check(trelloActions, [ + Match.ObjectIncluding({ + data: Object, + date: DateString, + type: String, + }), + ]); + // XXX we could perform more thorough checks based on action type + } + + checkBoard(trelloBoard) { + check( + trelloBoard, + Match.ObjectIncluding({ + closed: Boolean, + name: String, + prefs: Match.ObjectIncluding({ + // XXX refine control by validating 'background' against a list of + // allowed values (is it worth the maintenance?) + background: String, + permissionLevel: Match.Where(value => { + return ['org', 'private', 'public'].indexOf(value) >= 0; + }), + }), + }), + ); + } + + checkCards(trelloCards) { + check(trelloCards, [ + Match.ObjectIncluding({ + closed: Boolean, + dateLastActivity: DateString, + desc: String, + idLabels: [String], + idMembers: [String], + name: String, + pos: Number, + }), + ]); + } + + checkLabels(trelloLabels) { + check(trelloLabels, [ + Match.ObjectIncluding({ + // XXX refine control by validating 'color' against a list of allowed + // values (is it worth the maintenance?) + name: String, + }), + ]); + } + + checkLists(trelloLists) { + check(trelloLists, [ + Match.ObjectIncluding({ + closed: Boolean, + name: String, + }), + ]); + } + + checkChecklists(trelloChecklists) { + check(trelloChecklists, [ + Match.ObjectIncluding({ + idBoard: String, + idCard: String, + name: String, + checkItems: [ + Match.ObjectIncluding({ + state: String, + name: String, + }), + ], + }), + ]); + } + + // You must call parseActions before calling this one. + createBoardAndLabels(trelloBoard) { + const boardToCreate = { + archived: trelloBoard.closed, + color: this.getColor(trelloBoard.prefs.background), + // very old boards won't have a creation activity so no creation date + createdAt: this._now(this.createdAt.board), + labels: [], + members: [ + { + userId: Meteor.userId(), + isAdmin: true, + isActive: true, + isNoComments: false, + isCommentOnly: false, + swimlaneId: false, + }, + ], + permission: this.getPermission(trelloBoard.prefs.permissionLevel), + slug: getSlug(trelloBoard.name) || 'board', + stars: 0, + title: trelloBoard.name, + }; + // now add other members + if (trelloBoard.memberships) { + trelloBoard.memberships.forEach(trelloMembership => { + const trelloId = trelloMembership.idMember; + // do we have a mapping? + if (this.members[trelloId]) { + const wekanId = this.members[trelloId]; + // do we already have it in our list? + const wekanMember = boardToCreate.members.find( + wekanMember => wekanMember.userId === wekanId, + ); + if (wekanMember) { + // we're already mapped, but maybe with lower rights + if (!wekanMember.isAdmin) { + wekanMember.isAdmin = this.getAdmin(trelloMembership.memberType); + } + } else { + boardToCreate.members.push({ + userId: wekanId, + isAdmin: this.getAdmin(trelloMembership.memberType), + isActive: true, + isNoComments: false, + isCommentOnly: false, + swimlaneId: false, + }); + } + } + }); + } + trelloBoard.labels.forEach(label => { + const labelToCreate = { + _id: Random.id(6), + color: label.color ? label.color : 'black', + name: label.name, + }; + // We need to remember them by Trello ID, as this is the only ref we have + // when importing cards. + this.labels[label.id] = labelToCreate._id; + boardToCreate.labels.push(labelToCreate); + }); + const boardId = Boards.direct.insert(boardToCreate); + Boards.direct.update(boardId, { $set: { modifiedAt: this._now() } }); + // log activity + Activities.direct.insert({ + activityType: 'importBoard', + boardId, + createdAt: this._now(), + source: { + id: trelloBoard.id, + system: 'Trello', + url: trelloBoard.url, + }, + // We attribute the import to current user, + // not the author from the original object. + userId: this._user(), + }); + return boardId; + } + + /** + * Create the Wekan cards corresponding to the supplied Trello cards, + * as well as all linked data: activities, comments, and attachments + * @param trelloCards + * @param boardId + * @returns {Array} + */ + createCards(trelloCards, boardId) { + const result = []; + trelloCards.forEach(card => { + const cardToCreate = { + archived: card.closed, + boardId, + // very old boards won't have a creation activity so no creation date + createdAt: this._now(this.createdAt.cards[card.id]), + dateLastActivity: this._now(), + description: card.desc, + listId: this.lists[card.idList], + swimlaneId: this.swimlane, + sort: card.pos, + title: card.name, + // we attribute the card to its creator if available + userId: this._user(this.createdBy.cards[card.id]), + dueAt: card.due ? this._now(card.due) : null, + }; + // add labels + if (card.idLabels) { + cardToCreate.labelIds = card.idLabels.map(trelloId => { + return this.labels[trelloId]; + }); + } + // add members { + if (card.idMembers) { + const wekanMembers = []; + // we can't just map, as some members may not have been mapped + card.idMembers.forEach(trelloId => { + if (this.members[trelloId]) { + const wekanId = this.members[trelloId]; + // we may map multiple Trello members to the same wekan user + // in which case we risk adding the same user multiple times + if (!wekanMembers.find(wId => wId === wekanId)) { + wekanMembers.push(wekanId); + } + } + return true; + }); + if (wekanMembers.length > 0) { + cardToCreate.members = wekanMembers; + } + } + // add vote + if (card.idMembersVoted) { + // Trello only know's positive votes + const positiveVotes = []; + card.idMembersVoted.forEach(trelloId => { + if (this.members[trelloId]) { + const wekanId = this.members[trelloId]; + // we may map multiple Trello members to the same wekan user + // in which case we risk adding the same user multiple times + if (!positiveVotes.find(wId => wId === wekanId)) { + positiveVotes.push(wekanId); + } + } + return true; + }); + if (positiveVotes.length > 0) { + cardToCreate.vote = { + question: cardToCreate.title, + public: true, + positive: positiveVotes, + }; + } + } + + // insert card + const cardId = Cards.direct.insert(cardToCreate); + // keep track of Trello id => Wekan id + this.cards[card.id] = cardId; + // log activity + // Activities.direct.insert({ + // activityType: 'importCard', + // boardId, + // cardId, + // createdAt: this._now(), + // listId: cardToCreate.listId, + // source: { + // id: card.id, + // system: 'Trello', + // url: card.url, + // }, + // // we attribute the import to current user, + // // not the author of the original card + // userId: this._user(), + // }); + // add comments + const comments = this.comments[card.id]; + if (comments) { + comments.forEach(comment => { + const commentToCreate = { + boardId, + cardId, + createdAt: this._now(comment.date), + text: comment.data.text, + // we attribute the comment to the original author, default to current user + userId: this._user(comment.idMemberCreator), + }; + // dateLastActivity will be set from activity insert, no need to + // update it ourselves + const commentId = CardComments.direct.insert(commentToCreate); + // We need to keep adding comment activities this way with Trello + // because it doesn't provide a comment ID + Activities.direct.insert({ + activityType: 'addComment', + boardId: commentToCreate.boardId, + cardId: commentToCreate.cardId, + commentId, + createdAt: this._now(comment.date), + // we attribute the addComment (not the import) + // to the original author - it is needed by some UI elements. + userId: commentToCreate.userId, + }); + }); + } + const attachments = this.attachments[card.id]; + const trelloCoverId = card.idAttachmentCover; + if (attachments) { + attachments.forEach(att => { + const file = new FS.File(); + // Simulating file.attachData on the client generates multiple errors + // - HEAD returns null, which causes exception down the line + // - the template then tries to display the url to the attachment which causes other errors + // so we make it server only, and let UI catch up once it is done, forget about latency comp. + const self = this; + if (Meteor.isServer) { + file.attachData(att.url, function(error) { + file.boardId = boardId; + file.cardId = cardId; + file.userId = self._user(att.idMemberCreator); + // The field source will only be used to prevent adding + // attachments' related activities automatically + file.source = 'import'; + if (error) { + throw error; + } else { + const wekanAtt = Attachments.insert(file, () => { + // we do nothing + }); + self.attachmentIds[att.id] = wekanAtt._id; + // + if (trelloCoverId === att.id) { + Cards.direct.update(cardId, { + $set: { coverId: wekanAtt._id }, + }); + } + } + }); + } + // todo XXX set cover - if need be + }); + } + result.push(cardId); + }); + return result; + } + + // Create labels if they do not exist and load this.labels. + createLabels(trelloLabels, board) { + trelloLabels.forEach(label => { + const color = label.color; + const name = label.name; + const existingLabel = board.getLabel(name, color); + if (existingLabel) { + this.labels[label.id] = existingLabel._id; + } else { + const idLabelCreated = board.pushLabel(name, color); + this.labels[label.id] = idLabelCreated; + } + }); + } + + createLists(trelloLists, boardId) { + trelloLists.forEach(list => { + const listToCreate = { + archived: list.closed, + boardId, + // We are being defensing here by providing a default date (now) if the + // creation date wasn't found on the action log. This happen on old + // Trello boards (eg from 2013) that didn't log the 'createList' action + // we require. + createdAt: this._now(this.createdAt.lists[list.id]), + title: list.name, + sort: list.pos, + }; + const listId = Lists.direct.insert(listToCreate); + Lists.direct.update(listId, { $set: { updatedAt: this._now() } }); + this.lists[list.id] = listId; + // log activity + // Activities.direct.insert({ + // activityType: 'importList', + // boardId, + // createdAt: this._now(), + // listId, + // source: { + // id: list.id, + // system: 'Trello', + // }, + // // We attribute the import to current user, + // // not the creator of the original object + // userId: this._user(), + // }); + }); + } + + createSwimlanes(boardId) { + const swimlaneToCreate = { + archived: false, + boardId, + // We are being defensing here by providing a default date (now) if the + // creation date wasn't found on the action log. This happen on old + // Wekan boards (eg from 2013) that didn't log the 'createList' action + // we require. + createdAt: this._now(), + title: 'Default', + sort: 1, + }; + const swimlaneId = Swimlanes.direct.insert(swimlaneToCreate); + Swimlanes.direct.update(swimlaneId, { $set: { updatedAt: this._now() } }); + this.swimlane = swimlaneId; + } + + createChecklists(trelloChecklists) { + trelloChecklists.forEach(checklist => { + if (this.cards[checklist.idCard]) { + // Create the checklist + const checklistToCreate = { + cardId: this.cards[checklist.idCard], + title: checklist.name, + createdAt: this._now(), + sort: checklist.pos, + }; + const checklistId = Checklists.direct.insert(checklistToCreate); + // keep track of Trello id => Wekan id + this.checklists[checklist.id] = checklistId; + // Now add the items to the checklistItems + let counter = 0; + checklist.checkItems.forEach(item => { + counter++; + const checklistItemTocreate = { + _id: checklistId + counter, + title: item.name, + checklistId: this.checklists[checklist.id], + cardId: this.cards[checklist.idCard], + sort: item.pos, + isFinished: item.state === 'complete', + }; + ChecklistItems.direct.insert(checklistItemTocreate); + }); + } + }); + } + + getAdmin(trelloMemberType) { + return trelloMemberType === 'admin'; + } + + getColor(trelloColorCode) { + // trello color name => wekan color + const mapColors = { + blue: 'belize', + orange: 'pumpkin', + green: 'nephritis', + red: 'pomegranate', + purple: 'wisteria', + pink: 'moderatepink', + lime: 'limegreen', + sky: 'strongcyan', + grey: 'midnight', + }; + const wekanColor = mapColors[trelloColorCode]; + return wekanColor || Boards.simpleSchema()._schema.color.allowedValues[0]; + } + + getPermission(trelloPermissionCode) { + if (trelloPermissionCode === 'public') { + return 'public'; + } + // Wekan does NOT have organization level, so we default both 'private' and + // 'org' to private. + return 'private'; + } + + parseActions(trelloActions) { + trelloActions.forEach(action => { + if (action.type === 'addAttachmentToCard') { + // We have to be cautious, because the attachment could have been removed later. + // In that case Trello still reports its addition, but removes its 'url' field. + // So we test for that + const trelloAttachment = action.data.attachment; + // We need the idMemberCreator + trelloAttachment.idMemberCreator = action.idMemberCreator; + if (trelloAttachment.url) { + // we cannot actually create the Wekan attachment, because we don't yet + // have the cards to attach it to, so we store it in the instance variable. + const trelloCardId = action.data.card.id; + if (!this.attachments[trelloCardId]) { + this.attachments[trelloCardId] = []; + } + this.attachments[trelloCardId].push(trelloAttachment); + } + } else if (action.type === 'commentCard') { + const id = action.data.card.id; + if (this.comments[id]) { + this.comments[id].push(action); + } else { + this.comments[id] = [action]; + } + } else if (action.type === 'createBoard') { + this.createdAt.board = action.date; + } else if (action.type === 'createCard') { + const cardId = action.data.card.id; + this.createdAt.cards[cardId] = action.date; + this.createdBy.cards[cardId] = action.idMemberCreator; + } else if (action.type === 'createList') { + const listId = action.data.list.id; + this.createdAt.lists[listId] = action.date; + } + }); + } + + importActions(actions, boardId) { + actions.forEach(action => { + switch (action.type) { + // Board related actions + // TODO: addBoardMember, removeBoardMember + case 'createBoard': { + Activities.direct.insert({ + userId: this._user(action.idMemberCreator), + type: 'board', + activityTypeId: boardId, + activityType: 'createBoard', + boardId, + createdAt: this._now(action.date), + }); + break; + } + // List related activities + // TODO: removeList, archivedList + case 'createList': { + Activities.direct.insert({ + userId: this._user(action.idMemberCreator), + type: 'list', + activityType: 'createList', + listId: this.lists[action.data.list.id], + boardId, + createdAt: this._now(action.date), + }); + break; + } + // Card related activities + // TODO: archivedCard, restoredCard, joinMember, unjoinMember + case 'createCard': { + Activities.direct.insert({ + userId: this._user(action.idMemberCreator), + activityType: 'createCard', + listId: this.lists[action.data.list.id], + cardId: this.cards[action.data.card.id], + boardId, + createdAt: this._now(action.date), + }); + break; + } + case 'updateCard': { + if (action.data.old.idList) { + Activities.direct.insert({ + userId: this._user(action.idMemberCreator), + oldListId: this.lists[action.data.old.idList], + activityType: 'moveCard', + listId: this.lists[action.data.listAfter.id], + cardId: this.cards[action.data.card.id], + boardId, + createdAt: this._now(action.date), + }); + } + break; + } + // Comment related activities + // Trello doesn't export the comment id + // Attachment related activities + case 'addAttachmentToCard': { + Activities.direct.insert({ + userId: this._user(action.idMemberCreator), + type: 'card', + activityType: 'addAttachment', + attachmentId: this.attachmentIds[action.data.attachment.id], + cardId: this.cards[action.data.card.id], + boardId, + createdAt: this._now(action.date), + }); + break; + } + // Checklist related activities + case 'addChecklistToCard': { + Activities.direct.insert({ + userId: this._user(action.idMemberCreator), + activityType: 'addChecklist', + cardId: this.cards[action.data.card.id], + checklistId: this.checklists[action.data.checklist.id], + boardId, + createdAt: this._now(action.date), + }); + break; + } + } + // Trello doesn't have an add checklist item action + }); + } + + check(board) { + try { + // check(data, { + // membersMapping: Match.Optional(Object), + // }); + this.checkActions(board.actions); + this.checkBoard(board); + this.checkLabels(board.labels); + this.checkLists(board.lists); + this.checkCards(board.cards); + this.checkChecklists(board.checklists); + } catch (e) { + throw new Meteor.Error('error-json-schema'); + } + } + + create(board, currentBoardId) { + // TODO : Make isSandstorm variable global + const isSandstorm = + Meteor.settings && + Meteor.settings.public && + Meteor.settings.public.sandstorm; + if (isSandstorm && currentBoardId) { + const currentBoard = Boards.findOne(currentBoardId); + currentBoard.archive(); + } + this.parseActions(board.actions); + const boardId = this.createBoardAndLabels(board); + this.createLists(board.lists, boardId); + this.createSwimlanes(boardId); + this.createCards(board.cards, boardId); + this.createChecklists(board.checklists); + this.importActions(board.actions, boardId); + // XXX add members + return boardId; + } +} diff --git a/models/triggers.js b/models/triggers.js new file mode 100644 index 0000000..a95b123 --- /dev/null +++ b/models/triggers.js @@ -0,0 +1,77 @@ +import { Meteor } from 'meteor/meteor'; + +Triggers = new Mongo.Collection('triggers'); + +Triggers.mutations({ + rename(description) { + return { + $set: { + description, + }, + }; + }, +}); + +Triggers.before.insert((userId, doc) => { + doc.createdAt = new Date(); + doc.updatedAt = doc.createdAt; +}); + +Triggers.before.update((userId, doc, fieldNames, modifier) => { + modifier.$set = modifier.$set || {}; + modifier.$set.updatedAt = new Date(); +}); + +Triggers.allow({ + insert(userId, doc) { + return allowIsBoardAdmin(userId, Boards.findOne(doc.boardId)); + }, + update(userId, doc) { + return allowIsBoardAdmin(userId, Boards.findOne(doc.boardId)); + }, + remove(userId, doc) { + return allowIsBoardAdmin(userId, Boards.findOne(doc.boardId)); + }, +}); + +Triggers.helpers({ + description() { + return this.desc; + }, + + getRule() { + return Rules.findOne({ + triggerId: this._id, + }); + }, + + fromList() { + return Lists.findOne(this.fromId); + }, + + toList() { + return Lists.findOne(this.toId); + }, + + findList(title) { + return Lists.findOne({ + title, + }); + }, + + labels() { + const boardLabels = this.board().labels; + const cardLabels = _.filter(boardLabels, label => { + return _.contains(this.labelIds, label._id); + }); + return cardLabels; + }, +}); + +if (Meteor.isServer) { + Meteor.startup(() => { + Triggers._collection._ensureIndex({ modifiedAt: -1 }); + }); +} + +export default Triggers; diff --git a/models/unsavedEdits.js b/models/unsavedEdits.js new file mode 100644 index 0000000..8133159 --- /dev/null +++ b/models/unsavedEdits.js @@ -0,0 +1,70 @@ +// This collection shouldn't be manipulated directly by instead throw the +// `UnsavedEdits` API on the client. +UnsavedEditCollection = new Mongo.Collection('unsaved-edits'); + +UnsavedEditCollection.attachSchema( + new SimpleSchema({ + fieldName: { + type: String, + }, + docId: { + type: String, + }, + value: { + type: String, + }, + userId: { + type: String, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert && !this.isSet) { + return this.userId; + } + }, + }, + createdAt: { + type: Date, + optional: true, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert) { + return new Date(); + } else if (this.isUpsert) { + return { $setOnInsert: new Date() }; + } else { + this.unset(); + } + }, + }, + modifiedAt: { + type: Date, + denyUpdate: false, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert || this.isUpsert || this.isUpdate) { + return new Date(); + } else { + this.unset(); + } + }, + }, + }), +); + +if (Meteor.isServer) { + function isAuthor(userId, doc, fieldNames = []) { + return userId === doc.userId && fieldNames.indexOf('userId') === -1; + } + Meteor.startup(() => { + UnsavedEditCollection._collection._ensureIndex({ modifiedAt: -1 }); + UnsavedEditCollection._collection._ensureIndex({ userId: 1 }); + }); + UnsavedEditCollection.allow({ + insert: isAuthor, + update: isAuthor, + remove: isAuthor, + fetch: ['userId'], + }); +} + +export default UnsavedEditCollection; diff --git a/models/users.js b/models/users.js new file mode 100644 index 0000000..0ff9d01 --- /dev/null +++ b/models/users.js @@ -0,0 +1,1640 @@ +import { SyncedCron } from 'meteor/percolate:synced-cron'; + +// Sandstorm context is detected using the METEOR_SETTINGS environment variable +// in the package definition. +const isSandstorm = + Meteor.settings && Meteor.settings.public && Meteor.settings.public.sandstorm; +Users = Meteor.users; + +const allowedSortValues = [ + '-modifiedAt', + 'modifiedAt', + '-title', + 'title', + '-sort', + 'sort', +]; +const defaultSortBy = allowedSortValues[0]; + +/** + * A User in wekan + */ +Users.attachSchema( + new SimpleSchema({ + username: { + /** + * the username of the user + */ + type: String, + optional: true, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert && !this.isSet) { + const name = this.field('profile.fullname'); + if (name.isSet) { + return name.value.toLowerCase().replace(/\s/g, ''); + } + } + }, + }, + emails: { + /** + * the list of emails attached to a user + */ + type: [Object], + optional: true, + }, + 'emails.$.address': { + /** + * The email address + */ + type: String, + regEx: SimpleSchema.RegEx.Email, + }, + 'emails.$.verified': { + /** + * Has the email been verified + */ + type: Boolean, + }, + createdAt: { + /** + * creation date of the user + */ + type: Date, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert) { + return new Date(); + } else if (this.isUpsert) { + return { $setOnInsert: new Date() }; + } else { + this.unset(); + } + }, + }, + modifiedAt: { + type: Date, + denyUpdate: false, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert || this.isUpsert || this.isUpdate) { + return new Date(); + } else { + this.unset(); + } + }, + }, + profile: { + /** + * profile settings + */ + type: Object, + optional: true, + // eslint-disable-next-line consistent-return + autoValue() { + if (this.isInsert && !this.isSet) { + return { + boardView: 'board-view-swimlanes', + }; + } + }, + }, + 'profile.avatarUrl': { + /** + * URL of the avatar of the user + */ + type: String, + optional: true, + }, + 'profile.emailBuffer': { + /** + * list of email buffers of the user + */ + type: [String], + optional: true, + }, + 'profile.fullname': { + /** + * full name of the user + */ + type: String, + optional: true, + }, + 'profile.showDesktopDragHandles': { + /** + * does the user want to hide system messages? + */ + type: Boolean, + optional: true, + }, + 'profile.hideCheckedItems': { + /** + * does the user want to hide checked checklist items? + */ + type: Boolean, + optional: true, + }, + 'profile.hiddenSystemMessages': { + /** + * does the user want to hide system messages? + */ + type: Boolean, + optional: true, + }, + 'profile.hiddenMinicardLabelText': { + /** + * does the user want to hide minicard label texts? + */ + type: Boolean, + optional: true, + }, + 'profile.initials': { + /** + * initials of the user + */ + type: String, + optional: true, + }, + 'profile.invitedBoards': { + /** + * board IDs the user has been invited to + */ + type: [String], + optional: true, + }, + 'profile.language': { + /** + * language of the user + */ + type: String, + optional: true, + }, + 'profile.notifications': { + /** + * enabled notifications for the user + */ + type: [Object], + optional: true, + }, + 'profile.notifications.$.activity': { + /** + * The id of the activity this notification references + */ + type: String, + }, + 'profile.notifications.$.read': { + /** + * the date on which this notification was read + */ + type: Date, + optional: true, + }, + 'profile.showCardsCountAt': { + /** + * showCardCountAt field of the user + */ + type: Number, + optional: true, + }, + 'profile.startDayOfWeek': { + /** + * startDayOfWeek field of the user + */ + type: Number, + optional: true, + }, + 'profile.starredBoards': { + /** + * list of starred board IDs + */ + type: [String], + optional: true, + }, + 'profile.icode': { + /** + * icode + */ + type: String, + optional: true, + }, + 'profile.boardView': { + /** + * boardView field of the user + */ + type: String, + optional: true, + allowedValues: [ + 'board-view-swimlanes', + 'board-view-lists', + 'board-view-cal', + ], + }, + 'profile.listSortBy': { + /** + * default sort list for user + */ + type: String, + optional: true, + defaultValue: defaultSortBy, + allowedValues: allowedSortValues, + }, + 'profile.templatesBoardId': { + /** + * Reference to the templates board + */ + type: String, + defaultValue: '', + }, + 'profile.cardTemplatesSwimlaneId': { + /** + * Reference to the card templates swimlane Id + */ + type: String, + defaultValue: '', + }, + 'profile.listTemplatesSwimlaneId': { + /** + * Reference to the list templates swimlane Id + */ + type: String, + defaultValue: '', + }, + 'profile.boardTemplatesSwimlaneId': { + /** + * Reference to the board templates swimlane Id + */ + type: String, + defaultValue: '', + }, + services: { + /** + * services field of the user + */ + type: Object, + optional: true, + blackbox: true, + }, + heartbeat: { + /** + * last time the user has been seen + */ + type: Date, + optional: true, + }, + isAdmin: { + /** + * is the user an admin of the board? + */ + type: Boolean, + optional: true, + }, + createdThroughApi: { + /** + * was the user created through the API? + */ + type: Boolean, + optional: true, + }, + loginDisabled: { + /** + * loginDisabled field of the user + */ + type: Boolean, + optional: true, + }, + authenticationMethod: { + /** + * authentication method of the user + */ + type: String, + optional: false, + defaultValue: 'password', + }, + }), +); + +Users.allow({ + update(userId, doc) { + const user = Users.findOne({ _id: userId }); + if ((user && user.isAdmin) || (Meteor.user() && Meteor.user().isAdmin)) + return true; + if (!user) { + return false; + } + return doc._id === userId; + }, + remove(userId, doc) { + const adminsNumber = Users.find({ isAdmin: true }).count(); + const { isAdmin } = Users.findOne( + { _id: userId }, + { fields: { isAdmin: 1 } }, + ); + + // Prevents remove of the only one administrator + if (adminsNumber === 1 && isAdmin && userId === doc._id) { + return false; + } + + // If it's the user or an admin + return userId === doc._id || isAdmin; + }, + fetch: [], +}); + +// Search a user in the complete server database by its name or username. This +// is used for instance to add a new user to a board. +const searchInFields = ['username', 'profile.fullname']; +Users.initEasySearch(searchInFields, { + use: 'mongo-db', + returnFields: [...searchInFields, 'profile.avatarUrl'], +}); + +if (Meteor.isClient) { + Users.helpers({ + isBoardMember() { + const board = Boards.findOne(Session.get('currentBoard')); + return board && board.hasMember(this._id); + }, + + isNotNoComments() { + const board = Boards.findOne(Session.get('currentBoard')); + return ( + board && board.hasMember(this._id) && !board.hasNoComments(this._id) + ); + }, + + isNoComments() { + const board = Boards.findOne(Session.get('currentBoard')); + return board && board.hasNoComments(this._id); + }, + + isNotCommentOnly() { + const board = Boards.findOne(Session.get('currentBoard')); + return ( + board && board.hasMember(this._id) && !board.hasCommentOnly(this._id) + ); + }, + + isCommentOnly() { + const board = Boards.findOne(Session.get('currentBoard')); + return board && board.hasCommentOnly(this._id); + }, + + isNotWorker() { + const board = Boards.findOne(Session.get('currentBoard')); + return board && board.hasMember(this._id) && !board.hasWorker(this._id); + }, + + isWorker() { + const board = Boards.findOne(Session.get('currentBoard')); + return board && board.hasWorker(this._id); + }, + + isBoardAdmin(boardId = Session.get('currentBoard')) { + const board = Boards.findOne(boardId); + return board && board.hasAdmin(this._id); + }, + }); +} + +Users.helpers({ + boards() { + return Boards.find( + { 'members.userId': this._id }, + { sort: { sort: 1 /* boards default sorting */ } }, + ); + }, + + starredBoards() { + const { starredBoards = [] } = this.profile || {}; + return Boards.find( + { archived: false, _id: { $in: starredBoards } }, + { + sort: { sort: 1 /* boards default sorting */ }, + }, + ); + }, + + hasStarred(boardId) { + const { starredBoards = [] } = this.profile || {}; + return _.contains(starredBoards, boardId); + }, + + invitedBoards() { + const { invitedBoards = [] } = this.profile || {}; + return Boards.find( + { archived: false, _id: { $in: invitedBoards } }, + { + sort: { sort: 1 /* boards default sorting */ }, + }, + ); + }, + + isInvitedTo(boardId) { + const { invitedBoards = [] } = this.profile || {}; + return _.contains(invitedBoards, boardId); + }, + + _getListSortBy() { + const profile = this.profile || {}; + const sortBy = profile.listSortBy || defaultSortBy; + const keyPattern = /^(-{0,1})(.*$)/; + const ret = []; + if (keyPattern.exec(sortBy)) { + ret[0] = RegExp.$2; + ret[1] = RegExp.$1 ? -1 : 1; + } + return ret; + }, + hasSortBy() { + // if use doesn't have dragHandle, then we can let user to choose sort list by different order + return !this.hasShowDesktopDragHandles(); + }, + getListSortBy() { + return this._getListSortBy()[0]; + }, + getListSortTypes() { + return allowedSortValues; + }, + getListSortByDirection() { + return this._getListSortBy()[1]; + }, + + hasTag(tag) { + const { tags = [] } = this.profile || {}; + return _.contains(tags, tag); + }, + + hasNotification(activityId) { + const { notifications = [] } = this.profile || {}; + return _.contains(notifications, activityId); + }, + + notifications() { + const { notifications = [] } = this.profile || {}; + for (const index in notifications) { + if (!notifications.hasOwnProperty(index)) continue; + const notification = notifications[index]; + // this preserves their db sort order for editing + notification.dbIndex = index; + notification.activity = Activities.findOne(notification.activity); + } + // this sorts them newest to oldest to match Trello's behavior + notifications.reverse(); + return notifications; + }, + + hasShowDesktopDragHandles() { + const profile = this.profile || {}; + return profile.showDesktopDragHandles || false; + }, + + hasHideCheckedItems() { + const profile = this.profile || {}; + return profile.hideCheckedItems || false; + }, + + hasHiddenSystemMessages() { + const profile = this.profile || {}; + return profile.hiddenSystemMessages || false; + }, + + hasHiddenMinicardLabelText() { + const profile = this.profile || {}; + return profile.hiddenMinicardLabelText || false; + }, + + getEmailBuffer() { + const { emailBuffer = [] } = this.profile || {}; + return emailBuffer; + }, + + getInitials() { + const profile = this.profile || {}; + if (profile.initials) return profile.initials; + else if (profile.fullname) { + return profile.fullname + .split(/\s+/) + .reduce((memo, word) => { + return memo + word[0]; + }, '') + .toUpperCase(); + } else { + return this.username[0].toUpperCase(); + } + }, + + getLimitToShowCardsCount() { + const profile = this.profile || {}; + return profile.showCardsCountAt; + }, + + getName() { + const profile = this.profile || {}; + return profile.fullname || this.username; + }, + + getLanguage() { + const profile = this.profile || {}; + return profile.language || 'en'; + }, + + getStartDayOfWeek() { + const profile = this.profile || {}; + if (typeof profile.startDayOfWeek === 'undefined') { + // default is 'Monday' (1) + return 1; + } + return profile.startDayOfWeek; + }, + + getTemplatesBoardId() { + return (this.profile || {}).templatesBoardId; + }, + + getTemplatesBoardSlug() { + return (Boards.findOne((this.profile || {}).templatesBoardId) || {}).slug; + }, + + remove() { + User.remove({ _id: this._id }); + }, +}); + +Users.mutations({ + toggleBoardStar(boardId) { + const queryKind = this.hasStarred(boardId) ? '$pull' : '$addToSet'; + return { + [queryKind]: { + 'profile.starredBoards': boardId, + }, + }; + }, + + addInvite(boardId) { + return { + $addToSet: { + 'profile.invitedBoards': boardId, + }, + }; + }, + + removeInvite(boardId) { + return { + $pull: { + 'profile.invitedBoards': boardId, + }, + }; + }, + + addTag(tag) { + return { + $addToSet: { + 'profile.tags': tag, + }, + }; + }, + + removeTag(tag) { + return { + $pull: { + 'profile.tags': tag, + }, + }; + }, + + toggleTag(tag) { + if (this.hasTag(tag)) this.removeTag(tag); + else this.addTag(tag); + }, + + setListSortBy(value) { + return { + $set: { + 'profile.listSortBy': value, + }, + }; + }, + toggleDesktopHandles(value = false) { + return { + $set: { + 'profile.showDesktopDragHandles': !value, + }, + }; + }, + + toggleHideCheckedItems() { + const value = this.hasHideCheckedItems(); + return { + $set: { + 'profile.hideCheckedItems': !value, + }, + }; + }, + + toggleSystem(value = false) { + return { + $set: { + 'profile.hiddenSystemMessages': !value, + }, + }; + }, + + toggleLabelText(value = false) { + return { + $set: { + 'profile.hiddenMinicardLabelText': !value, + }, + }; + }, + + addNotification(activityId) { + return { + $addToSet: { + 'profile.notifications': { activity: activityId }, + }, + }; + }, + + removeNotification(activityId) { + return { + $pull: { + 'profile.notifications': { activity: activityId }, + }, + }; + }, + + addEmailBuffer(text) { + return { + $addToSet: { + 'profile.emailBuffer': text, + }, + }; + }, + + clearEmailBuffer() { + return { + $set: { + 'profile.emailBuffer': [], + }, + }; + }, + + setAvatarUrl(avatarUrl) { + return { $set: { 'profile.avatarUrl': avatarUrl } }; + }, + + setShowCardsCountAt(limit) { + return { $set: { 'profile.showCardsCountAt': limit } }; + }, + + setStartDayOfWeek(startDay) { + return { $set: { 'profile.startDayOfWeek': startDay } }; + }, + + setBoardView(view) { + return { + $set: { + 'profile.boardView': view, + }, + }; + }, +}); + +Meteor.methods({ + setListSortBy(value) { + check(value, String); + Meteor.user().setListSortBy(value); + }, + toggleDesktopDragHandles() { + const user = Meteor.user(); + user.toggleDesktopHandles(user.hasShowDesktopDragHandles()); + }, + toggleHideCheckedItems() { + const user = Meteor.user(); + user.toggleHideCheckedItems(); + }, + toggleSystemMessages() { + const user = Meteor.user(); + user.toggleSystem(user.hasHiddenSystemMessages()); + }, + toggleMinicardLabelText() { + const user = Meteor.user(); + user.toggleLabelText(user.hasHiddenMinicardLabelText()); + }, + changeLimitToShowCardsCount(limit) { + check(limit, Number); + Meteor.user().setShowCardsCountAt(limit); + }, + changeStartDayOfWeek(startDay) { + check(startDay, Number); + Meteor.user().setStartDayOfWeek(startDay); + }, +}); + +if (Meteor.isServer) { + Meteor.methods({ + setCreateUser(fullname, username, password, isAdmin, isActive, email) { + if (Meteor.user() && Meteor.user().isAdmin) { + check(fullname, String); + check(username, String); + check(password, String); + check(isAdmin, String); + check(isActive, String); + check(email, String); + + const nUsersWithUsername = Users.find({ username }).count(); + const nUsersWithEmail = Users.find({ email }).count(); + if (nUsersWithUsername > 0) { + throw new Meteor.Error('username-already-taken'); + } else if (nUsersWithEmail > 0) { + throw new Meteor.Error('email-already-taken'); + } else { + Accounts.createUser({ + fullname, + username, + password, + isAdmin, + isActive, + email: email.toLowerCase(), + from: 'admin', + }); + } + } + }, + setUsername(username, userId) { + if (Meteor.user() && Meteor.user().isAdmin) { + check(username, String); + check(userId, String); + const nUsersWithUsername = Users.find({ username }).count(); + if (nUsersWithUsername > 0) { + throw new Meteor.Error('username-already-taken'); + } else { + Users.update(userId, { $set: { username } }); + } + } + }, + setEmail(email, userId) { + if (Meteor.user() && Meteor.user().isAdmin) { + if (Array.isArray(email)) { + email = email.shift(); + } + check(email, String); + const existingUser = Users.findOne( + { 'emails.address': email }, + { fields: { _id: 1 } }, + ); + if (existingUser) { + throw new Meteor.Error('email-already-taken'); + } else { + Users.update(userId, { + $set: { + emails: [ + { + address: email, + verified: false, + }, + ], + }, + }); + } + } + }, + setUsernameAndEmail(username, email, userId) { + if (Meteor.user() && Meteor.user().isAdmin) { + check(username, String); + if (Array.isArray(email)) { + email = email.shift(); + } + check(email, String); + check(userId, String); + Meteor.call('setUsername', username, userId); + Meteor.call('setEmail', email, userId); + } + }, + setPassword(newPassword, userId) { + if (Meteor.user() && Meteor.user().isAdmin) { + check(userId, String); + check(newPassword, String); + if (Meteor.user().isAdmin) { + Accounts.setPassword(userId, newPassword); + } + } + }, + // we accept userId, username, email + inviteUserToBoard(username, boardId) { + check(username, String); + check(boardId, String); + + const inviter = Meteor.user(); + const board = Boards.findOne(boardId); + const allowInvite = + inviter && + board && + board.members && + _.contains(_.pluck(board.members, 'userId'), inviter._id) && + _.where(board.members, { userId: inviter._id })[0].isActive; + // GitHub issue 2060 + //_.where(board.members, { userId: inviter._id })[0].isAdmin; + if (!allowInvite) throw new Meteor.Error('error-board-notAMember'); + + this.unblock(); + + const posAt = username.indexOf('@'); + let user = null; + if (posAt >= 0) { + user = Users.findOne({ emails: { $elemMatch: { address: username } } }); + } else { + user = Users.findOne(username) || Users.findOne({ username }); + } + if (user) { + if (user._id === inviter._id) + throw new Meteor.Error('error-user-notAllowSelf'); + } else { + if (posAt <= 0) throw new Meteor.Error('error-user-doesNotExist'); + if (Settings.findOne({ disableRegistration: true })) { + throw new Meteor.Error('error-user-notCreated'); + } + // Set in lowercase email before creating account + const email = username.toLowerCase(); + username = email.substring(0, posAt); + const newUserId = Accounts.createUser({ username, email }); + if (!newUserId) throw new Meteor.Error('error-user-notCreated'); + // assume new user speak same language with inviter + if (inviter.profile && inviter.profile.language) { + Users.update(newUserId, { + $set: { + 'profile.language': inviter.profile.language, + }, + }); + } + Accounts.sendEnrollmentEmail(newUserId); + user = Users.findOne(newUserId); + } + + board.addMember(user._id); + user.addInvite(boardId); + + //Check if there is a subtasks board + if (board.subtasksDefaultBoardId) { + const subBoard = Boards.findOne(board.subtasksDefaultBoardId); + //If there is, also add user to that board + if (subBoard) { + subBoard.addMember(user._id); + user.addInvite(subBoard._id); + } + } + + try { + const params = { + user: user.username, + inviter: inviter.username, + board: board.title, + url: board.absoluteUrl(), + }; + const lang = user.getLanguage(); + Email.send({ + to: user.emails[0].address.toLowerCase(), + from: Accounts.emailTemplates.from, + subject: TAPi18n.__('email-invite-subject', params, lang), + text: TAPi18n.__('email-invite-text', params, lang), + }); + } catch (e) { + throw new Meteor.Error('email-fail', e.message); + } + return { username: user.username, email: user.emails[0].address }; + }, + }); + Accounts.onCreateUser((options, user) => { + const userCount = Users.find().count(); + if (userCount === 0) { + user.isAdmin = true; + return user; + } + + if (user.services.oidc) { + let email = user.services.oidc.email; + if (Array.isArray(email)) { + email = email.shift(); + } + email = email.toLowerCase(); + user.username = user.services.oidc.username; + user.emails = [{ address: email, verified: true }]; + const initials = user.services.oidc.fullname + .match(/\b[a-zA-Z]/g) + .join('') + .toUpperCase(); + user.profile = { + initials, + fullname: user.services.oidc.fullname, + boardView: 'board-view-swimlanes', + }; + user.authenticationMethod = 'oauth2'; + + // see if any existing user has this email address or username, otherwise create new + const existingUser = Meteor.users.findOne({ + $or: [{ 'emails.address': email }, { username: user.username }], + }); + if (!existingUser) return user; + + // copy across new service info + const service = _.keys(user.services)[0]; + existingUser.services[service] = user.services[service]; + existingUser.emails = user.emails; + existingUser.username = user.username; + existingUser.profile = user.profile; + existingUser.authenticationMethod = user.authenticationMethod; + + Meteor.users.remove({ _id: user._id }); + Meteor.users.remove({ _id: existingUser._id }); // is going to be created again + return existingUser; + } + + if (options.from === 'admin') { + user.createdThroughApi = true; + return user; + } + + const disableRegistration = Settings.findOne().disableRegistration; + // If this is the first Authentication by the ldap and self registration disabled + if (disableRegistration && options && options.ldap) { + user.authenticationMethod = 'ldap'; + return user; + } + + // If self registration enabled + if (!disableRegistration) { + return user; + } + + if (!options || !options.profile) { + throw new Meteor.Error( + 'error-invitation-code-blank', + 'The invitation code is required', + ); + } + const invitationCode = InvitationCodes.findOne({ + code: options.profile.invitationcode, + email: options.email, + valid: true, + }); + if (!invitationCode) { + throw new Meteor.Error( + 'error-invitation-code-not-exist', + // eslint-disable-next-line quotes + "The invitation code doesn't exist", + ); + } else { + user.profile = { icode: options.profile.invitationcode }; + user.profile.boardView = 'board-view-swimlanes'; + + // Deletes the invitation code after the user was created successfully. + setTimeout( + Meteor.bindEnvironment(() => { + InvitationCodes.remove({ _id: invitationCode._id }); + }), + 200, + ); + return user; + } + }); +} + +const addCronJob = _.debounce( + Meteor.bindEnvironment(function notificationCleanupDebounced() { + // passed in the removeAge has to be a number standing for the number of days after a notification is read before we remove it + const envRemoveAge = + process.env.NOTIFICATION_TRAY_AFTER_READ_DAYS_BEFORE_REMOVE; + // default notifications will be removed 2 days after they are read + const defaultRemoveAge = 2; + const removeAge = parseInt(envRemoveAge, 10) || defaultRemoveAge; + + SyncedCron.add({ + name: 'notification_cleanup', + schedule: parser => parser.text('every 1 days'), + job: () => { + for (const user of Users.find()) { + if (!user.profile || !user.profile.notifications) continue; + for (const notification of user.profile.notifications) { + if (notification.read) { + const removeDate = new Date(notification.read); + removeDate.setDate(removeDate.getDate() + removeAge); + if (removeDate <= new Date()) { + user.removeNotification(notification.activity); + } + } + } + } + }, + }); + + SyncedCron.start(); + }), + 500, +); + +if (Meteor.isServer) { + // Let mongoDB ensure username unicity + Meteor.startup(() => { + allowedSortValues.forEach(value => { + Lists._collection._ensureIndex(value); + }); + Users._collection._ensureIndex({ modifiedAt: -1 }); + Users._collection._ensureIndex( + { + username: 1, + }, + { unique: true }, + ); + Meteor.defer(() => { + addCronJob(); + }); + }); + + // OLD WAY THIS CODE DID WORK: When user is last admin of board, + // if admin is removed, board is removed. + // NOW THIS IS COMMENTED OUT, because other board users still need to be able + // to use that board, and not have board deleted. + // Someone can be later changed to be admin of board, by making change to database. + // TODO: Add UI for changing someone as board admin. + //Users.before.remove((userId, doc) => { + // Boards + // .find({members: {$elemMatch: {userId: doc._id, isAdmin: true}}}) + // .forEach((board) => { + // // If only one admin for the board + // if (board.members.filter((e) => e.isAdmin).length === 1) { + // Boards.remove(board._id); + // } + // }); + //}); + + // Each board document contains the de-normalized number of users that have + // starred it. If the user star or unstar a board, we need to update this + // counter. + // We need to run this code on the server only, otherwise the incrementation + // will be done twice. + Users.after.update(function(userId, user, fieldNames) { + // The `starredBoards` list is hosted on the `profile` field. If this + // field hasn't been modificated we don't need to run this hook. + if (!_.contains(fieldNames, 'profile')) return; + + // To calculate a diff of board starred ids, we get both the previous + // and the newly board ids list + function getStarredBoardsIds(doc) { + return doc.profile && doc.profile.starredBoards; + } + + const oldIds = getStarredBoardsIds(this.previous); + const newIds = getStarredBoardsIds(user); + + // The _.difference(a, b) method returns the values from a that are not in + // b. We use it to find deleted and newly inserted ids by using it in one + // direction and then in the other. + function incrementBoards(boardsIds, inc) { + boardsIds.forEach(boardId => { + Boards.update(boardId, { $inc: { stars: inc } }); + }); + } + + incrementBoards(_.difference(oldIds, newIds), -1); + incrementBoards(_.difference(newIds, oldIds), +1); + }); + + // Override getUserId so that we can TODO get the current userId + const fakeUserId = new Meteor.EnvironmentVariable(); + const getUserId = CollectionHooks.getUserId; + CollectionHooks.getUserId = () => { + return fakeUserId.get() || getUserId(); + }; + if (!isSandstorm) { + Users.after.insert((userId, doc) => { + const fakeUser = { + extendAutoValueContext: { + userId: doc._id, + }, + }; + + fakeUserId.withValue(doc._id, () => { + /* + // Insert the Welcome Board + Boards.insert({ + title: TAPi18n.__('welcome-board'), + permission: 'private', + }, fakeUser, (err, boardId) => { + + Swimlanes.insert({ + title: TAPi18n.__('welcome-swimlane'), + boardId, + sort: 1, + }, fakeUser); + + ['welcome-list1', 'welcome-list2'].forEach((title, titleIndex) => { + Lists.insert({title: TAPi18n.__(title), boardId, sort: titleIndex}, fakeUser); + }); + }); + */ + + const Future = require('fibers/future'); + const future1 = new Future(); + const future2 = new Future(); + const future3 = new Future(); + Boards.insert( + { + title: TAPi18n.__('templates'), + permission: 'private', + type: 'template-container', + }, + fakeUser, + (err, boardId) => { + // Insert the reference to our templates board + Users.update(fakeUserId.get(), { + $set: { 'profile.templatesBoardId': boardId }, + }); + + // Insert the card templates swimlane + Swimlanes.insert( + { + title: TAPi18n.__('card-templates-swimlane'), + boardId, + sort: 1, + type: 'template-container', + }, + fakeUser, + (err, swimlaneId) => { + // Insert the reference to out card templates swimlane + Users.update(fakeUserId.get(), { + $set: { 'profile.cardTemplatesSwimlaneId': swimlaneId }, + }); + future1.return(); + }, + ); + + // Insert the list templates swimlane + Swimlanes.insert( + { + title: TAPi18n.__('list-templates-swimlane'), + boardId, + sort: 2, + type: 'template-container', + }, + fakeUser, + (err, swimlaneId) => { + // Insert the reference to out list templates swimlane + Users.update(fakeUserId.get(), { + $set: { 'profile.listTemplatesSwimlaneId': swimlaneId }, + }); + future2.return(); + }, + ); + + // Insert the board templates swimlane + Swimlanes.insert( + { + title: TAPi18n.__('board-templates-swimlane'), + boardId, + sort: 3, + type: 'template-container', + }, + fakeUser, + (err, swimlaneId) => { + // Insert the reference to out board templates swimlane + Users.update(fakeUserId.get(), { + $set: { 'profile.boardTemplatesSwimlaneId': swimlaneId }, + }); + future3.return(); + }, + ); + }, + ); + // HACK + future1.wait(); + future2.wait(); + future3.wait(); + }); + }); + } + + Users.after.insert((userId, doc) => { + // HACK + doc = Users.findOne({ _id: doc._id }); + if (doc.createdThroughApi) { + // The admin user should be able to create a user despite disabling registration because + // it is two different things (registration and creation). + // So, when a new user is created via the api (only admin user can do that) one must avoid + // the disableRegistration check. + // Issue : https://github.com/wekan/wekan/issues/1232 + // PR : https://github.com/wekan/wekan/pull/1251 + Users.update(doc._id, { $set: { createdThroughApi: '' } }); + return; + } + + //invite user to corresponding boards + const disableRegistration = Settings.findOne().disableRegistration; + // If ldap, bypass the inviation code if the self registration isn't allowed. + // TODO : pay attention if ldap field in the user model change to another content ex : ldap field to connection_type + if (doc.authenticationMethod !== 'ldap' && disableRegistration) { + const invitationCode = InvitationCodes.findOne({ + code: doc.profile.icode, + valid: true, + }); + if (!invitationCode) { + throw new Meteor.Error('error-invitation-code-not-exist'); + } else { + invitationCode.boardsToBeInvited.forEach(boardId => { + const board = Boards.findOne(boardId); + board.addMember(doc._id); + }); + if (!doc.profile) { + doc.profile = {}; + } + doc.profile.invitedBoards = invitationCode.boardsToBeInvited; + Users.update(doc._id, { $set: { profile: doc.profile } }); + InvitationCodes.update(invitationCode._id, { $set: { valid: false } }); + } + } + }); +} + +// USERS REST API +if (Meteor.isServer) { + // Middleware which checks that API is enabled. + JsonRoutes.Middleware.use(function(req, res, next) { + const api = req.url.startsWith('/api'); + if ((api === true && process.env.WITH_API === 'true') || api === false) { + return next(); + } else { + res.writeHead(301, { Location: '/' }); + return res.end(); + } + }); + + /** + * @operation get_current_user + * + * @summary returns the current user + * @return_type Users + */ + JsonRoutes.add('GET', '/api/user', function(req, res) { + try { + Authentication.checkLoggedIn(req.userId); + const data = Meteor.users.findOne({ _id: req.userId }); + delete data.services; + + // get all boards where the user is member of + let boards = Boards.find( + { + type: 'board', + 'members.userId': req.userId, + }, + { + fields: { _id: 1, members: 1 }, + }, + ); + boards = boards.map(b => { + const u = b.members.find(m => m.userId === req.userId); + delete u.userId; + u.boardId = b._id; + return u; + }); + + data.boards = boards; + JsonRoutes.sendResult(res, { + code: 200, + data, + }); + } catch (error) { + JsonRoutes.sendResult(res, { + code: 200, + data: error, + }); + } + }); + + /** + * @operation get_all_users + * + * @summary return all the users + * + * @description Only the admin user (the first user) can call the REST API. + * @return_type [{ _id: string, + * username: string}] + */ + JsonRoutes.add('GET', '/api/users', function(req, res) { + try { + Authentication.checkUserId(req.userId); + JsonRoutes.sendResult(res, { + code: 200, + data: Meteor.users.find({}).map(function(doc) { + return { _id: doc._id, username: doc.username }; + }), + }); + } catch (error) { + JsonRoutes.sendResult(res, { + code: 200, + data: error, + }); + } + }); + + /** + * @operation get_user + * + * @summary get a given user + * + * @description Only the admin user (the first user) can call the REST API. + * + * @param {string} userId the user ID + * @return_type Users + */ + JsonRoutes.add('GET', '/api/users/:userId', function(req, res) { + try { + Authentication.checkUserId(req.userId); + const id = req.params.userId; + + // get all boards where the user is member of + let boards = Boards.find( + { + type: 'board', + 'members.userId': id, + }, + { + fields: { _id: 1, members: 1 }, + }, + ); + boards = boards.map(b => { + const u = b.members.find(m => m.userId === id); + delete u.userId; + u.boardId = b._id; + return u; + }); + + const user = Meteor.users.findOne({ _id: id }); + user.boards = boards; + JsonRoutes.sendResult(res, { + code: 200, + data: user, + }); + } catch (error) { + JsonRoutes.sendResult(res, { + code: 200, + data: error, + }); + } + }); + + /** + * @operation edit_user + * + * @summary edit a given user + * + * @description Only the admin user (the first user) can call the REST API. + * + * Possible values for *action*: + * - `takeOwnership`: The admin takes the ownership of ALL boards of the user (archived and not archived) where the user is admin on. + * - `disableLogin`: Disable a user (the user is not allowed to login and his login tokens are purged) + * - `enableLogin`: Enable a user + * + * @param {string} userId the user ID + * @param {string} action the action + * @return_type {_id: string, + * title: string} + */ + JsonRoutes.add('PUT', '/api/users/:userId', function(req, res) { + try { + Authentication.checkUserId(req.userId); + const id = req.params.userId; + const action = req.body.action; + let data = Meteor.users.findOne({ _id: id }); + if (data !== undefined) { + if (action === 'takeOwnership') { + data = Boards.find( + { + 'members.userId': id, + 'members.isAdmin': true, + }, + { sort: { sort: 1 /* boards default sorting */ } }, + ).map(function(board) { + if (board.hasMember(req.userId)) { + board.removeMember(req.userId); + } + board.changeOwnership(id, req.userId); + return { + _id: board._id, + title: board.title, + }; + }); + } else { + if (action === 'disableLogin' && id !== req.userId) { + Users.update( + { _id: id }, + { + $set: { + loginDisabled: true, + 'services.resume.loginTokens': '', + }, + }, + ); + } else if (action === 'enableLogin') { + Users.update({ _id: id }, { $set: { loginDisabled: '' } }); + } + data = Meteor.users.findOne({ _id: id }); + } + } + JsonRoutes.sendResult(res, { + code: 200, + data, + }); + } catch (error) { + JsonRoutes.sendResult(res, { + code: 200, + data: error, + }); + } + }); + + /** + * @operation add_board_member + * @tag Boards + * + * @summary Add New Board Member with Role + * + * @description Only the admin user (the first user) can call the REST API. + * + * **Note**: see [Boards.set_board_member_permission](#set_board_member_permission) + * to later change the permissions. + * + * @param {string} boardId the board ID + * @param {string} userId the user ID + * @param {boolean} isAdmin is the user an admin of the board + * @param {boolean} isNoComments disable comments + * @param {boolean} isCommentOnly only enable comments + * @return_type {_id: string, + * title: string} + */ + JsonRoutes.add('POST', '/api/boards/:boardId/members/:userId/add', function( + req, + res, + ) { + try { + Authentication.checkUserId(req.userId); + const userId = req.params.userId; + const boardId = req.params.boardId; + const action = req.body.action; + const { isAdmin, isNoComments, isCommentOnly } = req.body; + let data = Meteor.users.findOne({ _id: userId }); + if (data !== undefined) { + if (action === 'add') { + data = Boards.find({ + _id: boardId, + }).map(function(board) { + if (!board.hasMember(userId)) { + board.addMember(userId); + function isTrue(data) { + return data.toLowerCase() === 'true'; + } + board.setMemberPermission( + userId, + isTrue(isAdmin), + isTrue(isNoComments), + isTrue(isCommentOnly), + userId, + ); + } + return { + _id: board._id, + title: board.title, + }; + }); + } + } + JsonRoutes.sendResult(res, { + code: 200, + data: query, + }); + } catch (error) { + JsonRoutes.sendResult(res, { + code: 200, + data: error, + }); + } + }); + + /** + * @operation remove_board_member + * @tag Boards + * + * @summary Remove Member from Board + * + * @description Only the admin user (the first user) can call the REST API. + * + * @param {string} boardId the board ID + * @param {string} userId the user ID + * @param {string} action the action (needs to be `remove`) + * @return_type {_id: string, + * title: string} + */ + JsonRoutes.add( + 'POST', + '/api/boards/:boardId/members/:userId/remove', + function(req, res) { + try { + Authentication.checkUserId(req.userId); + const userId = req.params.userId; + const boardId = req.params.boardId; + const action = req.body.action; + let data = Meteor.users.findOne({ _id: userId }); + if (data !== undefined) { + if (action === 'remove') { + data = Boards.find({ + _id: boardId, + }).map(function(board) { + if (board.hasMember(userId)) { + board.removeMember(userId); + } + return { + _id: board._id, + title: board.title, + }; + }); + } + } + JsonRoutes.sendResult(res, { + code: 200, + data: query, + }); + } catch (error) { + JsonRoutes.sendResult(res, { + code: 200, + data: error, + }); + } + }, + ); + + /** + * @operation new_user + * + * @summary Create a new user + * + * @description Only the admin user (the first user) can call the REST API. + * + * @param {string} username the new username + * @param {string} email the email of the new user + * @param {string} password the password of the new user + * @return_type {_id: string} + */ + JsonRoutes.add('POST', '/api/users/', function(req, res) { + try { + Authentication.checkUserId(req.userId); + const id = Accounts.createUser({ + username: req.body.username, + email: req.body.email, + password: req.body.password, + from: 'admin', + }); + JsonRoutes.sendResult(res, { + code: 200, + data: { + _id: id, + }, + }); + } catch (error) { + JsonRoutes.sendResult(res, { + code: 200, + data: error, + }); + } + }); + + /** + * @operation delete_user + * + * @summary Delete a user + * + * @description Only the admin user (the first user) can call the REST API. + * + * @param {string} userId the ID of the user to delete + * @return_type {_id: string} + */ + JsonRoutes.add('DELETE', '/api/users/:userId', function(req, res) { + try { + Authentication.checkUserId(req.userId); + const id = req.params.userId; + Meteor.users.remove({ _id: id }); + JsonRoutes.sendResult(res, { + code: 200, + data: { + _id: id, + }, + }); + } catch (error) { + JsonRoutes.sendResult(res, { + code: 200, + data: error, + }); + } + }); +} + +export default Users; diff --git a/models/watchable.js b/models/watchable.js new file mode 100644 index 0000000..7dbacb5 --- /dev/null +++ b/models/watchable.js @@ -0,0 +1,89 @@ +// simple version, only toggle watch / unwatch +const simpleWatchable = collection => { + collection.attachSchema({ + watchers: { + type: [String], + optional: true, + }, + }); + + collection.helpers({ + getWatchLevels() { + return [true, false]; + }, + + watcherIndex(userId) { + return this.watchers.indexOf(userId); + }, + + findWatcher(userId) { + return _.contains(this.watchers, userId); + }, + }); + + collection.mutations({ + setWatcher(userId, level) { + // if level undefined or null or false, then remove + if (!level) return { $pull: { watchers: userId } }; + return { $addToSet: { watchers: userId } }; + }, + }); +}; + +// more complex version of same interface, with 3 watching levels +const complexWatchOptions = ['watching', 'tracking', 'muted']; +const complexWatchDefault = 'muted'; + +const complexWatchable = collection => { + collection.attachSchema({ + 'watchers.$.userId': { + type: String, + }, + 'watchers.$.level': { + type: String, + allowedValues: complexWatchOptions, + }, + }); + + collection.helpers({ + getWatchOptions() { + return complexWatchOptions; + }, + + getWatchDefault() { + return complexWatchDefault; + }, + + watcherIndex(userId) { + return _.pluck(this.watchers, 'userId').indexOf(userId); + }, + + findWatcher(userId) { + return _.findWhere(this.watchers, { userId }); + }, + + getWatchLevel(userId) { + const watcher = this.findWatcher(userId); + return watcher ? watcher.level : complexWatchDefault; + }, + }); + + collection.mutations({ + setWatcher(userId, level) { + // if level undefined or null or false, then remove + if (level === complexWatchDefault) level = null; + if (!level) return { $pull: { watchers: { userId } } }; + const index = this.watcherIndex(userId); + if (index < 0) return { $push: { watchers: { userId, level } } }; + return { + $set: { + [`watchers.${index}.level`]: level, + }, + }; + }, + }); +}; + +complexWatchable(Boards); +simpleWatchable(Lists); +simpleWatchable(Cards); diff --git a/models/wekanCreator.js b/models/wekanCreator.js new file mode 100644 index 0000000..9914f81 --- /dev/null +++ b/models/wekanCreator.js @@ -0,0 +1,853 @@ +const DateString = Match.Where(function(dateAsString) { + check(dateAsString, String); + return moment(dateAsString, moment.ISO_8601).isValid(); +}); + +export class WekanCreator { + constructor(data) { + // we log current date, to use the same timestamp for all our actions. + // this helps to retrieve all elements performed by the same import. + this._nowDate = new Date(); + // The object creation dates, indexed by Wekan id + // (so we only parse actions once!) + this.createdAt = { + board: null, + cards: {}, + lists: {}, + swimlanes: {}, + }; + // The object creator Wekan Id, indexed by the object Wekan id + // (so we only parse actions once!) + this.createdBy = { + cards: {}, // only cards have a field for that + }; + + // Map of labels Wekan ID => Wekan ID + this.labels = {}; + // Map of swimlanes Wekan ID => Wekan ID + this.swimlanes = {}; + // Map of lists Wekan ID => Wekan ID + this.lists = {}; + // Map of cards Wekan ID => Wekan ID + this.cards = {}; + // Map of comments Wekan ID => Wekan ID + this.commentIds = {}; + // Map of attachments Wekan ID => Wekan ID + this.attachmentIds = {}; + // Map of checklists Wekan ID => Wekan ID + this.checklists = {}; + // Map of checklistItems Wekan ID => Wekan ID + this.checklistItems = {}; + // The comments, indexed by Wekan card id (to map when importing cards) + this.comments = {}; + // Map of rules Wekan ID => Wekan ID + this.rules = {}; + // the members, indexed by Wekan member id => Wekan user ID + this.members = data.membersMapping ? data.membersMapping : {}; + // Map of triggers Wekan ID => Wekan ID + this.triggers = {}; + // Map of actions Wekan ID => Wekan ID + this.actions = {}; + + // maps a wekanCardId to an array of wekanAttachments + this.attachments = {}; + } + + /** + * If dateString is provided, + * return the Date it represents. + * If not, will return the date when it was first called. + * This is useful for us, as we want all import operations to + * have the exact same date for easier later retrieval. + * + * @param {String} dateString a properly formatted Date + */ + _now(dateString) { + if (dateString) { + return new Date(dateString); + } + if (!this._nowDate) { + this._nowDate = new Date(); + } + return this._nowDate; + } + + /** + * if wekanUserId is provided and we have a mapping, + * return it. + * Otherwise return current logged user. + * @param wekanUserId + * @private + */ + _user(wekanUserId) { + if (wekanUserId && this.members[wekanUserId]) { + return this.members[wekanUserId]; + } + return Meteor.userId(); + } + + checkActivities(wekanActivities) { + check(wekanActivities, [ + Match.ObjectIncluding({ + activityType: String, + createdAt: DateString, + }), + ]); + // XXX we could perform more thorough checks based on action type + } + + checkBoard(wekanBoard) { + check( + wekanBoard, + Match.ObjectIncluding({ + archived: Boolean, + title: String, + // XXX refine control by validating 'color' against a list of + // allowed values (is it worth the maintenance?) + color: String, + permission: Match.Where(value => { + return ['private', 'public'].indexOf(value) >= 0; + }), + }), + ); + } + + checkCards(wekanCards) { + check(wekanCards, [ + Match.ObjectIncluding({ + archived: Boolean, + dateLastActivity: DateString, + labelIds: [String], + title: String, + sort: Number, + }), + ]); + } + + checkLabels(wekanLabels) { + check(wekanLabels, [ + Match.ObjectIncluding({ + // XXX refine control by validating 'color' against a list of allowed + // values (is it worth the maintenance?) + color: String, + }), + ]); + } + + checkLists(wekanLists) { + check(wekanLists, [ + Match.ObjectIncluding({ + archived: Boolean, + title: String, + }), + ]); + } + + checkSwimlanes(wekanSwimlanes) { + check(wekanSwimlanes, [ + Match.ObjectIncluding({ + archived: Boolean, + title: String, + }), + ]); + } + + checkChecklists(wekanChecklists) { + check(wekanChecklists, [ + Match.ObjectIncluding({ + cardId: String, + title: String, + }), + ]); + } + + checkChecklistItems(wekanChecklistItems) { + check(wekanChecklistItems, [ + Match.ObjectIncluding({ + cardId: String, + title: String, + }), + ]); + } + + checkRules(wekanRules) { + check(wekanRules, [ + Match.ObjectIncluding({ + triggerId: String, + actionId: String, + title: String, + }), + ]); + } + + checkTriggers(wekanTriggers) { + // XXX More check based on trigger type + check(wekanTriggers, [ + Match.ObjectIncluding({ + activityType: String, + desc: String, + }), + ]); + } + + getMembersToMap(data) { + // we will work on the list itself (an ordered array of objects) when a + // mapping is done, we add a 'wekan' field to the object representing the + // imported member + const membersToMap = data.members; + const users = data.users; + // auto-map based on username + membersToMap.forEach(importedMember => { + importedMember.id = importedMember.userId; + delete importedMember.userId; + const user = users.filter(user => { + return user._id === importedMember.id; + })[0]; + if (user.profile && user.profile.fullname) { + importedMember.fullName = user.profile.fullname; + } + importedMember.username = user.username; + const wekanUser = Users.findOne({ username: importedMember.username }); + if (wekanUser) { + importedMember.wekanId = wekanUser._id; + } + }); + return membersToMap; + } + + checkActions(wekanActions) { + // XXX More check based on action type + check(wekanActions, [ + Match.ObjectIncluding({ + actionType: String, + desc: String, + }), + ]); + } + + // You must call parseActions before calling this one. + createBoardAndLabels(boardToImport) { + const boardToCreate = { + archived: boardToImport.archived, + color: boardToImport.color, + // very old boards won't have a creation activity so no creation date + createdAt: this._now(boardToImport.createdAt), + labels: [], + members: [ + { + userId: Meteor.userId(), + wekanId: Meteor.userId(), + isActive: true, + isAdmin: true, + isNoComments: false, + isCommentOnly: false, + swimlaneId: false, + }, + ], + // Standalone Export has modifiedAt missing, adding modifiedAt to fix it + modifiedAt: this._now(boardToImport.modifiedAt), + permission: boardToImport.permission, + slug: getSlug(boardToImport.title) || 'board', + stars: 0, + title: boardToImport.title, + }; + // now add other members + if (boardToImport.members) { + boardToImport.members.forEach(wekanMember => { + // do we already have it in our list? + if ( + !boardToCreate.members.some( + member => member.wekanId === wekanMember.wekanId, + ) + ) + boardToCreate.members.push({ + ...wekanMember, + userId: wekanMember.wekanId, + }); + }); + } + boardToImport.labels.forEach(label => { + const labelToCreate = { + _id: Random.id(6), + color: label.color, + name: label.name, + }; + // We need to remember them by Wekan ID, as this is the only ref we have + // when importing cards. + this.labels[label._id] = labelToCreate._id; + boardToCreate.labels.push(labelToCreate); + }); + const boardId = Boards.direct.insert(boardToCreate); + Boards.direct.update(boardId, { + $set: { + modifiedAt: this._now(), + }, + }); + // log activity + Activities.direct.insert({ + activityType: 'importBoard', + boardId, + createdAt: this._now(), + source: { + id: boardToImport.id, + system: 'Wekan', + }, + // We attribute the import to current user, + // not the author from the original object. + userId: this._user(), + }); + return boardId; + } + + /** + * Create the Wekan cards corresponding to the supplied Wekan cards, + * as well as all linked data: activities, comments, and attachments + * @param wekanCards + * @param boardId + * @returns {Array} + */ + createCards(wekanCards, boardId) { + const result = []; + wekanCards.forEach(card => { + const cardToCreate = { + archived: card.archived, + boardId, + // very old boards won't have a creation activity so no creation date + createdAt: this._now(this.createdAt.cards[card._id]), + dateLastActivity: this._now(), + description: card.description, + listId: this.lists[card.listId], + swimlaneId: this.swimlanes[card.swimlaneId], + sort: card.sort, + title: card.title, + // we attribute the card to its creator if available + userId: this._user(this.createdBy.cards[card._id]), + isOvertime: card.isOvertime || false, + startAt: card.startAt ? this._now(card.startAt) : null, + dueAt: card.dueAt ? this._now(card.dueAt) : null, + spentTime: card.spentTime || null, + }; + // add labels + if (card.labelIds) { + cardToCreate.labelIds = card.labelIds.map(wekanId => { + return this.labels[wekanId]; + }); + } + // add members { + if (card.members) { + const wekanMembers = []; + // we can't just map, as some members may not have been mapped + card.members.forEach(sourceMemberId => { + if (this.members[sourceMemberId]) { + const wekanId = this.members[sourceMemberId]; + // we may map multiple Wekan members to the same wekan user + // in which case we risk adding the same user multiple times + if (!wekanMembers.find(wId => wId === wekanId)) { + wekanMembers.push(wekanId); + } + } + return true; + }); + if (wekanMembers.length > 0) { + cardToCreate.members = wekanMembers; + } + } + // set color + if (card.color) { + cardToCreate.color = card.color; + } + // insert card + const cardId = Cards.direct.insert(cardToCreate); + // keep track of Wekan id => Wekan id + this.cards[card._id] = cardId; + // // log activity + // Activities.direct.insert({ + // activityType: 'importCard', + // boardId, + // cardId, + // createdAt: this._now(), + // listId: cardToCreate.listId, + // source: { + // id: card._id, + // system: 'Wekan', + // }, + // // we attribute the import to current user, + // // not the author of the original card + // userId: this._user(), + // }); + // add comments + const comments = this.comments[card._id]; + if (comments) { + comments.forEach(comment => { + const commentToCreate = { + boardId, + cardId, + createdAt: this._now(comment.createdAt), + text: comment.text, + // we attribute the comment to the original author, default to current user + userId: this._user(comment.userId), + }; + // dateLastActivity will be set from activity insert, no need to + // update it ourselves + const commentId = CardComments.direct.insert(commentToCreate); + this.commentIds[comment._id] = commentId; + // Activities.direct.insert({ + // activityType: 'addComment', + // boardId: commentToCreate.boardId, + // cardId: commentToCreate.cardId, + // commentId, + // createdAt: this._now(commentToCreate.createdAt), + // // we attribute the addComment (not the import) + // // to the original author - it is needed by some UI elements. + // userId: commentToCreate.userId, + // }); + }); + } + const attachments = this.attachments[card._id]; + const wekanCoverId = card.coverId; + if (attachments) { + attachments.forEach(att => { + const file = new FS.File(); + // Simulating file.attachData on the client generates multiple errors + // - HEAD returns null, which causes exception down the line + // - the template then tries to display the url to the attachment which causes other errors + // so we make it server only, and let UI catch up once it is done, forget about latency comp. + const self = this; + if (Meteor.isServer) { + if (att.url) { + file.attachData(att.url, function(error) { + file.boardId = boardId; + file.cardId = cardId; + file.userId = self._user(att.userId); + // The field source will only be used to prevent adding + // attachments' related activities automatically + file.source = 'import'; + if (error) { + throw error; + } else { + const wekanAtt = Attachments.insert(file, () => { + // we do nothing + }); + self.attachmentIds[att._id] = wekanAtt._id; + // + if (wekanCoverId === att._id) { + Cards.direct.update(cardId, { + $set: { + coverId: wekanAtt._id, + }, + }); + } + } + }); + } else if (att.file) { + file.attachData( + Buffer.from(att.file, 'base64'), + { + type: att.type, + }, + error => { + file.name(att.name); + file.boardId = boardId; + file.cardId = cardId; + file.userId = self._user(att.userId); + // The field source will only be used to prevent adding + // attachments' related activities automatically + file.source = 'import'; + if (error) { + throw error; + } else { + const wekanAtt = Attachments.insert(file, () => { + // we do nothing + }); + this.attachmentIds[att._id] = wekanAtt._id; + // + if (wekanCoverId === att._id) { + Cards.direct.update(cardId, { + $set: { + coverId: wekanAtt._id, + }, + }); + } + } + }, + ); + } + } + // todo XXX set cover - if need be + }); + } + result.push(cardId); + }); + return result; + } + + // Create labels if they do not exist and load this.labels. + createLabels(wekanLabels, board) { + wekanLabels.forEach(label => { + const color = label.color; + const name = label.name; + const existingLabel = board.getLabel(name, color); + if (existingLabel) { + this.labels[label.id] = existingLabel._id; + } else { + const idLabelCreated = board.pushLabel(name, color); + this.labels[label.id] = idLabelCreated; + } + }); + } + + createLists(wekanLists, boardId) { + wekanLists.forEach((list, listIndex) => { + const listToCreate = { + archived: list.archived, + boardId, + // We are being defensing here by providing a default date (now) if the + // creation date wasn't found on the action log. This happen on old + // Wekan boards (eg from 2013) that didn't log the 'createList' action + // we require. + createdAt: this._now(this.createdAt.lists[list.id]), + title: list.title, + sort: list.sort ? list.sort : listIndex, + }; + const listId = Lists.direct.insert(listToCreate); + Lists.direct.update(listId, { + $set: { + updatedAt: this._now(), + }, + }); + this.lists[list._id] = listId; + // // log activity + // Activities.direct.insert({ + // activityType: 'importList', + // boardId, + // createdAt: this._now(), + // listId, + // source: { + // id: list._id, + // system: 'Wekan', + // }, + // // We attribute the import to current user, + // // not the creator of the original object + // userId: this._user(), + // }); + }); + } + + createSwimlanes(wekanSwimlanes, boardId) { + wekanSwimlanes.forEach((swimlane, swimlaneIndex) => { + const swimlaneToCreate = { + archived: swimlane.archived, + boardId, + // We are being defensing here by providing a default date (now) if the + // creation date wasn't found on the action log. This happen on old + // Wekan boards (eg from 2013) that didn't log the 'createList' action + // we require. + createdAt: this._now(this.createdAt.swimlanes[swimlane._id]), + title: swimlane.title, + sort: swimlane.sort ? swimlane.sort : swimlaneIndex, + }; + // set color + if (swimlane.color) { + swimlaneToCreate.color = swimlane.color; + } + const swimlaneId = Swimlanes.direct.insert(swimlaneToCreate); + Swimlanes.direct.update(swimlaneId, { + $set: { + updatedAt: this._now(), + }, + }); + this.swimlanes[swimlane._id] = swimlaneId; + }); + } + + createChecklists(wekanChecklists) { + const result = []; + wekanChecklists.forEach((checklist, checklistIndex) => { + // Create the checklist + const checklistToCreate = { + cardId: this.cards[checklist.cardId], + title: checklist.title, + createdAt: checklist.createdAt, + sort: checklist.sort ? checklist.sort : checklistIndex, + }; + const checklistId = Checklists.direct.insert(checklistToCreate); + this.checklists[checklist._id] = checklistId; + result.push(checklistId); + }); + return result; + } + + createTriggers(wekanTriggers, boardId) { + wekanTriggers.forEach(trigger => { + if (trigger.hasOwnProperty('labelId')) { + trigger.labelId = this.labels[trigger.labelId]; + } + if (trigger.hasOwnProperty('memberId')) { + trigger.memberId = this.members[trigger.memberId]; + } + trigger.boardId = boardId; + const oldId = trigger._id; + delete trigger._id; + this.triggers[oldId] = Triggers.direct.insert(trigger); + }); + } + + createActions(wekanActions, boardId) { + wekanActions.forEach(action => { + if (action.hasOwnProperty('labelId')) { + action.labelId = this.labels[action.labelId]; + } + if (action.hasOwnProperty('memberId')) { + action.memberId = this.members[action.memberId]; + } + action.boardId = boardId; + const oldId = action._id; + delete action._id; + this.actions[oldId] = Actions.direct.insert(action); + }); + } + + createRules(wekanRules, boardId) { + wekanRules.forEach(rule => { + // Create the rule + rule.boardId = boardId; + rule.triggerId = this.triggers[rule.triggerId]; + rule.actionId = this.actions[rule.actionId]; + delete rule._id; + Rules.direct.insert(rule); + }); + } + + createChecklistItems(wekanChecklistItems) { + wekanChecklistItems.forEach((checklistitem, checklistitemIndex) => { + // Create the checklistItem + const checklistItemTocreate = { + title: checklistitem.title, + checklistId: this.checklists[checklistitem.checklistId], + cardId: this.cards[checklistitem.cardId], + sort: checklistitem.sort ? checklistitem.sort : checklistitemIndex, + isFinished: checklistitem.isFinished, + }; + const checklistItemId = ChecklistItems.direct.insert( + checklistItemTocreate, + ); + this.checklistItems[checklistitem._id] = checklistItemId; + }); + } + + parseActivities(wekanBoard) { + wekanBoard.activities.forEach(activity => { + switch (activity.activityType) { + case 'addAttachment': { + // We have to be cautious, because the attachment could have been removed later. + // In that case Wekan still reports its addition, but removes its 'url' field. + // So we test for that + const wekanAttachment = wekanBoard.attachments.filter(attachment => { + return attachment._id === activity.attachmentId; + })[0]; + + if (typeof wekanAttachment !== 'undefined' && wekanAttachment) { + if (wekanAttachment.url || wekanAttachment.file) { + // we cannot actually create the Wekan attachment, because we don't yet + // have the cards to attach it to, so we store it in the instance variable. + const wekanCardId = activity.cardId; + if (!this.attachments[wekanCardId]) { + this.attachments[wekanCardId] = []; + } + this.attachments[wekanCardId].push(wekanAttachment); + } + } + break; + } + case 'addComment': { + const wekanComment = wekanBoard.comments.filter(comment => { + return comment._id === activity.commentId; + })[0]; + const id = activity.cardId; + if (!this.comments[id]) { + this.comments[id] = []; + } + this.comments[id].push(wekanComment); + break; + } + case 'createBoard': { + this.createdAt.board = activity.createdAt; + break; + } + case 'createCard': { + const cardId = activity.cardId; + this.createdAt.cards[cardId] = activity.createdAt; + this.createdBy.cards[cardId] = activity.userId; + break; + } + case 'createList': { + const listId = activity.listId; + this.createdAt.lists[listId] = activity.createdAt; + break; + } + case 'createSwimlane': { + const swimlaneId = activity.swimlaneId; + this.createdAt.swimlanes[swimlaneId] = activity.createdAt; + break; + } + } + }); + } + + importActivities(activities, boardId) { + activities.forEach(activity => { + switch (activity.activityType) { + // Board related activities + // TODO: addBoardMember, removeBoardMember + case 'createBoard': { + Activities.direct.insert({ + userId: this._user(activity.userId), + type: 'board', + activityTypeId: boardId, + activityType: activity.activityType, + boardId, + createdAt: this._now(activity.createdAt), + }); + break; + } + // List related activities + // TODO: removeList, archivedList + case 'createList': { + Activities.direct.insert({ + userId: this._user(activity.userId), + type: 'list', + activityType: activity.activityType, + listId: this.lists[activity.listId], + boardId, + createdAt: this._now(activity.createdAt), + }); + break; + } + // Card related activities + // TODO: archivedCard, restoredCard, joinMember, unjoinMember + case 'createCard': { + Activities.direct.insert({ + userId: this._user(activity.userId), + activityType: activity.activityType, + listId: this.lists[activity.listId], + cardId: this.cards[activity.cardId], + boardId, + createdAt: this._now(activity.createdAt), + }); + break; + } + case 'moveCard': { + Activities.direct.insert({ + userId: this._user(activity.userId), + oldListId: this.lists[activity.oldListId], + activityType: activity.activityType, + listId: this.lists[activity.listId], + cardId: this.cards[activity.cardId], + boardId, + createdAt: this._now(activity.createdAt), + }); + break; + } + // Comment related activities + case 'addComment': { + Activities.direct.insert({ + userId: this._user(activity.userId), + activityType: activity.activityType, + cardId: this.cards[activity.cardId], + commentId: this.commentIds[activity.commentId], + boardId, + createdAt: this._now(activity.createdAt), + }); + break; + } + // Attachment related activities + case 'addAttachment': { + Activities.direct.insert({ + userId: this._user(activity.userId), + type: 'card', + activityType: activity.activityType, + attachmentId: this.attachmentIds[activity.attachmentId], + cardId: this.cards[activity.cardId], + boardId, + createdAt: this._now(activity.createdAt), + }); + break; + } + // Checklist related activities + case 'addChecklist': { + Activities.direct.insert({ + userId: this._user(activity.userId), + activityType: activity.activityType, + cardId: this.cards[activity.cardId], + checklistId: this.checklists[activity.checklistId], + boardId, + createdAt: this._now(activity.createdAt), + }); + break; + } + case 'addChecklistItem': { + Activities.direct.insert({ + userId: this._user(activity.userId), + activityType: activity.activityType, + cardId: this.cards[activity.cardId], + checklistId: this.checklists[activity.checklistId], + checklistItemId: activity.checklistItemId.replace( + activity.checklistId, + this.checklists[activity.checklistId], + ), + boardId, + createdAt: this._now(activity.createdAt), + }); + break; + } + } + }); + } + + //check(board) { + check() { + //try { + // check(data, { + // membersMapping: Match.Optional(Object), + // }); + // this.checkActivities(board.activities); + // this.checkBoard(board); + // this.checkLabels(board.labels); + // this.checkLists(board.lists); + // this.checkSwimlanes(board.swimlanes); + // this.checkCards(board.cards); + //this.checkChecklists(board.checklists); + // this.checkRules(board.rules); + // this.checkActions(board.actions); + //this.checkTriggers(board.triggers); + //this.checkChecklistItems(board.checklistItems); + //} catch (e) { + // throw new Meteor.Error('error-json-schema'); + // } + } + + create(board, currentBoardId) { + // TODO : Make isSandstorm variable global + const isSandstorm = + Meteor.settings && + Meteor.settings.public && + Meteor.settings.public.sandstorm; + if (isSandstorm && currentBoardId) { + const currentBoard = Boards.findOne(currentBoardId); + currentBoard.archive(); + } + this.parseActivities(board); + const boardId = this.createBoardAndLabels(board); + this.createLists(board.lists, boardId); + this.createSwimlanes(board.swimlanes, boardId); + this.createCards(board.cards, boardId); + this.createChecklists(board.checklists); + this.createChecklistItems(board.checklistItems); + this.importActivities(board.activities, boardId); + this.createTriggers(board.triggers, boardId); + this.createActions(board.actions, boardId); + this.createRules(board.rules, boardId); + // XXX add members + return boardId; + } +} diff --git a/models/wekanmapper.js b/models/wekanmapper.js new file mode 100644 index 0000000..8db3aac --- /dev/null +++ b/models/wekanmapper.js @@ -0,0 +1,24 @@ +export function getMembersToMap(data) { + // we will work on the list itself (an ordered array of objects) when a + // mapping is done, we add a 'wekan' field to the object representing the + // imported member + const membersToMap = data.members; + const users = data.users; + // auto-map based on username + membersToMap.forEach(importedMember => { + importedMember.id = importedMember.userId; + delete importedMember.userId; + const user = users.filter(user => { + return user._id === importedMember.id; + })[0]; + if (user.profile && user.profile.fullname) { + importedMember.fullName = user.profile.fullname; + } + importedMember.username = user.username; + const wekanUser = Users.findOne({ username: importedMember.username }); + if (wekanUser) { + importedMember.wekanId = wekanUser._id; + } + }); + return membersToMap; +} diff --git a/nginx/nginx.conf b/nginx/nginx.conf new file mode 100644 index 0000000..9029a2b --- /dev/null +++ b/nginx/nginx.conf @@ -0,0 +1,92 @@ +user www-data; +worker_processes 1; + +error_log /var/log/nginx/error.log warn; +pid /var/run/nginx.pid; + +events { + worker_connections 1024; +} + +http { + include /etc/nginx/mime.types; + default_type application/octet-stream; + + log_format main '$remote_addr - $remote_user [$time_local] "$request" ' + '$status $body_bytes_sent "$http_referer" ' + '"$http_user_agent" "$http_x_forwarded_for"'; + + access_log /var/log/nginx/access.log main; + + sendfile on; + #tcp_nopush on; + + keepalive_timeout 65; + + map $http_host $this_host { + "" $host; + default $http_host; + } + + map $http_x_forwarded_proto $the_scheme { + default $http_x_forwarded_proto; + "" $scheme; + } + + map $http_x_forwarded_host $the_host { + default $http_x_forwarded_host; + "" $this_host; + } + + map $http_upgrade $connection_upgrade { + default upgrade; + '' close; + } + + server { + listen 80; + listen 443 ssl; + + if ($scheme = http) { + rewrite ^ https://$host$request_uri? permanent; + } + + + ssl_certificate /etc/nginx/ssl/server.crt; + ssl_certificate_key /etc/nginx/ssl/server.key; + + + ssl_protocols TLSv1.2; + ssl_prefer_server_ciphers on; + ssl_ciphers EECDH+AESGCM:EECDH+CHACHA20:EECDH+AES; + + ssl_session_cache shared:SSL:10m; + ssl_session_timeout 10m; + + ssl_ecdh_curve sect571r1:secp521r1:brainpoolP512r1:secp384r1; + add_header Strict-Transport-Security "max-age=31536000; preload"; + + # Add headers to serve security related headers + add_header X-Content-Type-Options nosniff; + add_header X-XSS-Protection "1; mode=block"; + add_header X-Robots-Tag none; + add_header X-Download-Options noopen; + add_header X-Permitted-Cross-Domain-Policies none; + + add_header Referrer-Policy "same-origin"; + + root /var/www/html; + client_max_body_size 10G; # 0=unlimited - set max upload size + fastcgi_buffers 64 4K; + + gzip off; + + location / { + proxy_pass http://wekan:8080; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection $connection_upgrade; + proxy_set_header X-Forwarded-For $remote_addr; + } + } +} diff --git a/nginx/ssl/.gitkeep b/nginx/ssl/.gitkeep new file mode 100644 index 0000000..1fe3dd2 --- /dev/null +++ b/nginx/ssl/.gitkeep @@ -0,0 +1 @@ +PLACE YOUR SSL Certificates in this folder diff --git a/openapi/README.md b/openapi/README.md new file mode 100644 index 0000000..e3fb7fd --- /dev/null +++ b/openapi/README.md @@ -0,0 +1,27 @@ + +# OpenAPI tools and doc generation + +## Open API generation + +This folder contains a script (`generate_openapi.py`) that extracts +the REST API of Wekan and exports it under the OpenAPI 2.0 specification +(Swagger 2.0). + +### dependencies +- python3 +- [esprima-python](https://github.com/Kronuz/esprima-python) + +### calling the tool + + python3 generate_openapi.py --release v1.65 > ../public/wekan_api.yml + +## Generating docs +Now that we have the OpenAPI, it's easy enough to convert the YAML file into some nice Markdown with +[shins](https://github.com/Mermade/shins) and [api2html](https://github.com/tobilg/api2html), +or even [ReDoc](https://github.com/Rebilly/ReDoc): + + api2html -c ../public/logo-header.png -o api.html ../public/wekan_api.yml + +or + + redoc-cli serve ../public/wekan_api.yml diff --git a/openapi/generate_openapi.py b/openapi/generate_openapi.py new file mode 100644 index 0000000..fabf381 --- /dev/null +++ b/openapi/generate_openapi.py @@ -0,0 +1,1024 @@ +#!/bin/env python3 + +import argparse +import esprima +import json +import logging +import os +import re +import sys +import traceback + + +logger = logging.getLogger(__name__) +err_context = 3 + + +def get_req_body_elems(obj, elems): + if obj.type == 'FunctionExpression': + get_req_body_elems(obj.body, elems) + elif obj.type == 'BlockStatement': + for s in obj.body: + get_req_body_elems(s, elems) + elif obj.type == 'TryStatement': + get_req_body_elems(obj.block, elems) + elif obj.type == 'ExpressionStatement': + get_req_body_elems(obj.expression, elems) + elif obj.type == 'MemberExpression': + left = get_req_body_elems(obj.object, elems) + right = obj.property.name + if left == 'req.body' and right not in elems: + elems.append(right) + return '{}.{}'.format(left, right) + elif obj.type == 'VariableDeclaration': + for s in obj.declarations: + get_req_body_elems(s, elems) + elif obj.type == 'VariableDeclarator': + if obj.id.type == 'ObjectPattern': + # get_req_body_elems() can't be called directly here: + # const {isAdmin, isNoComments, isCommentOnly} = req.body; + right = get_req_body_elems(obj.init, elems) + if right == 'req.body': + for p in obj.id.properties: + name = p.key.name + if name not in elems: + elems.append(name) + else: + get_req_body_elems(obj.init, elems) + elif obj.type == 'Property': + get_req_body_elems(obj.value, elems) + elif obj.type == 'ObjectExpression': + for s in obj.properties: + get_req_body_elems(s, elems) + elif obj.type == 'CallExpression': + for s in obj.arguments: + get_req_body_elems(s, elems) + elif obj.type == 'ArrayExpression': + for s in obj.elements: + get_req_body_elems(s, elems) + elif obj.type == 'IfStatement': + get_req_body_elems(obj.test, elems) + if obj.consequent is not None: + get_req_body_elems(obj.consequent, elems) + if obj.alternate is not None: + get_req_body_elems(obj.alternate, elems) + elif obj.type in ('LogicalExpression', 'BinaryExpression', 'AssignmentExpression'): + get_req_body_elems(obj.left, elems) + get_req_body_elems(obj.right, elems) + elif obj.type in ('ReturnStatement', 'UnaryExpression'): + get_req_body_elems(obj.argument, elems) + elif obj.type == 'Literal': + pass + elif obj.type == 'Identifier': + return obj.name + elif obj.type == 'FunctionDeclaration': + pass + else: + print(obj) + return '' + + +def cleanup_jsdocs(jsdoc): + # remove leading spaces before the first '*' + doc = [s.lstrip() for s in jsdoc.value.split('\n')] + + # remove leading stars + doc = [s.lstrip('*') for s in doc] + + # remove leading empty lines + while len(doc) and not doc[0].strip(): + doc.pop(0) + + # remove terminating empty lines + while len(doc) and not doc[-1].strip(): + doc.pop(-1) + + return doc + + +class JS2jsonDecoder(json.JSONDecoder): + def decode(self, s): + result = super().decode(s) # result = super(Decoder, self).decode(s) for Python 2.x + return self._decode(result) + + def _decode(self, o): + if isinstance(o, str) or isinstance(o, unicode): + try: + return int(o) + except ValueError: + return o + elif isinstance(o, dict): + return {k: self._decode(v) for k, v in o.items()} + elif isinstance(o, list): + return [self._decode(v) for v in o] + else: + return o + + +def load_return_type_jsdoc_json(data): + regex_replace = [(r'\n', r' '), # replace new lines by spaces + (r'([\{\s,])(\w+)(:)', r'\1"\2"\3'), # insert double quotes in keys + (r'(:)\s*([^:\},\]]+)\s*([\},\]])', r'\1"\2"\3'), # insert double quotes in values + (r'(\[)\s*([^{].+)\s*(\])', r'\1"\2"\3'), # insert double quotes in array items + (r'^\s*([^\[{].+)\s*', r'"\1"')] # insert double quotes in single item + for r, s in regex_replace: + data = re.sub(r, s, data) + return json.loads(data) + + +class EntryPoint(object): + def __init__(self, schema, statements): + self.schema = schema + self.method, self._path, self.body = statements + self._jsdoc = None + self._doc = {} + self._raw_doc = None + self.path = self.compute_path() + self.method_name = self.method.value.lower() + self.body_params = [] + if self.method_name in ('post', 'put'): + get_req_body_elems(self.body, self.body_params) + + # replace the :parameter in path by {parameter} + self.url = re.sub(r':([^/]*)Id', r'{\1}', self.path) + self.url = re.sub(r':([^/]*)', r'{\1}', self.url) + + # reduce the api name + # get_boards_board_cards() should be get_board_cards() + tokens = self.url.split('/') + reduced_function_name = [] + for i, token in enumerate(tokens): + if token in ('api'): + continue + if (i < len(tokens) - 1 and # not the last item + tokens[i + 1].startswith('{')): # and the next token is a parameter + continue + reduced_function_name.append(token.strip('{}')) + self.reduced_function_name = '_'.join(reduced_function_name) + + # mark the schema as used + schema.used = True + + def compute_path(self): + return self._path.value.rstrip('/') + + def log(self, message, level): + if self._raw_doc is None: + logger.log(level, 'in {},'.format(self.schema.name)) + logger.log(level, message) + return + logger.log(level, 'in {}, lines {}-{}'.format(self.schema.name, + self._raw_doc.loc.start.line, + self._raw_doc.loc.end.line)) + logger.log(level, self._raw_doc.value) + logger.log(level, message) + + def error(self, message): + return self.log(message, logging.ERROR) + + def warn(self, message): + return self.log(message, logging.WARNING) + + def info(self, message): + return self.log(message, logging.INFO) + + @property + def doc(self): + return self._doc + + @doc.setter + def doc(self, doc): + '''Parse the JSDoc attached to an entry point. + `jsdoc` will not get these right as they are not attached to a method. + So instead, we do our custom parsing here (yes, subject to errors). + + The expected format is the following (empty lines between entries + are ignored): + /** + * @operation name_of_entry_point + * @tag: a_tag_to_add + * @tag: an_other_tag_to_add + * @summary A nice summary, better in one line. + * + * @description This is a quite long description. + * We can use *mardown* as the final rendering is done + * by slate. + * + * indentation doesn't matter. + * + * @param param_0 description of param 0 + * @param {string} param_1 we can also put the type of the parameter + * before its name, like in JSDoc + * @param {boolean} [param_2] we can also tell if the parameter is + * optional by adding square brackets around its name + * + * @return Documents a return value + */ + + Notes: + - name_of_entry_point will be referenced in the ToC of the generated + document. This is also the operationId used in the resulting openapi + file. It needs to be uniq in the namesapce (the current schema.js + file) + - tags are appended to the current Schema attached to the file + ''' + + self._raw_doc = doc + + self._jsdoc = cleanup_jsdocs(doc) + + def store_tag(tag, data): + # check that there is something to store first + if not data.strip(): + return + + # remove terminating whitespaces and empty lines + data = data.rstrip() + + # parameters are handled specially + if tag == 'param': + if 'params' not in self._doc: + self._doc['params'] = {} + params = self._doc['params'] + + param_type = None + try: + name, desc = data.split(maxsplit=1) + except ValueError: + desc = '' + + if name.startswith('{'): + param_type = name.strip('{}') + if param_type == 'Object': + # hope for the best + param_type = 'object' + elif param_type not in ['string', 'number', 'boolean', 'integer', 'array', 'file']: + self.warn('unknown type {}\n allowed values: string, number, boolean, integer, array, file'.format(param_type)) + try: + name, desc = desc.split(maxsplit=1) + except ValueError: + desc = '' + + optional = name.startswith('[') and name.endswith(']') + + if optional: + name = name[1:-1] + + # we should not have 2 identical parameter names + if tag in params: + self.warn('overwriting parameter {}'.format(name)) + + params[name] = (param_type, optional, desc) + + if name.endswith('Id'): + # we strip out the 'Id' from the form parameters, we need + # to keep the actual description around + name = name[:-2] + if name not in params: + params[name] = (param_type, optional, desc) + + return + + # 'tag' can be set several times + if tag == 'tag': + if tag not in self._doc: + self._doc[tag] = [] + self._doc[tag].append(data) + + return + + # 'return' tag is json + if tag == 'return_type': + try: + data = load_return_type_jsdoc_json(data) + except json.decoder.JSONDecodeError: + pass + + # we should not have 2 identical tags but @param or @tag + if tag in self._doc: + self.warn('overwriting tag {}'.format(tag)) + + self._doc[tag] = data + + # reset the current doc fields + self._doc = {} + + # first item is supposed to be the description + current_tag = 'description' + current_data = '' + + for line in self._jsdoc: + if line.lstrip().startswith('@'): + tag, data = line.lstrip().split(maxsplit=1) + + if tag in ['@operation', '@summary', '@description', '@param', '@return_type', '@tag']: + # store the current data + store_tag(current_tag, current_data) + + current_tag = tag.lstrip('@') + current_data = '' + line = data + else: + self.info('Unknown tag {}, ignoring'.format(tag)) + + current_data += line + '\n' + + store_tag(current_tag, current_data) + + @property + def summary(self): + if 'summary' in self._doc: + # new lines are not allowed + return self._doc['summary'].replace('\n', ' ') + + return None + + def doc_param(self, name): + if 'params' in self._doc and name in self._doc['params']: + return self._doc['params'][name] + return None, None, None + + def print_openapi_param(self, name, indent): + ptype, poptional, pdesc = self.doc_param(name) + if pdesc is not None: + print('{}description: |'.format(' ' * indent)) + print('{}{}'.format(' ' * (indent + 2), pdesc)) + else: + print('{}description: the {} value'.format(' ' * indent, name)) + if ptype is not None: + print('{}type: {}'.format(' ' * indent, ptype)) + else: + print('{}type: string'.format(' ' * indent)) + if poptional: + print('{}required: false'.format(' ' * indent)) + else: + print('{}required: true'.format(' ' * indent)) + + @property + def operationId(self): + if 'operation' in self._doc: + return self._doc['operation'] + return '{}_{}'.format(self.method_name, self.reduced_function_name) + + @property + def description(self): + if 'description' in self._doc: + return self._doc['description'] + return None + + @property + def returns(self): + if 'return_type' in self._doc: + return self._doc['return_type'] + return None + + @property + def tags(self): + tags = [] + if self.schema.fields is not None: + tags.append(self.schema.name) + if 'tag' in self._doc: + tags.extend(self._doc['tag']) + return tags + + def print_openapi_return(self, obj, indent): + if isinstance(obj, dict): + print('{}type: object'.format(' ' * indent)) + print('{}properties:'.format(' ' * indent)) + for k, v in obj.items(): + print('{}{}:'.format(' ' * (indent + 2), k)) + self.print_openapi_return(v, indent + 4) + + elif isinstance(obj, list): + if len(obj) > 1: + self.error('Error while parsing @return tag, an array should have only one type') + print('{}type: array'.format(' ' * indent)) + print('{}items:'.format(' ' * indent)) + self.print_openapi_return(obj[0], indent + 2) + + elif isinstance(obj, str) or isinstance(obj, unicode): + rtype = 'type: ' + obj + if obj == self.schema.name: + rtype = '$ref: "#/definitions/{}"'.format(obj) + print('{}{}'.format(' ' * indent, rtype)) + + def print_openapi(self): + parameters = [token[1:-2] if token.endswith('Id') else token[1:] + for token in self.path.split('/') + if token.startswith(':')] + + print(' {}:'.format(self.method_name)) + + print(' operationId: {}'.format(self.operationId)) + + if self.summary is not None: + print(' summary: {}'.format(self.summary)) + + if self.description is not None: + print(' description: |') + for line in self.description.split('\n'): + if line.strip(): + print(' {}'.format(line)) + else: + print('') + + if len(self.tags) > 0: + print(' tags:') + for tag in self.tags: + print(' - {}'.format(tag)) + + # export the parameters + if self.method_name in ('post', 'put'): + print(''' consumes: + - multipart/form-data + - application/json''') + if len(parameters) > 0 or self.method_name in ('post', 'put'): + print(' parameters:') + if self.method_name in ('post', 'put'): + for f in self.body_params: + print(''' - name: {} + in: formData'''.format(f)) + self.print_openapi_param(f, 10) + for p in parameters: + if p in self.body_params: + self.error(' '.join((p, self.path, self.method_name))) + print(''' - name: {} + in: path'''.format(p)) + self.print_openapi_param(p, 10) + print(''' produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response''') + if self.returns is not None: + print(' schema:') + self.print_openapi_return(self.returns, 12) + + +class SchemaProperty(object): + def __init__(self, statement, schema, context): + self.schema = schema + self.statement = statement + self.name = statement.key.name or statement.key.value + self.type = 'object' + self.blackbox = False + self.required = True + for p in statement.value.properties: + try: + if p.key.name == 'type': + if p.value.type == 'Identifier': + self.type = p.value.name.lower() + elif p.value.type == 'ArrayExpression': + self.type = 'array' + self.elements = [e.name.lower() for e in p.value.elements] + + elif p.key.name == 'allowedValues': + self.type = 'enum' + if p.value.type == 'ArrayExpression': + self.enum = [e.value.lower() for e in p.value.elements] + elif p.value.type == 'Identifier': + # tree wide lookout for the identifier + def find_variable(elem, match): + if isinstance(elem, list): + for value in elem: + ret = find_variable(value, match) + if ret is not None: + return ret + + try: + items = elem.items() + except AttributeError: + return None + except TypeError: + return None + + if (elem.type == 'VariableDeclarator' and + elem.id.name == match): + return elem + + for type, value in items: + ret = find_variable(value, match) + if ret is not None: + return ret + + return None + + elem = find_variable(context.program.body, p.value.name) + + if elem.init.type != 'ArrayExpression': + raise TypeError('can not find "{}"'.format(p.value.name)) + + self.enum = [e.value.lower() for e in elem.init.elements] + + elif p.key.name == 'blackbox': + self.blackbox = True + + elif p.key.name == 'optional' and p.value.value: + self.required = False + except Exception: + input = '' + for line in range(p.loc.start.line - err_context, p.loc.end.line + 1 + err_context): + if line < p.loc.start.line or line > p.loc.end.line: + input += '. ' + else: + input += '>>' + input += context.text_at(line, line) + input = ''.join(input) + logger.error('{}:{}-{} can not parse {}:\n{}'.format(context.path, + p.loc.start.line, + p.loc.end.line, + p.type, + input)) + logger.error('esprima tree:\n{}'.format(p)) + + logger.error(traceback.format_exc()) + sys.exit(1) + + self._doc = None + self._raw_doc = None + + @property + def doc(self): + return self._doc + + @doc.setter + def doc(self, jsdoc): + self._raw_doc = jsdoc + self._doc = cleanup_jsdocs(jsdoc) + + def process_jsdocs(self, jsdocs): + start = self.statement.key.loc.start.line + for index, doc in enumerate(jsdocs): + if start + 1 == doc.loc.start.line: + self.doc = doc + jsdocs.pop(index) + return + + def __repr__(self): + return 'SchemaProperty({}{}, {})'.format(self.name, + '*' if self.required else '', + self.doc) + + def print_openapi(self, indent, current_schema, required_properties): + schema_name = self.schema.name + name = self.name + + # deal with subschemas + if '.' in name: + if name.endswith('$'): + # reference in reference + subschema = ''.join([n.capitalize() for n in self.name.split('.')[:-1]]) + subschema = self.schema.name + subschema + if current_schema != subschema: + if required_properties is not None and required_properties: + print(' required:') + for f in required_properties: + print(' - {}'.format(f)) + required_properties.clear() + + print(''' {}: + type: object'''.format(subschema)) + return current_schema + + subschema = name.split('.')[0] + schema_name = self.schema.name + subschema.capitalize() + name = name.split('.')[-1] + + if current_schema != schema_name: + if required_properties is not None and required_properties: + print(' required:') + for f in required_properties: + print(' - {}'.format(f)) + required_properties.clear() + + print(''' {}: + type: object + properties:'''.format(schema_name)) + + if required_properties is not None and self.required: + required_properties.append(name) + + print('{}{}:'.format(' ' * indent, name)) + + if self.doc is not None: + print('{} description: |'.format(' ' * indent)) + for line in self.doc: + if line.strip(): + print('{} {}'.format(' ' * indent, line)) + else: + print('') + + ptype = self.type + if ptype in ('enum', 'date'): + ptype = 'string' + if ptype != 'object': + print('{} type: {}'.format(' ' * indent, ptype)) + + if self.type == 'array': + print('{} items:'.format(' ' * indent)) + for elem in self.elements: + if elem == 'object': + print('{} $ref: "#/definitions/{}"'.format(' ' * indent, schema_name + name.capitalize())) + else: + print('{} type: {}'.format(' ' * indent, elem)) + if not self.required: + print('{} x-nullable: true'.format(' ' * indent)) + + elif self.type == 'object': + if self.blackbox: + print('{} type: object'.format(' ' * indent)) + else: + print('{} $ref: "#/definitions/{}"'.format(' ' * indent, schema_name + name.capitalize())) + + elif self.type == 'enum': + print('{} enum:'.format(' ' * indent)) + for enum in self.enum: + print('{} - {}'.format(' ' * indent, enum)) + + if '.' not in self.name and not self.required: + print('{} x-nullable: true'.format(' ' * indent)) + + return schema_name + + +class Schemas(object): + def __init__(self, context, data=None, jsdocs=None, name=None): + self.name = name + self._data = data + self.fields = None + self.used = False + + if data is not None: + if self.name is None: + self.name = data.expression.callee.object.name + + content = data.expression.arguments[0].arguments[0] + self.fields = [SchemaProperty(p, self, context) for p in content.properties] + + self._doc = None + self._raw_doc = None + + if jsdocs is not None: + self.process_jsdocs(jsdocs) + + @property + def doc(self): + if self._doc is None: + return None + return ' '.join(self._doc) + + @doc.setter + def doc(self, jsdoc): + self._raw_doc = jsdoc + self._doc = cleanup_jsdocs(jsdoc) + + def process_jsdocs(self, jsdocs): + start = self._data.loc.start.line + end = self._data.loc.end.line + + for doc in jsdocs: + if doc.loc.end.line + 1 == start: + self.doc = doc + + docs = [doc + for doc in jsdocs + if doc.loc.start.line >= start and doc.loc.end.line <= end] + + for field in self.fields: + field.process_jsdocs(docs) + + def print_openapi(self): + # empty schemas are skipped + if self.fields is None: + return + + print(' {}:'.format(self.name)) + print(' type: object') + if self.doc is not None: + print(' description: {}'.format(self.doc)) + + print(' properties:') + + # first print out the object itself + properties = [field for field in self.fields if '.' not in field.name] + for prop in properties: + prop.print_openapi(6, None, None) + + required_properties = [f.name for f in properties if f.required] + if required_properties: + print(' required:') + for f in required_properties: + print(' - {}'.format(f)) + + # then print the references + current = None + required_properties = [] + properties = [f for f in self.fields if '.' in f.name and not f.name.endswith('$')] + for prop in properties: + current = prop.print_openapi(6, current, required_properties) + + if required_properties: + print(' required:') + for f in required_properties: + print(' - {}'.format(f)) + + required_properties = [] + # then print the references in the references + for prop in [f for f in self.fields if '.' in f.name and f.name.endswith('$')]: + current = prop.print_openapi(6, current, required_properties) + + if required_properties: + print(' required:') + for f in required_properties: + print(' - {}'.format(f)) + + +class Context(object): + def __init__(self, path): + self.path = path + + with open(path) as f: + self._txt = f.readlines() + + data = ''.join(self._txt) + self.program = esprima.parseModule(data, + options={ + 'comment': True, + 'loc': True + }) + + def txt_for(self, statement): + return self.text_at(statement.loc.start.line, statement.loc.end.line) + + def text_at(self, begin, end): + return ''.join(self._txt[begin - 1:end]) + + +def parse_schemas(schemas_dir): + + schemas = {} + entry_points = [] + + for root, dirs, files in os.walk(schemas_dir): + files.sort() + for filename in files: + path = os.path.join(root, filename) + try: + # if the file failed, it's likely it doesn't contain a schema + context = Context(path) + except: + continue + + program = context.program + + current_schema = None + jsdocs = [c for c in program.comments + if c.type == 'Block' and c.value.startswith('*\n')] + + try: + + for statement in program.body: + + # find the '.attachSchema(new SimpleSchema()' + # those are the schemas + if (statement.type == 'ExpressionStatement' and + statement.expression.callee is not None and + statement.expression.callee.property is not None and + statement.expression.callee.property.name == 'attachSchema' and + statement.expression.arguments[0].type == 'NewExpression' and + statement.expression.arguments[0].callee.name == 'SimpleSchema'): + + schema = Schemas(context, statement, jsdocs) + current_schema = schema.name + schemas[current_schema] = schema + + # find all the 'if (Meteor.isServer) { JsonRoutes.add(' + # those are the entry points of the API + elif (statement.type == 'IfStatement' and + statement.test.type == 'MemberExpression' and + statement.test.object.name == 'Meteor' and + statement.test.property.name == 'isServer'): + data = [s.expression.arguments + for s in statement.consequent.body + if (s.type == 'ExpressionStatement' and + s.expression.type == 'CallExpression' and + s.expression.callee.object.name == 'JsonRoutes')] + + # we found at least one entry point, keep them + if len(data) > 0: + if current_schema is None: + current_schema = filename + schemas[current_schema] = Schemas(context, name=current_schema) + + schema_entry_points = [EntryPoint(schemas[current_schema], d) + for d in data] + entry_points.extend(schema_entry_points) + + end_of_previous_operation = -1 + + # try to match JSDoc to the operations + for entry_point in schema_entry_points: + operation = entry_point.method # POST/GET/PUT/DELETE + + # find all jsdocs that end before the current operation, + # the last item in the list is the one we need + jsdoc = [j for j in jsdocs + if j.loc.end.line + 1 <= operation.loc.start.line and + j.loc.start.line > end_of_previous_operation] + if bool(jsdoc): + entry_point.doc = jsdoc[-1] + + end_of_previous_operation = operation.loc.end.line + except TypeError: + logger.warning(context.txt_for(statement)) + logger.error('{}:{}-{} can not parse {}'.format(path, + statement.loc.start.line, + statement.loc.end.line, + statement.type)) + raise + + return schemas, entry_points + + +def generate_openapi(schemas, entry_points, version): + print('''swagger: '2.0' +info: + title: Wekan REST API + version: {0} + description: | + The REST API allows you to control and extend Wekan with ease. + + If you are an end-user and not a dev or a tester, [create an issue](https://github.com/wekan/wekan/issues/new) to request new APIs. + + > All API calls in the documentation are made using `curl`. However, you are free to use Java / Python / PHP / Golang / Ruby / Swift / Objective-C / Rust / Scala / C# or any other programming languages. + + # Production Security Concerns + When calling a production Wekan server, ensure it is running via HTTPS and has a valid SSL Certificate. The login method requires you to post your username and password in plaintext, which is why we highly suggest only calling the REST login api over HTTPS. Also, few things to note: + + * Only call via HTTPS + * Implement a timed authorization token expiration strategy + * Ensure the calling user only has permissions for what they are calling and no more + +schemes: + - http + +securityDefinitions: + UserSecurity: + type: apiKey + in: header + name: Authorization + +paths: + /users/login: + post: + operationId: login + summary: Login with REST API + consumes: + - application/x-www-form-urlencoded + - application/json + tags: + - Login + parameters: + - name: username + in: formData + required: true + description: | + Your username + type: string + - name: password + in: formData + required: true + description: | + Your password + type: string + format: password + responses: + 200: + description: |- + Successful authentication + schema: + items: + properties: + id: + type: string + token: + type: string + tokenExpires: + type: string + 400: + description: | + Error in authentication + schema: + items: + properties: + error: + type: number + reason: + type: string + default: + description: | + Error in authentication + /users/register: + post: + operationId: register + summary: Register with REST API + description: | + Notes: + - You will need to provide the token for any of the authenticated methods. + consumes: + - application/x-www-form-urlencoded + - application/json + tags: + - Login + parameters: + - name: username + in: formData + required: true + description: | + Your username + type: string + - name: password + in: formData + required: true + description: | + Your password + type: string + format: password + - name: email + in: formData + required: true + description: | + Your email + type: string + responses: + 200: + description: |- + Successful registration + schema: + items: + properties: + id: + type: string + token: + type: string + tokenExpires: + type: string + 400: + description: | + Error in registration + schema: + items: + properties: + error: + type: number + reason: + type: string + default: + description: | + Error in registration +'''.format(version)) + + # GET and POST on the same path are valid, we need to reshuffle the paths + # with the path as the sorting key + methods = {} + for ep in entry_points: + if ep.path not in methods: + methods[ep.path] = [] + methods[ep.path].append(ep) + + sorted_paths = list(methods.keys()) + sorted_paths.sort() + + for path in sorted_paths: + print(' {}:'.format(methods[path][0].url)) + + for ep in methods[path]: + ep.print_openapi() + + print('definitions:') + for schema in schemas.values(): + # do not export the objects if there is no API attached + if not schema.used: + continue + + schema.print_openapi() + + +def main(): + parser = argparse.ArgumentParser(description='Generate an OpenAPI 2.0 from the given JS schemas.') + script_dir = os.path.dirname(os.path.realpath(__file__)) + parser.add_argument('--release', default='git-master', nargs=1, + help='the current version of the API, can be retrieved by running `git describe --tags --abbrev=0`') + parser.add_argument('dir', default='{}/../models'.format(script_dir), nargs='?', + help='the directory where to look for schemas') + + args = parser.parse_args() + schemas, entry_points = parse_schemas(args.dir) + generate_openapi(schemas, entry_points, args.release[0]) + + +if __name__ == '__main__': + main() diff --git a/openshift/README.md b/openshift/README.md new file mode 100644 index 0000000..a97657f --- /dev/null +++ b/openshift/README.md @@ -0,0 +1,19 @@ +# Wekan on OpenShift + +OpenShift Template for Wekan backed by MongoDB + +#### Create Template +```sh +oc create -f wekan.yml +``` + +#### Delete Instance Resources +Clean up all resources created. Note label filters assume single instance of template deployed in the current namespace. + +```sh +oc delete all -l app=wekan +oc delete pods -l app=wekan +oc delete persistentvolumeclaim -l app=wekan +oc delete serviceaccount -l app=wekan +oc delete secret -l app=wekan +``` diff --git a/openshift/wekan.yml b/openshift/wekan.yml new file mode 100644 index 0000000..3d08451 --- /dev/null +++ b/openshift/wekan.yml @@ -0,0 +1,354 @@ +--- +apiVersion: v1 +kind: Template +labels: + template: wekan-mongodb-persistent-template +message: |- + The following service(s) have been created in your project: ${WEKAN_SERVICE_NAME}. +metadata: + annotations: + description: |- + This template provides a Wekan instance backed by a standalone MongoDB + server. The database is stored on persistent storage. + iconClass: pficon-trend-up + openshift.io/display-name: Wekan backed by MongoDB + openshift.io/documentation-url: https://wekan.github.io/ + openshift.io/long-description: This template provides a Wekan platform + with a MongoDB database created. The database is stored on persistent storage. The + database name, username, and password are chosen via parameters when provisioning + this service. + tags: wekan,kanban,mongodb + name: wekan-mongodb-persistent +objects: +- apiVersion: v1 + kind: ServiceAccount + metadata: + name: ${WEKAN_SERVICE_NAME} + labels: + app: wekan + service: ${WEKAN_SERVICE_NAME} +- apiVersion: v1 + kind: Secret + metadata: + annotations: + template.openshift.io/expose-admin_password: "{.data['database-admin-password']}" + template.openshift.io/expose-database_name: "{.data['database-name']}" + template.openshift.io/expose-password: "{.data['database-password']}" + template.openshift.io/expose-username: "{.data['database-user']}" + name: "${DATABASE_SERVICE_NAME}" + labels: + app: wekan + service: ${WEKAN_SERVICE_NAME} + stringData: + database-admin-password: "${MONGODB_ADMIN_PASSWORD}" + database-name: "${MONGODB_DATABASE}" + database-password: "${MONGODB_PASSWORD}" + database-user: "${MONGODB_USER}" +- apiVersion: v1 + kind: Service + metadata: + annotations: + template.openshift.io/expose-uri: http://{.spec.clusterIP}:{.spec.ports[?(.name=="wekan")].port} + name: "${WEKAN_SERVICE_NAME}" + labels: + app: wekan + service: ${WEKAN_SERVICE_NAME} + spec: + ports: + - name: wekan + nodePort: 0 + port: 8080 + protocol: TCP + targetPort: 8080 + selector: + name: "${WEKAN_SERVICE_NAME}" + sessionAffinity: None + type: ClusterIP +- apiVersion: v1 + kind: Service + metadata: + annotations: + template.openshift.io/expose-uri: mongodb://{.spec.clusterIP}:{.spec.ports[?(.name=="mongo")].port} + name: "${DATABASE_SERVICE_NAME}" + labels: + app: wekan + service: ${WEKAN_SERVICE_NAME} + spec: + ports: + - name: mongo + nodePort: 0 + port: 27017 + protocol: TCP + targetPort: 27017 + selector: + name: "${DATABASE_SERVICE_NAME}" + sessionAffinity: None + type: ClusterIP +- apiVersion: v1 + kind: PersistentVolumeClaim + metadata: + name: "${DATABASE_SERVICE_NAME}" + labels: + app: wekan + service: ${WEKAN_SERVICE_NAME} + spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: "${VOLUME_CAPACITY}" +- apiVersion: image.openshift.io/v1 + kind: ImageStream + metadata: + labels: + app: wekan + name: ${WEKAN_SERVICE_NAME} + spec: + tags: + - from: + kind: DockerImage + name: ${WEKAN_IMAGE} + generation: 2 + name: latest + referencePolicy: + type: Source +- apiVersion: v1 + kind: DeploymentConfig + metadata: + name: ${WEKAN_SERVICE_NAME} + labels: + app: wekan + service: ${WEKAN_SERVICE_NAME} + spec: + replicas: 1 + selector: + app: wekan + deploymentconfig: ${WEKAN_SERVICE_NAME} + strategy: + type: Recreate + template: + metadata: + labels: + app: wekan + service: ${WEKAN_SERVICE_NAME} + deploymentconfig: ${WEKAN_SERVICE_NAME} + template: wekan + name: ${WEKAN_SERVICE_NAME} + spec: + containers: + - name: ${WEKAN_SERVICE_NAME} + image: ${WEKAN_IMAGE} + imagePullPolicy: Always + env: + - name: MONGO_URL + value: mongodb://${MONGODB_USER}:${MONGODB_PASSWORD}@${DATABASE_SERVICE_NAME}:27017/${MONGODB_DATABASE} + - name: ROOT_URL + value: https://${FQDN}/ + - name: PORT + value: "8080" + ports: + - containerPort: 8080 + name: ${WEKAN_SERVICE_NAME} + protocol: TCP + terminationMessagePath: /dev/termination-log + livenessProbe: + failureThreshold: 30 + httpGet: + path: / + port: 8080 + initialDelaySeconds: 240 + timeoutSeconds: 3 + readinessProbe: + httpGet: + path: / + port: 8080 + initialDelaySeconds: 3 + timeoutSeconds: 3 + dnsPolicy: ClusterFirst + restartPolicy: Always + serviceAccount: ${WEKAN_SERVICE_NAME} + serviceAccountName: ${WEKAN_SERVICE_NAME} + terminationGracePeriodSeconds: 30 + triggers: + - type: ConfigChange + - type: ImageChange + imageChangeParams: + automatic: true + containerNames: + - ${WEKAN_SERVICE_NAME} + from: + kind: ImageStreamTag + name: ${WEKAN_SERVICE_NAME}:latest + lastTriggeredImage: "" +- apiVersion: v1 + kind: DeploymentConfig + metadata: + annotations: + template.alpha.openshift.io/wait-for-ready: 'true' + name: "${DATABASE_SERVICE_NAME}" + labels: + app: wekan + service: ${WEKAN_SERVICE_NAME} + spec: + replicas: 1 + selector: + name: "${DATABASE_SERVICE_NAME}" + strategy: + type: Recreate + template: + metadata: + labels: + name: "${DATABASE_SERVICE_NAME}" + spec: + containers: + - capabilities: {} + env: + - name: MONGODB_USER + valueFrom: + secretKeyRef: + key: database-user + name: "${DATABASE_SERVICE_NAME}" + - name: MONGODB_PASSWORD + valueFrom: + secretKeyRef: + key: database-password + name: "${DATABASE_SERVICE_NAME}" + - name: MONGODB_ADMIN_PASSWORD + valueFrom: + secretKeyRef: + key: database-admin-password + name: "${DATABASE_SERVICE_NAME}" + - name: MONGODB_DATABASE + valueFrom: + secretKeyRef: + key: database-name + name: "${DATABASE_SERVICE_NAME}" + image: " " + imagePullPolicy: IfNotPresent + livenessProbe: + initialDelaySeconds: 30 + tcpSocket: + port: 27017 + timeoutSeconds: 1 + name: mongodb + ports: + - containerPort: 27017 + protocol: TCP + readinessProbe: + exec: + command: + - "/bin/sh" + - "-i" + - "-c" + - mongo 127.0.0.1:27017/$MONGODB_DATABASE -u $MONGODB_USER -p $MONGODB_PASSWORD + --eval="quit()" + initialDelaySeconds: 3 + timeoutSeconds: 1 + resources: + limits: + memory: "${MEMORY_LIMIT}" + securityContext: + capabilities: {} + privileged: false + terminationMessagePath: "/dev/termination-log" + volumeMounts: + - mountPath: "/var/lib/mongodb/data" + name: "${DATABASE_SERVICE_NAME}-data" + dnsPolicy: ClusterFirst + restartPolicy: Always + volumes: + - name: "${DATABASE_SERVICE_NAME}-data" + persistentVolumeClaim: + claimName: "${DATABASE_SERVICE_NAME}" + triggers: + - imageChangeParams: + automatic: true + containerNames: + - mongodb + from: + kind: ImageStreamTag + name: mongodb:${MONGODB_VERSION} + namespace: "openshift" + lastTriggeredImage: '' + type: ImageChange + - type: ConfigChange +- apiVersion: route.openshift.io/v1 + kind: Route + metadata: + labels: + app: wekan + service: wekan + template: wekan-mongodb-persistent-template + name: wekan + namespace: ${NAMESPACE} + spec: + host: ${FQDN} + port: + targetPort: wekan + tls: + termination: edge + to: + kind: Service + name: wekan + weight: 100 + wildcardPolicy: None +parameters: +- description: The Fully Qualified Hostname (FQDN) of the application + displayName: FQDN + name: FQDN + required: true +- description: Maximum amount of memory the container can use. + displayName: Memory Limit + name: MEMORY_LIMIT + required: true + value: 512Mi +- description: The OpenShift Namespace where the ImageStream resides. + displayName: Namespace + name: NAMESPACE +- description: The name of the OpenShift Service exposed for the database. + displayName: Database Service Name + name: DATABASE_SERVICE_NAME + required: true + value: wekan-mongodb +- description: Username for MongoDB user that will be used for accessing the database. + displayName: MongoDB Connection Username + from: user[A-Z0-9]{3} + generate: expression + name: MONGODB_USER + required: true +- description: Password for the MongoDB connection user. + displayName: MongoDB Connection Password + from: "[a-zA-Z0-9]{16}" + generate: expression + name: MONGODB_PASSWORD + required: true +- description: Name of the MongoDB database accessed. + displayName: MongoDB Database Name + name: MONGODB_DATABASE + required: true + value: wekan +- description: Password for the database admin user. + displayName: MongoDB Admin Password + from: "[a-zA-Z0-9]{16}" + generate: expression + name: MONGODB_ADMIN_PASSWORD + required: true +- description: Volume space available for data, e.g. 512Mi, 2Gi. + displayName: Volume Capacity + name: VOLUME_CAPACITY + required: true + value: 1Gi +- description: Version of MongoDB image to be used (3.6, 4.0.10). + displayName: Version of MongoDB Image + name: MONGODB_VERSION + required: true + value: '3.6' +- name: WEKAN_SERVICE_NAME + displayName: Wekan Service Name + value: wekan + required: true +- name: WEKAN_IMAGE + displayName: Wekan Docker Image + value: wekanteam/wekan:latest + description: The metabase docker image to use + required: true diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..d037b6c --- /dev/null +++ b/package-lock.json @@ -0,0 +1,5644 @@ +{ + "name": "wekan", + "version": "v4.25.0", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "@babel/code-frame": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz", + "integrity": "sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==", + "dev": true, + "requires": { + "@babel/highlight": "^7.8.3" + } + }, + "@babel/core": { + "version": "7.10.2", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.10.2.tgz", + "integrity": "sha512-KQmV9yguEjQsXqyOUGKjS4+3K8/DlOCE2pZcq4augdQmtTy5iv5EHtmMSJ7V4c1BIPjuwtZYqYLCq9Ga+hGBRQ==", + "requires": { + "@babel/code-frame": "^7.10.1", + "@babel/generator": "^7.10.2", + "@babel/helper-module-transforms": "^7.10.1", + "@babel/helpers": "^7.10.1", + "@babel/parser": "^7.10.2", + "@babel/template": "^7.10.1", + "@babel/traverse": "^7.10.1", + "@babel/types": "^7.10.2", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.1", + "json5": "^2.1.2", + "lodash": "^4.17.13", + "resolve": "^1.3.2", + "semver": "^5.4.1", + "source-map": "^0.5.0" + }, + "dependencies": { + "@babel/code-frame": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.1.tgz", + "integrity": "sha512-IGhtTmpjGbYzcEDOw7DcQtbQSXcG9ftmAXtWTu9V936vDye4xjjekktFAtgZsWpzTj/X01jocB46mTywm/4SZw==", + "requires": { + "@babel/highlight": "^7.10.1" + } + }, + "@babel/generator": { + "version": "7.10.2", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.10.2.tgz", + "integrity": "sha512-AxfBNHNu99DTMvlUPlt1h2+Hn7knPpH5ayJ8OqDWSeLld+Fi2AYBTC/IejWDM9Edcii4UzZRCsbUt0WlSDsDsA==", + "requires": { + "@babel/types": "^7.10.2", + "jsesc": "^2.5.1", + "lodash": "^4.17.13", + "source-map": "^0.5.0" + } + }, + "@babel/helper-function-name": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.10.1.tgz", + "integrity": "sha512-fcpumwhs3YyZ/ttd5Rz0xn0TpIwVkN7X0V38B9TWNfVF42KEkhkAAuPCQ3oXmtTRtiPJrmZ0TrfS0GKF0eMaRQ==", + "requires": { + "@babel/helper-get-function-arity": "^7.10.1", + "@babel/template": "^7.10.1", + "@babel/types": "^7.10.1" + } + }, + "@babel/helper-get-function-arity": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.10.1.tgz", + "integrity": "sha512-F5qdXkYGOQUb0hpRaPoetF9AnsXknKjWMZ+wmsIRsp5ge5sFh4c3h1eH2pRTTuy9KKAA2+TTYomGXAtEL2fQEw==", + "requires": { + "@babel/types": "^7.10.1" + } + }, + "@babel/helper-split-export-declaration": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.10.1.tgz", + "integrity": "sha512-UQ1LVBPrYdbchNhLwj6fetj46BcFwfS4NllJo/1aJsT+1dLTEnXJL0qHqtY7gPzF8S2fXBJamf1biAXV3X077g==", + "requires": { + "@babel/types": "^7.10.1" + } + }, + "@babel/helper-validator-identifier": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.1.tgz", + "integrity": "sha512-5vW/JXLALhczRCWP0PnFDMCJAchlBvM7f4uk/jXritBnIa6E1KmqmtrS3yn1LAnxFBypQ3eneLuXjsnfQsgILw==" + }, + "@babel/highlight": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.1.tgz", + "integrity": "sha512-8rMof+gVP8mxYZApLF/JgNDAkdKa+aJt3ZYxF8z6+j/hpeXL7iMsKCPHa2jNMHu/qqBwzQF4OHNoYi8dMA/rYg==", + "requires": { + "@babel/helper-validator-identifier": "^7.10.1", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + } + }, + "@babel/parser": { + "version": "7.10.2", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.10.2.tgz", + "integrity": "sha512-PApSXlNMJyB4JiGVhCOlzKIif+TKFTvu0aQAhnTvfP/z3vVSN6ZypH5bfUNwFXXjRQtUEBNFd2PtmCmG2Py3qQ==" + }, + "@babel/template": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.10.1.tgz", + "integrity": "sha512-OQDg6SqvFSsc9A0ej6SKINWrpJiNonRIniYondK2ViKhB06i3c0s+76XUft71iqBEe9S1OKsHwPAjfHnuvnCig==", + "requires": { + "@babel/code-frame": "^7.10.1", + "@babel/parser": "^7.10.1", + "@babel/types": "^7.10.1" + } + }, + "@babel/traverse": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.10.1.tgz", + "integrity": "sha512-C/cTuXeKt85K+p08jN6vMDz8vSV0vZcI0wmQ36o6mjbuo++kPMdpOYw23W2XH04dbRt9/nMEfA4W3eR21CD+TQ==", + "requires": { + "@babel/code-frame": "^7.10.1", + "@babel/generator": "^7.10.1", + "@babel/helper-function-name": "^7.10.1", + "@babel/helper-split-export-declaration": "^7.10.1", + "@babel/parser": "^7.10.1", + "@babel/types": "^7.10.1", + "debug": "^4.1.0", + "globals": "^11.1.0", + "lodash": "^4.17.13" + } + }, + "@babel/types": { + "version": "7.10.2", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.10.2.tgz", + "integrity": "sha512-AD3AwWBSz0AWF0AkCN9VPiWrvldXq+/e3cHa4J89vo4ymjz1XwrBFFVZmkJTsQIPNk+ZVomPSXUJqq8yyjZsng==", + "requires": { + "@babel/helper-validator-identifier": "^7.10.1", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + }, + "lodash": { + "version": "4.17.19", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.19.tgz", + "integrity": "sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==" + } + } + }, + "@babel/generator": { + "version": "7.9.5", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.9.5.tgz", + "integrity": "sha512-GbNIxVB3ZJe3tLeDm1HSn2AhuD/mVcyLDpgtLXa5tplmWrJdF/elxB56XNqCuD6szyNkDi6wuoKXln3QeBmCHQ==", + "dev": true, + "requires": { + "@babel/types": "^7.9.5", + "jsesc": "^2.5.1", + "lodash": "^4.17.13", + "source-map": "^0.5.0" + } + }, + "@babel/helper-function-name": { + "version": "7.9.5", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.9.5.tgz", + "integrity": "sha512-JVcQZeXM59Cd1qanDUxv9fgJpt3NeKUaqBqUEvfmQ+BCOKq2xUgaWZW2hr0dkbyJgezYuplEoh5knmrnS68efw==", + "dev": true, + "requires": { + "@babel/helper-get-function-arity": "^7.8.3", + "@babel/template": "^7.8.3", + "@babel/types": "^7.9.5" + } + }, + "@babel/helper-get-function-arity": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.8.3.tgz", + "integrity": "sha512-FVDR+Gd9iLjUMY1fzE2SR0IuaJToR4RkCDARVfsBBPSP53GEqSFjD8gNyxg246VUyc/ALRxFaAK8rVG7UT7xRA==", + "dev": true, + "requires": { + "@babel/types": "^7.8.3" + } + }, + "@babel/helper-member-expression-to-functions": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.10.1.tgz", + "integrity": "sha512-u7XLXeM2n50gb6PWJ9hoO5oO7JFPaZtrh35t8RqKLT1jFKj9IWeD1zrcrYp1q1qiZTdEarfDWfTIP8nGsu0h5g==", + "requires": { + "@babel/types": "^7.10.1" + }, + "dependencies": { + "@babel/helper-validator-identifier": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.1.tgz", + "integrity": "sha512-5vW/JXLALhczRCWP0PnFDMCJAchlBvM7f4uk/jXritBnIa6E1KmqmtrS3yn1LAnxFBypQ3eneLuXjsnfQsgILw==" + }, + "@babel/types": { + "version": "7.10.2", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.10.2.tgz", + "integrity": "sha512-AD3AwWBSz0AWF0AkCN9VPiWrvldXq+/e3cHa4J89vo4ymjz1XwrBFFVZmkJTsQIPNk+ZVomPSXUJqq8yyjZsng==", + "requires": { + "@babel/helper-validator-identifier": "^7.10.1", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + } + } + }, + "@babel/helper-module-imports": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.10.1.tgz", + "integrity": "sha512-SFxgwYmZ3HZPyZwJRiVNLRHWuW2OgE5k2nrVs6D9Iv4PPnXVffuEHy83Sfx/l4SqF+5kyJXjAyUmrG7tNm+qVg==", + "requires": { + "@babel/types": "^7.10.1" + }, + "dependencies": { + "@babel/helper-validator-identifier": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.1.tgz", + "integrity": "sha512-5vW/JXLALhczRCWP0PnFDMCJAchlBvM7f4uk/jXritBnIa6E1KmqmtrS3yn1LAnxFBypQ3eneLuXjsnfQsgILw==" + }, + "@babel/types": { + "version": "7.10.2", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.10.2.tgz", + "integrity": "sha512-AD3AwWBSz0AWF0AkCN9VPiWrvldXq+/e3cHa4J89vo4ymjz1XwrBFFVZmkJTsQIPNk+ZVomPSXUJqq8yyjZsng==", + "requires": { + "@babel/helper-validator-identifier": "^7.10.1", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + } + } + }, + "@babel/helper-module-transforms": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.10.1.tgz", + "integrity": "sha512-RLHRCAzyJe7Q7sF4oy2cB+kRnU4wDZY/H2xJFGof+M+SJEGhZsb+GFj5j1AD8NiSaVBJ+Pf0/WObiXu/zxWpFg==", + "requires": { + "@babel/helper-module-imports": "^7.10.1", + "@babel/helper-replace-supers": "^7.10.1", + "@babel/helper-simple-access": "^7.10.1", + "@babel/helper-split-export-declaration": "^7.10.1", + "@babel/template": "^7.10.1", + "@babel/types": "^7.10.1", + "lodash": "^4.17.13" + }, + "dependencies": { + "@babel/code-frame": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.1.tgz", + "integrity": "sha512-IGhtTmpjGbYzcEDOw7DcQtbQSXcG9ftmAXtWTu9V936vDye4xjjekktFAtgZsWpzTj/X01jocB46mTywm/4SZw==", + "requires": { + "@babel/highlight": "^7.10.1" + } + }, + "@babel/helper-split-export-declaration": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.10.1.tgz", + "integrity": "sha512-UQ1LVBPrYdbchNhLwj6fetj46BcFwfS4NllJo/1aJsT+1dLTEnXJL0qHqtY7gPzF8S2fXBJamf1biAXV3X077g==", + "requires": { + "@babel/types": "^7.10.1" + } + }, + "@babel/helper-validator-identifier": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.1.tgz", + "integrity": "sha512-5vW/JXLALhczRCWP0PnFDMCJAchlBvM7f4uk/jXritBnIa6E1KmqmtrS3yn1LAnxFBypQ3eneLuXjsnfQsgILw==" + }, + "@babel/highlight": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.1.tgz", + "integrity": "sha512-8rMof+gVP8mxYZApLF/JgNDAkdKa+aJt3ZYxF8z6+j/hpeXL7iMsKCPHa2jNMHu/qqBwzQF4OHNoYi8dMA/rYg==", + "requires": { + "@babel/helper-validator-identifier": "^7.10.1", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + } + }, + "@babel/parser": { + "version": "7.10.2", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.10.2.tgz", + "integrity": "sha512-PApSXlNMJyB4JiGVhCOlzKIif+TKFTvu0aQAhnTvfP/z3vVSN6ZypH5bfUNwFXXjRQtUEBNFd2PtmCmG2Py3qQ==" + }, + "@babel/template": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.10.1.tgz", + "integrity": "sha512-OQDg6SqvFSsc9A0ej6SKINWrpJiNonRIniYondK2ViKhB06i3c0s+76XUft71iqBEe9S1OKsHwPAjfHnuvnCig==", + "requires": { + "@babel/code-frame": "^7.10.1", + "@babel/parser": "^7.10.1", + "@babel/types": "^7.10.1" + } + }, + "@babel/types": { + "version": "7.10.2", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.10.2.tgz", + "integrity": "sha512-AD3AwWBSz0AWF0AkCN9VPiWrvldXq+/e3cHa4J89vo4ymjz1XwrBFFVZmkJTsQIPNk+ZVomPSXUJqq8yyjZsng==", + "requires": { + "@babel/helper-validator-identifier": "^7.10.1", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + }, + "lodash": { + "version": "4.17.19", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.19.tgz", + "integrity": "sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==" + } + } + }, + "@babel/helper-optimise-call-expression": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.10.1.tgz", + "integrity": "sha512-a0DjNS1prnBsoKx83dP2falChcs7p3i8VMzdrSbfLhuQra/2ENC4sbri34dz/rWmDADsmF1q5GbfaXydh0Jbjg==", + "requires": { + "@babel/types": "^7.10.1" + }, + "dependencies": { + "@babel/helper-validator-identifier": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.1.tgz", + "integrity": "sha512-5vW/JXLALhczRCWP0PnFDMCJAchlBvM7f4uk/jXritBnIa6E1KmqmtrS3yn1LAnxFBypQ3eneLuXjsnfQsgILw==" + }, + "@babel/types": { + "version": "7.10.2", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.10.2.tgz", + "integrity": "sha512-AD3AwWBSz0AWF0AkCN9VPiWrvldXq+/e3cHa4J89vo4ymjz1XwrBFFVZmkJTsQIPNk+ZVomPSXUJqq8yyjZsng==", + "requires": { + "@babel/helper-validator-identifier": "^7.10.1", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + } + } + }, + "@babel/helper-replace-supers": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.10.1.tgz", + "integrity": "sha512-SOwJzEfpuQwInzzQJGjGaiG578UYmyi2Xw668klPWV5n07B73S0a9btjLk/52Mlcxa+5AdIYqws1KyXRfMoB7A==", + "requires": { + "@babel/helper-member-expression-to-functions": "^7.10.1", + "@babel/helper-optimise-call-expression": "^7.10.1", + "@babel/traverse": "^7.10.1", + "@babel/types": "^7.10.1" + }, + "dependencies": { + "@babel/code-frame": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.1.tgz", + "integrity": "sha512-IGhtTmpjGbYzcEDOw7DcQtbQSXcG9ftmAXtWTu9V936vDye4xjjekktFAtgZsWpzTj/X01jocB46mTywm/4SZw==", + "requires": { + "@babel/highlight": "^7.10.1" + } + }, + "@babel/generator": { + "version": "7.10.2", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.10.2.tgz", + "integrity": "sha512-AxfBNHNu99DTMvlUPlt1h2+Hn7knPpH5ayJ8OqDWSeLld+Fi2AYBTC/IejWDM9Edcii4UzZRCsbUt0WlSDsDsA==", + "requires": { + "@babel/types": "^7.10.2", + "jsesc": "^2.5.1", + "lodash": "^4.17.13", + "source-map": "^0.5.0" + } + }, + "@babel/helper-function-name": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.10.1.tgz", + "integrity": "sha512-fcpumwhs3YyZ/ttd5Rz0xn0TpIwVkN7X0V38B9TWNfVF42KEkhkAAuPCQ3oXmtTRtiPJrmZ0TrfS0GKF0eMaRQ==", + "requires": { + "@babel/helper-get-function-arity": "^7.10.1", + "@babel/template": "^7.10.1", + "@babel/types": "^7.10.1" + } + }, + "@babel/helper-get-function-arity": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.10.1.tgz", + "integrity": "sha512-F5qdXkYGOQUb0hpRaPoetF9AnsXknKjWMZ+wmsIRsp5ge5sFh4c3h1eH2pRTTuy9KKAA2+TTYomGXAtEL2fQEw==", + "requires": { + "@babel/types": "^7.10.1" + } + }, + "@babel/helper-split-export-declaration": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.10.1.tgz", + "integrity": "sha512-UQ1LVBPrYdbchNhLwj6fetj46BcFwfS4NllJo/1aJsT+1dLTEnXJL0qHqtY7gPzF8S2fXBJamf1biAXV3X077g==", + "requires": { + "@babel/types": "^7.10.1" + } + }, + "@babel/helper-validator-identifier": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.1.tgz", + "integrity": "sha512-5vW/JXLALhczRCWP0PnFDMCJAchlBvM7f4uk/jXritBnIa6E1KmqmtrS3yn1LAnxFBypQ3eneLuXjsnfQsgILw==" + }, + "@babel/highlight": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.1.tgz", + "integrity": "sha512-8rMof+gVP8mxYZApLF/JgNDAkdKa+aJt3ZYxF8z6+j/hpeXL7iMsKCPHa2jNMHu/qqBwzQF4OHNoYi8dMA/rYg==", + "requires": { + "@babel/helper-validator-identifier": "^7.10.1", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + } + }, + "@babel/parser": { + "version": "7.10.2", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.10.2.tgz", + "integrity": "sha512-PApSXlNMJyB4JiGVhCOlzKIif+TKFTvu0aQAhnTvfP/z3vVSN6ZypH5bfUNwFXXjRQtUEBNFd2PtmCmG2Py3qQ==" + }, + "@babel/template": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.10.1.tgz", + "integrity": "sha512-OQDg6SqvFSsc9A0ej6SKINWrpJiNonRIniYondK2ViKhB06i3c0s+76XUft71iqBEe9S1OKsHwPAjfHnuvnCig==", + "requires": { + "@babel/code-frame": "^7.10.1", + "@babel/parser": "^7.10.1", + "@babel/types": "^7.10.1" + } + }, + "@babel/traverse": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.10.1.tgz", + "integrity": "sha512-C/cTuXeKt85K+p08jN6vMDz8vSV0vZcI0wmQ36o6mjbuo++kPMdpOYw23W2XH04dbRt9/nMEfA4W3eR21CD+TQ==", + "requires": { + "@babel/code-frame": "^7.10.1", + "@babel/generator": "^7.10.1", + "@babel/helper-function-name": "^7.10.1", + "@babel/helper-split-export-declaration": "^7.10.1", + "@babel/parser": "^7.10.1", + "@babel/types": "^7.10.1", + "debug": "^4.1.0", + "globals": "^11.1.0", + "lodash": "^4.17.13" + } + }, + "@babel/types": { + "version": "7.10.2", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.10.2.tgz", + "integrity": "sha512-AD3AwWBSz0AWF0AkCN9VPiWrvldXq+/e3cHa4J89vo4ymjz1XwrBFFVZmkJTsQIPNk+ZVomPSXUJqq8yyjZsng==", + "requires": { + "@babel/helper-validator-identifier": "^7.10.1", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + } + } + }, + "@babel/helper-simple-access": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.10.1.tgz", + "integrity": "sha512-VSWpWzRzn9VtgMJBIWTZ+GP107kZdQ4YplJlCmIrjoLVSi/0upixezHCDG8kpPVTBJpKfxTH01wDhh+jS2zKbw==", + "requires": { + "@babel/template": "^7.10.1", + "@babel/types": "^7.10.1" + }, + "dependencies": { + "@babel/code-frame": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.1.tgz", + "integrity": "sha512-IGhtTmpjGbYzcEDOw7DcQtbQSXcG9ftmAXtWTu9V936vDye4xjjekktFAtgZsWpzTj/X01jocB46mTywm/4SZw==", + "requires": { + "@babel/highlight": "^7.10.1" + } + }, + "@babel/helper-validator-identifier": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.1.tgz", + "integrity": "sha512-5vW/JXLALhczRCWP0PnFDMCJAchlBvM7f4uk/jXritBnIa6E1KmqmtrS3yn1LAnxFBypQ3eneLuXjsnfQsgILw==" + }, + "@babel/highlight": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.1.tgz", + "integrity": "sha512-8rMof+gVP8mxYZApLF/JgNDAkdKa+aJt3ZYxF8z6+j/hpeXL7iMsKCPHa2jNMHu/qqBwzQF4OHNoYi8dMA/rYg==", + "requires": { + "@babel/helper-validator-identifier": "^7.10.1", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + } + }, + "@babel/parser": { + "version": "7.10.2", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.10.2.tgz", + "integrity": "sha512-PApSXlNMJyB4JiGVhCOlzKIif+TKFTvu0aQAhnTvfP/z3vVSN6ZypH5bfUNwFXXjRQtUEBNFd2PtmCmG2Py3qQ==" + }, + "@babel/template": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.10.1.tgz", + "integrity": "sha512-OQDg6SqvFSsc9A0ej6SKINWrpJiNonRIniYondK2ViKhB06i3c0s+76XUft71iqBEe9S1OKsHwPAjfHnuvnCig==", + "requires": { + "@babel/code-frame": "^7.10.1", + "@babel/parser": "^7.10.1", + "@babel/types": "^7.10.1" + } + }, + "@babel/types": { + "version": "7.10.2", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.10.2.tgz", + "integrity": "sha512-AD3AwWBSz0AWF0AkCN9VPiWrvldXq+/e3cHa4J89vo4ymjz1XwrBFFVZmkJTsQIPNk+ZVomPSXUJqq8yyjZsng==", + "requires": { + "@babel/helper-validator-identifier": "^7.10.1", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + } + } + }, + "@babel/helper-split-export-declaration": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.8.3.tgz", + "integrity": "sha512-3x3yOeyBhW851hroze7ElzdkeRXQYQbFIb7gLK1WQYsw2GWDay5gAJNw1sWJ0VFP6z5J1whqeXH/WCdCjZv6dA==", + "dev": true, + "requires": { + "@babel/types": "^7.8.3" + } + }, + "@babel/helper-validator-identifier": { + "version": "7.9.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.9.5.tgz", + "integrity": "sha512-/8arLKUFq882w4tWGj9JYzRpAlZgiWUJ+dtteNTDqrRBz9Iguck9Rn3ykuBDoUwh2TO4tSAJlrxDUOXWklJe4g==", + "dev": true + }, + "@babel/helpers": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.10.1.tgz", + "integrity": "sha512-muQNHF+IdU6wGgkaJyhhEmI54MOZBKsFfsXFhboz1ybwJ1Kl7IHlbm2a++4jwrmY5UYsgitt5lfqo1wMFcHmyw==", + "requires": { + "@babel/template": "^7.10.1", + "@babel/traverse": "^7.10.1", + "@babel/types": "^7.10.1" + }, + "dependencies": { + "@babel/code-frame": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.1.tgz", + "integrity": "sha512-IGhtTmpjGbYzcEDOw7DcQtbQSXcG9ftmAXtWTu9V936vDye4xjjekktFAtgZsWpzTj/X01jocB46mTywm/4SZw==", + "requires": { + "@babel/highlight": "^7.10.1" + } + }, + "@babel/generator": { + "version": "7.10.2", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.10.2.tgz", + "integrity": "sha512-AxfBNHNu99DTMvlUPlt1h2+Hn7knPpH5ayJ8OqDWSeLld+Fi2AYBTC/IejWDM9Edcii4UzZRCsbUt0WlSDsDsA==", + "requires": { + "@babel/types": "^7.10.2", + "jsesc": "^2.5.1", + "lodash": "^4.17.13", + "source-map": "^0.5.0" + } + }, + "@babel/helper-function-name": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.10.1.tgz", + "integrity": "sha512-fcpumwhs3YyZ/ttd5Rz0xn0TpIwVkN7X0V38B9TWNfVF42KEkhkAAuPCQ3oXmtTRtiPJrmZ0TrfS0GKF0eMaRQ==", + "requires": { + "@babel/helper-get-function-arity": "^7.10.1", + "@babel/template": "^7.10.1", + "@babel/types": "^7.10.1" + } + }, + "@babel/helper-get-function-arity": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.10.1.tgz", + "integrity": "sha512-F5qdXkYGOQUb0hpRaPoetF9AnsXknKjWMZ+wmsIRsp5ge5sFh4c3h1eH2pRTTuy9KKAA2+TTYomGXAtEL2fQEw==", + "requires": { + "@babel/types": "^7.10.1" + } + }, + "@babel/helper-split-export-declaration": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.10.1.tgz", + "integrity": "sha512-UQ1LVBPrYdbchNhLwj6fetj46BcFwfS4NllJo/1aJsT+1dLTEnXJL0qHqtY7gPzF8S2fXBJamf1biAXV3X077g==", + "requires": { + "@babel/types": "^7.10.1" + } + }, + "@babel/helper-validator-identifier": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.10.1.tgz", + "integrity": "sha512-5vW/JXLALhczRCWP0PnFDMCJAchlBvM7f4uk/jXritBnIa6E1KmqmtrS3yn1LAnxFBypQ3eneLuXjsnfQsgILw==" + }, + "@babel/highlight": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.10.1.tgz", + "integrity": "sha512-8rMof+gVP8mxYZApLF/JgNDAkdKa+aJt3ZYxF8z6+j/hpeXL7iMsKCPHa2jNMHu/qqBwzQF4OHNoYi8dMA/rYg==", + "requires": { + "@babel/helper-validator-identifier": "^7.10.1", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + } + }, + "@babel/parser": { + "version": "7.10.2", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.10.2.tgz", + "integrity": "sha512-PApSXlNMJyB4JiGVhCOlzKIif+TKFTvu0aQAhnTvfP/z3vVSN6ZypH5bfUNwFXXjRQtUEBNFd2PtmCmG2Py3qQ==" + }, + "@babel/template": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.10.1.tgz", + "integrity": "sha512-OQDg6SqvFSsc9A0ej6SKINWrpJiNonRIniYondK2ViKhB06i3c0s+76XUft71iqBEe9S1OKsHwPAjfHnuvnCig==", + "requires": { + "@babel/code-frame": "^7.10.1", + "@babel/parser": "^7.10.1", + "@babel/types": "^7.10.1" + } + }, + "@babel/traverse": { + "version": "7.10.1", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.10.1.tgz", + "integrity": "sha512-C/cTuXeKt85K+p08jN6vMDz8vSV0vZcI0wmQ36o6mjbuo++kPMdpOYw23W2XH04dbRt9/nMEfA4W3eR21CD+TQ==", + "requires": { + "@babel/code-frame": "^7.10.1", + "@babel/generator": "^7.10.1", + "@babel/helper-function-name": "^7.10.1", + "@babel/helper-split-export-declaration": "^7.10.1", + "@babel/parser": "^7.10.1", + "@babel/types": "^7.10.1", + "debug": "^4.1.0", + "globals": "^11.1.0", + "lodash": "^4.17.13" + } + }, + "@babel/types": { + "version": "7.10.2", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.10.2.tgz", + "integrity": "sha512-AD3AwWBSz0AWF0AkCN9VPiWrvldXq+/e3cHa4J89vo4ymjz1XwrBFFVZmkJTsQIPNk+ZVomPSXUJqq8yyjZsng==", + "requires": { + "@babel/helper-validator-identifier": "^7.10.1", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + } + } + }, + "@babel/highlight": { + "version": "7.9.0", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.9.0.tgz", + "integrity": "sha512-lJZPilxX7Op3Nv/2cvFdnlepPXDxi29wxteT57Q965oc5R9v86ztx0jfxVrTcBk8C2kcPkkDa2Z4T3ZsPPVWsQ==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.9.0", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + } + }, + "@babel/parser": { + "version": "7.9.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.9.4.tgz", + "integrity": "sha512-bC49otXX6N0/VYhgOMh4gnP26E9xnDZK3TmbNpxYzzz9BQLBosQwfyOe9/cXUU3txYhTzLCbcqd5c8y/OmCjHA==", + "dev": true + }, + "@babel/runtime": { + "version": "7.10.2", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.10.2.tgz", + "integrity": "sha512-6sF3uQw2ivImfVIl62RZ7MXhO2tap69WeWK57vAaimT6AZbE4FbqjdEJIN1UqoD6wI6B+1n9UiagafH1sxjOtg==", + "requires": { + "regenerator-runtime": "^0.13.4" + } + }, + "@babel/template": { + "version": "7.8.6", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.8.6.tgz", + "integrity": "sha512-zbMsPMy/v0PWFZEhQJ66bqjhH+z0JgMoBWuikXybgG3Gkd/3t5oQ1Rw2WQhnSrsOmsKXnZOx15tkC4qON/+JPg==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.8.3", + "@babel/parser": "^7.8.6", + "@babel/types": "^7.8.6" + } + }, + "@babel/traverse": { + "version": "7.9.5", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.9.5.tgz", + "integrity": "sha512-c4gH3jsvSuGUezlP6rzSJ6jf8fYjLj3hsMZRx/nX0h+fmHN0w+ekubRrHPqnMec0meycA2nwCsJ7dC8IPem2FQ==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.8.3", + "@babel/generator": "^7.9.5", + "@babel/helper-function-name": "^7.9.5", + "@babel/helper-split-export-declaration": "^7.8.3", + "@babel/parser": "^7.9.0", + "@babel/types": "^7.9.5", + "debug": "^4.1.0", + "globals": "^11.1.0", + "lodash": "^4.17.13" + } + }, + "@babel/types": { + "version": "7.9.5", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.9.5.tgz", + "integrity": "sha512-XjnvNqenk818r5zMaba+sLQjnbda31UfUURv3ei0qPQw4u+j2jMyJ5b11y8ZHYTRSI3NnInQkkkRT4fLqqPdHg==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.9.5", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + }, + "@root/request": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/@root/request/-/request-1.6.1.tgz", + "integrity": "sha512-8wrWyeBLRp7T8J36GkT3RODJ6zYmL0/maWlAUD5LOXT28D3TDquUepyYDKYANNA3Gc8R5ZCgf+AXvSTYpJEWwQ==" + }, + "@samverschueren/stream-to-observable": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@samverschueren/stream-to-observable/-/stream-to-observable-0.3.0.tgz", + "integrity": "sha512-MI4Xx6LHs4Webyvi6EbspgyAb4D2Q2VtnCQ1blOJcoLS6mVa8lNN2rkIy1CVxfTUpoyIbCTkXES1rLXztFD1lg==", + "dev": true, + "requires": { + "any-observable": "^0.3.0" + } + }, + "@types/eslint-visitor-keys": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@types/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz", + "integrity": "sha512-OCutwjDZ4aFS6PB1UZ988C4YgwlBHJd6wCeQqaLdmadZ/7e+w79+hbMUFC1QXDNCmdyoRfAFdm0RypzwR+Qpag==", + "dev": true + }, + "@types/json-schema": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.4.tgz", + "integrity": "sha512-8+KAKzEvSUdeo+kmqnKrqgeE+LcA0tjYWFY7RPProVYwnqDjukzO+3b6dLD56rYX5TdWejnEOLJYOIeh4CXKuA==", + "dev": true + }, + "@typescript-eslint/experimental-utils": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-1.13.0.tgz", + "integrity": "sha512-zmpS6SyqG4ZF64ffaJ6uah6tWWWgZ8m+c54XXgwFtUv0jNz8aJAVx8chMCvnk7yl6xwn8d+d96+tWp7fXzTuDg==", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.3", + "@typescript-eslint/typescript-estree": "1.13.0", + "eslint-scope": "^4.0.0" + } + }, + "@typescript-eslint/parser": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-1.13.0.tgz", + "integrity": "sha512-ITMBs52PCPgLb2nGPoeT4iU3HdQZHcPaZVw+7CsFagRJHUhyeTgorEwHXhFf3e7Evzi8oujKNpHc8TONth8AdQ==", + "dev": true, + "requires": { + "@types/eslint-visitor-keys": "^1.0.0", + "@typescript-eslint/experimental-utils": "1.13.0", + "@typescript-eslint/typescript-estree": "1.13.0", + "eslint-visitor-keys": "^1.0.0" + } + }, + "@typescript-eslint/typescript-estree": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-1.13.0.tgz", + "integrity": "sha512-b5rCmd2e6DCC6tCTN9GSUAuxdYwCM/k/2wdjHGrIRGPSJotWMCe/dGpi66u42bhuh8q3QBzqM4TMA1GUUCJvdw==", + "dev": true, + "requires": { + "lodash.unescape": "4.0.1", + "semver": "5.5.0" + }, + "dependencies": { + "semver": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz", + "integrity": "sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA==", + "dev": true + } + } + }, + "abbrev": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" + }, + "abstract-logging": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/abstract-logging/-/abstract-logging-2.0.0.tgz", + "integrity": "sha512-/oA9z7JszpIioo6J6dB79LVUgJ3eD3cxkAmdCkvWWS+Y9tPtALs1rLqOekLUXUbYqM2fB9TTK0ibAyZJJOP/CA==" + }, + "acorn": { + "version": "6.4.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.1.tgz", + "integrity": "sha512-ZVA9k326Nwrj3Cj9jlh3wGFutC2ZornPNARZwsNYqQYgN0EsV2d53w5RN/co65Ohn4sUAUtb1rSUAOD6XN9idA==", + "dev": true + }, + "acorn-jsx": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.2.0.tgz", + "integrity": "sha512-HiUX/+K2YpkpJ+SzBffkM/AQ2YE03S0U1kjTLVpoJdhZMOWy8qvXVN9JdLqv2QsaQ6MPYQIuNmwD8zOiYUofLQ==", + "dev": true + }, + "ajv": { + "version": "6.12.4", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.4.tgz", + "integrity": "sha512-eienB2c9qVQs2KWexhkrdMLVDoIQCz5KSeLxwg9Lzk4DOfBtIK9PQwwufcsn1jjGuf9WZmqPMbGxOzfcuphJCQ==", + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "ansi-escapes": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz", + "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==", + "dev": true + }, + "ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=" + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "requires": { + "color-convert": "^1.9.0" + } + }, + "any-observable": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/any-observable/-/any-observable-0.3.0.tgz", + "integrity": "sha512-/FQM1EDkTsf63Ub2C6O7GuYFDsSXUwsaZDurV0np41ocwq0jthUAYCmhBX9f+KwlaCgIuWyr/4WlUQUBfKfZog==", + "dev": true + }, + "aproba": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", + "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==" + }, + "are-we-there-yet": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz", + "integrity": "sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==", + "requires": { + "delegates": "^1.0.0", + "readable-stream": "^2.0.6" + } + }, + "argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "requires": { + "sprintf-js": "~1.0.2" + } + }, + "arr-diff": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", + "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", + "dev": true + }, + "arr-flatten": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", + "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", + "dev": true + }, + "arr-union": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", + "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=", + "dev": true + }, + "array-includes": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.1.tgz", + "integrity": "sha512-c2VXaCHl7zPsvpkFsw4nxvFie4fh1ur9bpcgsVkIjqn0H/Xwdg+7fv3n2r/isyS8EBj5b06M9kHyZuIr4El6WQ==", + "dev": true, + "requires": { + "define-properties": "^1.1.3", + "es-abstract": "^1.17.0", + "is-string": "^1.0.5" + } + }, + "array-unique": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", + "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", + "dev": true + }, + "array.prototype.flat": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.2.3.tgz", + "integrity": "sha512-gBlRZV0VSmfPIeWfuuy56XZMvbVfbEUnOXUvt3F/eUUUSyzlgLxhEX4YAEpxNAogRGehPSnfXyPtYyKAhkzQhQ==", + "dev": true, + "requires": { + "define-properties": "^1.1.3", + "es-abstract": "^1.17.0-next.1" + } + }, + "asn1": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", + "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "requires": { + "safer-buffer": "~2.1.0" + } + }, + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" + }, + "assign-symbols": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", + "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=", + "dev": true + }, + "astral-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz", + "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==", + "dev": true + }, + "atob": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", + "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", + "dev": true + }, + "babel-eslint": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/babel-eslint/-/babel-eslint-10.1.0.tgz", + "integrity": "sha512-ifWaTHQ0ce+448CYop8AdrQiBsGrnC+bMgfyKFdi6EsPLTAWG+QfyDeM6OH+FmWnKvEq5NnBMLvlBUPKQZoDSg==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "@babel/parser": "^7.7.0", + "@babel/traverse": "^7.7.0", + "@babel/types": "^7.7.0", + "eslint-visitor-keys": "^1.0.0", + "resolve": "^1.12.0" + } + }, + "babel-runtime": { + "version": "6.26.0", + "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", + "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", + "requires": { + "core-js": "^2.4.0", + "regenerator-runtime": "^0.11.0" + }, + "dependencies": { + "regenerator-runtime": { + "version": "0.11.1", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", + "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==" + } + } + }, + "backoff": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/backoff/-/backoff-2.5.0.tgz", + "integrity": "sha1-9hbtqdPktmuMp/ynn2lXIsX44m8=", + "requires": { + "precond": "0.2" + } + }, + "balanced-match": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" + }, + "base": { + "version": "0.11.2", + "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", + "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", + "dev": true, + "requires": { + "cache-base": "^1.0.1", + "class-utils": "^0.3.5", + "component-emitter": "^1.2.1", + "define-property": "^1.0.0", + "isobject": "^3.0.1", + "mixin-deep": "^1.2.0", + "pascalcase": "^0.1.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + } + } + }, + "base64-js": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.1.tgz", + "integrity": "sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g==" + }, + "bcrypt": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/bcrypt/-/bcrypt-5.0.0.tgz", + "integrity": "sha512-jB0yCBl4W/kVHM2whjfyqnxTmOHkCX4kHEa5nYKSoGeYe8YrjTYTc87/6bwt1g8cmV0QrbhKriETg9jWtcREhg==", + "requires": { + "node-addon-api": "^3.0.0", + "node-pre-gyp": "0.15.0" + } + }, + "bl": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/bl/-/bl-2.2.0.tgz", + "integrity": "sha512-wbgvOpqopSr7uq6fJrLH8EsvYMJf9gzfo2jCsL2eTy75qXPukA4pCgHamOQkZtY5vmfVtjB+P3LNlMHW5CEZXA==", + "requires": { + "readable-stream": "^2.3.5", + "safe-buffer": "^5.1.1" + } + }, + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "braces": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", + "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", + "dev": true, + "requires": { + "arr-flatten": "^1.1.0", + "array-unique": "^0.3.2", + "extend-shallow": "^2.0.1", + "fill-range": "^4.0.0", + "isobject": "^3.0.1", + "repeat-element": "^1.1.2", + "snapdragon": "^0.8.1", + "snapdragon-node": "^2.0.1", + "split-string": "^3.0.2", + "to-regex": "^3.0.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "bson": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/bson/-/bson-4.0.4.tgz", + "integrity": "sha512-Ioi3TD0/1V3aI8+hPfC56TetYmzfq2H07jJa9A1lKTxWsFtHtYdLMGMXjtGEg9v0f72NSM07diRQEUNYhLupIA==", + "requires": { + "buffer": "^5.1.0", + "long": "^4.0.0" + } + }, + "buffer": { + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.6.0.tgz", + "integrity": "sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw==", + "requires": { + "base64-js": "^1.0.2", + "ieee754": "^1.1.4" + } + }, + "buffer-from": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", + "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==" + }, + "bunyan": { + "version": "1.8.12", + "resolved": "https://registry.npmjs.org/bunyan/-/bunyan-1.8.12.tgz", + "integrity": "sha1-8VDw9nSKvdcq6uhPBEA74u8RN5c=", + "requires": { + "dtrace-provider": "~0.8", + "moment": "^2.10.6", + "mv": "~2", + "safe-json-stringify": "~1" + } + }, + "cache-base": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", + "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", + "dev": true, + "requires": { + "collection-visit": "^1.0.0", + "component-emitter": "^1.2.1", + "get-value": "^2.0.6", + "has-value": "^1.0.0", + "isobject": "^3.0.1", + "set-value": "^2.0.0", + "to-object-path": "^0.3.0", + "union-value": "^1.0.0", + "unset-value": "^1.0.0" + } + }, + "caller-callsite": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-2.0.0.tgz", + "integrity": "sha1-hH4PzgoiN1CpoCfFSzNzGtMVQTQ=", + "dev": true, + "requires": { + "callsites": "^2.0.0" + }, + "dependencies": { + "callsites": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-2.0.0.tgz", + "integrity": "sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA=", + "dev": true + } + } + }, + "caller-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-2.0.0.tgz", + "integrity": "sha1-Ro+DBE42mrIBD6xfBs7uFbsssfQ=", + "dev": true, + "requires": { + "caller-callsite": "^2.0.0" + } + }, + "callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "chardet": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", + "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", + "dev": true + }, + "chownr": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", + "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==" + }, + "class-utils": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", + "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", + "dev": true, + "requires": { + "arr-union": "^3.1.0", + "define-property": "^0.2.5", + "isobject": "^3.0.0", + "static-extend": "^0.1.1" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + } + } + }, + "cli-cursor": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", + "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=", + "dev": true, + "requires": { + "restore-cursor": "^2.0.0" + } + }, + "cli-truncate": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/cli-truncate/-/cli-truncate-0.2.1.tgz", + "integrity": "sha1-nxXPuwcFAFNpIWxiasfQWrkN1XQ=", + "dev": true, + "requires": { + "slice-ansi": "0.0.4", + "string-width": "^1.0.1" + }, + "dependencies": { + "slice-ansi": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-0.0.4.tgz", + "integrity": "sha1-7b+JA/ZvfOL46v1s7tZeJkyDGzU=", + "dev": true + } + } + }, + "cli-width": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.1.tgz", + "integrity": "sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw==", + "dev": true + }, + "code-point-at": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", + "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=" + }, + "collection-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", + "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", + "dev": true, + "requires": { + "map-visit": "^1.0.0", + "object-visit": "^1.0.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + }, + "commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" + }, + "common-tags": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/common-tags/-/common-tags-1.8.0.tgz", + "integrity": "sha512-6P6g0uetGpW/sdyUy/iQQCbFF0kWVMSIVSyYz7Zgjcgh8mgw8PQzDNZeyZ5DQ2gM7LBoZPHmnjz8rUthkBG5tw==", + "dev": true + }, + "component-emitter": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", + "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==", + "dev": true + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" + }, + "concat-stream": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", + "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", + "dev": true, + "requires": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + } + }, + "console-control-strings": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=" + }, + "contains-path": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/contains-path/-/contains-path-0.1.0.tgz", + "integrity": "sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo=", + "dev": true + }, + "convert-source-map": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz", + "integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==", + "requires": { + "safe-buffer": "~5.1.1" + } + }, + "copy-descriptor": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", + "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", + "dev": true + }, + "core-js": { + "version": "2.6.11", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.11.tgz", + "integrity": "sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg==" + }, + "core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" + }, + "cosmiconfig": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.2.1.tgz", + "integrity": "sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA==", + "dev": true, + "requires": { + "import-fresh": "^2.0.0", + "is-directory": "^0.3.1", + "js-yaml": "^3.13.1", + "parse-json": "^4.0.0" + }, + "dependencies": { + "import-fresh": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-2.0.0.tgz", + "integrity": "sha1-2BNVwVYS04bGH53dOSLUMEgipUY=", + "dev": true, + "requires": { + "caller-path": "^2.0.0", + "resolve-from": "^3.0.0" + } + }, + "parse-json": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", + "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", + "dev": true, + "requires": { + "error-ex": "^1.3.1", + "json-parse-better-errors": "^1.0.1" + } + }, + "resolve-from": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", + "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=", + "dev": true + } + } + }, + "cross-spawn": { + "version": "6.0.5", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", + "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", + "dev": true, + "requires": { + "nice-try": "^1.0.4", + "path-key": "^2.0.1", + "semver": "^5.5.0", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + } + }, + "cssfilter": { + "version": "0.0.10", + "resolved": "https://registry.npmjs.org/cssfilter/-/cssfilter-0.0.10.tgz", + "integrity": "sha1-xtJnJjKi5cg+AT5oZKQs6N79IK4=" + }, + "date-fns": { + "version": "1.30.1", + "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-1.30.1.tgz", + "integrity": "sha512-hBSVCvSmWC+QypYObzwGOd9wqdDpOt+0wl0KbU+R+uuZBS1jN8VsD1ss3irQDknRj5NvxiTF6oj/nDRnN/UQNw==", + "dev": true + }, + "debug": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", + "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", + "requires": { + "ms": "^2.1.1" + } + }, + "decode-uri-component": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", + "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", + "dev": true + }, + "dedent": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", + "integrity": "sha1-JJXduvbrh0q7Dhvp3yLS5aVEMmw=", + "dev": true + }, + "deep-extend": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==" + }, + "deep-is": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", + "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", + "dev": true + }, + "define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "dev": true, + "requires": { + "object-keys": "^1.0.12" + } + }, + "define-property": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", + "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", + "dev": true, + "requires": { + "is-descriptor": "^1.0.2", + "isobject": "^3.0.1" + }, + "dependencies": { + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + } + } + }, + "delegates": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=" + }, + "denque": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/denque/-/denque-1.4.1.tgz", + "integrity": "sha512-OfzPuSZKGcgr96rf1oODnfjqBFmr1DVoc/TrItj3Ohe0Ah1C5WX5Baquw/9U9KovnQ88EqmJbD66rKYUQYN1tQ==" + }, + "detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=" + }, + "dlv": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz", + "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==", + "dev": true + }, + "doctrine": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", + "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "dev": true, + "requires": { + "esutils": "^2.0.2" + } + }, + "dtrace-provider": { + "version": "0.8.8", + "resolved": "https://registry.npmjs.org/dtrace-provider/-/dtrace-provider-0.8.8.tgz", + "integrity": "sha512-b7Z7cNtHPhH9EJhNNbbeqTcXB8LGFFZhq1PGgEvpeHlzd36bhbdTWoE/Ba/YguqpBSlAPKnARWhVlhunCMwfxg==", + "optional": true, + "requires": { + "nan": "^2.14.0" + } + }, + "elegant-spinner": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/elegant-spinner/-/elegant-spinner-1.0.1.tgz", + "integrity": "sha1-2wQ1IcldfjA/2PNFvtwzSc+wcp4=", + "dev": true + }, + "emoji-regex": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", + "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", + "dev": true + }, + "error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, + "requires": { + "is-arrayish": "^0.2.1" + } + }, + "es-abstract": { + "version": "1.17.5", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.5.tgz", + "integrity": "sha512-BR9auzDbySxOcfog0tLECW8l28eRGpDpU3Dm3Hp4q/N+VtLTmyj4EUN088XZWQDW/hzj6sYRDXeOFsaAODKvpg==", + "dev": true, + "requires": { + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1", + "is-callable": "^1.1.5", + "is-regex": "^1.0.5", + "object-inspect": "^1.7.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.0", + "string.prototype.trimleft": "^2.1.1", + "string.prototype.trimright": "^2.1.1" + } + }, + "es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dev": true, + "requires": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + } + }, + "es6-promise": { + "version": "4.2.8", + "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz", + "integrity": "sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w==" + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" + }, + "eslint": { + "version": "5.16.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-5.16.0.tgz", + "integrity": "sha512-S3Rz11i7c8AA5JPv7xAH+dOyq/Cu/VXHiHXBPOU1k/JAM5dXqQPt3qcrhpHSorXmrpu2g0gkIBVXAqCpzfoZIg==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "ajv": "^6.9.1", + "chalk": "^2.1.0", + "cross-spawn": "^6.0.5", + "debug": "^4.0.1", + "doctrine": "^3.0.0", + "eslint-scope": "^4.0.3", + "eslint-utils": "^1.3.1", + "eslint-visitor-keys": "^1.0.0", + "espree": "^5.0.1", + "esquery": "^1.0.1", + "esutils": "^2.0.2", + "file-entry-cache": "^5.0.1", + "functional-red-black-tree": "^1.0.1", + "glob": "^7.1.2", + "globals": "^11.7.0", + "ignore": "^4.0.6", + "import-fresh": "^3.0.0", + "imurmurhash": "^0.1.4", + "inquirer": "^6.2.2", + "js-yaml": "^3.13.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.3.0", + "lodash": "^4.17.11", + "minimatch": "^3.0.4", + "mkdirp": "^0.5.1", + "natural-compare": "^1.4.0", + "optionator": "^0.8.2", + "path-is-inside": "^1.0.2", + "progress": "^2.0.0", + "regexpp": "^2.0.1", + "semver": "^5.5.1", + "strip-ansi": "^4.0.0", + "strip-json-comments": "^2.0.1", + "table": "^5.2.3", + "text-table": "^0.2.0" + }, + "dependencies": { + "ajv": { + "version": "6.12.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.2.tgz", + "integrity": "sha512-k+V+hzjm5q/Mr8ef/1Y9goCmlsK4I6Sm74teeyGvFk1XrOsbsKLjEdrvny42CZ+a8sXbk8KWpY/bDwS+FLL2UQ==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "fast-deep-equal": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz", + "integrity": "sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA==", + "dev": true + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "^3.0.0" + } + } + } + }, + "eslint-config-meteor": { + "version": "0.0.9", + "resolved": "https://registry.npmjs.org/eslint-config-meteor/-/eslint-config-meteor-0.0.9.tgz", + "integrity": "sha1-a+IZQguko+oCPbMKhm5g70h2Uvo=", + "dev": true + }, + "eslint-config-prettier": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-3.6.0.tgz", + "integrity": "sha512-ixJ4U3uTLXwJts4rmSVW/lMXjlGwCijhBJHk8iVqKKSifeI0qgFEfWl8L63isfc8Od7EiBALF6BX3jKLluf/jQ==", + "dev": true, + "requires": { + "get-stdin": "^6.0.0" + } + }, + "eslint-import-resolver-meteor": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-meteor/-/eslint-import-resolver-meteor-0.4.0.tgz", + "integrity": "sha1-yGhjhAghIIz4EzxczlGQnCamFWk=", + "dev": true, + "requires": { + "object-assign": "^4.0.1", + "resolve": "^1.1.6" + } + }, + "eslint-import-resolver-node": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.3.tgz", + "integrity": "sha512-b8crLDo0M5RSe5YG8Pu2DYBj71tSB6OvXkfzwbJU2w7y8P4/yo0MyF8jU26IEuEuHF2K5/gcAJE3LhQGqBBbVg==", + "dev": true, + "requires": { + "debug": "^2.6.9", + "resolve": "^1.13.1" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, + "eslint-module-utils": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.6.0.tgz", + "integrity": "sha512-6j9xxegbqe8/kZY8cYpcp0xhbK0EgJlg3g9mib3/miLaExuuwc3n5UEfSnU6hWMbT0FAYVvDbL9RrRgpUeQIvA==", + "dev": true, + "requires": { + "debug": "^2.6.9", + "pkg-dir": "^2.0.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, + "eslint-plugin-import": { + "version": "2.20.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.20.2.tgz", + "integrity": "sha512-FObidqpXrR8OnCh4iNsxy+WACztJLXAHBO5hK79T1Hc77PgQZkyDGA5Ag9xAvRpglvLNxhH/zSmZ70/pZ31dHg==", + "dev": true, + "requires": { + "array-includes": "^3.0.3", + "array.prototype.flat": "^1.2.1", + "contains-path": "^0.1.0", + "debug": "^2.6.9", + "doctrine": "1.5.0", + "eslint-import-resolver-node": "^0.3.2", + "eslint-module-utils": "^2.4.1", + "has": "^1.0.3", + "minimatch": "^3.0.4", + "object.values": "^1.1.0", + "read-pkg-up": "^2.0.0", + "resolve": "^1.12.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "doctrine": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz", + "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=", + "dev": true, + "requires": { + "esutils": "^2.0.2", + "isarray": "^1.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, + "eslint-plugin-meteor": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-meteor/-/eslint-plugin-meteor-5.2.0.tgz", + "integrity": "sha512-bHzs/0BwHdKcBbX7tYrSnBaMG+1i2f1wy8k6H/sBBsERD/yifmBUrNLiPyZkIvyVUeI8OaZw8U9fsMvLP5GhIg==", + "dev": true, + "requires": { + "invariant": "2.2.4" + } + }, + "eslint-plugin-prettier": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-3.1.3.tgz", + "integrity": "sha512-+HG5jmu/dN3ZV3T6eCD7a4BlAySdN7mLIbJYo0z1cFQuI+r2DiTJEFeF68ots93PsnrMxbzIZ2S/ieX+mkrBeQ==", + "dev": true, + "requires": { + "prettier-linter-helpers": "^1.0.0" + } + }, + "eslint-scope": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz", + "integrity": "sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg==", + "dev": true, + "requires": { + "esrecurse": "^4.1.0", + "estraverse": "^4.1.1" + } + }, + "eslint-utils": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.3.tgz", + "integrity": "sha512-fbBN5W2xdY45KulGXmLHZ3c3FHfVYmKg0IrAKGOkT/464PQsx2UeIzfz1RmEci+KLm1bBaAzZAh8+/E+XAeZ8Q==", + "dev": true, + "requires": { + "eslint-visitor-keys": "^1.1.0" + } + }, + "eslint-visitor-keys": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz", + "integrity": "sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A==", + "dev": true + }, + "espree": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-5.0.1.tgz", + "integrity": "sha512-qWAZcWh4XE/RwzLJejfcofscgMc9CamR6Tn1+XRXNzrvUSSbiAjGOI/fggztjIi7y9VLPqnICMIPiGyr8JaZ0A==", + "dev": true, + "requires": { + "acorn": "^6.0.7", + "acorn-jsx": "^5.0.0", + "eslint-visitor-keys": "^1.0.0" + } + }, + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true + }, + "esquery": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.3.1.tgz", + "integrity": "sha512-olpvt9QG0vniUBZspVRN6lwB7hOZoTRtT+jzR+tS4ffYx2mzbw+z0XCOk44aaLYKApNX5nMm+E+P6o25ip/DHQ==", + "dev": true, + "requires": { + "estraverse": "^5.1.0" + }, + "dependencies": { + "estraverse": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.1.0.tgz", + "integrity": "sha512-FyohXK+R0vE+y1nHLoBM7ZTyqRpqAlhdZHCWIWEviFLiGB8b04H6bQs8G+XTthacvT8VuwvteiP7RJSxMs8UEw==", + "dev": true + } + } + }, + "esrecurse": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz", + "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==", + "dev": true, + "requires": { + "estraverse": "^4.1.0" + } + }, + "estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "dev": true + }, + "esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true + }, + "execa": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/execa/-/execa-0.9.0.tgz", + "integrity": "sha512-BbUMBiX4hqiHZUA5+JujIjNb6TyAlp2D5KLheMjMluwOuzcnylDL4AxZYLLn1n2AGB49eSWwyKvvEQoRpnAtmA==", + "dev": true, + "requires": { + "cross-spawn": "^5.0.1", + "get-stream": "^3.0.0", + "is-stream": "^1.1.0", + "npm-run-path": "^2.0.0", + "p-finally": "^1.0.0", + "signal-exit": "^3.0.0", + "strip-eof": "^1.0.0" + }, + "dependencies": { + "cross-spawn": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", + "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=", + "dev": true, + "requires": { + "lru-cache": "^4.0.1", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + } + } + } + }, + "expand-brackets": { + "version": "2.1.4", + "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", + "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", + "dev": true, + "requires": { + "debug": "^2.3.3", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "posix-character-classes": "^0.1.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, + "extend-shallow": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", + "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", + "dev": true, + "requires": { + "assign-symbols": "^1.0.0", + "is-extendable": "^1.0.1" + }, + "dependencies": { + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "requires": { + "is-plain-object": "^2.0.4" + } + } + } + }, + "external-editor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", + "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", + "dev": true, + "requires": { + "chardet": "^0.7.0", + "iconv-lite": "^0.4.24", + "tmp": "^0.0.33" + } + }, + "extglob": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", + "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", + "dev": true, + "requires": { + "array-unique": "^0.3.2", + "define-property": "^1.0.0", + "expand-brackets": "^2.1.4", + "extend-shallow": "^2.0.1", + "fragment-cache": "^0.2.1", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + } + } + }, + "extsprintf": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.4.0.tgz", + "integrity": "sha1-4mifjzVvrWLMplo6kcXfX5VRaS8=" + }, + "fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + }, + "fast-diff": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.2.0.tgz", + "integrity": "sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==", + "dev": true + }, + "fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" + }, + "fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", + "dev": true + }, + "fibers": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/fibers/-/fibers-5.0.0.tgz", + "integrity": "sha512-UpGv/YAZp7mhKHxDvC1tColrroGRX90sSvh8RMZV9leo+e5+EkRVgCEZPlmXeo3BUNQTZxUaVdLskq1Q2FyCPg==", + "requires": { + "detect-libc": "^1.0.3" + } + }, + "figures": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", + "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=", + "dev": true, + "requires": { + "escape-string-regexp": "^1.0.5" + } + }, + "file-entry-cache": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz", + "integrity": "sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g==", + "dev": true, + "requires": { + "flat-cache": "^2.0.1" + } + }, + "fill-range": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", + "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", + "dev": true, + "requires": { + "extend-shallow": "^2.0.1", + "is-number": "^3.0.0", + "repeat-string": "^1.6.1", + "to-regex-range": "^2.1.0" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "find-parent-dir": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/find-parent-dir/-/find-parent-dir-0.3.0.tgz", + "integrity": "sha1-M8RLQpqysvBkYpnF+fcY83b/jVQ=", + "dev": true + }, + "find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "dev": true, + "requires": { + "locate-path": "^2.0.0" + } + }, + "flat-cache": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz", + "integrity": "sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA==", + "dev": true, + "requires": { + "flatted": "^2.0.0", + "rimraf": "2.6.3", + "write": "1.0.3" + }, + "dependencies": { + "flatted": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.2.tgz", + "integrity": "sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==", + "dev": true + }, + "rimraf": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", + "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", + "dev": true, + "requires": { + "glob": "^7.1.3" + } + } + } + }, + "flatted": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.0.4.tgz", + "integrity": "sha512-4gZhsMc26tSiMgQ+0gRN818ST2KCkX/4EvqocCkE1+SRb7mapNk4KLSP+XAj02jc8rxuyD3DrmI3a0BQ/TNOpg==" + }, + "flushwritable": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/flushwritable/-/flushwritable-1.0.0.tgz", + "integrity": "sha1-PjKNj95BKtR+c44751C00pAENJg=" + }, + "for-in": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", + "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", + "dev": true + }, + "fragment-cache": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", + "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=", + "dev": true, + "requires": { + "map-cache": "^0.2.2" + } + }, + "fs-minipass": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz", + "integrity": "sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA==", + "requires": { + "minipass": "^2.6.0" + } + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" + }, + "function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "dev": true + }, + "functional-red-black-tree": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", + "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", + "dev": true + }, + "gauge": { + "version": "2.7.4", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", + "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", + "requires": { + "aproba": "^1.0.3", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.0", + "object-assign": "^4.1.0", + "signal-exit": "^3.0.0", + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wide-align": "^1.1.0" + } + }, + "gensync": { + "version": "1.0.0-beta.1", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.1.tgz", + "integrity": "sha512-r8EC6NO1sngH/zdD9fiRDLdcgnbayXah+mLgManTaIZJqEC1MZstmnox8KpnI2/fxQwrp5OpCOYWLp4rBl4Jcg==" + }, + "get-own-enumerable-property-symbols": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.2.tgz", + "integrity": "sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g==", + "dev": true + }, + "get-stdin": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-6.0.0.tgz", + "integrity": "sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g==", + "dev": true + }, + "get-stream": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", + "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=", + "dev": true + }, + "get-value": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", + "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=", + "dev": true + }, + "glob": { + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==" + }, + "graceful-fs": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz", + "integrity": "sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ==", + "dev": true + }, + "gridfs-stream": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/gridfs-stream/-/gridfs-stream-1.1.1.tgz", + "integrity": "sha1-PdOhAOwgIaGBKC9utGcJY2B034k=", + "requires": { + "flushwritable": "^1.0.0" + } + }, + "has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dev": true, + "requires": { + "function-bind": "^1.1.1" + } + }, + "has-ansi": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", + "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", + "dev": true, + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + }, + "has-symbols": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", + "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==", + "dev": true + }, + "has-unicode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=" + }, + "has-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", + "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=", + "dev": true, + "requires": { + "get-value": "^2.0.6", + "has-values": "^1.0.0", + "isobject": "^3.0.0" + } + }, + "has-values": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz", + "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=", + "dev": true, + "requires": { + "is-number": "^3.0.0", + "kind-of": "^4.0.0" + }, + "dependencies": { + "kind-of": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", + "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "hosted-git-info": { + "version": "2.8.8", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.8.tgz", + "integrity": "sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg==", + "dev": true + }, + "iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + }, + "ieee754": { + "version": "1.1.13", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz", + "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==" + }, + "ignore": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", + "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", + "dev": true + }, + "ignore-walk": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.3.tgz", + "integrity": "sha512-m7o6xuOaT1aqheYHKf8W6J5pYH85ZI9w077erOzLje3JsB1gkafkAhHHY19dqjulgIZHFm32Cp5uNZgcQqdJKw==", + "requires": { + "minimatch": "^3.0.4" + } + }, + "immediate": { + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz", + "integrity": "sha1-nbHb0Pr43m++D13V5Wu2BigN5ps=" + }, + "import-fresh": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.1.tgz", + "integrity": "sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ==", + "dev": true, + "requires": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "dependencies": { + "resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true + } + } + }, + "imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", + "dev": true + }, + "indent-string": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-3.2.0.tgz", + "integrity": "sha1-Sl/W0nzDMvN+VBmlBNu4NxBckok=", + "dev": true + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "ini": { + "version": "1.3.5", + "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz", + "integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==" + }, + "inquirer": { + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-6.5.2.tgz", + "integrity": "sha512-cntlB5ghuB0iuO65Ovoi8ogLHiWGs/5yNrtUcKjFhSSiVeAIVpD7koaSU9RM8mpXw5YDi9RdYXGQMaOURB7ycQ==", + "dev": true, + "requires": { + "ansi-escapes": "^3.2.0", + "chalk": "^2.4.2", + "cli-cursor": "^2.1.0", + "cli-width": "^2.0.0", + "external-editor": "^3.0.3", + "figures": "^2.0.0", + "lodash": "^4.17.12", + "mute-stream": "0.0.7", + "run-async": "^2.2.0", + "rxjs": "^6.4.0", + "string-width": "^2.1.0", + "strip-ansi": "^5.1.0", + "through": "^2.3.6" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + }, + "dependencies": { + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "^3.0.0" + } + } + } + }, + "strip-ansi": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", + "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", + "dev": true, + "requires": { + "ansi-regex": "^4.1.0" + }, + "dependencies": { + "ansi-regex": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", + "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", + "dev": true + } + } + } + } + }, + "invariant": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", + "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", + "dev": true, + "requires": { + "loose-envify": "^1.0.0" + } + }, + "is-accessor-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", + "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", + "dev": true + }, + "is-buffer": { + "version": "1.1.6", + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", + "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==", + "dev": true + }, + "is-callable": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz", + "integrity": "sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q==", + "dev": true + }, + "is-data-descriptor": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", + "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-date-object": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz", + "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==", + "dev": true + }, + "is-descriptor": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", + "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^0.1.6", + "is-data-descriptor": "^0.1.4", + "kind-of": "^5.0.0" + }, + "dependencies": { + "kind-of": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", + "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", + "dev": true + } + } + }, + "is-directory": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz", + "integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=", + "dev": true + }, + "is-extendable": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", + "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", + "dev": true + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "is-glob": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", + "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", + "dev": true, + "requires": { + "is-extglob": "^2.1.1" + } + }, + "is-number": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", + "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "is-obj": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", + "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=", + "dev": true + }, + "is-observable": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-observable/-/is-observable-1.1.0.tgz", + "integrity": "sha512-NqCa4Sa2d+u7BWc6CukaObG3Fh+CU9bvixbpcXYhy2VvYS7vVGIdAgnIS5Ks3A/cqk4rebLJ9s8zBstT2aKnIA==", + "dev": true, + "requires": { + "symbol-observable": "^1.1.0" + } + }, + "is-plain-object": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", + "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", + "dev": true, + "requires": { + "isobject": "^3.0.1" + } + }, + "is-promise": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz", + "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=", + "dev": true + }, + "is-regex": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz", + "integrity": "sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ==", + "dev": true, + "requires": { + "has": "^1.0.3" + } + }, + "is-regexp": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz", + "integrity": "sha1-/S2INUXEa6xaYz57mgnof6LLUGk=", + "dev": true + }, + "is-stream": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", + "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", + "dev": true + }, + "is-string": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.5.tgz", + "integrity": "sha512-buY6VNRjhQMiF1qWDouloZlQbRhDPCebwxSjxMjxgemYT46YMd2NR0/H+fBhEfWX4A/w9TBJ+ol+okqJKFE6vQ==", + "dev": true + }, + "is-symbol": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz", + "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==", + "dev": true, + "requires": { + "has-symbols": "^1.0.1" + } + }, + "is-windows": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", + "dev": true + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + }, + "isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", + "dev": true + }, + "isobject": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", + "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", + "dev": true + }, + "jest-get-type": { + "version": "22.4.3", + "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-22.4.3.tgz", + "integrity": "sha512-/jsz0Y+V29w1chdXVygEKSz2nBoHoYqNShPe+QgxSNjAuP1i8+k4LbQNrfoliKej0P45sivkSCh7yiD6ubHS3w==", + "dev": true + }, + "jest-validate": { + "version": "23.6.0", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-23.6.0.tgz", + "integrity": "sha512-OFKapYxe72yz7agrDAWi8v2WL8GIfVqcbKRCLbRG9PAxtzF9b1SEDdTpytNDN12z2fJynoBwpMpvj2R39plI2A==", + "dev": true, + "requires": { + "chalk": "^2.0.1", + "jest-get-type": "^22.1.0", + "leven": "^2.1.0", + "pretty-format": "^23.6.0" + } + }, + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + }, + "js-yaml": { + "version": "3.13.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz", + "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==", + "dev": true, + "requires": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + } + }, + "jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==" + }, + "json-parse-better-errors": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", + "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", + "dev": true + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + }, + "json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", + "dev": true + }, + "json5": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.1.3.tgz", + "integrity": "sha512-KXPvOm8K9IJKFM0bmdn8QXh7udDh1g/giieX0NLCaMnb4hEiVFqnop2ImTXCc5e0/oHz3LTqmHGtExn5hfMkOA==", + "requires": { + "minimist": "^1.2.5" + } + }, + "jszip": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/jszip/-/jszip-3.4.0.tgz", + "integrity": "sha512-gZAOYuPl4EhPTXT0GjhI3o+ZAz3su6EhLrKUoAivcKqyqC7laS5JEv4XWZND9BgcDcF83vI85yGbDmDR6UhrIg==", + "requires": { + "lie": "~3.3.0", + "pako": "~1.0.2", + "readable-stream": "~2.3.6", + "set-immediate-shim": "~1.0.1" + } + }, + "kind-of": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", + "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", + "dev": true + }, + "ldap-filter": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/ldap-filter/-/ldap-filter-0.3.3.tgz", + "integrity": "sha1-KxTGiiqdQQTb28kQocqF/Riel5c=", + "requires": { + "assert-plus": "^1.0.0" + } + }, + "ldapjs": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/ldapjs/-/ldapjs-2.1.1.tgz", + "integrity": "sha512-XzF2BEGeM/nenYDAJvkDMYovZ07fIGalrYD+suprSqUWPCWpoa+a4vWl5g8o/En85m6NHWBpirDFNClWLAd77w==", + "requires": { + "abstract-logging": "^2.0.0", + "asn1": "^0.2.4", + "assert-plus": "^1.0.0", + "backoff": "^2.5.0", + "ldap-filter": "^0.3.3", + "once": "^1.4.0", + "vasync": "^2.2.0", + "verror": "^1.8.1" + } + }, + "leven": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/leven/-/leven-2.1.0.tgz", + "integrity": "sha1-wuep93IJTe6dNCAq6KzORoeHVYA=", + "dev": true + }, + "levn": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", + "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", + "dev": true, + "requires": { + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2" + } + }, + "lie": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/lie/-/lie-3.3.0.tgz", + "integrity": "sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==", + "requires": { + "immediate": "~3.0.5" + } + }, + "lint-staged": { + "version": "7.3.0", + "resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-7.3.0.tgz", + "integrity": "sha512-AXk40M9DAiPi7f4tdJggwuKIViUplYtVj1os1MVEteW7qOkU50EOehayCfO9TsoGK24o/EsWb41yrEgfJDDjCw==", + "dev": true, + "requires": { + "chalk": "^2.3.1", + "commander": "^2.14.1", + "cosmiconfig": "^5.0.2", + "debug": "^3.1.0", + "dedent": "^0.7.0", + "execa": "^0.9.0", + "find-parent-dir": "^0.3.0", + "is-glob": "^4.0.0", + "is-windows": "^1.0.2", + "jest-validate": "^23.5.0", + "listr": "^0.14.1", + "lodash": "^4.17.5", + "log-symbols": "^2.2.0", + "micromatch": "^3.1.8", + "npm-which": "^3.0.1", + "p-map": "^1.1.1", + "path-is-inside": "^1.0.2", + "pify": "^3.0.0", + "please-upgrade-node": "^3.0.2", + "staged-git-files": "1.1.1", + "string-argv": "^0.0.2", + "stringify-object": "^3.2.2" + }, + "dependencies": { + "debug": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", + "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + }, + "pify": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", + "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", + "dev": true + } + } + }, + "listr": { + "version": "0.14.3", + "resolved": "https://registry.npmjs.org/listr/-/listr-0.14.3.tgz", + "integrity": "sha512-RmAl7su35BFd/xoMamRjpIE4j3v+L28o8CT5YhAXQJm1fD+1l9ngXY8JAQRJ+tFK2i5njvi0iRUKV09vPwA0iA==", + "dev": true, + "requires": { + "@samverschueren/stream-to-observable": "^0.3.0", + "is-observable": "^1.1.0", + "is-promise": "^2.1.0", + "is-stream": "^1.1.0", + "listr-silent-renderer": "^1.1.1", + "listr-update-renderer": "^0.5.0", + "listr-verbose-renderer": "^0.5.0", + "p-map": "^2.0.0", + "rxjs": "^6.3.3" + }, + "dependencies": { + "p-map": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-2.1.0.tgz", + "integrity": "sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw==", + "dev": true + } + } + }, + "listr-silent-renderer": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/listr-silent-renderer/-/listr-silent-renderer-1.1.1.tgz", + "integrity": "sha1-kktaN1cVN3C/Go4/v3S4u/P5JC4=", + "dev": true + }, + "listr-update-renderer": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/listr-update-renderer/-/listr-update-renderer-0.5.0.tgz", + "integrity": "sha512-tKRsZpKz8GSGqoI/+caPmfrypiaq+OQCbd+CovEC24uk1h952lVj5sC7SqyFUm+OaJ5HN/a1YLt5cit2FMNsFA==", + "dev": true, + "requires": { + "chalk": "^1.1.3", + "cli-truncate": "^0.2.1", + "elegant-spinner": "^1.0.1", + "figures": "^1.7.0", + "indent-string": "^3.0.0", + "log-symbols": "^1.0.2", + "log-update": "^2.3.0", + "strip-ansi": "^3.0.1" + }, + "dependencies": { + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", + "dev": true + }, + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "dev": true, + "requires": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + } + }, + "figures": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", + "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=", + "dev": true, + "requires": { + "escape-string-regexp": "^1.0.5", + "object-assign": "^4.1.0" + } + }, + "log-symbols": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-1.0.2.tgz", + "integrity": "sha1-N2/3tY6jCGoPCfrMdGF+ylAeGhg=", + "dev": true, + "requires": { + "chalk": "^1.0.0" + } + }, + "supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", + "dev": true + } + } + }, + "listr-verbose-renderer": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/listr-verbose-renderer/-/listr-verbose-renderer-0.5.0.tgz", + "integrity": "sha512-04PDPqSlsqIOaaaGZ+41vq5FejI9auqTInicFRndCBgE3bXG8D6W1I+mWhk+1nqbHmyhla/6BUrd5OSiHwKRXw==", + "dev": true, + "requires": { + "chalk": "^2.4.1", + "cli-cursor": "^2.1.0", + "date-fns": "^1.27.2", + "figures": "^2.0.0" + } + }, + "load-json-file": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", + "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "strip-bom": "^3.0.0" + } + }, + "locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "dev": true, + "requires": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + } + }, + "lodash": { + "version": "4.17.19", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.19.tgz", + "integrity": "sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==" + }, + "lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true + }, + "lodash.unescape": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/lodash.unescape/-/lodash.unescape-4.0.1.tgz", + "integrity": "sha1-vyJJiGzlFM2hEvrpIYzcBlIR/Jw=", + "dev": true + }, + "log-symbols": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz", + "integrity": "sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg==", + "dev": true, + "requires": { + "chalk": "^2.0.1" + } + }, + "log-update": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/log-update/-/log-update-2.3.0.tgz", + "integrity": "sha1-iDKP19HOeTiykoN0bwsbwSayRwg=", + "dev": true, + "requires": { + "ansi-escapes": "^3.0.0", + "cli-cursor": "^2.0.0", + "wrap-ansi": "^3.0.1" + } + }, + "loglevel": { + "version": "1.6.8", + "resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.6.8.tgz", + "integrity": "sha512-bsU7+gc9AJ2SqpzxwU3+1fedl8zAntbtC5XYlt3s2j1hJcn2PsXSmgN8TaLG/J1/2mod4+cE/3vNL70/c1RNCA==", + "dev": true + }, + "loglevel-colored-level-prefix": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/loglevel-colored-level-prefix/-/loglevel-colored-level-prefix-1.0.0.tgz", + "integrity": "sha1-akAhj9x64V/HbD0PPmdsRlOIYD4=", + "dev": true, + "requires": { + "chalk": "^1.1.3", + "loglevel": "^1.4.1" + }, + "dependencies": { + "ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", + "dev": true + }, + "chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", + "dev": true, + "requires": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + } + }, + "supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", + "dev": true + } + } + }, + "long": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", + "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" + }, + "loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "dev": true, + "requires": { + "js-tokens": "^3.0.0 || ^4.0.0" + } + }, + "lru-cache": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz", + "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==", + "dev": true, + "requires": { + "pseudomap": "^1.0.2", + "yallist": "^2.1.2" + }, + "dependencies": { + "yallist": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", + "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=", + "dev": true + } + } + }, + "map-cache": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", + "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=", + "dev": true + }, + "map-visit": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", + "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=", + "dev": true, + "requires": { + "object-visit": "^1.0.0" + } + }, + "memory-pager": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/memory-pager/-/memory-pager-1.5.0.tgz", + "integrity": "sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==", + "optional": true + }, + "meteor-node-stubs": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/meteor-node-stubs/-/meteor-node-stubs-1.0.1.tgz", + "integrity": "sha512-I4PE/z7eAl45XEsebHA4pcQbgjqEdK3EBGgiUoIZBi3bMQcMq6blLWZo+WdtK4Or9X4NJOiYWw4GmHiubr3egA==", + "requires": { + "assert": "^1.4.1", + "browserify-zlib": "^0.2.0", + "buffer": "^5.2.1", + "console-browserify": "^1.1.0", + "constants-browserify": "^1.0.0", + "crypto-browserify": "^3.12.0", + "domain-browser": "^1.2.0", + "events": "^3.0.0", + "https-browserify": "^1.0.0", + "os-browserify": "^0.3.0", + "path-browserify": "^1.0.0", + "process": "^0.11.10", + "punycode": "^2.1.1", + "querystring-es3": "^0.2.1", + "readable-stream": "^3.3.0", + "stream-browserify": "^2.0.2", + "stream-http": "^3.0.0", + "string_decoder": "^1.2.0", + "timers-browserify": "^2.0.10", + "tty-browserify": "0.0.1", + "url": "^0.11.0", + "util": "^0.11.1", + "vm-browserify": "^1.1.0" + }, + "dependencies": { + "asn1.js": { + "version": "4.10.1", + "bundled": true, + "requires": { + "bn.js": "^4.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0" + } + }, + "assert": { + "version": "1.4.1", + "bundled": true, + "requires": { + "util": "0.10.3" + }, + "dependencies": { + "util": { + "version": "0.10.3", + "bundled": true, + "requires": { + "inherits": "2.0.1" + } + } + } + }, + "base64-js": { + "version": "1.3.0", + "bundled": true + }, + "bn.js": { + "version": "4.11.8", + "bundled": true + }, + "brorand": { + "version": "1.1.0", + "bundled": true + }, + "browserify-aes": { + "version": "1.2.0", + "bundled": true, + "requires": { + "buffer-xor": "^1.0.3", + "cipher-base": "^1.0.0", + "create-hash": "^1.1.0", + "evp_bytestokey": "^1.0.3", + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "browserify-cipher": { + "version": "1.0.1", + "bundled": true, + "requires": { + "browserify-aes": "^1.0.4", + "browserify-des": "^1.0.0", + "evp_bytestokey": "^1.0.0" + } + }, + "browserify-des": { + "version": "1.0.2", + "bundled": true, + "requires": { + "cipher-base": "^1.0.1", + "des.js": "^1.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "browserify-rsa": { + "version": "4.0.1", + "bundled": true, + "requires": { + "bn.js": "^4.1.0", + "randombytes": "^2.0.1" + } + }, + "browserify-sign": { + "version": "4.0.4", + "bundled": true, + "requires": { + "bn.js": "^4.1.1", + "browserify-rsa": "^4.0.0", + "create-hash": "^1.1.0", + "create-hmac": "^1.1.2", + "elliptic": "^6.0.0", + "inherits": "^2.0.1", + "parse-asn1": "^5.0.0" + } + }, + "browserify-zlib": { + "version": "0.2.0", + "bundled": true, + "requires": { + "pako": "~1.0.5" + } + }, + "buffer": { + "version": "5.2.1", + "bundled": true, + "requires": { + "base64-js": "^1.0.2", + "ieee754": "^1.1.4" + } + }, + "buffer-xor": { + "version": "1.0.3", + "bundled": true + }, + "builtin-status-codes": { + "version": "3.0.0", + "bundled": true + }, + "cipher-base": { + "version": "1.0.4", + "bundled": true, + "requires": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "console-browserify": { + "version": "1.1.0", + "bundled": true, + "requires": { + "date-now": "^0.1.4" + } + }, + "constants-browserify": { + "version": "1.0.0", + "bundled": true + }, + "core-util-is": { + "version": "1.0.2", + "bundled": true + }, + "create-ecdh": { + "version": "4.0.3", + "bundled": true, + "requires": { + "bn.js": "^4.1.0", + "elliptic": "^6.0.0" + } + }, + "create-hash": { + "version": "1.2.0", + "bundled": true, + "requires": { + "cipher-base": "^1.0.1", + "inherits": "^2.0.1", + "md5.js": "^1.3.4", + "ripemd160": "^2.0.1", + "sha.js": "^2.4.0" + } + }, + "create-hmac": { + "version": "1.1.7", + "bundled": true, + "requires": { + "cipher-base": "^1.0.3", + "create-hash": "^1.1.0", + "inherits": "^2.0.1", + "ripemd160": "^2.0.0", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, + "crypto-browserify": { + "version": "3.12.0", + "bundled": true, + "requires": { + "browserify-cipher": "^1.0.0", + "browserify-sign": "^4.0.0", + "create-ecdh": "^4.0.0", + "create-hash": "^1.1.0", + "create-hmac": "^1.1.0", + "diffie-hellman": "^5.0.0", + "inherits": "^2.0.1", + "pbkdf2": "^3.0.3", + "public-encrypt": "^4.0.0", + "randombytes": "^2.0.0", + "randomfill": "^1.0.3" + } + }, + "date-now": { + "version": "0.1.4", + "bundled": true + }, + "des.js": { + "version": "1.0.0", + "bundled": true, + "requires": { + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0" + } + }, + "diffie-hellman": { + "version": "5.0.3", + "bundled": true, + "requires": { + "bn.js": "^4.1.0", + "miller-rabin": "^4.0.0", + "randombytes": "^2.0.0" + } + }, + "domain-browser": { + "version": "1.2.0", + "bundled": true + }, + "elliptic": { + "version": "6.5.3", + "bundled": true, + "requires": { + "bn.js": "^4.4.0", + "brorand": "^1.0.1", + "hash.js": "^1.0.0", + "hmac-drbg": "^1.0.0", + "inherits": "^2.0.1", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.0" + } + }, + "events": { + "version": "3.0.0", + "bundled": true + }, + "evp_bytestokey": { + "version": "1.0.3", + "bundled": true, + "requires": { + "md5.js": "^1.3.4", + "safe-buffer": "^5.1.1" + } + }, + "hash-base": { + "version": "3.0.4", + "bundled": true, + "requires": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "hash.js": { + "version": "1.1.7", + "bundled": true, + "requires": { + "inherits": "^2.0.3", + "minimalistic-assert": "^1.0.1" + }, + "dependencies": { + "inherits": { + "version": "2.0.3", + "bundled": true + } + } + }, + "hmac-drbg": { + "version": "1.0.1", + "bundled": true, + "requires": { + "hash.js": "^1.0.3", + "minimalistic-assert": "^1.0.0", + "minimalistic-crypto-utils": "^1.0.1" + } + }, + "https-browserify": { + "version": "1.0.0", + "bundled": true + }, + "ieee754": { + "version": "1.1.13", + "bundled": true + }, + "inherits": { + "version": "2.0.1", + "bundled": true + }, + "isarray": { + "version": "1.0.0", + "bundled": true + }, + "md5.js": { + "version": "1.3.5", + "bundled": true, + "requires": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "miller-rabin": { + "version": "4.0.1", + "bundled": true, + "requires": { + "bn.js": "^4.0.0", + "brorand": "^1.0.1" + } + }, + "minimalistic-assert": { + "version": "1.0.1", + "bundled": true + }, + "minimalistic-crypto-utils": { + "version": "1.0.1", + "bundled": true + }, + "os-browserify": { + "version": "0.3.0", + "bundled": true + }, + "pako": { + "version": "1.0.10", + "bundled": true + }, + "parse-asn1": { + "version": "5.1.4", + "bundled": true, + "requires": { + "asn1.js": "^4.0.0", + "browserify-aes": "^1.0.0", + "create-hash": "^1.1.0", + "evp_bytestokey": "^1.0.0", + "pbkdf2": "^3.0.3", + "safe-buffer": "^5.1.1" + } + }, + "path-browserify": { + "version": "1.0.0", + "bundled": true + }, + "pbkdf2": { + "version": "3.0.17", + "bundled": true, + "requires": { + "create-hash": "^1.1.2", + "create-hmac": "^1.1.4", + "ripemd160": "^2.0.1", + "safe-buffer": "^5.0.1", + "sha.js": "^2.4.8" + } + }, + "process": { + "version": "0.11.10", + "bundled": true + }, + "process-nextick-args": { + "version": "2.0.0", + "bundled": true + }, + "public-encrypt": { + "version": "4.0.3", + "bundled": true, + "requires": { + "bn.js": "^4.1.0", + "browserify-rsa": "^4.0.0", + "create-hash": "^1.1.0", + "parse-asn1": "^5.0.0", + "randombytes": "^2.0.1", + "safe-buffer": "^5.1.2" + } + }, + "punycode": { + "version": "2.1.1", + "bundled": true + }, + "querystring": { + "version": "0.2.0", + "bundled": true + }, + "querystring-es3": { + "version": "0.2.1", + "bundled": true + }, + "randombytes": { + "version": "2.1.0", + "bundled": true, + "requires": { + "safe-buffer": "^5.1.0" + } + }, + "randomfill": { + "version": "1.0.4", + "bundled": true, + "requires": { + "randombytes": "^2.0.5", + "safe-buffer": "^5.1.0" + } + }, + "readable-stream": { + "version": "3.3.0", + "bundled": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "dependencies": { + "inherits": { + "version": "2.0.3", + "bundled": true + } + } + }, + "ripemd160": { + "version": "2.0.2", + "bundled": true, + "requires": { + "hash-base": "^3.0.0", + "inherits": "^2.0.1" + } + }, + "safe-buffer": { + "version": "5.1.2", + "bundled": true + }, + "setimmediate": { + "version": "1.0.5", + "bundled": true + }, + "sha.js": { + "version": "2.4.11", + "bundled": true, + "requires": { + "inherits": "^2.0.1", + "safe-buffer": "^5.0.1" + } + }, + "stream-browserify": { + "version": "2.0.2", + "bundled": true, + "requires": { + "inherits": "~2.0.1", + "readable-stream": "^2.0.2" + }, + "dependencies": { + "readable-stream": { + "version": "2.3.6", + "bundled": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + }, + "dependencies": { + "inherits": { + "version": "2.0.3", + "bundled": true + } + } + }, + "string_decoder": { + "version": "1.1.1", + "bundled": true, + "requires": { + "safe-buffer": "~5.1.0" + } + } + } + }, + "stream-http": { + "version": "3.0.0", + "bundled": true, + "requires": { + "builtin-status-codes": "^3.0.0", + "inherits": "^2.0.1", + "readable-stream": "^3.0.6", + "xtend": "^4.0.0" + } + }, + "string_decoder": { + "version": "1.2.0", + "bundled": true, + "requires": { + "safe-buffer": "~5.1.0" + } + }, + "timers-browserify": { + "version": "2.0.10", + "bundled": true, + "requires": { + "setimmediate": "^1.0.4" + } + }, + "tty-browserify": { + "version": "0.0.1", + "bundled": true + }, + "url": { + "version": "0.11.0", + "bundled": true, + "requires": { + "punycode": "1.3.2", + "querystring": "0.2.0" + }, + "dependencies": { + "punycode": { + "version": "1.3.2", + "bundled": true + } + } + }, + "util": { + "version": "0.11.1", + "bundled": true, + "requires": { + "inherits": "2.0.3" + }, + "dependencies": { + "inherits": { + "version": "2.0.3", + "bundled": true + } + } + }, + "util-deprecate": { + "version": "1.0.2", + "bundled": true + }, + "vm-browserify": { + "version": "1.1.0", + "bundled": true + }, + "xtend": { + "version": "4.0.1", + "bundled": true + } + } + }, + "micromatch": { + "version": "3.1.10", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", + "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", + "dev": true, + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "braces": "^2.3.1", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "extglob": "^2.0.4", + "fragment-cache": "^0.2.1", + "kind-of": "^6.0.2", + "nanomatch": "^1.2.9", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.2" + } + }, + "mimic-fn": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", + "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", + "dev": true + }, + "minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "minimist": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" + }, + "minipass": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz", + "integrity": "sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==", + "requires": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "minizlib": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz", + "integrity": "sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==", + "requires": { + "minipass": "^2.9.0" + } + }, + "mixin-deep": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", + "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==", + "dev": true, + "requires": { + "for-in": "^1.0.2", + "is-extendable": "^1.0.1" + }, + "dependencies": { + "is-extendable": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", + "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", + "dev": true, + "requires": { + "is-plain-object": "^2.0.4" + } + } + } + }, + "mkdirp": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", + "requires": { + "minimist": "^1.2.5" + } + }, + "moment": { + "version": "2.26.0", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.26.0.tgz", + "integrity": "sha512-oIixUO+OamkUkwjhAVE18rAMfRJNsNe/Stid/gwHSOfHrOtw9EhAY2AHvdKZ/k/MggcYELFCJz/Sn2pL8b8JMw==", + "optional": true + }, + "mongodb": { + "version": "3.5.8", + "resolved": "https://registry.npmjs.org/mongodb/-/mongodb-3.5.8.tgz", + "integrity": "sha512-jz7mR58z66JKL8Px4ZY+FXbgB7d0a0hEGCT7kw8iye46/gsqPrOEpZOswwJ2BQlfzsrCLKdsF9UcaUfGVN2HrQ==", + "requires": { + "bl": "^2.2.0", + "bson": "^1.1.4", + "denque": "^1.4.1", + "require_optional": "^1.0.1", + "safe-buffer": "^5.1.2", + "saslprep": "^1.0.0" + }, + "dependencies": { + "bson": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/bson/-/bson-1.1.4.tgz", + "integrity": "sha512-S/yKGU1syOMzO86+dGpg2qGoDL0zvzcb262G+gqEy6TgP6rt6z6qxSFX/8X6vLC91P7G7C3nLs0+bvDzmvBA3Q==" + } + } + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "mute-stream": { + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz", + "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=", + "dev": true + }, + "mv": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/mv/-/mv-2.1.1.tgz", + "integrity": "sha1-rmzg1vbV4KT32JN5jQPB6pVZtqI=", + "optional": true, + "requires": { + "mkdirp": "~0.5.1", + "ncp": "~2.0.0", + "rimraf": "~2.4.0" + }, + "dependencies": { + "glob": { + "version": "6.0.4", + "resolved": "https://registry.npmjs.org/glob/-/glob-6.0.4.tgz", + "integrity": "sha1-DwiGD2oVUSey+t1PnOJLGqtuTSI=", + "optional": true, + "requires": { + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "2 || 3", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "rimraf": { + "version": "2.4.5", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.4.5.tgz", + "integrity": "sha1-7nEM5dk6j9uFb7Xqj/Di11k0sto=", + "optional": true, + "requires": { + "glob": "^6.0.1" + } + } + } + }, + "nan": { + "version": "2.14.0", + "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.0.tgz", + "integrity": "sha512-INOFj37C7k3AfaNTtX8RhsTw7qRy7eLET14cROi9+5HAVbbHuIWUHEauBv5qT4Av2tWasiTY1Jw6puUNqRJXQg==", + "optional": true + }, + "nanomatch": { + "version": "1.2.13", + "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", + "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", + "dev": true, + "requires": { + "arr-diff": "^4.0.0", + "array-unique": "^0.3.2", + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "fragment-cache": "^0.2.1", + "is-windows": "^1.0.2", + "kind-of": "^6.0.2", + "object.pick": "^1.3.0", + "regex-not": "^1.0.0", + "snapdragon": "^0.8.1", + "to-regex": "^3.0.1" + } + }, + "natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", + "dev": true + }, + "ncp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ncp/-/ncp-2.0.0.tgz", + "integrity": "sha1-GVoh1sRuNh0vsSgbo4uR6d9727M=", + "optional": true + }, + "needle": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/needle/-/needle-2.5.0.tgz", + "integrity": "sha512-o/qITSDR0JCyCKEQ1/1bnUXMmznxabbwi/Y4WwJElf+evwJNFNwIDMCCt5IigFVxgeGBJESLohGtIS9gEzo1fA==", + "requires": { + "debug": "^3.2.6", + "iconv-lite": "^0.4.4", + "sax": "^1.2.4" + }, + "dependencies": { + "debug": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", + "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", + "requires": { + "ms": "^2.1.1" + } + } + } + }, + "nice-try": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", + "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", + "dev": true + }, + "node-addon-api": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.0.0.tgz", + "integrity": "sha512-sSHCgWfJ+Lui/u+0msF3oyCgvdkhxDbkCS6Q8uiJquzOimkJBvX6hl5aSSA7DR1XbMpdM8r7phjcF63sF4rkKg==" + }, + "node-pre-gyp": { + "version": "0.15.0", + "resolved": "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.15.0.tgz", + "integrity": "sha512-7QcZa8/fpaU/BKenjcaeFF9hLz2+7S9AqyXFhlH/rilsQ/hPZKK32RtR5EQHJElgu+q5RfbJ34KriI79UWaorA==", + "requires": { + "detect-libc": "^1.0.2", + "mkdirp": "^0.5.3", + "needle": "^2.5.0", + "nopt": "^4.0.1", + "npm-packlist": "^1.1.6", + "npmlog": "^4.0.2", + "rc": "^1.2.7", + "rimraf": "^2.6.1", + "semver": "^5.3.0", + "tar": "^4.4.2" + } + }, + "nopt": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.3.tgz", + "integrity": "sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg==", + "requires": { + "abbrev": "1", + "osenv": "^0.1.4" + } + }, + "normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "requires": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "npm-bundled": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.1.1.tgz", + "integrity": "sha512-gqkfgGePhTpAEgUsGEgcq1rqPXA+tv/aVBlgEzfXwA1yiUJF7xtEt3CtVwOjNYQOVknDk0F20w58Fnm3EtG0fA==", + "requires": { + "npm-normalize-package-bin": "^1.0.1" + } + }, + "npm-normalize-package-bin": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz", + "integrity": "sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==" + }, + "npm-packlist": { + "version": "1.4.8", + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.4.8.tgz", + "integrity": "sha512-5+AZgwru5IevF5ZdnFglB5wNlHG1AOOuw28WhUq8/8emhBmLv6jX5by4WJCh7lW0uSYZYS6DXqIsyZVIXRZU9A==", + "requires": { + "ignore-walk": "^3.0.1", + "npm-bundled": "^1.0.1", + "npm-normalize-package-bin": "^1.0.1" + } + }, + "npm-path": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/npm-path/-/npm-path-2.0.4.tgz", + "integrity": "sha512-IFsj0R9C7ZdR5cP+ET342q77uSRdtWOlWpih5eC+lu29tIDbNEgDbzgVJ5UFvYHWhxDZ5TFkJafFioO0pPQjCw==", + "dev": true, + "requires": { + "which": "^1.2.10" + } + }, + "npm-run-path": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", + "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", + "dev": true, + "requires": { + "path-key": "^2.0.0" + } + }, + "npm-which": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/npm-which/-/npm-which-3.0.1.tgz", + "integrity": "sha1-kiXybsOihcIJyuZ8OxGmtKtxQKo=", + "dev": true, + "requires": { + "commander": "^2.9.0", + "npm-path": "^2.0.2", + "which": "^1.2.10" + } + }, + "npmlog": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", + "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", + "requires": { + "are-we-there-yet": "~1.1.2", + "console-control-strings": "~1.1.0", + "gauge": "~2.7.3", + "set-blocking": "~2.0.0" + } + }, + "number-is-nan": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", + "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=" + }, + "object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + }, + "object-copy": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", + "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=", + "dev": true, + "requires": { + "copy-descriptor": "^0.1.0", + "define-property": "^0.2.5", + "kind-of": "^3.0.3" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "object-inspect": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.7.0.tgz", + "integrity": "sha512-a7pEHdh1xKIAgTySUGgLMx/xwDZskN1Ud6egYYN3EdRW4ZMPNEDUTF+hwy2LUC+Bl+SyLXANnwz/jyh/qutKUw==", + "dev": true + }, + "object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true + }, + "object-visit": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", + "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=", + "dev": true, + "requires": { + "isobject": "^3.0.0" + } + }, + "object.assign": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz", + "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==", + "dev": true, + "requires": { + "define-properties": "^1.1.2", + "function-bind": "^1.1.1", + "has-symbols": "^1.0.0", + "object-keys": "^1.0.11" + } + }, + "object.pick": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", + "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=", + "dev": true, + "requires": { + "isobject": "^3.0.1" + } + }, + "object.values": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.1.tgz", + "integrity": "sha512-WTa54g2K8iu0kmS/us18jEmdv1a4Wi//BZ/DTVYEcH0XhLM5NYdpDHja3gt57VrZLcNAO2WGA+KpWsDBaHt6eA==", + "dev": true, + "requires": { + "define-properties": "^1.1.3", + "es-abstract": "^1.17.0-next.1", + "function-bind": "^1.1.1", + "has": "^1.0.3" + } + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "requires": { + "wrappy": "1" + } + }, + "onetime": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", + "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=", + "dev": true, + "requires": { + "mimic-fn": "^1.0.0" + } + }, + "optionator": { + "version": "0.8.3", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", + "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", + "dev": true, + "requires": { + "deep-is": "~0.1.3", + "fast-levenshtein": "~2.0.6", + "levn": "~0.3.0", + "prelude-ls": "~1.1.2", + "type-check": "~0.3.2", + "word-wrap": "~1.2.3" + } + }, + "os": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/os/-/os-0.1.1.tgz", + "integrity": "sha1-IIhF6J4ZOtTZcUdLk5R3NqVtE/M=" + }, + "os-homedir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", + "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=" + }, + "os-shim": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/os-shim/-/os-shim-0.1.3.tgz", + "integrity": "sha1-a2LDeRz3kJ6jXtRuF2WLtBfLORc=", + "dev": true + }, + "os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=" + }, + "osenv": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", + "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", + "requires": { + "os-homedir": "^1.0.0", + "os-tmpdir": "^1.0.0" + } + }, + "p-finally": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", + "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", + "dev": true + }, + "p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dev": true, + "requires": { + "p-try": "^1.0.0" + } + }, + "p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "dev": true, + "requires": { + "p-limit": "^1.1.0" + } + }, + "p-map": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/p-map/-/p-map-1.2.0.tgz", + "integrity": "sha512-r6zKACMNhjPJMTl8KcFH4li//gkrXWfbD6feV8l6doRHlzljFWGJ2AP6iKaCJXyZmAUMOPtvbW7EXkbWO/pLEA==", + "dev": true + }, + "p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", + "dev": true + }, + "page": { + "version": "1.11.6", + "resolved": "https://registry.npmjs.org/page/-/page-1.11.6.tgz", + "integrity": "sha512-P6e2JfzkBrPeFCIPplLP7vDDiU84RUUZMrWdsH4ZBGJ8OosnwFkcUkBHp1DTIjuipLliw9yQn/ZJsXZvarsO+g==", + "requires": { + "path-to-regexp": "~1.2.1" + } + }, + "pako": { + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", + "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==" + }, + "papaparse": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/papaparse/-/papaparse-5.2.0.tgz", + "integrity": "sha512-ylq1wgUSnagU+MKQtNeVqrPhZuMYBvOSL00DHycFTCxownF95gpLAk1HiHdUW77N8yxRq1qHXLdlIPyBSG9NSA==" + }, + "parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "requires": { + "callsites": "^3.0.0" + } + }, + "parse-json": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", + "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", + "dev": true, + "requires": { + "error-ex": "^1.2.0" + } + }, + "pascalcase": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", + "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=", + "dev": true + }, + "path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true + }, + "path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" + }, + "path-is-inside": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", + "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=", + "dev": true + }, + "path-key": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", + "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", + "dev": true + }, + "path-parse": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", + "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==" + }, + "path-to-regexp": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.2.1.tgz", + "integrity": "sha1-szcFwUAjTYc8hyHHuf2LVB7Tr/k=", + "requires": { + "isarray": "0.0.1" + }, + "dependencies": { + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=" + } + } + }, + "path-type": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", + "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", + "dev": true, + "requires": { + "pify": "^2.0.0" + } + }, + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + }, + "pkg-dir": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz", + "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=", + "dev": true, + "requires": { + "find-up": "^2.1.0" + } + }, + "please-upgrade-node": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/please-upgrade-node/-/please-upgrade-node-3.2.0.tgz", + "integrity": "sha512-gQR3WpIgNIKwBMVLkpMUeR3e1/E1y42bqDQZfql+kDeXd8COYfM8PQA4X6y7a8u9Ua9FHmsrrmirW2vHs45hWg==", + "dev": true, + "requires": { + "semver-compare": "^1.0.0" + } + }, + "posix-character-classes": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", + "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=", + "dev": true + }, + "pre-commit": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/pre-commit/-/pre-commit-1.2.2.tgz", + "integrity": "sha1-287g7p3nI15X95xW186UZBpp7sY=", + "dev": true, + "requires": { + "cross-spawn": "^5.0.1", + "spawn-sync": "^1.0.15", + "which": "1.2.x" + }, + "dependencies": { + "cross-spawn": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", + "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=", + "dev": true, + "requires": { + "lru-cache": "^4.0.1", + "shebang-command": "^1.2.0", + "which": "^1.2.9" + } + }, + "which": { + "version": "1.2.14", + "resolved": "https://registry.npmjs.org/which/-/which-1.2.14.tgz", + "integrity": "sha1-mofEN48D6CfOyvGs31bHNsAcFOU=", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + } + } + }, + "precond": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/precond/-/precond-0.2.3.tgz", + "integrity": "sha1-qpWRvKokkj8eD0hJ0kD0fvwQdaw=" + }, + "prelude-ls": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", + "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", + "dev": true + }, + "prettier": { + "version": "1.19.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.19.1.tgz", + "integrity": "sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==", + "dev": true + }, + "prettier-eslint": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/prettier-eslint/-/prettier-eslint-9.0.2.tgz", + "integrity": "sha512-u6EQqxUhaGfra9gy9shcR7MT7r/2twwEfRGy1tfzyaJvLQwSg34M9IU5HuF7FsLW2QUgr5VIUc56EPWibw1pdw==", + "dev": true, + "requires": { + "@typescript-eslint/parser": "^1.10.2", + "common-tags": "^1.4.0", + "core-js": "^3.1.4", + "dlv": "^1.1.0", + "eslint": "^5.0.0", + "indent-string": "^4.0.0", + "lodash.merge": "^4.6.0", + "loglevel-colored-level-prefix": "^1.0.0", + "prettier": "^1.7.0", + "pretty-format": "^23.0.1", + "require-relative": "^0.8.7", + "typescript": "^3.2.1", + "vue-eslint-parser": "^2.0.2" + }, + "dependencies": { + "core-js": { + "version": "3.6.5", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.6.5.tgz", + "integrity": "sha512-vZVEEwZoIsI+vPEuoF9Iqf5H7/M3eeQqWlQnYa8FSKKePuYTf5MWnxb5SDAzCa60b3JBRS5g9b+Dq7b1y/RCrA==", + "dev": true + }, + "indent-string": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", + "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", + "dev": true + } + } + }, + "prettier-linter-helpers": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz", + "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==", + "dev": true, + "requires": { + "fast-diff": "^1.1.2" + } + }, + "pretty-format": { + "version": "23.6.0", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-23.6.0.tgz", + "integrity": "sha512-zf9NV1NSlDLDjycnwm6hpFATCGl/K1lt0R/GdkAK2O5LN/rwJoB+Mh93gGJjut4YbmecbfgLWVGSTCr0Ewvvbw==", + "dev": true, + "requires": { + "ansi-regex": "^3.0.0", + "ansi-styles": "^3.2.0" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + } + } + }, + "process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" + }, + "progress": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", + "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", + "dev": true + }, + "pseudomap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", + "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=", + "dev": true + }, + "punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" + }, + "qs": { + "version": "6.9.4", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.4.tgz", + "integrity": "sha512-A1kFqHekCTM7cz0udomYUoYNWjBebHm/5wzU/XqrBRBNWectVH0QIiN+NEcZ0Dte5hvzHwbr8+XQmguPhJ6WdQ==" + }, + "rc": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", + "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", + "requires": { + "deep-extend": "^0.6.0", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + } + }, + "read-pkg": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", + "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", + "dev": true, + "requires": { + "load-json-file": "^2.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^2.0.0" + } + }, + "read-pkg-up": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", + "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", + "dev": true, + "requires": { + "find-up": "^2.0.0", + "read-pkg": "^2.0.0" + } + }, + "readable-stream": { + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", + "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "regenerator-runtime": { + "version": "0.13.5", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.5.tgz", + "integrity": "sha512-ZS5w8CpKFinUzOwW3c83oPeVXoNsrLsaCoLtJvAClH135j/R77RuymhiSErhm2lKcwSCIpmvIWSbDkIfAqKQlA==" + }, + "regex-not": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", + "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", + "dev": true, + "requires": { + "extend-shallow": "^3.0.2", + "safe-regex": "^1.1.0" + } + }, + "regexpp": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-2.0.1.tgz", + "integrity": "sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw==", + "dev": true + }, + "repeat-element": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz", + "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==", + "dev": true + }, + "repeat-string": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", + "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", + "dev": true + }, + "require-relative": { + "version": "0.8.7", + "resolved": "https://registry.npmjs.org/require-relative/-/require-relative-0.8.7.tgz", + "integrity": "sha1-eZlTn8ngR6N5KPoZb44VY9q9Nt4=", + "dev": true + }, + "require_optional": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/require_optional/-/require_optional-1.0.1.tgz", + "integrity": "sha512-qhM/y57enGWHAe3v/NcwML6a3/vfESLe/sGM2dII+gEO0BpKRUkWZow/tyloNqJyN6kXSl3RyyM8Ll5D/sJP8g==", + "requires": { + "resolve-from": "^2.0.0", + "semver": "^5.1.0" + } + }, + "resolve": { + "version": "1.16.1", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.16.1.tgz", + "integrity": "sha512-rmAglCSqWWMrrBv/XM6sW0NuRFiKViw/W4d9EbC4pt+49H8JwHy+mcGmALTEg504AUDcLTvb1T2q3E9AnmY+ig==", + "requires": { + "path-parse": "^1.0.6" + } + }, + "resolve-from": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-2.0.0.tgz", + "integrity": "sha1-lICrIOlP+h2egKgEx+oUdhGWa1c=" + }, + "resolve-url": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", + "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=", + "dev": true + }, + "restore-cursor": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", + "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=", + "dev": true, + "requires": { + "onetime": "^2.0.0", + "signal-exit": "^3.0.2" + } + }, + "ret": { + "version": "0.1.15", + "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", + "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", + "dev": true + }, + "rimraf": { + "version": "2.7.1", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", + "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", + "requires": { + "glob": "^7.1.3" + } + }, + "run-async": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.0.tgz", + "integrity": "sha512-xJTbh/d7Lm7SBhc1tNvTpeCHaEzoyxPrqNlvSdMfBTYwaY++UJFyXUOxAtsRUXjlqOfj8luNaR9vjCh4KeV+pg==", + "dev": true, + "requires": { + "is-promise": "^2.1.0" + } + }, + "rxjs": { + "version": "6.5.5", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.5.tgz", + "integrity": "sha512-WfQI+1gohdf0Dai/Bbmk5L5ItH5tYqm3ki2c5GdWhKjalzjg93N3avFjVStyZZz+A2Em+ZxKH5bNghw9UeylGQ==", + "dev": true, + "requires": { + "tslib": "^1.9.0" + } + }, + "safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "safe-json-stringify": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/safe-json-stringify/-/safe-json-stringify-1.2.0.tgz", + "integrity": "sha512-gH8eh2nZudPQO6TytOvbxnuhYBOvDBBLW52tz5q6X58lJcd/tkmqFR+5Z9adS8aJtURSXWThWy/xJtJwixErvg==", + "optional": true + }, + "safe-regex": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", + "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", + "dev": true, + "requires": { + "ret": "~0.1.10" + } + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "saslprep": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/saslprep/-/saslprep-1.0.3.tgz", + "integrity": "sha512-/MY/PEMbk2SuY5sScONwhUDsV2p77Znkb/q3nSVstq/yQzYJOH/Azh29p9oJLsl3LnQwSvZDKagDGBsBwSooag==", + "optional": true, + "requires": { + "sparse-bitfield": "^3.0.3" + } + }, + "sax": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", + "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==" + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" + }, + "semver-compare": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/semver-compare/-/semver-compare-1.0.0.tgz", + "integrity": "sha1-De4hahyUGrN+nvsXiPavxf9VN/w=", + "dev": true + }, + "set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=" + }, + "set-immediate-shim": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz", + "integrity": "sha1-SysbJ+uAip+NzEgaWOXlb1mfP2E=" + }, + "set-value": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz", + "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==", + "dev": true, + "requires": { + "extend-shallow": "^2.0.1", + "is-extendable": "^0.1.1", + "is-plain-object": "^2.0.3", + "split-string": "^3.0.1" + }, + "dependencies": { + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + } + } + }, + "shebang-command": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", + "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", + "dev": true, + "requires": { + "shebang-regex": "^1.0.0" + } + }, + "shebang-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", + "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", + "dev": true + }, + "signal-exit": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", + "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==" + }, + "slice-ansi": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz", + "integrity": "sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.0", + "astral-regex": "^1.0.0", + "is-fullwidth-code-point": "^2.0.0" + }, + "dependencies": { + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + } + } + }, + "snapdragon": { + "version": "0.8.2", + "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", + "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", + "dev": true, + "requires": { + "base": "^0.11.1", + "debug": "^2.2.0", + "define-property": "^0.2.5", + "extend-shallow": "^2.0.1", + "map-cache": "^0.2.2", + "source-map": "^0.5.6", + "source-map-resolve": "^0.5.0", + "use": "^3.1.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + }, + "extend-shallow": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", + "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", + "dev": true, + "requires": { + "is-extendable": "^0.1.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, + "snapdragon-node": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", + "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", + "dev": true, + "requires": { + "define-property": "^1.0.0", + "isobject": "^3.0.0", + "snapdragon-util": "^3.0.1" + }, + "dependencies": { + "define-property": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", + "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", + "dev": true, + "requires": { + "is-descriptor": "^1.0.0" + } + }, + "is-accessor-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", + "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-data-descriptor": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", + "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", + "dev": true, + "requires": { + "kind-of": "^6.0.0" + } + }, + "is-descriptor": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", + "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", + "dev": true, + "requires": { + "is-accessor-descriptor": "^1.0.0", + "is-data-descriptor": "^1.0.0", + "kind-of": "^6.0.2" + } + } + } + }, + "snapdragon-util": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", + "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", + "dev": true, + "requires": { + "kind-of": "^3.2.0" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" + }, + "source-map-resolve": { + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz", + "integrity": "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==", + "dev": true, + "requires": { + "atob": "^2.1.2", + "decode-uri-component": "^0.2.0", + "resolve-url": "^0.2.1", + "source-map-url": "^0.4.0", + "urix": "^0.1.0" + } + }, + "source-map-support": { + "version": "0.5.19", + "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.19.tgz", + "integrity": "sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==", + "requires": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + }, + "dependencies": { + "source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" + } + } + }, + "source-map-url": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.0.tgz", + "integrity": "sha1-PpNdfd1zYxuXZZlW1VEo6HtQhKM=", + "dev": true + }, + "sparse-bitfield": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/sparse-bitfield/-/sparse-bitfield-3.0.3.tgz", + "integrity": "sha1-/0rm5oZWBWuks+eSqzM004JzyhE=", + "optional": true, + "requires": { + "memory-pager": "^1.0.2" + } + }, + "spawn-sync": { + "version": "1.0.15", + "resolved": "https://registry.npmjs.org/spawn-sync/-/spawn-sync-1.0.15.tgz", + "integrity": "sha1-sAeZVX63+wyDdsKdROih6mfldHY=", + "dev": true, + "requires": { + "concat-stream": "^1.4.7", + "os-shim": "^0.1.2" + } + }, + "spdx-correct": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz", + "integrity": "sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q==", + "dev": true, + "requires": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-exceptions": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", + "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", + "dev": true + }, + "spdx-expression-parse": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz", + "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==", + "dev": true, + "requires": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-license-ids": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz", + "integrity": "sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q==", + "dev": true + }, + "split-string": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", + "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", + "dev": true, + "requires": { + "extend-shallow": "^3.0.0" + } + }, + "sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", + "dev": true + }, + "staged-git-files": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/staged-git-files/-/staged-git-files-1.1.1.tgz", + "integrity": "sha512-H89UNKr1rQJvI1c/PIR3kiAMBV23yvR7LItZiV74HWZwzt7f3YHuujJ9nJZlt58WlFox7XQsOahexwk7nTe69A==", + "dev": true + }, + "static-extend": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", + "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", + "dev": true, + "requires": { + "define-property": "^0.2.5", + "object-copy": "^0.1.0" + }, + "dependencies": { + "define-property": { + "version": "0.2.5", + "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", + "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", + "dev": true, + "requires": { + "is-descriptor": "^0.1.0" + } + } + } + }, + "string-argv": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/string-argv/-/string-argv-0.0.2.tgz", + "integrity": "sha1-2sMECGkMIfPDYwo/86BYd73L1zY=", + "dev": true + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "requires": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + } + }, + "string.prototype.trimend": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.1.tgz", + "integrity": "sha512-LRPxFUaTtpqYsTeNKaFOw3R4bxIzWOnbQ837QfBylo8jIxtcbK/A/sMV7Q+OAV/vWo+7s25pOE10KYSjaSO06g==", + "dev": true, + "requires": { + "define-properties": "^1.1.3", + "es-abstract": "^1.17.5" + } + }, + "string.prototype.trimleft": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/string.prototype.trimleft/-/string.prototype.trimleft-2.1.2.tgz", + "integrity": "sha512-gCA0tza1JBvqr3bfAIFJGqfdRTyPae82+KTnm3coDXkZN9wnuW3HjGgN386D7hfv5CHQYCI022/rJPVlqXyHSw==", + "dev": true, + "requires": { + "define-properties": "^1.1.3", + "es-abstract": "^1.17.5", + "string.prototype.trimstart": "^1.0.0" + } + }, + "string.prototype.trimright": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/string.prototype.trimright/-/string.prototype.trimright-2.1.2.tgz", + "integrity": "sha512-ZNRQ7sY3KroTaYjRS6EbNiiHrOkjihL9aQE/8gfQ4DtAC/aEBRHFJa44OmoWxGGqXuJlfKkZW4WcXErGr+9ZFg==", + "dev": true, + "requires": { + "define-properties": "^1.1.3", + "es-abstract": "^1.17.5", + "string.prototype.trimend": "^1.0.0" + } + }, + "string.prototype.trimstart": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.1.tgz", + "integrity": "sha512-XxZn+QpvrBI1FOcg6dIpxUPgWCPuNXvMD72aaRaUQv1eD4e/Qy8i/hFTe0BUmD60p/QA6bh1avmuPTfNjqVWRw==", + "dev": true, + "requires": { + "define-properties": "^1.1.3", + "es-abstract": "^1.17.5" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "requires": { + "safe-buffer": "~5.1.0" + } + }, + "stringify-object": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-3.3.0.tgz", + "integrity": "sha512-rHqiFh1elqCQ9WPLIC8I0Q/g/wj5J1eMkyoiD6eoQApWHP0FtlK7rqnhmabL5VUY9JQCcqwwvlOaSuutekgyrw==", + "dev": true, + "requires": { + "get-own-enumerable-property-symbols": "^3.0.0", + "is-obj": "^1.0.1", + "is-regexp": "^1.0.0" + } + }, + "strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", + "requires": { + "ansi-regex": "^2.0.0" + } + }, + "strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "dev": true + }, + "strip-eof": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", + "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=", + "dev": true + }, + "strip-json-comments": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", + "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=" + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "requires": { + "has-flag": "^3.0.0" + } + }, + "symbol-observable": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz", + "integrity": "sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ==", + "dev": true + }, + "table": { + "version": "5.4.6", + "resolved": "https://registry.npmjs.org/table/-/table-5.4.6.tgz", + "integrity": "sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug==", + "dev": true, + "requires": { + "ajv": "^6.10.2", + "lodash": "^4.17.14", + "slice-ansi": "^2.1.0", + "string-width": "^3.0.0" + }, + "dependencies": { + "ajv": { + "version": "6.12.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.2.tgz", + "integrity": "sha512-k+V+hzjm5q/Mr8ef/1Y9goCmlsK4I6Sm74teeyGvFk1XrOsbsKLjEdrvny42CZ+a8sXbk8KWpY/bDwS+FLL2UQ==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "ansi-regex": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", + "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", + "dev": true + }, + "fast-deep-equal": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz", + "integrity": "sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA==", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "string-width": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", + "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", + "dev": true, + "requires": { + "emoji-regex": "^7.0.1", + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^5.1.0" + } + }, + "strip-ansi": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", + "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", + "dev": true, + "requires": { + "ansi-regex": "^4.1.0" + } + } + } + }, + "tar": { + "version": "4.4.13", + "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.13.tgz", + "integrity": "sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA==", + "requires": { + "chownr": "^1.1.1", + "fs-minipass": "^1.2.5", + "minipass": "^2.8.6", + "minizlib": "^1.2.1", + "mkdirp": "^0.5.0", + "safe-buffer": "^5.1.2", + "yallist": "^3.0.3" + } + }, + "text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", + "dev": true + }, + "through": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", + "dev": true + }, + "tmp": { + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", + "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", + "dev": true, + "requires": { + "os-tmpdir": "~1.0.2" + } + }, + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=" + }, + "to-object-path": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", + "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=", + "dev": true, + "requires": { + "kind-of": "^3.0.2" + }, + "dependencies": { + "kind-of": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", + "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", + "dev": true, + "requires": { + "is-buffer": "^1.1.5" + } + } + } + }, + "to-regex": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", + "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", + "dev": true, + "requires": { + "define-property": "^2.0.2", + "extend-shallow": "^3.0.2", + "regex-not": "^1.0.2", + "safe-regex": "^1.1.0" + } + }, + "to-regex-range": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", + "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", + "dev": true, + "requires": { + "is-number": "^3.0.0", + "repeat-string": "^1.6.1" + } + }, + "tslib": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.11.1.tgz", + "integrity": "sha512-aZW88SY8kQbU7gpV19lN24LtXh/yD4ZZg6qieAJDDg+YBsJcSmLGK9QpnUjAKVG/xefmvJGd1WUmfpT/g6AJGA==", + "dev": true + }, + "type-check": { + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", + "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", + "dev": true, + "requires": { + "prelude-ls": "~1.1.2" + } + }, + "typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", + "dev": true + }, + "typescript": { + "version": "3.9.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.3.tgz", + "integrity": "sha512-D/wqnB2xzNFIcoBG9FG8cXRDjiqSTbG2wd8DMZeQyJlP1vfTkIxH4GKveWaEBYySKIg+USu+E+EDIR47SqnaMQ==", + "dev": true + }, + "union-value": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", + "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==", + "dev": true, + "requires": { + "arr-union": "^3.1.0", + "get-value": "^2.0.6", + "is-extendable": "^0.1.1", + "set-value": "^2.0.1" + } + }, + "unset-value": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", + "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=", + "dev": true, + "requires": { + "has-value": "^0.3.1", + "isobject": "^3.0.0" + }, + "dependencies": { + "has-value": { + "version": "0.3.1", + "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz", + "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=", + "dev": true, + "requires": { + "get-value": "^2.0.3", + "has-values": "^0.1.4", + "isobject": "^2.0.0" + }, + "dependencies": { + "isobject": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", + "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", + "dev": true, + "requires": { + "isarray": "1.0.0" + } + } + } + }, + "has-values": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz", + "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=", + "dev": true + } + } + }, + "uri-js": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", + "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", + "requires": { + "punycode": "^2.1.0" + } + }, + "urix": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", + "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=", + "dev": true + }, + "use": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", + "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", + "dev": true + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" + }, + "validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, + "requires": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, + "vasync": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/vasync/-/vasync-2.2.0.tgz", + "integrity": "sha1-z951GGChWCLbOxMrxZsRakra8Bs=", + "requires": { + "verror": "1.10.0" + } + }, + "verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "requires": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + }, + "vue-eslint-parser": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-2.0.3.tgz", + "integrity": "sha512-ZezcU71Owm84xVF6gfurBQUGg8WQ+WZGxgDEQu1IHFBZNx7BFZg3L1yHxrCBNNwbwFtE1GuvfJKMtb6Xuwc/Bw==", + "dev": true, + "requires": { + "debug": "^3.1.0", + "eslint-scope": "^3.7.1", + "eslint-visitor-keys": "^1.0.0", + "espree": "^3.5.2", + "esquery": "^1.0.0", + "lodash": "^4.17.4" + }, + "dependencies": { + "acorn": { + "version": "5.7.4", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.4.tgz", + "integrity": "sha512-1D++VG7BhrtvQpNbBzovKNc1FLGGEE/oGe7b9xJm/RFHMBeUaUGpluV9RLjZa47YFdPcDAenEYuq9pQPcMdLJg==", + "dev": true + }, + "acorn-jsx": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-3.0.1.tgz", + "integrity": "sha1-r9+UiPsezvyDSPb7IvRk4ypYs2s=", + "dev": true, + "requires": { + "acorn": "^3.0.4" + }, + "dependencies": { + "acorn": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-3.3.0.tgz", + "integrity": "sha1-ReN/s56No/JbruP/U2niu18iAXo=", + "dev": true + } + } + }, + "debug": { + "version": "3.2.6", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", + "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + }, + "eslint-scope": { + "version": "3.7.3", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-3.7.3.tgz", + "integrity": "sha512-W+B0SvF4gamyCTmUc+uITPY0989iXVfKvhwtmJocTaYoc/3khEHmEmvfY/Gn9HA9VV75jrQECsHizkNw1b68FA==", + "dev": true, + "requires": { + "esrecurse": "^4.1.0", + "estraverse": "^4.1.1" + } + }, + "espree": { + "version": "3.5.4", + "resolved": "https://registry.npmjs.org/espree/-/espree-3.5.4.tgz", + "integrity": "sha512-yAcIQxtmMiB/jL32dzEp2enBeidsB7xWPLNiw3IIkpVds1P+h7qF9YwJq1yUNzp2OKXgAprs4F61ih66UsoD1A==", + "dev": true, + "requires": { + "acorn": "^5.5.0", + "acorn-jsx": "^3.0.0" + } + } + } + }, + "which": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + }, + "wide-align": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", + "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", + "requires": { + "string-width": "^1.0.2 || 2" + } + }, + "word-wrap": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", + "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", + "dev": true + }, + "wrap-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-3.0.1.tgz", + "integrity": "sha1-KIoE2H7aXChuBg3+jxNc6NAH+Lo=", + "dev": true, + "requires": { + "string-width": "^2.1.1", + "strip-ansi": "^4.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", + "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "string-width": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", + "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", + "dev": true, + "requires": { + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^4.0.0" + } + }, + "strip-ansi": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", + "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", + "dev": true, + "requires": { + "ansi-regex": "^3.0.0" + } + } + } + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" + }, + "write": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/write/-/write-1.0.3.tgz", + "integrity": "sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig==", + "dev": true, + "requires": { + "mkdirp": "^0.5.1" + } + }, + "xss": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/xss/-/xss-1.0.6.tgz", + "integrity": "sha512-6Q9TPBeNyoTRxgZFk5Ggaepk/4vUOYdOsIUYvLehcsIZTFjaavbVnsuAkLA5lIFuug5hw8zxcB9tm01gsjph2A==", + "requires": { + "commander": "^2.9.0", + "cssfilter": "0.0.10" + } + }, + "yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==" + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..fe2f917 --- /dev/null +++ b/package.json @@ -0,0 +1,80 @@ +{ + "name": "wekan", + "version": "v4.25.0", + "description": "Open-Source kanban", + "private": true, + "scripts": { + "lint": "eslint --cache --ext .js --ignore-path .eslintignore .", + "lint:eslint:fix": "eslint --ext .js --ignore-path .eslintignore --fix .", + "lint:staged": "lint-staged", + "prettify": "prettier --write '**/*.js' '**/*.jsx'", + "test": "npm run lint" + }, + "lint-staged": { + "*.js": [ + "meteor npm run prettify", + "meteor npm run lint:eslint:fix", + "git add --force" + ], + "*.jsx": [ + "meteor npm run prettify", + "meteor npm run lint:eslint:fix", + "git add --force" + ], + "*.json": [ + "prettier --write", + "git add --force" + ] + }, + "pre-commit": "lint:staged", + "eslintConfig": { + "extends": "@meteorjs/eslint-config-meteor" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/wekan/wekan.git" + }, + "license": "MIT", + "bugs": { + "url": "https://github.com/wekan/wekan/issues" + }, + "homepage": "https://wekan.github.io", + "devDependencies": { + "babel-eslint": "^10.1.0", + "eslint": "^5.16.0", + "eslint-config-meteor": "0.0.9", + "eslint-config-prettier": "^3.6.0", + "eslint-import-resolver-meteor": "^0.4.0", + "eslint-plugin-import": "^2.20.0", + "eslint-plugin-meteor": "^5.1.0", + "eslint-plugin-prettier": "^3.1.2", + "lint-staged": "^7.3.0", + "pre-commit": "^1.2.2", + "prettier": "^1.19.1", + "prettier-eslint": "^9.0.2" + }, + "dependencies": { + "@babel/core": "^7.9.6", + "@babel/runtime": "^7.9.6", + "@root/request": "^1.6.1", + "ajv": "^6.12.4", + "babel-runtime": "^6.26.0", + "bcrypt": "^5.0.0", + "bson": "^4.0.3", + "bunyan": "^1.8.12", + "es6-promise": "^4.2.4", + "fibers": "^5.0.0", + "flatted": "^3.0.4", + "gridfs-stream": "^1.1.1", + "jszip": "^3.4.0", + "ldapjs": "^2.1.1", + "meteor-node-stubs": "^1.0.1", + "mongodb": "^3.5.7", + "os": "^0.1.1", + "page": "^1.11.5", + "papaparse": "^5.2.0", + "qs": "^6.9.4", + "source-map-support": "^0.5.19", + "xss": "^1.0.6" + } +} diff --git a/packages/kadira-flow-router/.gitignore b/packages/kadira-flow-router/.gitignore new file mode 100644 index 0000000..22ee0cc --- /dev/null +++ b/packages/kadira-flow-router/.gitignore @@ -0,0 +1,3 @@ +.build* +*.browserify.js.cached +*.browserify.js.map diff --git a/packages/kadira-flow-router/.travis.yml b/packages/kadira-flow-router/.travis.yml new file mode 100644 index 0000000..5125066 --- /dev/null +++ b/packages/kadira-flow-router/.travis.yml @@ -0,0 +1,8 @@ +sudo: required +language: node_js +node_js: + - "0.10" +before_install: + - "curl -L http://git.io/ejPSng | /bin/sh" +env: + - TEST_COMMAND=meteor \ No newline at end of file diff --git a/packages/kadira-flow-router/CHANGELOG.md b/packages/kadira-flow-router/CHANGELOG.md new file mode 100644 index 0000000..80fd670 --- /dev/null +++ b/packages/kadira-flow-router/CHANGELOG.md @@ -0,0 +1,155 @@ +# Changelog + +### v2.12.1 + +* Add NPM modules back. Fixes: [#602](https://github.com/kadirahq/flow-router/issues/602) + +### v2.12.0 + +* Update Fast Render to v2.14.0 + +### v2.11.0 + +* Add support for Meteor 1.3 RC-1. +* Removes browserify and get modules from Meteor 1.3. + +### v2.10.1 +* Fix the url generation for prefixed paths. See: [#508](https://github.com/kadirahq/flow-router/issues/508) + +### v2.10.0 +* Update few dependencies to the latest versions: pagejs, qs, cosmos:browserify + +### v2.9.0 +* Add FlowRouter.url() See: [#374](https://github.com/kadirahq/flow-router/pull/374) + +### v2.8.0 +* Allow to access options in groups as well. See: [#378](https://github.com/kadirahq/flow-router/pull/378) + +### v2.7.0 +* Add Path Prefix support. See: [#329](https://github.com/kadirahq/flow-router/pull/329) + +### v2.6.2 +* Now .current() sends a cloned version of the internal current object. Which prevent outside mutations to params and queryParams + +### v2.6.1 + +* Fix [#143](https://github.com/kadirahq/flow-router/issues/314). + This says that when we are doing a trigger redirect, + We won't get reactive changes like: `getRouteName()` + +### v2.6.0 +* Add hashbang support. See [#311](https://github.com/kadirahq/flow-router/pull/311) + +### v2.5.0 +* Add a stop callback on the triggers. See: [#306](https://github.com/kadirahq/flow-router/pull/306). + +### v2.4.0 + +* Add a name to the route groups. See: [#290](https://github.com/kadirahq/flow-router/pull/290) + +### v2.3.0 +* We've used `path` for both the current path and for the pathDef earlier. Now we differentiate it. See: [#272](https://github.com/kadirahq/flow-router/issues/272) and [#273](https://github.com/kadirahq/flow-router/pull/273) for more information. + +### v2.2.0 +* Add the first addOn api: FlowRouter.onRouteRegister(cb) + +### v2.1.1 +* There was an issue in IE9 support. We fix it with this version. + +### v2.1.0 +* Add IE9 Support. See this issue [#111](https://github.com/kadirahq/flow-router/issues/111) for more info. + +### v2.0.2 + +* Add missing queryParams object in the subscriptions method (with FR on the server) +* With that, [#237](https://github.com/kadirahq/flow-router/issues/237) is partially fixed. + +### v2.0.1 + +* Use pagejs.redirect() for our redirection process. +* Above fixes [#239](https://github.com/kadirahq/flow-router/issues/239) + +### v2.0.0 + +* Released 2.0 :) +* Now flow-router comes as `kadira:flow-router` +* Remove deprecated APIs + - `FlowRouter.reactiveCurrent()` + - Middlewares + - `FlowRouter.current().params.query` +* Follow the [migration guide](https://github.com/kadirahq/flow-router#migrating-into-20) for more information. + +### v1.18.0 + +* Implement idempotent routing on withReplaceState. See: [#197](https://github.com/meteorhacks/flow-router/issues/197) +* Add an [API](https://github.com/meteorhacks/flow-router#flowrouterwithtrailingslashfn) to set trailing slashes. + +### v1.17.2 +* Fix [#182](https://github.com/meteorhacks/flow-router/issues/182) - Now trigger's redirect function support `FlowRouter.go()` syntax. + +### v1.17.1 + +* Fix [#164](https://github.com/meteorhacks/flow-router/issues/164) - It's an issue when using `check` with flow router query params. +* Fix [#168](https://github.com/meteorhacks/flow-router/pull/168) - It's URL encoding issue. + +### v1.17.0 + +* Add an API called `FlowRouter.wait()` to wait the initialization and pass it back to the app. Fixes issue [180](https://github.com/meteorhacks/flow-router/issues/180). + +### v1.16.3 + +* Fix a crazy context switching issue. For more information see commit [6ca54cc](https://github.com/meteorhacks/flow-router/commit/6ca54cc7969b3a8aa71d63c98c99a20b175125a2) + +### v1.16.2 +* Fix issue [#167](https://github.com/meteorhacks/flow-router/issues/167) via [#175](https://github.com/meteorhacks/flow-router/pull/175) +* Fix [#176](https://github.com/meteorhacks/flow-router/issues/176) by the removal of `Tracker.flush` usage. + +### v1.16.1 +* Fix [issue](https://github.com/meteorhacks/flow-router/pull/173) of overwriting global triggers when written multiple times. + +### v1.16.0 + +* [Refactor](https://github.com/meteorhacks/flow-router/pull/172) triggers API for clean code +* Added [redirect](https://github.com/meteorhacks/flow-router#redirecting-with-triggers) functionality for triggers +* Now we are API complete for the 2.x release + +### v1.15.0 + +* Now all our routes are idempotent. +* If some one needs to re-run the route, he needs to use our `FlowRouter.reload()` API. + +### v1.14.1 + +* Fix regression came from v1.11.0. With that, `FlowRouter.go("/")` does not work. More information on [#147](https://github.com/meteorhacks/flow-router/issues/147). + +### v1.14.0 +* Bring browserify back with the updated version of `cosmos:browserify` which fixes some size issues. See [more info](https://github.com/meteorhacks/flow-router/issues/128#issuecomment-109799953). + +### v1.13.0 +* Remove browserified pagejs and qs dependency loading. With that we could reduce ~10kb of data size (without compression). We can look for a bower integration in the future. For now, here are the dependencies we have. + - page@1.6.3: https://github.com/visionmedia/page.js + - qs@3.1.0: https://github.com/hapijs/qs + +### v1.12.0 +* Add [`FlowRouter.withReplaceState`](https://github.com/meteorhacks/flow-router#flowrouterwithreplcaestatefn) api to use replaceState when changing routes via FlowRouter apis. + +### v1.11.0 +* Fix [#145](https://github.com/meteorhacks/flow-router/issues/145) by changing how safeToRun works. +* Add `FlowRouter.path()` to the server side +* Fix [#130](https://github.com/meteorhacks/flow-router/issues/130) + +### v1.10.0 +Add support for [triggers](https://github.com/meteorhacks/flow-router#triggers). This is something similar to middlewares but not as middlewares. Visit [here](https://github.com/meteorhacks/flow-router/pull/59) to learn about design decisions. + +_**Now, middlewares are deprecated.**_ + +### v1.9.0 +Fix [#120](https://github.com/meteorhacks/flow-router/issues/120) and added callback support for `FlowRouter.subsReady()`. + +### v1.8.0 + +This release comes with improvements to the reactive API. + +* Fixed [#77](https://github.com/meteorhacks/flow-router/issues/77), [#85](https://github.com/meteorhacks/flow-router/issues/85), [#95](https://github.com/meteorhacks/flow-router/issues/95), [#96](https://github.com/meteorhacks/flow-router/issues/96), [#103](https://github.com/meteorhacks/flow-router/issues/103) +* Add a new API called `FlowRouter.watchPathChange()` +* Deprecated `FlowRouter.reactiveCurrent()` in the favour of `FlowRouter.watchPathChange()` diff --git a/packages/kadira-flow-router/CONTRIBUTING.md b/packages/kadira-flow-router/CONTRIBUTING.md new file mode 100644 index 0000000..adb08f1 --- /dev/null +++ b/packages/kadira-flow-router/CONTRIBUTING.md @@ -0,0 +1,16 @@ +## Whether to submit an issue or not? + +We've very limited time to answer all the issues and respond them in a proper manner. +So, this repo's issue list only used to report **bugs** and **new features.** + +For any other questions, issues or asking for best practices use [Meteor Forums](https://forums.meteor.com/). +Even before you ask a question on Meteor Forums, make sure you read the [Meteor Routing Guide](https://kadira.io/academy/meteor-routing-guide). + +## Implementing Feature and Bug Fixes + +We are welcome and greedy for PRs. So, + +* If you wanna fix a bug, simply submit it. +* If you wanna implement feature or support with contributions, just drop a message to arunoda [at] kadira.io. + + diff --git a/packages/kadira-flow-router/LICENSE b/packages/kadira-flow-router/LICENSE new file mode 100644 index 0000000..6519acb --- /dev/null +++ b/packages/kadira-flow-router/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2015 MeteorHacks Pvt Ltd (Sri Lanka). + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. \ No newline at end of file diff --git a/packages/kadira-flow-router/README.md b/packages/kadira-flow-router/README.md new file mode 100644 index 0000000..7e74eb1 --- /dev/null +++ b/packages/kadira-flow-router/README.md @@ -0,0 +1,777 @@ +# FlowRouter [![Build Status](https://travis-ci.org/kadirahq/flow-router.svg?branch=master)](https://travis-ci.org/kadirahq/flow-router) [![Stories in Ready](https://badge.waffle.io/kadirahq/flow-router.svg?label=doing&title=Activities)](http://waffle.io/kadirahq/flow-router) + +Forked for bug fixes + +Carefully Designed Client Side Router for Meteor. + +FlowRouter is a very simple router for Meteor. It does routing for client-side apps and does not handle rendering itself. + +It exposes a great API for changing the URL and reactively getting data from the URL. However, inside the router, it's not reactive. Most importantly, FlowRouter is designed with performance in mind and it focuses on what it does best: **routing**. + +> We've released 2.0 and follow this [migration guide](#migrating-into-20) if you are already using FlowRouter. + +## TOC + +* [Meteor Routing Guide](#meteor-routing-guide) +* [Getting Started](#getting-started) +* [Routes Definition](#routes-definition) +* [Group Routes](#group-routes) +* [Rendering and Layout Management](#rendering-and-layout-management) +* [Triggers](#triggers) +* [Not Found Routes](#not-found-routes) +* [API](#api) +* [Subscription Management](#subscription-management) +* [IE9 Support](#ie9-support) +* [Hashbang URLs](#hashbang-urls) +* [Prefixed paths](#prefixed-paths) +* [Add-ons](#add-ons) +* [Difference with Iron Router](#difference-with-iron-router) +* [Migrating into 2.0](#migrating-into-20) + +## Meteor Routing Guide + +[Meteor Routing Guide](https://kadira.io/academy/meteor-routing-guide) is a completed guide into **routing** and related topics in Meteor. It talks about how to use FlowRouter properly and use it with **Blaze and React**. It also shows how to manage **subscriptions** and implement **auth logic** in the view layer. + +[![Meteor Routing Guide](https://cldup.com/AxlPfoxXmR.png)](https://kadira.io/academy/meteor-routing-guide) + +## Getting Started + +Add FlowRouter to your app: + +~~~shell +meteor add kadira:flow-router +~~~ + +Let's write our first route (add this file to `lib/router.js`): + +~~~js +FlowRouter.route('/blog/:postId', { + action: function(params, queryParams) { + console.log("Yeah! We are on the post:", params.postId); + } +}); +~~~ + +Then visit `/blog/my-post-id` from the browser or invoke the following command from the browser console: + +~~~js +FlowRouter.go('/blog/my-post-id'); +~~~ + +Then you can see some messages printed in the console. + +## Routes Definition + +FlowRouter routes are very simple and based on the syntax of [path-to-regexp](https://github.com/pillarjs/path-to-regexp) which is used in both [Express](http://expressjs.com/) and `iron:router`. + +Here's the syntax for a simple route: + +~~~js +FlowRouter.route('/blog/:postId', { + // do some action for this route + action: function(params, queryParams) { + console.log("Params:", params); + console.log("Query Params:", queryParams); + }, + + name: "" // optional +}); +~~~ + +So, this route will be activated when you visit a url like below: + +~~~js +FlowRouter.go('/blog/my-post?comments=on&color=dark'); +~~~ + +After you've visit the route, this will be printed in the console: + +~~~ +Params: {postId: "my-post"} +Query Params: {comments: "on", color: "dark"} +~~~ + +For a single interaction, the router only runs once. That means, after you've visit a route, first it will call `triggers`, then `subscriptions` and finally `action`. After that happens, none of those methods will be called again for that route visit. + +You can define routes anywhere in the `client` directory. But, we recommend to add them in the `lib` directory. Then `fast-render` can detect subscriptions and send them for you (we'll talk about this is a moment). + +### Group Routes + +You can group routes for better route organization. Here's an example: + +~~~js +var adminRoutes = FlowRouter.group({ + prefix: '/admin', + name: 'admin', + triggersEnter: [function(context, redirect) { + console.log('running group triggers'); + }] +}); + +// handling /admin route +adminRoutes.route('/', { + action: function() { + BlazeLayout.render('componentLayout', {content: 'admin'}); + }, + triggersEnter: [function(context, redirect) { + console.log('running /admin trigger'); + }] +}); + +// handling /admin/posts +adminRoutes.route('/posts', { + action: function() { + BlazeLayout.render('componentLayout', {content: 'posts'}); + } +}); +~~~ + +**All of the options for the `FlowRouter.group()` are optional.** + +You can even have nested group routes as shown below: + +~~~js +var adminRoutes = FlowRouter.group({ + prefix: "/admin", + name: "admin" +}); + +var superAdminRoutes = adminRoutes.group({ + prefix: "/super", + name: "superadmin" +}); + +// handling /admin/super/post +superAdminRoutes.route('/post', { + action: function() { + + } +}); +~~~ + +You can determine which group the current route is in using: + +~~~js +FlowRouter.current().route.group.name +~~~ + +This can be useful for determining if the current route is in a specific group (e.g. *admin*, *public*, *loggedIn*) without needing to use prefixes if you don't want to. If it's a nested group, you can get the parent group's name with: + +~~~js +FlowRouter.current().route.group.parent.name +~~~ + +As with all current route properties, these are not reactive, but can be combined with `FlowRouter.watchPathChange()` to get group names reactively. + +## Rendering and Layout Management + +FlowRouter does not handle rendering or layout management. For that, you can use: + + * [Blaze Layout for Blaze](https://github.com/kadirahq/blaze-layout) + * [React Layout for React](https://github.com/kadirahq/meteor-react-layout) + +Then you can invoke the layout manager inside the `action` method in the router. + +~~~js +FlowRouter.route('/blog/:postId', { + action: function(params) { + BlazeLayout.render("mainLayout", {area: "blog"}); + } +}); +~~~ + +## Triggers + +Triggers are the way FlowRouter allows you to perform tasks before you **enter** into a route and after you **exit** from a route. + +#### Defining triggers for a route + +Here's how you can define triggers for a route: + +~~~js +FlowRouter.route('/home', { + // calls just before the action + triggersEnter: [trackRouteEntry], + action: function() { + // do something you like + }, + // calls when we decide to move to another route + // but calls before the next route started + triggersExit: [trackRouteClose] +}); + +function trackRouteEntry(context) { + // context is the output of `FlowRouter.current()` + Mixpanel.track("visit-to-home", context.queryParams); +} + +function trackRouteClose(context) { + Mixpanel.track("move-from-home", context.queryParams); +} +~~~ + +#### Defining triggers for a group route + +This is how you can define triggers on a group definition. + +~~~js +var adminRoutes = FlowRouter.group({ + prefix: '/admin', + triggersEnter: [trackRouteEntry], + triggersExit: [trackRouteEntry] +}); +~~~ + +> You can add triggers to individual routes in the group too. + +#### Defining Triggers Globally + +You can also define triggers globally. Here's how to do it: + +~~~js +FlowRouter.triggers.enter([cb1, cb2]); +FlowRouter.triggers.exit([cb1, cb2]); + +// filtering +FlowRouter.triggers.enter([trackRouteEntry], {only: ["home"]}); +FlowRouter.triggers.exit([trackRouteExit], {except: ["home"]}); +~~~ + +As you can see from the last two examples, you can filter routes using the `only` or `except` keywords. But, you can't use both `only` and `except` at once. + +> If you'd like to learn more about triggers and design decisions, visit [here](https://github.com/meteorhacks/flow-router/pull/59). + +#### Redirecting With Triggers + +You can redirect to a different route using triggers. You can do it from both enter and exit triggers. See how to do it: + +~~~js +FlowRouter.route('/', { + triggersEnter: [function(context, redirect) { + redirect('/some-other-path'); + }], + action: function(_params) { + throw new Error("this should not get called"); + } +}); +~~~ + +Every trigger callback comes with a second argument: a function you can use to redirect to a different route. Redirect also has few properties to make sure it's not blocking the router. + +* redirect must be called with an URL +* redirect must be called within the same event loop cycle (no async or called inside a Tracker) +* redirect cannot be called multiple times + +Check this [PR](https://github.com/meteorhacks/flow-router/pull/172) to learn more about our redirect API. + +#### Stopping the Callback With Triggers + +In some cases, you may need to stop the route callback from firing using triggers. You can do this in **before** triggers, using the third argument: the `stop` function. For example, you can check the prefix and if it fails, show the notFound layout and stop before the action fires. + +```js +var localeGroup = FlowRouter.group({ + prefix: '/:locale?', + triggersEnter: [localeCheck] +}); + +localeGroup.route('/login', { + action: function (params, queryParams) { + BlazeLayout.render('componentLayout', {content: 'login'}); + } +}); + +function localeCheck(context, redirect, stop) { + var locale = context.params.locale; + + if (locale !== undefined && locale !== 'fr') { + BlazeLayout.render('notFound'); + stop(); + } +} +``` + +> **Note**: When using the stop function, you should always pass the second **redirect** argument, even if you won't use it. + +## Not Found Routes + +You can configure Not Found routes like this: + +~~~js +FlowRouter.notFound = { + // Subscriptions registered here don't have Fast Render support. + subscriptions: function() { + + }, + action: function() { + + } +}; +~~~ + +## API + +FlowRouter has a rich API to help you to navigate the router and reactively get information from the router. + +#### FlowRouter.getParam(paramName); + +Reactive function which you can use to get a parameter from the URL. + +~~~js +// route def: /apps/:appId +// url: /apps/this-is-my-app + +var appId = FlowRouter.getParam("appId"); +console.log(appId); // prints "this-is-my-app" +~~~ + +#### FlowRouter.getQueryParam(queryStringKey); + +Reactive function which you can use to get a value from the queryString. + +~~~js +// route def: /apps/:appId +// url: /apps/this-is-my-app?show=yes&color=red + +var color = FlowRouter.getQueryParam("color"); +console.log(color); // prints "red" +~~~ + +#### FlowRouter.path(pathDef, params, queryParams) + +Generate a path from a path definition. Both `params` and `queryParams` are optional. + +Special characters in `params` and `queryParams` will be URL encoded. + +~~~js +var pathDef = "/blog/:cat/:id"; +var params = {cat: "met eor", id: "abc"}; +var queryParams = {show: "y+e=s", color: "black"}; + +var path = FlowRouter.path(pathDef, params, queryParams); +console.log(path); // prints "/blog/met%20eor/abc?show=y%2Be%3Ds&color=black" +~~~ + +If there are no params or queryParams, this will simply return the pathDef as it is. + +##### Using Route name instead of the pathDef + +You can also use the route's name instead of the pathDef. Then, FlowRouter will pick the pathDef from the given route. See the following example: + +~~~js +FlowRouter.route("/blog/:cat/:id", { + name: "blogPostRoute", + action: function(params) { + //... + } +}) + +var params = {cat: "meteor", id: "abc"}; +var queryParams = {show: "yes", color: "black"}; + +var path = FlowRouter.path("blogPostRoute", params, queryParams); +console.log(path); // prints "/blog/meteor/abc?show=yes&color=black" +~~~ + +#### FlowRouter.go(pathDef, params, queryParams); + +This will get the path via `FlowRouter.path` based on the arguments and re-route to that path. + +You can call `FlowRouter.go` like this as well: + +~~~js +FlowRouter.go("/blog"); +~~~ + + +#### FlowRouter.url(pathDef, params, queryParams) + +Just like `FlowRouter.path`, but gives the absolute url. (Uses `Meteor.absoluteUrl` behind the scenes.) + +#### FlowRouter.setParams(newParams) + +This will change the current params with the newParams and re-route to the new path. + +~~~js +// route def: /apps/:appId +// url: /apps/this-is-my-app?show=yes&color=red + +FlowRouter.setParams({appId: "new-id"}); +// Then the user will be redirected to the following path +// /apps/new-id?show=yes&color=red +~~~ + +#### FlowRouter.setQueryParams(newQueryParams) + +Just like `FlowRouter.setParams`, but for queryString params. + +To remove a query param set it to `null` like below: + +~~~js +FlowRouter.setQueryParams({paramToRemove: null}); +~~~ + +#### FlowRouter.getRouteName() + +To get the name of the route reactively. + +~~~js +Tracker.autorun(function() { + var routeName = FlowRouter.getRouteName(); + console.log("Current route name is: ", routeName); +}); +~~~ + +#### FlowRouter.current() + +Get the current state of the router. **This API is not reactive**. +If you need to watch the changes in the path simply use `FlowRouter.watchPathChange()`. + +This gives an object like this: + +~~~js +// route def: /apps/:appId +// url: /apps/this-is-my-app?show=yes&color=red + +var current = FlowRouter.current(); +console.log(current); + +// prints following object +// { +// path: "/apps/this-is-my-app?show=yes&color=red", +// params: {appId: "this-is-my-app"}, +// queryParams: {show: "yes", color: "red"} +// route: {pathDef: "/apps/:appId", name: "name-of-the-route"} +// } +~~~ + +#### FlowRouter.watchPathChange() + +Reactively watch the changes in the path. If you need to simply get the params or queryParams use dedicated APIs like `FlowRouter.getQueryParam()`. + +~~~js +Tracker.autorun(function() { + FlowRouter.watchPathChange(); + var currentContext = FlowRouter.current(); + // do anything with the current context + // or anything you wish +}); +~~~ + +#### FlowRouter.withReplaceState(fn) +Normally, all the route changes made via APIs like `FlowRouter.go` and `FlowRouter.setParams()` add a URL item to the browser history. For example, run the following code: + +~~~js +FlowRouter.setParams({id: "the-id-1"}); +FlowRouter.setParams({id: "the-id-2"}); +FlowRouter.setParams({id: "the-id-3"}); +~~~ + +Now you can hit the back button of your browser two times. This is normal behavior since users may click the back button and expect to see the previous state of the app. + +But sometimes, this is not something you want. You don't need to pollute the browser history. Then, you can use the following syntax. + +~~~js +FlowRouter.withReplaceState(function() { + FlowRouter.setParams({id: "the-id-1"}); + FlowRouter.setParams({id: "the-id-2"}); + FlowRouter.setParams({id: "the-id-3"}); +}); +~~~ + +Now, there is no item in the browser history. Just like `FlowRouter.setParams`, you can use any FlowRouter API inside `FlowRouter.withReplaceState`. + +> We named this function as `withReplaceState` because, replaceState is the underline API used for this functionality. Read more about [replace state & the history API](https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Manipulating_the_browser_history). + +#### FlowRouter.reload() + +FlowRouter routes are idempotent. That means, even if you call `FlowRouter.go()` to the same URL multiple times, it only activates in the first run. This is also true for directly clicking on paths. + +So, if you really need to reload the route, this is the API you want. + +#### FlowRouter.wait() and FlowRouter.initialize() + +By default, FlowRouter initializes the routing process in a `Meteor.startup()` callback. This works for most of the apps. But, some apps have custom initializations and FlowRouter needs to initialize after that. + +So, that's where `FlowRouter.wait()` comes to save you. You need to call it directly inside your JavaScript file. After that, whenever your app is ready call `FlowRouter.initialize()`. + +eg:- + +~~~js +// file: app.js +FlowRouter.wait(); +WhenEverYourAppIsReady(function() { + FlowRouter.initialize(); +}); +~~~ + +For more information visit [issue #180](https://github.com/meteorhacks/flow-router/issues/180). + +#### FlowRouter.onRouteRegister(cb) + +This API is specially designed for add-on developers. They can listen for any registered route and add custom functionality to FlowRouter. This works on both server and client alike. + +~~~js +FlowRouter.onRouteRegister(function(route) { + // do anything with the route object + console.log(route); +}); +~~~ + +Let's say a user defined a route like this: + +~~~js +FlowRouter.route('/blog/:post', { + name: 'postList', + triggersEnter: [function() {}], + subscriptions: function() {}, + action: function() {}, + triggersExit: [function() {}], + customField: 'customName' +}); +~~~ + +Then the route object will be something like this: + +~~~js +{ + pathDef: '/blog/:post', + name: 'postList', + options: {customField: 'customName'} +} +~~~ + +So, it's not the internal route object we are using. + +## Subscription Management + +For Subscription Management, we highly suggest you to follow [Template/Component level subscriptions](https://kadira.io/academy/meteor-routing-guide/content/subscriptions-and-data-management). Visit this [guide](https://kadira.io/academy/meteor-routing-guide/content/subscriptions-and-data-management) for that. + +FlowRouter also has it's own subscription registration mechanism. We will remove this in version 3.0. We don't remove or deprecate it in version 2.x because this is the easiest way to implement FastRender support for your app. In 3.0 we've better support for FastRender with Server Side Rendering. + +FlowRouter only deals with registration of subscriptions. It does not wait until subscription becomes ready. This is how to register a subscription. + +~~~js +FlowRouter.route('/blog/:postId', { + subscriptions: function(params, queryParams) { + this.register('myPost', Meteor.subscribe('blogPost', params.postId)); + } +}); +~~~ + +We can also register global subscriptions like this: + +~~~js +FlowRouter.subscriptions = function() { + this.register('myCourses', Meteor.subscribe('courses')); +}; +~~~ + +All these global subscriptions run on every route. So, pay special attention to names when registering subscriptions. + +After you've registered your subscriptions, you can reactively check for the status of those subscriptions like this: + +~~~js +Tracker.autorun(function() { + console.log("Is myPost ready?:", FlowRouter.subsReady("myPost")); + console.log("Are all subscriptions ready?:", FlowRouter.subsReady()); +}); +~~~ + +So, you can use `FlowRouter.subsReady` inside template helpers to show the loading status and act accordingly. + +### FlowRouter.subsReady() with a callback + +Sometimes, we need to use `FlowRouter.subsReady()` in places where an autorun is not available. One such example is inside an event handler. For such places, we can use the callback API of `FlowRouter.subsReady()`. + +~~~js +Template.myTemplate.events({ + "click #id": function(){ + FlowRouter.subsReady("myPost", function() { + // do something + }); + } +}); +~~~ + +> Arunoda has discussed more about Subscription Management in FlowRouter in [this](https://meteorhacks.com/flow-router-and-subscription-management.html#subscription-management) blog post about [FlowRouter and Subscription Management](https://meteorhacks.com/flow-router-and-subscription-management.html). + +> He's showing how to build an app like this: + +>![FlowRouter's Subscription Management](https://cldup.com/esLzM8cjEL.gif) + +#### Fast Render +FlowRouter has built in support for [Fast Render](https://github.com/meteorhacks/fast-render). + +- `meteor add meteorhacks:fast-render` +- Put `router.js` in a shared location. We suggest `lib/router.js`. + +You can exclude Fast Render support by wrapping the subscription registration in an `isClient` block: + +~~~js +FlowRouter.route('/blog/:postId', { + subscriptions: function(params, queryParams) { + // using Fast Render + this.register('myPost', Meteor.subscribe('blogPost', params.postId)); + + // not using Fast Render + if(Meteor.isClient) { + this.register('data', Meteor.subscribe('bootstrap-data'); + } + } +}); +~~~ + +#### Subscription Caching + +You can also use [Subs Manager](https://github.com/meteorhacks/subs-manager) for caching subscriptions on the client. We haven't done anything special to make it work. It should work as it works with other routers. + +## IE9 Support + +FlowRouter has IE9 support. But it does not ship the **HTML5 history polyfill** out of the box. That's because most apps do not require it. + +If you need to support IE9, add the **HTML5 history polyfill** with the following package. + +~~~shell +meteor add tomwasd:history-polyfill +~~~ + +## Hashbang URLs + +To enable hashbang urls like `mydomain.com/#!/mypath` simple set the `hashbang` option to `true` in the initialize function: + +~~~js +// file: app.js +FlowRouter.wait(); +WhenEverYourAppIsReady(function() { + FlowRouter.initialize({hashbang: true}); +}); +~~~ + +## Prefixed paths + +In cases you wish to run multiple web application on the same domain name, you’ll probably want to serve your particular meteor application under a sub-path (eg `example.com/myapp`). In this case simply include the path prefix in the meteor `ROOT_URL` environment variable and FlowRouter will handle it transparently without any additional configuration. + +## Add-ons + +Router is a base package for an app. Other projects like [useraccounts](http://useraccounts.meteor.com/) should have support for FlowRouter. Otherwise, it's hard to use FlowRouter in a real project. Now a lot of packages have [started to support FlowRouter](https://kadira.io/blog/meteor/addon-packages-for-flowrouter). + +So, you can use your your favorite package with FlowRouter as well. If not, there is an [easy process](https://kadira.io/blog/meteor/addon-packages-for-flowrouter#what-if-project-xxx-still-doesn-t-support-flowrouter-) to convert them to FlowRouter. + +**Add-on API** + +We have also released a [new API](https://github.com/kadirahq/flow-router#flowrouteronrouteregistercb) to support add-on developers. With that add-on packages can get a notification, when the user created a route in their app. + +If you've more ideas for the add-on API, [let us know](https://github.com/kadirahq/flow-router/issues). + +## Difference with Iron Router + +FlowRouter and Iron Router are two different routers. Iron Router tries to be a full featured solution. It tries to do everything including routing, subscriptions, rendering and layout management. + +FlowRouter is a minimalistic solution focused on routing with UI performance in mind. It exposes APIs for related functionality. + +Let's learn more about the differences: + +### Rendering + +FlowRouter doesn't handle rendering. By decoupling rendering from the router it's possible to use any rendering framework, such as [Blaze Layout](https://github.com/kadirahq/blaze-layout) to render with Blaze's Dynamic Templates. Rendering calls are made in the the route's action. We have a layout manager for [React](https://github.com/kadirahq/meteor-react-layout) as well. + +### Subscriptions + +With FlowRouter, we highly suggest using template/component layer subscriptions. But, if you need to do routing in the router layer, FlowRouter has [subscription registration](#subscription-management) mechanism. Even with that, FlowRouter never waits for the subscriptions and view layer to do it. + +### Reactive Content + +In Iron Router you can use reactive content inside the router, but any hook or method can re-run in an unpredictable manner. FlowRouter limits reactive data sources to a single run; when it is first called. + +We think that's the way to go. Router is just a user action. We can work with reactive content in the rendering layer. + +### router.current() is evil + +`Router.current()` is evil. Why? Let's look at following example. Imagine we have a route like this in our app: + +~~~ +/apps/:appId/:section +~~~ + +Now let's say, we need to get `appId` from the URL. Then we will do, something like this in Iron Router. + +~~~js +Templates['foo'].helpers({ + "someData": function() { + var appId = Router.current().params.appId; + return doSomething(appId); + } +}); +~~~ + +Let's say we changed `:section` in the route. Then the above helper also gets rerun. If we add a query param to the URL, it gets rerun. That's because `Router.current()` looks for changes in the route(or URL). But in any of above cases, `appId` didn't get changed. + +Because of this, a lot parts of our app get re-run and re-rendered. This creates unpredictable rendering behavior in our app. + +FlowRouter fixes this issue by providing the `Router.getParam()` API. See how to use it: + +~~~js +Templates['foo'].helpers({ + "someData": function() { + var appId = FlowRouter.getParam('appId'); + return doSomething(appId); + } +}); +~~~ + +### No data context + +FlowRouter does not have a data context. Data context has the same problem as reactive `.current()`. We believe, it'll possible to get data directly in the template (component) layer. + +### Built in Fast Render Support + +FlowRouter has built in [Fast Render](https://github.com/meteorhacks/fast-render) support. Just add Fast Render to your app and it'll work. Nothing to change in the router. + +For more information check [docs](#fast-render). + +### Server Side Routing + +FlowRouter is a client side router and it **does not** support server side routing at all. But `subscriptions` run on the server to enable Fast Render support. + +#### Reason behind that + +Meteor is not a traditional framework where you can send HTML directly from the server. Meteor needs to send a special set of HTML to the client initially. So, you can't directly send something to the client yourself. + +Also, in the server we need look for different things compared with the client. For example: + +* In the server we have to deal with headers. +* In the server we have to deal with methods like `GET`, `POST`, etc. +* In the server we have Cookies. + +So, it's better to use a dedicated server-side router like [`meteorhacks:picker`](https://github.com/meteorhacks/picker). It supports connect and express middlewares and has a very easy to use route syntax. + +### Server Side Rendering + +FlowRouter 3.0 will have server side rendering support. We've already started the initial version and check our [`ssr`](https://github.com/meteorhacks/flow-router/tree/ssr) branch for that. + +It's currently very usable and Kadira already using it for + +### Better Initial Loading Support + +In Meteor, we have to wait until all the JS and other resources send before rendering anything. This is an issue. In 3.0, with the support from Server Side Rendering we are going to fix it. + +## Migrating into 2.0 + +Migrating into version 2.0 is easy and you don't need to change any application code since you are already using 2.0 features and the APIs. In 2.0, we've changed names and removed some deprecated APIs. + +Here are the steps to migrate your app into 2.0. + +#### Use the New FlowRouter Package +* Now FlowRouter comes as `kadira:flow-router` +* So, remove `meteorhacks:flow-router` with : `meteor remove meteorhacks:flow-router` +* Then, add `kadira:flow-router` with `meteor add kadira:flow-router` + +#### Change FlowLayout into BlazeLayout +* We've also renamed FlowLayout as [BlazeLayout](https://github.com/kadirahq/blaze-layout). +* So, remove `meteorhacks:flow-layout` and add `kadira:blaze-layout` instead. +* You need to use `BlazeLayout.render()` instead of `FlowLayout.render()` + +#### Stop using deprecated Apis +* There is no middleware support. Use triggers instead. +* There is no API called `.reactiveCurrent()`, use `.watchPathChange()` instead. +* Earlier, you can access query params with `FlowRouter.current().params.query`. But, now you can't do that. Use `FlowRouter.current().queryParams` instead. diff --git a/packages/kadira-flow-router/client/_init.js b/packages/kadira-flow-router/client/_init.js new file mode 100644 index 0000000..a18fdc8 --- /dev/null +++ b/packages/kadira-flow-router/client/_init.js @@ -0,0 +1,11 @@ +// Export Router Instance +FlowRouter = new Router(); +FlowRouter.Router = Router; +FlowRouter.Route = Route; + +// Initialize FlowRouter +Meteor.startup(function () { + if(!FlowRouter._askedToWait) { + FlowRouter.initialize(); + } +}); diff --git a/packages/kadira-flow-router/client/group.js b/packages/kadira-flow-router/client/group.js new file mode 100644 index 0000000..b93296b --- /dev/null +++ b/packages/kadira-flow-router/client/group.js @@ -0,0 +1,57 @@ +Group = function(router, options, parent) { + options = options || {}; + + if (options.prefix && !/^\/.*/.test(options.prefix)) { + var message = "group's prefix must start with '/'"; + throw new Error(message); + } + + this._router = router; + this.prefix = options.prefix || ''; + this.name = options.name; + this.options = options; + + this._triggersEnter = options.triggersEnter || []; + this._triggersExit = options.triggersExit || []; + this._subscriptions = options.subscriptions || Function.prototype; + + this.parent = parent; + if (this.parent) { + this.prefix = parent.prefix + this.prefix; + + this._triggersEnter = parent._triggersEnter.concat(this._triggersEnter); + this._triggersExit = this._triggersExit.concat(parent._triggersExit); + } +}; + +Group.prototype.route = function(pathDef, options, group) { + options = options || {}; + + if (!/^\/.*/.test(pathDef)) { + var message = "route's path must start with '/'"; + throw new Error(message); + } + + group = group || this; + pathDef = this.prefix + pathDef; + + var triggersEnter = options.triggersEnter || []; + options.triggersEnter = this._triggersEnter.concat(triggersEnter); + + var triggersExit = options.triggersExit || []; + options.triggersExit = triggersExit.concat(this._triggersExit); + + return this._router.route(pathDef, options, group); +}; + +Group.prototype.group = function(options) { + return new Group(this._router, options, this); +}; + +Group.prototype.callSubscriptions = function(current) { + if (this.parent) { + this.parent.callSubscriptions(current); + } + + this._subscriptions.call(current.route, current.params, current.queryParams); +}; diff --git a/packages/kadira-flow-router/client/modules.js b/packages/kadira-flow-router/client/modules.js new file mode 100644 index 0000000..7b734f4 --- /dev/null +++ b/packages/kadira-flow-router/client/modules.js @@ -0,0 +1,2 @@ +page = require('page'); +qs = require('qs'); diff --git a/packages/kadira-flow-router/client/route.js b/packages/kadira-flow-router/client/route.js new file mode 100644 index 0000000..b82e972 --- /dev/null +++ b/packages/kadira-flow-router/client/route.js @@ -0,0 +1,125 @@ +Route = function(router, pathDef, options, group) { + options = options || {}; + + this.options = options; + this.pathDef = pathDef + + // Route.path is deprecated and will be removed in 3.0 + this.path = pathDef; + + if (options.name) { + this.name = options.name; + } + + this._action = options.action || Function.prototype; + this._subscriptions = options.subscriptions || Function.prototype; + this._triggersEnter = options.triggersEnter || []; + this._triggersExit = options.triggersExit || []; + this._subsMap = {}; + this._router = router; + + this._params = new ReactiveDict(); + this._queryParams = new ReactiveDict(); + this._routeCloseDep = new Tracker.Dependency(); + + // tracks the changes in the URL + this._pathChangeDep = new Tracker.Dependency(); + + this.group = group; +}; + +Route.prototype.clearSubscriptions = function() { + this._subsMap = {}; +}; + +Route.prototype.register = function(name, sub, options) { + this._subsMap[name] = sub; +}; + + +Route.prototype.getSubscription = function(name) { + return this._subsMap[name]; +}; + + +Route.prototype.getAllSubscriptions = function() { + return this._subsMap; +}; + +Route.prototype.callAction = function(current) { + var self = this; + self._action(current.params, current.queryParams); +}; + +Route.prototype.callSubscriptions = function(current) { + this.clearSubscriptions(); + if (this.group) { + this.group.callSubscriptions(current); + } + + this._subscriptions(current.params, current.queryParams); +}; + +Route.prototype.getRouteName = function() { + this._routeCloseDep.depend(); + return this.name; +}; + +Route.prototype.getParam = function(key) { + this._routeCloseDep.depend(); + return this._params.get(key); +}; + +Route.prototype.getQueryParam = function(key) { + this._routeCloseDep.depend(); + return this._queryParams.get(key); +}; + +Route.prototype.watchPathChange = function() { + this._pathChangeDep.depend(); +}; + +Route.prototype.registerRouteClose = function() { + this._params = new ReactiveDict(); + this._queryParams = new ReactiveDict(); + this._routeCloseDep.changed(); + this._pathChangeDep.changed(); +}; + +Route.prototype.registerRouteChange = function(currentContext, routeChanging) { + // register params + var params = currentContext.params; + this._updateReactiveDict(this._params, params); + + // register query params + var queryParams = currentContext.queryParams; + this._updateReactiveDict(this._queryParams, queryParams); + + // if the route is changing, we need to defer triggering path changing + // if we did this, old route's path watchers will detect this + // Real issue is, above watcher will get removed with the new route + // So, we don't need to trigger it now + // We are doing it on the route close event. So, if they exists they'll + // get notify that + if(!routeChanging) { + this._pathChangeDep.changed(); + } +}; + +Route.prototype._updateReactiveDict = function(dict, newValues) { + var currentKeys = _.keys(newValues); + var oldKeys = _.keys(dict.keyDeps); + + // set new values + // params is an array. So, _.each(params) does not works + // to iterate params + _.each(currentKeys, function(key) { + dict.set(key, newValues[key]); + }); + + // remove keys which does not exisits here + var removedKeys = _.difference(oldKeys, currentKeys); + _.each(removedKeys, function(key) { + dict.set(key, undefined); + }); +}; diff --git a/packages/kadira-flow-router/client/router.js b/packages/kadira-flow-router/client/router.js new file mode 100644 index 0000000..ae91751 --- /dev/null +++ b/packages/kadira-flow-router/client/router.js @@ -0,0 +1,587 @@ +Router = function () { + var self = this; + this.globals = []; + this.subscriptions = Function.prototype; + + this._tracker = this._buildTracker(); + this._current = {}; + + // tracks the current path change + this._onEveryPath = new Tracker.Dependency(); + + this._globalRoute = new Route(this); + + // holds onRoute callbacks + this._onRouteCallbacks = []; + + // if _askedToWait is true. We don't automatically start the router + // in Meteor.startup callback. (see client/_init.js) + // Instead user need to call `.initialize() + this._askedToWait = false; + this._initialized = false; + this._triggersEnter = []; + this._triggersExit = []; + this._routes = []; + this._routesMap = {}; + this._updateCallbacks(); + this.notFound = this.notfound = null; + // indicate it's okay (or not okay) to run the tracker + // when doing subscriptions + // using a number and increment it help us to support FlowRouter.go() + // and legitimate reruns inside tracker on the same event loop. + // this is a solution for #145 + this.safeToRun = 0; + + // Meteor exposes to the client the path prefix that was defined using the + // ROOT_URL environement variable on the server using the global runtime + // configuration. See #315. + this._basePath = __meteor_runtime_config__.ROOT_URL_PATH_PREFIX || ''; + + // this is a chain contains a list of old routes + // most of the time, there is only one old route + // but when it's the time for a trigger redirect we've a chain + this._oldRouteChain = []; + + this.env = { + replaceState: new Meteor.EnvironmentVariable(), + reload: new Meteor.EnvironmentVariable(), + trailingSlash: new Meteor.EnvironmentVariable() + }; + + // redirect function used inside triggers + this._redirectFn = function(pathDef, fields, queryParams) { + if (/^http(s)?:\/\//.test(pathDef)) { + var message = "Redirects to URLs outside of the app are not supported in this version of Flow Router. Use 'window.location = yourUrl' instead"; + throw new Error(message); + } + self.withReplaceState(function() { + var path = FlowRouter.path(pathDef, fields, queryParams); + self._page.redirect(path); + }); + }; + this._initTriggersAPI(); +}; + +Router.prototype.route = function(pathDef, options, group) { + if (!/^\/.*/.test(pathDef)) { + var message = "route's path must start with '/'"; + throw new Error(message); + } + + options = options || {}; + var self = this; + var route = new Route(this, pathDef, options, group); + + // calls when the page route being activates + route._actionHandle = function (context, next) { + var oldRoute = self._current.route; + self._oldRouteChain.push(oldRoute); + + var queryParams = self._qs.parse(context.querystring); + // _qs.parse() gives us a object without prototypes, + // created with Object.create(null) + // Meteor's check doesn't play nice with it. + // So, we need to fix it by cloning it. + // see more: https://github.com/meteorhacks/flow-router/issues/164 + queryParams = JSON.parse(JSON.stringify(queryParams)); + + self._current = { + path: context.path, + context: context, + params: context.params, + queryParams: queryParams, + route: route, + oldRoute: oldRoute + }; + + // we need to invalidate if all the triggers have been completed + // if not that means, we've been redirected to another path + // then we don't need to invalidate + var afterAllTriggersRan = function() { + self._invalidateTracker(); + }; + + var triggers = self._triggersEnter.concat(route._triggersEnter); + Triggers.runTriggers( + triggers, + self._current, + self._redirectFn, + afterAllTriggersRan + ); + }; + + // calls when you exit from the page js route + route._exitHandle = function(context, next) { + var triggers = self._triggersExit.concat(route._triggersExit); + Triggers.runTriggers( + triggers, + self._current, + self._redirectFn, + next + ); + }; + + this._routes.push(route); + if (options.name) { + this._routesMap[options.name] = route; + } + + this._updateCallbacks(); + this._triggerRouteRegister(route); + + return route; +}; + +Router.prototype.group = function(options) { + return new Group(this, options); +}; + +Router.prototype.path = function(pathDef, fields, queryParams) { + if (this._routesMap[pathDef]) { + pathDef = this._routesMap[pathDef].pathDef; + } + + var path = ""; + + // Prefix the path with the router global prefix + if (this._basePath) { + path += "/" + this._basePath + "/"; + } + + fields = fields || {}; + var regExp = /(:[\w\(\)\\\+\*\.\?]+)+/g; + path += pathDef.replace(regExp, function(key) { + var firstRegexpChar = key.indexOf("("); + // get the content behind : and (\\d+/) + key = key.substring(1, (firstRegexpChar > 0)? firstRegexpChar: undefined); + // remove +?* + key = key.replace(/[\+\*\?]+/g, ""); + + // this is to allow page js to keep the custom characters as it is + // we need to encode 2 times otherwise "/" char does not work properly + // So, in that case, when I includes "/" it will think it's a part of the + // route. encoding 2times fixes it + return encodeURIComponent(encodeURIComponent(fields[key] || "")); + }); + + // Replace multiple slashes with single slash + path = path.replace(/\/\/+/g, "/"); + + // remove trailing slash + // but keep the root slash if it's the only one + path = path.match(/^\/{1}$/) ? path: path.replace(/\/$/, ""); + + // explictly asked to add a trailing slash + if(this.env.trailingSlash.get() && _.last(path) !== "/") { + path += "/"; + } + + var strQueryParams = this._qs.stringify(queryParams || {}); + if(strQueryParams) { + path += "?" + strQueryParams; + } + + return path; +}; + +Router.prototype.go = function(pathDef, fields, queryParams) { + var path = this.path(pathDef, fields, queryParams); + + var useReplaceState = this.env.replaceState.get(); + if(useReplaceState) { + this._page.replace(path); + } else { + this._page(path); + } +}; + +Router.prototype.reload = function() { + var self = this; + + self.env.reload.withValue(true, function() { + self._page.replace(self._current.path); + }); +}; + +Router.prototype.redirect = function(path) { + this._page.redirect(path); +}; + +Router.prototype.setParams = function(newParams) { + if(!this._current.route) {return false;} + + var pathDef = this._current.route.pathDef; + var existingParams = this._current.params; + var params = {}; + _.each(_.keys(existingParams), function(key) { + params[key] = existingParams[key]; + }); + + params = _.extend(params, newParams); + var queryParams = this._current.queryParams; + + this.go(pathDef, params, queryParams); + return true; +}; + +Router.prototype.setQueryParams = function(newParams) { + if(!this._current.route) {return false;} + + var queryParams = _.clone(this._current.queryParams); + _.extend(queryParams, newParams); + + for (var k in queryParams) { + if (queryParams[k] === null || queryParams[k] === undefined) { + delete queryParams[k]; + } + } + + var pathDef = this._current.route.pathDef; + var params = this._current.params; + this.go(pathDef, params, queryParams); + return true; +}; + +// .current is not reactive +// This is by design. use .getParam() instead +// If you really need to watch the path change, use .watchPathChange() +Router.prototype.current = function() { + // We can't trust outside, that's why we clone this + // Anyway, we can't clone the whole object since it has non-jsonable values + // That's why we clone what's really needed. + var current = _.clone(this._current); + current.queryParams = EJSON.clone(current.queryParams); + current.params = EJSON.clone(current.params); + return current; +}; + +// Implementing Reactive APIs +var reactiveApis = [ + 'getParam', 'getQueryParam', + 'getRouteName', 'watchPathChange' +]; +reactiveApis.forEach(function(api) { + Router.prototype[api] = function(arg1) { + // when this is calling, there may not be any route initiated + // so we need to handle it + var currentRoute = this._current.route; + if(!currentRoute) { + this._onEveryPath.depend(); + return; + } + + // currently, there is only one argument. If we've more let's add more args + // this is not clean code, but better in performance + return currentRoute[api].call(currentRoute, arg1); + }; +}); + +Router.prototype.subsReady = function() { + var callback = null; + var args = _.toArray(arguments); + + if (typeof _.last(args) === "function") { + callback = args.pop(); + } + + var currentRoute = this.current().route; + var globalRoute = this._globalRoute; + + // we need to depend for every route change and + // rerun subscriptions to check the ready state + this._onEveryPath.depend(); + + if(!currentRoute) { + return false; + } + + var subscriptions; + if(args.length === 0) { + subscriptions = _.values(globalRoute.getAllSubscriptions()); + subscriptions = subscriptions.concat(_.values(currentRoute.getAllSubscriptions())); + } else { + subscriptions = _.map(args, function(subName) { + return globalRoute.getSubscription(subName) || currentRoute.getSubscription(subName); + }); + } + + var isReady = function() { + var ready = _.every(subscriptions, function(sub) { + return sub && sub.ready(); + }); + + return ready; + }; + + if (callback) { + Tracker.autorun(function(c) { + if (isReady()) { + callback(); + c.stop(); + } + }); + } else { + return isReady(); + } +}; + +Router.prototype.withReplaceState = function(fn) { + return this.env.replaceState.withValue(true, fn); +}; + +Router.prototype.withTrailingSlash = function(fn) { + return this.env.trailingSlash.withValue(true, fn); +}; + +Router.prototype._notfoundRoute = function(context) { + this._current = { + path: context.path, + context: context, + params: [], + queryParams: {}, + }; + + // XXX this.notfound kept for backwards compatibility + this.notFound = this.notFound || this.notfound; + if(!this.notFound) { + console.error("There is no route for the path:", context.path); + return; + } + + this._current.route = new Route(this, "*", this.notFound); + this._invalidateTracker(); +}; + +Router.prototype.initialize = function(options) { + options = options || {}; + + if(this._initialized) { + throw new Error("FlowRouter is already initialized"); + } + + var self = this; + this._updateCallbacks(); + + // Implementing idempotent routing + // by overriding page.js`s "show" method. + // Why? + // It is impossible to bypass exit triggers, + // because they execute before the handler and + // can not know what the next path is, inside exit trigger. + // + // we need override both show, replace to make this work + // since we use redirect when we are talking about withReplaceState + _.each(['show', 'replace'], function(fnName) { + var original = self._page[fnName]; + self._page[fnName] = function(path, state, dispatch, push) { + var reload = self.env.reload.get(); + if (!reload && self._current.path === path) { + return; + } + + original.call(this, path, state, dispatch, push); + }; + }); + + // this is very ugly part of pagejs and it does decoding few times + // in unpredicatable manner. See #168 + // this is the default behaviour and we need keep it like that + // we are doing a hack. see .path() + this._page.base(this._basePath); + this._page({ + decodeURLComponents: true, + hashbang: !!options.hashbang + }); + + this._initialized = true; +}; + +Router.prototype._buildTracker = function() { + var self = this; + + // main autorun function + var tracker = Tracker.autorun(function () { + if(!self._current || !self._current.route) { + return; + } + + // see the definition of `this._processingContexts` + var currentContext = self._current; + var route = currentContext.route; + var path = currentContext.path; + + if(self.safeToRun === 0) { + var message = + "You can't use reactive data sources like Session" + + " inside the `.subscriptions` method!"; + throw new Error(message); + } + + // We need to run subscriptions inside a Tracker + // to stop subs when switching between routes + // But we don't need to run this tracker with + // other reactive changes inside the .subscription method + // We tackle this with the `safeToRun` variable + self._globalRoute.clearSubscriptions(); + self.subscriptions.call(self._globalRoute, path); + route.callSubscriptions(currentContext); + + // otherwise, computations inside action will trigger to re-run + // this computation. which we do not need. + Tracker.nonreactive(function() { + var isRouteChange = currentContext.oldRoute !== currentContext.route; + var isFirstRoute = !currentContext.oldRoute; + // first route is not a route change + if(isFirstRoute) { + isRouteChange = false; + } + + // Clear oldRouteChain just before calling the action + // We still need to get a copy of the oldestRoute first + // It's very important to get the oldest route and registerRouteClose() it + // See: https://github.com/kadirahq/flow-router/issues/314 + var oldestRoute = self._oldRouteChain[0]; + self._oldRouteChain = []; + + currentContext.route.registerRouteChange(currentContext, isRouteChange); + route.callAction(currentContext); + + Tracker.afterFlush(function() { + self._onEveryPath.changed(); + if(isRouteChange) { + // We need to trigger that route (definition itself) has changed. + // So, we need to re-run all the register callbacks to current route + // This is pretty important, otherwise tracker + // can't identify new route's items + + // We also need to afterFlush, otherwise this will re-run + // helpers on templates which are marked for destroying + if(oldestRoute) { + oldestRoute.registerRouteClose(); + } + } + }); + }); + + self.safeToRun--; + }); + + return tracker; +}; + +Router.prototype._invalidateTracker = function() { + var self = this; + this.safeToRun++; + this._tracker.invalidate(); + // After the invalidation we need to flush to make changes imediately + // otherwise, we have face some issues context mix-maches and so on. + // But there are some cases we can't flush. So we need to ready for that. + + // we clearly know, we can't flush inside an autorun + // this may leads some issues on flow-routing + // we may need to do some warning + if(!Tracker.currentComputation) { + // Still there are some cases where we can't flush + // eg:- when there is a flush currently + // But we've no public API or hacks to get that state + // So, this is the only solution + try { + Tracker.flush(); + } catch(ex) { + // only handling "while flushing" errors + if(!/Tracker\.flush while flushing/.test(ex.message)) { + return; + } + + // XXX: fix this with a proper solution by removing subscription mgt. + // from the router. Then we don't need to run invalidate using a tracker + + // this happens when we are trying to invoke a route change + // with inside a route chnage. (eg:- Template.onCreated) + // Since we use page.js and tracker, we don't have much control + // over this process. + // only solution is to defer route execution. + + // It's possible to have more than one path want to defer + // But, we only need to pick the last one. + // self._nextPath = self._current.path; + Meteor.defer(function() { + var path = self._nextPath; + if(!path) { + return; + } + + delete self._nextPath; + self.env.reload.withValue(true, function() { + self.go(path); + }); + }); + } + } +}; + +Router.prototype._updateCallbacks = function () { + var self = this; + + self._page.callbacks = []; + self._page.exits = []; + + _.each(self._routes, function(route) { + self._page(route.pathDef, route._actionHandle); + self._page.exit(route.pathDef, route._exitHandle); + }); + + self._page("*", function(context) { + self._notfoundRoute(context); + }); +}; + +Router.prototype._initTriggersAPI = function() { + var self = this; + this.triggers = { + enter: function(triggers, filter) { + triggers = Triggers.applyFilters(triggers, filter); + if(triggers.length) { + self._triggersEnter = self._triggersEnter.concat(triggers); + } + }, + + exit: function(triggers, filter) { + triggers = Triggers.applyFilters(triggers, filter); + if(triggers.length) { + self._triggersExit = self._triggersExit.concat(triggers); + } + } + }; +}; + +Router.prototype.wait = function() { + if(this._initialized) { + throw new Error("can't wait after FlowRouter has been initialized"); + } + + this._askedToWait = true; +}; + +Router.prototype.onRouteRegister = function(cb) { + this._onRouteCallbacks.push(cb); +}; + +Router.prototype._triggerRouteRegister = function(currentRoute) { + // We should only need to send a safe set of fields on the route + // object. + // This is not to hide what's inside the route object, but to show + // these are the public APIs + var routePublicApi = _.pick(currentRoute, 'name', 'pathDef', 'path'); + var omittingOptionFields = [ + 'triggersEnter', 'triggersExit', 'action', 'subscriptions', 'name' + ]; + routePublicApi.options = _.omit(currentRoute.options, omittingOptionFields); + + _.each(this._onRouteCallbacks, function(cb) { + cb(routePublicApi); + }); +}; + +Router.prototype._page = page; +Router.prototype._qs = qs; diff --git a/packages/kadira-flow-router/client/triggers.js b/packages/kadira-flow-router/client/triggers.js new file mode 100644 index 0000000..7733332 --- /dev/null +++ b/packages/kadira-flow-router/client/triggers.js @@ -0,0 +1,112 @@ +// a set of utility functions for triggers + +Triggers = {}; + +// Apply filters for a set of triggers +// @triggers - a set of triggers +// @filter - filter with array fileds with `only` and `except` +// support only either `only` or `except`, but not both +Triggers.applyFilters = function(triggers, filter) { + if(!(triggers instanceof Array)) { + triggers = [triggers]; + } + + if(!filter) { + return triggers; + } + + if(filter.only && filter.except) { + throw new Error("Triggers don't support only and except filters at once"); + } + + if(filter.only && !(filter.only instanceof Array)) { + throw new Error("only filters needs to be an array"); + } + + if(filter.except && !(filter.except instanceof Array)) { + throw new Error("except filters needs to be an array"); + } + + if(filter.only) { + return Triggers.createRouteBoundTriggers(triggers, filter.only); + } + + if(filter.except) { + return Triggers.createRouteBoundTriggers(triggers, filter.except, true); + } + + throw new Error("Provided a filter but not supported"); +}; + +// create triggers by bounding them to a set of route names +// @triggers - a set of triggers +// @names - list of route names to be bound (trigger runs only for these names) +// @negate - negate the result (triggers won't run for above names) +Triggers.createRouteBoundTriggers = function(triggers, names, negate) { + var namesMap = {}; + _.each(names, function(name) { + namesMap[name] = true; + }); + + var filteredTriggers = _.map(triggers, function(originalTrigger) { + var modifiedTrigger = function(context, next) { + var routeName = context.route.name; + var matched = (namesMap[routeName])? 1: -1; + matched = (negate)? matched * -1 : matched; + + if(matched === 1) { + originalTrigger(context, next); + } + }; + return modifiedTrigger; + }); + + return filteredTriggers; +}; + +// run triggers and abort if redirected or callback stopped +// @triggers - a set of triggers +// @context - context we need to pass (it must have the route) +// @redirectFn - function which used to redirect +// @after - called after if only all the triggers runs +Triggers.runTriggers = function(triggers, context, redirectFn, after) { + var abort = false; + var inCurrentLoop = true; + var alreadyRedirected = false; + + for(var lc=0; lc 0)? firstRegexpChar: undefined); + // remove +?* + key = key.replace(/[\+\*\?]+/g, ""); + + return fields[key] || ""; + }); + + path = path.replace(/\/\/+/g, "/"); // Replace multiple slashes with single slash + + // remove trailing slash + // but keep the root slash if it's the only one + path = path.match(/^\/{1}$/) ? path: path.replace(/\/$/, ""); + + var strQueryParams = Qs.stringify(queryParams || {}); + if(strQueryParams) { + path += "?" + strQueryParams; + } + + return path; +}; + +Router.prototype.onRouteRegister = function(cb) { + this._onRouteCallbacks.push(cb); +}; + +Router.prototype._triggerRouteRegister = function(currentRoute) { + // We should only need to send a safe set of fields on the route + // object. + // This is not to hide what's inside the route object, but to show + // these are the public APIs + var routePublicApi = _.pick(currentRoute, 'name', 'pathDef', 'path'); + var omittingOptionFields = [ + 'triggersEnter', 'triggersExit', 'action', 'subscriptions', 'name' + ]; + routePublicApi.options = _.omit(currentRoute.options, omittingOptionFields); + + _.each(this._onRouteCallbacks, function(cb) { + cb(routePublicApi); + }); +}; + + +Router.prototype.go = function() { + // client only +}; + + +Router.prototype.current = function() { + // client only +}; + + +Router.prototype.triggers = { + enter: function() { + // client only + }, + exit: function() { + // client only + } +}; + +Router.prototype.middleware = function() { + // client only +}; + + +Router.prototype.getState = function() { + // client only +}; + + +Router.prototype.getAllStates = function() { + // client only +}; + + +Router.prototype.setState = function() { + // client only +}; + + +Router.prototype.removeState = function() { + // client only +}; + + +Router.prototype.clearStates = function() { + // client only +}; + + +Router.prototype.ready = function() { + // client only +}; + + +Router.prototype.initialize = function() { + // client only +}; + +Router.prototype.wait = function() { + // client only +}; diff --git a/packages/kadira-flow-router/test/client/_helpers.js b/packages/kadira-flow-router/test/client/_helpers.js new file mode 100644 index 0000000..94376f0 --- /dev/null +++ b/packages/kadira-flow-router/test/client/_helpers.js @@ -0,0 +1,10 @@ +GetSub = function (name) { + for(var id in Meteor.connection._subscriptions) { + var sub = Meteor.connection._subscriptions[id]; + if(name === sub.name) { + return sub; + } + } +}; + +FlowRouter.route('/'); diff --git a/packages/kadira-flow-router/test/client/group.spec.js b/packages/kadira-flow-router/test/client/group.spec.js new file mode 100644 index 0000000..06e793b --- /dev/null +++ b/packages/kadira-flow-router/test/client/group.spec.js @@ -0,0 +1,113 @@ +Tinytest.add('Client - Group - validate path definition', function (test, next) { + // path & prefix must start with '/' + test.throws(function() { + new Group(null, {prefix: Random.id()}); + }); + + var group = FlowRouter.group({prefix: '/' + Random.id()}); + + test.throws(function() { + group.route(Random.id()); + }); +}); + +Tinytest.addAsync('Client - Group - define and go to route with prefix', function (test, next) { + var prefix = Random.id(); + var rand = Random.id(); + var rendered = 0; + + var group = FlowRouter.group({prefix: '/' + prefix}); + + group.route('/' + rand, { + action: function(_params) { + rendered++; + } + }); + + FlowRouter.go('/' + prefix + '/' + rand); + + setTimeout(function() { + test.equal(rendered, 1); + setTimeout(next, 100); + }, 100); +}); + +Tinytest.addAsync('Client - Group - define and go to route without prefix', function (test, next) { + var rand = Random.id(); + var rendered = 0; + + var group = FlowRouter.group(); + + group.route('/' + rand, { + action: function(_params) { + rendered++; + } + }); + + FlowRouter.go('/' + rand); + + setTimeout(function() { + test.equal(rendered, 1); + setTimeout(next, 100); + }, 100); +}); + +Tinytest.addAsync('Client - Group - subscribe', function (test, next) { + var rand = Random.id(); + + var group = FlowRouter.group({ + subscriptions: function (params) { + this.register('baz', Meteor.subscribe('baz')); + } + }); + + group.route('/' + rand); + + FlowRouter.go('/' + rand); + setTimeout(function() { + test.isTrue(!!GetSub('baz')); + next(); + }, 100); +}); + + +Tinytest.addAsync('Client - Group - set and retrieve group name', function (test, next) { + var rand = Random.id(); + var name = Random.id(); + + var group = FlowRouter.group({ + name: name + }); + + group.route('/' + rand); + + FlowRouter.go('/' + rand); + setTimeout(function() { + test.isTrue(FlowRouter.current().route.group.name === name); + next(); + }, 100); +}); + +Tinytest.add('Client - Group - expose group options on a route', function (test) { + var pathDef = "/" + Random.id(); + var name = Random.id(); + var groupName = Random.id(); + var data = {aa: 10}; + var layout = 'blah'; + + var group = FlowRouter.group({ + name: groupName, + prefix: '/admin', + layout: layout, + someData: data + }); + + group.route(pathDef, { + name: name + }); + + var route = FlowRouter._routesMap[name]; + + test.equal(route.group.options.someData, data); + test.equal(route.group.options.layout, layout); +}); diff --git a/packages/kadira-flow-router/test/client/loader.spec.js b/packages/kadira-flow-router/test/client/loader.spec.js new file mode 100644 index 0000000..091c2e0 --- /dev/null +++ b/packages/kadira-flow-router/test/client/loader.spec.js @@ -0,0 +1,17 @@ +Router = FlowRouter.Router; + + +Tinytest.add('Client - import page.js', function (test) { + test.isTrue(!!Router.prototype._page); + test.isFalse(!!window.page); +}); + + +Tinytest.add('Client - import query.js', function (test) { + test.isTrue(!!Router.prototype._qs); +}); + + +Tinytest.add('Client - create FlowRouter', function (test) { + test.isTrue(!!FlowRouter); +}); diff --git a/packages/kadira-flow-router/test/client/route.reactivity.spec.js b/packages/kadira-flow-router/test/client/route.reactivity.spec.js new file mode 100644 index 0000000..c6c4418 --- /dev/null +++ b/packages/kadira-flow-router/test/client/route.reactivity.spec.js @@ -0,0 +1,158 @@ +Route = FlowRouter.Route; + + +Tinytest.addAsync('Client - Route - Reactivity - getParam', function (test, done) { + var r = new Route(); + Tracker.autorun(function(c) { + var param = r.getParam("id"); + if(param) { + test.equal(param, "hello"); + c.stop(); + Meteor.defer(done); + } + }); + + setTimeout(function() { + var context = { + params: {id: "hello"}, + queryParams: {} + }; + r.registerRouteChange(context); + }, 10); +}); + +Tinytest.addAsync('Client - Route - Reactivity - getParam on route close', function (test, done) { + var r = new Route(); + var closeTriggered = false; + Tracker.autorun(function(c) { + var param = r.getParam("id"); + if(closeTriggered) { + test.equal(param, undefined); + c.stop(); + Meteor.defer(done); + } + }); + + setTimeout(function() { + closeTriggered = true; + r.registerRouteClose(); + }, 10); +}); + +Tinytest.addAsync('Client - Route - Reactivity - getQueryParam', function (test, done) { + var r = new Route(); + Tracker.autorun(function(c) { + var param = r.getQueryParam("id"); + if(param) { + test.equal(param, "hello"); + c.stop(); + Meteor.defer(done); + } + }); + + setTimeout(function() { + var context = { + params: {}, + queryParams: {id: "hello"} + }; + r.registerRouteChange(context); + }, 10); +}); + +Tinytest.addAsync('Client - Route - Reactivity - getQueryParam on route close', function (test, done) { + var r = new Route(); + var closeTriggered = false; + Tracker.autorun(function(c) { + var param = r.getQueryParam("id"); + if(closeTriggered) { + test.equal(param, undefined); + c.stop(); + Meteor.defer(done); + } + }); + + setTimeout(function() { + closeTriggered = true; + r.registerRouteClose(); + }, 10); +}); + +Tinytest.addAsync('Client - Route - Reactivity - getRouteName rerun when route closed', function (test, done) { + var r = new Route(); + r.name = "my-route"; + var closeTriggered = false; + + Tracker.autorun(function(c) { + var name = r.getRouteName(); + test.equal(name, r.name); + + if(closeTriggered) { + c.stop(); + Meteor.defer(done); + } + }); + + setTimeout(function() { + closeTriggered = true; + r.registerRouteClose(); + }, 10); +}); + +Tinytest.addAsync('Client - Route - Reactivity - watchPathChange when routeChange', function (test, done) { + var r = new Route(); + var pathChangeCounts = 0; + + var c = Tracker.autorun(function() { + r.watchPathChange(); + pathChangeCounts++; + }); + + var context = { + params: {}, + queryParams: {} + }; + + setTimeout(function() { + r.registerRouteChange(context); + setTimeout(checkAfterNormalRouteChange, 50); + }, 10); + + function checkAfterNormalRouteChange() { + test.equal(pathChangeCounts, 2); + var lastRouteChange = true; + r.registerRouteChange(context, lastRouteChange); + setTimeout(checkAfterLastRouteChange, 10); + } + + function checkAfterLastRouteChange() { + test.equal(pathChangeCounts, 2); + c.stop(); + Meteor.defer(done); + } +}); + +Tinytest.addAsync('Client - Route - Reactivity - watchPathChange when routeClose', function (test, done) { + var r = new Route(); + var pathChangeCounts = 0; + + var c = Tracker.autorun(function() { + r.watchPathChange(); + pathChangeCounts++; + }); + + var context = { + params: {}, + queryParams: {} + }; + + setTimeout(function() { + r.registerRouteClose(); + setTimeout(checkAfterRouteClose, 10); + }, 10); + + function checkAfterRouteClose() { + test.equal(pathChangeCounts, 2); + c.stop(); + Meteor.defer(done); + } +}); \ No newline at end of file diff --git a/packages/kadira-flow-router/test/client/router.core.spec.js b/packages/kadira-flow-router/test/client/router.core.spec.js new file mode 100644 index 0000000..160c911 --- /dev/null +++ b/packages/kadira-flow-router/test/client/router.core.spec.js @@ -0,0 +1,632 @@ +Router = FlowRouter.Router; + +Tinytest.addAsync('Client - Router - define and go to route', function (test, next) { + var rand = Random.id(); + var rendered = 0; + + FlowRouter.route('/' + rand, { + action: function(_params) { + rendered++; + } + }); + + FlowRouter.go('/' + rand); + + setTimeout(function() { + test.equal(rendered, 1); + setTimeout(next, 100); + }, 100); +}); + +Tinytest.addAsync('Client - Router - define and go to route with fields', +function (test, next) { + var rand = Random.id(); + var pathDef = "/" + rand + "/:key"; + var rendered = 0; + + FlowRouter.route(pathDef, { + action: function(params) { + test.equal(params.key, "abc +@%"); + rendered++; + } + }); + + FlowRouter.go(pathDef, {key: "abc +@%"}); + + setTimeout(function() { + test.equal(rendered, 1); + setTimeout(next, 100); + }, 100); +}); + +Tinytest.addAsync('Client - Router - parse params and query', function (test, next) { + var rand = Random.id(); + var rendered = 0; + var params = null; + + FlowRouter.route('/' + rand + '/:foo', { + action: function(_params) { + rendered++; + params = _params; + } + }); + + FlowRouter.go('/' + rand + '/bar'); + + setTimeout(function() { + test.equal(rendered, 1); + test.equal(params.foo, 'bar'); + setTimeout(next, 100); + }, 100); +}); + +Tinytest.addAsync('Client - Router - redirect using FlowRouter.go', function (test, next) { + var rand = Random.id(), rand2 = Random.id(); + var log = []; + var paths = ['/' + rand2, '/' + rand]; + var done = false; + + FlowRouter.route(paths[0], { + action: function(_params) { + log.push(1); + FlowRouter.go(paths[1]); + } + }); + + FlowRouter.route(paths[1], { + action: function(_params) { + log.push(2); + } + }); + + FlowRouter.go(paths[0]); + + setTimeout(function() { + test.equal(log, [1, 2]); + done = true; + next(); + }, 100); +}); + +Tinytest.addAsync('Client - Router - get current route path', function (test, next) { + var value = Random.id(); + var randomValue = Random.id(); + var pathDef = "/" + randomValue + '/:_id'; + var path = "/" + randomValue + "/" + value; + + var detectedValue = null; + + FlowRouter.route(pathDef, { + action: function(params) { + detectedValue = params._id; + } + }); + + FlowRouter.go(path); + + Meteor.setTimeout(function() { + test.equal(detectedValue, value); + test.equal(FlowRouter.current().path, path); + next(); + }, 50); +}); + +Tinytest.addAsync('Client - Router - subscribe to global subs', function (test, next) { + var rand = Random.id(); + FlowRouter.route('/' + rand); + + FlowRouter.subscriptions = function (path) { + test.equal(path, '/' + rand); + this.register('baz', Meteor.subscribe('baz')); + }; + + FlowRouter.go('/' + rand); + setTimeout(function() { + test.isTrue(!!GetSub('baz')); + FlowRouter.subscriptions = Function.prototype; + next(); + }, 100); +}); + +Tinytest.addAsync('Client - Router - setParams - generic', function (test, done) { + var randomKey = Random.id(); + var pathDef = "/" + randomKey + "/:cat/:id"; + var paramsList = []; + FlowRouter.route(pathDef, { + action: function(params) { + paramsList.push(params); + } + }); + + FlowRouter.go(pathDef, {cat: "meteor", id: "200"}); + setTimeout(function() { + // return done(); + var success = FlowRouter.setParams({id: "700"}); + test.isTrue(success); + setTimeout(validate, 50); + }, 50); + + function validate() { + test.equal(paramsList.length, 2); + test.equal(_.pick(paramsList[0], "id", "cat"), {cat: "meteor", id: "200"}); + test.equal(_.pick(paramsList[1], "id", "cat"), {cat: "meteor", id: "700"}); + done(); + } +}); + +Tinytest.addAsync('Client - Router - setParams - preserve query strings', function (test, done) { + var randomKey = Random.id(); + var pathDef = "/" + randomKey + "/:cat/:id"; + var paramsList = []; + var queryParamsList = []; + + FlowRouter.route(pathDef, { + action: function(params, queryParams) { + paramsList.push(params); + queryParamsList.push(queryParams); + } + }); + + FlowRouter.go(pathDef, {cat: "meteor", id: "200 +% / ad"}, {aa: "20 +%"}); + setTimeout(function() { + // return done(); + var success = FlowRouter.setParams({id: "700 +% / ad"}); + test.isTrue(success); + setTimeout(validate, 50); + }, 50); + + function validate() { + test.equal(paramsList.length, 2); + test.equal(queryParamsList.length, 2); + + test.equal(_.pick(paramsList[0], "id", "cat"), {cat: "meteor", id: "200 +% / ad"}); + test.equal(_.pick(paramsList[1], "id", "cat"), {cat: "meteor", id: "700 +% / ad"}); + test.equal(queryParamsList, [{aa: "20 +%"}, {aa: "20 +%"}]); + done(); + } +}); + +Tinytest.add('Client - Router - setParams - no route selected', function (test) { + var originalRoute = FlowRouter._current.route; + FlowRouter._current.route = undefined; + var success = FlowRouter.setParams({id: "800"}); + test.isFalse(success); + FlowRouter._current.route = originalRoute; +}); + +Tinytest.addAsync('Client - Router - setQueryParams - using check', function (test, done) { + var randomKey = Random.id(); + var pathDef = "/" + randomKey + ""; + var queryParamsList = []; + FlowRouter.route(pathDef, { + action: function(params, queryParams) { + queryParamsList.push(queryParams); + } + }); + + FlowRouter.go(pathDef, {}, {cat: "meteor", id: "200"}); + setTimeout(function() { + check(FlowRouter.current().queryParams, {cat: String, id: String}); + done(); + }, 50); +}); + +Tinytest.addAsync('Client - Router - setQueryParams - generic', function (test, done) { + var randomKey = Random.id(); + var pathDef = "/" + randomKey + ""; + var queryParamsList = []; + FlowRouter.route(pathDef, { + action: function(params, queryParams) { + queryParamsList.push(queryParams); + } + }); + + FlowRouter.go(pathDef, {}, {cat: "meteor", id: "200"}); + setTimeout(function() { + // return done(); + var success = FlowRouter.setQueryParams({id: "700"}); + test.isTrue(success); + setTimeout(validate, 50); + }, 50); + + function validate() { + test.equal(queryParamsList.length, 2); + test.equal(_.pick(queryParamsList[0], "id", "cat"), {cat: "meteor", id: "200"}); + test.equal(_.pick(queryParamsList[1], "id", "cat"), {cat: "meteor", id: "700"}); + done(); + } +}); + +Tinytest.addAsync('Client - Router - setQueryParams - remove query param null', function (test, done) { + var randomKey = Random.id(); + var pathDef = "/" + randomKey + ""; + var queryParamsList = []; + FlowRouter.route(pathDef, { + action: function(params, queryParams) { + queryParamsList.push(queryParams); + } + }); + + FlowRouter.go(pathDef, {}, {cat: "meteor", id: "200"}); + setTimeout(function() { + var success = FlowRouter.setQueryParams({id: "700", cat: null}); + test.isTrue(success); + setTimeout(validate, 50); + }, 50); + + function validate() { + test.equal(queryParamsList.length, 2); + test.equal(_.pick(queryParamsList[0], "id", "cat"), {cat: "meteor", id: "200"}); + test.equal(queryParamsList[1], {id: "700"}); + done(); + } +}); + +Tinytest.addAsync('Client - Router - setQueryParams - remove query param undefined', function (test, done) { + var randomKey = Random.id(); + var pathDef = "/" + randomKey + ""; + var queryParamsList = []; + FlowRouter.route(pathDef, { + action: function(params, queryParams) { + queryParamsList.push(queryParams); + } + }); + + FlowRouter.go(pathDef, {}, {cat: "meteor", id: "200"}); + setTimeout(function() { + var success = FlowRouter.setQueryParams({id: "700", cat: undefined}); + test.isTrue(success); + setTimeout(validate, 50); + }, 50); + + function validate() { + test.equal(queryParamsList.length, 2); + test.equal(_.pick(queryParamsList[0], "id", "cat"), {cat: "meteor", id: "200"}); + test.equal(queryParamsList[1], {id: "700"}); + done(); + } +}); + +Tinytest.addAsync('Client - Router - setQueryParams - preserve params', function (test, done) { + var randomKey = Random.id(); + var pathDef = "/" + randomKey + "/:abc"; + var queryParamsList = []; + var paramsList = []; + FlowRouter.route(pathDef, { + action: function(params, queryParams) { + paramsList.push(params); + queryParamsList.push(queryParams); + } + }); + + FlowRouter.go(pathDef, {abc: "20"}, {cat: "meteor", id: "200"}); + setTimeout(function() { + // return done(); + var success = FlowRouter.setQueryParams({id: "700"}); + test.isTrue(success); + setTimeout(validate, 50); + }, 50); + + function validate() { + test.equal(queryParamsList.length, 2); + test.equal(queryParamsList, [ + {cat: "meteor", id: "200"}, {cat: "meteor", id: "700"} + ]); + + test.equal(paramsList.length, 2); + test.equal(_.pick(paramsList[0], "abc"), {abc: "20"}); + test.equal(_.pick(paramsList[1], "abc"), {abc: "20"}); + done(); + } +}); + +Tinytest.add('Client - Router - setQueryParams - no route selected', function (test) { + var originalRoute = FlowRouter._current.route; + FlowRouter._current.route = undefined; + var success = FlowRouter.setQueryParams({id: "800"}); + test.isFalse(success); + FlowRouter._current.route = originalRoute; +}); + +Tinytest.addAsync('Client - Router - notFound', function (test, done) { + var data = []; + FlowRouter.notFound = { + subscriptions: function() { + data.push("subscriptions"); + }, + action: function() { + data.push("action"); + } + }; + + FlowRouter.go("/" + Random.id()); + setTimeout(function() { + test.equal(data, ["subscriptions", "action"]); + done(); + }, 50); +}); + +Tinytest.addAsync('Client - Router - withReplaceState - enabled', +function (test, done) { + var pathDef = "/" + Random.id() + "/:id"; + var originalRedirect = FlowRouter._page.replace; + var callCount = 0; + FlowRouter._page.replace = function(path) { + callCount++; + originalRedirect.call(FlowRouter._page, path); + }; + + FlowRouter.route(pathDef, { + name: name, + action: function(params) { + test.equal(params.id, "awesome"); + test.equal(callCount, 1); + FlowRouter._page.replace = originalRedirect; + // We don't use Meteor.defer here since it carries + // Meteor.Environment vars too + // Which breaks our test below + setTimeout(done, 0); + } + }); + + FlowRouter.withReplaceState(function() { + FlowRouter.go(pathDef, {id: "awesome"}); + }); +}); + +Tinytest.addAsync('Client - Router - withReplaceState - disabled', +function (test, done) { + var pathDef = "/" + Random.id() + "/:id"; + var originalRedirect = FlowRouter._page.replace; + var callCount = 0; + FlowRouter._page.replace = function(path) { + callCount++; + originalRedirect.call(FlowRouter._page, path); + }; + + FlowRouter.route(pathDef, { + name: name, + action: function(params) { + test.equal(params.id, "awesome"); + test.equal(callCount, 0); + FlowRouter._page.replace = originalRedirect; + Meteor.defer(done); + } + }); + + FlowRouter.go(pathDef, {id: "awesome"}); +}); + +Tinytest.addAsync('Client - Router - withTrailingSlash - enabled', function (test, next) { + var rand = Random.id(); + var rendered = 0; + + FlowRouter.route('/' + rand, { + action: function(_params) { + rendered++; + } + }); + + FlowRouter.withTrailingSlash(function() { + FlowRouter.go('/' + rand); + }); + + setTimeout(function() { + test.equal(rendered, 1); + test.equal(_.last(location.href), '/'); + setTimeout(next, 100); + }, 100); +}); + +Tinytest.addAsync('Client - Router - idempotent routing - action', +function (test, done) { + var rand = Random.id(); + var pathDef = "/" + rand; + var rendered = 0; + + FlowRouter.route(pathDef, { + action: function(params) { + rendered++; + } + }); + + FlowRouter.go(pathDef); + + Meteor.defer(function() { + FlowRouter.go(pathDef); + + Meteor.defer(function() { + test.equal(rendered, 1); + done(); + }); + }); +}); + +Tinytest.addAsync('Client - Router - idempotent routing - triggers', +function (test, next) { + var rand = Random.id(); + var pathDef = "/" + rand; + var runnedTriggers = 0; + var done = false; + + var triggerFns = [function(params) { + if (done) return; + + runnedTriggers++; + }]; + + FlowRouter.triggers.enter(triggerFns); + + FlowRouter.route(pathDef, { + triggersEnter: triggerFns, + triggersExit: triggerFns + }); + + FlowRouter.go(pathDef); + + FlowRouter.triggers.exit(triggerFns); + + Meteor.defer(function() { + FlowRouter.go(pathDef); + + Meteor.defer(function() { + test.equal(runnedTriggers, 2); + done = true; + next(); + }); + }); +}); + +Tinytest.addAsync('Client - Router - reload - action', +function (test, done) { + var rand = Random.id(); + var pathDef = "/" + rand; + var rendered = 0; + + FlowRouter.route(pathDef, { + action: function(params) { + rendered++; + } + }); + + FlowRouter.go(pathDef); + + Meteor.defer(function() { + FlowRouter.reload(); + + Meteor.defer(function() { + test.equal(rendered, 2); + done(); + }); + }); +}); + +Tinytest.addAsync('Client - Router - reload - triggers', +function (test, next) { + var rand = Random.id(); + var pathDef = "/" + rand; + var runnedTriggers = 0; + var done = false; + + var triggerFns = [function(params) { + if (done) return; + + runnedTriggers++; + }]; + + FlowRouter.triggers.enter(triggerFns); + + FlowRouter.route(pathDef, { + triggersEnter: triggerFns, + triggersExit: triggerFns + }); + + FlowRouter.go(pathDef); + + FlowRouter.triggers.exit(triggerFns); + + Meteor.defer(function() { + FlowRouter.reload(); + + Meteor.defer(function() { + test.equal(runnedTriggers, 6); + done = true; + next(); + }); + }); +}); + +Tinytest.addAsync( +'Client - Router - wait - before initialize', +function(test, done) { + FlowRouter._initialized = false; + FlowRouter.wait(); + test.equal(FlowRouter._askedToWait, true); + + FlowRouter._initialized = true; + FlowRouter._askedToWait = false; + done(); +}); + +Tinytest.addAsync( +'Client - Router - wait - after initialized', +function(test, done) { + try { + FlowRouter.wait(); + } catch(ex) { + test.isTrue(/can't wait/.test(ex.message)); + done(); + } +}); + +Tinytest.addAsync( +'Client - Router - initialize - after initialized', +function(test, done) { + try { + FlowRouter.initialize(); + } catch(ex) { + test.isTrue(/already initialized/.test(ex.message)); + done(); + } +}); + +Tinytest.addAsync( +'Client - Router - base path - url updated', +function(test, done) { + var simulatedBasePath = '/flow'; + var rand = Random.id(); + FlowRouter.route('/' + rand, { action: function() {} }); + + setBasePath(simulatedBasePath); + FlowRouter.go('/' + rand); + setTimeout(function() { + test.equal(location.pathname, simulatedBasePath + '/' + rand); + resetBasePath(); + done(); + }, 100); +}); + +Tinytest.addAsync( +'Client - Router - base path - route action called', +function(test, done) { + var simulatedBasePath = '/flow'; + var rand = Random.id(); + FlowRouter.route('/' + rand, { + action: function() { + resetBasePath(); + done(); + } + }); + + setBasePath(simulatedBasePath); + FlowRouter.go('/' + rand); +}); + +Tinytest.add( +'Client - Router - base path - path generation', +function(test, done) { + _.each(['/flow', '/flow/', 'flow/', 'flow'], function(simulatedBasePath) { + var rand = Random.id(); + setBasePath(simulatedBasePath); + test.equal(FlowRouter.path('/' + rand), '/flow/' + rand); + }); + resetBasePath(); +}); + + +function setBasePath(path) { + FlowRouter._initialized = false; + FlowRouter._basePath = path; + FlowRouter.initialize(); +} + +var defaultBasePath = FlowRouter._basePath; +function resetBasePath() { + setBasePath(defaultBasePath); +} + +function bind(obj, method) { + return function() { + obj[method].apply(obj, arguments); + }; +} diff --git a/packages/kadira-flow-router/test/client/router.reactivity.spec.js b/packages/kadira-flow-router/test/client/router.reactivity.spec.js new file mode 100644 index 0000000..b06deed --- /dev/null +++ b/packages/kadira-flow-router/test/client/router.reactivity.spec.js @@ -0,0 +1,208 @@ +Tinytest.addAsync( +'Client - Router - Reactivity - detectChange only once', +function (test, done) { + var route = "/" + Random.id(); + var name = Random.id(); + FlowRouter.route(route, {name: name}); + + var ranCount = 0; + var pickedId = null; + var c = Tracker.autorun(function() { + ranCount++; + pickedId = FlowRouter.getQueryParam("id"); + if(pickedId) { + test.equal(pickedId, "hello"); + test.equal(ranCount, 2); + c.stop(); + Meteor.defer(done); + } + }); + + setTimeout(function() { + FlowRouter.go(name, {}, {id: "hello"}); + }, 2); +}); + +Tinytest.addAsync( +'Client - Router - Reactivity - detectChange in the action', +function (test, done) { + var route = "/" + Random.id(); + var name = Random.id(); + FlowRouter.route(route, { + name: name, + action: function() { + var id = FlowRouter.getQueryParam("id"); + test.equal(id, "hello"); + Meteor.defer(done); + } + }); + + setTimeout(function() { + FlowRouter.go(name, {}, {id: "hello"}); + }, 2); +}); + +Tinytest.addAsync( +'Client - Router - Reactivity - detect prev routeChange after new action', +function (test, done) { + var route1 = "/" + Random.id(); + var name1 = Random.id(); + var pickedName1 = null; + + var route2 = "/" + Random.id(); + var name2 = Random.id(); + var pickedName2 = Random.id(); + + FlowRouter.route(route1, { + name: name1, + action: function() { + Tracker.autorun(function(c) { + pickedName1 = FlowRouter.getRouteName(); + if(pickedName1 == name2) { + test.equal(pickedName1, pickedName2); + c.stop(); + Meteor.defer(done); + } + }); + } + }); + + FlowRouter.route(route2, { + name: name2, + action: function() { + pickedName2 = FlowRouter.getRouteName(); + test.equal(pickedName1, name1); + test.equal(pickedName2, name2); + } + }); + + FlowRouter.go(name1); + Meteor.setTimeout(function() { + FlowRouter.go(name2); + }, 10); +}); + +Tinytest.addAsync( +'Client - Router - Reactivity - defer watchPathChange until new route rendered', +function(test, done) { + var route1 = "/" + Random.id(); + var name1 = Random.id(); + var pickedName1 = null; + + var route2 = "/" + Random.id(); + var name2 = Random.id(); + var pickedName2 = Random.id(); + + FlowRouter.route(route1, { + name: name1, + action: function() { + Tracker.autorun(function(c) { + FlowRouter.watchPathChange(); + pickedName1 = FlowRouter.current().route.name; + if(pickedName1 == name2) { + test.equal(pickedName1, pickedName2); + c.stop(); + Meteor.defer(done); + } + }); + } + }); + + FlowRouter.route(route2, { + name: name2, + action: function() { + pickedName2 = FlowRouter.current().route.name; + test.equal(pickedName1, name1); + test.equal(pickedName2, name2); + } + }); + + FlowRouter.go(name1); + Meteor.setTimeout(function() { + FlowRouter.go(name2); + }, 10); +}); + +Tinytest.addAsync( +'Client - Router - Reactivity - reactive changes and trigger redirects', +function(test, done) { + var name1 = Random.id(); + var route1 = "/" + name1; + FlowRouter.route(route1, { + name: name1 + }); + + var name2 = Random.id(); + var route2 = "/" + name2; + FlowRouter.route(route2, { + name: name2, + triggersEnter: [function(context, redirect) { + redirect(name3); + }] + }); + + + var name3 = Random.id(); + var route3 = "/" + name3; + FlowRouter.route(route3, { + name: name3 + }); + + var routeNamesFired = []; + FlowRouter.go(name1); + + var c = null; + setTimeout(function() { + c = Tracker.autorun(function(c) { + routeNamesFired.push(FlowRouter.getRouteName()); + }); + FlowRouter.go(name2); + }, 50); + + setTimeout(function() { + c.stop(); + test.equal(routeNamesFired, [name1, name3]); + Meteor.defer(done); + }, 250); +}); + +Tinytest.addAsync( +'Client - Router - Reactivity - watchPathChange for every route change', +function(test, done) { + var route1 = "/" + Random.id(); + var name1 = Random.id(); + var pickedName1 = null; + + var route2 = "/" + Random.id(); + var name2 = Random.id(); + var pickedName2 = Random.id(); + + FlowRouter.route(route1, { + name: name1 + }); + + FlowRouter.route(route2, { + name: name2 + }); + + var ids = []; + var c = Tracker.autorun(function() { + FlowRouter.watchPathChange(); + ids.push(FlowRouter.current().queryParams['id']); + }); + + FlowRouter.go(name1, {}, {id: "one"}); + Meteor.setTimeout(function() { + FlowRouter.go(name1, {}, {id: "two"}); + }, 10); + + Meteor.setTimeout(function() { + FlowRouter.go(name2, {}, {id: "three"}); + }, 20); + + Meteor.setTimeout(function() { + test.equal(ids, [undefined, "one", "two", "three"]); + c.stop(); + done(); + }, 40); +}); \ No newline at end of file diff --git a/packages/kadira-flow-router/test/client/router.subs_ready.spec.js b/packages/kadira-flow-router/test/client/router.subs_ready.spec.js new file mode 100644 index 0000000..8a20077 --- /dev/null +++ b/packages/kadira-flow-router/test/client/router.subs_ready.spec.js @@ -0,0 +1,225 @@ +Tinytest.addAsync('Client - Router - subsReady - with no args - all subscriptions ready', function (test, next) { + var rand = Random.id(); + FlowRouter.route('/' + rand, { + subscriptions: function(params) { + this.register('bar', Meteor.subscribe('bar')); + this.register('foo', Meteor.subscribe('foo')); + } + }); + + FlowRouter.subscriptions = function () { + this.register('baz', Meteor.subscribe('baz')); + }; + + FlowRouter.go('/' + rand); + + Tracker.autorun(function(c) { + if(FlowRouter.subsReady()) { + FlowRouter.subscriptions = Function.prototype; + next(); + c.stop(); + } + }); +}); + +Tinytest.addAsync('Client - Router - subsReady - with no args - all subscriptions does not ready', function (test, next) { + var rand = Random.id(); + FlowRouter.route('/' + rand, { + subscriptions: function(params) { + this.register('fooNotReady', Meteor.subscribe('fooNotReady')); + } + }); + + FlowRouter.subscriptions = function () { + this.register('bazNotReady', Meteor.subscribe('bazNotReady')); + }; + + FlowRouter.go('/' + rand); + setTimeout(function() { + test.isTrue(!FlowRouter.subsReady()); + FlowRouter.subscriptions = Function.prototype; + next(); + }, 100); +}); + +Tinytest.addAsync('Client - Router - subsReady - with no args - global subscriptions does not ready', function (test, next) { + var rand = Random.id(); + FlowRouter.route('/' + rand, { + subscriptions: function(params) { + this.register('bar', Meteor.subscribe('bar')); + this.register('foo', Meteor.subscribe('foo')); + } + }); + + FlowRouter.subscriptions = function () { + this.register('bazNotReady', Meteor.subscribe('bazNotReady')); + }; + + FlowRouter.go('/' + rand); + setTimeout(function() { + test.isTrue(!FlowRouter.subsReady()); + FlowRouter.subscriptions = Function.prototype; + next(); + }, 100); +}); + +Tinytest.addAsync('Client - Router - subsReady - with no args - current subscriptions does not ready', function (test, next) { + var rand = Random.id(); + FlowRouter.route('/' + rand, { + subscriptions: function(params) { + this.register('bar', Meteor.subscribe('bar')); + this.register('fooNotReady', Meteor.subscribe('fooNotReady')); + } + }); + + FlowRouter.subscriptions = function () { + this.register('baz', Meteor.subscribe('baz')); + }; + + FlowRouter.go('/' + rand); + setTimeout(function() { + test.isTrue(!FlowRouter.subsReady()); + FlowRouter.subscriptions = Function.prototype; + next(); + }, 100); +}); + +Tinytest.addAsync('Client - Router - subsReady - with args - all subscriptions ready', function (test, next) { + var rand = Random.id(); + FlowRouter.route('/' + rand, { + subscriptions: function(params) { + this.register('bar', Meteor.subscribe('bar')); + this.register('foo', Meteor.subscribe('foo')); + } + }); + + FlowRouter.subscriptions = function () { + this.register('baz', Meteor.subscribe('baz')); + }; + + FlowRouter.go('/' + rand); + Tracker.autorun(function(c) { + if(FlowRouter.subsReady('foo', 'baz')) { + FlowRouter.subscriptions = Function.prototype; + next(); + c.stop(); + } + }); +}); + +Tinytest.addAsync('Client - Router - subsReady - with args - all subscriptions does not ready', function (test, next) { + var rand = Random.id(); + FlowRouter.route('/' + rand, { + subscriptions: function(params) { + this.register('fooNotReady', Meteor.subscribe('fooNotReady')); + } + }); + + FlowRouter.subscriptions = function () { + this.register('bazNotReady', Meteor.subscribe('bazNotReady')); + }; + + FlowRouter.go('/' + rand); + setTimeout(function() { + test.isTrue(!FlowRouter.subsReady('fooNotReady', 'bazNotReady')); + FlowRouter.subscriptions = Function.prototype; + next(); + }, 100); +}); + +Tinytest.addAsync('Client - Router - subsReady - with args - global subscriptions does not ready', function (test, next) { + var rand = Random.id(); + FlowRouter.route('/' + rand, { + subscriptions: function(params) { + this.register('bar', Meteor.subscribe('bar')); + this.register('foo', Meteor.subscribe('foo')); + } + }); + + FlowRouter.subscriptions = function () { + this.register('bazNotReady', Meteor.subscribe('bazNotReady')); + }; + + FlowRouter.go('/' + rand); + setTimeout(function() { + test.isTrue(!FlowRouter.subsReady('foo', 'bazNotReady')); + FlowRouter.subscriptions = Function.prototype; + next(); + }, 100); +}); + +Tinytest.addAsync('Client - Router - subsReady - with args - current subscriptions does not ready', function (test, next) { + var rand = Random.id(); + FlowRouter.route('/' + rand, { + subscriptions: function(params) { + this.register('bar', Meteor.subscribe('bar')); + this.register('fooNotReady', Meteor.subscribe('fooNotReady')); + } + }); + + FlowRouter.subscriptions = function () { + this.register('baz', Meteor.subscribe('baz')); + }; + + FlowRouter.go('/' + rand); + setTimeout(function() { + test.isTrue(!FlowRouter.subsReady('fooNotReady', 'baz')); + FlowRouter.subscriptions = Function.prototype; + next(); + }, 100); +}); + +Tinytest.addAsync('Client - Router - subsReady - with args - subscribe with wrong name', function (test, next) { + var rand = Random.id(); + FlowRouter.route('/' + rand, { + subscriptions: function(params) { + this.register('bar', Meteor.subscribe('bar')); + } + }); + + FlowRouter.subscriptions = function () { + this.register('baz', Meteor.subscribe('baz')); + }; + + FlowRouter.go('/' + rand); + setTimeout(function() { + test.isTrue(!FlowRouter.subsReady('baz', 'xxx', 'baz')); + FlowRouter.subscriptions = Function.prototype; + next(); + }, 100); +}); + +Tinytest.addAsync('Client - Router - subsReady - with args - same route two different subs', function (test, next) { + var rand = Random.id(); + var count = 0; + FlowRouter.route('/' + rand, { + subscriptions: function(params) { + if(++count == 1) { + this.register('not-exisitng', Meteor.subscribe('not-exisitng')); + } + } + }); + + FlowRouter.subscriptions = Function.prototype; + FlowRouter.go('/' + rand); + setTimeout(function() { + test.isFalse(FlowRouter.subsReady()); + FlowRouter.go('/' + rand, {}, {param: "111"}); + setTimeout(function() { + test.isTrue(FlowRouter.subsReady()); + next(); + }, 100) + }, 100); +}); + +Tinytest.addAsync('Client - Router - subsReady - no subscriptions - simple', function (test, next) { + var rand = Random.id(); + FlowRouter.route('/' + rand, {}); + FlowRouter.subscriptions = Function.prototype; + + FlowRouter.go('/' + rand); + setTimeout(function() { + test.isTrue(FlowRouter.subsReady()); + next(); + }, 100); +}); \ No newline at end of file diff --git a/packages/kadira-flow-router/test/client/trigger.spec.js b/packages/kadira-flow-router/test/client/trigger.spec.js new file mode 100644 index 0000000..319c6bd --- /dev/null +++ b/packages/kadira-flow-router/test/client/trigger.spec.js @@ -0,0 +1,570 @@ +Tinytest.addAsync('Client - Triggers - global enter triggers', function(test, next) { + var rand = Random.id(), rand2 = Random.id(); + var log = []; + var paths = ['/' + rand2, '/' + rand]; + var done = false; + + FlowRouter.route('/' + rand, { + action: function(_params) { + log.push(1); + } + }); + + FlowRouter.route('/' + rand2, { + action: function(_params) { + log.push(2); + } + }); + + FlowRouter.triggers.enter([function(context) { + if(done) return; + test.equal(context.path, paths.pop()); + log.push(0); + }]); + + FlowRouter.go('/' + rand); + + setTimeout(function() { + FlowRouter.go('/' + rand2); + + setTimeout(function() { + test.equal(log, [0, 1, 0, 2]); + done = true; + setTimeout(next, 100); + }, 100); + }, 100); +}); + +Tinytest.addAsync('Client - Triggers - global enter triggers with "only"', function (test, next) { + var rand = Random.id(), rand2 = Random.id(); + var log = []; + var done = false; + + FlowRouter.route('/' + rand, { + action: function(_params) { + log.push(1); + } + }); + + FlowRouter.route('/' + rand2, { + name: 'foo', + action: function(_params) { + log.push(2); + } + }); + + FlowRouter.triggers.enter([function(context) { + if(done) return; + test.equal(context.path, '/' + rand2); + log.push(8); + }], {only: ['foo']}); + + FlowRouter.go('/' + rand); + + setTimeout(function() { + FlowRouter.go('/' + rand2); + + setTimeout(function() { + test.equal(log, [1, 8, 2]); + done = true; + setTimeout(next, 100); + }, 100); + }, 100); +}); + +Tinytest.addAsync('Client - Triggers - global enter triggers with "except"', function (test, next) { + var rand = Random.id(), rand2 = Random.id(); + var log = []; + var done = false; + + FlowRouter.route('/' + rand, { + action: function(_params) { + log.push(1); + } + }); + + FlowRouter.route('/' + rand2, { + name: 'foo', + action: function(_params) { + log.push(2); + } + }); + + FlowRouter.triggers.enter([function(context) { + if(done) return; + test.equal(context.path, '/' + rand); + log.push(8); + }], {except: ['foo']}); + + FlowRouter.go('/' + rand); + + setTimeout(function() { + FlowRouter.go('/' + rand2); + + setTimeout(function() { + test.equal(log, [8, 1, 2]); + done = true; + setTimeout(next, 100); + }, 100); + }, 100); +}); + +Tinytest.addAsync('Client - Triggers - global exit triggers', function (test, next) { + var rand = Random.id(), rand2 = Random.id(); + var log = []; + var done =false; + + FlowRouter.route('/' + rand, { + action: function(_params) { + log.push(1); + } + }); + + FlowRouter.route('/' + rand2, { + action: function(_params) { + log.push(2); + } + }); + + FlowRouter.go('/' + rand); + + FlowRouter.triggers.exit([function(context) { + if(done) return; + test.equal(context.path, '/' + rand); + log.push(0); + }]); + + setTimeout(function() { + FlowRouter.go('/' + rand2); + + setTimeout(function() { + test.equal(log, [1, 0, 2]); + done = true; + setTimeout(next, 100); + }, 100); + }, 100); +}); + +Tinytest.addAsync('Client - Triggers - global exit triggers with "only"', function (test, next) { + var rand = Random.id(), rand2 = Random.id(); + var log = []; + var done = false; + + FlowRouter.route('/' + rand, { + action: function(_params) { + log.push(1); + } + }); + + FlowRouter.route('/' + rand2, { + name: 'foo', + action: function(_params) { + log.push(2); + } + }); + + FlowRouter.triggers.exit([function(context) { + if(done) return; + test.equal(context.path, '/' + rand2); + log.push(8); + }], {only: ['foo']}); + + FlowRouter.go('/' + rand); + + setTimeout(function() { + FlowRouter.go('/' + rand2); + + setTimeout(function() { + FlowRouter.go('/' + rand); + + setTimeout(function() { + test.equal(log, [1, 2, 8, 1]); + done = true; + setTimeout(next, 100); + }, 100); + }, 100); + }, 100); +}); + +Tinytest.addAsync('Client - Triggers - global exit triggers with "except"', function (test, next) { + var rand = Random.id(), rand2 = Random.id(); + var log = []; + var done = false; + + FlowRouter.route('/' + rand, { + action: function(_params) { + log.push(1); + } + }); + + FlowRouter.route('/' + rand2, { + name: 'foo', + action: function(_params) { + log.push(2); + } + }); + + FlowRouter.go('/' + rand); + + FlowRouter.triggers.exit([function(context) { + if(done) return; + test.equal(context.path, '/' + rand); + log.push(9); + }], {except: ['foo']}); + + + setTimeout(function() { + FlowRouter.go('/' + rand2); + + setTimeout(function() { + FlowRouter.go('/' + rand); + + setTimeout(function() { + test.equal(log, [1, 9, 2, 1]); + done = true; + setTimeout(next, 100); + }, 100); + }, 100); + }, 100); +}); + +Tinytest.addAsync('Client - Triggers - route enter triggers', function (test, next) { + var rand = Random.id(); + var log = []; + + var triggerFn = function (context) { + test.equal(context.path, '/' + rand); + log.push(5); + }; + + FlowRouter.route('/' + rand, { + triggersEnter: [triggerFn], + action: function(_params) { + log.push(1); + } + }); + + FlowRouter.go('/' + rand); + + setTimeout(function() { + test.equal(log, [5, 1]); + setTimeout(next, 100); + }, 100); +}); + +Tinytest.addAsync('Client - Triggers - router exit triggers', function (test, next) { + var rand = Random.id(); + var log = []; + + var triggerFn = function (context) { + test.equal(context.path, '/' + rand); + log.push(6); + }; + + FlowRouter.route('/' + rand, { + triggersExit: [triggerFn], + action: function(_params) { + log.push(1); + } + }); + + FlowRouter.go('/' + rand); + + setTimeout(function() { + FlowRouter.go('/' + Random.id()); + + setTimeout(function() { + test.equal(log, [1, 6]); + setTimeout(next, 100); + }, 100); + }, 100); +}); + +Tinytest.addAsync('Client - Triggers - group enter triggers', function (test, next) { + var rand = Random.id(), rand2 = Random.id(); + var log = []; + var paths = ['/' + rand2, '/' + rand]; + + var triggerFn = function (context) { + test.equal(context.path, paths.pop()); + log.push(3); + }; + + var group = FlowRouter.group({ + triggersEnter: [triggerFn] + }); + + group.route('/' + rand, { + action: function(_params) { + log.push(1); + } + }); + + group.route('/' + rand2, { + action: function(_params) { + log.push(2); + } + }); + + FlowRouter.go('/' + rand); + + setTimeout(function() { + FlowRouter.go('/' + rand2); + + setTimeout(function() { + test.equal(log, [3, 1, 3, 2]); + setTimeout(next, 100); + }, 100); + }, 100); +}); + +Tinytest.addAsync('Client - Triggers - group exit triggers', function (test, next) { + var rand = Random.id(), rand2 = Random.id(); + var log = []; + + var triggerFn = function (context) { + log.push(4); + }; + + var group = FlowRouter.group({ + triggersExit: [triggerFn] + }); + + group.route('/' + rand, { + action: function(_params) { + log.push(1); + } + }); + + group.route('/' + rand2, { + action: function(_params) { + log.push(2); + } + }); + + FlowRouter.go('/' + rand); + + setTimeout(function() { + FlowRouter.go('/' + rand2); + + setTimeout(function() { + test.equal(log, [1, 4, 2]); + setTimeout(next, 100); + }, 100); + }, 100); +}); + +Tinytest.addAsync('Client - Triggers - redirect from enter', function(test, next) { + var rand = Random.id(), rand2 = Random.id(); + var log = []; + + FlowRouter.route('/' + rand, { + triggersEnter: [function(context, redirect) { + redirect("/" + rand2); + }, function() { + throw new Error("should not execute this trigger"); + }], + action: function(_params) { + log.push(1); + }, + name: rand + }); + + FlowRouter.route('/' + rand2, { + action: function(_params) { + log.push(2); + }, + name: rand2 + }); + + FlowRouter.go('/'); + FlowRouter.go('/' + rand); + + setTimeout(function() { + test.equal(log, [2]); + next(); + }, 300); +}); + +Tinytest.addAsync('Client - Triggers - redirect by routeName', function(test, next) { + var rand = Random.id(), rand2 = Random.id(); + var log = []; + + FlowRouter.route('/' + rand, { + name: rand, + triggersEnter: [function(context, redirect) { + redirect(rand2, null, {aa: "bb"}); + }, function() { + throw new Error("should not execute this trigger"); + }], + action: function(_params) { + log.push(1); + }, + name: rand + }); + + FlowRouter.route('/' + rand2, { + name: rand2, + action: function(_params, queryParams) { + log.push(2); + test.equal(queryParams, {aa: "bb"}); + }, + name: rand2 + }); + + FlowRouter.go('/'); + FlowRouter.go('/' + rand); + + setTimeout(function() { + test.equal(log, [2]); + next(); + }, 300); +}); + +Tinytest.addAsync('Client - Triggers - redirect from exit', function(test, next) { + var rand = Random.id(), rand2 = Random.id(), rand3 = Random.id(); + var log = []; + + FlowRouter.route('/' + rand, { + action: function() { + log.push(1); + }, + triggersExit: [ + function(context, redirect) { + redirect('/' + rand3); + }, + function() { + throw new Error("should not call this trigger"); + } + ] + }); + + FlowRouter.route('/' + rand2, { + action: function() { + log.push(2); + } + }); + + FlowRouter.route('/' + rand3, { + action: function() { + log.push(3); + } + }); + + FlowRouter.go('/' + rand); + + setTimeout(function() { + FlowRouter.go('/' + rand2); + + setTimeout(function() { + test.equal(log, [1, 3]); + next(); + }, 100); + }, 100); +}); + +Tinytest.addAsync('Client - Triggers - redirect to external URL fails', function(test, next) { + var rand = Random.id(), rand2 = Random.id(); + var log = []; + + // testing "http://" URLs + FlowRouter.route('/' + rand, { + triggersEnter: [function(context, redirect) { + test.throws(function() { + redirect("http://example.com/") + }, "Redirects to URLs outside of the app are not supported") + }], + action: function(_params) { + log.push(1); + }, + name: rand + }); + + // testing "https://" URLs + FlowRouter.route('/' + rand2, { + triggersEnter: [function(context, redirect) { + test.throws(function() { + redirect("https://example.com/") + }) + }], + action: function(_params) { + log.push(2); + }, + name: rand2 + }); + + FlowRouter.go('/'); + FlowRouter.go('/' + rand); + FlowRouter.go('/' + rand2); + + setTimeout(function() { + test.equal(log, []); + next(); + }, 300); +}); + +Tinytest.addAsync('Client - Triggers - stop callback from enter', function(test, next) { + var rand = Random.id(); + var log = []; + + FlowRouter.route('/' + rand, { + triggersEnter: [function(context, redirect, stop) { + log.push(10); + stop(); + }, function() { + throw new Error("should not execute this trigger"); + }], + action: function(_params) { + throw new Error("should not execute the action"); + } + }); + + FlowRouter.go('/'); + FlowRouter.go('/' + rand); + + setTimeout(function() { + test.equal(log, [10]); + next(); + }, 100); +}); + +Tinytest.addAsync( +'Client - Triggers - invalidate inside an autorun', +function(test, next) { + var rand = Random.id(), rand2 = Random.id(); + var log = []; + var paths = ['/' + rand2, '/' + rand]; + var done = false; + + FlowRouter.route('/' + rand, { + action: function(_params) { + log.push(1); + } + }); + + FlowRouter.route('/' + rand2, { + action: function(_params) { + log.push(2); + } + }); + + FlowRouter.triggers.enter([function(context) { + if(done) return; + test.equal(context.path, paths.pop()); + log.push(0); + }]); + + Tracker.autorun(function(c) { + FlowRouter.go('/' + rand); + }); + + setTimeout(function() { + FlowRouter.go('/' + rand2); + + setTimeout(function() { + test.equal(log, [0, 1, 0, 2]); + done = true; + setTimeout(next, 100); + }, 100); + }, 100); +}); diff --git a/packages/kadira-flow-router/test/client/triggers.js b/packages/kadira-flow-router/test/client/triggers.js new file mode 100644 index 0000000..7eb9a99 --- /dev/null +++ b/packages/kadira-flow-router/test/client/triggers.js @@ -0,0 +1,297 @@ +Tinytest.addAsync( +'Triggers - runTriggers - run all and after', +function(test, done) { + var store = []; + var triggers = MakeTriggers(2, store); + Triggers.runTriggers(triggers, null, null, function() { + test.equal(store, [0, 1]); + done(); + }); +}); + +Tinytest.addAsync( +'Triggers - runTriggers - redirect with url', +function(test, done) { + var store = []; + var url = "http://google.com"; + var triggers = MakeTriggers(2, store); + triggers.splice(1, 0, function(context, redirect) { + redirect(url); + }); + + Triggers.runTriggers(triggers, null, function(u) { + test.equal(store, [0]); + test.equal(u, url); + done(); + }, null); +}); + +Tinytest.addAsync( +'Triggers - runTriggers - redirect without url', +function(test, done) { + var store = []; + var url = "http://google.com"; + var triggers = MakeTriggers(2, store); + triggers.splice(1, 0, function(context, redirect) { + try { + redirect(); + } catch(ex) { + test.isTrue(/requires an URL/.test(ex.message)); + test.equal(store, [0]); + done(); + } + }); + + Triggers.runTriggers(triggers, null, null, null); +}); + +Tinytest.addAsync( +'Triggers - runTriggers - redirect in a different event loop', +function(test, done) { + var store = []; + var url = "http://google.com"; + var triggers = MakeTriggers(2, store); + var doneCalled = false; + + triggers.splice(1, 0, function(context, redirect) { + setTimeout(function() { + try { + redirect(url); + } catch(ex) { + test.isTrue(/sync/.test(ex.message)); + test.equal(store, [0, 1]); + test.isTrue(doneCalled); + done(); + } + }, 0); + }); + + Triggers.runTriggers(triggers, null, null, function() { + doneCalled = true; + }); +}); + +Tinytest.addAsync( +'Triggers - runTriggers - redirect called multiple times', +function(test, done) { + var store = []; + var url = "http://google.com"; + var triggers = MakeTriggers(2, store); + var redirectCalled = false; + + triggers.splice(1, 0, function(context, redirect) { + redirect(url); + try { + redirect(url); + } catch(ex) { + test.isTrue(/already redirected/.test(ex.message)); + test.equal(store, [0]); + test.isTrue(redirectCalled); + done(); + } + }); + + Triggers.runTriggers(triggers, null, function() { + redirectCalled = true; + }, null); +}); + +Tinytest.addAsync( +'Triggers - runTriggers - stop callback', +function(test, done) { + var store = []; + var triggers = MakeTriggers(2, store); + triggers.splice(1, 0, function(context, redirect, stop) { + stop(); + }); + + Triggers.runTriggers(triggers, null, null, function() { + store.push(2); + }); + + test.equal(store, [0]); + done(); +}); + + +Tinytest.addAsync( +'Triggers - runTriggers - get context', +function(test, done) { + var context = {}; + var trigger = function(c) { + test.equal(c, context); + done(); + }; + + Triggers.runTriggers([trigger], context, function() {}, function() {}); +}); + +Tinytest.addAsync( +'Triggers - createRouteBoundTriggers - matching trigger', +function(test, done) { + var context = {route: {name: "abc"}}; + var redirect = function() {}; + + var trigger = function(c, r) { + test.equal(c, context); + test.equal(r, redirect); + done(); + }; + + var triggers = Triggers.createRouteBoundTriggers([trigger], ["abc"]); + triggers[0](context, redirect); +}); + +Tinytest.addAsync( +'Triggers - createRouteBoundTriggers - multiple matching triggers', +function(test, done) { + var context = {route: {name: "abc"}}; + var redirect = function() {}; + var doneCount = 0; + + var trigger = function(c, r) { + test.equal(c, context); + test.equal(r, redirect); + doneCount++; + }; + + var triggers = Triggers.createRouteBoundTriggers([trigger, trigger], ["abc"]); + triggers[0](context, redirect); + triggers[1](context, redirect); + + test.equal(doneCount, 2); + done(); +}); + +Tinytest.addAsync( +'Triggers - createRouteBoundTriggers - no matching trigger', +function(test, done) { + var context = {route: {name: "some-other-route"}}; + var redirect = function() {}; + var doneCount = 0; + + var trigger = function(c, r) { + test.equal(c, context); + test.equal(r, redirect); + doneCount++; + }; + + var triggers = Triggers.createRouteBoundTriggers([trigger], ["abc"]); + triggers[0](context, redirect); + + test.equal(doneCount, 0); + done(); +}); + +Tinytest.addAsync( +'Triggers - createRouteBoundTriggers - negate logic', +function(test, done) { + var context = {route: {name: "some-other-route"}}; + var redirect = function() {}; + var doneCount = 0; + + var trigger = function(c, r) { + test.equal(c, context); + test.equal(r, redirect); + doneCount++; + }; + + var triggers = Triggers.createRouteBoundTriggers([trigger], ["abc"], true); + triggers[0](context, redirect); + + test.equal(doneCount, 1); + done(); +}); + +Tinytest.addAsync( +'Triggers - applyFilters - no filters', +function(test, done) { + var original = []; + test.equal(Triggers.applyFilters(original), original); + done(); +}); + +Tinytest.addAsync( +'Triggers - applyFilters - single trigger to array', +function(test, done) { + var original = function() {}; + test.equal(Triggers.applyFilters(original)[0], original); + done(); +}); + +Tinytest.addAsync( +'Triggers - applyFilters - only and except both', +function(test, done) { + var original = []; + try { + Triggers.applyFilters(original, {only: [], except: []}); + } catch(ex) { + test.isTrue(/only and except/.test(ex.message)); + done(); + } +}); + +Tinytest.addAsync( +'Triggers - applyFilters - only is not an array', +function(test, done) { + var original = []; + try { + Triggers.applyFilters(original, {only: "name"}); + } catch(ex) { + test.isTrue(/to be an array/.test(ex.message)); + done(); + } +}); + +Tinytest.addAsync( +'Triggers - applyFilters - except is not an array', +function(test, done) { + var original = []; + try { + Triggers.applyFilters(original, {except: "name"}); + } catch(ex) { + test.isTrue(/to be an array/.test(ex.message)); + done(); + } +}); + +Tinytest.addAsync( +'Triggers - applyFilters - unsupported filter', +function(test, done) { + var original = []; + try { + Triggers.applyFilters(original, {wowFilter: []}); + } catch(ex) { + test.isTrue(/not supported/.test(ex.message)); + done(); + } +}); + +Tinytest.addAsync( +'Triggers - applyFilters - just only filter', +function(test, done) { + var bounded = Triggers.applyFilters(done, {only: ["abc"]}); + bounded[0]({route: {name: "abc"}}); +}); + +Tinytest.addAsync( +'Triggers - applyFilters - just except filter', +function(test, done) { + var bounded = Triggers.applyFilters(done, {except: ["abc"]}); + bounded[0]({route: {name: "some-other"}}); +}); + +function MakeTriggers(count, store) { + var triggers = []; + + function addTrigger(no) { + triggers.push(function() { + store.push(no); + }); + } + + for(var lc=0; lc(.*)<\/script/)[1]; + return InjectData._decode(encodedData)['fast-render-data']; +} \ No newline at end of file diff --git a/packages/kadira-flow-router/test/server/plugins/fast_render.js b/packages/kadira-flow-router/test/server/plugins/fast_render.js new file mode 100644 index 0000000..1ec7786 --- /dev/null +++ b/packages/kadira-flow-router/test/server/plugins/fast_render.js @@ -0,0 +1,35 @@ +Tinytest.add('Server - Fast Render - fast render supported route', function (test) { + var expectedFastRenderCollData = [ + [{_id: "two", aa: 20}, {_id: "one", aa: 10}] + ]; + + var data = GetFRData('/the-fast-render-route'); + test.equal(data.collectionData['fast-render-coll'], expectedFastRenderCollData); +}); + +Tinytest.add('Server - Fast Render - fast render supported route with params', function (test) { + var expectedFastRenderCollData = [ + [{ + _id: "one", + params: {id: 'the-id'}, + queryParams: {aa: "20"} + }] + ]; + + var data = GetFRData('/the-fast-render-route-params/the-id?aa=20'); + test.equal(data.collectionData['fast-render-coll'], expectedFastRenderCollData); +}); + +Tinytest.add('Server - Fast Render - no fast render supported route', function (test) { + var data = GetFRData('/no-fast-render'); + test.equal(data.collectionData, {}); +}); + +Tinytest.add('Server - Fast Render - with group routes', function (test) { + var expectedFastRenderCollData = [ + [{_id: "two", aa: 20}, {_id: "one", aa: 10}] + ]; + + var data = GetFRData('/fr/have-fr'); + test.equal(data.collectionData['fast-render-coll'], expectedFastRenderCollData); +}); \ No newline at end of file diff --git a/packages/markdown/.gitignore b/packages/markdown/.gitignore new file mode 100755 index 0000000..677a6fc --- /dev/null +++ b/packages/markdown/.gitignore @@ -0,0 +1 @@ +.build* diff --git a/packages/markdown/README.md b/packages/markdown/README.md new file mode 100755 index 0000000..96c5725 --- /dev/null +++ b/packages/markdown/README.md @@ -0,0 +1,40 @@ +markdown +======== + +GitHub flavored markdown parser for Meteor based on marked.js newest version, updated by xet7. + +GFM tables and linebreaks are enabled by default. + + +Usage +----- + +Anywhere inside your template add markdown block and write markdown inside. + +Example: + +``` +{{#markdown}} + +...markdown text here... + +{{/markdown}} +``` + +That's it! + + +Thanks to: +---------- + +- Christopher Jeffrey for marked.js + +- Bozhao Yu for original meteor-markdown package (I just made this package compatible with Meteor 0.9+) + +- Bernhard Millauer - for contributions to this package + +- xet7 for updating to newest GFM package. + +License +------- +MIT diff --git a/packages/markdown/marked/LICENSE.md b/packages/markdown/marked/LICENSE.md new file mode 100644 index 0000000..64b41a0 --- /dev/null +++ b/packages/markdown/marked/LICENSE.md @@ -0,0 +1,43 @@ +# License information + +## Contribution License Agreement + +If you contribute code to this project, you are implicitly allowing your code +to be distributed under the MIT license. You are also implicitly verifying that +all code is your original work. `` + +## Marked + +Copyright (c) 2011-2018, Christopher Jeffrey (https://github.com/chjj/) + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + +## Markdown + +Copyright © 2004, John Gruber +http://daringfireball.net/ +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + +* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. +* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. +* Neither the name “Markdown” nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. + +This software is provided by the copyright holders and contributors “as is” and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the copyright owner or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage. diff --git a/packages/markdown/marked/README.md b/packages/markdown/marked/README.md new file mode 100644 index 0000000..e93504c --- /dev/null +++ b/packages/markdown/marked/README.md @@ -0,0 +1,76 @@ + + + + +# Marked + +[![npm](https://badgen.net/npm/v/marked)](https://www.npmjs.com/package/marked) +[![gzip size](https://badgen.net/badgesize/gzip/https://cdn.jsdelivr.net/npm/marked/marked.min.js)](https://cdn.jsdelivr.net/npm/marked/marked.min.js) +[![install size](https://badgen.net/packagephobia/install/marked)](https://packagephobia.now.sh/result?p=marked) +[![downloads](https://badgen.net/npm/dt/marked)](https://www.npmjs.com/package/marked) +[![dep](https://badgen.net/david/dep/markedjs/marked?label=deps)](https://david-dm.org/markedjs/marked) +[![dev dep](https://badgen.net/david/dev/markedjs/marked?label=devDeps)](https://david-dm.org/markedjs/marked?type=dev) +[![travis](https://badgen.net/travis/markedjs/marked)](https://travis-ci.org/markedjs/marked) +[![snyk](https://snyk.io/test/npm/marked/badge.svg)](https://snyk.io/test/npm/marked) + +- ⚡ built for speed +- ⬇️ low-level compiler for parsing markdown without caching or blocking for long periods of time +- ⚖️ light-weight while implementing all markdown features from the supported flavors & specifications +- 🌐 works in a browser, on a server, or from a command line interface (CLI) + +## Demo + +Checkout the [demo page](https://marked.js.org/demo/) to see marked in action ⛹️ + +## Docs + +Our [documentation pages](https://marked.js.org) are also rendered using marked 💯 + +Also read about: + +* [Options](https://marked.js.org/#/USING_ADVANCED.md) +* [Extensibility](https://marked.js.org/#/USING_PRO.md) + +## Installation + +**CLI:** `npm install -g marked` + +**In-browser:** `npm install marked` + +## Usage + +### Warning: 🚨 Marked does not [sanitize](https://marked.js.org/#/USING_ADVANCED.md#options) the output HTML. Please use a sanitize library, like [DOMPurify](https://github.com/cure53/DOMPurify) (recommended), [sanitize-html](https://github.com/apostrophecms/sanitize-html) or [insane](https://github.com/bevacqua/insane) on the output HTML! 🚨 + +**CLI** + +``` bash +$ marked -o hello.html +hello world +^D +$ cat hello.html +

hello world

+``` + +**Browser** + +```html + + + + + Marked in the browser + + +
+ + + + +``` + +## License + +Copyright (c) 2011-2018, Christopher Jeffrey. (MIT License) diff --git a/packages/markdown/marked/SECURITY.md b/packages/markdown/marked/SECURITY.md new file mode 100644 index 0000000..4a2e1cb --- /dev/null +++ b/packages/markdown/marked/SECURITY.md @@ -0,0 +1,10 @@ +# Security Policy + +The only completely secure system is the one that doesn't exist in the first place. +Having said that, we take the security of Marked very seriously. + +## Reporting a Vulnerability + +Please disclose potential security issues by email to the project [committers](https://marked.js.org/#/AUTHORS.md) as well as the [listed owners within NPM](https://docs.npmjs.com/cli/owner). +We will provide an initial assessment of security reports within 48 hours and should apply patches within 2 weeks +(also, feel free to contribute a fix for the issue). diff --git a/packages/markdown/marked/docs/.eslintrc.json b/packages/markdown/marked/docs/.eslintrc.json new file mode 100644 index 0000000..6ee1087 --- /dev/null +++ b/packages/markdown/marked/docs/.eslintrc.json @@ -0,0 +1,33 @@ +{ + "extends": "standard", + "plugins": [ + "standard" + ], + "parserOptions": { + "ecmaVersion": 5, + "sourceType": "script" + }, + "rules": { + "semi": ["error", "always"], + "indent": ["error", 2, { + "SwitchCase": 1, + "VariableDeclarator": { "var": 2 }, + "outerIIFEBody": 0 + }], + "operator-linebreak": ["error", "before", { "overrides": { "=": "after" } }], + "space-before-function-paren": ["error", "never"], + "no-cond-assign": "off", + "no-useless-escape": "off", + "one-var": "off", + "no-control-regex": "off", + "no-prototype-builtins": "off", + + "prefer-const": "off", + "no-var": "off" + }, + "env": { + "node": true, + "browser": true, + "amd": true + } +} diff --git a/packages/markdown/marked/docs/AUTHORS.md b/packages/markdown/marked/docs/AUTHORS.md new file mode 100644 index 0000000..87ab522 --- /dev/null +++ b/packages/markdown/marked/docs/AUTHORS.md @@ -0,0 +1,269 @@ +# Authors + +Marked takes an encompassing approach to its community. As such, you can think of these as [concentric circles](https://medium.com/the-node-js-collection/healthy-open-source-967fa8be7951), where each group encompasses the following groups. + + + + + + + + + + + + + + +
+ + + +
+ Christopher Jeffrey +
Original Author
+ Started the fire +
+ + + +
+ Josh Bruce +
Publisher
+ Release Wrangler; Humaning Helper; Heckler of Hypertext +
+ + + +
+ Steven +
Publisher
+ Release Wrangler; Dr. Docs; Open source, of course; GitHub Guru; Humaning Helper +
+ + + +
+ Jamie Davis +
Committer
+ Seeker of Security +
+ + + +
+ Tony Brix +
Publisher
+ Release Wrangler; Titan of the test harness; Dr. DevOps +
+   +
+ + + + + + + + + + + + + + + + +
+ + + +
+ Brandon der Blätter +
Contributor
+ Curious Contributor +
+ + + +
+ Carlos Valle +
Contributor
+ Maker of the Marked mark from 2018 to present +
+ + + +
+ Federico Soave +
Contributor
+ Regent of the Regex; Master of Marked +
+ + + +
+ Karen Yavine +
Contributor
+ Snyk's Security Saint +
+ + + +
+ Костя Третяк +
Contributor
+ +
+ + + +
+ Tom Theisen +
Contributor
+ Defibrillator +
+ + + +
+ Mateus Craveiro +
Contributor
+ Defibrillator +
+
+ +## Publishers + +Publishers are admins who also have the responsibility, privilege, and burden of publishing the new releases to NPM and performing outreach and external stakeholder communications. Further, when things go pear-shaped, they're the ones taking most of the heat. Finally, when things go well, they're the primary ones praising the contributors who made it possible. + +(In other words, while Admins are focused primarily on the internal workings of the project, Publishers are focused on internal *and* external concerns.) + +**Should not exceed 2:** Having more people with the authority to publish a release can quickly turn into a consensus seeking nightmare (design by committee). Having only one is preferred (Directly Responsible Individual); however, given the nature of the project and its history, having an immediate fallback, and a potential deep fallback (Original author) is probably a good idea. + +[Details on badges](#badges) + +## Admins + +Admins are committers who also have the responsibility, privilege, and burden of selecting committers and making sure the project itself runs smoothly, which includes community maintenance, governance, dispute resolution, and so on. (Letting the contributors easily enter into, and work within, the project to begin contributing, with as little friction as possible.) + +**Should not exceed 3:** When there are too many people with the ability to resolve disputes, the dispute itself can quickly turn into a dispute amongst the admins themselves; therefore, we want this group to be small enough to commit to action and large enough to not put too much burden on one person. (Should ensure faster resolution and responsiveness.) + +To be listed: Admins are usually selected from the pool of committers (or they volunteer, using the same process) who demonstrate good understanding of the marked culture, operations, and do their best to help new contributors get up to speed on how to contribute effectively to the project. + +To be removed: You can remove yourself through the [GitHub UI](https://help.github.com/articles/removing-yourself-from-a-collaborator-s-repository/). + +[Details on badges](#badges) + +## Committers + +Committers are contributors who also have the responsibility, privilege, some might even say burden of being able to review and merge contributions (just usually not their own). + +A note on "decision making authority". This is related to submitting PRs and the [advice process](http://www.reinventingorganizationswiki.com/Decision_Making). The person marked as having decision making authority over a certain area should be sought for advice in that area before committing to a course of action. + +**Should not exceed 5:** For larger PRs affecting more of the codebase and, most likely, review by more people, we try to keep this pool small and responsive and let those with decision making authority have final say without negative repercussions from the other committers. + +To be listed: Committers are usually selected (or they volunteer, using the same process) from contributors who enter the discussions regarding the future direction of Marked (maybe even doing informal reviews of contributions despite not being able to merge them yourself). + +To be removed: You can remove yourself through the [GitHub UI](https://help.github.com/articles/removing-yourself-from-a-collaborator-s-repository/). + +A note on volunteering: + +1. Please do not volunteer unless you believe you can demonstrate to your peers you can do the work required. +2. Please do not overcommit yourself; we count on those committed to the project to be responsive. Really consider, with all you have going on, whether you able to really commit to it. +3. Don't let the previous frighten you away, it can always be changed later by you or your peers. + +[Details on badges](#badges) + +## Contributors + +Contributors are users who submit a [PR](https://github.com/markedjs/marked/pulls), [Issue](https://github.com/markedjs/marked/issues), or collaborate in making Marked a better product and experience for all the users. + +To be listed: make a contribution and, if it has significant impact, the committers may be able to add you here. + +To be removed: please let us know or submit a PR. + +[Details on badges](#badges) + +## Users + +Users are anyone using Marked in some fashion, without them, there's no reason for us to exist. + +|Individual or Organization |Website |Project |Submitted by | +|:--------------------------|:-----------------------|:------------------------------------|:---------------------------------------------------| +|MarkedJS |https://marked.js.org |https://github.com/markedjs/marked |The marked committers | + +To be listed: All fields are optional. Contact any of the committers or, more timely, submit a pull request with the following (using the first row as an example): + +- **Individual or Organization:** The name you would like associated with the record. +- **Website:** A URL to a standalone website for the project. +- **Project:** A URL for the repository of the project using marked. +- **Submitted by:** The name and optional honorifics for the person adding the listing. + +To be removed: Same as above. Only instead of requesting addition request deletion or delete the row yourself. + +

Badges

+ +Badges? You don't *need* no stinkin' badges. + +Movie references aside. (It was either that or, "Let's play a game", but that would have been creepy…that's why it will most likely come later.) + +Badges? If you *want* 'em, we got 'em, and here's how you get 'em (and…dramatic pause…why not two dramatic pauses for emphasis?… how they can be taken away). + +- [ ] Add the appropriate badge to the desired contributor in the desired column of this page, even if they're not listed here yet. +- [ ] Submit a PR (we're big on PRs around here, if you haven't noticed, help us help you). +- [ ] Follow the instructions for submitting a badge PR. (There are more details to find within. Come on. Everybody likes surprises, right? No? Actually, we just try to put documentation where it belongs, closer to the code and part of the sequence of events.) + +### Badges at play: + +
+
Curious Contributor
+
A contributor with less than one year on this page who is actively engaged in submitting PRs, Issues, making recommendations, sharing thoughts…without being too annoying about it (let's be clear, submitting 100 Issues recommending the Marked Committers send everyone candy is trying for the badge, not honestly earning it).
+
Dr. DevOps
+
+

Someone who understands and contributes to improving the developer experience and flow of Marked into the world.

+
+ "The main characteristic of the DevOps movement is to strongly advocate automation and monitoring at all steps of software construction, from integration, testing, releasing to deployment and infrastructure management. DevOps aims at shorter development cycles, increased deployment frequency, more dependable releases, in close alignment with business objectives." ~ Wikipedia +
+
+
Dr. Docs
+
Someone who has contributed a great deal to the creation and maintenance of the non-code areas of marked.
+
Eye for the CLI
+
At this point? Pretty much anyone who can update that `man` file to the current Marked version without regression in the CLI tool itself.
+
GitHub Guru
+
Someone who always seems to be able to tell you easier ways to do things with GitHub.
+
Humaning Helper
+
Someone who goes out of their way to help contributors feel welcomed and valued. Further, someone who takes the extra steps(s) necessary to help new contributors get up to speed. Finally, they maintain composure even in times of disagreement and dispute resolution.
+
Heckler of Hypertext
+
Someone who demonstrates an esoteric level of knowledge when it comes to HTML. In other words, someone who says things like, "Did you know most Markdown flavors don't have a way to render a description list (`dl`)? All the more reason Markdown `!==` HTML."
+
Markdown Maestro
+
You know that person who knows about way too many different flavors of Markdown? The one who maybe seems a little too obsessed with the possibilities of Markdown beyond HTML? Come on. You know who they are. Or, at least you could, if you give them this badge.
+
Master of Marked
+
Someone who demonstrates they know the ins and outs of the codebase for Marked.
+
Open source, of course
+
Someone who advocates for and has a proven understanding of how to operate within open source communities.
+
Regent of the Regex
+

Can you demonstrate you understand the following without Google and Stackoverflow?

+

/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/

+

Because this author can't yet. That's who gets these.

+
+
Seeker of Security
+
Someone who has demonstrated a high degree of expertise or authority when it comes to software security.
+
Titan of the Test Harness
+
Someone who demonstrates high-levels of understanding regarding Marked's test harness.
+
Totally Tron
+
Someone who demonstrates they are willing and able to "fight for the users", both developers dependent on marked to do their jobs as well as end-users interacting with the output (particularly in the realm of those with the disabilities).
+
+ +### Special badges that come with the job: + +
+
Defibrillator
+
A contributor who stepped up to help bring Marked back to life by contributing solutions to help Marked pass when compared against the CommonMark and GitHub Flavored Markdown specifications.
+
Maker of the Marked mark
+
This badge is given to the person or organization credited with creating the logo (or logotype) used in Marked communications for a given period of time. **Maker of the Marked mark from 2017 to present**, for example.
+
Release Wrangler
+
This is a badge given to all Publishers.
+
Snyk's Security Saint
+
This is a badge given to whomever primarily reaches out from Snyk to let us know about security issues.
+
diff --git a/packages/markdown/marked/docs/CNAME b/packages/markdown/marked/docs/CNAME new file mode 100644 index 0000000..c92fdfc --- /dev/null +++ b/packages/markdown/marked/docs/CNAME @@ -0,0 +1 @@ +marked.js.org diff --git a/packages/markdown/marked/docs/CODE_OF_CONDUCT.md b/packages/markdown/marked/docs/CODE_OF_CONDUCT.md new file mode 100644 index 0000000..5335399 --- /dev/null +++ b/packages/markdown/marked/docs/CODE_OF_CONDUCT.md @@ -0,0 +1,74 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +In the interest of fostering an open and welcoming environment, we as +contributors and maintainers pledge to making participation in our project and +our community a harassment-free experience for everyone, regardless of age, body +size, disability, ethnicity, gender identity and expression, level of experience, +nationality, personal appearance, race, religion, or sexual identity and +orientation. + +## Our Standards + +Examples of behavior that contributes to creating a positive environment +include: + +* Using welcoming and inclusive language +* Being respectful of differing viewpoints and experiences +* Gracefully accepting constructive criticism +* Focusing on what is best for the community +* Showing empathy towards other community members + +Examples of unacceptable behavior by participants include: + +* The use of sexualized language or imagery and unwelcome sexual attention or +advances +* Trolling, insulting/derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or electronic + address, without explicit permission +* Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Our Responsibilities + +Project maintainers are responsible for clarifying the standards of acceptable +behavior and are expected to take appropriate and fair corrective action in +response to any instances of unacceptable behavior. + +Project maintainers have the right and responsibility to remove, edit, or +reject comments, commits, code, wiki edits, issues, and other contributions +that are not aligned to this Code of Conduct, or to block temporarily or +permanently any contributor for other behaviors that they deem inappropriate, +threatening, offensive, or harmful. + +## Scope + +This Code of Conduct applies both within project spaces and in public spaces +when an individual is representing the project or its community. Examples of +representing a project or community include using an official project e-mail +address, posting via an official social media account, or acting as an appointed +representative at an online or offline event. Representation of a project may be +further defined and clarified by project maintainers. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported by contacting the project team by submitting a PR with changes to the [AUTHORS](#/AUTHORS.md) page (or emailing josh@8fold.com). All +complaints will be reviewed and investigated and will result in a response that +is deemed necessary and appropriate to the circumstances. The project team is +obligated to maintain confidentiality with regard to the reporter of an incident. +Further details of specific enforcement policies may be posted separately. + +Project maintainers who do not follow or enforce the Code of Conduct in good +faith may face temporary or permanent repercussions as determined by other +members of the project's leadership. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], +version [1.4][version]. + +[homepage]: https://www.contributor-covenant.org/ +[version]: https://www.contributor-covenant.org/version/1/4/code-of-conduct.html diff --git a/packages/markdown/marked/docs/CONTRIBUTING.md b/packages/markdown/marked/docs/CONTRIBUTING.md new file mode 100644 index 0000000..f5ec82b --- /dev/null +++ b/packages/markdown/marked/docs/CONTRIBUTING.md @@ -0,0 +1,95 @@ +# Contributing to Marked + +- [ ] Fork `markedjs/marked`. +- [ ] Clone the library locally using GitHub Desktop or the command line. +- [ ] Make sure you are on the `master` branch. +- [ ] Be sure to run `npm install` or `npm update`. +- [ ] Create a branch. +- [ ] Update code in `src` folder. (`lib` folder is for auto compiled code) +- [ ] Run `npm run test:all`, fix any broken things (for linting, you can run `npm run lint` to have the linter fix them for you). +- [ ] Run `npm run build:reset` to remove changes to compiled files. +- [ ] Submit a Pull Request. + +## Design principles + +Marked tends to favor following the SOLID set of software design and development principles; mainly the [single responsibility](https://en.wikipedia.org/wiki/Single_responsibility_principle) and [open/closed principles](https://en.wikipedia.org/wiki/Open/closed_principle): + +- **Single responsibility:** Marked, and the components of Marked, have the single responsibility of converting Markdown strings into HTML. +- **Open/closed:** Marked favors giving developers the means to easily extend the library and its components over changing Marked's behavior through configuration options. + +## Priorities + +We think we have our priorities sorted to build quality in. + +The following table lists the ticket type labels we use when there is work to be done on the code either through an Issue or a PR; in priority order. + +|Ticket type label |Description | +|:----------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +|L0 - security |A security vulnerability within the Marked library is discovered. | +|L1 - broken |Valid usage results in incorrect output compared to [supported specifications](#/README.md#specifications) OR causes marked to crash AND there is no known workaround for the issue. | +|L2 - annoying |Similar to L1 - broken only there is a known workaround available for the issue. | +|RR - refactor and re-engineer |Results in an improvement to developers using Marked (improved readability) or end-users (faster performance) or both. | +|NFS - new feature (spec related) |A capability Marked does not currently provide but is in one of the [supported specifications](#/README.md#specifications) | +|NFU - new feature (user requested) |A capability Marked does not currently provide but has been requested by users of Marked. | +|NFE - new feature (should be an extension) |A capability Marked does not currently provide and is not part of a spec. | + +## Test early, often, and everything + +We try to write test cases to validate output (writing tests based on the [supported specifications](#/README.md#specifications)) and minimize regression (writing tests for issues fixed). Therefore, if you would like to contribute, some things you should know regarding the test harness. + +|Location |Description | +|:---------------------|:--------------------------------------------------------------------------------------------------------------| +|/test/specs/commonmark|Tests for [CommonMark](https://spec.commonmark.org/current/) compliance | +|/test/specs/gfm |Tests for [GFM](https://github.github.com/gfm/) compliance | +|/test/specs/new |Tests not related to the original `markdown.pl`. | +|/test/specs/original |Tests validating against the original `markdown.pl`. | +|/test/specs/redos |Tests for [ReDOS](https://www.owasp.org/index.php/Regular_expression_Denial_of_Service_-_ReDoS) vulnerabilities| + +If your test uses features or options, assuming `gfm` is set to `false`, for example, you can add [front-matter](https://www.npmjs.com/package/front-matter) to the top of +your `.md` file + +``` yml +--- +gfm: false +--- +``` + +## Submitting PRs and Issues + +Marked provides templates for submitting both pull requests and issues. When you begin creating a new PR or issue, you will see instructions on using the template. + +The PR templates include checklists for both the submitter and the reviewer, which, in most cases, will not be the same person. + +## Scripts + +When it comes to NPM commands, we try to use the native scripts provided by the NPM framework. + +To run the tests: + +``` bash +npm test +``` + +To test whether you are using the standard syntax rules for the project: + +```bash +npm run test:lint +``` + +To see time comparisons between Marked and other popular Markdown libraries: + +```bash +npm run bench +``` + +To check for (and fix) standardized syntax (lint): + +```bash +npm run lint +``` + +To build your own es5, esm, and minified versions of Marked: + +```bash +npm run build +``` diff --git a/packages/markdown/marked/docs/PUBLISHING.md b/packages/markdown/marked/docs/PUBLISHING.md new file mode 100644 index 0000000..7397266 --- /dev/null +++ b/packages/markdown/marked/docs/PUBLISHING.md @@ -0,0 +1,24 @@ +# Releasing Marked + +- [ ] See [contributing](#/CONTRIBUTING.md) +- [ ] Create release branch from `master` (`release-x.y.z`) +- [ ] Submit PR with minimal name: Release x.y.z +- [ ] Complete PR checklists + +## Overall strategy + +**Master is always shippable:** We try to merge PRs in such a way that `master` is the only branch to really be concerned about *and* `master` can always be released. This allows smoother flow between new features, bug fixes, and so on. (Almost a continuous deployment setup, without automation.) + +## Versioning + +We follow [semantic versioning](https://semver.org) where the following sequence is true `[major].[minor].[patch]`; therefore, consider the following implications of the release you are preparing: + +1. **Major:** There is at least one change not deemed backward compatible. +2. **Minor:** There is at least one new feature added to the release. +3. **Patch:** No breaking changes, no new features. + +What to expect while Marked is a zero-major (0.x.y): + +1. The major will remain at zero; thereby, alerting consumers to the potentially volatile nature of the package. +2. The minor will tend to be more analogous to a `major` release. +3. The patch will tend to be more analogous to a `minor` release or a collection of bug fixes (patches). diff --git a/packages/markdown/marked/docs/README.md b/packages/markdown/marked/docs/README.md new file mode 100644 index 0000000..f5ba9d2 --- /dev/null +++ b/packages/markdown/marked/docs/README.md @@ -0,0 +1,85 @@ +Marked is + +1. built for speed.* +2. a low-level markdown compiler for parsing markdown without caching or blocking for long periods of time.** +3. light-weight while implementing all markdown features from the supported flavors & specifications.*** +4. available as a command line interface (CLI) and running in client- or server-side JavaScript projects. + +

* Still working on metrics for comparative analysis and definition.
+** As few dependencies as possible.
+*** Strict compliance could result in slower processing when running comparative benchmarking.

+ + +

Demo

+ +Checkout the [demo page](./demo/) to see marked in action ⛹️ + +These documentation pages are also rendered using marked 💯 + + +

Installation

+ +**CLI:** `npm install -g marked` + +**In-browser:** `npm install marked` + +

Usage

+ +### Warning: 🚨 Marked does not [sanitize](https://marked.js.org/#/USING_ADVANCED.md#options) the output HTML. Please use a sanitize library, like [DOMPurify](https://github.com/cure53/DOMPurify) (recommended), [sanitize-html](https://github.com/apostrophecms/sanitize-html) or [insane](https://github.com/bevacqua/insane) on the output HTML! 🚨 + +**CLI** + +``` bash +$ marked -o hello.html +hello world +^D +$ cat hello.html +

hello world

+``` + +``` bash +$ marked -s "*hello world*" +

hello world

+``` + +**Browser** + +```html + + + + + Marked in the browser + + +
+ + + + +``` + + +Marked offers [advanced configurations](#/USING_ADVANCED.md) and [extensibility](#/USING_PRO.md) as well. + +

Supported Markdown specifications

+ +We actively support the features of the following [Markdown flavors](https://github.com/commonmark/CommonMark/wiki/Markdown-Flavors). + +|Flavor |Version | +|:----------------------------------------------------------|:----------| +|The original markdown.pl |-- | +|[CommonMark](http://spec.commonmark.org/0.29/) |0.29 | +|[GitHub Flavored Markdown](https://github.github.com/gfm/) |0.29 | + +By supporting the above Markdown flavors, it's possible that Marked can help you use other flavors as well; however, these are not actively supported by the community. + +

Security

+ +The only completely secure system is the one that doesn't exist in the first place. Having said that, we take the security of Marked very seriously. + +Therefore, please disclose potential security issues by email to the project [committers](#/AUTHORS.md) as well as the [listed owners within NPM](https://docs.npmjs.com/cli/owner). We will provide an initial assessment of security reports within 48 hours and should apply patches within 2 weeks (also, feel free to contribute a fix for the issue). + diff --git a/packages/markdown/marked/docs/USING_ADVANCED.md b/packages/markdown/marked/docs/USING_ADVANCED.md new file mode 100644 index 0000000..23224d1 --- /dev/null +++ b/packages/markdown/marked/docs/USING_ADVANCED.md @@ -0,0 +1,154 @@ +## The `marked` function + +```js +marked(markdownString [,options] [,callback]) +``` + +|Argument |Type |Notes | +|:---------------------|:------------|:----------------------------------------------------------------------------------------------------| +|markdownString |`string` |String of markdown source to be compiled. | +|options|`object`|Hash of options. Can also use `marked.setOptions`. | +|callback |`function` |Called when `markdownString` has been parsed. Can be used as second argument if no `options` present.| + +### Alternative using reference + +```js +// Create reference instance +const marked = require('marked'); + +// Set options +// `highlight` example uses `highlight.js` +marked.setOptions({ + renderer: new marked.Renderer(), + highlight: function(code, language) { + const hljs = require('highlight.js'); + const validLanguage = hljs.getLanguage(language) ? language : 'plaintext'; + return hljs.highlight(validLanguage, code).value; + }, + pedantic: false, + gfm: true, + breaks: false, + sanitize: false, + smartLists: true, + smartypants: false, + xhtml: false +}); + +// Compile +console.log(marked(markdownString)); +``` + +

Options

+ +|Member |Type |Default |Since |Notes | +|:-----------|:---------|:--------|:--------|:-------------| +|baseUrl |`string` |`null` |0.3.9 |A prefix url for any relative link. | +|breaks |`boolean` |`false` |v0.2.7 |If true, add `
` on a single line break (copies GitHub behavior on comments, but not on rendered markdown files). Requires `gfm` be `true`.| +|gfm |`boolean` |`true` |v0.2.1 |If true, use approved [GitHub Flavored Markdown (GFM) specification](https://github.github.com/gfm/).| +|headerIds |`boolean` |`true` |v0.4.0 |If true, include an `id` attribute when emitting headings (h1, h2, h3, etc).| +|headerPrefix|`string` |`''` |v0.3.0 |A string to prefix the `id` attribute when emitting headings (h1, h2, h3, etc).| +|highlight |`function`|`null` |v0.3.0 |A function to highlight code blocks, see Asynchronous highlighting.| +|langPrefix |`string` |`'language-'`|v0.3.0|A string to prefix the className in a `` block. Useful for syntax highlighting.| +|mangle |`boolean` |`true` |v0.3.4 |If true, autolinked email address is escaped with HTML character references.| +|pedantic |`boolean` |`false` |v0.2.1 |If true, conform to the original `markdown.pl` as much as possible. Don't fix original markdown bugs or behavior. Turns off and overrides `gfm`.| +|renderer |`object` |`new Renderer()`|v0.3.0|An object containing functions to render tokens to HTML. See [extensibility](/#/USING_PRO.md) for more details.| +|sanitize |`boolean` |`false` |v0.2.1 |If true, sanitize the HTML passed into `markdownString` with the `sanitizer` function.
**Warning**: This feature is deprecated and it should NOT be used as it cannot be considered secure.
Instead use a sanitize library, like [DOMPurify](https://github.com/cure53/DOMPurify) (recommended), [sanitize-html](https://github.com/apostrophecms/sanitize-html) or [insane](https://github.com/bevacqua/insane) on the output HTML! | +|sanitizer |`function`|`null` |v0.3.4 |A function to sanitize the HTML passed into `markdownString`.| +|silent |`boolean` |`false` |v0.2.7 |If true, the parser does not throw any exception.| +|smartLists |`boolean` |`false` |v0.2.8 |If true, use smarter list behavior than those found in `markdown.pl`.| +|smartypants |`boolean` |`false` |v0.2.9 |If true, use "smart" typographic punctuation for things like quotes and dashes.| +|tokenizer |`object` |`new Tokenizer()`|v1.0.0|An object containing functions to create tokens from markdown. See [extensibility](/#/USING_PRO.md) for more details.| +|walkTokens |`function` |`null`|v1.1.0|A function which is called for every token. See [extensibility](/#/USING_PRO.md) for more details.| +|xhtml |`boolean` |`false` |v0.3.2 |If true, emit self-closing HTML tags for void elements (<br/>, <img/>, etc.) with a "/" as required by XHTML.| + +

Asynchronous highlighting

+ +Unlike `highlight.js` the `pygmentize.js` library uses asynchronous highlighting. This example demonstrates that marked is agnostic when it comes to the highlighter you use. + +```js +marked.setOptions({ + highlight: function(code, lang, callback) { + require('pygmentize-bundled') ({ lang: lang, format: 'html' }, code, function (err, result) { + callback(err, result.toString()); + }); + } +}); + +console.log(marked(markdownString)); +``` + +In both examples, `code` is a `string` representing the section of code to pass to the highlighter. In this example, `lang` is a `string` informing the highlighter what programming language to use for the `code` and `callback` is the `function` the asynchronous highlighter will call once complete. + +

Workers

+ +To prevent ReDoS attacks you can run marked on a worker and terminate it when parsing takes longer than usual. + +Marked can be run in a [worker thread](https://nodejs.org/api/worker_threads.html) on a node server, or a [web worker](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API) in a browser. + +### Node Worker Thread + +```js +// markedWorker.js + +const marked = require('marked'); +const { parentPort } = require('worker_threads'); + +parentPort.on('message', (markdownString) => { + parentPort.postMessage(marked(markdownString)); +}); +``` + +```js +// index.js + +const { Worker } = require('worker_threads'); +const markedWorker = new Worker('./markedWorker.js'); + +const markedTimeout = setTimeout(() => { + markedWorker.terminate(); + throw new Error('Marked took too long!'); +}, timeoutLimit); + +markedWorker.on('message', (html) => { + clearTimeout(markedTimeout); + console.log(html); + markedWorker.terminate(); +}); + +markedWorker.postMessage(markdownString); +``` + +### Web Worker + +> **NOTE**: Web Workers send the payload from `postMessage` in an object with the payload in a `.data` property + +```js +// markedWorker.js + +importScripts('path/to/marked.min.js'); + +onmessage = (e) => { + const markdownString = e.data + postMessage(marked(markdownString)); +}; +``` + +```js +// script.js + +const markedWorker = new Worker('./markedWorker.js'); + +const markedTimeout = setTimeout(() => { + markedWorker.terminate(); + throw new Error('Marked took too long!'); +}, timeoutLimit); + +markedWorker.onmessage = (e) => { + clearTimeout(markedTimeout); + const html = e.data; + console.log(html); + markedWorker.terminate(); +}; + +markedWorker.postMessage(markdownString); +``` diff --git a/packages/markdown/marked/docs/USING_PRO.md b/packages/markdown/marked/docs/USING_PRO.md new file mode 100644 index 0000000..5912d2b --- /dev/null +++ b/packages/markdown/marked/docs/USING_PRO.md @@ -0,0 +1,352 @@ +## Extending Marked + +To champion the single-responsibility and open/closed principles, we have tried to make it relatively painless to extend marked. If you are looking to add custom functionality, this is the place to start. + +

marked.use()

+ +`marked.use(options)` is the recommended way to extend marked. The options object can contain any [option](#/USING_ADVANCED.md#options) available in marked. + +The `renderer` and `tokenizer` options can be an object with functions that will be merged into the `renderer` and `tokenizer` respectively. + +The `renderer` and `tokenizer` functions can return false to fallback to the previous function. + +The `walkTokens` option can be a function that will be called with every token before rendering. When calling `use` multiple times with different `walkTokens` functions each function will be called in the **reverse** order in which they were assigned. + +All other options will overwrite previously set options. + +

The renderer

+ +The renderer defines the output of the parser. + +**Example:** Overriding default heading token by adding an embedded anchor tag like on GitHub. + +```js +// Create reference instance +const marked = require('marked'); + +// Override function +const renderer = { + heading(text, level) { + const escapedText = text.toLowerCase().replace(/[^\w]+/g, '-'); + + return ` + + + + + ${text} + `; + } +}; + +marked.use({ renderer }); + +// Run marked +console.log(marked('# heading+')); +``` + +**Output:** + +```html +

+ + + + heading+ +

+``` + +### Block level renderer methods + +- code(*string* code, *string* infostring, *boolean* escaped) +- blockquote(*string* quote) +- html(*string* html) +- heading(*string* text, *number* level, *string* raw, *Slugger* slugger) +- hr() +- list(*string* body, *boolean* ordered, *number* start) +- listitem(*string* text, *boolean* task, *boolean* checked) +- checkbox(*boolean* checked) +- paragraph(*string* text) +- table(*string* header, *string* body) +- tablerow(*string* content) +- tablecell(*string* content, *object* flags) + +`slugger` has the `slug` method to create a unique id from value: + +```js +slugger.slug('foo') // foo +slugger.slug('foo') // foo-1 +slugger.slug('foo') // foo-2 +slugger.slug('foo 1') // foo-1-1 +slugger.slug('foo-1') // foo-1-2 +... +``` + +`flags` has the following properties: + +```js +{ + header: true || false, + align: 'center' || 'left' || 'right' +} +``` + +### Inline level renderer methods + +- strong(*string* text) +- em(*string* text) +- codespan(*string* code) +- br() +- del(*string* text) +- link(*string* href, *string* title, *string* text) +- image(*string* href, *string* title, *string* text) +- text(*string* text) + +

The tokenizer

+ +The tokenizer defines how to turn markdown text into tokens. + +**Example:** Overriding default `codespan` tokenizer to include LaTeX. + +```js +// Create reference instance +const marked = require('marked'); + +// Override function +const tokenizer = { + codespan(src) { + const match = src.match(/\$+([^\$\n]+?)\$+/); + if (match) { + return { + type: 'codespan', + raw: match[0], + text: match[1].trim() + }; + } + + // return false to use original codespan tokenizer + return false; + } +}; + +marked.use({ tokenizer }); + +// Run marked +console.log(marked('$ latex code $\n\n` other code `')); +``` + +**Output:** + +```html +

latex code

+

other code

+``` + +### Block level tokenizer methods + +- space(*string* src) +- code(*string* src, *array* tokens) +- fences(*string* src) +- heading(*string* src) +- nptable(*string* src) +- hr(*string* src) +- blockquote(*string* src) +- list(*string* src) +- html(*string* src) +- def(*string* src) +- table(*string* src) +- lheading(*string* src) +- paragraph(*string* src) +- text(*string* src, *array* tokens) + +### Inline level tokenizer methods + +- escape(*string* src) +- tag(*string* src, *bool* inLink, *bool* inRawBlock) +- link(*string* src) +- reflink(*string* src, *object* links) +- strong(*string* src) +- em(*string* src) +- codespan(*string* src) +- br(*string* src) +- del(*string* src) +- autolink(*string* src, *function* mangle) +- url(*string* src, *function* mangle) +- inlineText(*string* src, *bool* inRawBlock, *function* smartypants) + +`mangle` is a method that changes text to HTML character references: + +```js +mangle('test@example.com') +// "test@example.com" +``` + +`smartypants` is a method that translates plain ASCII punctuation characters into “smart” typographic punctuation HTML entities: + +https://daringfireball.net/projects/smartypants/ + +```js +smartypants('"this ... string"') +// "“this … string”" +``` + +

Walk Tokens

+ +The walkTokens function gets called with every token. Child tokens are called before moving on to sibling tokens. Each token is passed by reference so updates are persisted when passed to the parser. The return value of the function is ignored. + +**Example:** Overriding heading tokens to start at h2. + +```js +const marked = require('marked'); + +// Override function +const walkTokens = (token) => { + if (token.type === 'heading') { + token.depth += 1; + } +}; + +marked.use({ walkTokens }); + +// Run marked +console.log(marked('# heading 2\n\n## heading 3')); +``` + +**Output:** + +```html +

heading 2

+

heading 3

+``` + +

The lexer

+ +The lexer takes a markdown string and calls the tokenizer functions. + +

The parser

+ +The parser takes tokens as input and calls the renderer functions. + +*** + +

Access to lexer and parser

+ +You also have direct access to the lexer and parser if you so desire. + +``` js +const tokens = marked.lexer(markdown, options); +console.log(marked.parser(tokens, options)); +``` + +``` js +const lexer = new marked.Lexer(options); +const tokens = lexer.lex(markdown); +console.log(tokens); +console.log(lexer.tokenizer.rules.block); // block level rules used +console.log(lexer.tokenizer.rules.inline); // inline level rules used +console.log(marked.Lexer.rules.block); // all block level rules +console.log(marked.Lexer.rules.inline); // all inline level rules +``` + +``` bash +$ node +> require('marked').lexer('> I am using marked.') +[ + { + type: "blockquote", + raw: "> I am using marked.", + tokens: [ + { + type: "paragraph", + raw: "I am using marked.", + text: "I am using marked.", + tokens: [ + { + type: "text", + raw: "I am using marked.", + text: "I am using marked." + } + ] + } + ] + }, + links: {} +] +``` + +The Lexer builds an array of tokens, which will be passed to the Parser. +The Parser processes each token in the token array: + +``` js +const marked = require('marked'); + +const md = ` + # heading + + [link][1] + + [1]: #heading "heading" +`; + +const tokens = marked.lexer(md); +console.log(tokens); + +const html = marked.parser(tokens); +console.log(html); +``` + +``` bash +[ + { + type: "heading", + raw: " # heading\n\n", + depth: 1, + text: "heading", + tokens: [ + { + type: "text", + raw: "heading", + text: "heading" + } + ] + }, + { + type: "paragraph", + raw: " [link][1]", + text: " [link][1]", + tokens: [ + { + type: "text", + raw: " ", + text: " " + }, + { + type: "link", + raw: "[link][1]", + text: "link", + href: "#heading", + title: "heading", + tokens: [ + { + type: "text", + raw: "link", + text: "link" + } + ] + } + ] + }, + { + type: "space", + raw: "\n\n" + }, + links: { + "1": { + href: "#heading", + title: "heading" + } + } +] +

heading

+

link

+``` diff --git a/packages/markdown/marked/docs/broken.md b/packages/markdown/marked/docs/broken.md new file mode 100644 index 0000000..7bfa49e --- /dev/null +++ b/packages/markdown/marked/docs/broken.md @@ -0,0 +1,426 @@ +# Markdown is broken + +I have a lot of scraps of markdown engine oddities that I've collected over the +years. What you see below is slightly messy, but it's what I've managed to +cobble together to illustrate the differences between markdown engines, and +why, if there ever is a markdown specification, it has to be absolutely +thorough. There are a lot more of these little differences I have documented +elsewhere. I know I will find them lingering on my disk one day, but until +then, I'll continue to add whatever strange nonsensical things I find. + +Some of these examples may only mention a particular engine compared to marked. +However, the examples with markdown.pl could easily be swapped out for +discount, upskirt, or markdown.js, and you would very easily see even more +inconsistencies. + +A lot of this was written when I was very unsatisfied with the inconsistencies +between markdown engines. Please excuse the frustration noticeable in my +writing. + +## Examples of markdown's "stupid" list parsing + +``` +$ markdown.pl + + * item1 + + * item2 + + text +^D +
    +
  • item1

    + +
      +
    • item2
    • +
    + +

    text

  • +

+``` + + +``` +$ marked + * item1 + + * item2 + + text +^D +
    +
  • item1

    +
      +
    • item2
    • +
    +

    text

    +
  • +
+``` + +Which looks correct to you? + +- - - + +``` +$ markdown.pl +* hello + > world +^D +

    +
  • hello

    + +
    +

    world

  • +

+ +``` + +``` +$ marked +* hello + > world +^D +
    +
  • hello
    +

    world

    +
    +
  • +
+``` + +Again, which looks correct to you? + +- - - + +EXAMPLE: + +``` +$ markdown.pl +* hello + * world + * hi + code +^D +
    +
  • hello +
      +
    • world
    • +
    • hi + code
    • +
  • +
+``` + +The code isn't a code block even though it's after the bullet margin. I know, +lets give it two more spaces, effectively making it 8 spaces past the bullet. + +``` +$ markdown.pl +* hello + * world + * hi + code +^D +
    +
  • hello +
      +
    • world
    • +
    • hi + code
    • +
  • +
+``` + +And, it's still not a code block. Did you also notice that the 3rd item isn't +even its own list? Markdown screws that up too because of its indentation +unaware parsing. + +- - - + +Let's look at some more examples of markdown's list parsing: + +``` +$ markdown.pl + + * item1 + + * item2 + + text +^D +
    +
  • item1

    + +
      +
    • item2
    • +
    + +

    text

  • +

+``` + +Misnested tags. + + +``` +$ marked + * item1 + + * item2 + + text +^D +
    +
  • item1

    +
      +
    • item2
    • +
    +

    text

    +
  • +
+``` + +Which looks correct to you? + +- - - + +``` +$ markdown.pl +* hello + > world +^D +

    +
  • hello

    + +
    +

    world

  • +

+ +``` + +More misnested tags. + + +``` +$ marked +* hello + > world +^D +
    +
  • hello
    +

    world

    +
    +
  • +
+``` + +Again, which looks correct to you? + +- - - + +# Why quality matters - Part 2 + +``` bash +$ markdown.pl +* hello + > world +^D +

    +
  • hello

    + +
    +

    world

  • +

+ +``` + +``` bash +$ sundown # upskirt +* hello + > world +^D +
    +
  • hello +> world
  • +
+``` + +``` bash +$ marked +* hello + > world +^D +
  • hello

    world

+``` + +Which looks correct to you? + +- - - + +See: https://github.com/evilstreak/markdown-js/issues/23 + +``` bash +$ markdown.pl # upskirt/markdown.js/discount +* hello + var a = 1; +* world +^D +
    +
  • hello +var a = 1;
  • +
  • world
  • +
+``` + +``` bash +$ marked +* hello + var a = 1; +* world +^D +
  • hello +
    code>var a = 1;
  • +
  • world
+``` + +Which looks more reasonable? Why shouldn't code blocks be able to appear in +list items in a sane way? + +- - - + +``` bash +$ markdown.js +
hello
+ +hello +^D +

<div>hello</div>

+ +

<span>hello</span>

+``` + +``` bash +$ marked +
hello
+ +hello +^D +
hello
+ + +

hello +

+``` + +- - - + +See: https://github.com/evilstreak/markdown-js/issues/27 + +``` bash +$ markdown.js +[![an image](/image)](/link) +^D +

![an image

+``` + +``` bash +$ marked +[![an image](/image)](/link) +^D +

an image +

+``` + +- - - + +See: https://github.com/evilstreak/markdown-js/issues/24 + +``` bash +$ markdown.js +> a + +> b + +> c +^D +

a

bundefined> c

+``` + +``` bash +$ marked +> a + +> b + +> c +^D +

a + +

+

b + +

+

c +

+``` + +- - - + +``` bash +$ markdown.pl +* hello + * world + how + + are + you + + * today +* hi +^D +
    +
  • hello

    + +
      +
    • world +how
    • +
    + +

    are +you

    + +
      +
    • today
    • +
  • +
  • hi
  • +
+``` + +``` bash +$ marked +* hello + * world + how + + are + you + + * today +* hi +^D +
    +
  • hello

    +
      +
    • world +how

      +

      are +you

      +
    • +
    • today

      +
    • +
    +
  • +
  • hi
  • +
+``` diff --git a/packages/markdown/marked/docs/demo/demo.css b/packages/markdown/marked/docs/demo/demo.css new file mode 100644 index 0000000..398c663 --- /dev/null +++ b/packages/markdown/marked/docs/demo/demo.css @@ -0,0 +1,72 @@ +html, body { + margin: 0; + padding: 0; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + color: #333; + background-color: #fbfbfb; + height: 100%; +} + +textarea { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + font-size: 12px; + resize: none; +} + +header { + padding-top: 10px; + display: flex; + height: 58px; +} + +header h1 { + margin: 0; +} + +.github-ribbon { + position: absolute; + top: 0; + right: 0; + border: 0; + z-index: 1000; +} + +.containers { + display: flex; + height: calc(100vh - 68px); +} + +.container { + flex-basis: 50%; + padding: 5px; + display: flex; + flex-direction: column; + height: 100%; + box-sizing: border-box; +} + +.pane, .inputPane { + margin-top: 5px; + padding: 0.6em; + border: 1px solid #ccc; + overflow: auto; + flex-grow: 1; + flex-shrink: 1; +} + +#preview { + display: flex; +} + +#preview iframe { + flex-grow: 1; +} + +#main { + display: none; +} + +.error { + border-color: red; + background-color: #FEE +} diff --git a/packages/markdown/marked/docs/demo/demo.js b/packages/markdown/marked/docs/demo/demo.js new file mode 100644 index 0000000..142d127 --- /dev/null +++ b/packages/markdown/marked/docs/demo/demo.js @@ -0,0 +1,534 @@ +/* globals marked, unfetch, ES6Promise, Promise */ // eslint-disable-line no-redeclare + +if (!window.Promise) { + window.Promise = ES6Promise; +} +if (!window.fetch) { + window.fetch = unfetch; +} + +onunhandledrejection = function(e) { + throw e.reason; +}; + +var $loadingElem = document.querySelector('#loading'); +var $mainElem = document.querySelector('#main'); +var $markdownElem = document.querySelector('#markdown'); +var $markedVerElem = document.querySelector('#markedVersion'); +var $commitVerElem = document.querySelector('#commitVersion'); +var $markedVer = document.querySelector('#markedCdn'); +var $optionsElem = document.querySelector('#options'); +var $outputTypeElem = document.querySelector('#outputType'); +var $inputTypeElem = document.querySelector('#inputType'); +var $responseTimeElem = document.querySelector('#responseTime'); +var $previewElem = document.querySelector('#preview'); +var $previewIframe = document.querySelector('#preview iframe'); +var $permalinkElem = document.querySelector('#permalink'); +var $clearElem = document.querySelector('#clear'); +var $htmlElem = document.querySelector('#html'); +var $lexerElem = document.querySelector('#lexer'); +var $panes = document.querySelectorAll('.pane'); +var $inputPanes = document.querySelectorAll('.inputPane'); +var lastInput = ''; +var inputDirty = true; +var $activeOutputElem = null; +var search = searchToObject(); +var markedVersions = { + master: 'https://cdn.jsdelivr.net/gh/markedjs/marked/lib/marked.js' +}; +var markedVersionCache = {}; +var delayTime = 1; +var checkChangeTimeout = null; +var markedWorker; + +$previewIframe.addEventListener('load', handleIframeLoad); + +$outputTypeElem.addEventListener('change', handleOutputChange, false); + +$inputTypeElem.addEventListener('change', handleInputChange, false); + +$markedVerElem.addEventListener('change', handleVersionChange, false); + +$markdownElem.addEventListener('change', handleInput, false); +$markdownElem.addEventListener('keyup', handleInput, false); +$markdownElem.addEventListener('keypress', handleInput, false); +$markdownElem.addEventListener('keydown', handleInput, false); + +$optionsElem.addEventListener('change', handleInput, false); +$optionsElem.addEventListener('keyup', handleInput, false); +$optionsElem.addEventListener('keypress', handleInput, false); +$optionsElem.addEventListener('keydown', handleInput, false); + +$commitVerElem.style.display = 'none'; +$commitVerElem.addEventListener('keypress', handleAddVersion, false); + +$clearElem.addEventListener('click', handleClearClick, false); + +Promise.all([ + setInitialQuickref(), + setInitialOutputType(), + setInitialText(), + setInitialVersion() + .then(setInitialOptions) +]).then(function() { + handleInputChange(); + handleOutputChange(); + checkForChanges(); + setScrollPercent(0); + $loadingElem.style.display = 'none'; + $mainElem.style.display = 'block'; +}); + +function setInitialText() { + if ('text' in search) { + $markdownElem.value = search.text; + } else { + return fetch('./initial.md') + .then(function(res) { return res.text(); }) + .then(function(text) { + if ($markdownElem.value === '') { + $markdownElem.value = text; + } + }); + } +} + +function setInitialQuickref() { + return fetch('./quickref.md') + .then(function(res) { return res.text(); }) + .then(function(text) { + document.querySelector('#quickref').value = text; + }); +} + +function setInitialVersion() { + return fetch('https://data.jsdelivr.com/v1/package/npm/marked') + .then(function(res) { + return res.json(); + }) + .then(function(json) { + for (var i = 0; i < json.versions.length; i++) { + var ver = json.versions[i]; + markedVersions[ver] = 'https://cdn.jsdelivr.net/npm/marked@' + ver + '/lib/marked.js'; + var opt = document.createElement('option'); + opt.textContent = ver; + opt.value = ver; + $markedVerElem.appendChild(opt); + } + }) + .then(function() { + return fetch('https://api.github.com/repos/markedjs/marked/commits') + .then(function(res) { + return res.json(); + }) + .then(function(json) { + markedVersions.master = 'https://cdn.jsdelivr.net/gh/markedjs/marked@' + json[0].sha + '/lib/marked.js'; + }) + .catch(function() { + // do nothing + // uses url without commit + }); + }) + .then(function() { + if (search.version) { + if (markedVersions[search.version]) { + return search.version; + } else { + var match = search.version.match(/^(\w+):(.+)$/); + if (match) { + switch (match[1]) { + case 'commit': + addCommitVersion(search.version, match[2].substring(0, 7), match[2]); + return search.version; + case 'pr': + return getPrCommit(match[2]) + .then(function(commit) { + if (!commit) { + return 'master'; + } + addCommitVersion(search.version, 'PR #' + match[2], commit); + return search.version; + }); + } + } + } + } + + return 'master'; + }) + .then(function(version) { + $markedVerElem.value = version; + }) + .then(updateVersion); +} + +function setInitialOptions() { + if ('options' in search) { + $optionsElem.value = search.options; + } else { + setDefaultOptions(); + } +} + +function setInitialOutputType() { + if (search.outputType) { + $outputTypeElem.value = search.outputType; + } +} + +function handleIframeLoad() { + lastInput = ''; + inputDirty = true; +} + +function handleInput() { + inputDirty = true; +} + +function handleVersionChange() { + if ($markedVerElem.value === 'commit' || $markedVerElem.value === 'pr') { + $commitVerElem.style.display = ''; + } else { + $commitVerElem.style.display = 'none'; + updateVersion(); + } +} + +function handleClearClick() { + $markdownElem.value = ''; + $markedVerElem.value = 'master'; + $commitVerElem.style.display = 'none'; + updateVersion().then(setDefaultOptions); +} + +function handleAddVersion(e) { + if (e.which === 13) { + switch ($markedVerElem.value) { + case 'commit': + var commit = $commitVerElem.value.toLowerCase(); + if (!commit.match(/^[0-9a-f]{40}$/)) { + alert('That is not a valid commit'); + return; + } + addCommitVersion('commit:' + commit, commit.substring(0, 7), commit); + $markedVerElem.value = 'commit:' + commit; + $commitVerElem.style.display = 'none'; + $commitVerElem.value = ''; + updateVersion(); + break; + case 'pr': + $commitVerElem.disabled = true; + var pr = $commitVerElem.value.replace(/\D/g, ''); + getPrCommit(pr) + .then(function(commit) { + $commitVerElem.disabled = false; + if (!commit) { + alert('That is not a valid PR'); + return; + } + addCommitVersion('pr:' + pr, 'PR #' + pr, commit); + $markedVerElem.value = 'pr:' + pr; + $commitVerElem.style.display = 'none'; + $commitVerElem.value = ''; + updateVersion(); + }); + } + } +} + +function handleInputChange() { + handleChange($inputPanes, $inputTypeElem.value); +} + +function handleOutputChange() { + $activeOutputElem = handleChange($panes, $outputTypeElem.value); + updateLink(); +} + +function handleChange(panes, visiblePane) { + var active = null; + for (var i = 0; i < panes.length; i++) { + if (panes[i].id === visiblePane) { + panes[i].style.display = ''; + active = panes[i]; + } else { + panes[i].style.display = 'none'; + } + } + return active; +} + +function addCommitVersion(value, text, commit) { + if (markedVersions[value]) { + return; + } + markedVersions[value] = 'https://cdn.jsdelivr.net/gh/markedjs/marked@' + commit + '/lib/marked.js'; + var opt = document.createElement('option'); + opt.textContent = text; + opt.value = value; + $markedVerElem.insertBefore(opt, $markedVerElem.firstChild); +} + +function getPrCommit(pr) { + return fetch('https://api.github.com/repos/markedjs/marked/pulls/' + pr + '/commits') + .then(function(res) { + return res.json(); + }) + .then(function(json) { + return json[json.length - 1].sha; + }).catch(function() { + // return undefined + }); +} + +function setDefaultOptions() { + if (window.Worker) { + messageWorker({ + task: 'defaults', + version: markedVersions[$markedVerElem.value] + }); + } else { + var defaults = marked.getDefaults(); + setOptions(defaults); + } +} + +function setOptions(opts) { + $optionsElem.value = JSON.stringify( + opts, + function(key, value) { + if (value && typeof value === 'object' && Object.getPrototypeOf(value) !== Object.prototype) { + return undefined; + } + return value; + }, ' '); +} + +function searchToObject() { + // modified from https://stackoverflow.com/a/7090123/806777 + var pairs = location.search.slice(1).split('&'); + var obj = {}; + + for (var i = 0; i < pairs.length; i++) { + if (pairs[i] === '') { + continue; + } + + var pair = pairs[i].split('='); + + obj[decodeURIComponent(pair.shift())] = decodeURIComponent(pair.join('=')); + } + + return obj; +} + +function jsonString(input) { + var output = (input + '') + .replace(/\n/g, '\\n') + .replace(/\r/g, '\\r') + .replace(/\t/g, '\\t') + .replace(/\f/g, '\\f') + .replace(/[\\"']/g, '\\$&') + .replace(/\u0000/g, '\\0'); + return '"' + output + '"'; +} + +function getScrollSize() { + var e = $activeOutputElem; + + return e.scrollHeight - e.clientHeight; +} + +function getScrollPercent() { + var size = getScrollSize(); + + if (size <= 0) { + return 1; + } + + return $activeOutputElem.scrollTop / size; +} + +function setScrollPercent(percent) { + $activeOutputElem.scrollTop = percent * getScrollSize(); +} + +function updateLink() { + var outputType = ''; + if ($outputTypeElem.value !== 'preview') { + outputType = 'outputType=' + $outputTypeElem.value + '&'; + } + + $permalinkElem.href = '?' + outputType + 'text=' + encodeURIComponent($markdownElem.value) + + '&options=' + encodeURIComponent($optionsElem.value) + + '&version=' + encodeURIComponent($markedVerElem.value); + history.replaceState('', document.title, $permalinkElem.href); +} + +function updateVersion() { + if (window.Worker) { + handleInput(); + return Promise.resolve(); + } + var promise; + if (markedVersionCache[$markedVerElem.value]) { + promise = Promise.resolve(markedVersionCache[$markedVerElem.value]); + } else { + promise = fetch(markedVersions[$markedVerElem.value]) + .then(function(res) { return res.text(); }) + .then(function(text) { + markedVersionCache[$markedVerElem.value] = text; + return text; + }); + } + return promise.then(function(text) { + var script = document.createElement('script'); + script.textContent = text; + + $markedVer.parentNode.replaceChild(script, $markedVer); + $markedVer = script; + }).then(handleInput); +} + +function checkForChanges() { + if (inputDirty && $markedVerElem.value !== 'commit' && $markedVerElem.value !== 'pr' && (typeof marked !== 'undefined' || window.Worker)) { + inputDirty = false; + + updateLink(); + + var options = {}; + var optionsString = $optionsElem.value || '{}'; + try { + var newOptions = JSON.parse(optionsString); + options = newOptions; + $optionsElem.classList.remove('error'); + } catch (err) { + $optionsElem.classList.add('error'); + } + + var version = markedVersions[$markedVerElem.value]; + var markdown = $markdownElem.value; + var hash = version + markdown + optionsString; + if (lastInput !== hash) { + lastInput = hash; + if (window.Worker) { + delayTime = 100; + messageWorker({ + task: 'parse', + version: version, + markdown: markdown, + options: options + }); + } else { + var startTime = new Date(); + var lexed = marked.lexer(markdown, options); + var lexedList = []; + for (var i = 0; i < lexed.length; i++) { + var lexedLine = []; + for (var j in lexed[i]) { + lexedLine.push(j + ':' + jsonString(lexed[i][j])); + } + lexedList.push('{' + lexedLine.join(', ') + '}'); + } + var parsed = marked.parser(lexed, options); + var scrollPercent = getScrollPercent(); + setParsed(parsed, lexedList.join('\n')); + setScrollPercent(scrollPercent); + var endTime = new Date(); + delayTime = endTime - startTime; + setResponseTime(delayTime); + if (delayTime < 50) { + delayTime = 50; + } else if (delayTime > 500) { + delayTime = 1000; + } + } + } + } + checkChangeTimeout = window.setTimeout(checkForChanges, delayTime); +} + +function setResponseTime(ms) { + var amount = ms; + var suffix = 'ms'; + if (ms > 1000 * 60 * 60) { + amount = 'Too Long'; + suffix = ''; + } else if (ms > 1000 * 60) { + amount = '>' + Math.floor(ms / (1000 * 60)); + suffix = 'm'; + } else if (ms > 1000) { + amount = '>' + Math.floor(ms / 1000); + suffix = 's'; + } + $responseTimeElem.textContent = amount + suffix; +} + +function setParsed(parsed, lexed) { + try { + $previewIframe.contentDocument.body.innerHTML = parsed; + } catch (ex) {} + $htmlElem.value = parsed; + $lexerElem.value = lexed; +} + +function messageWorker(message) { + if (!markedWorker || markedWorker.working) { + if (markedWorker) { + clearTimeout(markedWorker.timeout); + markedWorker.terminate(); + } + markedWorker = new Worker('worker.js'); + markedWorker.onmessage = function(e) { + clearTimeout(markedWorker.timeout); + markedWorker.working = false; + switch (e.data.task) { + case 'defaults': + setOptions(e.data.defaults); + break; + case 'parse': + $previewElem.classList.remove('error'); + $htmlElem.classList.remove('error'); + $lexerElem.classList.remove('error'); + var scrollPercent = getScrollPercent(); + setParsed(e.data.parsed, e.data.lexed); + setScrollPercent(scrollPercent); + setResponseTime(e.data.time); + break; + } + clearTimeout(checkChangeTimeout); + delayTime = 10; + checkForChanges(); + }; + markedWorker.onerror = markedWorker.onmessageerror = function(err) { + clearTimeout(markedWorker.timeout); + var error = 'There was an error in the Worker'; + if (err) { + if (err.message) { + error = err.message; + } else { + error = err; + } + } + error = error.replace(/^Uncaught Error: /, ''); + $previewElem.classList.add('error'); + $htmlElem.classList.add('error'); + $lexerElem.classList.add('error'); + setParsed(error, error); + setScrollPercent(0); + }; + } + if (message.task !== 'defaults') { + markedWorker.working = true; + workerTimeout(0); + } + markedWorker.postMessage(message); +} + +function workerTimeout(seconds) { + markedWorker.timeout = setTimeout(function() { + seconds++; + markedWorker.onerror('Marked has taken longer than ' + seconds + ' second' + (seconds > 1 ? 's' : '') + ' to respond...'); + workerTimeout(seconds); + }, 1000); +} diff --git a/packages/markdown/marked/docs/demo/index.html b/packages/markdown/marked/docs/demo/index.html new file mode 100644 index 0000000..96a8ec1 --- /dev/null +++ b/packages/markdown/marked/docs/demo/index.html @@ -0,0 +1,78 @@ + + + + + Marked Demo + + + + + + Fork me on GitHub + + +
+ + + +

Marked Demo

+
+ +
Loading...
+
+
+
+
+ Input · + · + Version: + + · + + +
+ + +
+ +
+
+ · + Response Time: + +
+ +
+ + +
+ + + + + + +
+
+
+ + + + + + + diff --git a/packages/markdown/marked/docs/demo/initial.md b/packages/markdown/marked/docs/demo/initial.md new file mode 100644 index 0000000..d2b7d77 --- /dev/null +++ b/packages/markdown/marked/docs/demo/initial.md @@ -0,0 +1,36 @@ +Marked - Markdown Parser +======================== + +[Marked] lets you convert [Markdown] into HTML. Markdown is a simple text format whose goal is to be very easy to read and write, even when not converted to HTML. This demo page will let you type anything you like and see how it gets converted. Live. No more waiting around. + +How To Use The Demo +------------------- + +1. Type in stuff on the left. +2. See the live updates on the right. + +That's it. Pretty simple. There's also a drop-down option in the upper right to switch between various views: + +- **Preview:** A live display of the generated HTML as it would render in a browser. +- **HTML Source:** The generated HTML before your browser makes it pretty. +- **Lexer Data:** What [marked] uses internally, in case you like gory stuff like this. +- **Quick Reference:** A brief run-down of how to format things using markdown. + +Why Markdown? +------------- + +It's easy. It's not overly bloated, unlike HTML. Also, as the creator of [markdown] says, + +> The overriding design goal for Markdown's +> formatting syntax is to make it as readable +> as possible. The idea is that a +> Markdown-formatted document should be +> publishable as-is, as plain text, without +> looking like it's been marked up with tags +> or formatting instructions. + +Ready to start writing? Either start changing stuff on the left or +[clear everything](/demo/?text=) with a simple click. + +[Marked]: https://github.com/markedjs/marked/ +[Markdown]: http://daringfireball.net/projects/markdown/ diff --git a/packages/markdown/marked/docs/demo/preview.html b/packages/markdown/marked/docs/demo/preview.html new file mode 100644 index 0000000..7e8c89f --- /dev/null +++ b/packages/markdown/marked/docs/demo/preview.html @@ -0,0 +1,12 @@ + + + + + + marked.js preview + + + + + + diff --git a/packages/markdown/marked/docs/demo/quickref.md b/packages/markdown/marked/docs/demo/quickref.md new file mode 100644 index 0000000..10f09bd --- /dev/null +++ b/packages/markdown/marked/docs/demo/quickref.md @@ -0,0 +1,167 @@ +Markdown Quick Reference +======================== + +This guide is a very brief overview, with examples, of the syntax that [Markdown] supports. It is itself written in Markdown and you can copy the samples over to the left-hand pane for experimentation. It's shown as *text* and not *rendered HTML*. + +[Markdown]: http://daringfireball.net/projects/markdown/ + + +Simple Text Formatting +====================== + +First thing is first. You can use *stars* or _underscores_ for italics. **Double stars** and __double underscores__ do bold. ***Three together*** do ___both___. + +Paragraphs are pretty easy too. Just have a blank line between chunks of text. + +> This chunk of text is in a block quote. Its multiple lines will all be +> indended a bit from the rest of the text. +> +> > Multiple levels of block quotes also work. + +Sometimes you want to include some code, such as when you are explaining how `

` HTML tags work, or maybe you are a programmer and you are discussing `someMethod()`. + +If you want to include some code and have +newlines preserved, indent the line with a tab +or at least four spaces. + Extra spaces work here too. +This is also called preformatted text and it is useful for showing examples. +The text will stay as text, so any *markdown* or HTML you add will +not show up formatted. This way you can show markdown examples in a +markdown document. + +> You can also use preformatted text with your blockquotes +> as long as you add at least five spaces. + + +Headings +======== + +There are a couple of ways to make headings. Using three or more equals signs on a line under a heading makes it into an "h1" style. Three or more hyphens under a line makes it "h2" (slightly smaller). You can also use multiple pound symbols before and after a heading. Pounds after the title are ignored. Here's some examples: + +This is H1 +========== + +This is H2 +---------- + +# This is H1 +## This is H2 +### This is H3 with some extra pounds ### +#### You get the idea #### +##### I don't need extra pounds at the end +###### H6 is the max + + +Links +===== + +Let's link to a few sites. First, let's use the bare URL, like . Great for text, but ugly for HTML. +Next is an inline link to [Google](http://www.google.com). A little nicer. +This is a reference-style link to [Wikipedia] [1]. +Lastly, here's a pretty link to [Yahoo]. The reference-style and pretty links both automatically use the links defined below, but they could be defined *anywhere* in the markdown and are removed from the HTML. The names are also case insensitive, so you can use [YaHoO] and have it link properly. + +[1]: http://www.wikipedia.org/ +[Yahoo]: http://www.yahoo.com/ + +Title attributes may be added to links by adding text after a link. +This is the [inline link](http://www.bing.com "Bing") with a "Bing" title. +You can also go to [W3C] [2] and maybe visit a [friend]. + +[2]: http://w3c.org (The W3C puts out specs for web-based things) +[Friend]: http://facebook.com/ "Facebook!" + +Email addresses in plain text are not linked: test@example.com. +Email addresses wrapped in angle brackets are linked: . +They are also obfuscated so that email harvesting spam robots hopefully won't get them. + + +Lists +===== + +* This is a bulleted list +* Great for shopping lists +- You can also use hyphens ++ Or plus symbols + +The above is an "unordered" list. Now, on for a bit of order. + +1. Numbered lists are also easy +2. Just start with a number +3738762. However, the actual number doesn't matter when converted to HTML. +1. This will still show up as 4. + +You might want a few advanced lists: + +- This top-level list is wrapped in paragraph tags +- This generates an extra space between each top-level item. + +- You do it by adding a blank line + +- This nested list also has blank lines between the list items. + +- How to create nested lists +1. Start your regular list +2. Indent nested lists with four spaces +3. Further nesting means you should indent with four more spaces + * This line is indented with eight spaces. + +- List items can be quite lengthy. You can keep typing and either continue +them on the next line with no indentation. + +- Alternately, if that looks ugly, you can also +indent the next line a bit for a prettier look. + +- You can put large blocks of text in your list by just indenting with four spaces. + +This is formatted the same as code, but you can inspect the HTML +and find that it's just wrapped in a `

` tag and *won't* be shown +as preformatted text. + +You can keep adding more and more paragraphs to a single +list item by adding the traditional blank line and then keep +on indenting the paragraphs with four spaces. You really need +to only indent the first line, but that looks ugly. + +- Lists support blockquotes + +> Just like this example here. By the way, you can +> nest lists inside blockquotes! +> - Fantastic! + +- Lists support preformatted text + + You just need to indent eight spaces. + + +Even More +========= + +Horizontal Rule +--------------- + +If you need a horizontal rule you just need to put at least three hyphens, asterisks, or underscores on a line by themselves. You can also even put spaces between the characters. + +--- +**************************** +_ _ _ _ _ _ _ + +Those three all produced horizontal lines. Keep in mind that three hyphens under any text turns that text into a heading, so add a blank like if you use hyphens. + +Images +------ + +Images work exactly like links, but they have exclamation points in front. They work with references and titles too. + +![Google Logo](http://www.google.com/images/errors/logo_sm.gif) and ![Happy]. + +[Happy]: http://www.wpclipart.com/smiley/simple_smiley/smiley_face_simple_green_small.png ("Smiley face") + + +Inline HTML +----------- + +If markdown is too limiting, you can just insert your own crazy HTML. Span-level HTML can *still* use markdown. Block level elements must be separated from text by a blank line and must not have any spaces before the opening and closing HTML. + +

+It is a pity, but markdown does **not** work in here for most markdown parsers. [Marked] handles it pretty well. +
diff --git a/packages/markdown/marked/docs/demo/worker.js b/packages/markdown/marked/docs/demo/worker.js new file mode 100644 index 0000000..5fb5fd8 --- /dev/null +++ b/packages/markdown/marked/docs/demo/worker.js @@ -0,0 +1,123 @@ +/* globals marked, unfetch, ES6Promise, Promise */ // eslint-disable-line no-redeclare + +if (!self.Promise) { + self.importScripts('https://cdn.jsdelivr.net/npm/es6-promise/dist/es6-promise.js'); + self.Promise = ES6Promise; +} +if (!self.fetch) { + self.importScripts('https://cdn.jsdelivr.net/npm/unfetch/dist/unfetch.umd.js'); + self.fetch = unfetch; +} + +var versionCache = {}; +var currentVersion; + +onunhandledrejection = function(e) { + throw e.reason; +}; + +onmessage = function(e) { + if (e.data.version === currentVersion) { + parse(e); + } else { + loadVersion(e.data.version).then(function() { + parse(e); + }); + } +}; + +function parse(e) { + switch (e.data.task) { + case 'defaults': + + var defaults = {}; + if (typeof marked.getDefaults === 'function') { + defaults = marked.getDefaults(); + delete defaults.renderer; + } else if ('defaults' in marked) { + for (var prop in marked.defaults) { + if (prop !== 'renderer') { + defaults[prop] = marked.defaults[prop]; + } + } + } + postMessage({ + task: e.data.task, + defaults: defaults + }); + break; + case 'parse': + var startTime = new Date(); + var lexed = marked.lexer(e.data.markdown, e.data.options); + var lexedList = jsonString(lexed); + var parsed = marked.parser(lexed, e.data.options); + var endTime = new Date(); + postMessage({ + task: e.data.task, + lexed: lexedList, + parsed: parsed, + time: endTime - startTime + }); + break; + } +} + +function stringRepeat(char, times) { + var s = ''; + for (var i = 0; i < times; i++) { + s += char; + } + return s; +} + +function jsonString(input, level) { + level = level || 0; + if (Array.isArray(input)) { + if (input.length === 0) { + return '[]'; + } + var items = [], + i; + if (!Array.isArray(input[0]) && typeof input[0] === 'object' && input[0] !== null) { + for (i = 0; i < input.length; i++) { + items.push(stringRepeat(' ', 2 * level) + jsonString(input[i], level + 1)); + } + return '[\n' + items.join('\n') + '\n]'; + } + for (i = 0; i < input.length; i++) { + items.push(jsonString(input[i], level)); + } + return '[' + items.join(', ') + ']'; + } else if (typeof input === 'object' && input !== null) { + var props = []; + for (var prop in input) { + props.push(prop + ':' + jsonString(input[prop], level)); + } + return '{' + props.join(', ') + '}'; + } else { + return JSON.stringify(input); + } +} + +function loadVersion(ver) { + var promise; + if (versionCache[ver]) { + promise = Promise.resolve(versionCache[ver]); + } else { + promise = fetch(ver) + .then(function(res) { return res.text(); }) + .then(function(text) { + versionCache[ver] = text; + return text; + }); + } + return promise.then(function(text) { + try { + // eslint-disable-next-line no-new-func + Function(text)(); + } catch (err) { + throw new Error('Cannot load that version of marked'); + } + currentVersion = ver; + }); +} diff --git a/packages/markdown/marked/docs/img/logo-black-and-white.svg b/packages/markdown/marked/docs/img/logo-black-and-white.svg new file mode 100644 index 0000000..5f6c0b7 --- /dev/null +++ b/packages/markdown/marked/docs/img/logo-black-and-white.svg @@ -0,0 +1,133 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/markdown/marked/docs/img/logo-black.svg b/packages/markdown/marked/docs/img/logo-black.svg new file mode 100644 index 0000000..a67fb80 --- /dev/null +++ b/packages/markdown/marked/docs/img/logo-black.svg @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/packages/markdown/marked/docs/index.html b/packages/markdown/marked/docs/index.html new file mode 100644 index 0000000..a6c2930 --- /dev/null +++ b/packages/markdown/marked/docs/index.html @@ -0,0 +1,273 @@ + + + + + Marked.js Documentation + + + + + + + + + + + + + diff --git a/packages/markdown/marked/lib/marked.esm.js b/packages/markdown/marked/lib/marked.esm.js new file mode 100644 index 0000000..9b149ea --- /dev/null +++ b/packages/markdown/marked/lib/marked.esm.js @@ -0,0 +1,2356 @@ +/** + * marked - a markdown parser + * Copyright (c) 2011-2020, Christopher Jeffrey. (MIT Licensed) + * https://github.com/markedjs/marked + */ + +/** + * DO NOT EDIT THIS FILE + * The code in this file is generated from files in ./src/ + */ + +function createCommonjsModule(fn, module) { + return module = { exports: {} }, fn(module, module.exports), module.exports; +} + +var defaults = createCommonjsModule(function (module) { +function getDefaults() { + return { + baseUrl: null, + breaks: false, + gfm: true, + headerIds: true, + headerPrefix: '', + highlight: null, + langPrefix: 'language-', + mangle: true, + pedantic: false, + renderer: null, + sanitize: false, + sanitizer: null, + silent: false, + smartLists: false, + smartypants: false, + tokenizer: null, + walkTokens: null, + xhtml: false + }; +} + +function changeDefaults(newDefaults) { + module.exports.defaults = newDefaults; +} + +module.exports = { + defaults: getDefaults(), + getDefaults, + changeDefaults +}; +}); +var defaults_1 = defaults.defaults; +var defaults_2 = defaults.getDefaults; +var defaults_3 = defaults.changeDefaults; + +/** + * Helpers + */ +const escapeTest = /[&<>"']/; +const escapeReplace = /[&<>"']/g; +const escapeTestNoEncode = /[<>"']|&(?!#?\w+;)/; +const escapeReplaceNoEncode = /[<>"']|&(?!#?\w+;)/g; +const escapeReplacements = { + '&': '&', + '<': '<', + '>': '>', + '"': '"', + "'": ''' +}; +const getEscapeReplacement = (ch) => escapeReplacements[ch]; +function escape(html, encode) { + if (encode) { + if (escapeTest.test(html)) { + return html.replace(escapeReplace, getEscapeReplacement); + } + } else { + if (escapeTestNoEncode.test(html)) { + return html.replace(escapeReplaceNoEncode, getEscapeReplacement); + } + } + + return html; +} + +const unescapeTest = /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig; + +function unescape(html) { + // explicitly match decimal, hex, and named HTML entities + return html.replace(unescapeTest, (_, n) => { + n = n.toLowerCase(); + if (n === 'colon') return ':'; + if (n.charAt(0) === '#') { + return n.charAt(1) === 'x' + ? String.fromCharCode(parseInt(n.substring(2), 16)) + : String.fromCharCode(+n.substring(1)); + } + return ''; + }); +} + +const caret = /(^|[^\[])\^/g; +function edit(regex, opt) { + regex = regex.source || regex; + opt = opt || ''; + const obj = { + replace: (name, val) => { + val = val.source || val; + val = val.replace(caret, '$1'); + regex = regex.replace(name, val); + return obj; + }, + getRegex: () => { + return new RegExp(regex, opt); + } + }; + return obj; +} + +const nonWordAndColonTest = /[^\w:]/g; +const originIndependentUrl = /^$|^[a-z][a-z0-9+.-]*:|^[?#]/i; +function cleanUrl(sanitize, base, href) { + if (sanitize) { + let prot; + try { + prot = decodeURIComponent(unescape(href)) + .replace(nonWordAndColonTest, '') + .toLowerCase(); + } catch (e) { + return null; + } + if (prot.indexOf('javascript:') === 0 || prot.indexOf('vbscript:') === 0 || prot.indexOf('data:') === 0) { + return null; + } + } + if (base && !originIndependentUrl.test(href)) { + href = resolveUrl(base, href); + } + try { + href = encodeURI(href).replace(/%25/g, '%'); + } catch (e) { + return null; + } + return href; +} + +const baseUrls = {}; +const justDomain = /^[^:]+:\/*[^/]*$/; +const protocol = /^([^:]+:)[\s\S]*$/; +const domain = /^([^:]+:\/*[^/]*)[\s\S]*$/; + +function resolveUrl(base, href) { + if (!baseUrls[' ' + base]) { + // we can ignore everything in base after the last slash of its path component, + // but we might need to add _that_ + // https://tools.ietf.org/html/rfc3986#section-3 + if (justDomain.test(base)) { + baseUrls[' ' + base] = base + '/'; + } else { + baseUrls[' ' + base] = rtrim(base, '/', true); + } + } + base = baseUrls[' ' + base]; + const relativeBase = base.indexOf(':') === -1; + + if (href.substring(0, 2) === '//') { + if (relativeBase) { + return href; + } + return base.replace(protocol, '$1') + href; + } else if (href.charAt(0) === '/') { + if (relativeBase) { + return href; + } + return base.replace(domain, '$1') + href; + } else { + return base + href; + } +} + +const noopTest = { exec: function noopTest() {} }; + +function merge(obj) { + let i = 1, + target, + key; + + for (; i < arguments.length; i++) { + target = arguments[i]; + for (key in target) { + if (Object.prototype.hasOwnProperty.call(target, key)) { + obj[key] = target[key]; + } + } + } + + return obj; +} + +function splitCells(tableRow, count) { + // ensure that every cell-delimiting pipe has a space + // before it to distinguish it from an escaped pipe + const row = tableRow.replace(/\|/g, (match, offset, str) => { + let escaped = false, + curr = offset; + while (--curr >= 0 && str[curr] === '\\') escaped = !escaped; + if (escaped) { + // odd number of slashes means | is escaped + // so we leave it alone + return '|'; + } else { + // add space before unescaped | + return ' |'; + } + }), + cells = row.split(/ \|/); + let i = 0; + + if (cells.length > count) { + cells.splice(count); + } else { + while (cells.length < count) cells.push(''); + } + + for (; i < cells.length; i++) { + // leading or trailing whitespace is ignored per the gfm spec + cells[i] = cells[i].trim().replace(/\\\|/g, '|'); + } + return cells; +} + +// Remove trailing 'c's. Equivalent to str.replace(/c*$/, ''). +// /c*$/ is vulnerable to REDOS. +// invert: Remove suffix of non-c chars instead. Default falsey. +function rtrim(str, c, invert) { + const l = str.length; + if (l === 0) { + return ''; + } + + // Length of suffix matching the invert condition. + let suffLen = 0; + + // Step left until we fail to match the invert condition. + while (suffLen < l) { + const currChar = str.charAt(l - suffLen - 1); + if (currChar === c && !invert) { + suffLen++; + } else if (currChar !== c && invert) { + suffLen++; + } else { + break; + } + } + + return str.substr(0, l - suffLen); +} + +function findClosingBracket(str, b) { + if (str.indexOf(b[1]) === -1) { + return -1; + } + const l = str.length; + let level = 0, + i = 0; + for (; i < l; i++) { + if (str[i] === '\\') { + i++; + } else if (str[i] === b[0]) { + level++; + } else if (str[i] === b[1]) { + level--; + if (level < 0) { + return i; + } + } + } + return -1; +} + +function checkSanitizeDeprecation(opt) { + if (opt && opt.sanitize && !opt.silent) { + console.warn('marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options'); + } +} + +var helpers = { + escape, + unescape, + edit, + cleanUrl, + resolveUrl, + noopTest, + merge, + splitCells, + rtrim, + findClosingBracket, + checkSanitizeDeprecation +}; + +const { defaults: defaults$1 } = defaults; +const { + rtrim: rtrim$1, + splitCells: splitCells$1, + escape: escape$1, + findClosingBracket: findClosingBracket$1 +} = helpers; + +function outputLink(cap, link, raw) { + const href = link.href; + const title = link.title ? escape$1(link.title) : null; + const text = cap[1].replace(/\\([\[\]])/g, '$1'); + + if (cap[0].charAt(0) !== '!') { + return { + type: 'link', + raw, + href, + title, + text + }; + } else { + return { + type: 'image', + raw, + href, + title, + text: escape$1(text) + }; + } +} + +function indentCodeCompensation(raw, text) { + const matchIndentToCode = raw.match(/^(\s+)(?:```)/); + + if (matchIndentToCode === null) { + return text; + } + + const indentToCode = matchIndentToCode[1]; + + return text + .split('\n') + .map(node => { + const matchIndentInNode = node.match(/^\s+/); + if (matchIndentInNode === null) { + return node; + } + + const [indentInNode] = matchIndentInNode; + + if (indentInNode.length >= indentToCode.length) { + return node.slice(indentToCode.length); + } + + return node; + }) + .join('\n'); +} + +/** + * Tokenizer + */ +var Tokenizer_1 = class Tokenizer { + constructor(options) { + this.options = options || defaults$1; + } + + space(src) { + const cap = this.rules.block.newline.exec(src); + if (cap) { + if (cap[0].length > 1) { + return { + type: 'space', + raw: cap[0] + }; + } + return { raw: '\n' }; + } + } + + code(src, tokens) { + const cap = this.rules.block.code.exec(src); + if (cap) { + const lastToken = tokens[tokens.length - 1]; + // An indented code block cannot interrupt a paragraph. + if (lastToken && lastToken.type === 'paragraph') { + return { + raw: cap[0], + text: cap[0].trimRight() + }; + } + + const text = cap[0].replace(/^ {4}/gm, ''); + return { + type: 'code', + raw: cap[0], + codeBlockStyle: 'indented', + text: !this.options.pedantic + ? rtrim$1(text, '\n') + : text + }; + } + } + + fences(src) { + const cap = this.rules.block.fences.exec(src); + if (cap) { + const raw = cap[0]; + const text = indentCodeCompensation(raw, cap[3] || ''); + + return { + type: 'code', + raw, + lang: cap[2] ? cap[2].trim() : cap[2], + text + }; + } + } + + heading(src) { + const cap = this.rules.block.heading.exec(src); + if (cap) { + return { + type: 'heading', + raw: cap[0], + depth: cap[1].length, + text: cap[2] + }; + } + } + + nptable(src) { + const cap = this.rules.block.nptable.exec(src); + if (cap) { + const item = { + type: 'table', + header: splitCells$1(cap[1].replace(/^ *| *\| *$/g, '')), + align: cap[2].replace(/^ *|\| *$/g, '').split(/ *\| */), + cells: cap[3] ? cap[3].replace(/\n$/, '').split('\n') : [], + raw: cap[0] + }; + + if (item.header.length === item.align.length) { + let l = item.align.length; + let i; + for (i = 0; i < l; i++) { + if (/^ *-+: *$/.test(item.align[i])) { + item.align[i] = 'right'; + } else if (/^ *:-+: *$/.test(item.align[i])) { + item.align[i] = 'center'; + } else if (/^ *:-+ *$/.test(item.align[i])) { + item.align[i] = 'left'; + } else { + item.align[i] = null; + } + } + + l = item.cells.length; + for (i = 0; i < l; i++) { + item.cells[i] = splitCells$1(item.cells[i], item.header.length); + } + + return item; + } + } + } + + hr(src) { + const cap = this.rules.block.hr.exec(src); + if (cap) { + return { + type: 'hr', + raw: cap[0] + }; + } + } + + blockquote(src) { + const cap = this.rules.block.blockquote.exec(src); + if (cap) { + const text = cap[0].replace(/^ *> ?/gm, ''); + + return { + type: 'blockquote', + raw: cap[0], + text + }; + } + } + + list(src) { + const cap = this.rules.block.list.exec(src); + if (cap) { + let raw = cap[0]; + const bull = cap[2]; + const isordered = bull.length > 1; + + const list = { + type: 'list', + raw, + ordered: isordered, + start: isordered ? +bull : '', + loose: false, + items: [] + }; + + // Get each top-level item. + const itemMatch = cap[0].match(this.rules.block.item); + + let next = false, + item, + space, + b, + addBack, + loose, + istask, + ischecked; + + const l = itemMatch.length; + for (let i = 0; i < l; i++) { + item = itemMatch[i]; + raw = item; + + // Remove the list item's bullet + // so it is seen as the next token. + space = item.length; + item = item.replace(/^ *([*+-]|\d+\.) */, ''); + + // Outdent whatever the + // list item contains. Hacky. + if (~item.indexOf('\n ')) { + space -= item.length; + item = !this.options.pedantic + ? item.replace(new RegExp('^ {1,' + space + '}', 'gm'), '') + : item.replace(/^ {1,4}/gm, ''); + } + + // Determine whether the next list item belongs here. + // Backpedal if it does not belong in this list. + if (i !== l - 1) { + b = this.rules.block.bullet.exec(itemMatch[i + 1])[0]; + if (bull.length > 1 ? b.length === 1 + : (b.length > 1 || (this.options.smartLists && b !== bull))) { + addBack = itemMatch.slice(i + 1).join('\n'); + list.raw = list.raw.substring(0, list.raw.length - addBack.length); + i = l - 1; + } + } + + // Determine whether item is loose or not. + // Use: /(^|\n)(?! )[^\n]+\n\n(?!\s*$)/ + // for discount behavior. + loose = next || /\n\n(?!\s*$)/.test(item); + if (i !== l - 1) { + next = item.charAt(item.length - 1) === '\n'; + if (!loose) loose = next; + } + + if (loose) { + list.loose = true; + } + + // Check for task list items + istask = /^\[[ xX]\] /.test(item); + ischecked = undefined; + if (istask) { + ischecked = item[1] !== ' '; + item = item.replace(/^\[[ xX]\] +/, ''); + } + + list.items.push({ + type: 'list_item', + raw, + task: istask, + checked: ischecked, + loose: loose, + text: item + }); + } + + return list; + } + } + + html(src) { + const cap = this.rules.block.html.exec(src); + if (cap) { + return { + type: this.options.sanitize + ? 'paragraph' + : 'html', + raw: cap[0], + pre: !this.options.sanitizer + && (cap[1] === 'pre' || cap[1] === 'script' || cap[1] === 'style'), + text: this.options.sanitize ? (this.options.sanitizer ? this.options.sanitizer(cap[0]) : escape$1(cap[0])) : cap[0] + }; + } + } + + def(src) { + const cap = this.rules.block.def.exec(src); + if (cap) { + if (cap[3]) cap[3] = cap[3].substring(1, cap[3].length - 1); + const tag = cap[1].toLowerCase().replace(/\s+/g, ' '); + return { + tag, + raw: cap[0], + href: cap[2], + title: cap[3] + }; + } + } + + table(src) { + const cap = this.rules.block.table.exec(src); + if (cap) { + const item = { + type: 'table', + header: splitCells$1(cap[1].replace(/^ *| *\| *$/g, '')), + align: cap[2].replace(/^ *|\| *$/g, '').split(/ *\| */), + cells: cap[3] ? cap[3].replace(/\n$/, '').split('\n') : [] + }; + + if (item.header.length === item.align.length) { + item.raw = cap[0]; + + let l = item.align.length; + let i; + for (i = 0; i < l; i++) { + if (/^ *-+: *$/.test(item.align[i])) { + item.align[i] = 'right'; + } else if (/^ *:-+: *$/.test(item.align[i])) { + item.align[i] = 'center'; + } else if (/^ *:-+ *$/.test(item.align[i])) { + item.align[i] = 'left'; + } else { + item.align[i] = null; + } + } + + l = item.cells.length; + for (i = 0; i < l; i++) { + item.cells[i] = splitCells$1( + item.cells[i].replace(/^ *\| *| *\| *$/g, ''), + item.header.length); + } + + return item; + } + } + } + + lheading(src) { + const cap = this.rules.block.lheading.exec(src); + if (cap) { + return { + type: 'heading', + raw: cap[0], + depth: cap[2].charAt(0) === '=' ? 1 : 2, + text: cap[1] + }; + } + } + + paragraph(src) { + const cap = this.rules.block.paragraph.exec(src); + if (cap) { + return { + type: 'paragraph', + raw: cap[0], + text: cap[1].charAt(cap[1].length - 1) === '\n' + ? cap[1].slice(0, -1) + : cap[1] + }; + } + } + + text(src, tokens) { + const cap = this.rules.block.text.exec(src); + if (cap) { + const lastToken = tokens[tokens.length - 1]; + if (lastToken && lastToken.type === 'text') { + return { + raw: cap[0], + text: cap[0] + }; + } + + return { + type: 'text', + raw: cap[0], + text: cap[0] + }; + } + } + + escape(src) { + const cap = this.rules.inline.escape.exec(src); + if (cap) { + return { + type: 'escape', + raw: cap[0], + text: escape$1(cap[1]) + }; + } + } + + tag(src, inLink, inRawBlock) { + const cap = this.rules.inline.tag.exec(src); + if (cap) { + if (!inLink && /^/i.test(cap[0])) { + inLink = false; + } + if (!inRawBlock && /^<(pre|code|kbd|script)(\s|>)/i.test(cap[0])) { + inRawBlock = true; + } else if (inRawBlock && /^<\/(pre|code|kbd|script)(\s|>)/i.test(cap[0])) { + inRawBlock = false; + } + + return { + type: this.options.sanitize + ? 'text' + : 'html', + raw: cap[0], + inLink, + inRawBlock, + text: this.options.sanitize + ? (this.options.sanitizer + ? this.options.sanitizer(cap[0]) + : escape$1(cap[0])) + : cap[0] + }; + } + } + + link(src) { + const cap = this.rules.inline.link.exec(src); + if (cap) { + const lastParenIndex = findClosingBracket$1(cap[2], '()'); + if (lastParenIndex > -1) { + const start = cap[0].indexOf('!') === 0 ? 5 : 4; + const linkLen = start + cap[1].length + lastParenIndex; + cap[2] = cap[2].substring(0, lastParenIndex); + cap[0] = cap[0].substring(0, linkLen).trim(); + cap[3] = ''; + } + let href = cap[2]; + let title = ''; + if (this.options.pedantic) { + const link = /^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(href); + + if (link) { + href = link[1]; + title = link[3]; + } else { + title = ''; + } + } else { + title = cap[3] ? cap[3].slice(1, -1) : ''; + } + href = href.trim().replace(/^<([\s\S]*)>$/, '$1'); + const token = outputLink(cap, { + href: href ? href.replace(this.rules.inline._escapes, '$1') : href, + title: title ? title.replace(this.rules.inline._escapes, '$1') : title + }, cap[0]); + return token; + } + } + + reflink(src, links) { + let cap; + if ((cap = this.rules.inline.reflink.exec(src)) + || (cap = this.rules.inline.nolink.exec(src))) { + let link = (cap[2] || cap[1]).replace(/\s+/g, ' '); + link = links[link.toLowerCase()]; + if (!link || !link.href) { + const text = cap[0].charAt(0); + return { + type: 'text', + raw: text, + text + }; + } + const token = outputLink(cap, link, cap[0]); + return token; + } + } + + strong(src) { + const cap = this.rules.inline.strong.exec(src); + if (cap) { + return { + type: 'strong', + raw: cap[0], + text: cap[4] || cap[3] || cap[2] || cap[1] + }; + } + } + + em(src) { + const cap = this.rules.inline.em.exec(src); + if (cap) { + return { + type: 'em', + raw: cap[0], + text: cap[6] || cap[5] || cap[4] || cap[3] || cap[2] || cap[1] + }; + } + } + + codespan(src) { + const cap = this.rules.inline.code.exec(src); + if (cap) { + let text = cap[2].replace(/\n/g, ' '); + const hasNonSpaceChars = /[^ ]/.test(text); + const hasSpaceCharsOnBothEnds = text.startsWith(' ') && text.endsWith(' '); + if (hasNonSpaceChars && hasSpaceCharsOnBothEnds) { + text = text.substring(1, text.length - 1); + } + text = escape$1(text, true); + return { + type: 'codespan', + raw: cap[0], + text + }; + } + } + + br(src) { + const cap = this.rules.inline.br.exec(src); + if (cap) { + return { + type: 'br', + raw: cap[0] + }; + } + } + + del(src) { + const cap = this.rules.inline.del.exec(src); + if (cap) { + return { + type: 'del', + raw: cap[0], + text: cap[1] + }; + } + } + + autolink(src, mangle) { + const cap = this.rules.inline.autolink.exec(src); + if (cap) { + let text, href; + if (cap[2] === '@') { + text = escape$1(this.options.mangle ? mangle(cap[1]) : cap[1]); + href = 'mailto:' + text; + } else { + text = escape$1(cap[1]); + href = text; + } + + return { + type: 'link', + raw: cap[0], + text, + href, + tokens: [ + { + type: 'text', + raw: text, + text + } + ] + }; + } + } + + url(src, mangle) { + let cap; + if (cap = this.rules.inline.url.exec(src)) { + let text, href; + if (cap[2] === '@') { + text = escape$1(this.options.mangle ? mangle(cap[0]) : cap[0]); + href = 'mailto:' + text; + } else { + // do extended autolink path validation + let prevCapZero; + do { + prevCapZero = cap[0]; + cap[0] = this.rules.inline._backpedal.exec(cap[0])[0]; + } while (prevCapZero !== cap[0]); + text = escape$1(cap[0]); + if (cap[1] === 'www.') { + href = 'http://' + text; + } else { + href = text; + } + } + return { + type: 'link', + raw: cap[0], + text, + href, + tokens: [ + { + type: 'text', + raw: text, + text + } + ] + }; + } + } + + inlineText(src, inRawBlock, smartypants) { + const cap = this.rules.inline.text.exec(src); + if (cap) { + let text; + if (inRawBlock) { + text = this.options.sanitize ? (this.options.sanitizer ? this.options.sanitizer(cap[0]) : escape$1(cap[0])) : cap[0]; + } else { + text = escape$1(this.options.smartypants ? smartypants(cap[0]) : cap[0]); + } + return { + type: 'text', + raw: cap[0], + text + }; + } + } +}; + +const { + noopTest: noopTest$1, + edit: edit$1, + merge: merge$1 +} = helpers; + +/** + * Block-Level Grammar + */ +const block = { + newline: /^\n+/, + code: /^( {4}[^\n]+\n*)+/, + fences: /^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/, + hr: /^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/, + heading: /^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/, + blockquote: /^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/, + list: /^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/, + html: '^ {0,3}(?:' // optional indentation + + '<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)' // (1) + + '|comment[^\\n]*(\\n+|$)' // (2) + + '|<\\?[\\s\\S]*?\\?>\\n*' // (3) + + '|\\n*' // (4) + + '|\\n*' // (5) + + '|)[\\s\\S]*?(?:\\n{2,}|$)' // (6) + + '|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)' // (7) open tag + + '|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)' // (7) closing tag + + ')', + def: /^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/, + nptable: noopTest$1, + table: noopTest$1, + lheading: /^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/, + // regex template, placeholders will be replaced according to different paragraph + // interruption rules of commonmark and the original markdown spec: + _paragraph: /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/, + text: /^[^\n]+/ +}; + +block._label = /(?!\s*\])(?:\\[\[\]]|[^\[\]])+/; +block._title = /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/; +block.def = edit$1(block.def) + .replace('label', block._label) + .replace('title', block._title) + .getRegex(); + +block.bullet = /(?:[*+-]|\d{1,9}\.)/; +block.item = /^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/; +block.item = edit$1(block.item, 'gm') + .replace(/bull/g, block.bullet) + .getRegex(); + +block.list = edit$1(block.list) + .replace(/bull/g, block.bullet) + .replace('hr', '\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))') + .replace('def', '\\n+(?=' + block.def.source + ')') + .getRegex(); + +block._tag = 'address|article|aside|base|basefont|blockquote|body|caption' + + '|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption' + + '|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe' + + '|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option' + + '|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr' + + '|track|ul'; +block._comment = //; +block.html = edit$1(block.html, 'i') + .replace('comment', block._comment) + .replace('tag', block._tag) + .replace('attribute', / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/) + .getRegex(); + +block.paragraph = edit$1(block._paragraph) + .replace('hr', block.hr) + .replace('heading', ' {0,3}#{1,6} ') + .replace('|lheading', '') // setex headings don't interrupt commonmark paragraphs + .replace('blockquote', ' {0,3}>') + .replace('fences', ' {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n') + .replace('list', ' {0,3}(?:[*+-]|1[.)]) ') // only lists starting from 1 can interrupt + .replace('html', ')|<(?:script|pre|style|!--)') + .replace('tag', block._tag) // pars can be interrupted by type (6) html blocks + .getRegex(); + +block.blockquote = edit$1(block.blockquote) + .replace('paragraph', block.paragraph) + .getRegex(); + +/** + * Normal Block Grammar + */ + +block.normal = merge$1({}, block); + +/** + * GFM Block Grammar + */ + +block.gfm = merge$1({}, block.normal, { + nptable: '^ *([^|\\n ].*\\|.*)\\n' // Header + + ' *([-:]+ *\\|[-| :]*)' // Align + + '(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)', // Cells + table: '^ *\\|(.+)\\n' // Header + + ' *\\|?( *[-:]+[-| :]*)' // Align + + '(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)' // Cells +}); + +block.gfm.nptable = edit$1(block.gfm.nptable) + .replace('hr', block.hr) + .replace('heading', ' {0,3}#{1,6} ') + .replace('blockquote', ' {0,3}>') + .replace('code', ' {4}[^\\n]') + .replace('fences', ' {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n') + .replace('list', ' {0,3}(?:[*+-]|1[.)]) ') // only lists starting from 1 can interrupt + .replace('html', ')|<(?:script|pre|style|!--)') + .replace('tag', block._tag) // tables can be interrupted by type (6) html blocks + .getRegex(); + +block.gfm.table = edit$1(block.gfm.table) + .replace('hr', block.hr) + .replace('heading', ' {0,3}#{1,6} ') + .replace('blockquote', ' {0,3}>') + .replace('code', ' {4}[^\\n]') + .replace('fences', ' {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n') + .replace('list', ' {0,3}(?:[*+-]|1[.)]) ') // only lists starting from 1 can interrupt + .replace('html', ')|<(?:script|pre|style|!--)') + .replace('tag', block._tag) // tables can be interrupted by type (6) html blocks + .getRegex(); + +/** + * Pedantic grammar (original John Gruber's loose markdown specification) + */ + +block.pedantic = merge$1({}, block.normal, { + html: edit$1( + '^ *(?:comment *(?:\\n|\\s*$)' + + '|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)' // closed tag + + '|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))') + .replace('comment', block._comment) + .replace(/tag/g, '(?!(?:' + + 'a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub' + + '|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)' + + '\\b)\\w+(?!:|[^\\w\\s@]*@)\\b') + .getRegex(), + def: /^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/, + heading: /^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/, + fences: noopTest$1, // fences not supported + paragraph: edit$1(block.normal._paragraph) + .replace('hr', block.hr) + .replace('heading', ' *#{1,6} *[^\n]') + .replace('lheading', block.lheading) + .replace('blockquote', ' {0,3}>') + .replace('|fences', '') + .replace('|list', '') + .replace('|html', '') + .getRegex() +}); + +/** + * Inline-Level Grammar + */ +const inline = { + escape: /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, + autolink: /^<(scheme:[^\s\x00-\x1f<>]*|email)>/, + url: noopTest$1, + tag: '^comment' + + '|^' // self-closing tag + + '|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>' // open tag + + '|^<\\?[\\s\\S]*?\\?>' // processing instruction, e.g. + + '|^' // declaration, e.g. + + '|^', // CDATA section + link: /^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/, + reflink: /^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/, + nolink: /^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/, + strong: /^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/, + em: /^_([^\s_])_(?!_)|^_([^\s_<][\s\S]*?[^\s_])_(?!_|[^\s,punctuation])|^_([^\s_<][\s\S]*?[^\s])_(?!_|[^\s,punctuation])|^\*([^\s*<\[])\*(?!\*)|^\*([^\s<"][\s\S]*?[^\s\[\*])\*(?![\]`punctuation])|^\*([^\s*"<\[][\s\S]*[^\s])\*(?!\*)/, + code: /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, + br: /^( {2,}|\\)\n(?!\s*$)/, + del: noopTest$1, + text: /^(`+|[^`])(?:[\s\S]*?(?:(?=[\\?@\\[^_{|}~'; +inline.em = edit$1(inline.em).replace(/punctuation/g, inline._punctuation).getRegex(); + +inline._escapes = /\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g; + +inline._scheme = /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/; +inline._email = /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/; +inline.autolink = edit$1(inline.autolink) + .replace('scheme', inline._scheme) + .replace('email', inline._email) + .getRegex(); + +inline._attribute = /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/; + +inline.tag = edit$1(inline.tag) + .replace('comment', block._comment) + .replace('attribute', inline._attribute) + .getRegex(); + +inline._label = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/; +inline._href = /<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/; +inline._title = /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/; + +inline.link = edit$1(inline.link) + .replace('label', inline._label) + .replace('href', inline._href) + .replace('title', inline._title) + .getRegex(); + +inline.reflink = edit$1(inline.reflink) + .replace('label', inline._label) + .getRegex(); + +/** + * Normal Inline Grammar + */ + +inline.normal = merge$1({}, inline); + +/** + * Pedantic Inline Grammar + */ + +inline.pedantic = merge$1({}, inline.normal, { + strong: /^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/, + em: /^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/, + link: edit$1(/^!?\[(label)\]\((.*?)\)/) + .replace('label', inline._label) + .getRegex(), + reflink: edit$1(/^!?\[(label)\]\s*\[([^\]]*)\]/) + .replace('label', inline._label) + .getRegex() +}); + +/** + * GFM Inline Grammar + */ + +inline.gfm = merge$1({}, inline.normal, { + escape: edit$1(inline.escape).replace('])', '~|])').getRegex(), + _extended_email: /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/, + url: /^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, + _backpedal: /(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/, + del: /^~+(?=\S)([\s\S]*?\S)~+/, + text: /^(`+|[^`])(?:[\s\S]*?(?:(?=[\\ 0.5) { + ch = 'x' + ch.toString(16); + } + out += '&#' + ch + ';'; + } + + return out; +} + +/** + * Block Lexer + */ +var Lexer_1 = class Lexer { + constructor(options) { + this.tokens = []; + this.tokens.links = Object.create(null); + this.options = options || defaults$2; + this.options.tokenizer = this.options.tokenizer || new Tokenizer_1(); + this.tokenizer = this.options.tokenizer; + this.tokenizer.options = this.options; + + const rules = { + block: block$1.normal, + inline: inline$1.normal + }; + + if (this.options.pedantic) { + rules.block = block$1.pedantic; + rules.inline = inline$1.pedantic; + } else if (this.options.gfm) { + rules.block = block$1.gfm; + if (this.options.breaks) { + rules.inline = inline$1.breaks; + } else { + rules.inline = inline$1.gfm; + } + } + this.tokenizer.rules = rules; + } + + /** + * Expose Rules + */ + static get rules() { + return { + block: block$1, + inline: inline$1 + }; + } + + /** + * Static Lex Method + */ + static lex(src, options) { + const lexer = new Lexer(options); + return lexer.lex(src); + } + + /** + * Preprocessing + */ + lex(src) { + src = src + .replace(/\r\n|\r/g, '\n') + .replace(/\t/g, ' '); + + this.blockTokens(src, this.tokens, true); + + this.inline(this.tokens); + + return this.tokens; + } + + /** + * Lexing + */ + blockTokens(src, tokens = [], top = true) { + src = src.replace(/^ +$/gm, ''); + let token, i, l, lastToken; + + while (src) { + // newline + if (token = this.tokenizer.space(src)) { + src = src.substring(token.raw.length); + if (token.type) { + tokens.push(token); + } + continue; + } + + // code + if (token = this.tokenizer.code(src, tokens)) { + src = src.substring(token.raw.length); + if (token.type) { + tokens.push(token); + } else { + lastToken = tokens[tokens.length - 1]; + lastToken.raw += '\n' + token.raw; + lastToken.text += '\n' + token.text; + } + continue; + } + + // fences + if (token = this.tokenizer.fences(src)) { + src = src.substring(token.raw.length); + tokens.push(token); + continue; + } + + // heading + if (token = this.tokenizer.heading(src)) { + src = src.substring(token.raw.length); + tokens.push(token); + continue; + } + + // table no leading pipe (gfm) + if (token = this.tokenizer.nptable(src)) { + src = src.substring(token.raw.length); + tokens.push(token); + continue; + } + + // hr + if (token = this.tokenizer.hr(src)) { + src = src.substring(token.raw.length); + tokens.push(token); + continue; + } + + // blockquote + if (token = this.tokenizer.blockquote(src)) { + src = src.substring(token.raw.length); + token.tokens = this.blockTokens(token.text, [], top); + tokens.push(token); + continue; + } + + // list + if (token = this.tokenizer.list(src)) { + src = src.substring(token.raw.length); + l = token.items.length; + for (i = 0; i < l; i++) { + token.items[i].tokens = this.blockTokens(token.items[i].text, [], false); + } + tokens.push(token); + continue; + } + + // html + if (token = this.tokenizer.html(src)) { + src = src.substring(token.raw.length); + tokens.push(token); + continue; + } + + // def + if (top && (token = this.tokenizer.def(src))) { + src = src.substring(token.raw.length); + if (!this.tokens.links[token.tag]) { + this.tokens.links[token.tag] = { + href: token.href, + title: token.title + }; + } + continue; + } + + // table (gfm) + if (token = this.tokenizer.table(src)) { + src = src.substring(token.raw.length); + tokens.push(token); + continue; + } + + // lheading + if (token = this.tokenizer.lheading(src)) { + src = src.substring(token.raw.length); + tokens.push(token); + continue; + } + + // top-level paragraph + if (top && (token = this.tokenizer.paragraph(src))) { + src = src.substring(token.raw.length); + tokens.push(token); + continue; + } + + // text + if (token = this.tokenizer.text(src, tokens)) { + src = src.substring(token.raw.length); + if (token.type) { + tokens.push(token); + } else { + lastToken = tokens[tokens.length - 1]; + lastToken.raw += '\n' + token.raw; + lastToken.text += '\n' + token.text; + } + continue; + } + + if (src) { + const errMsg = 'Infinite loop on byte: ' + src.charCodeAt(0); + if (this.options.silent) { + console.error(errMsg); + break; + } else { + throw new Error(errMsg); + } + } + } + + return tokens; + } + + inline(tokens) { + let i, + j, + k, + l2, + row, + token; + + const l = tokens.length; + for (i = 0; i < l; i++) { + token = tokens[i]; + switch (token.type) { + case 'paragraph': + case 'text': + case 'heading': { + token.tokens = []; + this.inlineTokens(token.text, token.tokens); + break; + } + case 'table': { + token.tokens = { + header: [], + cells: [] + }; + + // header + l2 = token.header.length; + for (j = 0; j < l2; j++) { + token.tokens.header[j] = []; + this.inlineTokens(token.header[j], token.tokens.header[j]); + } + + // cells + l2 = token.cells.length; + for (j = 0; j < l2; j++) { + row = token.cells[j]; + token.tokens.cells[j] = []; + for (k = 0; k < row.length; k++) { + token.tokens.cells[j][k] = []; + this.inlineTokens(row[k], token.tokens.cells[j][k]); + } + } + + break; + } + case 'blockquote': { + this.inline(token.tokens); + break; + } + case 'list': { + l2 = token.items.length; + for (j = 0; j < l2; j++) { + this.inline(token.items[j].tokens); + } + break; + } + } + } + + return tokens; + } + + /** + * Lexing/Compiling + */ + inlineTokens(src, tokens = [], inLink = false, inRawBlock = false) { + let token; + + while (src) { + // escape + if (token = this.tokenizer.escape(src)) { + src = src.substring(token.raw.length); + tokens.push(token); + continue; + } + + // tag + if (token = this.tokenizer.tag(src, inLink, inRawBlock)) { + src = src.substring(token.raw.length); + inLink = token.inLink; + inRawBlock = token.inRawBlock; + tokens.push(token); + continue; + } + + // link + if (token = this.tokenizer.link(src)) { + src = src.substring(token.raw.length); + if (token.type === 'link') { + token.tokens = this.inlineTokens(token.text, [], true, inRawBlock); + } + tokens.push(token); + continue; + } + + // reflink, nolink + if (token = this.tokenizer.reflink(src, this.tokens.links)) { + src = src.substring(token.raw.length); + if (token.type === 'link') { + token.tokens = this.inlineTokens(token.text, [], true, inRawBlock); + } + tokens.push(token); + continue; + } + + // strong + if (token = this.tokenizer.strong(src)) { + src = src.substring(token.raw.length); + token.tokens = this.inlineTokens(token.text, [], inLink, inRawBlock); + tokens.push(token); + continue; + } + + // em + if (token = this.tokenizer.em(src)) { + src = src.substring(token.raw.length); + token.tokens = this.inlineTokens(token.text, [], inLink, inRawBlock); + tokens.push(token); + continue; + } + + // code + if (token = this.tokenizer.codespan(src)) { + src = src.substring(token.raw.length); + tokens.push(token); + continue; + } + + // br + if (token = this.tokenizer.br(src)) { + src = src.substring(token.raw.length); + tokens.push(token); + continue; + } + + // del (gfm) + if (token = this.tokenizer.del(src)) { + src = src.substring(token.raw.length); + token.tokens = this.inlineTokens(token.text, [], inLink, inRawBlock); + tokens.push(token); + continue; + } + + // autolink + if (token = this.tokenizer.autolink(src, mangle)) { + src = src.substring(token.raw.length); + tokens.push(token); + continue; + } + + // url (gfm) + if (!inLink && (token = this.tokenizer.url(src, mangle))) { + src = src.substring(token.raw.length); + tokens.push(token); + continue; + } + + // text + if (token = this.tokenizer.inlineText(src, inRawBlock, smartypants)) { + src = src.substring(token.raw.length); + tokens.push(token); + continue; + } + + if (src) { + const errMsg = 'Infinite loop on byte: ' + src.charCodeAt(0); + if (this.options.silent) { + console.error(errMsg); + break; + } else { + throw new Error(errMsg); + } + } + } + + return tokens; + } +}; + +const { defaults: defaults$3 } = defaults; +const { + cleanUrl: cleanUrl$1, + escape: escape$2 +} = helpers; + +/** + * Renderer + */ +var Renderer_1 = class Renderer { + constructor(options) { + this.options = options || defaults$3; + } + + code(code, infostring, escaped) { + const lang = (infostring || '').match(/\S*/)[0]; + if (this.options.highlight) { + const out = this.options.highlight(code, lang); + if (out != null && out !== code) { + escaped = true; + code = out; + } + } + + if (!lang) { + return '
'
+        + (escaped ? code : escape$2(code, true))
+        + '
\n'; + } + + return '
'
+      + (escaped ? code : escape$2(code, true))
+      + '
\n'; + } + + blockquote(quote) { + return '
\n' + quote + '
\n'; + } + + html(html) { + return html; + } + + heading(text, level, raw, slugger) { + if (this.options.headerIds) { + return '' + + text + + '\n'; + } + // ignore IDs + return '' + text + '\n'; + } + + hr() { + return this.options.xhtml ? '
\n' : '
\n'; + } + + list(body, ordered, start) { + const type = ordered ? 'ol' : 'ul', + startatt = (ordered && start !== 1) ? (' start="' + start + '"') : ''; + return '<' + type + startatt + '>\n' + body + '\n'; + } + + listitem(text) { + return '
  • ' + text + '
  • \n'; + } + + checkbox(checked) { + return ' '; + } + + paragraph(text) { + return '

    ' + text + '

    \n'; + } + + table(header, body) { + if (body) body = '' + body + ''; + + return '\n' + + '\n' + + header + + '\n' + + body + + '
    \n'; + } + + tablerow(content) { + return '\n' + content + '\n'; + } + + tablecell(content, flags) { + const type = flags.header ? 'th' : 'td'; + const tag = flags.align + ? '<' + type + ' align="' + flags.align + '">' + : '<' + type + '>'; + return tag + content + '\n'; + } + + // span level renderer + strong(text) { + return '' + text + ''; + } + + em(text) { + return '' + text + ''; + } + + codespan(text) { + return '' + text + ''; + } + + br() { + return this.options.xhtml ? '
    ' : '
    '; + } + + del(text) { + return '' + text + ''; + } + + link(href, title, text) { + href = cleanUrl$1(this.options.sanitize, this.options.baseUrl, href); + if (href === null) { + return text; + } + let out = '
    '; + return out; + } + + image(href, title, text) { + href = cleanUrl$1(this.options.sanitize, this.options.baseUrl, href); + if (href === null) { + return text; + } + + let out = '' + text + '' : '>'; + return out; + } + + text(text) { + return text; + } +}; + +/** + * TextRenderer + * returns only the textual part of the token + */ +var TextRenderer_1 = class TextRenderer { + // no need for block level renderers + strong(text) { + return text; + } + + em(text) { + return text; + } + + codespan(text) { + return text; + } + + del(text) { + return text; + } + + html(text) { + return text; + } + + text(text) { + return text; + } + + link(href, title, text) { + return '' + text; + } + + image(href, title, text) { + return '' + text; + } + + br() { + return ''; + } +}; + +/** + * Slugger generates header id + */ +var Slugger_1 = class Slugger { + constructor() { + this.seen = {}; + } + + /** + * Convert string to unique id + */ + slug(value) { + let slug = value + .toLowerCase() + .trim() + // remove html tags + .replace(/<[!\/a-z].*?>/ig, '') + // remove unwanted chars + .replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g, '') + .replace(/\s/g, '-'); + + if (this.seen.hasOwnProperty(slug)) { + const originalSlug = slug; + do { + this.seen[originalSlug]++; + slug = originalSlug + '-' + this.seen[originalSlug]; + } while (this.seen.hasOwnProperty(slug)); + } + this.seen[slug] = 0; + + return slug; + } +}; + +const { defaults: defaults$4 } = defaults; +const { + unescape: unescape$1 +} = helpers; + +/** + * Parsing & Compiling + */ +var Parser_1 = class Parser { + constructor(options) { + this.options = options || defaults$4; + this.options.renderer = this.options.renderer || new Renderer_1(); + this.renderer = this.options.renderer; + this.renderer.options = this.options; + this.textRenderer = new TextRenderer_1(); + this.slugger = new Slugger_1(); + } + + /** + * Static Parse Method + */ + static parse(tokens, options) { + const parser = new Parser(options); + return parser.parse(tokens); + } + + /** + * Parse Loop + */ + parse(tokens, top = true) { + let out = '', + i, + j, + k, + l2, + l3, + row, + cell, + header, + body, + token, + ordered, + start, + loose, + itemBody, + item, + checked, + task, + checkbox; + + const l = tokens.length; + for (i = 0; i < l; i++) { + token = tokens[i]; + switch (token.type) { + case 'space': { + continue; + } + case 'hr': { + out += this.renderer.hr(); + continue; + } + case 'heading': { + out += this.renderer.heading( + this.parseInline(token.tokens), + token.depth, + unescape$1(this.parseInline(token.tokens, this.textRenderer)), + this.slugger); + continue; + } + case 'code': { + out += this.renderer.code(token.text, + token.lang, + token.escaped); + continue; + } + case 'table': { + header = ''; + + // header + cell = ''; + l2 = token.header.length; + for (j = 0; j < l2; j++) { + cell += this.renderer.tablecell( + this.parseInline(token.tokens.header[j]), + { header: true, align: token.align[j] } + ); + } + header += this.renderer.tablerow(cell); + + body = ''; + l2 = token.cells.length; + for (j = 0; j < l2; j++) { + row = token.tokens.cells[j]; + + cell = ''; + l3 = row.length; + for (k = 0; k < l3; k++) { + cell += this.renderer.tablecell( + this.parseInline(row[k]), + { header: false, align: token.align[k] } + ); + } + + body += this.renderer.tablerow(cell); + } + out += this.renderer.table(header, body); + continue; + } + case 'blockquote': { + body = this.parse(token.tokens); + out += this.renderer.blockquote(body); + continue; + } + case 'list': { + ordered = token.ordered; + start = token.start; + loose = token.loose; + l2 = token.items.length; + + body = ''; + for (j = 0; j < l2; j++) { + item = token.items[j]; + checked = item.checked; + task = item.task; + + itemBody = ''; + if (item.task) { + checkbox = this.renderer.checkbox(checked); + if (loose) { + if (item.tokens.length > 0 && item.tokens[0].type === 'text') { + item.tokens[0].text = checkbox + ' ' + item.tokens[0].text; + if (item.tokens[0].tokens && item.tokens[0].tokens.length > 0 && item.tokens[0].tokens[0].type === 'text') { + item.tokens[0].tokens[0].text = checkbox + ' ' + item.tokens[0].tokens[0].text; + } + } else { + item.tokens.unshift({ + type: 'text', + text: checkbox + }); + } + } else { + itemBody += checkbox; + } + } + + itemBody += this.parse(item.tokens, loose); + body += this.renderer.listitem(itemBody, task, checked); + } + + out += this.renderer.list(body, ordered, start); + continue; + } + case 'html': { + // TODO parse inline content if parameter markdown=1 + out += this.renderer.html(token.text); + continue; + } + case 'paragraph': { + out += this.renderer.paragraph(this.parseInline(token.tokens)); + continue; + } + case 'text': { + body = token.tokens ? this.parseInline(token.tokens) : token.text; + while (i + 1 < l && tokens[i + 1].type === 'text') { + token = tokens[++i]; + body += '\n' + (token.tokens ? this.parseInline(token.tokens) : token.text); + } + out += top ? this.renderer.paragraph(body) : body; + continue; + } + default: { + const errMsg = 'Token with "' + token.type + '" type was not found.'; + if (this.options.silent) { + console.error(errMsg); + return; + } else { + throw new Error(errMsg); + } + } + } + } + + return out; + } + + /** + * Parse Inline Tokens + */ + parseInline(tokens, renderer) { + renderer = renderer || this.renderer; + let out = '', + i, + token; + + const l = tokens.length; + for (i = 0; i < l; i++) { + token = tokens[i]; + switch (token.type) { + case 'escape': { + out += renderer.text(token.text); + break; + } + case 'html': { + out += renderer.html(token.text); + break; + } + case 'link': { + out += renderer.link(token.href, token.title, this.parseInline(token.tokens, renderer)); + break; + } + case 'image': { + out += renderer.image(token.href, token.title, token.text); + break; + } + case 'strong': { + out += renderer.strong(this.parseInline(token.tokens, renderer)); + break; + } + case 'em': { + out += renderer.em(this.parseInline(token.tokens, renderer)); + break; + } + case 'codespan': { + out += renderer.codespan(token.text); + break; + } + case 'br': { + out += renderer.br(); + break; + } + case 'del': { + out += renderer.del(this.parseInline(token.tokens, renderer)); + break; + } + case 'text': { + out += renderer.text(token.text); + break; + } + default: { + const errMsg = 'Token with "' + token.type + '" type was not found.'; + if (this.options.silent) { + console.error(errMsg); + return; + } else { + throw new Error(errMsg); + } + } + } + } + return out; + } +}; + +const { + merge: merge$2, + checkSanitizeDeprecation: checkSanitizeDeprecation$1, + escape: escape$3 +} = helpers; +const { + getDefaults, + changeDefaults, + defaults: defaults$5 +} = defaults; + +/** + * Marked + */ +function marked(src, opt, callback) { + // throw error in case of non string input + if (typeof src === 'undefined' || src === null) { + throw new Error('marked(): input parameter is undefined or null'); + } + if (typeof src !== 'string') { + throw new Error('marked(): input parameter is of type ' + + Object.prototype.toString.call(src) + ', string expected'); + } + + if (typeof opt === 'function') { + callback = opt; + opt = null; + } + + opt = merge$2({}, marked.defaults, opt || {}); + checkSanitizeDeprecation$1(opt); + + if (callback) { + const highlight = opt.highlight; + let tokens; + + try { + tokens = Lexer_1.lex(src, opt); + } catch (e) { + return callback(e); + } + + const done = function(err) { + let out; + + if (!err) { + try { + out = Parser_1.parse(tokens, opt); + } catch (e) { + err = e; + } + } + + opt.highlight = highlight; + + return err + ? callback(err) + : callback(null, out); + }; + + if (!highlight || highlight.length < 3) { + return done(); + } + + delete opt.highlight; + + if (!tokens.length) return done(); + + let pending = 0; + marked.walkTokens(tokens, function(token) { + if (token.type === 'code') { + pending++; + setTimeout(() => { + highlight(token.text, token.lang, function(err, code) { + if (err) { + return done(err); + } + if (code != null && code !== token.text) { + token.text = code; + token.escaped = true; + } + + pending--; + if (pending === 0) { + done(); + } + }); + }, 0); + } + }); + + if (pending === 0) { + done(); + } + + return; + } + + try { + const tokens = Lexer_1.lex(src, opt); + if (opt.walkTokens) { + marked.walkTokens(tokens, opt.walkTokens); + } + return Parser_1.parse(tokens, opt); + } catch (e) { + e.message += '\nPlease report this to https://github.com/markedjs/marked.'; + if (opt.silent) { + return '

    An error occurred:

    '
    +        + escape$3(e.message + '', true)
    +        + '
    '; + } + throw e; + } +} + +/** + * Options + */ + +marked.options = +marked.setOptions = function(opt) { + merge$2(marked.defaults, opt); + changeDefaults(marked.defaults); + return marked; +}; + +marked.getDefaults = getDefaults; + +marked.defaults = defaults$5; + +/** + * Use Extension + */ + +marked.use = function(extension) { + const opts = merge$2({}, extension); + if (extension.renderer) { + const renderer = marked.defaults.renderer || new Renderer_1(); + for (const prop in extension.renderer) { + const prevRenderer = renderer[prop]; + renderer[prop] = (...args) => { + let ret = extension.renderer[prop].apply(renderer, args); + if (ret === false) { + ret = prevRenderer.apply(renderer, args); + } + return ret; + }; + } + opts.renderer = renderer; + } + if (extension.tokenizer) { + const tokenizer = marked.defaults.tokenizer || new Tokenizer_1(); + for (const prop in extension.tokenizer) { + const prevTokenizer = tokenizer[prop]; + tokenizer[prop] = (...args) => { + let ret = extension.tokenizer[prop].apply(tokenizer, args); + if (ret === false) { + ret = prevTokenizer.apply(tokenizer, args); + } + return ret; + }; + } + opts.tokenizer = tokenizer; + } + if (extension.walkTokens) { + const walkTokens = marked.defaults.walkTokens; + opts.walkTokens = (token) => { + extension.walkTokens(token); + if (walkTokens) { + walkTokens(token); + } + }; + } + marked.setOptions(opts); +}; + +/** + * Run callback for every token + */ + +marked.walkTokens = function(tokens, callback) { + for (const token of tokens) { + callback(token); + switch (token.type) { + case 'table': { + for (const cell of token.tokens.header) { + marked.walkTokens(cell, callback); + } + for (const row of token.tokens.cells) { + for (const cell of row) { + marked.walkTokens(cell, callback); + } + } + break; + } + case 'list': { + marked.walkTokens(token.items, callback); + break; + } + default: { + if (token.tokens) { + marked.walkTokens(token.tokens, callback); + } + } + } + } +}; + +/** + * Expose + */ + +marked.Parser = Parser_1; +marked.parser = Parser_1.parse; + +marked.Renderer = Renderer_1; +marked.TextRenderer = TextRenderer_1; + +marked.Lexer = Lexer_1; +marked.lexer = Lexer_1.lex; + +marked.Tokenizer = Tokenizer_1; + +marked.Slugger = Slugger_1; + +marked.parse = marked; + +var marked_1 = marked; + +export default marked_1; diff --git a/packages/markdown/marked/lib/marked.js b/packages/markdown/marked/lib/marked.js new file mode 100644 index 0000000..93d949c --- /dev/null +++ b/packages/markdown/marked/lib/marked.js @@ -0,0 +1,2497 @@ +/** + * marked - a markdown parser + * Copyright (c) 2011-2020, Christopher Jeffrey. (MIT Licensed) + * https://github.com/markedjs/marked + */ + +/** + * DO NOT EDIT THIS FILE + * The code in this file is generated from files in ./src/ + */ + +(function (global, factory) { + typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : + typeof define === 'function' && define.amd ? define(factory) : + (global = global || self, global.marked = factory()); +}(this, (function () { 'use strict'; + + function _defineProperties(target, props) { + for (var i = 0; i < props.length; i++) { + var descriptor = props[i]; + descriptor.enumerable = descriptor.enumerable || false; + descriptor.configurable = true; + if ("value" in descriptor) descriptor.writable = true; + Object.defineProperty(target, descriptor.key, descriptor); + } + } + + function _createClass(Constructor, protoProps, staticProps) { + if (protoProps) _defineProperties(Constructor.prototype, protoProps); + if (staticProps) _defineProperties(Constructor, staticProps); + return Constructor; + } + + function _unsupportedIterableToArray(o, minLen) { + if (!o) return; + if (typeof o === "string") return _arrayLikeToArray(o, minLen); + var n = Object.prototype.toString.call(o).slice(8, -1); + if (n === "Object" && o.constructor) n = o.constructor.name; + if (n === "Map" || n === "Set") return Array.from(o); + if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); + } + + function _arrayLikeToArray(arr, len) { + if (len == null || len > arr.length) len = arr.length; + + for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; + + return arr2; + } + + function _createForOfIteratorHelperLoose(o) { + var i = 0; + + if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { + if (Array.isArray(o) || (o = _unsupportedIterableToArray(o))) return function () { + if (i >= o.length) return { + done: true + }; + return { + done: false, + value: o[i++] + }; + }; + throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); + } + + i = o[Symbol.iterator](); + return i.next.bind(i); + } + + function createCommonjsModule(fn, module) { + return module = { exports: {} }, fn(module, module.exports), module.exports; + } + + var defaults = createCommonjsModule(function (module) { + function getDefaults() { + return { + baseUrl: null, + breaks: false, + gfm: true, + headerIds: true, + headerPrefix: '', + highlight: null, + langPrefix: 'language-', + mangle: true, + pedantic: false, + renderer: null, + sanitize: false, + sanitizer: null, + silent: false, + smartLists: false, + smartypants: false, + tokenizer: null, + walkTokens: null, + xhtml: false + }; + } + + function changeDefaults(newDefaults) { + module.exports.defaults = newDefaults; + } + + module.exports = { + defaults: getDefaults(), + getDefaults: getDefaults, + changeDefaults: changeDefaults + }; + }); + var defaults_1 = defaults.defaults; + var defaults_2 = defaults.getDefaults; + var defaults_3 = defaults.changeDefaults; + + /** + * Helpers + */ + var escapeTest = /[&<>"']/; + var escapeReplace = /[&<>"']/g; + var escapeTestNoEncode = /[<>"']|&(?!#?\w+;)/; + var escapeReplaceNoEncode = /[<>"']|&(?!#?\w+;)/g; + var escapeReplacements = { + '&': '&', + '<': '<', + '>': '>', + '"': '"', + "'": ''' + }; + + var getEscapeReplacement = function getEscapeReplacement(ch) { + return escapeReplacements[ch]; + }; + + function escape(html, encode) { + if (encode) { + if (escapeTest.test(html)) { + return html.replace(escapeReplace, getEscapeReplacement); + } + } else { + if (escapeTestNoEncode.test(html)) { + return html.replace(escapeReplaceNoEncode, getEscapeReplacement); + } + } + + return html; + } + + var unescapeTest = /&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig; + + function unescape(html) { + // explicitly match decimal, hex, and named HTML entities + return html.replace(unescapeTest, function (_, n) { + n = n.toLowerCase(); + if (n === 'colon') return ':'; + + if (n.charAt(0) === '#') { + return n.charAt(1) === 'x' ? String.fromCharCode(parseInt(n.substring(2), 16)) : String.fromCharCode(+n.substring(1)); + } + + return ''; + }); + } + + var caret = /(^|[^\[])\^/g; + + function edit(regex, opt) { + regex = regex.source || regex; + opt = opt || ''; + var obj = { + replace: function replace(name, val) { + val = val.source || val; + val = val.replace(caret, '$1'); + regex = regex.replace(name, val); + return obj; + }, + getRegex: function getRegex() { + return new RegExp(regex, opt); + } + }; + return obj; + } + + var nonWordAndColonTest = /[^\w:]/g; + var originIndependentUrl = /^$|^[a-z][a-z0-9+.-]*:|^[?#]/i; + + function cleanUrl(sanitize, base, href) { + if (sanitize) { + var prot; + + try { + prot = decodeURIComponent(unescape(href)).replace(nonWordAndColonTest, '').toLowerCase(); + } catch (e) { + return null; + } + + if (prot.indexOf('javascript:') === 0 || prot.indexOf('vbscript:') === 0 || prot.indexOf('data:') === 0) { + return null; + } + } + + if (base && !originIndependentUrl.test(href)) { + href = resolveUrl(base, href); + } + + try { + href = encodeURI(href).replace(/%25/g, '%'); + } catch (e) { + return null; + } + + return href; + } + + var baseUrls = {}; + var justDomain = /^[^:]+:\/*[^/]*$/; + var protocol = /^([^:]+:)[\s\S]*$/; + var domain = /^([^:]+:\/*[^/]*)[\s\S]*$/; + + function resolveUrl(base, href) { + if (!baseUrls[' ' + base]) { + // we can ignore everything in base after the last slash of its path component, + // but we might need to add _that_ + // https://tools.ietf.org/html/rfc3986#section-3 + if (justDomain.test(base)) { + baseUrls[' ' + base] = base + '/'; + } else { + baseUrls[' ' + base] = rtrim(base, '/', true); + } + } + + base = baseUrls[' ' + base]; + var relativeBase = base.indexOf(':') === -1; + + if (href.substring(0, 2) === '//') { + if (relativeBase) { + return href; + } + + return base.replace(protocol, '$1') + href; + } else if (href.charAt(0) === '/') { + if (relativeBase) { + return href; + } + + return base.replace(domain, '$1') + href; + } else { + return base + href; + } + } + + var noopTest = { + exec: function noopTest() {} + }; + + function merge(obj) { + var i = 1, + target, + key; + + for (; i < arguments.length; i++) { + target = arguments[i]; + + for (key in target) { + if (Object.prototype.hasOwnProperty.call(target, key)) { + obj[key] = target[key]; + } + } + } + + return obj; + } + + function splitCells(tableRow, count) { + // ensure that every cell-delimiting pipe has a space + // before it to distinguish it from an escaped pipe + var row = tableRow.replace(/\|/g, function (match, offset, str) { + var escaped = false, + curr = offset; + + while (--curr >= 0 && str[curr] === '\\') { + escaped = !escaped; + } + + if (escaped) { + // odd number of slashes means | is escaped + // so we leave it alone + return '|'; + } else { + // add space before unescaped | + return ' |'; + } + }), + cells = row.split(/ \|/); + var i = 0; + + if (cells.length > count) { + cells.splice(count); + } else { + while (cells.length < count) { + cells.push(''); + } + } + + for (; i < cells.length; i++) { + // leading or trailing whitespace is ignored per the gfm spec + cells[i] = cells[i].trim().replace(/\\\|/g, '|'); + } + + return cells; + } // Remove trailing 'c's. Equivalent to str.replace(/c*$/, ''). + // /c*$/ is vulnerable to REDOS. + // invert: Remove suffix of non-c chars instead. Default falsey. + + + function rtrim(str, c, invert) { + var l = str.length; + + if (l === 0) { + return ''; + } // Length of suffix matching the invert condition. + + + var suffLen = 0; // Step left until we fail to match the invert condition. + + while (suffLen < l) { + var currChar = str.charAt(l - suffLen - 1); + + if (currChar === c && !invert) { + suffLen++; + } else if (currChar !== c && invert) { + suffLen++; + } else { + break; + } + } + + return str.substr(0, l - suffLen); + } + + function findClosingBracket(str, b) { + if (str.indexOf(b[1]) === -1) { + return -1; + } + + var l = str.length; + var level = 0, + i = 0; + + for (; i < l; i++) { + if (str[i] === '\\') { + i++; + } else if (str[i] === b[0]) { + level++; + } else if (str[i] === b[1]) { + level--; + + if (level < 0) { + return i; + } + } + } + + return -1; + } + + function checkSanitizeDeprecation(opt) { + if (opt && opt.sanitize && !opt.silent) { + console.warn('marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options'); + } + } + + var helpers = { + escape: escape, + unescape: unescape, + edit: edit, + cleanUrl: cleanUrl, + resolveUrl: resolveUrl, + noopTest: noopTest, + merge: merge, + splitCells: splitCells, + rtrim: rtrim, + findClosingBracket: findClosingBracket, + checkSanitizeDeprecation: checkSanitizeDeprecation + }; + + var defaults$1 = defaults.defaults; + var rtrim$1 = helpers.rtrim, + splitCells$1 = helpers.splitCells, + _escape = helpers.escape, + findClosingBracket$1 = helpers.findClosingBracket; + + function outputLink(cap, link, raw) { + var href = link.href; + var title = link.title ? _escape(link.title) : null; + var text = cap[1].replace(/\\([\[\]])/g, '$1'); + + if (cap[0].charAt(0) !== '!') { + return { + type: 'link', + raw: raw, + href: href, + title: title, + text: text + }; + } else { + return { + type: 'image', + raw: raw, + href: href, + title: title, + text: _escape(text) + }; + } + } + + function indentCodeCompensation(raw, text) { + var matchIndentToCode = raw.match(/^(\s+)(?:```)/); + + if (matchIndentToCode === null) { + return text; + } + + var indentToCode = matchIndentToCode[1]; + return text.split('\n').map(function (node) { + var matchIndentInNode = node.match(/^\s+/); + + if (matchIndentInNode === null) { + return node; + } + + var indentInNode = matchIndentInNode[0]; + + if (indentInNode.length >= indentToCode.length) { + return node.slice(indentToCode.length); + } + + return node; + }).join('\n'); + } + /** + * Tokenizer + */ + + + var Tokenizer_1 = /*#__PURE__*/function () { + function Tokenizer(options) { + this.options = options || defaults$1; + } + + var _proto = Tokenizer.prototype; + + _proto.space = function space(src) { + var cap = this.rules.block.newline.exec(src); + + if (cap) { + if (cap[0].length > 1) { + return { + type: 'space', + raw: cap[0] + }; + } + + return { + raw: '\n' + }; + } + }; + + _proto.code = function code(src, tokens) { + var cap = this.rules.block.code.exec(src); + + if (cap) { + var lastToken = tokens[tokens.length - 1]; // An indented code block cannot interrupt a paragraph. + + if (lastToken && lastToken.type === 'paragraph') { + return { + raw: cap[0], + text: cap[0].trimRight() + }; + } + + var text = cap[0].replace(/^ {4}/gm, ''); + return { + type: 'code', + raw: cap[0], + codeBlockStyle: 'indented', + text: !this.options.pedantic ? rtrim$1(text, '\n') : text + }; + } + }; + + _proto.fences = function fences(src) { + var cap = this.rules.block.fences.exec(src); + + if (cap) { + var raw = cap[0]; + var text = indentCodeCompensation(raw, cap[3] || ''); + return { + type: 'code', + raw: raw, + lang: cap[2] ? cap[2].trim() : cap[2], + text: text + }; + } + }; + + _proto.heading = function heading(src) { + var cap = this.rules.block.heading.exec(src); + + if (cap) { + return { + type: 'heading', + raw: cap[0], + depth: cap[1].length, + text: cap[2] + }; + } + }; + + _proto.nptable = function nptable(src) { + var cap = this.rules.block.nptable.exec(src); + + if (cap) { + var item = { + type: 'table', + header: splitCells$1(cap[1].replace(/^ *| *\| *$/g, '')), + align: cap[2].replace(/^ *|\| *$/g, '').split(/ *\| */), + cells: cap[3] ? cap[3].replace(/\n$/, '').split('\n') : [], + raw: cap[0] + }; + + if (item.header.length === item.align.length) { + var l = item.align.length; + var i; + + for (i = 0; i < l; i++) { + if (/^ *-+: *$/.test(item.align[i])) { + item.align[i] = 'right'; + } else if (/^ *:-+: *$/.test(item.align[i])) { + item.align[i] = 'center'; + } else if (/^ *:-+ *$/.test(item.align[i])) { + item.align[i] = 'left'; + } else { + item.align[i] = null; + } + } + + l = item.cells.length; + + for (i = 0; i < l; i++) { + item.cells[i] = splitCells$1(item.cells[i], item.header.length); + } + + return item; + } + } + }; + + _proto.hr = function hr(src) { + var cap = this.rules.block.hr.exec(src); + + if (cap) { + return { + type: 'hr', + raw: cap[0] + }; + } + }; + + _proto.blockquote = function blockquote(src) { + var cap = this.rules.block.blockquote.exec(src); + + if (cap) { + var text = cap[0].replace(/^ *> ?/gm, ''); + return { + type: 'blockquote', + raw: cap[0], + text: text + }; + } + }; + + _proto.list = function list(src) { + var cap = this.rules.block.list.exec(src); + + if (cap) { + var raw = cap[0]; + var bull = cap[2]; + var isordered = bull.length > 1; + var list = { + type: 'list', + raw: raw, + ordered: isordered, + start: isordered ? +bull : '', + loose: false, + items: [] + }; // Get each top-level item. + + var itemMatch = cap[0].match(this.rules.block.item); + var next = false, + item, + space, + b, + addBack, + loose, + istask, + ischecked; + var l = itemMatch.length; + + for (var i = 0; i < l; i++) { + item = itemMatch[i]; + raw = item; // Remove the list item's bullet + // so it is seen as the next token. + + space = item.length; + item = item.replace(/^ *([*+-]|\d+\.) */, ''); // Outdent whatever the + // list item contains. Hacky. + + if (~item.indexOf('\n ')) { + space -= item.length; + item = !this.options.pedantic ? item.replace(new RegExp('^ {1,' + space + '}', 'gm'), '') : item.replace(/^ {1,4}/gm, ''); + } // Determine whether the next list item belongs here. + // Backpedal if it does not belong in this list. + + + if (i !== l - 1) { + b = this.rules.block.bullet.exec(itemMatch[i + 1])[0]; + + if (bull.length > 1 ? b.length === 1 : b.length > 1 || this.options.smartLists && b !== bull) { + addBack = itemMatch.slice(i + 1).join('\n'); + list.raw = list.raw.substring(0, list.raw.length - addBack.length); + i = l - 1; + } + } // Determine whether item is loose or not. + // Use: /(^|\n)(?! )[^\n]+\n\n(?!\s*$)/ + // for discount behavior. + + + loose = next || /\n\n(?!\s*$)/.test(item); + + if (i !== l - 1) { + next = item.charAt(item.length - 1) === '\n'; + if (!loose) loose = next; + } + + if (loose) { + list.loose = true; + } // Check for task list items + + + istask = /^\[[ xX]\] /.test(item); + ischecked = undefined; + + if (istask) { + ischecked = item[1] !== ' '; + item = item.replace(/^\[[ xX]\] +/, ''); + } + + list.items.push({ + type: 'list_item', + raw: raw, + task: istask, + checked: ischecked, + loose: loose, + text: item + }); + } + + return list; + } + }; + + _proto.html = function html(src) { + var cap = this.rules.block.html.exec(src); + + if (cap) { + return { + type: this.options.sanitize ? 'paragraph' : 'html', + raw: cap[0], + pre: !this.options.sanitizer && (cap[1] === 'pre' || cap[1] === 'script' || cap[1] === 'style'), + text: this.options.sanitize ? this.options.sanitizer ? this.options.sanitizer(cap[0]) : _escape(cap[0]) : cap[0] + }; + } + }; + + _proto.def = function def(src) { + var cap = this.rules.block.def.exec(src); + + if (cap) { + if (cap[3]) cap[3] = cap[3].substring(1, cap[3].length - 1); + var tag = cap[1].toLowerCase().replace(/\s+/g, ' '); + return { + tag: tag, + raw: cap[0], + href: cap[2], + title: cap[3] + }; + } + }; + + _proto.table = function table(src) { + var cap = this.rules.block.table.exec(src); + + if (cap) { + var item = { + type: 'table', + header: splitCells$1(cap[1].replace(/^ *| *\| *$/g, '')), + align: cap[2].replace(/^ *|\| *$/g, '').split(/ *\| */), + cells: cap[3] ? cap[3].replace(/\n$/, '').split('\n') : [] + }; + + if (item.header.length === item.align.length) { + item.raw = cap[0]; + var l = item.align.length; + var i; + + for (i = 0; i < l; i++) { + if (/^ *-+: *$/.test(item.align[i])) { + item.align[i] = 'right'; + } else if (/^ *:-+: *$/.test(item.align[i])) { + item.align[i] = 'center'; + } else if (/^ *:-+ *$/.test(item.align[i])) { + item.align[i] = 'left'; + } else { + item.align[i] = null; + } + } + + l = item.cells.length; + + for (i = 0; i < l; i++) { + item.cells[i] = splitCells$1(item.cells[i].replace(/^ *\| *| *\| *$/g, ''), item.header.length); + } + + return item; + } + } + }; + + _proto.lheading = function lheading(src) { + var cap = this.rules.block.lheading.exec(src); + + if (cap) { + return { + type: 'heading', + raw: cap[0], + depth: cap[2].charAt(0) === '=' ? 1 : 2, + text: cap[1] + }; + } + }; + + _proto.paragraph = function paragraph(src) { + var cap = this.rules.block.paragraph.exec(src); + + if (cap) { + return { + type: 'paragraph', + raw: cap[0], + text: cap[1].charAt(cap[1].length - 1) === '\n' ? cap[1].slice(0, -1) : cap[1] + }; + } + }; + + _proto.text = function text(src, tokens) { + var cap = this.rules.block.text.exec(src); + + if (cap) { + var lastToken = tokens[tokens.length - 1]; + + if (lastToken && lastToken.type === 'text') { + return { + raw: cap[0], + text: cap[0] + }; + } + + return { + type: 'text', + raw: cap[0], + text: cap[0] + }; + } + }; + + _proto.escape = function escape(src) { + var cap = this.rules.inline.escape.exec(src); + + if (cap) { + return { + type: 'escape', + raw: cap[0], + text: _escape(cap[1]) + }; + } + }; + + _proto.tag = function tag(src, inLink, inRawBlock) { + var cap = this.rules.inline.tag.exec(src); + + if (cap) { + if (!inLink && /^
    /i.test(cap[0])) { + inLink = false; + } + + if (!inRawBlock && /^<(pre|code|kbd|script)(\s|>)/i.test(cap[0])) { + inRawBlock = true; + } else if (inRawBlock && /^<\/(pre|code|kbd|script)(\s|>)/i.test(cap[0])) { + inRawBlock = false; + } + + return { + type: this.options.sanitize ? 'text' : 'html', + raw: cap[0], + inLink: inLink, + inRawBlock: inRawBlock, + text: this.options.sanitize ? this.options.sanitizer ? this.options.sanitizer(cap[0]) : _escape(cap[0]) : cap[0] + }; + } + }; + + _proto.link = function link(src) { + var cap = this.rules.inline.link.exec(src); + + if (cap) { + var lastParenIndex = findClosingBracket$1(cap[2], '()'); + + if (lastParenIndex > -1) { + var start = cap[0].indexOf('!') === 0 ? 5 : 4; + var linkLen = start + cap[1].length + lastParenIndex; + cap[2] = cap[2].substring(0, lastParenIndex); + cap[0] = cap[0].substring(0, linkLen).trim(); + cap[3] = ''; + } + + var href = cap[2]; + var title = ''; + + if (this.options.pedantic) { + var link = /^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(href); + + if (link) { + href = link[1]; + title = link[3]; + } else { + title = ''; + } + } else { + title = cap[3] ? cap[3].slice(1, -1) : ''; + } + + href = href.trim().replace(/^<([\s\S]*)>$/, '$1'); + var token = outputLink(cap, { + href: href ? href.replace(this.rules.inline._escapes, '$1') : href, + title: title ? title.replace(this.rules.inline._escapes, '$1') : title + }, cap[0]); + return token; + } + }; + + _proto.reflink = function reflink(src, links) { + var cap; + + if ((cap = this.rules.inline.reflink.exec(src)) || (cap = this.rules.inline.nolink.exec(src))) { + var link = (cap[2] || cap[1]).replace(/\s+/g, ' '); + link = links[link.toLowerCase()]; + + if (!link || !link.href) { + var text = cap[0].charAt(0); + return { + type: 'text', + raw: text, + text: text + }; + } + + var token = outputLink(cap, link, cap[0]); + return token; + } + }; + + _proto.strong = function strong(src) { + var cap = this.rules.inline.strong.exec(src); + + if (cap) { + return { + type: 'strong', + raw: cap[0], + text: cap[4] || cap[3] || cap[2] || cap[1] + }; + } + }; + + _proto.em = function em(src) { + var cap = this.rules.inline.em.exec(src); + + if (cap) { + return { + type: 'em', + raw: cap[0], + text: cap[6] || cap[5] || cap[4] || cap[3] || cap[2] || cap[1] + }; + } + }; + + _proto.codespan = function codespan(src) { + var cap = this.rules.inline.code.exec(src); + + if (cap) { + var text = cap[2].replace(/\n/g, ' '); + var hasNonSpaceChars = /[^ ]/.test(text); + var hasSpaceCharsOnBothEnds = text.startsWith(' ') && text.endsWith(' '); + + if (hasNonSpaceChars && hasSpaceCharsOnBothEnds) { + text = text.substring(1, text.length - 1); + } + + text = _escape(text, true); + return { + type: 'codespan', + raw: cap[0], + text: text + }; + } + }; + + _proto.br = function br(src) { + var cap = this.rules.inline.br.exec(src); + + if (cap) { + return { + type: 'br', + raw: cap[0] + }; + } + }; + + _proto.del = function del(src) { + var cap = this.rules.inline.del.exec(src); + + if (cap) { + return { + type: 'del', + raw: cap[0], + text: cap[1] + }; + } + }; + + _proto.autolink = function autolink(src, mangle) { + var cap = this.rules.inline.autolink.exec(src); + + if (cap) { + var text, href; + + if (cap[2] === '@') { + text = _escape(this.options.mangle ? mangle(cap[1]) : cap[1]); + href = 'mailto:' + text; + } else { + text = _escape(cap[1]); + href = text; + } + + return { + type: 'link', + raw: cap[0], + text: text, + href: href, + tokens: [{ + type: 'text', + raw: text, + text: text + }] + }; + } + }; + + _proto.url = function url(src, mangle) { + var cap; + + if (cap = this.rules.inline.url.exec(src)) { + var text, href; + + if (cap[2] === '@') { + text = _escape(this.options.mangle ? mangle(cap[0]) : cap[0]); + href = 'mailto:' + text; + } else { + // do extended autolink path validation + var prevCapZero; + + do { + prevCapZero = cap[0]; + cap[0] = this.rules.inline._backpedal.exec(cap[0])[0]; + } while (prevCapZero !== cap[0]); + + text = _escape(cap[0]); + + if (cap[1] === 'www.') { + href = 'http://' + text; + } else { + href = text; + } + } + + return { + type: 'link', + raw: cap[0], + text: text, + href: href, + tokens: [{ + type: 'text', + raw: text, + text: text + }] + }; + } + }; + + _proto.inlineText = function inlineText(src, inRawBlock, smartypants) { + var cap = this.rules.inline.text.exec(src); + + if (cap) { + var text; + + if (inRawBlock) { + text = this.options.sanitize ? this.options.sanitizer ? this.options.sanitizer(cap[0]) : _escape(cap[0]) : cap[0]; + } else { + text = _escape(this.options.smartypants ? smartypants(cap[0]) : cap[0]); + } + + return { + type: 'text', + raw: cap[0], + text: text + }; + } + }; + + return Tokenizer; + }(); + + var noopTest$1 = helpers.noopTest, + edit$1 = helpers.edit, + merge$1 = helpers.merge; + /** + * Block-Level Grammar + */ + + var block = { + newline: /^\n+/, + code: /^( {4}[^\n]+\n*)+/, + fences: /^ {0,3}(`{3,}(?=[^`\n]*\n)|~{3,})([^\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/, + hr: /^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/, + heading: /^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/, + blockquote: /^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/, + list: /^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/, + html: '^ {0,3}(?:' // optional indentation + + '<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)' // (1) + + '|comment[^\\n]*(\\n+|$)' // (2) + + '|<\\?[\\s\\S]*?\\?>\\n*' // (3) + + '|\\n*' // (4) + + '|\\n*' // (5) + + '|)[\\s\\S]*?(?:\\n{2,}|$)' // (6) + + '|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)' // (7) open tag + + '|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)' // (7) closing tag + + ')', + def: /^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/, + nptable: noopTest$1, + table: noopTest$1, + lheading: /^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/, + // regex template, placeholders will be replaced according to different paragraph + // interruption rules of commonmark and the original markdown spec: + _paragraph: /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/, + text: /^[^\n]+/ + }; + block._label = /(?!\s*\])(?:\\[\[\]]|[^\[\]])+/; + block._title = /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/; + block.def = edit$1(block.def).replace('label', block._label).replace('title', block._title).getRegex(); + block.bullet = /(?:[*+-]|\d{1,9}\.)/; + block.item = /^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/; + block.item = edit$1(block.item, 'gm').replace(/bull/g, block.bullet).getRegex(); + block.list = edit$1(block.list).replace(/bull/g, block.bullet).replace('hr', '\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))').replace('def', '\\n+(?=' + block.def.source + ')').getRegex(); + block._tag = 'address|article|aside|base|basefont|blockquote|body|caption' + '|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption' + '|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe' + '|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option' + '|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr' + '|track|ul'; + block._comment = //; + block.html = edit$1(block.html, 'i').replace('comment', block._comment).replace('tag', block._tag).replace('attribute', / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(); + block.paragraph = edit$1(block._paragraph).replace('hr', block.hr).replace('heading', ' {0,3}#{1,6} ').replace('|lheading', '') // setex headings don't interrupt commonmark paragraphs + .replace('blockquote', ' {0,3}>').replace('fences', ' {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n').replace('list', ' {0,3}(?:[*+-]|1[.)]) ') // only lists starting from 1 can interrupt + .replace('html', ')|<(?:script|pre|style|!--)').replace('tag', block._tag) // pars can be interrupted by type (6) html blocks + .getRegex(); + block.blockquote = edit$1(block.blockquote).replace('paragraph', block.paragraph).getRegex(); + /** + * Normal Block Grammar + */ + + block.normal = merge$1({}, block); + /** + * GFM Block Grammar + */ + + block.gfm = merge$1({}, block.normal, { + nptable: '^ *([^|\\n ].*\\|.*)\\n' // Header + + ' *([-:]+ *\\|[-| :]*)' // Align + + '(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)', + // Cells + table: '^ *\\|(.+)\\n' // Header + + ' *\\|?( *[-:]+[-| :]*)' // Align + + '(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)' // Cells + + }); + block.gfm.nptable = edit$1(block.gfm.nptable).replace('hr', block.hr).replace('heading', ' {0,3}#{1,6} ').replace('blockquote', ' {0,3}>').replace('code', ' {4}[^\\n]').replace('fences', ' {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n').replace('list', ' {0,3}(?:[*+-]|1[.)]) ') // only lists starting from 1 can interrupt + .replace('html', ')|<(?:script|pre|style|!--)').replace('tag', block._tag) // tables can be interrupted by type (6) html blocks + .getRegex(); + block.gfm.table = edit$1(block.gfm.table).replace('hr', block.hr).replace('heading', ' {0,3}#{1,6} ').replace('blockquote', ' {0,3}>').replace('code', ' {4}[^\\n]').replace('fences', ' {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n').replace('list', ' {0,3}(?:[*+-]|1[.)]) ') // only lists starting from 1 can interrupt + .replace('html', ')|<(?:script|pre|style|!--)').replace('tag', block._tag) // tables can be interrupted by type (6) html blocks + .getRegex(); + /** + * Pedantic grammar (original John Gruber's loose markdown specification) + */ + + block.pedantic = merge$1({}, block.normal, { + html: edit$1('^ *(?:comment *(?:\\n|\\s*$)' + '|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)' // closed tag + + '|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))').replace('comment', block._comment).replace(/tag/g, '(?!(?:' + 'a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub' + '|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)' + '\\b)\\w+(?!:|[^\\w\\s@]*@)\\b').getRegex(), + def: /^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/, + heading: /^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/, + fences: noopTest$1, + // fences not supported + paragraph: edit$1(block.normal._paragraph).replace('hr', block.hr).replace('heading', ' *#{1,6} *[^\n]').replace('lheading', block.lheading).replace('blockquote', ' {0,3}>').replace('|fences', '').replace('|list', '').replace('|html', '').getRegex() + }); + /** + * Inline-Level Grammar + */ + + var inline = { + escape: /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, + autolink: /^<(scheme:[^\s\x00-\x1f<>]*|email)>/, + url: noopTest$1, + tag: '^comment' + '|^' // self-closing tag + + '|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>' // open tag + + '|^<\\?[\\s\\S]*?\\?>' // processing instruction, e.g. + + '|^' // declaration, e.g. + + '|^', + // CDATA section + link: /^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/, + reflink: /^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/, + nolink: /^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/, + strong: /^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/, + em: /^_([^\s_])_(?!_)|^_([^\s_<][\s\S]*?[^\s_])_(?!_|[^\s,punctuation])|^_([^\s_<][\s\S]*?[^\s])_(?!_|[^\s,punctuation])|^\*([^\s*<\[])\*(?!\*)|^\*([^\s<"][\s\S]*?[^\s\[\*])\*(?![\]`punctuation])|^\*([^\s*"<\[][\s\S]*[^\s])\*(?!\*)/, + code: /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, + br: /^( {2,}|\\)\n(?!\s*$)/, + del: noopTest$1, + text: /^(`+|[^`])(?:[\s\S]*?(?:(?=[\\?@\\[^_{|}~'; + inline.em = edit$1(inline.em).replace(/punctuation/g, inline._punctuation).getRegex(); + inline._escapes = /\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g; + inline._scheme = /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/; + inline._email = /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/; + inline.autolink = edit$1(inline.autolink).replace('scheme', inline._scheme).replace('email', inline._email).getRegex(); + inline._attribute = /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/; + inline.tag = edit$1(inline.tag).replace('comment', block._comment).replace('attribute', inline._attribute).getRegex(); + inline._label = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/; + inline._href = /<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/; + inline._title = /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/; + inline.link = edit$1(inline.link).replace('label', inline._label).replace('href', inline._href).replace('title', inline._title).getRegex(); + inline.reflink = edit$1(inline.reflink).replace('label', inline._label).getRegex(); + /** + * Normal Inline Grammar + */ + + inline.normal = merge$1({}, inline); + /** + * Pedantic Inline Grammar + */ + + inline.pedantic = merge$1({}, inline.normal, { + strong: /^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/, + em: /^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/, + link: edit$1(/^!?\[(label)\]\((.*?)\)/).replace('label', inline._label).getRegex(), + reflink: edit$1(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace('label', inline._label).getRegex() + }); + /** + * GFM Inline Grammar + */ + + inline.gfm = merge$1({}, inline.normal, { + escape: edit$1(inline.escape).replace('])', '~|])').getRegex(), + _extended_email: /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/, + url: /^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, + _backpedal: /(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/, + del: /^~+(?=\S)([\s\S]*?\S)~+/, + text: /^(`+|[^`])(?:[\s\S]*?(?:(?=[\\ 0.5) { + ch = 'x' + ch.toString(16); + } + + out += '&#' + ch + ';'; + } + + return out; + } + /** + * Block Lexer + */ + + + var Lexer_1 = /*#__PURE__*/function () { + function Lexer(options) { + this.tokens = []; + this.tokens.links = Object.create(null); + this.options = options || defaults$2; + this.options.tokenizer = this.options.tokenizer || new Tokenizer_1(); + this.tokenizer = this.options.tokenizer; + this.tokenizer.options = this.options; + var rules = { + block: block$1.normal, + inline: inline$1.normal + }; + + if (this.options.pedantic) { + rules.block = block$1.pedantic; + rules.inline = inline$1.pedantic; + } else if (this.options.gfm) { + rules.block = block$1.gfm; + + if (this.options.breaks) { + rules.inline = inline$1.breaks; + } else { + rules.inline = inline$1.gfm; + } + } + + this.tokenizer.rules = rules; + } + /** + * Expose Rules + */ + + + /** + * Static Lex Method + */ + Lexer.lex = function lex(src, options) { + var lexer = new Lexer(options); + return lexer.lex(src); + } + /** + * Preprocessing + */ + ; + + var _proto = Lexer.prototype; + + _proto.lex = function lex(src) { + src = src.replace(/\r\n|\r/g, '\n').replace(/\t/g, ' '); + this.blockTokens(src, this.tokens, true); + this.inline(this.tokens); + return this.tokens; + } + /** + * Lexing + */ + ; + + _proto.blockTokens = function blockTokens(src, tokens, top) { + if (tokens === void 0) { + tokens = []; + } + + if (top === void 0) { + top = true; + } + + src = src.replace(/^ +$/gm, ''); + var token, i, l, lastToken; + + while (src) { + // newline + if (token = this.tokenizer.space(src)) { + src = src.substring(token.raw.length); + + if (token.type) { + tokens.push(token); + } + + continue; + } // code + + + if (token = this.tokenizer.code(src, tokens)) { + src = src.substring(token.raw.length); + + if (token.type) { + tokens.push(token); + } else { + lastToken = tokens[tokens.length - 1]; + lastToken.raw += '\n' + token.raw; + lastToken.text += '\n' + token.text; + } + + continue; + } // fences + + + if (token = this.tokenizer.fences(src)) { + src = src.substring(token.raw.length); + tokens.push(token); + continue; + } // heading + + + if (token = this.tokenizer.heading(src)) { + src = src.substring(token.raw.length); + tokens.push(token); + continue; + } // table no leading pipe (gfm) + + + if (token = this.tokenizer.nptable(src)) { + src = src.substring(token.raw.length); + tokens.push(token); + continue; + } // hr + + + if (token = this.tokenizer.hr(src)) { + src = src.substring(token.raw.length); + tokens.push(token); + continue; + } // blockquote + + + if (token = this.tokenizer.blockquote(src)) { + src = src.substring(token.raw.length); + token.tokens = this.blockTokens(token.text, [], top); + tokens.push(token); + continue; + } // list + + + if (token = this.tokenizer.list(src)) { + src = src.substring(token.raw.length); + l = token.items.length; + + for (i = 0; i < l; i++) { + token.items[i].tokens = this.blockTokens(token.items[i].text, [], false); + } + + tokens.push(token); + continue; + } // html + + + if (token = this.tokenizer.html(src)) { + src = src.substring(token.raw.length); + tokens.push(token); + continue; + } // def + + + if (top && (token = this.tokenizer.def(src))) { + src = src.substring(token.raw.length); + + if (!this.tokens.links[token.tag]) { + this.tokens.links[token.tag] = { + href: token.href, + title: token.title + }; + } + + continue; + } // table (gfm) + + + if (token = this.tokenizer.table(src)) { + src = src.substring(token.raw.length); + tokens.push(token); + continue; + } // lheading + + + if (token = this.tokenizer.lheading(src)) { + src = src.substring(token.raw.length); + tokens.push(token); + continue; + } // top-level paragraph + + + if (top && (token = this.tokenizer.paragraph(src))) { + src = src.substring(token.raw.length); + tokens.push(token); + continue; + } // text + + + if (token = this.tokenizer.text(src, tokens)) { + src = src.substring(token.raw.length); + + if (token.type) { + tokens.push(token); + } else { + lastToken = tokens[tokens.length - 1]; + lastToken.raw += '\n' + token.raw; + lastToken.text += '\n' + token.text; + } + + continue; + } + + if (src) { + var errMsg = 'Infinite loop on byte: ' + src.charCodeAt(0); + + if (this.options.silent) { + console.error(errMsg); + break; + } else { + throw new Error(errMsg); + } + } + } + + return tokens; + }; + + _proto.inline = function inline(tokens) { + var i, j, k, l2, row, token; + var l = tokens.length; + + for (i = 0; i < l; i++) { + token = tokens[i]; + + switch (token.type) { + case 'paragraph': + case 'text': + case 'heading': + { + token.tokens = []; + this.inlineTokens(token.text, token.tokens); + break; + } + + case 'table': + { + token.tokens = { + header: [], + cells: [] + }; // header + + l2 = token.header.length; + + for (j = 0; j < l2; j++) { + token.tokens.header[j] = []; + this.inlineTokens(token.header[j], token.tokens.header[j]); + } // cells + + + l2 = token.cells.length; + + for (j = 0; j < l2; j++) { + row = token.cells[j]; + token.tokens.cells[j] = []; + + for (k = 0; k < row.length; k++) { + token.tokens.cells[j][k] = []; + this.inlineTokens(row[k], token.tokens.cells[j][k]); + } + } + + break; + } + + case 'blockquote': + { + this.inline(token.tokens); + break; + } + + case 'list': + { + l2 = token.items.length; + + for (j = 0; j < l2; j++) { + this.inline(token.items[j].tokens); + } + + break; + } + } + } + + return tokens; + } + /** + * Lexing/Compiling + */ + ; + + _proto.inlineTokens = function inlineTokens(src, tokens, inLink, inRawBlock) { + if (tokens === void 0) { + tokens = []; + } + + if (inLink === void 0) { + inLink = false; + } + + if (inRawBlock === void 0) { + inRawBlock = false; + } + + var token; + + while (src) { + // escape + if (token = this.tokenizer.escape(src)) { + src = src.substring(token.raw.length); + tokens.push(token); + continue; + } // tag + + + if (token = this.tokenizer.tag(src, inLink, inRawBlock)) { + src = src.substring(token.raw.length); + inLink = token.inLink; + inRawBlock = token.inRawBlock; + tokens.push(token); + continue; + } // link + + + if (token = this.tokenizer.link(src)) { + src = src.substring(token.raw.length); + + if (token.type === 'link') { + token.tokens = this.inlineTokens(token.text, [], true, inRawBlock); + } + + tokens.push(token); + continue; + } // reflink, nolink + + + if (token = this.tokenizer.reflink(src, this.tokens.links)) { + src = src.substring(token.raw.length); + + if (token.type === 'link') { + token.tokens = this.inlineTokens(token.text, [], true, inRawBlock); + } + + tokens.push(token); + continue; + } // strong + + + if (token = this.tokenizer.strong(src)) { + src = src.substring(token.raw.length); + token.tokens = this.inlineTokens(token.text, [], inLink, inRawBlock); + tokens.push(token); + continue; + } // em + + + if (token = this.tokenizer.em(src)) { + src = src.substring(token.raw.length); + token.tokens = this.inlineTokens(token.text, [], inLink, inRawBlock); + tokens.push(token); + continue; + } // code + + + if (token = this.tokenizer.codespan(src)) { + src = src.substring(token.raw.length); + tokens.push(token); + continue; + } // br + + + if (token = this.tokenizer.br(src)) { + src = src.substring(token.raw.length); + tokens.push(token); + continue; + } // del (gfm) + + + if (token = this.tokenizer.del(src)) { + src = src.substring(token.raw.length); + token.tokens = this.inlineTokens(token.text, [], inLink, inRawBlock); + tokens.push(token); + continue; + } // autolink + + + if (token = this.tokenizer.autolink(src, mangle)) { + src = src.substring(token.raw.length); + tokens.push(token); + continue; + } // url (gfm) + + + if (!inLink && (token = this.tokenizer.url(src, mangle))) { + src = src.substring(token.raw.length); + tokens.push(token); + continue; + } // text + + + if (token = this.tokenizer.inlineText(src, inRawBlock, smartypants)) { + src = src.substring(token.raw.length); + tokens.push(token); + continue; + } + + if (src) { + var errMsg = 'Infinite loop on byte: ' + src.charCodeAt(0); + + if (this.options.silent) { + console.error(errMsg); + break; + } else { + throw new Error(errMsg); + } + } + } + + return tokens; + }; + + _createClass(Lexer, null, [{ + key: "rules", + get: function get() { + return { + block: block$1, + inline: inline$1 + }; + } + }]); + + return Lexer; + }(); + + var defaults$3 = defaults.defaults; + var cleanUrl$1 = helpers.cleanUrl, + escape$1 = helpers.escape; + /** + * Renderer + */ + + var Renderer_1 = /*#__PURE__*/function () { + function Renderer(options) { + this.options = options || defaults$3; + } + + var _proto = Renderer.prototype; + + _proto.code = function code(_code, infostring, escaped) { + var lang = (infostring || '').match(/\S*/)[0]; + + if (this.options.highlight) { + var out = this.options.highlight(_code, lang); + + if (out != null && out !== _code) { + escaped = true; + _code = out; + } + } + + if (!lang) { + return '
    ' + (escaped ? _code : escape$1(_code, true)) + '
    \n'; + } + + return '
    ' + (escaped ? _code : escape$1(_code, true)) + '
    \n'; + }; + + _proto.blockquote = function blockquote(quote) { + return '
    \n' + quote + '
    \n'; + }; + + _proto.html = function html(_html) { + return _html; + }; + + _proto.heading = function heading(text, level, raw, slugger) { + if (this.options.headerIds) { + return '' + text + '\n'; + } // ignore IDs + + + return '' + text + '\n'; + }; + + _proto.hr = function hr() { + return this.options.xhtml ? '
    \n' : '
    \n'; + }; + + _proto.list = function list(body, ordered, start) { + var type = ordered ? 'ol' : 'ul', + startatt = ordered && start !== 1 ? ' start="' + start + '"' : ''; + return '<' + type + startatt + '>\n' + body + '\n'; + }; + + _proto.listitem = function listitem(text) { + return '
  • ' + text + '
  • \n'; + }; + + _proto.checkbox = function checkbox(checked) { + return ' '; + }; + + _proto.paragraph = function paragraph(text) { + return '

    ' + text + '

    \n'; + }; + + _proto.table = function table(header, body) { + if (body) body = '' + body + ''; + return '\n' + '\n' + header + '\n' + body + '
    \n'; + }; + + _proto.tablerow = function tablerow(content) { + return '\n' + content + '\n'; + }; + + _proto.tablecell = function tablecell(content, flags) { + var type = flags.header ? 'th' : 'td'; + var tag = flags.align ? '<' + type + ' align="' + flags.align + '">' : '<' + type + '>'; + return tag + content + '\n'; + } // span level renderer + ; + + _proto.strong = function strong(text) { + return '' + text + ''; + }; + + _proto.em = function em(text) { + return '' + text + ''; + }; + + _proto.codespan = function codespan(text) { + return '' + text + ''; + }; + + _proto.br = function br() { + return this.options.xhtml ? '
    ' : '
    '; + }; + + _proto.del = function del(text) { + return '' + text + ''; + }; + + _proto.link = function link(href, title, text) { + href = cleanUrl$1(this.options.sanitize, this.options.baseUrl, href); + + if (href === null) { + return text; + } + + var out = '
    '; + return out; + }; + + _proto.image = function image(href, title, text) { + href = cleanUrl$1(this.options.sanitize, this.options.baseUrl, href); + + if (href === null) { + return text; + } + + var out = '' + text + '' : '>'; + return out; + }; + + _proto.text = function text(_text) { + return _text; + }; + + return Renderer; + }(); + + /** + * TextRenderer + * returns only the textual part of the token + */ + var TextRenderer_1 = /*#__PURE__*/function () { + function TextRenderer() {} + + var _proto = TextRenderer.prototype; + + // no need for block level renderers + _proto.strong = function strong(text) { + return text; + }; + + _proto.em = function em(text) { + return text; + }; + + _proto.codespan = function codespan(text) { + return text; + }; + + _proto.del = function del(text) { + return text; + }; + + _proto.html = function html(text) { + return text; + }; + + _proto.text = function text(_text) { + return _text; + }; + + _proto.link = function link(href, title, text) { + return '' + text; + }; + + _proto.image = function image(href, title, text) { + return '' + text; + }; + + _proto.br = function br() { + return ''; + }; + + return TextRenderer; + }(); + + /** + * Slugger generates header id + */ + var Slugger_1 = /*#__PURE__*/function () { + function Slugger() { + this.seen = {}; + } + /** + * Convert string to unique id + */ + + + var _proto = Slugger.prototype; + + _proto.slug = function slug(value) { + var slug = value.toLowerCase().trim() // remove html tags + .replace(/<[!\/a-z].*?>/ig, '') // remove unwanted chars + .replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g, '').replace(/\s/g, '-'); + + if (this.seen.hasOwnProperty(slug)) { + var originalSlug = slug; + + do { + this.seen[originalSlug]++; + slug = originalSlug + '-' + this.seen[originalSlug]; + } while (this.seen.hasOwnProperty(slug)); + } + + this.seen[slug] = 0; + return slug; + }; + + return Slugger; + }(); + + var defaults$4 = defaults.defaults; + var unescape$1 = helpers.unescape; + /** + * Parsing & Compiling + */ + + var Parser_1 = /*#__PURE__*/function () { + function Parser(options) { + this.options = options || defaults$4; + this.options.renderer = this.options.renderer || new Renderer_1(); + this.renderer = this.options.renderer; + this.renderer.options = this.options; + this.textRenderer = new TextRenderer_1(); + this.slugger = new Slugger_1(); + } + /** + * Static Parse Method + */ + + + Parser.parse = function parse(tokens, options) { + var parser = new Parser(options); + return parser.parse(tokens); + } + /** + * Parse Loop + */ + ; + + var _proto = Parser.prototype; + + _proto.parse = function parse(tokens, top) { + if (top === void 0) { + top = true; + } + + var out = '', + i, + j, + k, + l2, + l3, + row, + cell, + header, + body, + token, + ordered, + start, + loose, + itemBody, + item, + checked, + task, + checkbox; + var l = tokens.length; + + for (i = 0; i < l; i++) { + token = tokens[i]; + + switch (token.type) { + case 'space': + { + continue; + } + + case 'hr': + { + out += this.renderer.hr(); + continue; + } + + case 'heading': + { + out += this.renderer.heading(this.parseInline(token.tokens), token.depth, unescape$1(this.parseInline(token.tokens, this.textRenderer)), this.slugger); + continue; + } + + case 'code': + { + out += this.renderer.code(token.text, token.lang, token.escaped); + continue; + } + + case 'table': + { + header = ''; // header + + cell = ''; + l2 = token.header.length; + + for (j = 0; j < l2; j++) { + cell += this.renderer.tablecell(this.parseInline(token.tokens.header[j]), { + header: true, + align: token.align[j] + }); + } + + header += this.renderer.tablerow(cell); + body = ''; + l2 = token.cells.length; + + for (j = 0; j < l2; j++) { + row = token.tokens.cells[j]; + cell = ''; + l3 = row.length; + + for (k = 0; k < l3; k++) { + cell += this.renderer.tablecell(this.parseInline(row[k]), { + header: false, + align: token.align[k] + }); + } + + body += this.renderer.tablerow(cell); + } + + out += this.renderer.table(header, body); + continue; + } + + case 'blockquote': + { + body = this.parse(token.tokens); + out += this.renderer.blockquote(body); + continue; + } + + case 'list': + { + ordered = token.ordered; + start = token.start; + loose = token.loose; + l2 = token.items.length; + body = ''; + + for (j = 0; j < l2; j++) { + item = token.items[j]; + checked = item.checked; + task = item.task; + itemBody = ''; + + if (item.task) { + checkbox = this.renderer.checkbox(checked); + + if (loose) { + if (item.tokens.length > 0 && item.tokens[0].type === 'text') { + item.tokens[0].text = checkbox + ' ' + item.tokens[0].text; + + if (item.tokens[0].tokens && item.tokens[0].tokens.length > 0 && item.tokens[0].tokens[0].type === 'text') { + item.tokens[0].tokens[0].text = checkbox + ' ' + item.tokens[0].tokens[0].text; + } + } else { + item.tokens.unshift({ + type: 'text', + text: checkbox + }); + } + } else { + itemBody += checkbox; + } + } + + itemBody += this.parse(item.tokens, loose); + body += this.renderer.listitem(itemBody, task, checked); + } + + out += this.renderer.list(body, ordered, start); + continue; + } + + case 'html': + { + // TODO parse inline content if parameter markdown=1 + out += this.renderer.html(token.text); + continue; + } + + case 'paragraph': + { + out += this.renderer.paragraph(this.parseInline(token.tokens)); + continue; + } + + case 'text': + { + body = token.tokens ? this.parseInline(token.tokens) : token.text; + + while (i + 1 < l && tokens[i + 1].type === 'text') { + token = tokens[++i]; + body += '\n' + (token.tokens ? this.parseInline(token.tokens) : token.text); + } + + out += top ? this.renderer.paragraph(body) : body; + continue; + } + + default: + { + var errMsg = 'Token with "' + token.type + '" type was not found.'; + + if (this.options.silent) { + console.error(errMsg); + return; + } else { + throw new Error(errMsg); + } + } + } + } + + return out; + } + /** + * Parse Inline Tokens + */ + ; + + _proto.parseInline = function parseInline(tokens, renderer) { + renderer = renderer || this.renderer; + var out = '', + i, + token; + var l = tokens.length; + + for (i = 0; i < l; i++) { + token = tokens[i]; + + switch (token.type) { + case 'escape': + { + out += renderer.text(token.text); + break; + } + + case 'html': + { + out += renderer.html(token.text); + break; + } + + case 'link': + { + out += renderer.link(token.href, token.title, this.parseInline(token.tokens, renderer)); + break; + } + + case 'image': + { + out += renderer.image(token.href, token.title, token.text); + break; + } + + case 'strong': + { + out += renderer.strong(this.parseInline(token.tokens, renderer)); + break; + } + + case 'em': + { + out += renderer.em(this.parseInline(token.tokens, renderer)); + break; + } + + case 'codespan': + { + out += renderer.codespan(token.text); + break; + } + + case 'br': + { + out += renderer.br(); + break; + } + + case 'del': + { + out += renderer.del(this.parseInline(token.tokens, renderer)); + break; + } + + case 'text': + { + out += renderer.text(token.text); + break; + } + + default: + { + var errMsg = 'Token with "' + token.type + '" type was not found.'; + + if (this.options.silent) { + console.error(errMsg); + return; + } else { + throw new Error(errMsg); + } + } + } + } + + return out; + }; + + return Parser; + }(); + + var merge$2 = helpers.merge, + checkSanitizeDeprecation$1 = helpers.checkSanitizeDeprecation, + escape$2 = helpers.escape; + var getDefaults = defaults.getDefaults, + changeDefaults = defaults.changeDefaults, + defaults$5 = defaults.defaults; + /** + * Marked + */ + + function marked(src, opt, callback) { + // throw error in case of non string input + if (typeof src === 'undefined' || src === null) { + throw new Error('marked(): input parameter is undefined or null'); + } + + if (typeof src !== 'string') { + throw new Error('marked(): input parameter is of type ' + Object.prototype.toString.call(src) + ', string expected'); + } + + if (typeof opt === 'function') { + callback = opt; + opt = null; + } + + opt = merge$2({}, marked.defaults, opt || {}); + checkSanitizeDeprecation$1(opt); + + if (callback) { + var highlight = opt.highlight; + var tokens; + + try { + tokens = Lexer_1.lex(src, opt); + } catch (e) { + return callback(e); + } + + var done = function done(err) { + var out; + + if (!err) { + try { + out = Parser_1.parse(tokens, opt); + } catch (e) { + err = e; + } + } + + opt.highlight = highlight; + return err ? callback(err) : callback(null, out); + }; + + if (!highlight || highlight.length < 3) { + return done(); + } + + delete opt.highlight; + if (!tokens.length) return done(); + var pending = 0; + marked.walkTokens(tokens, function (token) { + if (token.type === 'code') { + pending++; + setTimeout(function () { + highlight(token.text, token.lang, function (err, code) { + if (err) { + return done(err); + } + + if (code != null && code !== token.text) { + token.text = code; + token.escaped = true; + } + + pending--; + + if (pending === 0) { + done(); + } + }); + }, 0); + } + }); + + if (pending === 0) { + done(); + } + + return; + } + + try { + var _tokens = Lexer_1.lex(src, opt); + + if (opt.walkTokens) { + marked.walkTokens(_tokens, opt.walkTokens); + } + + return Parser_1.parse(_tokens, opt); + } catch (e) { + e.message += '\nPlease report this to https://github.com/markedjs/marked.'; + + if (opt.silent) { + return '

    An error occurred:

    ' + escape$2(e.message + '', true) + '
    '; + } + + throw e; + } + } + /** + * Options + */ + + + marked.options = marked.setOptions = function (opt) { + merge$2(marked.defaults, opt); + changeDefaults(marked.defaults); + return marked; + }; + + marked.getDefaults = getDefaults; + marked.defaults = defaults$5; + /** + * Use Extension + */ + + marked.use = function (extension) { + var opts = merge$2({}, extension); + + if (extension.renderer) { + (function () { + var renderer = marked.defaults.renderer || new Renderer_1(); + + var _loop = function _loop(prop) { + var prevRenderer = renderer[prop]; + + renderer[prop] = function () { + for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + var ret = extension.renderer[prop].apply(renderer, args); + + if (ret === false) { + ret = prevRenderer.apply(renderer, args); + } + + return ret; + }; + }; + + for (var prop in extension.renderer) { + _loop(prop); + } + + opts.renderer = renderer; + })(); + } + + if (extension.tokenizer) { + (function () { + var tokenizer = marked.defaults.tokenizer || new Tokenizer_1(); + + var _loop2 = function _loop2(prop) { + var prevTokenizer = tokenizer[prop]; + + tokenizer[prop] = function () { + for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) { + args[_key2] = arguments[_key2]; + } + + var ret = extension.tokenizer[prop].apply(tokenizer, args); + + if (ret === false) { + ret = prevTokenizer.apply(tokenizer, args); + } + + return ret; + }; + }; + + for (var prop in extension.tokenizer) { + _loop2(prop); + } + + opts.tokenizer = tokenizer; + })(); + } + + if (extension.walkTokens) { + var walkTokens = marked.defaults.walkTokens; + + opts.walkTokens = function (token) { + extension.walkTokens(token); + + if (walkTokens) { + walkTokens(token); + } + }; + } + + marked.setOptions(opts); + }; + /** + * Run callback for every token + */ + + + marked.walkTokens = function (tokens, callback) { + for (var _iterator = _createForOfIteratorHelperLoose(tokens), _step; !(_step = _iterator()).done;) { + var token = _step.value; + callback(token); + + switch (token.type) { + case 'table': + { + for (var _iterator2 = _createForOfIteratorHelperLoose(token.tokens.header), _step2; !(_step2 = _iterator2()).done;) { + var cell = _step2.value; + marked.walkTokens(cell, callback); + } + + for (var _iterator3 = _createForOfIteratorHelperLoose(token.tokens.cells), _step3; !(_step3 = _iterator3()).done;) { + var row = _step3.value; + + for (var _iterator4 = _createForOfIteratorHelperLoose(row), _step4; !(_step4 = _iterator4()).done;) { + var _cell = _step4.value; + marked.walkTokens(_cell, callback); + } + } + + break; + } + + case 'list': + { + marked.walkTokens(token.items, callback); + break; + } + + default: + { + if (token.tokens) { + marked.walkTokens(token.tokens, callback); + } + } + } + } + }; + /** + * Expose + */ + + + marked.Parser = Parser_1; + marked.parser = Parser_1.parse; + marked.Renderer = Renderer_1; + marked.TextRenderer = TextRenderer_1; + marked.Lexer = Lexer_1; + marked.lexer = Lexer_1.lex; + marked.Tokenizer = Tokenizer_1; + marked.Slugger = Slugger_1; + marked.parse = marked; + var marked_1 = marked; + + return marked_1; + +}))); diff --git a/packages/markdown/marked/man/marked.1 b/packages/markdown/marked/man/marked.1 new file mode 100644 index 0000000..5cc27ef --- /dev/null +++ b/packages/markdown/marked/man/marked.1 @@ -0,0 +1,111 @@ +.ds q \N'34' +.TH marked 1 + +.SH NAME +marked \- a javascript markdown parser + +.SH SYNOPSIS +.B marked +[\-o \fI\fP] [\-i \fI\fP] [\-\-help] +[\-\-tokens] [\-\-pedantic] [\-\-gfm] +[\-\-breaks] [\-\-sanitize] +[\-\-smart\-lists] [\-\-lang\-prefix \fI\fP] +[\-\-no\-etc...] [\-\-silent] [\fIfilename\fP] + +.SH DESCRIPTION +.B marked +is a full-featured javascript markdown parser, built for speed. +It also includes multiple GFM features. + +.SH EXAMPLES +.TP +cat in.md | marked > out.html +.TP +echo "hello *world*" | marked +.TP +marked \-o out.html \-i in.md \-\-gfm +.TP +marked \-\-output="hello world.html" \-i in.md \-\-no-breaks + +.SH OPTIONS +.TP +.BI \-o,\ \-\-output\ [\fIoutput\fP] +Specify file output. If none is specified, write to stdout. +.TP +.BI \-i,\ \-\-input\ [\fIinput\fP] +Specify file input, otherwise use last argument as input file. +If no input file is specified, read from stdin. +.TP +.BI \-\-test +Makes sure the test(s) pass. +.RS +.PP +.B \-\-glob [\fIfile\fP] +Specify which test to use. +.PP +.B \-\-fix +Fixes tests. +.PP +.B \-\-bench +Benchmarks the test(s). +.PP +.B \-\-time +Times The test(s). +.PP +.B \-\-minified +Runs test file(s) as minified. +.PP +.B \-\-stop +Stop process if a test fails. +.RE +.TP +.BI \-t,\ \-\-tokens +Output a token stream instead of html. +.TP +.BI \-\-pedantic +Conform to obscure parts of markdown.pl as much as possible. +Don't fix original markdown bugs. +.TP +.BI \-\-gfm +Enable github flavored markdown. +.TP +.BI \-\-breaks +Enable GFM line breaks. Only works with the gfm option. +.TP +.BI \-\-sanitize +Sanitize output. Ignore any HTML input. +.TP +.BI \-\-smart\-lists +Use smarter list behavior than the original markdown. +.TP +.BI \-\-lang\-prefix\ [\fIprefix\fP] +Set the prefix for code block classes. +.TP +.BI \-\-mangle +Mangle email addresses. +.TP +.BI \-\-no\-sanitize,\ \-no-etc... +The inverse of any of the marked options above. +.TP +.BI \-\-silent +Silence error output. +.TP +.BI \-h,\ \-\-help +Display help information. + +.SH CONFIGURATION +For configuring and running programmatically. + +.B Example + + require('marked')('*foo*', { gfm: true }); + +.SH BUGS +Please report any bugs to https://github.com/markedjs/marked. + +.SH LICENSE +Copyright (c) 2011-2014, Christopher Jeffrey (MIT License). + +.SH "SEE ALSO" +.BR markdown(1), +.BR node.js(1) diff --git a/packages/markdown/marked/man/marked.1.txt b/packages/markdown/marked/man/marked.1.txt new file mode 100644 index 0000000..56a8634 --- /dev/null +++ b/packages/markdown/marked/man/marked.1.txt @@ -0,0 +1,96 @@ +marked(1) General Commands Manual marked(1) + +NAME + marked - a javascript markdown parser + +SYNOPSIS + marked [-o ] [-i ] [--help] [--tokens] [--pedantic] + [--gfm] [--breaks] [--sanitize] [--smart-lists] [--lang-prefix ] [--no-etc...] [--silent] [filename] + + +DESCRIPTION + marked is a full-featured javascript markdown parser, built for speed. + It also includes multiple GFM features. + +EXAMPLES + cat in.md | marked > out.html + + echo "hello *world*" | marked + + marked -o out.html -i in.md --gfm + + marked --output="hello world.html" -i in.md --no-breaks + +OPTIONS + -o, --output [output] + Specify file output. If none is specified, write to stdout. + + -i, --input [input] + Specify file input, otherwise use last argument as input file. + If no input file is specified, read from stdin. + + --test Makes sure the test(s) pass. + + --glob [file] Specify which test to use. + + --fix Fixes tests. + + --bench Benchmarks the test(s). + + --time Times The test(s). + + --minified Runs test file(s) as minified. + + --stop Stop process if a test fails. + + -t, --tokens + Output a token stream instead of html. + + --pedantic + Conform to obscure parts of markdown.pl as much as possible. + Don't fix original markdown bugs. + + --gfm Enable github flavored markdown. + + --breaks + Enable GFM line breaks. Only works with the gfm option. + + --sanitize + Sanitize output. Ignore any HTML input. + + --smart-lists + Use smarter list behavior than the original markdown. + + --lang-prefix [prefix] + Set the prefix for code block classes. + + --mangle + Mangle email addresses. + + --no-sanitize, -no-etc... + The inverse of any of the marked options above. + + --silent + Silence error output. + + -h, --help + Display help information. + +CONFIGURATION + For configuring and running programmatically. + + Example + + require('marked')('*foo*', { gfm: true }); + +BUGS + Please report any bugs to https://github.com/markedjs/marked. + +LICENSE + Copyright (c) 2011-2014, Christopher Jeffrey (MIT License). + +SEE ALSO + markdown(1), node.js(1) + + marked(1) diff --git a/packages/markdown/marked/package-lock.json b/packages/markdown/marked/package-lock.json new file mode 100644 index 0000000..adeef6b --- /dev/null +++ b/packages/markdown/marked/package-lock.json @@ -0,0 +1,3851 @@ +{ + "name": "marked", + "version": "1.1.0", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "@babel/code-frame": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz", + "integrity": "sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==", + "dev": true, + "requires": { + "@babel/highlight": "^7.8.3" + } + }, + "@babel/compat-data": { + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.9.6.tgz", + "integrity": "sha512-5QPTrNen2bm7RBc7dsOmcA5hbrS4O2Vhmk5XOL4zWW/zD/hV0iinpefDlkm+tBBy8kDtFaaeEvmAqt+nURAV2g==", + "dev": true, + "requires": { + "browserslist": "^4.11.1", + "invariant": "^2.2.4", + "semver": "^5.5.0" + } + }, + "@babel/core": { + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.9.6.tgz", + "integrity": "sha512-nD3deLvbsApbHAHttzIssYqgb883yU/d9roe4RZymBCDaZryMJDbptVpEpeQuRh4BJ+SYI8le9YGxKvFEvl1Wg==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.8.3", + "@babel/generator": "^7.9.6", + "@babel/helper-module-transforms": "^7.9.0", + "@babel/helpers": "^7.9.6", + "@babel/parser": "^7.9.6", + "@babel/template": "^7.8.6", + "@babel/traverse": "^7.9.6", + "@babel/types": "^7.9.6", + "convert-source-map": "^1.7.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.1", + "json5": "^2.1.2", + "lodash": "^4.17.13", + "resolve": "^1.3.2", + "semver": "^5.4.1", + "source-map": "^0.5.0" + }, + "dependencies": { + "@babel/helper-validator-identifier": { + "version": "7.9.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.9.5.tgz", + "integrity": "sha512-/8arLKUFq882w4tWGj9JYzRpAlZgiWUJ+dtteNTDqrRBz9Iguck9Rn3ykuBDoUwh2TO4tSAJlrxDUOXWklJe4g==", + "dev": true + }, + "@babel/types": { + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.9.6.tgz", + "integrity": "sha512-qxXzvBO//jO9ZnoasKF1uJzHd2+M6Q2ZPIVfnFps8JJvXy0ZBbwbNOmE6SGIY5XOY6d1Bo5lb9d9RJ8nv3WSeA==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.9.5", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + } + } + }, + "@babel/generator": { + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.9.6.tgz", + "integrity": "sha512-+htwWKJbH2bL72HRluF8zumBxzuX0ZZUFl3JLNyoUjM/Ho8wnVpPXM6aUz8cfKDqQ/h7zHqKt4xzJteUosckqQ==", + "dev": true, + "requires": { + "@babel/types": "^7.9.6", + "jsesc": "^2.5.1", + "lodash": "^4.17.13", + "source-map": "^0.5.0" + }, + "dependencies": { + "@babel/helper-validator-identifier": { + "version": "7.9.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.9.5.tgz", + "integrity": "sha512-/8arLKUFq882w4tWGj9JYzRpAlZgiWUJ+dtteNTDqrRBz9Iguck9Rn3ykuBDoUwh2TO4tSAJlrxDUOXWklJe4g==", + "dev": true + }, + "@babel/types": { + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.9.6.tgz", + "integrity": "sha512-qxXzvBO//jO9ZnoasKF1uJzHd2+M6Q2ZPIVfnFps8JJvXy0ZBbwbNOmE6SGIY5XOY6d1Bo5lb9d9RJ8nv3WSeA==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.9.5", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + } + } + }, + "@babel/helper-annotate-as-pure": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.8.3.tgz", + "integrity": "sha512-6o+mJrZBxOoEX77Ezv9zwW7WV8DdluouRKNY/IR5u/YTMuKHgugHOzYWlYvYLpLA9nPsQCAAASpCIbjI9Mv+Uw==", + "dev": true, + "requires": { + "@babel/types": "^7.8.3" + } + }, + "@babel/helper-builder-binary-assignment-operator-visitor": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.8.3.tgz", + "integrity": "sha512-5eFOm2SyFPK4Rh3XMMRDjN7lBH0orh3ss0g3rTYZnBQ+r6YPj7lgDyCvPphynHvUrobJmeMignBr6Acw9mAPlw==", + "dev": true, + "requires": { + "@babel/helper-explode-assignable-expression": "^7.8.3", + "@babel/types": "^7.8.3" + } + }, + "@babel/helper-compilation-targets": { + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.9.6.tgz", + "integrity": "sha512-x2Nvu0igO0ejXzx09B/1fGBxY9NXQlBW2kZsSxCJft+KHN8t9XWzIvFxtPHnBOAXpVsdxZKZFbRUC8TsNKajMw==", + "dev": true, + "requires": { + "@babel/compat-data": "^7.9.6", + "browserslist": "^4.11.1", + "invariant": "^2.2.4", + "levenary": "^1.1.1", + "semver": "^5.5.0" + } + }, + "@babel/helper-create-regexp-features-plugin": { + "version": "7.8.8", + "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.8.8.tgz", + "integrity": "sha512-LYVPdwkrQEiX9+1R29Ld/wTrmQu1SSKYnuOk3g0CkcZMA1p0gsNxJFj/3gBdaJ7Cg0Fnek5z0DsMULePP7Lrqg==", + "dev": true, + "requires": { + "@babel/helper-annotate-as-pure": "^7.8.3", + "@babel/helper-regex": "^7.8.3", + "regexpu-core": "^4.7.0" + } + }, + "@babel/helper-define-map": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-define-map/-/helper-define-map-7.8.3.tgz", + "integrity": "sha512-PoeBYtxoZGtct3md6xZOCWPcKuMuk3IHhgxsRRNtnNShebf4C8YonTSblsK4tvDbm+eJAw2HAPOfCr+Q/YRG/g==", + "dev": true, + "requires": { + "@babel/helper-function-name": "^7.8.3", + "@babel/types": "^7.8.3", + "lodash": "^4.17.13" + } + }, + "@babel/helper-explode-assignable-expression": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.8.3.tgz", + "integrity": "sha512-N+8eW86/Kj147bO9G2uclsg5pwfs/fqqY5rwgIL7eTBklgXjcOJ3btzS5iM6AitJcftnY7pm2lGsrJVYLGjzIw==", + "dev": true, + "requires": { + "@babel/traverse": "^7.8.3", + "@babel/types": "^7.8.3" + } + }, + "@babel/helper-function-name": { + "version": "7.9.5", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.9.5.tgz", + "integrity": "sha512-JVcQZeXM59Cd1qanDUxv9fgJpt3NeKUaqBqUEvfmQ+BCOKq2xUgaWZW2hr0dkbyJgezYuplEoh5knmrnS68efw==", + "dev": true, + "requires": { + "@babel/helper-get-function-arity": "^7.8.3", + "@babel/template": "^7.8.3", + "@babel/types": "^7.9.5" + }, + "dependencies": { + "@babel/helper-validator-identifier": { + "version": "7.9.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.9.5.tgz", + "integrity": "sha512-/8arLKUFq882w4tWGj9JYzRpAlZgiWUJ+dtteNTDqrRBz9Iguck9Rn3ykuBDoUwh2TO4tSAJlrxDUOXWklJe4g==", + "dev": true + }, + "@babel/types": { + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.9.6.tgz", + "integrity": "sha512-qxXzvBO//jO9ZnoasKF1uJzHd2+M6Q2ZPIVfnFps8JJvXy0ZBbwbNOmE6SGIY5XOY6d1Bo5lb9d9RJ8nv3WSeA==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.9.5", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + } + } + }, + "@babel/helper-get-function-arity": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.8.3.tgz", + "integrity": "sha512-FVDR+Gd9iLjUMY1fzE2SR0IuaJToR4RkCDARVfsBBPSP53GEqSFjD8gNyxg246VUyc/ALRxFaAK8rVG7UT7xRA==", + "dev": true, + "requires": { + "@babel/types": "^7.8.3" + } + }, + "@babel/helper-hoist-variables": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.8.3.tgz", + "integrity": "sha512-ky1JLOjcDUtSc+xkt0xhYff7Z6ILTAHKmZLHPxAhOP0Nd77O+3nCsd6uSVYur6nJnCI029CrNbYlc0LoPfAPQg==", + "dev": true, + "requires": { + "@babel/types": "^7.8.3" + } + }, + "@babel/helper-member-expression-to-functions": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.8.3.tgz", + "integrity": "sha512-fO4Egq88utkQFjbPrSHGmGLFqmrshs11d46WI+WZDESt7Wu7wN2G2Iu+NMMZJFDOVRHAMIkB5SNh30NtwCA7RA==", + "dev": true, + "requires": { + "@babel/types": "^7.8.3" + } + }, + "@babel/helper-module-imports": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.8.3.tgz", + "integrity": "sha512-R0Bx3jippsbAEtzkpZ/6FIiuzOURPcMjHp+Z6xPe6DtApDJx+w7UYyOLanZqO8+wKR9G10s/FmHXvxaMd9s6Kg==", + "dev": true, + "requires": { + "@babel/types": "^7.8.3" + } + }, + "@babel/helper-module-transforms": { + "version": "7.9.0", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.9.0.tgz", + "integrity": "sha512-0FvKyu0gpPfIQ8EkxlrAydOWROdHpBmiCiRwLkUiBGhCUPRRbVD2/tm3sFr/c/GWFrQ/ffutGUAnx7V0FzT2wA==", + "dev": true, + "requires": { + "@babel/helper-module-imports": "^7.8.3", + "@babel/helper-replace-supers": "^7.8.6", + "@babel/helper-simple-access": "^7.8.3", + "@babel/helper-split-export-declaration": "^7.8.3", + "@babel/template": "^7.8.6", + "@babel/types": "^7.9.0", + "lodash": "^4.17.13" + } + }, + "@babel/helper-optimise-call-expression": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.8.3.tgz", + "integrity": "sha512-Kag20n86cbO2AvHca6EJsvqAd82gc6VMGule4HwebwMlwkpXuVqrNRj6CkCV2sKxgi9MyAUnZVnZ6lJ1/vKhHQ==", + "dev": true, + "requires": { + "@babel/types": "^7.8.3" + } + }, + "@babel/helper-plugin-utils": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.8.3.tgz", + "integrity": "sha512-j+fq49Xds2smCUNYmEHF9kGNkhbet6yVIBp4e6oeQpH1RUs/Ir06xUKzDjDkGcaaokPiTNs2JBWHjaE4csUkZQ==", + "dev": true + }, + "@babel/helper-regex": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-regex/-/helper-regex-7.8.3.tgz", + "integrity": "sha512-BWt0QtYv/cg/NecOAZMdcn/waj/5P26DR4mVLXfFtDokSR6fyuG0Pj+e2FqtSME+MqED1khnSMulkmGl8qWiUQ==", + "dev": true, + "requires": { + "lodash": "^4.17.13" + } + }, + "@babel/helper-remap-async-to-generator": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.8.3.tgz", + "integrity": "sha512-kgwDmw4fCg7AVgS4DukQR/roGp+jP+XluJE5hsRZwxCYGg+Rv9wSGErDWhlI90FODdYfd4xG4AQRiMDjjN0GzA==", + "dev": true, + "requires": { + "@babel/helper-annotate-as-pure": "^7.8.3", + "@babel/helper-wrap-function": "^7.8.3", + "@babel/template": "^7.8.3", + "@babel/traverse": "^7.8.3", + "@babel/types": "^7.8.3" + } + }, + "@babel/helper-replace-supers": { + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.9.6.tgz", + "integrity": "sha512-qX+chbxkbArLyCImk3bWV+jB5gTNU/rsze+JlcF6Nf8tVTigPJSI1o1oBow/9Resa1yehUO9lIipsmu9oG4RzA==", + "dev": true, + "requires": { + "@babel/helper-member-expression-to-functions": "^7.8.3", + "@babel/helper-optimise-call-expression": "^7.8.3", + "@babel/traverse": "^7.9.6", + "@babel/types": "^7.9.6" + }, + "dependencies": { + "@babel/helper-validator-identifier": { + "version": "7.9.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.9.5.tgz", + "integrity": "sha512-/8arLKUFq882w4tWGj9JYzRpAlZgiWUJ+dtteNTDqrRBz9Iguck9Rn3ykuBDoUwh2TO4tSAJlrxDUOXWklJe4g==", + "dev": true + }, + "@babel/types": { + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.9.6.tgz", + "integrity": "sha512-qxXzvBO//jO9ZnoasKF1uJzHd2+M6Q2ZPIVfnFps8JJvXy0ZBbwbNOmE6SGIY5XOY6d1Bo5lb9d9RJ8nv3WSeA==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.9.5", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + } + } + }, + "@babel/helper-simple-access": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.8.3.tgz", + "integrity": "sha512-VNGUDjx5cCWg4vvCTR8qQ7YJYZ+HBjxOgXEl7ounz+4Sn7+LMD3CFrCTEU6/qXKbA2nKg21CwhhBzO0RpRbdCw==", + "dev": true, + "requires": { + "@babel/template": "^7.8.3", + "@babel/types": "^7.8.3" + } + }, + "@babel/helper-split-export-declaration": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.8.3.tgz", + "integrity": "sha512-3x3yOeyBhW851hroze7ElzdkeRXQYQbFIb7gLK1WQYsw2GWDay5gAJNw1sWJ0VFP6z5J1whqeXH/WCdCjZv6dA==", + "dev": true, + "requires": { + "@babel/types": "^7.8.3" + } + }, + "@babel/helper-validator-identifier": { + "version": "7.9.0", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.9.0.tgz", + "integrity": "sha512-6G8bQKjOh+of4PV/ThDm/rRqlU7+IGoJuofpagU5GlEl29Vv0RGqqt86ZGRV8ZuSOY3o+8yXl5y782SMcG7SHw==", + "dev": true + }, + "@babel/helper-wrap-function": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.8.3.tgz", + "integrity": "sha512-LACJrbUET9cQDzb6kG7EeD7+7doC3JNvUgTEQOx2qaO1fKlzE/Bf05qs9w1oXQMmXlPO65lC3Tq9S6gZpTErEQ==", + "dev": true, + "requires": { + "@babel/helper-function-name": "^7.8.3", + "@babel/template": "^7.8.3", + "@babel/traverse": "^7.8.3", + "@babel/types": "^7.8.3" + } + }, + "@babel/helpers": { + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.9.6.tgz", + "integrity": "sha512-tI4bUbldloLcHWoRUMAj4g1bF313M/o6fBKhIsb3QnGVPwRm9JsNf/gqMkQ7zjqReABiffPV6RWj7hEglID5Iw==", + "dev": true, + "requires": { + "@babel/template": "^7.8.3", + "@babel/traverse": "^7.9.6", + "@babel/types": "^7.9.6" + }, + "dependencies": { + "@babel/helper-validator-identifier": { + "version": "7.9.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.9.5.tgz", + "integrity": "sha512-/8arLKUFq882w4tWGj9JYzRpAlZgiWUJ+dtteNTDqrRBz9Iguck9Rn3ykuBDoUwh2TO4tSAJlrxDUOXWklJe4g==", + "dev": true + }, + "@babel/types": { + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.9.6.tgz", + "integrity": "sha512-qxXzvBO//jO9ZnoasKF1uJzHd2+M6Q2ZPIVfnFps8JJvXy0ZBbwbNOmE6SGIY5XOY6d1Bo5lb9d9RJ8nv3WSeA==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.9.5", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + } + } + }, + "@babel/highlight": { + "version": "7.9.0", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.9.0.tgz", + "integrity": "sha512-lJZPilxX7Op3Nv/2cvFdnlepPXDxi29wxteT57Q965oc5R9v86ztx0jfxVrTcBk8C2kcPkkDa2Z4T3ZsPPVWsQ==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.9.0", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + } + }, + "@babel/parser": { + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.9.6.tgz", + "integrity": "sha512-AoeIEJn8vt+d/6+PXDRPaksYhnlbMIiejioBZvvMQsOjW/JYK6k/0dKnvvP3EhK5GfMBWDPtrxRtegWdAcdq9Q==", + "dev": true + }, + "@babel/plugin-proposal-async-generator-functions": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.8.3.tgz", + "integrity": "sha512-NZ9zLv848JsV3hs8ryEh7Uaz/0KsmPLqv0+PdkDJL1cJy0K4kOCFa8zc1E3mp+RHPQcpdfb/6GovEsW4VDrOMw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3", + "@babel/helper-remap-async-to-generator": "^7.8.3", + "@babel/plugin-syntax-async-generators": "^7.8.0" + } + }, + "@babel/plugin-proposal-dynamic-import": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.8.3.tgz", + "integrity": "sha512-NyaBbyLFXFLT9FP+zk0kYlUlA8XtCUbehs67F0nnEg7KICgMc2mNkIeu9TYhKzyXMkrapZFwAhXLdnt4IYHy1w==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3", + "@babel/plugin-syntax-dynamic-import": "^7.8.0" + } + }, + "@babel/plugin-proposal-json-strings": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.8.3.tgz", + "integrity": "sha512-KGhQNZ3TVCQG/MjRbAUwuH+14y9q0tpxs1nWWs3pbSleRdDro9SAMMDyye8HhY1gqZ7/NqIc8SKhya0wRDgP1Q==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3", + "@babel/plugin-syntax-json-strings": "^7.8.0" + } + }, + "@babel/plugin-proposal-nullish-coalescing-operator": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.8.3.tgz", + "integrity": "sha512-TS9MlfzXpXKt6YYomudb/KU7nQI6/xnapG6in1uZxoxDghuSMZsPb6D2fyUwNYSAp4l1iR7QtFOjkqcRYcUsfw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.0" + } + }, + "@babel/plugin-proposal-numeric-separator": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.8.3.tgz", + "integrity": "sha512-jWioO1s6R/R+wEHizfaScNsAx+xKgwTLNXSh7tTC4Usj3ItsPEhYkEpU4h+lpnBwq7NBVOJXfO6cRFYcX69JUQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.8.3" + } + }, + "@babel/plugin-proposal-object-rest-spread": { + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.9.6.tgz", + "integrity": "sha512-Ga6/fhGqA9Hj+y6whNpPv8psyaK5xzrQwSPsGPloVkvmH+PqW1ixdnfJ9uIO06OjQNYol3PMnfmJ8vfZtkzF+A==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3", + "@babel/plugin-syntax-object-rest-spread": "^7.8.0", + "@babel/plugin-transform-parameters": "^7.9.5" + } + }, + "@babel/plugin-proposal-optional-catch-binding": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.8.3.tgz", + "integrity": "sha512-0gkX7J7E+AtAw9fcwlVQj8peP61qhdg/89D5swOkjYbkboA2CVckn3kiyum1DE0wskGb7KJJxBdyEBApDLLVdw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.0" + } + }, + "@babel/plugin-proposal-optional-chaining": { + "version": "7.9.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.9.0.tgz", + "integrity": "sha512-NDn5tu3tcv4W30jNhmc2hyD5c56G6cXx4TesJubhxrJeCvuuMpttxr0OnNCqbZGhFjLrg+NIhxxC+BK5F6yS3w==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3", + "@babel/plugin-syntax-optional-chaining": "^7.8.0" + } + }, + "@babel/plugin-proposal-unicode-property-regex": { + "version": "7.8.8", + "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.8.8.tgz", + "integrity": "sha512-EVhjVsMpbhLw9ZfHWSx2iy13Q8Z/eg8e8ccVWt23sWQK5l1UdkoLJPN5w69UA4uITGBnEZD2JOe4QOHycYKv8A==", + "dev": true, + "requires": { + "@babel/helper-create-regexp-features-plugin": "^7.8.8", + "@babel/helper-plugin-utils": "^7.8.3" + } + }, + "@babel/plugin-syntax-async-generators": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", + "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-dynamic-import": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz", + "integrity": "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-json-strings": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", + "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-nullish-coalescing-operator": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", + "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-numeric-separator": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.8.3.tgz", + "integrity": "sha512-H7dCMAdN83PcCmqmkHB5dtp+Xa9a6LKSvA2hiFBC/5alSHxM5VgWZXFqDi0YFe8XNGT6iCa+z4V4zSt/PdZ7Dw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3" + } + }, + "@babel/plugin-syntax-object-rest-spread": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", + "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-optional-catch-binding": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", + "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-optional-chaining": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", + "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.0" + } + }, + "@babel/plugin-syntax-top-level-await": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.8.3.tgz", + "integrity": "sha512-kwj1j9lL/6Wd0hROD3b/OZZ7MSrZLqqn9RAZ5+cYYsflQ9HZBIKCUkr3+uL1MEJ1NePiUbf98jjiMQSv0NMR9g==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3" + } + }, + "@babel/plugin-transform-arrow-functions": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.8.3.tgz", + "integrity": "sha512-0MRF+KC8EqH4dbuITCWwPSzsyO3HIWWlm30v8BbbpOrS1B++isGxPnnuq/IZvOX5J2D/p7DQalQm+/2PnlKGxg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3" + } + }, + "@babel/plugin-transform-async-to-generator": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.8.3.tgz", + "integrity": "sha512-imt9tFLD9ogt56Dd5CI/6XgpukMwd/fLGSrix2httihVe7LOGVPhyhMh1BU5kDM7iHD08i8uUtmV2sWaBFlHVQ==", + "dev": true, + "requires": { + "@babel/helper-module-imports": "^7.8.3", + "@babel/helper-plugin-utils": "^7.8.3", + "@babel/helper-remap-async-to-generator": "^7.8.3" + } + }, + "@babel/plugin-transform-block-scoped-functions": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.8.3.tgz", + "integrity": "sha512-vo4F2OewqjbB1+yaJ7k2EJFHlTP3jR634Z9Cj9itpqNjuLXvhlVxgnjsHsdRgASR8xYDrx6onw4vW5H6We0Jmg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3" + } + }, + "@babel/plugin-transform-block-scoping": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.8.3.tgz", + "integrity": "sha512-pGnYfm7RNRgYRi7bids5bHluENHqJhrV4bCZRwc5GamaWIIs07N4rZECcmJL6ZClwjDz1GbdMZFtPs27hTB06w==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3", + "lodash": "^4.17.13" + } + }, + "@babel/plugin-transform-classes": { + "version": "7.9.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.9.5.tgz", + "integrity": "sha512-x2kZoIuLC//O5iA7PEvecB105o7TLzZo8ofBVhP79N+DO3jaX+KYfww9TQcfBEZD0nikNyYcGB1IKtRq36rdmg==", + "dev": true, + "requires": { + "@babel/helper-annotate-as-pure": "^7.8.3", + "@babel/helper-define-map": "^7.8.3", + "@babel/helper-function-name": "^7.9.5", + "@babel/helper-optimise-call-expression": "^7.8.3", + "@babel/helper-plugin-utils": "^7.8.3", + "@babel/helper-replace-supers": "^7.8.6", + "@babel/helper-split-export-declaration": "^7.8.3", + "globals": "^11.1.0" + } + }, + "@babel/plugin-transform-computed-properties": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.8.3.tgz", + "integrity": "sha512-O5hiIpSyOGdrQZRQ2ccwtTVkgUDBBiCuK//4RJ6UfePllUTCENOzKxfh6ulckXKc0DixTFLCfb2HVkNA7aDpzA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3" + } + }, + "@babel/plugin-transform-destructuring": { + "version": "7.9.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.9.5.tgz", + "integrity": "sha512-j3OEsGel8nHL/iusv/mRd5fYZ3DrOxWC82x0ogmdN/vHfAP4MYw+AFKYanzWlktNwikKvlzUV//afBW5FTp17Q==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3" + } + }, + "@babel/plugin-transform-dotall-regex": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.8.3.tgz", + "integrity": "sha512-kLs1j9Nn4MQoBYdRXH6AeaXMbEJFaFu/v1nQkvib6QzTj8MZI5OQzqmD83/2jEM1z0DLilra5aWO5YpyC0ALIw==", + "dev": true, + "requires": { + "@babel/helper-create-regexp-features-plugin": "^7.8.3", + "@babel/helper-plugin-utils": "^7.8.3" + } + }, + "@babel/plugin-transform-duplicate-keys": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.8.3.tgz", + "integrity": "sha512-s8dHiBUbcbSgipS4SMFuWGqCvyge5V2ZeAWzR6INTVC3Ltjig/Vw1G2Gztv0vU/hRG9X8IvKvYdoksnUfgXOEQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3" + } + }, + "@babel/plugin-transform-exponentiation-operator": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.8.3.tgz", + "integrity": "sha512-zwIpuIymb3ACcInbksHaNcR12S++0MDLKkiqXHl3AzpgdKlFNhog+z/K0+TGW+b0w5pgTq4H6IwV/WhxbGYSjQ==", + "dev": true, + "requires": { + "@babel/helper-builder-binary-assignment-operator-visitor": "^7.8.3", + "@babel/helper-plugin-utils": "^7.8.3" + } + }, + "@babel/plugin-transform-for-of": { + "version": "7.9.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.9.0.tgz", + "integrity": "sha512-lTAnWOpMwOXpyDx06N+ywmF3jNbafZEqZ96CGYabxHrxNX8l5ny7dt4bK/rGwAh9utyP2b2Hv7PlZh1AAS54FQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3" + } + }, + "@babel/plugin-transform-function-name": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.8.3.tgz", + "integrity": "sha512-rO/OnDS78Eifbjn5Py9v8y0aR+aSYhDhqAwVfsTl0ERuMZyr05L1aFSCJnbv2mmsLkit/4ReeQ9N2BgLnOcPCQ==", + "dev": true, + "requires": { + "@babel/helper-function-name": "^7.8.3", + "@babel/helper-plugin-utils": "^7.8.3" + } + }, + "@babel/plugin-transform-literals": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.8.3.tgz", + "integrity": "sha512-3Tqf8JJ/qB7TeldGl+TT55+uQei9JfYaregDcEAyBZ7akutriFrt6C/wLYIer6OYhleVQvH/ntEhjE/xMmy10A==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3" + } + }, + "@babel/plugin-transform-member-expression-literals": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.8.3.tgz", + "integrity": "sha512-3Wk2EXhnw+rP+IDkK6BdtPKsUE5IeZ6QOGrPYvw52NwBStw9V1ZVzxgK6fSKSxqUvH9eQPR3tm3cOq79HlsKYA==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3" + } + }, + "@babel/plugin-transform-modules-amd": { + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.9.6.tgz", + "integrity": "sha512-zoT0kgC3EixAyIAU+9vfaUVKTv9IxBDSabgHoUCBP6FqEJ+iNiN7ip7NBKcYqbfUDfuC2mFCbM7vbu4qJgOnDw==", + "dev": true, + "requires": { + "@babel/helper-module-transforms": "^7.9.0", + "@babel/helper-plugin-utils": "^7.8.3", + "babel-plugin-dynamic-import-node": "^2.3.3" + } + }, + "@babel/plugin-transform-modules-commonjs": { + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.9.6.tgz", + "integrity": "sha512-7H25fSlLcn+iYimmsNe3uK1at79IE6SKW9q0/QeEHTMC9MdOZ+4bA+T1VFB5fgOqBWoqlifXRzYD0JPdmIrgSQ==", + "dev": true, + "requires": { + "@babel/helper-module-transforms": "^7.9.0", + "@babel/helper-plugin-utils": "^7.8.3", + "@babel/helper-simple-access": "^7.8.3", + "babel-plugin-dynamic-import-node": "^2.3.3" + } + }, + "@babel/plugin-transform-modules-systemjs": { + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.9.6.tgz", + "integrity": "sha512-NW5XQuW3N2tTHim8e1b7qGy7s0kZ2OH3m5octc49K1SdAKGxYxeIx7hiIz05kS1R2R+hOWcsr1eYwcGhrdHsrg==", + "dev": true, + "requires": { + "@babel/helper-hoist-variables": "^7.8.3", + "@babel/helper-module-transforms": "^7.9.0", + "@babel/helper-plugin-utils": "^7.8.3", + "babel-plugin-dynamic-import-node": "^2.3.3" + } + }, + "@babel/plugin-transform-modules-umd": { + "version": "7.9.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.9.0.tgz", + "integrity": "sha512-uTWkXkIVtg/JGRSIABdBoMsoIeoHQHPTL0Y2E7xf5Oj7sLqwVsNXOkNk0VJc7vF0IMBsPeikHxFjGe+qmwPtTQ==", + "dev": true, + "requires": { + "@babel/helper-module-transforms": "^7.9.0", + "@babel/helper-plugin-utils": "^7.8.3" + } + }, + "@babel/plugin-transform-named-capturing-groups-regex": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.8.3.tgz", + "integrity": "sha512-f+tF/8UVPU86TrCb06JoPWIdDpTNSGGcAtaD9mLP0aYGA0OS0j7j7DHJR0GTFrUZPUU6loZhbsVZgTh0N+Qdnw==", + "dev": true, + "requires": { + "@babel/helper-create-regexp-features-plugin": "^7.8.3" + } + }, + "@babel/plugin-transform-new-target": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.8.3.tgz", + "integrity": "sha512-QuSGysibQpyxexRyui2vca+Cmbljo8bcRckgzYV4kRIsHpVeyeC3JDO63pY+xFZ6bWOBn7pfKZTqV4o/ix9sFw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3" + } + }, + "@babel/plugin-transform-object-super": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.8.3.tgz", + "integrity": "sha512-57FXk+gItG/GejofIyLIgBKTas4+pEU47IXKDBWFTxdPd7F80H8zybyAY7UoblVfBhBGs2EKM+bJUu2+iUYPDQ==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3", + "@babel/helper-replace-supers": "^7.8.3" + } + }, + "@babel/plugin-transform-parameters": { + "version": "7.9.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.9.5.tgz", + "integrity": "sha512-0+1FhHnMfj6lIIhVvS4KGQJeuhe1GI//h5uptK4PvLt+BGBxsoUJbd3/IW002yk//6sZPlFgsG1hY6OHLcy6kA==", + "dev": true, + "requires": { + "@babel/helper-get-function-arity": "^7.8.3", + "@babel/helper-plugin-utils": "^7.8.3" + } + }, + "@babel/plugin-transform-property-literals": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.8.3.tgz", + "integrity": "sha512-uGiiXAZMqEoQhRWMK17VospMZh5sXWg+dlh2soffpkAl96KAm+WZuJfa6lcELotSRmooLqg0MWdH6UUq85nmmg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3" + } + }, + "@babel/plugin-transform-regenerator": { + "version": "7.8.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.8.7.tgz", + "integrity": "sha512-TIg+gAl4Z0a3WmD3mbYSk+J9ZUH6n/Yc57rtKRnlA/7rcCvpekHXe0CMZHP1gYp7/KLe9GHTuIba0vXmls6drA==", + "dev": true, + "requires": { + "regenerator-transform": "^0.14.2" + } + }, + "@babel/plugin-transform-reserved-words": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.8.3.tgz", + "integrity": "sha512-mwMxcycN3omKFDjDQUl+8zyMsBfjRFr0Zn/64I41pmjv4NJuqcYlEtezwYtw9TFd9WR1vN5kiM+O0gMZzO6L0A==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3" + } + }, + "@babel/plugin-transform-shorthand-properties": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.8.3.tgz", + "integrity": "sha512-I9DI6Odg0JJwxCHzbzW08ggMdCezoWcuQRz3ptdudgwaHxTjxw5HgdFJmZIkIMlRymL6YiZcped4TTCB0JcC8w==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3" + } + }, + "@babel/plugin-transform-spread": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.8.3.tgz", + "integrity": "sha512-CkuTU9mbmAoFOI1tklFWYYbzX5qCIZVXPVy0jpXgGwkplCndQAa58s2jr66fTeQnA64bDox0HL4U56CFYoyC7g==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3" + } + }, + "@babel/plugin-transform-sticky-regex": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.8.3.tgz", + "integrity": "sha512-9Spq0vGCD5Bb4Z/ZXXSK5wbbLFMG085qd2vhL1JYu1WcQ5bXqZBAYRzU1d+p79GcHs2szYv5pVQCX13QgldaWw==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3", + "@babel/helper-regex": "^7.8.3" + } + }, + "@babel/plugin-transform-template-literals": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.8.3.tgz", + "integrity": "sha512-820QBtykIQOLFT8NZOcTRJ1UNuztIELe4p9DCgvj4NK+PwluSJ49we7s9FB1HIGNIYT7wFUJ0ar2QpCDj0escQ==", + "dev": true, + "requires": { + "@babel/helper-annotate-as-pure": "^7.8.3", + "@babel/helper-plugin-utils": "^7.8.3" + } + }, + "@babel/plugin-transform-typeof-symbol": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.8.4.tgz", + "integrity": "sha512-2QKyfjGdvuNfHsb7qnBBlKclbD4CfshH2KvDabiijLMGXPHJXGxtDzwIF7bQP+T0ysw8fYTtxPafgfs/c1Lrqg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.8.3" + } + }, + "@babel/plugin-transform-unicode-regex": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.8.3.tgz", + "integrity": "sha512-+ufgJjYdmWfSQ+6NS9VGUR2ns8cjJjYbrbi11mZBTaWm+Fui/ncTLFF28Ei1okavY+xkojGr1eJxNsWYeA5aZw==", + "dev": true, + "requires": { + "@babel/helper-create-regexp-features-plugin": "^7.8.3", + "@babel/helper-plugin-utils": "^7.8.3" + } + }, + "@babel/preset-env": { + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.9.6.tgz", + "integrity": "sha512-0gQJ9RTzO0heXOhzftog+a/WyOuqMrAIugVYxMYf83gh1CQaQDjMtsOpqOwXyDL/5JcWsrCm8l4ju8QC97O7EQ==", + "dev": true, + "requires": { + "@babel/compat-data": "^7.9.6", + "@babel/helper-compilation-targets": "^7.9.6", + "@babel/helper-module-imports": "^7.8.3", + "@babel/helper-plugin-utils": "^7.8.3", + "@babel/plugin-proposal-async-generator-functions": "^7.8.3", + "@babel/plugin-proposal-dynamic-import": "^7.8.3", + "@babel/plugin-proposal-json-strings": "^7.8.3", + "@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3", + "@babel/plugin-proposal-numeric-separator": "^7.8.3", + "@babel/plugin-proposal-object-rest-spread": "^7.9.6", + "@babel/plugin-proposal-optional-catch-binding": "^7.8.3", + "@babel/plugin-proposal-optional-chaining": "^7.9.0", + "@babel/plugin-proposal-unicode-property-regex": "^7.8.3", + "@babel/plugin-syntax-async-generators": "^7.8.0", + "@babel/plugin-syntax-dynamic-import": "^7.8.0", + "@babel/plugin-syntax-json-strings": "^7.8.0", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.0", + "@babel/plugin-syntax-numeric-separator": "^7.8.0", + "@babel/plugin-syntax-object-rest-spread": "^7.8.0", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.0", + "@babel/plugin-syntax-optional-chaining": "^7.8.0", + "@babel/plugin-syntax-top-level-await": "^7.8.3", + "@babel/plugin-transform-arrow-functions": "^7.8.3", + "@babel/plugin-transform-async-to-generator": "^7.8.3", + "@babel/plugin-transform-block-scoped-functions": "^7.8.3", + "@babel/plugin-transform-block-scoping": "^7.8.3", + "@babel/plugin-transform-classes": "^7.9.5", + "@babel/plugin-transform-computed-properties": "^7.8.3", + "@babel/plugin-transform-destructuring": "^7.9.5", + "@babel/plugin-transform-dotall-regex": "^7.8.3", + "@babel/plugin-transform-duplicate-keys": "^7.8.3", + "@babel/plugin-transform-exponentiation-operator": "^7.8.3", + "@babel/plugin-transform-for-of": "^7.9.0", + "@babel/plugin-transform-function-name": "^7.8.3", + "@babel/plugin-transform-literals": "^7.8.3", + "@babel/plugin-transform-member-expression-literals": "^7.8.3", + "@babel/plugin-transform-modules-amd": "^7.9.6", + "@babel/plugin-transform-modules-commonjs": "^7.9.6", + "@babel/plugin-transform-modules-systemjs": "^7.9.6", + "@babel/plugin-transform-modules-umd": "^7.9.0", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.8.3", + "@babel/plugin-transform-new-target": "^7.8.3", + "@babel/plugin-transform-object-super": "^7.8.3", + "@babel/plugin-transform-parameters": "^7.9.5", + "@babel/plugin-transform-property-literals": "^7.8.3", + "@babel/plugin-transform-regenerator": "^7.8.7", + "@babel/plugin-transform-reserved-words": "^7.8.3", + "@babel/plugin-transform-shorthand-properties": "^7.8.3", + "@babel/plugin-transform-spread": "^7.8.3", + "@babel/plugin-transform-sticky-regex": "^7.8.3", + "@babel/plugin-transform-template-literals": "^7.8.3", + "@babel/plugin-transform-typeof-symbol": "^7.8.4", + "@babel/plugin-transform-unicode-regex": "^7.8.3", + "@babel/preset-modules": "^0.1.3", + "@babel/types": "^7.9.6", + "browserslist": "^4.11.1", + "core-js-compat": "^3.6.2", + "invariant": "^2.2.2", + "levenary": "^1.1.1", + "semver": "^5.5.0" + }, + "dependencies": { + "@babel/helper-validator-identifier": { + "version": "7.9.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.9.5.tgz", + "integrity": "sha512-/8arLKUFq882w4tWGj9JYzRpAlZgiWUJ+dtteNTDqrRBz9Iguck9Rn3ykuBDoUwh2TO4tSAJlrxDUOXWklJe4g==", + "dev": true + }, + "@babel/types": { + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.9.6.tgz", + "integrity": "sha512-qxXzvBO//jO9ZnoasKF1uJzHd2+M6Q2ZPIVfnFps8JJvXy0ZBbwbNOmE6SGIY5XOY6d1Bo5lb9d9RJ8nv3WSeA==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.9.5", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + } + } + }, + "@babel/preset-modules": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.3.tgz", + "integrity": "sha512-Ra3JXOHBq2xd56xSF7lMKXdjBn3T772Y1Wet3yWnkDly9zHvJki029tAFzvAAK5cf4YV3yoxuP61crYRol6SVg==", + "dev": true, + "requires": { + "@babel/helper-plugin-utils": "^7.0.0", + "@babel/plugin-proposal-unicode-property-regex": "^7.4.4", + "@babel/plugin-transform-dotall-regex": "^7.4.4", + "@babel/types": "^7.4.4", + "esutils": "^2.0.2" + } + }, + "@babel/runtime": { + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.9.6.tgz", + "integrity": "sha512-64AF1xY3OAkFHqOb9s4jpgk1Mm5vDZ4L3acHvAml+53nO1XbXLuDodsVpO4OIUsmemlUHMxNdYMNJmsvOwLrvQ==", + "dev": true, + "requires": { + "regenerator-runtime": "^0.13.4" + } + }, + "@babel/template": { + "version": "7.8.6", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.8.6.tgz", + "integrity": "sha512-zbMsPMy/v0PWFZEhQJ66bqjhH+z0JgMoBWuikXybgG3Gkd/3t5oQ1Rw2WQhnSrsOmsKXnZOx15tkC4qON/+JPg==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.8.3", + "@babel/parser": "^7.8.6", + "@babel/types": "^7.8.6" + } + }, + "@babel/traverse": { + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.9.6.tgz", + "integrity": "sha512-b3rAHSjbxy6VEAvlxM8OV/0X4XrG72zoxme6q1MOoe2vd0bEc+TwayhuC1+Dfgqh1QEG+pj7atQqvUprHIccsg==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.8.3", + "@babel/generator": "^7.9.6", + "@babel/helper-function-name": "^7.9.5", + "@babel/helper-split-export-declaration": "^7.8.3", + "@babel/parser": "^7.9.6", + "@babel/types": "^7.9.6", + "debug": "^4.1.0", + "globals": "^11.1.0", + "lodash": "^4.17.13" + }, + "dependencies": { + "@babel/helper-validator-identifier": { + "version": "7.9.5", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.9.5.tgz", + "integrity": "sha512-/8arLKUFq882w4tWGj9JYzRpAlZgiWUJ+dtteNTDqrRBz9Iguck9Rn3ykuBDoUwh2TO4tSAJlrxDUOXWklJe4g==", + "dev": true + }, + "@babel/types": { + "version": "7.9.6", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.9.6.tgz", + "integrity": "sha512-qxXzvBO//jO9ZnoasKF1uJzHd2+M6Q2ZPIVfnFps8JJvXy0ZBbwbNOmE6SGIY5XOY6d1Bo5lb9d9RJ8nv3WSeA==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.9.5", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + } + } + }, + "@babel/types": { + "version": "7.9.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.9.0.tgz", + "integrity": "sha512-BS9JKfXkzzJl8RluW4JGknzpiUV7ZrvTayM6yfqLTVBEnFtyowVIOu6rqxRd5cVO6yGoWf4T8u8dgK9oB+GCng==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.9.0", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } + }, + "@markedjs/html-differ": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@markedjs/html-differ/-/html-differ-3.0.2.tgz", + "integrity": "sha512-WOJPppEbeovRTGaw6le+82cYyGB7tGrYtNmRUVMBTmiEeQQRILLta/Mbre6BUJBNlBDkPQqm1KoHImKVChLiOw==", + "dev": true, + "requires": { + "chalk": "^4.0.0", + "coa": "^2.0.2", + "diff": "^4.0.2", + "parse5-sax-parser": "^5.1.1" + }, + "dependencies": { + "ansi-styles": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", + "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", + "dev": true, + "requires": { + "@types/color-name": "^1.1.1", + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.0.0.tgz", + "integrity": "sha512-N9oWFcegS0sFr9oh1oz2d7Npos6vNoWW9HvtCg5N1KRFpUhaAhvTv5Y58g880fZaEYSNm3qDz8SU1UrGvp+n7A==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "supports-color": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz", + "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "@types/color-name": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@types/color-name/-/color-name-1.1.1.tgz", + "integrity": "sha512-rr+OQyAjxze7GgWrSaJwydHStIhHq2lvY3BOC2Mj7KnzI7XK0Uw1TOOdI9lDoajEbSWLiYgoo4f1R51erQfhPQ==", + "dev": true + }, + "@types/concat-stream": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@types/concat-stream/-/concat-stream-1.6.0.tgz", + "integrity": "sha1-OU2+C7X+5Gs42JZzXoto7yOQ0A0=", + "dev": true, + "requires": { + "@types/node": "*" + } + }, + "@types/estree": { + "version": "0.0.39", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", + "integrity": "sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==", + "dev": true + }, + "@types/form-data": { + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/@types/form-data/-/form-data-0.0.33.tgz", + "integrity": "sha1-yayFsqX9GENbjIXZ7LUObWyJP/g=", + "dev": true, + "requires": { + "@types/node": "*" + } + }, + "@types/node": { + "version": "9.6.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-9.6.5.tgz", + "integrity": "sha512-NOLEgsT6UiDTjnWG5Hd2Mg25LRyz/oe8ql3wbjzgSFeRzRROhPmtlsvIrei4B46UjERF0td9SZ1ZXPLOdcrBHg==", + "dev": true + }, + "@types/q": { + "version": "1.5.4", + "resolved": "https://registry.npmjs.org/@types/q/-/q-1.5.4.tgz", + "integrity": "sha512-1HcDas8SEj4z1Wc696tH56G8OlRaH/sqZOynNNB+HF0WOeXPaxTtbYzJY2oEfiUxjSKjhCKr+MvR7dCHcEelug==", + "dev": true + }, + "@types/qs": { + "version": "6.5.3", + "resolved": "https://registry.npmjs.org/@types/qs/-/qs-6.5.3.tgz", + "integrity": "sha512-Jugo5V/1bS0fRhy2z8+cUAHEyWOATaz4rbyLVvcFs7+dXp5HfwpEwzF1Q11bB10ApUqHf+yTauxI0UXQDwGrbA==", + "dev": true + }, + "abbrev": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", + "dev": true + }, + "acorn": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.2.0.tgz", + "integrity": "sha512-apwXVmYVpQ34m/i71vrApRrRKCWQnZZF1+npOD0WV5xZFfwWOmKGQ2RWlfdy9vWITsenisM8M0Qeq8agcFHNiQ==", + "dev": true + }, + "acorn-jsx": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.2.0.tgz", + "integrity": "sha512-HiUX/+K2YpkpJ+SzBffkM/AQ2YE03S0U1kjTLVpoJdhZMOWy8qvXVN9JdLqv2QsaQ6MPYQIuNmwD8zOiYUofLQ==", + "dev": true + }, + "ajv": { + "version": "6.12.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.2.tgz", + "integrity": "sha512-k+V+hzjm5q/Mr8ef/1Y9goCmlsK4I6Sm74teeyGvFk1XrOsbsKLjEdrvny42CZ+a8sXbk8KWpY/bDwS+FLL2UQ==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "ansi-escapes": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.1.tgz", + "integrity": "sha512-JWF7ocqNrp8u9oqpgV+wH5ftbt+cfvv+PTjOvKLT3AdYly/LmORARfEVT1iyjwN+4MqE5UmVKoAdIBqeoCHgLA==", + "dev": true, + "requires": { + "type-fest": "^0.11.0" + }, + "dependencies": { + "type-fest": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.11.0.tgz", + "integrity": "sha512-OdjXJxnCN1AvyLSzeKIgXTXxV+99ZuXl3Hpo9XpJAv9MBcHrrJOQ5kV7ypXOuQie+AmWG25hLbiKdwYTifzcfQ==", + "dev": true + } + } + }, + "ansi-regex": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", + "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", + "dev": true + }, + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "argparse": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.9.tgz", + "integrity": "sha1-c9g7wmP4bpf4zE9rrhsOkKfSLIY=", + "dev": true, + "requires": { + "sprintf-js": "~1.0.2" + } + }, + "array-find-index": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz", + "integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=", + "dev": true + }, + "array-includes": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.1.tgz", + "integrity": "sha512-c2VXaCHl7zPsvpkFsw4nxvFie4fh1ur9bpcgsVkIjqn0H/Xwdg+7fv3n2r/isyS8EBj5b06M9kHyZuIr4El6WQ==", + "dev": true, + "requires": { + "define-properties": "^1.1.3", + "es-abstract": "^1.17.0", + "is-string": "^1.0.5" + } + }, + "array.prototype.flat": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.2.3.tgz", + "integrity": "sha512-gBlRZV0VSmfPIeWfuuy56XZMvbVfbEUnOXUvt3F/eUUUSyzlgLxhEX4YAEpxNAogRGehPSnfXyPtYyKAhkzQhQ==", + "dev": true, + "requires": { + "define-properties": "^1.1.3", + "es-abstract": "^1.17.0-next.1" + } + }, + "asap": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", + "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=", + "dev": true + }, + "astral-regex": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz", + "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==", + "dev": true + }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=", + "dev": true + }, + "babel-plugin-dynamic-import-node": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz", + "integrity": "sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==", + "dev": true, + "requires": { + "object.assign": "^4.1.0" + } + }, + "balanced-match": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", + "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=", + "dev": true + }, + "boolbase": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", + "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=", + "dev": true + }, + "brace-expansion": { + "version": "1.1.8", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.8.tgz", + "integrity": "sha1-wHshHHyVLsH479Uad+8NHTmQopI=", + "dev": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "browserslist": { + "version": "4.12.0", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.12.0.tgz", + "integrity": "sha512-UH2GkcEDSI0k/lRkuDSzFl9ZZ87skSy9w2XAn1MsZnL+4c4rqbBd3e82UWHbYDpztABrPBhZsTEeuxVfHppqDg==", + "dev": true, + "requires": { + "caniuse-lite": "^1.0.30001043", + "electron-to-chromium": "^1.3.413", + "node-releases": "^1.1.53", + "pkg-up": "^2.0.0" + } + }, + "buffer-from": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", + "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", + "dev": true + }, + "callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true + }, + "caniuse-lite": { + "version": "1.0.30001061", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001061.tgz", + "integrity": "sha512-SMICCeiNvMZnyXpuoO+ot7FHpMVPlrsR+HmfByj6nY4xYDHXLqMTbgH7ecEkDNXWkH1vaip+ZS0D7VTXwM1KYQ==", + "dev": true + }, + "caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=", + "dev": true + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "chardet": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", + "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", + "dev": true + }, + "cheerio": { + "version": "1.0.0-rc.3", + "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0-rc.3.tgz", + "integrity": "sha512-0td5ijfUPuubwLUu0OBoe98gZj8C/AA+RW3v67GPlGOrvxWjZmBXiBCRU+I8VEiNyJzjth40POfHiz2RB3gImA==", + "dev": true, + "requires": { + "css-select": "~1.2.0", + "dom-serializer": "~0.1.1", + "entities": "~1.1.1", + "htmlparser2": "^3.9.1", + "lodash": "^4.15.0", + "parse5": "^3.0.1" + }, + "dependencies": { + "parse5": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-3.0.3.tgz", + "integrity": "sha512-rgO9Zg5LLLkfJF9E6CCmXlSE4UVceloys8JrFqCcHloC3usd/kJCyPDwH2SOlzix2j3xaP9sUX3e8+kvkuleAA==", + "dev": true, + "requires": { + "@types/node": "*" + } + } + } + }, + "cli-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", + "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", + "dev": true, + "requires": { + "restore-cursor": "^3.1.0" + } + }, + "cli-width": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.1.tgz", + "integrity": "sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw==", + "dev": true + }, + "coa": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/coa/-/coa-2.0.2.tgz", + "integrity": "sha512-q5/jG+YQnSy4nRTV4F7lPepBJZ8qBNJJDBuJdoejDyLXgmL7IEo+Le2JDZudFTFt7mrCqIRaSjws4ygRCTCAXA==", + "dev": true, + "requires": { + "@types/q": "^1.5.1", + "chalk": "^2.4.1", + "q": "^1.1.2" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=", + "dev": true + }, + "combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "dev": true, + "requires": { + "delayed-stream": "~1.0.0" + } + }, + "commander": { + "version": "2.20.3", + "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + }, + "commenting": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/commenting/-/commenting-1.1.0.tgz", + "integrity": "sha512-YeNK4tavZwtH7jEgK1ZINXzLKm6DZdEMfsaaieOsCAN0S8vsY7UeuO3Q7d/M018EFgE+IeUAuBOKkFccBZsUZA==", + "dev": true + }, + "commonmark": { + "version": "0.29.1", + "resolved": "https://registry.npmjs.org/commonmark/-/commonmark-0.29.1.tgz", + "integrity": "sha512-DafPdNYFXoEhsSiR4O+dJ45UJBfDL4cBTks4B+agKiaWt7qjG0bIhg5xuCE0RqU71ikJcBIf4/sRHh9vYQVF8Q==", + "dev": true, + "requires": { + "entities": "~1.1.1", + "mdurl": "~1.0.1", + "minimist": "~1.2.0", + "string.prototype.repeat": "^0.2.0" + } + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true + }, + "concat-stream": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", + "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", + "dev": true, + "requires": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + }, + "dependencies": { + "readable-stream": { + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dev": true, + "requires": { + "safe-buffer": "~5.1.0" + } + } + } + }, + "contains-path": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/contains-path/-/contains-path-0.1.0.tgz", + "integrity": "sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo=", + "dev": true + }, + "convert-source-map": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz", + "integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==", + "dev": true, + "requires": { + "safe-buffer": "~5.1.1" + } + }, + "core-js-compat": { + "version": "3.6.5", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.6.5.tgz", + "integrity": "sha512-7ItTKOhOZbznhXAQ2g/slGg1PJV5zDO/WdkTwi7UEOJmkvsE32PWvx6mKtDjiMpjnR2CNf6BAD6sSxIlv7ptng==", + "dev": true, + "requires": { + "browserslist": "^4.8.5", + "semver": "7.0.0" + }, + "dependencies": { + "semver": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz", + "integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==", + "dev": true + } + } + }, + "core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", + "dev": true + }, + "cross-spawn": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.2.tgz", + "integrity": "sha512-PD6G8QG3S4FK/XCGFbEQrDqO2AnMMsy0meR7lerlIOHAAbkuavGU/pOqprrlvfTNjvowivTeBsjebAL0NSoMxw==", + "dev": true, + "requires": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + } + }, + "css-select": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/css-select/-/css-select-1.2.0.tgz", + "integrity": "sha1-KzoRBTnFNV8c2NMUYj6HCxIeyFg=", + "dev": true, + "requires": { + "boolbase": "~1.0.0", + "css-what": "2.1", + "domutils": "1.5.1", + "nth-check": "~1.0.1" + } + }, + "css-what": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/css-what/-/css-what-2.1.3.tgz", + "integrity": "sha512-a+EPoD+uZiNfh+5fxw2nO9QwFa6nJe2Or35fGY6Ipw1R3R4AGz1d1TEZrCegvw2YTmZ0jXirGYlzxxpYSHwpEg==", + "dev": true + }, + "debug": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", + "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + }, + "deep-is": { + "version": "0.1.3", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", + "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", + "dev": true + }, + "define-properties": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", + "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", + "dev": true, + "requires": { + "object-keys": "^1.0.12" + } + }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", + "dev": true + }, + "diff": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", + "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", + "dev": true + }, + "doctrine": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", + "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "dev": true, + "requires": { + "esutils": "^2.0.2" + } + }, + "dom-serializer": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.1.1.tgz", + "integrity": "sha512-l0IU0pPzLWSHBcieZbpOKgkIn3ts3vAh7ZuFyXNwJxJXk/c4Gwj9xaTJwIDVQCXawWD0qb3IzMGH5rglQaO0XA==", + "dev": true, + "requires": { + "domelementtype": "^1.3.0", + "entities": "^1.1.1" + } + }, + "domelementtype": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.1.tgz", + "integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==", + "dev": true + }, + "domhandler": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.2.tgz", + "integrity": "sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==", + "dev": true, + "requires": { + "domelementtype": "1" + } + }, + "domutils": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.5.1.tgz", + "integrity": "sha1-3NhIiib1Y9YQeeSMn3t+Mjc2gs8=", + "dev": true, + "requires": { + "dom-serializer": "0", + "domelementtype": "1" + } + }, + "electron-to-chromium": { + "version": "1.3.441", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.441.tgz", + "integrity": "sha512-leBfJwLuyGs1jEei2QioI+PjVMavmUIvPYidE8dCCYWLAq0uefhN3NYgDNb8WxD3uiUNnJ3ScMXg0upSlwySzQ==", + "dev": true + }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "entities": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.1.tgz", + "integrity": "sha1-blwtClYhtdra7O+AuQ7ftc13cvA=", + "dev": true + }, + "error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, + "requires": { + "is-arrayish": "^0.2.1" + } + }, + "es-abstract": { + "version": "1.17.5", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.5.tgz", + "integrity": "sha512-BR9auzDbySxOcfog0tLECW8l28eRGpDpU3Dm3Hp4q/N+VtLTmyj4EUN088XZWQDW/hzj6sYRDXeOFsaAODKvpg==", + "dev": true, + "requires": { + "es-to-primitive": "^1.2.1", + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-symbols": "^1.0.1", + "is-callable": "^1.1.5", + "is-regex": "^1.0.5", + "object-inspect": "^1.7.0", + "object-keys": "^1.1.1", + "object.assign": "^4.1.0", + "string.prototype.trimleft": "^2.1.1", + "string.prototype.trimright": "^2.1.1" + } + }, + "es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dev": true, + "requires": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + } + }, + "escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", + "dev": true + }, + "eslint": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.0.0.tgz", + "integrity": "sha512-qY1cwdOxMONHJfGqw52UOpZDeqXy8xmD0u8CT6jIstil72jkhURC704W8CFyTPDPllz4z4lu0Ql1+07PG/XdIg==", + "dev": true, + "requires": { + "@babel/code-frame": "^7.0.0", + "ajv": "^6.10.0", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.0.1", + "doctrine": "^3.0.0", + "eslint-scope": "^5.0.0", + "eslint-utils": "^2.0.0", + "eslint-visitor-keys": "^1.1.0", + "espree": "^7.0.0", + "esquery": "^1.2.0", + "esutils": "^2.0.2", + "file-entry-cache": "^5.0.1", + "functional-red-black-tree": "^1.0.1", + "glob-parent": "^5.0.0", + "globals": "^12.1.0", + "ignore": "^4.0.6", + "import-fresh": "^3.0.0", + "imurmurhash": "^0.1.4", + "inquirer": "^7.0.0", + "is-glob": "^4.0.0", + "js-yaml": "^3.13.1", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash": "^4.17.14", + "minimatch": "^3.0.4", + "natural-compare": "^1.4.0", + "optionator": "^0.9.1", + "progress": "^2.0.0", + "regexpp": "^3.1.0", + "semver": "^7.2.1", + "strip-ansi": "^6.0.0", + "strip-json-comments": "^3.1.0", + "table": "^5.2.3", + "text-table": "^0.2.0", + "v8-compile-cache": "^2.0.3" + }, + "dependencies": { + "ansi-styles": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", + "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", + "dev": true, + "requires": { + "@types/color-name": "^1.1.1", + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.0.0.tgz", + "integrity": "sha512-N9oWFcegS0sFr9oh1oz2d7Npos6vNoWW9HvtCg5N1KRFpUhaAhvTv5Y58g880fZaEYSNm3qDz8SU1UrGvp+n7A==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "globals": { + "version": "12.4.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-12.4.0.tgz", + "integrity": "sha512-BWICuzzDvDoH54NHKCseDanAhE3CeDorgDL5MT6LMXXj2WCnd9UC2szdk4AWLfjdgNBCXLUanXYcpBBKOSWGwg==", + "dev": true, + "requires": { + "type-fest": "^0.8.1" + } + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "semver": { + "version": "7.3.2", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.2.tgz", + "integrity": "sha512-OrOb32TeeambH6UrhtShmF7CRDqhL6/5XpPNp2DuRH6+9QLw/orhp72j87v8Qa1ScDkvrrBNpZcDejAirJmfXQ==", + "dev": true + }, + "supports-color": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz", + "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "eslint-config-standard": { + "version": "14.1.1", + "resolved": "https://registry.npmjs.org/eslint-config-standard/-/eslint-config-standard-14.1.1.tgz", + "integrity": "sha512-Z9B+VR+JIXRxz21udPTL9HpFMyoMUEeX1G251EQ6e05WD9aPVtVBn09XUmZ259wCMlCDmYDSZG62Hhm+ZTJcUg==", + "dev": true + }, + "eslint-import-resolver-node": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.3.tgz", + "integrity": "sha512-b8crLDo0M5RSe5YG8Pu2DYBj71tSB6OvXkfzwbJU2w7y8P4/yo0MyF8jU26IEuEuHF2K5/gcAJE3LhQGqBBbVg==", + "dev": true, + "requires": { + "debug": "^2.6.9", + "resolve": "^1.13.1" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "resolve": { + "version": "1.16.1", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.16.1.tgz", + "integrity": "sha512-rmAglCSqWWMrrBv/XM6sW0NuRFiKViw/W4d9EbC4pt+49H8JwHy+mcGmALTEg504AUDcLTvb1T2q3E9AnmY+ig==", + "dev": true, + "requires": { + "path-parse": "^1.0.6" + } + } + } + }, + "eslint-module-utils": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.6.0.tgz", + "integrity": "sha512-6j9xxegbqe8/kZY8cYpcp0xhbK0EgJlg3g9mib3/miLaExuuwc3n5UEfSnU6hWMbT0FAYVvDbL9RrRgpUeQIvA==", + "dev": true, + "requires": { + "debug": "^2.6.9", + "pkg-dir": "^2.0.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + } + } + }, + "eslint-plugin-es": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-es/-/eslint-plugin-es-3.0.0.tgz", + "integrity": "sha512-6/Jb/J/ZvSebydwbBJO1R9E5ky7YeElfK56Veh7e4QGFHCXoIXGH9HhVz+ibJLM3XJ1XjP+T7rKBLUa/Y7eIng==", + "dev": true, + "requires": { + "eslint-utils": "^2.0.0", + "regexpp": "^3.0.0" + }, + "dependencies": { + "eslint-utils": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.0.0.tgz", + "integrity": "sha512-0HCPuJv+7Wv1bACm8y5/ECVfYdfsAm9xmVb7saeFlxjPYALefjhbYoCkBjPdPzGH8wWyTpAez82Fh3VKYEZ8OA==", + "dev": true, + "requires": { + "eslint-visitor-keys": "^1.1.0" + } + }, + "regexpp": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.1.0.tgz", + "integrity": "sha512-ZOIzd8yVsQQA7j8GCSlPGXwg5PfmA1mrq0JP4nGhh54LaKN3xdai/vHUDu74pKwV8OxseMS65u2NImosQcSD0Q==", + "dev": true + } + } + }, + "eslint-plugin-import": { + "version": "2.20.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.20.2.tgz", + "integrity": "sha512-FObidqpXrR8OnCh4iNsxy+WACztJLXAHBO5hK79T1Hc77PgQZkyDGA5Ag9xAvRpglvLNxhH/zSmZ70/pZ31dHg==", + "dev": true, + "requires": { + "array-includes": "^3.0.3", + "array.prototype.flat": "^1.2.1", + "contains-path": "^0.1.0", + "debug": "^2.6.9", + "doctrine": "1.5.0", + "eslint-import-resolver-node": "^0.3.2", + "eslint-module-utils": "^2.4.1", + "has": "^1.0.3", + "minimatch": "^3.0.4", + "object.values": "^1.1.0", + "read-pkg-up": "^2.0.0", + "resolve": "^1.12.0" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "doctrine": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz", + "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=", + "dev": true, + "requires": { + "esutils": "^2.0.2", + "isarray": "^1.0.0" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", + "dev": true + }, + "resolve": { + "version": "1.16.1", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.16.1.tgz", + "integrity": "sha512-rmAglCSqWWMrrBv/XM6sW0NuRFiKViw/W4d9EbC4pt+49H8JwHy+mcGmALTEg504AUDcLTvb1T2q3E9AnmY+ig==", + "dev": true, + "requires": { + "path-parse": "^1.0.6" + } + } + } + }, + "eslint-plugin-node": { + "version": "11.1.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-11.1.0.tgz", + "integrity": "sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g==", + "dev": true, + "requires": { + "eslint-plugin-es": "^3.0.0", + "eslint-utils": "^2.0.0", + "ignore": "^5.1.1", + "minimatch": "^3.0.4", + "resolve": "^1.10.1", + "semver": "^6.1.0" + }, + "dependencies": { + "eslint-utils": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.0.0.tgz", + "integrity": "sha512-0HCPuJv+7Wv1bACm8y5/ECVfYdfsAm9xmVb7saeFlxjPYALefjhbYoCkBjPdPzGH8wWyTpAez82Fh3VKYEZ8OA==", + "dev": true, + "requires": { + "eslint-visitor-keys": "^1.1.0" + } + }, + "ignore": { + "version": "5.1.4", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.4.tgz", + "integrity": "sha512-MzbUSahkTW1u7JpKKjY7LCARd1fU5W2rLdxlM4kdkayuCwZImjkpluF9CM1aLewYJguPDqewLam18Y6AU69A8A==", + "dev": true + }, + "semver": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "dev": true + } + } + }, + "eslint-plugin-promise": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-4.2.1.tgz", + "integrity": "sha512-VoM09vT7bfA7D+upt+FjeBO5eHIJQBUWki1aPvB+vbNiHS3+oGIJGIeyBtKQTME6UPXXy3vV07OL1tHd3ANuDw==", + "dev": true + }, + "eslint-plugin-standard": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-standard/-/eslint-plugin-standard-4.0.1.tgz", + "integrity": "sha512-v/KBnfyaOMPmZc/dmc6ozOdWqekGp7bBGq4jLAecEfPGmfKiWS4sA8sC0LqiV9w5qmXAtXVn4M3p1jSyhY85SQ==", + "dev": true + }, + "eslint-scope": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.0.0.tgz", + "integrity": "sha512-oYrhJW7S0bxAFDvWqzvMPRm6pcgcnWc4QnofCAqRTRfQC0JcwenzGglTtsLyIuuWFfkqDG9vz67cnttSd53djw==", + "dev": true, + "requires": { + "esrecurse": "^4.1.0", + "estraverse": "^4.1.1" + } + }, + "eslint-utils": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.0.0.tgz", + "integrity": "sha512-0HCPuJv+7Wv1bACm8y5/ECVfYdfsAm9xmVb7saeFlxjPYALefjhbYoCkBjPdPzGH8wWyTpAez82Fh3VKYEZ8OA==", + "dev": true, + "requires": { + "eslint-visitor-keys": "^1.1.0" + } + }, + "eslint-visitor-keys": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz", + "integrity": "sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A==", + "dev": true + }, + "espree": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-7.0.0.tgz", + "integrity": "sha512-/r2XEx5Mw4pgKdyb7GNLQNsu++asx/dltf/CI8RFi9oGHxmQFgvLbc5Op4U6i8Oaj+kdslhJtVlEZeAqH5qOTw==", + "dev": true, + "requires": { + "acorn": "^7.1.1", + "acorn-jsx": "^5.2.0", + "eslint-visitor-keys": "^1.1.0" + } + }, + "esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true + }, + "esquery": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.3.1.tgz", + "integrity": "sha512-olpvt9QG0vniUBZspVRN6lwB7hOZoTRtT+jzR+tS4ffYx2mzbw+z0XCOk44aaLYKApNX5nMm+E+P6o25ip/DHQ==", + "dev": true, + "requires": { + "estraverse": "^5.1.0" + }, + "dependencies": { + "estraverse": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.1.0.tgz", + "integrity": "sha512-FyohXK+R0vE+y1nHLoBM7ZTyqRpqAlhdZHCWIWEviFLiGB8b04H6bQs8G+XTthacvT8VuwvteiP7RJSxMs8UEw==", + "dev": true + } + } + }, + "esrecurse": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz", + "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==", + "dev": true, + "requires": { + "estraverse": "^4.1.0" + } + }, + "estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "dev": true + }, + "estree-walker": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-0.6.1.tgz", + "integrity": "sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==", + "dev": true + }, + "esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "dev": true + }, + "external-editor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", + "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", + "dev": true, + "requires": { + "chardet": "^0.7.0", + "iconv-lite": "^0.4.24", + "tmp": "^0.0.33" + } + }, + "fast-deep-equal": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz", + "integrity": "sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA==", + "dev": true + }, + "fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true + }, + "fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", + "dev": true + }, + "figures": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", + "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", + "dev": true, + "requires": { + "escape-string-regexp": "^1.0.5" + } + }, + "file-entry-cache": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz", + "integrity": "sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g==", + "dev": true, + "requires": { + "flat-cache": "^2.0.1" + } + }, + "find-up": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", + "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", + "dev": true, + "requires": { + "locate-path": "^2.0.0" + } + }, + "flat-cache": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz", + "integrity": "sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA==", + "dev": true, + "requires": { + "flatted": "^2.0.0", + "rimraf": "2.6.3", + "write": "1.0.3" + } + }, + "flatted": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.2.tgz", + "integrity": "sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==", + "dev": true + }, + "form-data": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz", + "integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==", + "dev": true, + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + } + }, + "front-matter": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/front-matter/-/front-matter-3.2.1.tgz", + "integrity": "sha512-YUhgEhbL6tG+Ok3vTGIoSDKqcr47aSDvyhEqIv8B+YuBJFsPnOiArNXTPp2yO07NL+a0L4+2jXlKlKqyVcsRRA==", + "dev": true, + "requires": { + "js-yaml": "^3.13.1" + } + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "dev": true + }, + "fsevents": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.1.3.tgz", + "integrity": "sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ==", + "dev": true, + "optional": true + }, + "function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", + "dev": true + }, + "functional-red-black-tree": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", + "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", + "dev": true + }, + "gensync": { + "version": "1.0.0-beta.1", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.1.tgz", + "integrity": "sha512-r8EC6NO1sngH/zdD9fiRDLdcgnbayXah+mLgManTaIZJqEC1MZstmnox8KpnI2/fxQwrp5OpCOYWLp4rBl4Jcg==", + "dev": true + }, + "get-port": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/get-port/-/get-port-3.2.0.tgz", + "integrity": "sha1-3Xzn3hh8Bsi/NTeWrHHgmfCYDrw=", + "dev": true + }, + "glob": { + "version": "7.1.4", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz", + "integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "glob-parent": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.1.tgz", + "integrity": "sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ==", + "dev": true, + "requires": { + "is-glob": "^4.0.1" + } + }, + "globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "dev": true + }, + "graceful-fs": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz", + "integrity": "sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ==", + "dev": true + }, + "has": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dev": true, + "requires": { + "function-bind": "^1.1.1" + } + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", + "dev": true + }, + "has-symbols": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", + "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==", + "dev": true + }, + "hosted-git-info": { + "version": "2.8.8", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.8.tgz", + "integrity": "sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg==", + "dev": true + }, + "htmlparser2": { + "version": "3.10.1", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.1.tgz", + "integrity": "sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ==", + "dev": true, + "requires": { + "domelementtype": "^1.3.1", + "domhandler": "^2.3.0", + "domutils": "^1.5.1", + "entities": "^1.1.1", + "inherits": "^2.0.1", + "readable-stream": "^3.1.1" + } + }, + "http-basic": { + "version": "8.1.3", + "resolved": "https://registry.npmjs.org/http-basic/-/http-basic-8.1.3.tgz", + "integrity": "sha512-/EcDMwJZh3mABI2NhGfHOGOeOZITqfkEO4p/xK+l3NpyncIHUQBoMvCSF/b5GqvKtySC2srL/GGG3+EtlqlmCw==", + "dev": true, + "requires": { + "caseless": "^0.12.0", + "concat-stream": "^1.6.2", + "http-response-object": "^3.0.1", + "parse-cache-control": "^1.0.1" + } + }, + "http-response-object": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/http-response-object/-/http-response-object-3.0.2.tgz", + "integrity": "sha512-bqX0XTF6fnXSQcEJ2Iuyr75yVakyjIDCqroJQ/aHfSdlM743Cwqoi2nDYMzLGWUcuTWGWy8AAvOKXTfiv6q9RA==", + "dev": true, + "requires": { + "@types/node": "^10.0.3" + }, + "dependencies": { + "@types/node": { + "version": "10.17.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.4.tgz", + "integrity": "sha512-F2pgg+LcIr/elguz+x+fdBX5KeZXGUOp7TV8M0TVIrDezYLFRNt8oMTyps0VQ1kj5WGGoR18RdxnRDHXrIFHMQ==", + "dev": true + } + } + }, + "iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dev": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + }, + "ignore": { + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", + "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", + "dev": true + }, + "import-fresh": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.1.tgz", + "integrity": "sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ==", + "dev": true, + "requires": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + } + }, + "imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", + "dev": true + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "dev": true, + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", + "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=", + "dev": true + }, + "inquirer": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-7.1.0.tgz", + "integrity": "sha512-5fJMWEmikSYu0nv/flMc475MhGbB7TSPd/2IpFV4I4rMklboCH2rQjYY5kKiYGHqUF9gvaambupcJFFG9dvReg==", + "dev": true, + "requires": { + "ansi-escapes": "^4.2.1", + "chalk": "^3.0.0", + "cli-cursor": "^3.1.0", + "cli-width": "^2.0.0", + "external-editor": "^3.0.3", + "figures": "^3.0.0", + "lodash": "^4.17.15", + "mute-stream": "0.0.8", + "run-async": "^2.4.0", + "rxjs": "^6.5.3", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0", + "through": "^2.3.6" + }, + "dependencies": { + "ansi-styles": { + "version": "4.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.2.1.tgz", + "integrity": "sha512-9VGjrMsG1vePxcSweQsN20KY/c4zN0h9fLjqAbwbPfahM3t+NL+M9HC8xeXG2I8pX5NoamTGNuomEUFI7fcUjA==", + "dev": true, + "requires": { + "@types/color-name": "^1.1.1", + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", + "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "lodash": { + "version": "4.17.15", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", + "dev": true + }, + "supports-color": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz", + "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "invariant": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", + "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", + "dev": true, + "requires": { + "loose-envify": "^1.0.0" + } + }, + "is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", + "dev": true + }, + "is-callable": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz", + "integrity": "sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q==", + "dev": true + }, + "is-date-object": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz", + "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==", + "dev": true + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true + }, + "is-glob": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", + "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", + "dev": true, + "requires": { + "is-extglob": "^2.1.1" + } + }, + "is-reference": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-1.1.4.tgz", + "integrity": "sha512-uJA/CDPO3Tao3GTrxYn6AwkM4nUPJiGGYu5+cB8qbC7WGFlrKZbiRo7SFKxUAEpFUfiHofWCXBUNhvYJMh+6zw==", + "dev": true, + "requires": { + "@types/estree": "0.0.39" + } + }, + "is-regex": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz", + "integrity": "sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ==", + "dev": true, + "requires": { + "has": "^1.0.3" + } + }, + "is-string": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.5.tgz", + "integrity": "sha512-buY6VNRjhQMiF1qWDouloZlQbRhDPCebwxSjxMjxgemYT46YMd2NR0/H+fBhEfWX4A/w9TBJ+ol+okqJKFE6vQ==", + "dev": true + }, + "is-symbol": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz", + "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==", + "dev": true, + "requires": { + "has-symbols": "^1.0.1" + } + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "dev": true + }, + "isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", + "dev": true + }, + "jasmine": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/jasmine/-/jasmine-3.5.0.tgz", + "integrity": "sha512-DYypSryORqzsGoMazemIHUfMkXM7I7easFaxAvNM3Mr6Xz3Fy36TupTrAOxZWN8MVKEU5xECv22J4tUQf3uBzQ==", + "dev": true, + "requires": { + "glob": "^7.1.4", + "jasmine-core": "~3.5.0" + } + }, + "jasmine-core": { + "version": "3.5.0", + "resolved": "https://registry.npmjs.org/jasmine-core/-/jasmine-core-3.5.0.tgz", + "integrity": "sha512-nCeAiw37MIMA9w9IXso7bRaLl+c/ef3wnxsoSAlYrzS+Ot0zTG6nU8G/cIfGkqpkjX2wNaIW9RFG0TwIFnG6bA==", + "dev": true + }, + "js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true + }, + "js-yaml": { + "version": "3.13.1", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz", + "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==", + "dev": true, + "requires": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + } + }, + "jsesc": { + "version": "2.5.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", + "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "dev": true + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", + "dev": true + }, + "json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", + "dev": true + }, + "json5": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.1.3.tgz", + "integrity": "sha512-KXPvOm8K9IJKFM0bmdn8QXh7udDh1g/giieX0NLCaMnb4hEiVFqnop2ImTXCc5e0/oHz3LTqmHGtExn5hfMkOA==", + "dev": true, + "requires": { + "minimist": "^1.2.5" + } + }, + "leven": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", + "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", + "dev": true + }, + "levenary": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/levenary/-/levenary-1.1.1.tgz", + "integrity": "sha512-mkAdOIt79FD6irqjYSs4rdbnlT5vRonMEvBVPVb3XmevfS8kgRXwfes0dhPdEtzTWD/1eNE/Bm/G1iRt6DcnQQ==", + "dev": true, + "requires": { + "leven": "^3.1.0" + } + }, + "levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "requires": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + } + }, + "linkify-it": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-2.2.0.tgz", + "integrity": "sha512-GnAl/knGn+i1U/wjBz3akz2stz+HrHLsxMwHQGofCDfPvlf+gDKN58UtfmUquTY4/MXeE2x7k19KQmeoZi94Iw==", + "dev": true, + "requires": { + "uc.micro": "^1.0.1" + } + }, + "load-json-file": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", + "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", + "dev": true, + "requires": { + "graceful-fs": "^4.1.2", + "parse-json": "^2.2.0", + "pify": "^2.0.0", + "strip-bom": "^3.0.0" + } + }, + "locate-path": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", + "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", + "dev": true, + "requires": { + "p-locate": "^2.0.0", + "path-exists": "^3.0.0" + } + }, + "lodash": { + "version": "4.17.19", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.19.tgz", + "integrity": "sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==" + }, + "loose-envify": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", + "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", + "dev": true, + "requires": { + "js-tokens": "^3.0.0 || ^4.0.0" + } + }, + "magic-string": { + "version": "0.25.4", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.4.tgz", + "integrity": "sha512-oycWO9nEVAP2RVPbIoDoA4Y7LFIJ3xRYov93gAyJhZkET1tNuB0u7uWkZS2LpBWTJUWnmau/To8ECWRC+jKNfw==", + "dev": true, + "requires": { + "sourcemap-codec": "^1.4.4" + } + }, + "markdown": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/markdown/-/markdown-0.5.0.tgz", + "integrity": "sha1-KCBbVlqK51kt4gdGPWY33BgnIrI=", + "dev": true, + "requires": { + "nopt": "~2.1.1" + } + }, + "markdown-it": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-10.0.0.tgz", + "integrity": "sha512-YWOP1j7UbDNz+TumYP1kpwnP0aEa711cJjrAQrzd0UXlbJfc5aAq0F/PZHjiioqDC1NKgvIMX+o+9Bk7yuM2dg==", + "dev": true, + "requires": { + "argparse": "^1.0.7", + "entities": "~2.0.0", + "linkify-it": "^2.0.0", + "mdurl": "^1.0.1", + "uc.micro": "^1.0.5" + }, + "dependencies": { + "entities": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/entities/-/entities-2.0.0.tgz", + "integrity": "sha512-D9f7V0JSRwIxlRI2mjMqufDrRDnx8p+eEOz7aUM9SuvF8gsBzra0/6tbjl1m8eQHrZlYj6PxqE00hZ1SAIKPLw==", + "dev": true + } + } + }, + "mdurl": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz", + "integrity": "sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4=", + "dev": true + }, + "mime-db": { + "version": "1.40.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.40.0.tgz", + "integrity": "sha512-jYdeOMPy9vnxEqFRRo6ZvTZ8d9oPb+k18PKoYNYUe2stVEBPPwsln/qWzdbmaIvnhZ9v2P+CuecK+fpUfsV2mA==", + "dev": true + }, + "mime-types": { + "version": "2.1.24", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.24.tgz", + "integrity": "sha512-WaFHS3MCl5fapm3oLxU4eYDw77IQM2ACcxQ9RIxfaC3ooc6PFuBMGZZsYpvoXS5D5QTWPieo1jjLdAm3TBP3cQ==", + "dev": true, + "requires": { + "mime-db": "1.40.0" + } + }, + "mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true + }, + "minimatch": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", + "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + }, + "minimist": { + "version": "1.2.5", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", + "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==", + "dev": true + }, + "mkdirp": { + "version": "0.5.5", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", + "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", + "dev": true, + "requires": { + "minimist": "^1.2.5" + } + }, + "moment": { + "version": "2.25.1", + "resolved": "https://registry.npmjs.org/moment/-/moment-2.25.1.tgz", + "integrity": "sha512-nRKMf9wDS4Fkyd0C9LXh2FFXinD+iwbJ5p/lh3CHitW9kZbRbJ8hCruiadiIXZVbeAqKZzqcTvHnK3mRhFjb6w==", + "dev": true + }, + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "mute-stream": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", + "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==", + "dev": true + }, + "natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", + "dev": true + }, + "node-fetch": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz", + "integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==", + "dev": true + }, + "node-releases": { + "version": "1.1.55", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.55.tgz", + "integrity": "sha512-H3R3YR/8TjT5WPin/wOoHOUPHgvj8leuU/Keta/rwelEQN9pA/S2Dx8/se4pZ2LBxSd0nAGzsNzhqwa77v7F1w==", + "dev": true + }, + "nopt": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-2.1.2.tgz", + "integrity": "sha1-bMzZd7gBMqB3MdbozljCyDA8+a8=", + "dev": true, + "requires": { + "abbrev": "1" + } + }, + "normalize-package-data": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", + "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", + "dev": true, + "requires": { + "hosted-git-info": "^2.1.4", + "resolve": "^1.10.0", + "semver": "2 || 3 || 4 || 5", + "validate-npm-package-license": "^3.0.1" + } + }, + "nth-check": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz", + "integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==", + "dev": true, + "requires": { + "boolbase": "~1.0.0" + } + }, + "object-inspect": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.7.0.tgz", + "integrity": "sha512-a7pEHdh1xKIAgTySUGgLMx/xwDZskN1Ud6egYYN3EdRW4ZMPNEDUTF+hwy2LUC+Bl+SyLXANnwz/jyh/qutKUw==", + "dev": true + }, + "object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "dev": true + }, + "object.assign": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz", + "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==", + "dev": true, + "requires": { + "define-properties": "^1.1.2", + "function-bind": "^1.1.1", + "has-symbols": "^1.0.0", + "object-keys": "^1.0.11" + } + }, + "object.values": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.1.tgz", + "integrity": "sha512-WTa54g2K8iu0kmS/us18jEmdv1a4Wi//BZ/DTVYEcH0XhLM5NYdpDHja3gt57VrZLcNAO2WGA+KpWsDBaHt6eA==", + "dev": true, + "requires": { + "define-properties": "^1.1.3", + "es-abstract": "^1.17.0-next.1", + "function-bind": "^1.1.1", + "has": "^1.0.3" + } + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dev": true, + "requires": { + "wrappy": "1" + } + }, + "onetime": { + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.0.tgz", + "integrity": "sha512-5NcSkPHhwTVFIQN+TUqXoS5+dlElHXdpAWu9I0HP20YOtIi+aZ0Ct82jdlILDxjLEAWwvm+qj1m6aEtsDVmm6Q==", + "dev": true, + "requires": { + "mimic-fn": "^2.1.0" + } + }, + "optionator": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", + "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", + "dev": true, + "requires": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.3" + } + }, + "os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", + "dev": true + }, + "p-limit": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", + "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", + "dev": true, + "requires": { + "p-try": "^1.0.0" + } + }, + "p-locate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", + "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", + "dev": true, + "requires": { + "p-limit": "^1.1.0" + } + }, + "p-try": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", + "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", + "dev": true + }, + "parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "requires": { + "callsites": "^3.0.0" + } + }, + "parse-cache-control": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parse-cache-control/-/parse-cache-control-1.0.1.tgz", + "integrity": "sha1-juqz5U+laSD+Fro493+iGqzC104=", + "dev": true + }, + "parse-json": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", + "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", + "dev": true, + "requires": { + "error-ex": "^1.2.0" + } + }, + "parse5": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-5.1.1.tgz", + "integrity": "sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==", + "dev": true + }, + "parse5-sax-parser": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/parse5-sax-parser/-/parse5-sax-parser-5.1.1.tgz", + "integrity": "sha512-9HIh6zd7bF1NJe95LPCUC311CekdOi55R+HWXNCsGY6053DWaMijVKOv1oPvdvPTvFicifZyimBVJ6/qvG039Q==", + "dev": true, + "requires": { + "parse5": "^5.1.1" + } + }, + "path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", + "dev": true + }, + "path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "dev": true + }, + "path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true + }, + "path-parse": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", + "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==", + "dev": true + }, + "path-type": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", + "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", + "dev": true, + "requires": { + "pify": "^2.0.0" + } + }, + "pify": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", + "dev": true + }, + "pkg-dir": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz", + "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=", + "dev": true, + "requires": { + "find-up": "^2.1.0" + } + }, + "pkg-up": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/pkg-up/-/pkg-up-2.0.0.tgz", + "integrity": "sha1-yBmscoBZpGHKscOImivjxJoATX8=", + "dev": true, + "requires": { + "find-up": "^2.1.0" + } + }, + "prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true + }, + "private": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz", + "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==", + "dev": true + }, + "process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", + "dev": true + }, + "progress": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", + "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", + "dev": true + }, + "promise": { + "version": "8.0.3", + "resolved": "https://registry.npmjs.org/promise/-/promise-8.0.3.tgz", + "integrity": "sha512-HeRDUL1RJiLhyA0/grn+PTShlBAcLuh/1BJGtrvjwbvRDCTLLMEz9rOGCV+R3vHY4MixIuoMEd9Yq/XvsTPcjw==", + "dev": true, + "requires": { + "asap": "~2.0.6" + } + }, + "punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", + "dev": true + }, + "q": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", + "integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=", + "dev": true + }, + "qs": { + "version": "6.9.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.9.0.tgz", + "integrity": "sha512-27RP4UotQORTpmNQDX8BHPukOnBP3p1uUJY5UnDhaJB+rMt9iMsok724XL+UHU23bEFOHRMQ2ZhI99qOWUMGFA==", + "dev": true + }, + "read-pkg": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", + "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", + "dev": true, + "requires": { + "load-json-file": "^2.0.0", + "normalize-package-data": "^2.3.2", + "path-type": "^2.0.0" + } + }, + "read-pkg-up": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", + "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", + "dev": true, + "requires": { + "find-up": "^2.0.0", + "read-pkg": "^2.0.0" + } + }, + "readable-stream": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.3.0.tgz", + "integrity": "sha512-EsI+s3k3XsW+fU8fQACLN59ky34AZ14LoeVZpYwmZvldCFo0r0gnelwF2TcMjLor/BTL5aDJVBMkss0dthToPw==", + "dev": true, + "requires": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + } + }, + "regenerate": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.0.tgz", + "integrity": "sha512-1G6jJVDWrt0rK99kBjvEtziZNCICAuvIPkSiUFIQxVP06RCVpq3dmDo2oi6ABpYaDYaTRr67BEhL8r1wgEZZKg==", + "dev": true + }, + "regenerate-unicode-properties": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-8.2.0.tgz", + "integrity": "sha512-F9DjY1vKLo/tPePDycuH3dn9H1OTPIkVD9Kz4LODu+F2C75mgjAJ7x/gwy6ZcSNRAAkhNlJSOHRe8k3p+K9WhA==", + "dev": true, + "requires": { + "regenerate": "^1.4.0" + } + }, + "regenerator-runtime": { + "version": "0.13.5", + "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.5.tgz", + "integrity": "sha512-ZS5w8CpKFinUzOwW3c83oPeVXoNsrLsaCoLtJvAClH135j/R77RuymhiSErhm2lKcwSCIpmvIWSbDkIfAqKQlA==", + "dev": true + }, + "regenerator-transform": { + "version": "0.14.4", + "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.14.4.tgz", + "integrity": "sha512-EaJaKPBI9GvKpvUz2mz4fhx7WPgvwRLY9v3hlNHWmAuJHI13T4nwKnNvm5RWJzEdnI5g5UwtOww+S8IdoUC2bw==", + "dev": true, + "requires": { + "@babel/runtime": "^7.8.4", + "private": "^0.1.8" + } + }, + "regexpp": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.1.0.tgz", + "integrity": "sha512-ZOIzd8yVsQQA7j8GCSlPGXwg5PfmA1mrq0JP4nGhh54LaKN3xdai/vHUDu74pKwV8OxseMS65u2NImosQcSD0Q==", + "dev": true + }, + "regexpu-core": { + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.7.0.tgz", + "integrity": "sha512-TQ4KXRnIn6tz6tjnrXEkD/sshygKH/j5KzK86X8MkeHyZ8qst/LZ89j3X4/8HEIfHANTFIP/AbXakeRhWIl5YQ==", + "dev": true, + "requires": { + "regenerate": "^1.4.0", + "regenerate-unicode-properties": "^8.2.0", + "regjsgen": "^0.5.1", + "regjsparser": "^0.6.4", + "unicode-match-property-ecmascript": "^1.0.4", + "unicode-match-property-value-ecmascript": "^1.2.0" + } + }, + "regjsgen": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.5.1.tgz", + "integrity": "sha512-5qxzGZjDs9w4tzT3TPhCJqWdCc3RLYwy9J2NB0nm5Lz+S273lvWcpjaTGHsT1dc6Hhfq41uSEOw8wBmxrKOuyg==", + "dev": true + }, + "regjsparser": { + "version": "0.6.4", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.6.4.tgz", + "integrity": "sha512-64O87/dPDgfk8/RQqC4gkZoGyyWFIEUTTh80CU6CWuK5vkCGyekIx+oKcEIYtP/RAxSQltCZHCNu/mdd7fqlJw==", + "dev": true, + "requires": { + "jsesc": "~0.5.0" + }, + "dependencies": { + "jsesc": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", + "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", + "dev": true + } + } + }, + "resolve": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.11.1.tgz", + "integrity": "sha512-vIpgF6wfuJOZI7KKKSP+HmiKggadPQAdsp5HiC1mvqnfp0gF1vdwgBWZIdrVft9pgqoMFQN+R7BSWZiBxx+BBw==", + "dev": true, + "requires": { + "path-parse": "^1.0.6" + } + }, + "resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true + }, + "restore-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", + "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", + "dev": true, + "requires": { + "onetime": "^5.1.0", + "signal-exit": "^3.0.2" + } + }, + "rimraf": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", + "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", + "dev": true, + "requires": { + "glob": "^7.1.3" + } + }, + "rollup": { + "version": "2.10.2", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.10.2.tgz", + "integrity": "sha512-tivFM8UXBlYOUqpBYD3pRktYpZvK/eiCQ190eYlrAyrpE/lzkyG2gbawroNdbwmzyUc7Y4eT297xfzv0BDh9qw==", + "dev": true, + "requires": { + "fsevents": "~2.1.2" + } + }, + "rollup-plugin-babel": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-babel/-/rollup-plugin-babel-4.4.0.tgz", + "integrity": "sha512-Lek/TYp1+7g7I+uMfJnnSJ7YWoD58ajo6Oarhlex7lvUce+RCKRuGRSgztDO3/MF/PuGKmUL5iTHKf208UNszw==", + "dev": true, + "requires": { + "@babel/helper-module-imports": "^7.0.0", + "rollup-pluginutils": "^2.8.1" + } + }, + "rollup-plugin-commonjs": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/rollup-plugin-commonjs/-/rollup-plugin-commonjs-10.1.0.tgz", + "integrity": "sha512-jlXbjZSQg8EIeAAvepNwhJj++qJWNJw1Cl0YnOqKtP5Djx+fFGkp3WRh+W0ASCaFG5w1jhmzDxgu3SJuVxPF4Q==", + "dev": true, + "requires": { + "estree-walker": "^0.6.1", + "is-reference": "^1.1.2", + "magic-string": "^0.25.2", + "resolve": "^1.11.0", + "rollup-pluginutils": "^2.8.1" + } + }, + "rollup-plugin-license": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/rollup-plugin-license/-/rollup-plugin-license-2.0.1.tgz", + "integrity": "sha512-w+9JIMj3rHKsI0rYDpFtzAyYZsMCDL5KLDyeb4LXGWtahcgcPbr/XwMD0yozWf4X50AbImYDTdmCHiZS3rUl0A==", + "dev": true, + "requires": { + "commenting": "1.1.0", + "glob": "7.1.6", + "lodash": "4.17.15", + "magic-string": "0.25.7", + "mkdirp": "1.0.4", + "moment": "2.25.1", + "spdx-expression-validate": "2.0.0", + "spdx-satisfies": "5.0.0" + }, + "dependencies": { + "glob": { + "version": "7.1.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", + "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + } + }, + "lodash": { + "version": "4.17.15", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", + "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", + "dev": true + }, + "magic-string": { + "version": "0.25.7", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.7.tgz", + "integrity": "sha512-4CrMT5DOHTDk4HYDlzmwu4FVCcIYI8gauveasrdCu2IKIFOJ3f0v/8MDGJCDL9oD2ppz/Av1b0Nj345H9M+XIA==", + "dev": true, + "requires": { + "sourcemap-codec": "^1.4.4" + } + }, + "mkdirp": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", + "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "dev": true + } + } + }, + "rollup-pluginutils": { + "version": "2.8.2", + "resolved": "https://registry.npmjs.org/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz", + "integrity": "sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==", + "dev": true, + "requires": { + "estree-walker": "^0.6.1" + } + }, + "run-async": { + "version": "2.4.1", + "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", + "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==", + "dev": true + }, + "rxjs": { + "version": "6.5.5", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.5.tgz", + "integrity": "sha512-WfQI+1gohdf0Dai/Bbmk5L5ItH5tYqm3ki2c5GdWhKjalzjg93N3avFjVStyZZz+A2Em+ZxKH5bNghw9UeylGQ==", + "dev": true, + "requires": { + "tslib": "^1.9.0" + } + }, + "safe-buffer": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz", + "integrity": "sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg==", + "dev": true + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true + }, + "semver": { + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", + "dev": true + }, + "shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "requires": { + "shebang-regex": "^3.0.0" + } + }, + "shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true + }, + "signal-exit": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", + "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==", + "dev": true + }, + "slice-ansi": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz", + "integrity": "sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.0", + "astral-regex": "^1.0.0", + "is-fullwidth-code-point": "^2.0.0" + }, + "dependencies": { + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + } + } + }, + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true + }, + "sourcemap-codec": { + "version": "1.4.6", + "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.6.tgz", + "integrity": "sha512-1ZooVLYFxC448piVLBbtOxFcXwnymH9oUF8nRd3CuYDVvkRBxRl6pB4Mtas5a4drtL+E8LDgFkQNcgIw6tc8Hg==", + "dev": true + }, + "spdx-compare": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/spdx-compare/-/spdx-compare-1.0.0.tgz", + "integrity": "sha512-C1mDZOX0hnu0ep9dfmuoi03+eOdDoz2yvK79RxbcrVEG1NO1Ph35yW102DHWKN4pk80nwCgeMmSY5L25VE4D9A==", + "dev": true, + "requires": { + "array-find-index": "^1.0.2", + "spdx-expression-parse": "^3.0.0", + "spdx-ranges": "^2.0.0" + } + }, + "spdx-correct": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz", + "integrity": "sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q==", + "dev": true, + "requires": { + "spdx-expression-parse": "^3.0.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-exceptions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz", + "integrity": "sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA==", + "dev": true + }, + "spdx-expression-parse": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz", + "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==", + "dev": true, + "requires": { + "spdx-exceptions": "^2.1.0", + "spdx-license-ids": "^3.0.0" + } + }, + "spdx-expression-validate": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/spdx-expression-validate/-/spdx-expression-validate-2.0.0.tgz", + "integrity": "sha512-b3wydZLM+Tc6CFvaRDBOF9d76oGIHNCLYFeHbftFXUWjnfZWganmDmvtM5sm1cRwJc/VDBMLyGGrsLFd1vOxbg==", + "dev": true, + "requires": { + "spdx-expression-parse": "^3.0.0" + } + }, + "spdx-license-ids": { + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz", + "integrity": "sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q==", + "dev": true + }, + "spdx-ranges": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/spdx-ranges/-/spdx-ranges-2.1.1.tgz", + "integrity": "sha512-mcdpQFV7UDAgLpXEE/jOMqvK4LBoO0uTQg0uvXUewmEFhpiZx5yJSZITHB8w1ZahKdhfZqP5GPEOKLyEq5p8XA==", + "dev": true + }, + "spdx-satisfies": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/spdx-satisfies/-/spdx-satisfies-5.0.0.tgz", + "integrity": "sha512-/hGhwh20BeGmkA+P/lm06RvXD94JduwNxtx/oX3B5ClPt1/u/m5MCaDNo1tV3Y9laLkQr/NRde63b9lLMhlNfw==", + "dev": true, + "requires": { + "spdx-compare": "^1.0.0", + "spdx-expression-parse": "^3.0.0", + "spdx-ranges": "^2.0.0" + } + }, + "sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", + "dev": true + }, + "string-width": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz", + "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.0" + } + }, + "string.prototype.repeat": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/string.prototype.repeat/-/string.prototype.repeat-0.2.0.tgz", + "integrity": "sha1-q6Nt4I3O5qWjN9SbLqHaGyj8Ds8=", + "dev": true + }, + "string.prototype.trimend": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.1.tgz", + "integrity": "sha512-LRPxFUaTtpqYsTeNKaFOw3R4bxIzWOnbQ837QfBylo8jIxtcbK/A/sMV7Q+OAV/vWo+7s25pOE10KYSjaSO06g==", + "dev": true, + "requires": { + "define-properties": "^1.1.3", + "es-abstract": "^1.17.5" + } + }, + "string.prototype.trimleft": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/string.prototype.trimleft/-/string.prototype.trimleft-2.1.2.tgz", + "integrity": "sha512-gCA0tza1JBvqr3bfAIFJGqfdRTyPae82+KTnm3coDXkZN9wnuW3HjGgN386D7hfv5CHQYCI022/rJPVlqXyHSw==", + "dev": true, + "requires": { + "define-properties": "^1.1.3", + "es-abstract": "^1.17.5", + "string.prototype.trimstart": "^1.0.0" + } + }, + "string.prototype.trimright": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/string.prototype.trimright/-/string.prototype.trimright-2.1.2.tgz", + "integrity": "sha512-ZNRQ7sY3KroTaYjRS6EbNiiHrOkjihL9aQE/8gfQ4DtAC/aEBRHFJa44OmoWxGGqXuJlfKkZW4WcXErGr+9ZFg==", + "dev": true, + "requires": { + "define-properties": "^1.1.3", + "es-abstract": "^1.17.5", + "string.prototype.trimend": "^1.0.0" + } + }, + "string.prototype.trimstart": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.1.tgz", + "integrity": "sha512-XxZn+QpvrBI1FOcg6dIpxUPgWCPuNXvMD72aaRaUQv1eD4e/Qy8i/hFTe0BUmD60p/QA6bh1avmuPTfNjqVWRw==", + "dev": true, + "requires": { + "define-properties": "^1.1.3", + "es-abstract": "^1.17.5" + } + }, + "string_decoder": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.2.0.tgz", + "integrity": "sha512-6YqyX6ZWEYguAxgZzHGL7SsCeGx3V2TtOTqZz1xSTSWnqsbWwbptafNyvf/ACquZUXV3DANr5BDIwNYe1mN42w==", + "dev": true, + "requires": { + "safe-buffer": "~5.1.0" + } + }, + "strip-ansi": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", + "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.0" + } + }, + "strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", + "dev": true + }, + "strip-json-comments": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.0.tgz", + "integrity": "sha512-e6/d0eBu7gHtdCqFt0xJr642LdToM5/cN4Qb9DbHjVx1CP5RyeM+zH7pbecEmDv/lBqb0QH+6Uqq75rxFPkM0w==", + "dev": true + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + }, + "sync-request": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/sync-request/-/sync-request-6.1.0.tgz", + "integrity": "sha512-8fjNkrNlNCrVc/av+Jn+xxqfCjYaBoHqCsDz6mt030UMxJGr+GSfCV1dQt2gRtlL63+VPidwDVLr7V2OcTSdRw==", + "dev": true, + "requires": { + "http-response-object": "^3.0.1", + "sync-rpc": "^1.2.1", + "then-request": "^6.0.0" + } + }, + "sync-rpc": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/sync-rpc/-/sync-rpc-1.3.6.tgz", + "integrity": "sha512-J8jTXuZzRlvU7HemDgHi3pGnh/rkoqR/OZSjhTyyZrEkkYQbk7Z33AXp37mkPfPpfdOuj7Ex3H/TJM1z48uPQw==", + "dev": true, + "requires": { + "get-port": "^3.1.0" + } + }, + "table": { + "version": "5.4.6", + "resolved": "https://registry.npmjs.org/table/-/table-5.4.6.tgz", + "integrity": "sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug==", + "dev": true, + "requires": { + "ajv": "^6.10.2", + "lodash": "^4.17.14", + "slice-ansi": "^2.1.0", + "string-width": "^3.0.0" + }, + "dependencies": { + "ansi-regex": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", + "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", + "dev": true + }, + "emoji-regex": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", + "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", + "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", + "dev": true + }, + "string-width": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", + "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", + "dev": true, + "requires": { + "emoji-regex": "^7.0.1", + "is-fullwidth-code-point": "^2.0.0", + "strip-ansi": "^5.1.0" + } + }, + "strip-ansi": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", + "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", + "dev": true, + "requires": { + "ansi-regex": "^4.1.0" + } + } + } + }, + "text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", + "dev": true + }, + "then-request": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/then-request/-/then-request-6.0.2.tgz", + "integrity": "sha512-3ZBiG7JvP3wbDzA9iNY5zJQcHL4jn/0BWtXIkagfz7QgOL/LqjCEOBQuJNZfu0XYnv5JhKh+cDxCPM4ILrqruA==", + "dev": true, + "requires": { + "@types/concat-stream": "^1.6.0", + "@types/form-data": "0.0.33", + "@types/node": "^8.0.0", + "@types/qs": "^6.2.31", + "caseless": "~0.12.0", + "concat-stream": "^1.6.0", + "form-data": "^2.2.0", + "http-basic": "^8.1.1", + "http-response-object": "^3.0.1", + "promise": "^8.0.0", + "qs": "^6.4.0" + }, + "dependencies": { + "@types/node": { + "version": "8.10.58", + "resolved": "https://registry.npmjs.org/@types/node/-/node-8.10.58.tgz", + "integrity": "sha512-NNcUk/rAdR7Pie7WiA5NHp345dTkD62qaxqscQXVIjCjog/ZXsrG8Wo7dZMZAzE7PSpA+qR2S3TYTeFCKuBFxQ==", + "dev": true + } + } + }, + "through": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", + "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", + "dev": true + }, + "tmp": { + "version": "0.0.33", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", + "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", + "dev": true, + "requires": { + "os-tmpdir": "~1.0.2" + } + }, + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true + }, + "tslib": { + "version": "1.13.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.13.0.tgz", + "integrity": "sha512-i/6DQjL8Xf3be4K/E6Wgpekn5Qasl1usyw++dAA35Ue5orEn65VIxOA+YvNNl9HV3qv70T7CNwjODHZrLwvd1Q==", + "dev": true + }, + "type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "requires": { + "prelude-ls": "^1.2.1" + } + }, + "type-fest": { + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", + "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", + "dev": true + }, + "typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", + "dev": true + }, + "uc.micro": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz", + "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==", + "dev": true + }, + "uglify-js": { + "version": "3.9.3", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.9.3.tgz", + "integrity": "sha512-r5ImcL6QyzQGVimQoov3aL2ZScywrOgBXGndbWrdehKoSvGe/RmiE5Jpw/v+GvxODt6l2tpBXwA7n+qZVlHBMA==", + "dev": true, + "requires": { + "commander": "~2.20.3" + } + }, + "unicode-canonical-property-names-ecmascript": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz", + "integrity": "sha512-jDrNnXWHd4oHiTZnx/ZG7gtUTVp+gCcTTKr8L0HjlwphROEW3+Him+IpvC+xcJEFegapiMZyZe02CyuOnRmbnQ==", + "dev": true + }, + "unicode-match-property-ecmascript": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-1.0.4.tgz", + "integrity": "sha512-L4Qoh15vTfntsn4P1zqnHulG0LdXgjSO035fEpdtp6YxXhMT51Q6vgM5lYdG/5X3MjS+k/Y9Xw4SFCY9IkR0rg==", + "dev": true, + "requires": { + "unicode-canonical-property-names-ecmascript": "^1.0.4", + "unicode-property-aliases-ecmascript": "^1.0.4" + } + }, + "unicode-match-property-value-ecmascript": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.2.0.tgz", + "integrity": "sha512-wjuQHGQVofmSJv1uVISKLE5zO2rNGzM/KCYZch/QQvez7C1hUhBIuZ701fYXExuufJFMPhv2SyL8CyoIfMLbIQ==", + "dev": true + }, + "unicode-property-aliases-ecmascript": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.1.0.tgz", + "integrity": "sha512-PqSoPh/pWetQ2phoj5RLiaqIk4kCNwoV3CI+LfGmWLKI3rE3kl1h59XpX2BjgDrmbxD9ARtQobPGU1SguCYuQg==", + "dev": true + }, + "uri-js": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", + "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", + "dev": true, + "requires": { + "punycode": "^2.1.0" + } + }, + "util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", + "dev": true + }, + "v8-compile-cache": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.1.0.tgz", + "integrity": "sha512-usZBT3PW+LOjM25wbqIlZwPeJV+3OSz3M1k1Ws8snlW39dZyYL9lOGC5FgPVHfk0jKmjiDV8Z0mIbVQPiwFs7g==", + "dev": true + }, + "validate-npm-package-license": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", + "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", + "dev": true, + "requires": { + "spdx-correct": "^3.0.0", + "spdx-expression-parse": "^3.0.0" + } + }, + "vuln-regex-detector": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/vuln-regex-detector/-/vuln-regex-detector-1.3.0.tgz", + "integrity": "sha512-QWm8buVznZjdcfMuFHYsiNfHd0YQ7dO41G0iEGVPlUng5eZUo8uy+QsVCmbgVZ2b96xprY1Tz9dQD7QtvbFHXw==", + "dev": true, + "requires": { + "sync-request": "^6.0.0" + } + }, + "which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "requires": { + "isexe": "^2.0.0" + } + }, + "word-wrap": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", + "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", + "dev": true + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", + "dev": true + }, + "write": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/write/-/write-1.0.3.tgz", + "integrity": "sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig==", + "dev": true, + "requires": { + "mkdirp": "^0.5.1" + } + } + } +} diff --git a/packages/markdown/marked/package.json b/packages/markdown/marked/package.json new file mode 100644 index 0000000..db7d2f9 --- /dev/null +++ b/packages/markdown/marked/package.json @@ -0,0 +1,81 @@ +{ + "name": "marked", + "description": "A markdown parser built for speed", + "author": "Christopher Jeffrey", + "version": "1.1.0", + "main": "./src/marked.js", + "browser": "./lib/marked.js", + "bin": "./bin/marked", + "man": "./man/marked.1", + "files": [ + "bin/", + "lib/", + "src/", + "man/", + "marked.min.js" + ], + "repository": "git://github.com/markedjs/marked.git", + "homepage": "https://marked.js.org", + "bugs": { + "url": "http://github.com/markedjs/marked/issues" + }, + "license": "MIT", + "keywords": [ + "markdown", + "markup", + "html" + ], + "tags": [ + "markdown", + "markup", + "html" + ], + "devDependencies": { + "@babel/core": "^7.9.6", + "@babel/preset-env": "^7.9.6", + "@markedjs/html-differ": "^3.0.2", + "cheerio": "^1.0.0-rc.3", + "commonmark": "0.29.x", + "eslint": "^7.0.0", + "eslint-config-standard": "^14.1.1", + "eslint-plugin-import": "^2.20.2", + "eslint-plugin-node": "^11.1.0", + "eslint-plugin-promise": "^4.2.1", + "eslint-plugin-standard": "^4.0.1", + "front-matter": "^3.2.1", + "jasmine": "^3.5.0", + "markdown": "0.5.x", + "markdown-it": "10.x", + "node-fetch": "^2.6.0", + "rollup": "^2.10.2", + "rollup-plugin-babel": "^4.4.0", + "rollup-plugin-commonjs": "^10.1.0", + "rollup-plugin-license": "^2.0.1", + "uglify-js": "^3.9.3", + "vuln-regex-detector": "^1.3.0" + }, + "scripts": { + "test": "jasmine --config=jasmine.json", + "test:all": "npm test && npm run test:lint", + "test:unit": "npm test -- test/unit/**/*-spec.js", + "test:specs": "npm test -- test/specs/**/*-spec.js", + "test:lint": "eslint bin/marked .", + "test:redos": "node test/vuln-regex.js", + "test:update": "node test/update-specs.js", + "bench": "npm run rollup && node test/bench.js", + "lint": "eslint --fix bin/marked .", + "build:reset": "git checkout upstream/master lib/marked.js lib/marked.esm.js marked.min.js", + "build": "npm run rollup && npm run minify", + "rollup": "npm run rollup:umd && npm run rollup:esm", + "rollup:umd": "rollup -c rollup.config.js", + "rollup:esm": "rollup -c rollup.config.esm.js", + "minify": "uglifyjs lib/marked.js -cm --comments /Copyright/ -o marked.min.js", + "preversion": "npm run build && (git diff --quiet || git commit -am build)" + }, + "engines": { + "node": ">= 8.16.2" + }, + "dependencies": { + "lodash": "^4.17.19" + } +} diff --git a/packages/markdown/package.js b/packages/markdown/package.js new file mode 100755 index 0000000..5522885 --- /dev/null +++ b/packages/markdown/package.js @@ -0,0 +1,28 @@ +// Source: https://github.com/chjj/marked + +Package.describe({ + name: 'wekan-markdown', + summary: 'GitHub flavored markdown parser for Meteor based on marked.js', + version: '1.0.9', + git: 'https://github.com/wekan/markdown.git', +}); + +// Before Meteor 0.9? +if(!Package.onUse) Package.onUse = Package.on_use; + +Package.onUse(function (api) { + if(api.versionsFrom) api.versionsFrom('1.8.2'); + + api.use('templating'); + api.use("ecmascript", ['server', 'client']); + + api.add_files('marked/lib/marked.js', ['server', 'client']); + api.add_files('src/markdown.js', ['server', 'client']); + api.export('Markdown', ['server', 'client']); + + api.use('ui', 'client', {weak: true}); + api.use('tmeasday:check-npm-versions', 'client'); + + api.add_files('src/checkNpmVersions.js', 'client'); + api.add_files('src/template-integration.js', 'client'); +}); diff --git a/packages/markdown/smart.json b/packages/markdown/smart.json new file mode 100755 index 0000000..dd44306 --- /dev/null +++ b/packages/markdown/smart.json @@ -0,0 +1,9 @@ +{ + "name": "markdown", + "description": "GitHub flavored markdown parser for Meteor based on marked.js", + "homepage": "https://github.com/wekan/markdown", + "author": "Petar Korponaic", + "version": "1.0.7", + "git": "https://github.com/wekan/markdown.git", + "packages": {} +} diff --git a/packages/markdown/src/checkNpmVersions.js b/packages/markdown/src/checkNpmVersions.js new file mode 100644 index 0000000..350ca54 --- /dev/null +++ b/packages/markdown/src/checkNpmVersions.js @@ -0,0 +1,5 @@ +import { checkNpmVersions } from 'meteor/tmeasday:check-npm-versions'; + +checkNpmVersions({ + 'xss': '1.0.6', +}, 'my:xss'); diff --git a/packages/markdown/src/markdown.js b/packages/markdown/src/markdown.js new file mode 100755 index 0000000..8e003f2 --- /dev/null +++ b/packages/markdown/src/markdown.js @@ -0,0 +1,9 @@ +import marked from '../marked/lib/marked.js'; + +marked.setOptions({ + gfm: true, + tables: true, + breaks: true, +}); + +Markdown = marked; diff --git a/packages/markdown/src/template-integration.js b/packages/markdown/src/template-integration.js new file mode 100755 index 0000000..bd8eec4 --- /dev/null +++ b/packages/markdown/src/template-integration.js @@ -0,0 +1,18 @@ +import sanitizeXss from 'xss'; + +if (Package.ui) { + const Template = Package.templating.Template; + const UI = Package.ui.UI; + const HTML = Package.htmljs.HTML; + const Blaze = Package.blaze.Blaze; // implied by `ui` + + UI.registerHelper('markdown', new Template('markdown', function () { + const self = this; + let text = ''; + if (self.templateContentBlock) { + text = Blaze._toText(self.templateContentBlock, HTML.TEXTMODE.STRING); + } + + return HTML.Raw(sanitizeXss(Markdown(text))); + })); +} diff --git a/packages/meteor-accounts-cas/.gitignore b/packages/meteor-accounts-cas/.gitignore new file mode 100644 index 0000000..bed7713 --- /dev/null +++ b/packages/meteor-accounts-cas/.gitignore @@ -0,0 +1,2 @@ +.build* +node_modules/ diff --git a/packages/meteor-accounts-cas/LICENSE b/packages/meteor-accounts-cas/LICENSE new file mode 100644 index 0000000..c2d6915 --- /dev/null +++ b/packages/meteor-accounts-cas/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014-2019 The Wekan Team + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/meteor-accounts-cas/README.md b/packages/meteor-accounts-cas/README.md new file mode 100644 index 0000000..3e246c4 --- /dev/null +++ b/packages/meteor-accounts-cas/README.md @@ -0,0 +1,88 @@ +This is a merged repository of useful forks of: atoy40:accounts-cas +=================== +([(https://atmospherejs.com/atoy40/accounts-cas](https://atmospherejs.com/atoy40/accounts-cas)) + +## Essential improvements by ppoulard to atoy40 and xaionaro versions + +* Added support of CAS attributes + +With this plugin, you can pick CAS attributes : https://github.com/joshchan/node-cas/wiki/CAS-Attributes + +Moved to Wekan GitHub org from from https://github.com/ppoulard/meteor-accounts-cas + +## Install + +``` +cd ~site +mkdir packages +cd packages +git clone https://github.com/wekan/meteor-accounts-cas +cd ~site +meteor add wekan:accounts-cas +``` + +## Usage + +Put CAS settings in Meteor.settings (for example using METEOR_SETTINGS env or --settings) like so: + +If casVersion is not defined, it will assume you use CAS 1.0. (note by xaionaro: option `casVersion` seems to be just ignored in the code, ATM). + +Server side settings: + +``` +Meteor.settings = { + "cas": { + "baseUrl": "https://cas.example.com/cas", + "autoClose": true, + "validateUrl":"https://cas.example.com/cas/p3/serviceValidate", + "casVersion": 3.0, + "attributes": { + "debug" : true + } + }, +} +``` + +CAS `attributes` settings : + +* `attributes`: by default `{}` : all default values below will apply +* * `debug` : by default `false` ; `true` will print to the server console the CAS attribute names to map, the CAS attributes values retrieved, if necessary the new user account created, and finally the user to use +* * `id` : by default, the CAS user is used for the user account, but you can specified another CAS attribute +* * `firstname` : by default `cas:givenName` ; but you can use your own CAS attribute +* * `lastname` : by default `cas:sn` (respectively) ; but you can use your own CAS attribute +* * `fullname` : by default unused, but if you specify your own CAS attribute, it will be used instead of the `firstname` + `lastname` +* * `mail` : by default `cas:mail` + +Client side settings: + +``` +Meteor.settings = { + "public": { + "cas": { + "loginUrl": "https://cas.example.com/login", + "serviceParam": "service", + "popupWidth": 810, + "popupHeight": 610, + "popup": true, + } + } +} +``` + +`proxyUrl` is not required. Setup [ROOT_URL](http://docs.meteor.com/api/core.html#Meteor-absoluteUrl) environment variable instead. + +Then, to start authentication, you have to call the following method from the client (for example in a click handler) : + +``` +Meteor.loginWithCas([callback]); +``` + +It must open a popup containing you CAS login form or redirect to the CAS login form (depending on "popup" setting). + +If popup is disabled (== false), then it's required to execute `Meteor.initCas([callback])` in `Meteor.startup` of the client side. ATM, `Meteor.initCas()` completes authentication. + +## Examples + +* [https://devel.mephi.ru/dyokunev/start-mephi-ru](https://devel.mephi.ru/dyokunev/start-mephi-ru) + + diff --git a/packages/meteor-accounts-cas/cas_client.js b/packages/meteor-accounts-cas/cas_client.js new file mode 100644 index 0000000..ca9288a --- /dev/null +++ b/packages/meteor-accounts-cas/cas_client.js @@ -0,0 +1,117 @@ + +function addParameterToURL(url, param){ + var urlSplit = url.split('?'); + return url+(urlSplit.length>0 ? '?':'&') + param; +} + +Meteor.initCas = function(callback) { + const casTokenMatch = window.location.href.match(/[?&]casToken=([^&]+)/); + if (casTokenMatch == null) { + return; + } + + window.history.pushState('', document.title, window.location.href.replace(/([&?])casToken=[^&]+[&]?/, '$1').replace(/[?&]+$/g, '')); + + Accounts.callLoginMethod({ + methodArguments: [{ cas: { credentialToken: casTokenMatch[1] } }], + userCallback: function(err){ + if (err == null) { + // should we do anything on success? + } + if (callback != null) { + callback(err); + } + } + }); +} + +Meteor.loginWithCas = function(options, callback) { + + var credentialToken = Random.id(); + + if (!Meteor.settings.public && + !Meteor.settings.public.cas && + !Meteor.settings.public.cas.loginUrl) { + return; + } + + var settings = Meteor.settings.public.cas; + + var backURL = window.location.href.replace('#', ''); + if (options != null && options.redirectUrl != null) + backURL = options.redirectUrl; + + var serviceURL = addParameterToURL(backURL, 'casToken='+credentialToken); + + var loginUrl = settings.loginUrl + + "?" + (settings.serviceParam || "service") + "=" + + encodeURIComponent(serviceURL) + + if (settings.popup == false) { + window.location = loginUrl; + return; + } + + var popup = openCenteredPopup( + loginUrl, + settings.width || 800, + settings.height || 600 + ); + + var checkPopupOpen = setInterval(function() { + try { + if(popup && popup.document && popup.document.getElementById('popupCanBeClosed')) { + popup.close(); + } + // Fix for #328 - added a second test criteria (popup.closed === undefined) + // to humour this Android quirk: + // http://code.google.com/p/android/issues/detail?id=21061 + var popupClosed = popup.closed || popup.closed === undefined; + } catch (e) { + // For some unknown reason, IE9 (and others?) sometimes (when + // the popup closes too quickly?) throws "SCRIPT16386: No such + // interface supported" when trying to read 'popup.closed'. Try + // again in 100ms. + return; + } + + if (popupClosed) { + clearInterval(checkPopupOpen); + + // check auth on server. + Accounts.callLoginMethod({ + methodArguments: [{ cas: { credentialToken: credentialToken } }], + userCallback: err => { + // Fix redirect bug after login successfully + if (!err) { + window.location.href = '/'; + } + } + }); + } + }, 100); +}; + +var openCenteredPopup = function(url, width, height) { + var screenX = typeof window.screenX !== 'undefined' + ? window.screenX : window.screenLeft; + var screenY = typeof window.screenY !== 'undefined' + ? window.screenY : window.screenTop; + var outerWidth = typeof window.outerWidth !== 'undefined' + ? window.outerWidth : document.body.clientWidth; + var outerHeight = typeof window.outerHeight !== 'undefined' + ? window.outerHeight : (document.body.clientHeight - 22); + // XXX what is the 22? + + // Use `outerWidth - width` and `outerHeight - height` for help in + // positioning the popup centered relative to the current window + var left = screenX + (outerWidth - width) / 2; + var top = screenY + (outerHeight - height) / 2; + var features = ('width=' + width + ',height=' + height + + ',left=' + left + ',top=' + top + ',scrollbars=yes'); + + var newwindow = window.open(url, '_blank', features); + if (newwindow.focus) + newwindow.focus(); + return newwindow; +}; diff --git a/packages/meteor-accounts-cas/cas_client_cordova.js b/packages/meteor-accounts-cas/cas_client_cordova.js new file mode 100644 index 0000000..c7f95b5 --- /dev/null +++ b/packages/meteor-accounts-cas/cas_client_cordova.js @@ -0,0 +1,71 @@ + +Meteor.loginWithCas = function(callback) { + + var credentialToken = Random.id(); + + if (!Meteor.settings.public && + !Meteor.settings.public.cas && + !Meteor.settings.public.cas.loginUrl) { + return; + } + + var settings = Meteor.settings.public.cas; + + var loginUrl = settings.loginUrl + + "?" + (settings.service || "service") + "=" + + Meteor.absoluteUrl('_cas/') + + credentialToken; + + + var fail = function (err) { + Meteor._debug("Error from OAuth popup: " + JSON.stringify(err)); + }; + + // When running on an android device, we sometimes see the + // `pageLoaded` callback fire twice for the final page in the OAuth + // popup, even though the page only loads once. This is maybe an + // Android bug or maybe something intentional about how onPageFinished + // works that we don't understand and isn't well-documented. + var oauthFinished = false; + + var pageLoaded = function (event) { + if (oauthFinished) { + return; + } + + if (event.url.indexOf(Meteor.absoluteUrl('_cas')) === 0) { + + oauthFinished = true; + + // On iOS, this seems to prevent "Warning: Attempt to dismiss from + // view controller while a presentation + // or dismiss is in progress". My guess is that the last + // navigation of the OAuth popup is still in progress while we try + // to close the popup. See + // https://issues.apache.org/jira/browse/CB-2285. + // + // XXX Can we make this timeout smaller? + setTimeout(function () { + popup.close(); + // check auth on server. + Accounts.callLoginMethod({ + methodArguments: [{ cas: { credentialToken: credentialToken } }], + userCallback: callback + }); + }, 100); + } + }; + + var onExit = function () { + popup.removeEventListener('loadstop', pageLoaded); + popup.removeEventListener('loaderror', fail); + popup.removeEventListener('exit', onExit); + }; + + var popup = window.open(loginUrl, '_blank', 'location=no,hidden=no'); + popup.addEventListener('loadstop', pageLoaded); + popup.addEventListener('loaderror', fail); + popup.addEventListener('exit', onExit); + popup.show(); + +}; \ No newline at end of file diff --git a/packages/meteor-accounts-cas/cas_server.js b/packages/meteor-accounts-cas/cas_server.js new file mode 100644 index 0000000..2e8edef --- /dev/null +++ b/packages/meteor-accounts-cas/cas_server.js @@ -0,0 +1,304 @@ +"use strict"; + +const Fiber = Npm.require('fibers'); +const https = Npm.require('https'); +const url = Npm.require('url'); +const xmlParser = Npm.require('xml2js'); + +// Library +class CAS { + constructor(options) { + options = options || {}; + + if (!options.validate_url) { + throw new Error('Required CAS option `validateUrl` missing.'); + } + + if (!options.service) { + throw new Error('Required CAS option `service` missing.'); + } + + const cas_url = url.parse(options.validate_url); + if (cas_url.protocol != 'https:' ) { + throw new Error('Only https CAS servers are supported.'); + } else if (!cas_url.hostname) { + throw new Error('Option `validateUrl` must be a valid url like: https://example.com/cas/serviceValidate'); + } else { + this.hostname = cas_url.host; + this.port = 443;// Should be 443 for https + this.validate_path = cas_url.pathname; + } + + this.service = options.service; + } + + validate(ticket, callback) { + const httparams = { + host: this.hostname, + port: this.port, + path: url.format({ + pathname: this.validate_path, + query: {ticket: ticket, service: this.service}, + }), + }; + + https.get(httparams, (res) => { + res.on('error', (e) => { + console.log('error' + e); + callback(e); + }); + + // Read result + res.setEncoding('utf8'); + let response = ''; + res.on('data', (chunk) => { + response += chunk; + }); + + res.on('end', (error) => { + if (error) { + console.log('error callback'); + console.log(error); + callback(undefined, false); + } else { + xmlParser.parseString(response, (err, result) => { + if (err) { + console.log('Bad response format.'); + callback({message: 'Bad response format. XML could not parse it'}); + } else { + if (result['cas:serviceResponse'] == null) { + console.log('Empty response.'); + callback({message: 'Empty response.'}); + } + if (result['cas:serviceResponse']['cas:authenticationSuccess']) { + const userData = { + id: result['cas:serviceResponse']['cas:authenticationSuccess'][0]['cas:user'][0].toLowerCase(), + }; + const attributes = result['cas:serviceResponse']['cas:authenticationSuccess'][0]['cas:attributes'][0]; + + // Check allowed ldap groups if exist (array only) + // example cas settings : "allowedLdapGroups" : ["wekan", "admin"], + let findedGroup = false; + const allowedLdapGroups = Meteor.settings.cas.allowedLdapGroups || false; + for (const fieldName in attributes) { + if (allowedLdapGroups && fieldName === 'cas:memberOf') { + for (const groups in attributes[fieldName]) { + const str = attributes[fieldName][groups]; + if (!Array.isArray(allowedLdapGroups)) { + callback({message: 'Settings "allowedLdapGroups" must be an array'}); + } + for (const allowedLdapGroup in allowedLdapGroups) { + if (str.search(`cn=${allowedLdapGroups[allowedLdapGroup]}`) >= 0) { + findedGroup = true; + } + } + } + } + userData[fieldName] = attributes[fieldName][0]; + } + + if (allowedLdapGroups && !findedGroup) { + callback({message: 'Group not finded.'}, false); + } else { + callback(undefined, true, userData); + } + } else { + callback(undefined, false); + } + } + }); + } + }); + }); + } +} +////// END OF CAS MODULE + +let _casCredentialTokens = {}; +let _userData = {}; + +//RoutePolicy.declare('/_cas/', 'network'); + +// Listen to incoming OAuth http requests +WebApp.connectHandlers.use((req, res, next) => { + // Need to create a Fiber since we're using synchronous http calls and nothing + // else is wrapping this in a fiber automatically + + Fiber(() => { + middleware(req, res, next); + }).run(); +}); + +const middleware = (req, res, next) => { + // Make sure to catch any exceptions because otherwise we'd crash + // the runner + try { + urlParsed = url.parse(req.url, true); + + // Getting the ticket (if it's defined in GET-params) + // If no ticket, then request will continue down the default + // middlewares. + const query = urlParsed.query; + if (query == null) { + next(); + return; + } + const ticket = query.ticket; + if (ticket == null) { + next(); + return; + } + + const serviceUrl = Meteor.absoluteUrl(urlParsed.href.replace(/^\//g, '')).replace(/([&?])ticket=[^&]+[&]?/g, '$1').replace(/[?&]+$/g, ''); + const redirectUrl = serviceUrl;//.replace(/([&?])casToken=[^&]+[&]?/g, '$1').replace(/[?&]+$/g, ''); + + // get auth token + const credentialToken = query.casToken; + if (!credentialToken) { + end(res, redirectUrl); + return; + } + + // validate ticket + casValidate(req, ticket, credentialToken, serviceUrl, () => { + end(res, redirectUrl); + }); + + } catch (err) { + console.log("account-cas: unexpected error : " + err.message); + end(res, redirectUrl); + } +}; + +const casValidate = (req, ticket, token, service, callback) => { + // get configuration + if (!Meteor.settings.cas/* || !Meteor.settings.cas.validate*/) { + throw new Error('accounts-cas: unable to get configuration.'); + } + + const cas = new CAS({ + validate_url: Meteor.settings.cas.validateUrl, + service: service, + version: Meteor.settings.cas.casVersion + }); + + cas.validate(ticket, (err, status, userData) => { + if (err) { + console.log("accounts-cas: error when trying to validate " + err); + console.log(err); + } else { + if (status) { + console.log(`accounts-cas: user validated ${userData.id} + (${JSON.stringify(userData)})`); + _casCredentialTokens[token] = { id: userData.id }; + _userData = userData; + } else { + console.log("accounts-cas: unable to validate " + ticket); + } + } + callback(); + }); + + return; +}; + +/* + * Register a server-side login handle. + * It is call after Accounts.callLoginMethod() is call from client. + */ + Accounts.registerLoginHandler((options) => { + if (!options.cas) + return undefined; + + if (!_hasCredential(options.cas.credentialToken)) { + throw new Meteor.Error(Accounts.LoginCancelledError.numericError, + 'no matching login attempt found'); + } + + const result = _retrieveCredential(options.cas.credentialToken); + + const attrs = Meteor.settings.cas.attributes || {}; + // CAS keys + const fn = attrs.firstname || 'cas:givenName'; + const ln = attrs.lastname || 'cas:sn'; + const full = attrs.fullname; + const mail = attrs.mail || 'cas:mail'; // or 'email' + const uid = attrs.id || 'id'; + if (attrs.debug) { + if (full) { + console.log(`CAS fields : id:"${uid}", fullname:"${full}", mail:"${mail}"`); + } else { + console.log(`CAS fields : id:"${uid}", firstname:"${fn}", lastname:"${ln}", mail:"${mail}"`); + } + } + const name = full ? _userData[full] : _userData[fn] + ' ' + _userData[ln]; + // https://docs.meteor.com/api/accounts.html#Meteor-users + options = { + // _id: Meteor.userId() + username: _userData[uid], // Unique name + emails: [ + { address: _userData[mail], verified: true } + ], + createdAt: new Date(), + profile: { + // The profile is writable by the user by default. + name: name, + fullname : name, + email : _userData[mail] + }, + active: true, + globalRoles: ['user'] + }; + if (attrs.debug) { + console.log(`CAS response : ${JSON.stringify(result)}`); + } + let user = Meteor.users.findOne({ 'username': options.username }); + if (! user) { + if (attrs.debug) { + console.log(`Creating user account ${JSON.stringify(options)}`); + } + const userId = Accounts.insertUserDoc({}, options); + user = Meteor.users.findOne(userId); + } + if (attrs.debug) { + console.log(`Using user account ${JSON.stringify(user)}`); + } + return { userId: user._id }; +}); + +const _hasCredential = (credentialToken) => { + return _.has(_casCredentialTokens, credentialToken); +} + +/* + * Retrieve token and delete it to avoid replaying it. + */ +const _retrieveCredential = (credentialToken) => { + const result = _casCredentialTokens[credentialToken]; + delete _casCredentialTokens[credentialToken]; + return result; +} + +const closePopup = (res) => { + if (Meteor.settings.cas && Meteor.settings.cas.popup == false) { + return; + } + res.writeHead(200, {'Content-Type': 'text/html'}); + const content = '
    '; + res.end(content, 'utf-8'); +} + +const redirect = (res, whereTo) => { + res.writeHead(302, {'Location': whereTo}); + const content = 'Redirection to
    '+whereTo+''; + res.end(content, 'utf-8'); + return +} + +const end = (res, whereTo) => { + if (Meteor.settings.cas && Meteor.settings.cas.popup == false) { + redirect(res, whereTo); + } else { + closePopup(res); + } +} diff --git a/packages/meteor-accounts-cas/package.js b/packages/meteor-accounts-cas/package.js new file mode 100644 index 0000000..670fe68 --- /dev/null +++ b/packages/meteor-accounts-cas/package.js @@ -0,0 +1,29 @@ +Package.describe({ + summary: "CAS support for accounts", + version: "0.1.0", + name: "wekan:accounts-cas", + git: "https://github.com/wekan/meteor-accounts-cas" +}); + +Package.onUse(function(api) { + api.versionsFrom('METEOR@1.3.5.1'); + api.use('routepolicy', 'server'); + api.use('webapp', 'server'); + api.use('accounts-base', ['client', 'server']); + // Export Accounts (etc) to packages using this one. + api.imply('accounts-base', ['client', 'server']); + api.use('underscore'); + api.add_files('cas_client.js', 'web.browser'); + api.add_files('cas_client_cordova.js', 'web.cordova'); + api.add_files('cas_server.js', 'server'); + +}); + +Npm.depends({ + xml2js: "0.4.17", + cas: "https://github.com/anrizal/node-cas/tarball/2baed530842e7a437f8f71b9346bcac8e84773cc" +}); + +Cordova.depends({ + 'cordova-plugin-inappbrowser': '1.2.0' +}); diff --git a/packages/meteor-useraccounts-core/.editorconfig b/packages/meteor-useraccounts-core/.editorconfig new file mode 100644 index 0000000..6667b41 --- /dev/null +++ b/packages/meteor-useraccounts-core/.editorconfig @@ -0,0 +1,18 @@ +#.editorconfig +# Meteor adapted EditorConfig, http://EditorConfig.org +# By RaiX 2013 + +root = true + +[*.js] +end_of_line = lf +insert_final_newline = true +indent_style = space +indent_size = 2 +trim_trailing_whitespace = true +charset = utf-8 +max_line_length = 80 +indent_brace_style = 1TBS +spaces_around_operators = true +quote_type = auto +# curly_bracket_next_line = true diff --git a/packages/meteor-useraccounts-core/.gitignore b/packages/meteor-useraccounts-core/.gitignore new file mode 100644 index 0000000..0f1edf5 --- /dev/null +++ b/packages/meteor-useraccounts-core/.gitignore @@ -0,0 +1,2 @@ +.build* +versions.json diff --git a/packages/meteor-useraccounts-core/.jshintignore b/packages/meteor-useraccounts-core/.jshintignore new file mode 100644 index 0000000..810f946 --- /dev/null +++ b/packages/meteor-useraccounts-core/.jshintignore @@ -0,0 +1,2 @@ +client/compatibility +packages \ No newline at end of file diff --git a/packages/meteor-useraccounts-core/.jshintrc b/packages/meteor-useraccounts-core/.jshintrc new file mode 100644 index 0000000..7a0c90b --- /dev/null +++ b/packages/meteor-useraccounts-core/.jshintrc @@ -0,0 +1,132 @@ +//.jshintrc +{ + // JSHint Meteor Configuration File + // Match the Meteor Style Guide + // + // By @raix with contributions from @aldeed and @awatson1978 + // Source https://github.com/raix/Meteor-jshintrc + // + // See http://jshint.com/docs/ for more details + + "maxerr" : 50, // {int} Maximum error before stopping + + // Enforcing + "bitwise" : true, // true: Prohibit bitwise operators (&, |, ^, etc.) + "camelcase" : true, // true: Identifiers must be in camelCase + "curly" : true, // true: Require {} for every new block or scope + "eqeqeq" : true, // true: Require triple equals (===) for comparison + "forin" : true, // true: Require filtering for..in loops with obj.hasOwnProperty() + "immed" : false, // true: Require immediate invocations to be wrapped in parens e.g. `(function () { } ());` + "indent" : 2, // {int} Number of spaces to use for indentation + "latedef" : false, // true: Require variables/functions to be defined before being used + "newcap" : false, // true: Require capitalization of all constructor functions e.g. `new F()` + "noarg" : true, // true: Prohibit use of `arguments.caller` and `arguments.callee` + "noempty" : true, // true: Prohibit use of empty blocks + "nonew" : false, // true: Prohibit use of constructors for side-effects (without assignment) + "plusplus" : false, // true: Prohibit use of `++` & `--` + "quotmark" : false, // Quotation mark consistency: + // false : do nothing (default) + // true : ensure whatever is used is consistent + // "single" : require single quotes + // "double" : require double quotes + "undef" : true, // true: Require all non-global variables to be declared (prevents global leaks) + "unused" : true, // true: Require all defined variables be used + "strict" : true, // true: Requires all functions run in ES5 Strict Mode + "trailing" : true, // true: Prohibit trailing whitespaces + "maxparams" : false, // {int} Max number of formal params allowed per function + "maxdepth" : false, // {int} Max depth of nested blocks (within functions) + "maxstatements" : false, // {int} Max number statements per function + "maxcomplexity" : false, // {int} Max cyclomatic complexity per function + "maxlen" : 80, // {int} Max number of characters per line + + // Relaxing + "asi" : false, // true: Tolerate Automatic Semicolon Insertion (no semicolons) + "boss" : false, // true: Tolerate assignments where comparisons would be expected + "debug" : false, // true: Allow debugger statements e.g. browser breakpoints. + "eqnull" : false, // true: Tolerate use of `== null` + "es5" : false, // true: Allow ES5 syntax (ex: getters and setters) + "esnext" : false, // true: Allow ES.next (ES6) syntax (ex: `const`) + "moz" : false, // true: Allow Mozilla specific syntax (extends and overrides esnext features) + // (ex: `for each`, multiple try/catch, function expression…) + "evil" : false, // true: Tolerate use of `eval` and `new Function()` + "expr" : false, // true: Tolerate `ExpressionStatement` as Programs + "funcscope" : false, // true: Tolerate defining variables inside control statements" + "globalstrict" : true, // true: Allow global "use strict" (also enables 'strict') + "iterator" : false, // true: Tolerate using the `__iterator__` property + "lastsemic" : false, // true: Tolerate omitting a semicolon for the last statement of a 1-line block + "laxbreak" : false, // true: Tolerate possibly unsafe line breakings + "laxcomma" : false, // true: Tolerate comma-first style coding + "loopfunc" : false, // true: Tolerate functions being defined in loops + "multistr" : false, // true: Tolerate multi-line strings + "proto" : false, // true: Tolerate using the `__proto__` property + "scripturl" : false, // true: Tolerate script-targeted URLs + "smarttabs" : false, // true: Tolerate mixed tabs/spaces when used for alignment + "shadow" : false, // true: Allows re-define variables later in code e.g. `var x=1; x=2;` + "sub" : false, // true: Tolerate using `[]` notation when it can still be expressed in dot notation + "supernew" : false, // true: Tolerate `new function () { ... };` and `new Object;` + "validthis" : false, // true: Tolerate using this in a non-constructor function + + // Environments + "browser" : true, // Web Browser (window, document, etc) + "couch" : false, // CouchDB + "devel" : true, // Development/debugging (alert, confirm, etc) + "dojo" : false, // Dojo Toolkit + "jquery" : false, // jQuery + "mootools" : false, // MooTools + "node" : false, // Node.js + "nonstandard" : false, // Widely adopted globals (escape, unescape, etc) + "prototypejs" : false, // Prototype and Scriptaculous + "rhino" : false, // Rhino + "worker" : false, // Web Workers + "wsh" : false, // Windows Scripting Host + "yui" : false, // Yahoo User Interface + //"meteor" : false, // Meteor.js + + // Legacy + "nomen" : false, // true: Prohibit dangling `_` in variables + "onevar" : false, // true: Allow only one `var` statement per function + "passfail" : false, // true: Stop on first error + "white" : false, // true: Check against strict whitespace and indentation rules + + // Custom globals, from http://docs.meteor.com, in the order they appear there + "globals" : { + "Meteor": false, + "DDP": false, + "Mongo": false, //Meteor.Collection renamed to Mongo.Collection + "Session": false, + "Accounts": false, + "Template": false, + "Blaze": false, //UI is being renamed Blaze + "UI": false, + "Match": false, + "check": false, + "Tracker": false, //Deps renamed to Tracker + "Deps": false, + "ReactiveVar": false, + "EJSON": false, + "HTTP": false, + "Email": false, + "Assets": false, + "Handlebars": false, // https://github.com/meteor/meteor/wiki/Handlebars + "Package": false, + + // Meteor internals + "DDPServer": false, + "global": false, + "Log": false, + "MongoInternals": false, + "process": false, + "WebApp": false, + "WebAppInternals": false, + + // globals useful when creating Meteor packages + "Npm": false, + "Tinytest": false, + + // common Meteor packages + "Random": false, + "_": false, // Underscore.js + "$": false, // jQuery + "Router": false // iron-router + } +} diff --git a/packages/meteor-useraccounts-core/.travis.yml b/packages/meteor-useraccounts-core/.travis.yml new file mode 100644 index 0000000..7846a28 --- /dev/null +++ b/packages/meteor-useraccounts-core/.travis.yml @@ -0,0 +1,8 @@ +sudo: required +language: node_js +node_js: + - "0.10" +before_install: + - "curl -L http://git.io/ejPSng | /bin/sh" +env: + - TEST_COMMAND=meteor diff --git a/packages/meteor-useraccounts-core/Guide.md b/packages/meteor-useraccounts-core/Guide.md new file mode 100644 index 0000000..c84b3f8 --- /dev/null +++ b/packages/meteor-useraccounts-core/Guide.md @@ -0,0 +1,1433 @@ +User Accounts +============= + +User Accounts is a suite of packages for the [Meteor.js](https://www.meteor.com/) platform. It provides highly customizable user accounts UI templates for many different front-end frameworks. At the moment it includes forms for sign in, sign up, forgot password, reset password, change password, enroll account, and link or remove of many 3rd party services. + + +# Documentation + +* [Features](#features) +* [Quick Start](#quickstart) + * [Available Versions](#available-versions) + * [Boilerplates](#boilerplates) + * [Setup](#setup) + * [Routing](#routing) + * [Templates](#templates) +* [Basic Customization](#basic-customization) + * [I18n Support](#i18n) + * [Configuration API](#configuration-api) + * [Options](#options) + * [logout](#logout) + * [Internal States](#internal-states) + * [Content Protection](#content-protection) + * [reCaptcha Setup](#reCaptcha-setup) + * [Detect reactively when a form is being processed](#detect-reactively-when-a-form-is-being-processed) +* [Advanced Customization](#advanced-customization) + * [Configuring Texts](#configuring-texts) + * [Form Title](#form-title) + * [Button Text](#button-text) + * [Social Button Icons](#social-button-icons) + * [Info Text](#info-text) + * [Errors Text](#errors-text) + * [Disabling Client-side Accounts Creation](#disabling-client-side-accounts-creation) + * [Form Fields Configuration](#form-fields-configuration) + * [Extending Templates](#extending-templates) + * [Grouping Fields](#grouping-fields) + * [CSS Rules](#css-rules) +* [Wrapping Up for Famo.us](#wrapping-up-for-famo.us) +* [Side Notes](#side-notes) + * [3rd Party Login Services Configuration](#3rd-party-login-services-configuration) + + + +## Features + +* fully customizable +* security aware +* internationalization support thanks to [accounts-t9n](https://github.com/softwarerero/meteor-accounts-t9n) +* custom sign-up fields +* robust server side sign-up field validation +* easy content protection +* return to previous route after sign-in (even for random sign in choice and not only after required sign-in) +* fully reactive, Blaze fast! +* no use of `Session` object +* very easily stylizable for different font-end frameworks +* ...[wrap it up for famo.us](#wrapping-up-for-famo.us) with a simple meteor line! + + + + +## Quick Start + + + +### Available Versions + +* [useraccounts:bootstrap](https://atmospherejs.com/useraccounts/bootstrap) styled for [Twitter Bootstrap](http://getbootstrap.com/) +* [useraccounts:foundation](https://atmospherejs.com/useraccounts/foundation) styled for [Zurb Foundation](http://foundation.zurb.com/) +* [useraccounts:ionic](https://atmospherejs.com/useraccounts/ionic) styled for [Ionic](http://ionicframework.com/) +* [useraccounts:materialize](https://atmospherejs.com/useraccounts/materialize) styled for [Materialize](http://materializecss.com/) +* [useraccounts:polymer](https://atmospherejs.com/useraccounts/polymer) styled for [Polymer](https://www.polymer-project.org/) (WIP) +* [useraccounts:ratchet](https://atmospherejs.com/useraccounts/ratchet) styled for [Ratchet](http://goratchet.com/) +* [useraccounts:semantic-ui](https://atmospherejs.com/useraccounts/semantic-ui) styled for [Semantic UI](http://semantic-ui.com) +* [useraccounts:unstyled](https://atmospherejs.com/useraccounts/unstyled) with plain html and no CSS rules +* plus others coming soon... + + + +### Boilerplates + +For a very very quick start you can find some boilerplate examples inside [this repository](https://github.com/meteor-useraccounts/boilerplates). + +We'll try to make them richer and richer, while still keeping them as general as possible. + + +### Setup + +Just choose one of the packages among the [available styled versions](#available-versions) and install it: + +```Shell +meteor add useraccounts:bootstrap +meteor add +``` + +**Note 1:** no additional packages nor CSS/LESS/SASS files providing styles are included by useraccounts packages. This is to let you choose your preferred way to include them! + +**Note 2:** You don't have to add `useraccounts:core` to your app! It is automatically added when you add `useraccounts:`... + +Then add at least one login service: + +```Shell +meteor add accounts-password +meteor add accounts-facebook +meteor add accounts-google +... +``` + +**Note**: 3rd party services need to be configured... more about this [here](http://docs.meteor.com/#meteor_loginwithexternalservice) + +And that's it! + +...but don't expect to see much without doing something more ;-) +This is to let you configure your app exactly the way you wish, without imposing anything beforehand! + + + +### Routing + +If you'd like to easily configure specific routes to deal with accounts management, you might be interested to check out +[useraccounts:iron-routing](https://github.com/meteor-useraccounts/iron-routing) and [useraccounts:flow-routing](https://github.com/meteor-useraccounts/flow-routing) packages. +They provide very easy routes set-up via the `AccountsTemplates.configureRoute` method. + + + +### Templates + +There is **only one template** which is used to reactively draw appropriate sign in, sign up, forgot password, reset password, change password, and enroll account forms! + +It is `atForm` and can be used anywhere you wish like this: + +```html +{{> atForm}} +``` + +Its design is as *transparent* as possible, making it play nicely with themes and your CSS customizations! Also, it is not wrapped inside any *container* so that you can put it anywhere, including complex multi-column layouts. + +In case you wish to *lock* the template to a particular state, you can specify that via the `state` parameter: + +```html +{{> atForm state='signUp'}} +``` + +This will prevent the template from changing its content. See [internal states](#internal-states) for more details... + + +Well, actually there is many, used inside `atForm`... + +...plus one another: `atNavButton` which can be used inside navbars to get a basic sign-in sign-out button which changes text and behaviour based on the user status (to get it working you should set up at least a `signIn` route). + + + +## Basic Customization + + + +### I18n Support + +i18n is achieved using [accounts-t9n](https://atmospherejs.com/softwarerero/accounts-t9n). The only thing you have to do is ensure + +```javascript +T9n.setLanguage(''); +``` + +is called somewhere, whenever you want to switch language. + + + +### Configuration API + +There are basically two different ways to interact with AccountsTemplates for basic configuration: + +* AccountsTemplates.configureRoute(route_code, options); +* AccountsTemplates.configure(options); + +**These functions should be called in top-level code, not inside `Meteor.startup()`.** + +There is no specific order for the above calls to be effective, and you can call them more than once, possibly in different files. + +**The only other requirement is to make exactly the same calls on both the server and the client.** The best thing is to put everything inside a file shared between both. I suggest you use something like `lib/config/at_config.js` + + + +#### Options + +By calling `AccountsTemplates.configure(options)` you can specify a bunch of choices regarding both visual appearance and behavior. + +The following is an almost complete example of options configuration (with fields in alphabetical order): + +```javascript +AccountsTemplates.configure({ + // Behavior + confirmPassword: true, + enablePasswordChange: true, + forbidClientAccountCreation: false, + overrideLoginErrors: true, + sendVerificationEmail: false, + lowercaseUsername: false, + focusFirstInput: true, + + // Appearance + showAddRemoveServices: false, + showForgotPasswordLink: false, + showLabels: true, + showPlaceholders: true, + showResendVerificationEmailLink: false, + + // Client-side Validation + continuousValidation: false, + negativeFeedback: false, + negativeValidation: true, + positiveValidation: true, + positiveFeedback: true, + showValidating: true, + + // Privacy Policy and Terms of Use + privacyUrl: 'privacy', + termsUrl: 'terms-of-use', + + // Redirects + homeRoutePath: '/home', + redirectTimeout: 4000, + + // Hooks + onLogoutHook: myLogoutFunc, + onSubmitHook: mySubmitFunc, + preSignUpHook: myPreSubmitFunc, + postSignUpHook: myPostSubmitFunc, + + // Texts + texts: { + button: { + signUp: "Register Now!" + }, + socialSignUp: "Register", + socialIcons: { + "meteor-developer": "fa fa-rocket" + }, + title: { + forgotPwd: "Recover Your Password" + }, + }, +}); +``` + +Details for each of them follow. + +| Option | Type | Default | Description | +| --------------------------- | -------- | --------- | ----------- | +| **Behavior** | | | | +| confirmPassword | Boolean | true | Specifies whether to ask the password twice for confirmation. This has no effect on the sign in form. | +| defaultState | String | "signIn" | Specifies the state to be used initially when atForm is rendered. This is not considered when rendering atForm on configured routes. | +| enablePasswordChange | Boolean | false | Specifies whether to allow to show the form for password change. Note: In case the `changePwd` route is not configured, this is to be done *manually* inside some custom template. | +| enforceEmailVerification | Boolean | false | When set to true together with sendVerificationEmail, forbids user login unless the email address is verified. **Warning: experimental! Use it only if you have accounts-password as the only service!!!** | +| focusFirstInput | Boolean | !Meteor.isCordova | When set to true, asks to autofocus the first input of atForm when the template is rendered. Note: have a look at [this issue](https://github.com/meteor-useraccounts/core/issues/594) in case you're getting problems with cordova apps. | +| forbidClientAccountCreation | Boolean | false | Specifies whether to forbid user registration from the client side. In case it is set to true, neither the link for user registration nor the sign up form will be shown. | +| overrideLoginErrors | Boolean | true | Asks to show a general `Login Forbidden` on a login failure, without specifying whether it was for a wrong email or for a wrong password. | +| sendVerificationEmail | Boolean | false | Specifies whether to send the verification email after successful registration. | +| redirectTimeout | Number | 2000 | Specifies a timeout time for the redirect after successful form submit on `enrollAccount`, `forgotPwd`, `resetPwd`, and `verifyEmail` routes. | +| socialLoginStyle | String | "popup" | Specifies the login style for 3rd party services login. Valid values are `popup` or `redirect`. See `loginStyle` option of [Meteor.loginWith](http://docs.meteor.com/#/full/meteor_loginwithexternalservice) for more information. | +| lowercaseUsername | Boolean | false | Possibly asks to transform `username` field for user objects at registration time to be always in lowercase with no spaces. The original `username` value will be added to the `user.profile` field for later use. | +| **Appearance** | | | | +| hideSignInLink | Boolean | false | When set to true, asks to never show the link to the sign in page | +| hideSignUpLink | Boolean | false | When set to true, asks to never show the link to the sign up page | +| showAddRemoveServices | Boolean | false | Tells whether to show social account buttons also when the user is signed in. In case it is set to true, the text of buttons will change from 'Sign in With XXX' to 'Add XXX' or 'Remove XXX' when the user signs in. 'Add' will be used if that particular service is still not associated with the current account, while 'Remove' is used only in case a particular service is already used by the user **and** there are at least two services available for sign in operations. Clicks on 'Add XXX' trigger the call to `Meteor.loginWithXXX`, as usual, while click on 'Remove XXX' will call the method `ATRemoveService` provided by AccountsTemplates. This means you need to have some additional logic to deal with the call `Meteor.loginWithXXX` in order to actually add the service to the user account. One solution to this is to use the package [accounts-meld](https://atmospherejs.com/package/accounts-meld) which was build exactly for this purpose. | +| showForgotPasswordLink | Boolean | false | Specifies whether to display a link to the forgot password page/form | +| showLabels | Boolean | true | Specifies whether to display text labels above input elements. | +| showPlaceholders | Boolean | true | Specifies whether to display place-holder text inside input elements. | +| showResendVerificationEmailLink | Boolean | false | Specifies whether to display a link to the resend verification email page/form | +| **Texts** | | | | +| texts | Object | | Permits to specify texts to be shown on the atForm for each of its states (see [below](#configuring-texts)). | +| **Client-side Validation** | | | | +| continuousValidation | Boolean | false | Specifies whether to continuously validate fields' value while the user is typing. *It is performed client-side only to save round trips with the server*. | +| negativeValidation | Boolean | false | Specifies whether to highlight input elements in case of negative validation. | +| positiveValidation | Boolean | false | Specifies whether to highlight input elements in case of positive validation. | +| negativeFeedback | Boolean | false | Specifies whether to display negative validation feed-back inside input elements. | +| positiveFeedback | Boolean | false | Specifies whether to display positive validation feed-back inside input elements. | +| showValidating | Boolean | false | Specifies whether to display a loading icon inside input elements while the validation process is in progress. | +| **Links** | | | | +| homeRoutePath | String | '/' | Path for the home route, to be possibly used for redirects after successful form submission. | +| privacyUrl | String | undefined | Path for the route displaying the privacy document. In case it is specified, a link to the page will be displayed at the bottom of the form (when appropriate). | +| termsUrl | String | undefined | Path for the route displaying the document about terms of use. In case it is specified, a link to the page will be displayed at the bottom of the form (when appropriate). | +| **Hooks** | | | | +| onLogoutHook | Function | | Called on `AccountsTemplates.logout` invocation: allows for custom redirects or whatever custom action to be taken on user logout. | +| onSubmitHook | Function | | `func(error, state)` Called when the `pwdForm` is being submitted: allows for custom actions to be taken on form submission. `error` contains possible errors occurred during the submission process, `state` specifies the `atForm` internal state from which the submission was triggered. A nice use case might be closing the modal or side-menu showing `atForm` | +| preSignUpHook | Function | | `func(password, info)` Called just before submitting the `pwdForm` for sign-up: allows for custom actions on the data being submitted. A nice use could be extending the user profile object accessing `info.profile`. to be taken on form submission. The plain text `password` is also provided for any reasonable use. | +| postSignUpHook | Function | | `func(userId, info)` Called, **server side only**, just after a successfull user account creation, post submitting the `pwdForm` for sign-up: allows for custom actions on the data being submitted ___after___ we are sure a new user was ___successfully___ created. A common use might be applying roles to the user, as this is only possible after fully completing user creation in alanning:roles. The `userId` is available as the first parameter, so that user user object may be retrieved. The `password` is not available as it's already encrypted, though the encrypted password may be found in `info` if of use. | + +##### onSubmitHook + +A straightforward configuration about how to detect when a user logs in or registers might look like the following: + +```javascript +var mySubmitFunc = function(error, state){ + if (!error) { + if (state === "signIn") { + // Successfully logged in + // ... + } + if (state === "signUp") { + // Successfully registered + // ... + } + } +}; + +AccountsTemplates.configure({ + onSubmitHook: mySubmitFunc +}); +``` + + +##### AccountsTemplates.logout() + +Should be used in place of `Meteor.logout()`. This function invokes the `onLogoutHook` specified in the optional configuration. +Also note that `AccountsTemplates.logout()` is invoked when logging out using the `atNavButton`. + + +```javascript +//Use in place of Meteor.logout() in your client code. Also called automatically by atNavButton when clicking Sign Off +AccountsTemplates.logout(); + +``` + + +```javascript +var myPostLogout = function(){ + //example redirect after logout + Router.go('/home'); +}; + +AccountsTemplates.configure({ + onLogoutHook: myPostLogout +}); +``` + + +### Internal States + +The `atForm` template changes reactively based on the current internal state of AccountsTemplates. +The current internal state can be queried with `AccountsTemplates.getState()` and set with `AccountsTemplates.setState(new_state)` + + +Currently available states are: + +| Internal State | What's shown | +| ----------------------- | ------------------------------------------------------------------------------------- | +| changePwd | Change password form asking to set a new password | +| enrollAccount | Account Enrollment form asking to set a password | +| forgotPwd | Forgot Password form asking for the email address where to send a reset password link | +| hide | None at all... | +| resendVerificationEmail | Login form with an additional button to get another verification email | +| resetPwd | Reset Password form asking to set a password | +| signIn | Login form | +| signUp | Registration form | +| verifyEmail | Only the result about email verification | + + + + +### Content Protection + + +If you want to secure a specific template, you could add that template like this: + +```handlebars +{{> ensureSignedIn template="myTemplate"}} +``` +and that will render the default `fullPageAtForm` template from your chosen User Accounts templates package (bootstrap, materialize, etc). Once signed in, it'll render `myTemplate` instead of the accounts form. + +If you want to declare a custom sign in template instead of `fullPageAtForm`, you would do this: + +```handlebars +{{> ensureSignedIn template="myTemplate" auth="myLoginForm"}} +``` +That custom auth template just needs to include `{{> atForm}}` somewhere in it. The only reason you'd use this optional feature is if you wanted to modify the layout around the `atForm` template (like +`fullPageAtForm` does). + + +In case you're using one of the routing packages [useraccounts:iron-routing](https://github.com/meteor-useraccounts/iron-routing) +or [useraccounts:flow-routing](https://github.com/meteor-useraccounts/flow-routing) refer to their documentation for more possibilities. + + + +### reCaptcha Setup +To set up [reCaptcha](https://www.google.com/recaptcha/intro/index.html), you need to first obtain API keys. + +Then, a recommended setup is as follows. + +A [Meteor settings file](http://docs.meteor.com/#/full/meteor_settings) with the keys: + +```javascript +{ + "public": { + "reCaptcha": { + "siteKey": YOUR SITE KEY + } + }, + "reCaptcha": { + "secretKey": YOUR SECRET KEY + } +} +``` + +and configuration to show the reCaptcha widget: + +```javascript +AccountsTemplates.configure({ + showReCaptcha: true +}); +``` + +The reCaptcha plugin can likewise be set up with the following complete example: + + +```javascript +AccountsTemplates.configure({ + reCaptcha: { + siteKey: YOUR SITE KEY, + theme: "light", + data_type: "image" + }, + showReCaptcha: true +}); +``` + +And, in a separate file in the `/server` folder: + +```javascript +AccountsTemplates.configure({ + reCaptcha: { + secretKey: YOUR SECRET KEY. + }, +}); +``` + +Each option is described below: + +| Option | Type | Default | Description | +| --------------------------- | -------- | --------- | ----------- | +| siteKey | String | none | The site key needed to create the reCaptcha widget. This can be specified in just the Meteor settings file. | +| secretKey | String | none | The secret key needed to verify the reCaptcha response. ***Warning: Only set this in a file in `/server` or in a Meteor settings file. Otherwise, your private key can be read by anyone!*** | +| theme | String | "light" | Sets the reCaptcha theme color. The options are "light" and "dark". | +| data_type | String | "image" | Sets the verification method. Options are "image" or "audio". | +| showReCaptcha | Boolean | false | Whether to show the reCaptcha widget on sign in or not. No reCaptcha validation will occur if set to false. | + + +### Detect reactively when a form is being processed + +`AccountsTemplates.disabled()` returns `true` when a submitted form is being processed and `false` once the submission process has been completed (successfully or not). `AccountsTemplate.disabled()` is reactive and can be used to trigger UI events, such as spinners, "Please wait" messages or to disable input elements, while the form is being processed. The function works irrespectively of form status (signIn, signUp, pwdReset etc.). A typical use-case would be in a template helper: + +```html + +``` + +```js +Template.myLogin.helpers({ + atDisabled: function() { + return AccountsTemplates.disabled(); + }, + atClass: function() { + return AccountsTemplates.disabled() ? 'disabled' : 'active'; + } +}); +``` + + +## Advanced Customization + + + +### Configuring Texts + +In case you wish to change texts on atForm, you can call: + +```javascript +AccountsTemplates.configure({ + texts: { + navSignIn: "signIn", + navSignOut: "signOut", + optionalField: "optional", + pwdLink_pre: "", + pwdLink_link: "forgotPassword", + pwdLink_suff: "", + resendVerificationEmailLink_pre: "Verification email lost?", + resendVerificationEmailLink_link: "Send again", + resendVerificationEmailLink_suff: "", + sep: "OR", + signInLink_pre: "ifYouAlreadyHaveAnAccount", + signInLink_link: "signin", + signInLink_suff: "", + signUpLink_pre: "dontHaveAnAccount", + signUpLink_link: "signUp", + signUpLink_suff: "", + socialAdd: "add", + socialConfigure: "configure", + socialIcons: { + "meteor-developer": "fa fa-rocket", + }, + socialRemove: "remove", + socialSignIn: "signIn", + socialSignUp: "signUp", + socialWith: "with", + termsPreamble: "clickAgree", + termsPrivacy: "privacyPolicy", + termsAnd: "and", + termsTerms: "terms", + } +}); +``` + +the above example asks to change some of the available text configurations. You can specify only a subsets of them leaving default values unchanged. +To learn how to change title, button, social buttons' icon, info, and errors text read below. + + + +#### Form Title + +In case you wish to change form titles, you can call: + +```javascript +AccountsTemplates.configure({ + texts: { + title: { + changePwd: "Password Title", + enrollAccount: "Enroll Title", + forgotPwd: "Forgot Pwd Title", + resetPwd: "Reset Pwd Title", + signIn: "Sign In Title", + signUp: "Sign Up Title", + verifyEmail: "Verify Email Title", + } + } +}); +``` + +the above example asks to change the title for all possible form states, but you can specify only a subset of them leaving default values unchanged. + +You can also *hide* a title by setting it to an empty string. For example with: + +``` +AccountsTemplates.configure({ + texts: { + title: { + signIn: "", + } + } +}); +``` + +no title will be shown on the sign in form. + + + +#### Button Text + +In case you wish to change the text appearing inside the submission button, you can call: + +```javascript +AccountsTemplates.configure({ + texts: { + button: { + changePwd: "Password Text", + enrollAccount: "Enroll Text", + forgotPwd: "Forgot Pwd Text", + resetPwd: "Reset Pwd Text", + signIn: "Sign In Text", + signUp: "Sign Up Text", + } + } +}); +``` + +the above example asks to change the button text for all possible form states, but you can specify only a subset of them leaving default values unchanged. + + +#### Social Button Icons + +In case you wish to change the icon appearing on the left of social login buttons, you can call: + +```javascript +AccountsTemplates.configure({ + texts: { + socialIcons: { + google: "myGoogleIcon", + "meteor-developer": "myMeteorIcon", + } + } +}); +``` + +to specify a different icon classes to be used for services. By default the icon class is set to `fa fa-*service*`, +but for the "meteor-developer" service for which `fa fa-rocket` is used. An exception is made for `useaccounts:semantic-ui` +which sets them simply to `*service*`, which is the correct way to go. + + +#### Info Text + +In case you wish to change the info text appearing inside the results box, you can call: + +```javascript +AccountsTemplates.configure({ + texts: { + info: { + emailSent: "info.emailSent", + emailVerified: "info.emailVerified", + pwdChanged: "info.passwordChanged", + pwdReset: "info.passwordReset", + pwdSet: "info.passwordReset", + signUpVerifyEmail: "Successful Registration! Please check your email and follow the instructions.", + verificationEmailSent: "A new email has been sent to you. If the email doesn't show up in your inbox, be sure to check your spam folder.", + } + } +}); +``` + +The above calls simply set all values as the current default ones. + + +#### Input Field Icons + +In case you wish to change the icon appearing on the right side of input fields to show their validation status, you can call: + +```javascript +AccountsTemplates.configure({ + texts: { + inputIcons: { + isValidating: "fa fa-spinner fa-spin", + hasSuccess: "fa fa-check", + hasError: "fa fa-times", + } + } +}); +``` + + +#### Errors Text + +In case you wish to change the text for errors appearing inside the error box, you can call: + +```javascript +AccountsTemplates.configure({ + texts: { + errors: { + accountsCreationDisabled: "Client side accounts creation is disabled!!!", + cannotRemoveService: "Cannot remove the only active service!", + captchaVerification: "Captcha verification failed!", + loginForbidden: "error.accounts.Login forbidden", + mustBeLoggedIn: "error.accounts.Must be logged in", + pwdMismatch: "error.pwdsDontMatch", + validationErrors: "Validation Errors", + verifyEmailFirst: "Please verify your email first. Check the email and follow the link!", + } + } +}); +``` + +The above calls simply set all values as the current default ones. +*Note:* The above list of errors refers to those set directly by AccountsTemplates only! +Errors which comes from the Accounts packages cannot be overwritten (at least not easily...) +Please have a look at [Form Fields Configuration](#form-fields-configuration) to learn how to set validation errors on a field basis. + + + +### Disabling Client-side Accounts Creation + +AccountsTemplates disables by default accounts creation on the client. This is done to use a dedicated method called `ATCreateUserServer` **(sending the password on the wire already hashed as usual...)** to create the new users server-side. +This way a bulletproof profile fields full validation can be performed. +But there is one more parameter to set in case you'd like to forbid client-side accounts creation, which is the following: + +* `forbidClientAccountCreation` - (Boolean, default false) Specifies whether to forbid accounts creation from the client. + +it is exactly the same provided by the Accounts object, so this means you need to do: + +```javascript +AccountsTemplates.configure({ + forbidClientAccountCreation: true +}); +``` + +instead of the usual: + +```javascript +Accounts.config({ + forbidClientAccountCreation : true +}); +``` + + + +### Form Fields Configuration + +Every input field appearing inside AccountsTemplates forms can be easily customized both for appearance and validation behaviour. Additional (custom) fields can be added to the sign up and registration forms, and the properties of built-in fields, like `email` and `password` can be overridden (see [Remove fields](https://github.com/meteor-useraccounts/core/blob/master/Guide.md#remove-fields)) + +Each field object is represented by the following properties: + +| Property | Type | Required | Description | +| -------------------- | -----------------|:--------:| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| _id | String | X | A unique field's id/name (internal use only) to be also used as attribute name into `Meteor.user().profile` in case it identifies an additional sign up field. Usually all lowercase letters. | +| type | String | X | Specifies the input element type. At the moment supported inputs are: `password`, `email`, `text`, `tel`, `url`, `checkbox`, `select`, `radio`, `hidden`. | +| required | Boolean | | When set to true the corresponding field cannot be left blank | +| displayName | String or Object | | The field name to be shown as text label above the input element. In case nothing is specified, the capitalized `_id` is used. The text label is shown only if `showLabels` options is set to true. | +| placeholder | String or Object | | The placeholder text to be shown inside the input element. In case nothing is specified, the capitalized `_id` will be used. The place-holder is shown only if `showPlaceholders` option is set to true. | +| select | [Object] | | Lets you specify an array of choices to be displayed for select and radio inputs. See example below. | +| minLength | Integer | | If specified, requires the content of the field to be at least `minLength` characters. | +| maxLength | Integer | | If specified, require the content of the field to be at most `maxLength` characters. | +| re | RegExp | | Possibly specifies the regular expression to be used for the field's content validation. Validation is performed both client-side (at every input change if `continuousValidation` option is set to true) and server-side on form submit. | +| func | Function | | Custom function to be used for validation. | +| errStr | String | | Error message to be displayed in case re or func validation fail. | +| trim | Boolean | | Trim the input value. | +| lowercase | Boolean | | Convert the input value to lowercase. | +| uppercase | Boolean | | Convert the input value to uppercase. | +| transform | Function | | Custom function to transform the input value. | +| continuousValidation | Boolean | | Continuously validate fields' value while the user is typing. *It is performed client-side only to save round trips with the server*. | +| negativeValidation | Boolean | | Highlight input elements in case of negative validation. | +| positiveValidation | Boolean | | Highlight input elements in case of positive validation. | +| negativeFeedback | Boolean | | Display negative validation feedback inside input elements. | +| positiveFeedback | Boolean | | Display positive validation feedback inside input elements. | +| showValidating | Boolean | | Display a loading icon inside input elements while the validation process is in progress. | +| options | Object | | Allows to pass in additional custom options to be possibly used to extend input templates (see [Extending Templates](https://github.com/meteor-useraccounts/core/blob/master/Guide.md#extending-templates)) | +| template | String | | The name of a custom template to be used in place of the default one. | + + +`displayName`, `placeholder`, and `errStr` can also be an [accounts-t9n](https://atmospherejs.com/softwarerero/accounts-t9n) registered key, in which case it will be translated based on the currently selected language. +In case you'd like to specify a key which is not already provided by accounts-t9n you can always map your own keys. To learn how to register new labels, please refer to the official [documentation](https://github.com/softwarerero/meteor-accounts-t9n#define-translations). + +`continuousValidation`, `negativeFeedback`, `negativeValidation`, `positiveValidation`, `positiveFeedback`, `showValidating` can be used to override global settings (see [Form Fields Configuration](#form-fields-configuration)) on a per field basis. + +Furthermore, you can pass an object for `displayName`, `placeholder` to specify different texts for different form states. The matched pattern is: + +```javascript +{ + default: Match.Optional(String), + changePwd: Match.Optional(String), + enrollAccount: Match.Optional(String), + forgotPwd: Match.Optional(String), + resetPwd: Match.Optional(String), + signIn: Match.Optional(String), + signUp: Match.Optional(String), +} +``` + +which permits to specify a different text for each different state, or a default value to be used for states which are not explicitly provided. For example: + +```javascript +AccountsTemplates.addField({ + _id: 'password', + type: 'password', + placeholder: { + signUp: "At least six characters" + }, + required: true, + minLength: 6, + re: /(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{6,}/, + errStr: 'At least 1 digit, 1 lowercase and 1 uppercase', +}); +``` + +asks AccountsTemplates to display "At least six characters" as the placeholder for the password field when the sign up form is display, and to display "Password" (the capitalized *_id*_) in any other case. + +##### Custom validation +Custom validation can be achieved by providing a regular expression or a function. In case you go for the function solution, this: + +```javascript +AccountsTemplates.addField({ + _id: 'name', + type: 'text', + displayName: "Name", + func: function(value){return value !== 'Full Name';}, + errStr: 'Only "Full Name" allowed!', +}); +``` + +will require the name input to be exactly "Full Name" (though this might not be that interesting...). +If instead you do something along the following line: + +```javascript +AccountsTemplates.addField({ + _id: 'phone', + type: 'tel', + displayName: "Phone", + required: true, + func: function (number) { + if (Meteor.isServer){ + if (isValidPhone(number)) + return false; // meaning no error! + return true; // Validation error! + } + }, + errStr: 'Invalid Phone number!', +}); +``` + +supposing `isValidPhone` is available only server-side, you will be validating the field only server-side, on form submission. + +If, differently, you do something like this: + +```javascript +if (Meteor.isServer){ + Meteor.methods({ + "userExists": function(username){ + return !!Meteor.users.findOne({username: username}); + }, + }); +} + +AccountsTemplates.addField({ + _id: 'username', + type: 'text', + required: true, + func: function(value){ + if (Meteor.isClient) { + console.log("Validating username..."); + var self = this; + Meteor.call("userExists", value, function(err, userExists){ + if (!userExists) + self.setSuccess(); + else + self.setError(userExists); + self.setValidating(false); + }); + return; + } + // Server + return Meteor.call("userExists", value); + }, +}); +``` + +you can achieve also client-side and server-side validation calling a server method +During the waiting time a loading icon will be displayed (if you configure `showValidating` to be true). +To configure the loading icon see [Input Field Icons](#input-icons). + +*Note:* `field.setError(err)`, `field.setSuccess()`, and `field.setValidating()` are methods used to deal with inputs' validation states. A `null` value means non-validated, `false` means correctly validated, no error, and any other value evaluated as true (usually strings specifying the reason for the validation error), are finally interpreted as error and displayed where more appropriate. + +#### Checkboxes, Selects, Radios, and Hidden + +This is an example about how to add Checkboxes, Selects, and Radios to the sign up fields: + +```javascript +AccountsTemplates.addField({ + _id: "gender", + type: "select", + displayName: "Gender", + select: [ + { + text: "Male", + value: "male", + }, + { + text: "Female", + value: "female", + }, + ], +}); + +AccountsTemplates.addField({ + _id: "fruit", + type: "radio", + displayName: "Preferred Fruit", + select: [ + { + text: "Apple", + value: "aa", + }, { + text: "Banana", + value: "bb", + }, { + text: "Carrot", + value: "cc", + }, + ], +}); + +AccountsTemplates.addField({ + _id: "mailing_list", + type: "checkbox", + displayName: "Subscribe me to mailing List", +}); + +AccountsTemplates.addField({ + _id: 'reg_code', + type: 'hidden' +}); +``` + +please note the `select` list which lets you specify the values for the choice. +The `value` value of corresponding selected `text` will be picked up and added into the `profile` field of the user object. + +Hidden inputs might be of help in case you want to consider to link to your registration page from around the web (emails, ads, discount campaigns, etc...) with links like this: + +``` +http://my.splendido.site/sign-up?email=giorgio@example.com®_code=123 +``` + +exploiting the ability of AccountsTemplates to pick-up query parameters having the same key as field ids, this would permit to get `reg_code: "123"` under the `profile` field of the user object. +**Please use this with caution!** ..never ever do something like: +``` +http://my.splendido.site/sign-up?role=admin +``` +and then set the role of the new user based on the hidden `role` field. I guess you can appreciate the security hole there ;-) + +#### Special Field's Ids + +There are a number of special ids used for basic input fields. These are: + +* current_password +* email +* password +* password_again +* username +* username_and_email + +Any other id will be interpreted as an additional sign up field. +In case a special field is not explicitly added, it will be automatically inserted at initialization time (with appropriate default properties). To customize special fields see [Remove fields](https://github.com/meteor-useraccounts/core/blob/master/Guide.md#remove-fields) + +#### Add a field + +You can use `AccountsTemplates.addField(options)` to configure an input field. This apply for both special fields and custom ones. +For example you can do: + +```javascript +AccountsTemplates.addField({ + _id: 'phone', + type: 'tel', + displayName: "Landline Number", +}); +``` + +The above snippet asks `AccountsTemplates` to draw an additional input element within the sign-up form. + +#### Add many fields at once + +Another possibility is to add many additional fields at once using `addFields`: + +```javascript +AccountsTemplates.addFields([ + { + _id: 'phone', + type: 'tel', + displayName: "Landline Number", + }, + { + _id: 'fax', + type: 'tel', + displayName: "Fax Number", + } +]); +``` + +#### Remove fields + +There is also a `removeField` method which can be used to remove predefined required fields and adding them again specify different options. + +```javascript +AccountsTemplates.removeField('password'); +AccountsTemplates.addField({ + _id: 'password', + type: 'password', + required: true, + minLength: 6, + re: /(?=.*\\d)(?=.*[a-z])(?=.*[A-Z]).{6,}/, + errStr: 'At least 1 digit, 1 lower-case and 1 upper-case', +}); +``` + +#### Login with Username or Email + +In order to let the user register with both a `username` and an `email` address and let him the possibility to log in using one of them, both the `username` and `email` fields must be added. +This is an example about how to configure such a behaviour: + +```javascript +var pwd = AccountsTemplates.removeField('password'); +AccountsTemplates.removeField('email'); +AccountsTemplates.addFields([ + { + _id: "username", + type: "text", + displayName: "username", + required: true, + minLength: 5, + }, + { + _id: 'email', + type: 'email', + required: true, + displayName: "email", + re: /.+@(.+){2,}\.(.+){2,}/, + errStr: 'Invalid email', + }, + pwd +]); +``` + +This will trigger the automatic insertion of the special field `username_and_email` to be used for the sign in form. +If you wish to further customize the `username_and_email` field you can add it together with the other two: + +```javascript +var pwd = AccountsTemplates.removeField('password'); +AccountsTemplates.removeField('email'); +AccountsTemplates.addFields([ + { + _id: "username", + type: "text", + displayName: "username", + required: true, + minLength: 5, + }, + { + _id: 'email', + type: 'email', + required: true, + displayName: "email", + re: /.+@(.+){2,}\.(.+){2,}/, + errStr: 'Invalid email', + }, + { + _id: 'username_and_email', + type: 'text', + required: true, + displayName: "Login", + }, + pwd +]); +``` + + + +### Extending Templates + +With the [aldeed:template-extension](https://github.com/aldeed/meteor-template-extension) package, the built-in templates or sub-templates of any `user-accounts` UI package may be replaced by custom templates. The purpose is to create more sophisticated or specialized layouts or styling. + +In case of input fields the option `template` (see [Form Fields Configuration](#form-fields-configuration)) can be directly used without the need to rely on `aldeed:template-extension` package. + +Here is a simple example of a template you can use for a field of type 'select': + +```html + +``` + +Custom properties that hold information about the look of the form may be attached to the `options` object of a field. It may then be used to change the output while looping the fields. Adding a divider might look like this: + +```javascript +AccountsTemplates.addField({ + _id: "address", + type: "text", + + // Options object with custom properties for my layout. At the moment, there are + // no special properties; it is up the developer to invent them + options: { + // Put a divider before this field + dividerBefore: true + } +}); +``` + +```html + +``` + +```javascript +Template.appAtInput.replaces("atInput"); +``` + + + +#### Grouping fields + +Grouping fields together is a special problem in regard to layout. The issue is creating some container markup *while* iterating over the fields (the templating engine of Meteor doesn't allow outputting an opening tag inside a loop without closing it in the same iteration). + +A solution to the problem is demonstrated in [this gist](https://gist.github.com/dalgard/a844f6569d8f471db9a7) (Semantic UI version). + + + +### CSS Rules + +The main atForm is build up of several pieces, appearing and disappearing based on configuration options as well as the current internal status. +Each of these blocks is wrapped inside a `div` with class `at-`: this should made your life easier if you're trying to write your own CSS rules to change templates' appearance. + +Social login buttons (`button.at-social-btn`) have an `id` in the form `at-` and name ``. + +Input fields for the password service form are wrapped inside a div with class `at-input`. The same div gets classes `has-error`, `has-success`, and `has-feedback` in case of negative validation result, positive validation and validation with feedback respectively. +The input element itself has id and name in the form `at-field-`. +**Note:** `has-error`, `has-success`, and `has-feedback` names might change from framework to framework. These are valid for the *unstyled* and *bootstrap* versions... + + +Below is a html snapshot of an over-complete `atForm` taken from the unstyled version in which you can find all elements possibly shown under different configurations and circumstances. + +```html + +``` + + + + +## Wrapping Up for Famo.us + +By simply typing + +```shell +meteor add useraccounts:famous-wrapper +``` + +you'll be able to turn your preferred flavour of accounts templates into a package ready to be used within a [famous-views](https://atmospherejs.com/gadicohen/famous-views) + [Famo.us](http://famo.us) application. + +This means you can get an animated version of the `atForm` template without any effort! :-) + +To learn how to make animations you might want to check the following links: + +* http://famous-views.meteor.com +* http://famous-views.meteor.com/examples/animate +* http://famo.us/university/lessons/#/famous-101/animating/1 +* http://famo.us/guides/layout +* http://famo.us/guides/animations +* http://famo.us/docs/modifiers/StateModifier +* http://famo.us/docs/transitions/Transitionable + +### configureAnimations + +...well, actually it might be that you don't like the default animations so you might consider to use `AccountsTemplates.configureAnimations` (provided by the wrapper...) to specify your custom animation functions. +This is an example showing how to do it: + +```javascript +var Transform; +var Easing; +if (Meteor.isClient){ + FView.ready(function(require) { + Transform = famous.core.Transform; + Easing = famous.transitions.Easing; + }); +} + +var slideLeftDestroy = function(fview){ + fview.modifier.setTransform( + Transform.translate(-$(window).width(),0), + { duration : 250, curve: Easing.easeOutSine }, + function() { fview.destroy();} + ); +}; + + +AccountsTemplates.configureAnimations({ + destroy: { + atSignupLink: slideLeftDestroy, + } +}); +``` + +this asks AT to use `slideLeftDestroy` to animate the template `atSignupLink` when it is to be destroyed. + +As you've just seen `configureAnimations` take an `options` object as parameter: + +```javascript +AccountsTemplates.configureAnimations(options); +``` + +this options object can have three different keys at the first level: + +```javascript +var options = { + render: { + // more stuff here... + }, + destroy: { + // more stuff here... + }, + state_change: { + // more stuff here... + }, + animQueueDelay: 100, + animQueueStartDelay: 200, + setStateDelay: 300, + +}; +AccountsTemplates.configureAnimations(options); +``` + +they are `render`, `destroy`, `state_change`, `animQueueDelay`, `animQueueStartDelay`, and `setStateDelay`. +The first three, what a surprise, they let you specify what to do when one of the templates building up the `atForm` is rendered, destroyed or when the form's state changes (respectively). + +...at the second level you can specify which animation has to be applied to which template: + +```javascript +var options = { + render: { + default: animA, + atTitle: animB, + atSocial: animC, + atSep: animC, + atError: animB, + atResult: animB, + atPwdForm: null, + atSigninLink: null, + atSignupLink: animB, + atTermsLink: animD, + }, + // ... +}; +``` + +the above one is the full list of available animated templates... +The value you specify can be `null` (to remove a default animation...) or a function. +If you specify a function it should be like the following: + +```javascript +var animFunc = function(fview){ + fview.modifier.setTransform( + Transform.( ... ), + { duration : , curve: Easing. } + ); +}; +``` + +the `fview` parameter actually let you access the famous view associated with the template (so feel free to do whatever you wish with it...). + +**Warning:** when you specify an animation to be used on `destroy` you must take care of the actual destroy! +...usually it is enough to call `fview.destroy()` when the animation completes: + +```javascript +var animFunc = function(fview){ + fview.modifier.setTransform( + Transform.( ... ), + { duration : , curve: Easing. }, + function(){ fview.destroy();} + ); +}; +``` + +**Warning2:** At the moment the animation for the state change is supposed to last for double the `setStateDelay` duration, and the state change is actually postponed by `setStateDelay` milliseconds. This let you divide your animation in two different part (so, e.g., you can hide things and show them again with the new content...). +The following is the default animations used on state change: + +```javascript +vFlip = function(fview){ + fview.modifier.setTransform( + Transform.rotate(Math.PI-0.05,0,0), + { + duration : AccountsTemplates.animations.setStateDelay, + curve: "easeIn", + }, + function() { + fview.modifier.setTransform( + Transform.rotate(-0.1,0,0), + { + duration : AccountsTemplates.animations.setStateDelay, + curve: "easeOut", + } + ); + } + ); +}; +``` + +and as you can see schedules two different animations, one after the another, lasting `setStateDelay` ms each. + + +### pushToAnimationQueue + +In case you're interested in sequence animation, AT also provides an experimental animation cue you can use to schedule your animation with a bit of delay between them. +To use it simply wrap the `modifier.setTransform` within an `AccountsTemplates.pushToAnimationQueue` call, like this: + +```jacascript +var fallFromTop = function(fview){ + fview.modifier.setTransform(Transform.translate(0, -$(window).height())); + AccountsTemplates.pushToAnimationQueue(function() { + fview.modifier.setTransform( + Transform.translate(0,0), + { duration : 450, curve: Easing.easeOutSine } + ); + }); +}; +``` + +the full signature for it is: + +```javascript +AccountsTemplates.pushToAnimationQueue(func, at_begin); +``` + +and if pass `true` for `at_begin`, the function will be pushed to the begin of the cue rather than at the end. + +The first animation is started after `animQueueStartDelay` milliseconds from the first insertion and a delay of `animQueueStartDelay` milliseconds is applied between start of animations (you can configure these two values with `configureAnimations` function as listed above...). + +And that's it! +Enjoy ;-) + + + +## Side Notes + + + +### 3rd Party Login Services Configuration + +Normally, if you have not configured a social account with, e.g., + +```javascript +// Set up login services +Meteor.startup(function() { + // Add Facebook configuration entry + ServiceConfiguration.configurations.update( + { "service": "facebook" }, + { + $set: { + "appId": "XXXXXXXXXXXXXXX", + "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" + } + }, + { upsert: true } + ); + + // Add GitHub configuration entry + ServiceConfiguration.configurations.update( + { "service": "github" }, + { + $set: { + "clientId": "XXXXXXXXXXXXXXXXXXXX", + "secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" + } + }, + { upsert: true } + ); +}); +``` + +3rd party login buttons are not shown. To allow display buttons with, e.g., 'Configure Foobook', simply add the packages `service-configuration` and `accounts-ui` with: + +```Shell +meteor add service-configuration +meteor add accounts-ui +``` + +**Warning**: At the moment the UI for service configuration is not supported and the one provided by `accounts-ui` will be shown! diff --git a/packages/meteor-useraccounts-core/History.md b/packages/meteor-useraccounts-core/History.md new file mode 100644 index 0000000..61bcfaf --- /dev/null +++ b/packages/meteor-useraccounts-core/History.md @@ -0,0 +1,353 @@ +## Master + +## v1.14.2 + +* [flow-routing] fixed dependency on kadira:flow-router: now using the last non-Meteor@1.3 one + +## v1.14.1 + +* fixed automatic update of weak dependencies on routing packages when publishing new versions + +## v1.14.0 + +* [bulma] *new* `useraccounts:bulma` package to get UI templates styled for [Bulma](http://bulma.io/) (thanks to @dominikmayer) +* [flow-routing] better error management (merged https://github.com/meteor-useraccounts/flow-routing/pull/23 thanks @stubailo) +* [flow-routing] added support for FlowRouter 3 (merged https://github.com/meteor-useraccounts/flow-routing/pull/26 thanks @timothyarmes) +* [foundation-sites] *new* `useraccounts:foundation-sites` package to get UI templates styled for [Foundation for Sites 6](http://foundation.zurb.com/sites.html) (thanks to @venetianthief) +* [materialize] Added row around recaptcha (thanks @qwIvan) +* some minor fixed to the Guide + +## v1.13.1 + +* added language support to recaptcha (fixed https://github.com/meteor-useraccounts/core/issues/561 tnx @canesin) +* fixed validation trigger for select inputs (see discussion within https://github.com/meteor-useraccounts/core/issues/569 tnx @cunneen) +* change default value for `focusFirstInput` to get it disabled when running on Cordova (see https://github.com/meteor-useraccounts/core/issues/594 tnx @derwaldgeist) +* fixed regression about reCaptcha reset due to https://github.com/meteor-useraccounts/core/pull/565 (merged https://github.com/meteor-useraccounts/core/pull/597 tnx @jebh) + +## v1.13.0 + +* [mdl] *new* `useraccounts:mdl` package to get UI templates styled for [Material Design Lite](http://www.getmdl.io/) (kudos to @kctang and @liquidautumn, thank you guys!). +* [flow-routing] added support for React-based layouts (merged https://github.com/meteor-useraccounts/flow-routing/pull/20 tnx @timothyarmes). +* [materialize] fixed offset problem for fullPageAtForm on medium screens. +* [materialize] fixed some margins (see https://github.com/meteor-useraccounts/materialize/issues/19). +* [iron-routing] fixed a problem with route paths (merged https://github.com/meteor-useraccounts/iron-routing/pull/8 tnx @trave7er). +* [core] updated dependency to softwarerero:accounts-t9n@1.1.7 +* [core] fixed a bug with reCaptcha (merged https://github.com/meteor-useraccounts/core/pull/565 tnx @scsirdx). +* [core] added missing dependency on JQuery (merged https://github.com/meteor-useraccounts/core/pull/574 tnx @stubailo). +* [core] added postSignUpHook hook to let people modify newly created user objects (merged https://github.com/meteor-useraccounts/core/pull/586 tnx @shwaydogg) +* added [Meteor Icon](http://www.getmdl.io/) badges to all packages' README file. + +## v1.12.4 + +* fixed input element classes for `useraccounts:materialize` (see https://github.com/meteor-useraccounts/materialize/pull/18) +* fixed query parameters look-up for `useraccounts:iron-routing` +* updated `useraccounts:polymer` to use Polimer 1.0 (see updated [boilerplate](https://github.com/meteor-useraccounts/boilerplates/tree/master/polymer) with some instructions for Meteor 1.2) +* updates and fixes for `useraccounts:flow-rounting` (see https://github.com/meteor-useraccounts/flow-routing/issues/12) +* improoved css for `useraccounts:semantic-ui` +* disallowed use of `signUp` state in case `forbidClientAccountCreation` is set (see #547) +* updated dependency on softwarerero:accounts-t9n to version 1.1.4 +* a bit of linting here and there... +* a few typos correction and improvements to the [Guide](https://github.com/meteor-useraccounts/core/blob/master/Guide.md) + +## v1.12.3 + +* fixed radio buttons for useraccounts:materialize (see https://github.com/meteor-useraccounts/core/issues/421) +* fixed query parameters pick up for useraccounts:iron-routing (see meteor-useraccounts/core#367) +* corrected few typos within the docs and removed unnecessary debug log + +## v1.12.2 + +* various fixes and a bit of clean up for `useraccounts:flow-routing` + + +## v1.12.1 + +* fixed inifinite redirect loop for `ensuredSignedIn` within `useraccounts:flow-routing` (see https://github.com/meteor-useraccounts/flow-routing/issues/2) + + +## v1.12.0 + +* removed routing support from core: refer to [useraccounts:iron-routing](https://github.com/meteor-useraccounts/iron-routing) and [useraccounts:flow-routing](https://github.com/meteor-useraccounts/flow-routing) packages to get some ;-) +* added template level content protection (see new [Content Protection](https://github.com/meteor-useraccounts/core/blob/master/Guide.md#content-protection) section) +* updated `useraccounts:semantic-ui` to SUI v2.0 (thanks @lumatijev) +* `displayName` configuration option for form fields now accepts also functions +* added the `focusFirstInput` configuration option +* fixed many typos and added/removed some sections in the Guide + + +## v1.11.1 + +* fixes for #410, #411, and #413 +* Added a section about available internal states to the Guide (see [Internal States](https://github.com/meteor-useraccounts/core/blob/master/Guide.md#internal-states) + + +## v1.11.0 + +* change `profile.username` to `profile.name` when using `lowercaseUsername` options (WARNING! this is a bit of a breaking change, see #388) +* removed possibly annoying warning (see #398) +* added a `preSignUpHook` to be possibly used to enrich the user profile just before new user registration (see #400) +* route configuration now accepts additional parameters to be passed to IR (see #409) +* some improvements to the docs + +## v1.10.0 + +* more customizable texts (see 7d166b74f111e05b22ef2c7d93908441e242350d) +* added autofocus for the first input field of `atPwdForm`. +* fixed some texts configuration capability (see #380) +* various corrections/improvements to the docs +* allowed for `field.setError` to take in Boolean values (see #361) +* fixed bug with `Must be logged in` error message shown after sign out (see #321) + +## v1.9.1 + +* aligned `useraccounts:unstyled` with the latest PRs + +## v1.9.0 + +* resend verification email (see #349, thanks @dalgard) +* allow for a neutral message text to be displayed (see #314 and #317, thanks @dalgard) +* more configurable error texts (see [Errors Text](https://github.com/meteor-useraccounts/core/blob/master/Guide.md#errors-text), plus #301 #342) +* fixed little redirect bug (see #315) +* added title configuration for `verifyEmail` state plus letting titles to be hidden by + setting the corresponding text to an empy string (see [Form Title](https://github.com/meteor-useraccounts/core/blob/master/Guide.md#form-title)) + +## v1.8.1 + +* made (a fake) `ensureSignedIn` plugin available also on server side code (fixed #291) + +## v1.8.0 + +* added `lowercaseUsername` configuration option (see [Configuration API Options](https://github.com/meteor-useraccounts/core/blob/master/Guide.md#options)) +* added `ensureSignedIn` plugin for Iron Router (see [Content Protection](https://github.com/meteor-useraccounts/core/blob/master/Guide.md#content-protection)) +* fixed `ensureSignedIn` regression (see #286) + +## v1.7.1 + +* fixed routing regression (see #284) +* removed useless logs + +## v1.7.0 + +* `useraccounts:materialize` to the suite! (Many thanks to @Kestanous!!!) +* fixed glitch within `ensureSignedIn` (see #278) +* added experimental support for [reChaptcha](https://www.google.com/recaptcha/intro/index.html) (see #268 and [reCaptcha Setup](https://github.com/meteor-useraccounts/core/blob/master/Guide.md#recaptcha-setup), great work @theplatapi!) +* new `template` option for deeper input fields customization (see #273 and [Form Fields Configuration](https://github.com/meteor-useraccounts/core/blob/master/Guide.md#form-fields-configuration)) +* prevent access to `atChangePwd` for users not being logged in (see #207) +* use `Meteor.userID()` in place of `Meteor.user()` where possible to reduce reactive re-computations +* fixed bug with timed out redirects (see #263) +* fixed reactivity bug within `ensureSignedIn` (see #262) +* removed warning about MAIL_URL not being configured (see #267, #210) +* better `atNavButton` behaviour (see #265 tnx @adrianmc) + +## v1.6.1 + +* updated deps for iron:router and softwarerero:accounts-t9n to latest versions + +## v1.6.0 + +* moved the documentation to a separate file: [Guide](https://github.com/meteor-useraccounts/core/blob/master/Guide.md) +* fixed bug about calling `sibmitHook` (see #249 #252 tnx @dalgard) +* new `options` for field configuration (see #250 and [Extending Templates](https://github.com/meteor-useraccounts/core/blob/master/Guide.md#extending-templates) tnx @dalgard) +* a bit of cleanup for docs (see #251 tnx @dalgard) +* capitalazed default value for display name and placeholder (see #247) +* switch to official `Accounts._hasPassword` (see [this](https://github.com/meteor/meteor/pull/2271) and [this](https://github.com/meteor/meteor/pull/3410), tnx @glasser) +* more sites using useraccounts: congrats to @nate-strauser and @msamoylov on their launches! (see [the list](https://github.com/meteor-useraccounts/core#whos-using-this)) +* new landing page for the whole project and new live examples (still to be further improoved...) :) (see [useraccounts.meteor.com](https://useraccounts.meteor.com)) +* added `transform` among the options for [field configuration](https://github.com/meteor-useraccounts/core/blob/master/Guide.md#form-fields-configuration) +* better behaviour for input value tranform/fix +* terms and agreements now showed also on enrollment form (see #253) +* link to singIn now shown also on forgot password form in case `forbidClientAccountCreation` is set to true (partial solution to #229) +* moved terms and agreements link right after the submit button (see #239) + +## v1.5.0 + +* added `useraccounts:polymer` to the suite! (WIP, Thanks @kevohagan!!!) +* fixed a bug with atVerifyEmail route (see #241 and #173) +* little docs improovements + +## v1.4.1 + +* updated dependency to softwarerero:accounts-t9n@1.0.5 to include Turkish language +* fixed `{{> atForm state=''}}` which was no more working with Meteor@1.0.2 (see #217) +* fixed some text configuration (see #209, thanks @bumbleblym) +* fixed some typos into the docs (see #208, thanks @bumbleblym) + +## v1.4.0 + +* added `useraccounts:ionic` to the suite! (Thanks @nickw!!!) +* updated `useraccounts:semantic-ui` to SemanticUI@1.0.0 (Thanks @lumatijev!!!) +* added `onLogoutHook` to be able to run code (custom redirects?) on `AccountsTemplates.logout` (see #191) +* added `onSubmitHook` among configuration parameters to be able to run code on form submission (might be useful for modals! see #201 and #180) +* submission button get now disabled also during fields (asynchronous) validation +* `enforceEmailVerification` now works also with username login (fixed #196) +* better IE compatibility (see #199) +* better input field validation flows to recover from previous errors (see #177) +* updated dependency to softwarerero:accounts-t9n@1.0.4 +* new [Contributing section](https://github.com/meteor-useraccounts/core#contributing) among docs +* a few improvements and typo fixes for README.md + +## v1.3.2 / 2014/11/25 + +* more robust logout pattern when dealing with routes protected with ensureSigndIn + +## v1.3.1 / 2014/11/25 + +* updated dependency to iron:router@1.0.3 +* fixed bug in linkClick (see #170) +* fixed bug in configureRoute + +## v1.3.0 / 2014/11/23 + +* added support for [Ratchet](http://goratchet.com/): see [useraccounts:ratchet](https://atmospherejs.com/useraccounts/ratchet). Note: form validation is currently not supported by Ratchet! +* fixed bug in custom validation flow +* better default validation for `email` field (see #156) +* few corrections inside docs +* added `ensuredSignedIn` among configurable routes so that different `template` and `layoutTemplate` can be specified (fix for #160 and #98) +* added `socialLoginStyle` among the configuration options to select the login flow (`popup` or `redirect`) for 3rd party login services (see #163) +* fixed bug about fields ordering + +## v1.2.3 / 2014/11/13 + +* put back in a `init` method dispalying a warning to preserve backward compatibility... + +## v1.2.2 / 2014/11/12 + +* fixed bad redirect for cheange password route (see #154) + +## v1.2.1 / 2014/11/12 + +* fixed regression due reactivity problems after fix for #139 + +## v1.2.0 / 2014/11/12 + +* **breaking change:** removed the need to call `Accounts.init()` +* added support for fields' validating state to display a 'loading' icon +* added support for fields' icon configuration +* added support for social buttons' icon configuration (see [this](https://github.com/meteor-useraccounts/core#social-button-icons) new section) +* added support for `meteor-developer` oauth service (see #147) +* fixed (special) fields ordering, see #144 +* fixed ensureSignedIn (see #152) +* removed `new_password` and `new_password_again` special fields, simply use `password` and `password_again` from now on! +* better redirect behaviour when a logged in user lands on a sign-in/sign-up page: usual redirect is now performed. (see #139) +* better field validation patterns... +* updated dependency to irou:router@1.0.1 +* updated dependency to softwarerero:accounts-t9n@1.0.2 +* corrected many errors and typos inside the Documentation + +## v1.1.1 +## v1.1.0 + +* fixed `atNavButton` for useraccounts:unstyled +* fixed variour names and links in README files + +## v1.1.0 + +* new template `atNavButton` +* added methos `AccountsTemplates.logout()` which redirects back to `homeRoutePath` when configured +* support for hidden fields +* url query parameters loaded into input fields -> useful mostly for hidden fields ;-) +* granted full control over field ordering (except for special fields...). see #135 +* fixes for #130, #132 + +## v1.0.1 + +* fixed link to git repositories inside package.js files + +## v1.0.0 + +* new names: no more splendido:accounts-templates: but useraccounts: ! +* updated iron:router to v1.0.0 + +## v0.11.0 + +* added support for checkbox, select, and radio inputs +* added defaultState as referred in #125 +* fixes for #127 + +## v0.10.0 + +* better texts configuration API (as for #117) +* prevPath fix + + +## v0.9.16 + +* updated iron:router to v0.9.4 + +## v0.9.15 + +* fixed #110 + +## v0.9.14 + +* fixed some redirection problems connected with `ensureSignedIn` + +## v0.9.13 + +* experimental implementation for forbidding access with unverified email (see #108) through configuration flag `enforceEmailVerification` +* added options to hide links: hideSignInLink, hideSignUpLink +* fixed #107 + +## v0.9.12 + +* fixed #109 + +## v0.9.11 + +* better submit button disabling when no negative feedback is used +* fixed #105 + +## v0.9.10 + +* added `defaultLayout` to configuration options +* new callback parameter to `setState` +* better rendering behaviour on `ensureSignedIn` + +## v0.9.9 + +* Fixed links for `reset-password`, `enroll-account`, and `verify-email` + +## v0.9.8 + +* fixed checks for login services (see #93) +* minor updates to docs + +## v0.9.7 + +* fixed #92, to permit the use of, e.g., `{{> atForm state="changePwd"}}` ( see [docs](https://github.com/splendido/accounts-templates-core#templates)) + +## v0.9.6 + +* fixed #91, pwdForm submission on signin page has no effect unless both password and usename/email are not empty + +## v0.9.5 + +* show title on sign in also with other services +* moved sign in link below pwd form +* removed sign in link from forgot-pwd page (sign up link is still there!) +* added class at-btn to submit button +* added class at-signin to sign in link +* added class at-signup to sign up link +* added class at-pwd to forgot password link +* accounts-t9n dependency updated to @1.0.0 + +## v0.9.4 + + +## Older versions (to be written) + +* Fixes for #19, #24, #25, #26 +* layoutTemplate option +* Better signup flow, with proper server side validation! +* Fixes for #15, and #16 +* Do not show validation errors during sign in +* Do not show sign up link when account creation is disabled +* Better use of UnderscoreJS +* Corrected documentation for showAddRemoveServices + +## v0.0.9 + +* added configuration parameter [`showAddRemoveServices`](https://github.com/splendido/accounts-templates-core#appearance) +* Fix ensureSignedIn for drawing correct template + +## v0.0.8 diff --git a/packages/meteor-useraccounts-core/LICENSE.md b/packages/meteor-useraccounts-core/LICENSE.md new file mode 100644 index 0000000..aba77ef --- /dev/null +++ b/packages/meteor-useraccounts-core/LICENSE.md @@ -0,0 +1,20 @@ +The MIT License (MIT) + +Copyright (c) 2014 [@splendido](https://github.com/splendido) + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/packages/meteor-useraccounts-core/README.md b/packages/meteor-useraccounts-core/README.md new file mode 100644 index 0000000..cc8d0bf --- /dev/null +++ b/packages/meteor-useraccounts-core/README.md @@ -0,0 +1,104 @@ +[![Meteor Icon](http://icon.meteor.com/package/useraccounts:core)](https://atmospherejs.com/useraccounts/core) +[![Build Status](https://travis-ci.org/meteor-useraccounts/core.svg?branch=master)](https://travis-ci.org/meteor-useraccounts/core) + +# User Accounts + +User Accounts is a suite of packages for the [Meteor.js](https://www.meteor.com/) platform. It provides highly customizable user accounts UI templates for many different front-end frameworks. At the moment it includes forms for sign in, sign up, forgot password, reset password, change password, enroll account, and link or remove of many 3rd party services. + +## Some Details + +The package `useraccounts:core` contains all the core logic and templates' helpers and events used by dependant packages providing styled versions of the accounts UI. +This means that developing a version of the UI with a different styling is just a matter of writing a few dozen of html lines, nothing more! + +Thanks to [accounts-t9n](https://github.com/softwarerero/meteor-accounts-t9n) you can switch to your preferred language on the fly! Available languages are now: Arabic, Czech, French, German, Italian, Polish, Portuguese, Russian, Slovenian, Spanish, Swedish, Turkish and Vietnamese. + +For basic routing and content protection, `useraccounts:core` integrates with either [flow-router](https://github.com/meteor-useraccounts/flow-routing) or [iron-router](https://atmospherejs.com/package/iron-router). + +Any comments, suggestions, testing efforts, and PRs are very very welcome! Please use the [repository](https://github.com/meteor-useraccounts/ui) issues tracker for reporting bugs, problems, ideas, discussions, etc.. + +## The UserAccounts Guide +Detailed explanations of features and configuration options can be found in the Guide. + +## Who's using this? + +* [Abesea](https://abesea.com/) +* [backspace.academy](http://backspace.academy/) +* [bootstrappers.io](http://www.bootstrappers.io/) +* [crater.io](http://crater.io/) +* [Dechiper Chinese](http://app.decipherchinese.com/) +* [Henfood](http://labs.henesis.eu/henfood) +* [meteorgigs.io](https://www.meteorgigs.io/) +* [Orion](http://orionjs.org/) +* [Telescope](http://www.telesc.pe/) +* [We Work Meteor](http://www.weworkmeteor.com/) + + +Aren't you on the list?! +If you have a production app using accounts templates, let me know! I'd like to add your link to the above ones. + +## Contributing +Contributors are very welcome. There are many things you can help with, +including finding and fixing bugs and creating examples for the brand new [wiki](https://github.com/meteor-useraccounts/wiki). +We're also working on `useraccounts@2.0` (see the [Milestone](https://github.com/meteor-useraccounts/core/milestones)) so you can also help +with an improved design or adding features. + +Some guidelines below: + +* **Questions**: Please create a new issue and label it as a `question`. + +* **New Features**: If you'd like to work on a feature, + start by creating a 'Feature Design: Title' issue. This will let people bat it + around a bit before you send a full blown pull request. Also, you can create + an issue to discuss a design even if you won't be working on it. + +* **Bugs**: If you think you found a bug, please create a "reproduction." This is a small project that demonstrates the problem as concisely as possible. If you think the bug can be reproduced with only a few steps a description by words might be enough though. The project should be cloneable from Github. Any bug reports without a reproduction that don't have an obvious solution will be marked as "awaiting-reproduction" and closed after a bit of time. + +### Working Locally +This is useful if you're contributing code to useraccounts or just trying to modify something to suit your own specific needs. + +##### Scenario A + +1. Set up a local packages folder +2. Add the PACKAGE_DIRS environment variable to your .bashrc file + - Example: `export PACKAGE_DIRS="/full/path/topackages/folder"` + - Screencast: https://www.eventedmind.com/posts/meteor-versioning-and-packages +3. Clone the repository into your local packages directory +4. Add the package just like any other meteor core package like this: `meteor + add useraccounts:unstyled` + +```bash +> cd /full/path/topackages/folder +> git clone https://github.com/meteor-useraccounts/semantic-ui.git +> cd your/project/path +> meteor add useraccounts:semantic-ui +> meteor +``` + +##### Scenario B + +Like Scenario A, but skipping point 2. +Add the official package as usual with `meteor add useraccounts:semantic-ui` but then run your project like this: + +```bash +> PACKAGE_DIRS="/full/path/topackages/folder" meteor +``` + +##### Scenario C + +```bash +> cd your/project/path +> mkdir packages && cd packages +> git clone https://github.com/meteor-useraccounts/semantic-ui.git +> cd .. +> meteor add useraccounts:semantic-ui +> meteor +``` + + +## Thanks + +Anyone is welcome to contribute. Fork, make your changes, and then submit a pull request. + +Thanks to [all those who have contributed code changes](https://github.com/meteor-useraccounts/ui/graphs/contributors) and all who have helped by submitting bug reports and feature ideas. + +[![Support via Gittip](https://rawgithub.com/twolfson/gittip-badge/0.2.0/dist/gittip.png)](https://www.gittip.com/splendido/) diff --git a/packages/meteor-useraccounts-core/lib/client.js b/packages/meteor-useraccounts-core/lib/client.js new file mode 100644 index 0000000..31c9db7 --- /dev/null +++ b/packages/meteor-useraccounts-core/lib/client.js @@ -0,0 +1,464 @@ +/* global + AT: false +*/ +"use strict"; + +// Allowed Internal (client-side) States +AT.prototype.STATES = [ + "changePwd", // Change Password + "enrollAccount", // Account Enrollment + "forgotPwd", // Forgot Password + "hide", // Nothing displayed + "resetPwd", // Reset Password + "signIn", // Sign In + "signUp", // Sign Up + "verifyEmail", // Email verification + "resendVerificationEmail", // Resend verification email +]; + +AT.prototype._loginType = ""; + +// Flag telling whether the whole form should appear disabled +AT.prototype._disabled = false; + +// State validation +AT.prototype._isValidState = function(value) { + return _.contains(this.STATES, value); +}; + +// Flags used to avoid clearing errors and redirecting to previous route when +// signing in/up as a results of a call to ensureSignedIn +AT.prototype.avoidRedirect = false; +AT.prototype.avoidClearError = false; + +// Token to be provided for routes like reset-password and enroll-account +AT.prototype.paramToken = null; + +AT.prototype.loginType = function () { + return this._loginType; +}; + +AT.prototype.getparamToken = function() { + return this.paramToken; +}; + +// Getter for current state +AT.prototype.getState = function() { + return this.state.form.get("state"); +}; + +// Getter for disabled state +AT.prototype.disabled = function() { + return this.state.form.equals("disabled", true) ? "disabled" : undefined; +}; + +// Setter for disabled state +AT.prototype.setDisabled = function(value) { + check(value, Boolean); + return this.state.form.set("disabled", value); +}; + +// Setter for current state +AT.prototype.setState = function(state, callback) { + check(state, String); + + if (!this._isValidState(state) || (this.options.forbidClientAccountCreation && state === 'signUp')) { + throw new Meteor.Error(500, "Internal server error", "accounts-templates-core package got an invalid state value!"); + } + + this.state.form.set("state", state); + if (!this.avoidClearError) { + this.clearState(); + } + this.avoidClearError = false; + + if (_.isFunction(callback)) { + callback(); + } +}; + +AT.prototype.clearState = function() { + _.each(this._fields, function(field) { + field.clearStatus(); + }); + + var form = this.state.form; + + form.set("error", null); + form.set("result", null); + form.set("message", null); + + AccountsTemplates.setDisabled(false); +}; + +AT.prototype.clearError = function() { + this.state.form.set("error", null); +}; + +AT.prototype.clearResult = function() { + this.state.form.set("result", null); +}; + +AT.prototype.clearMessage = function() { + this.state.form.set("message", null); +}; + +// Initialization +AT.prototype.init = function() { + console.warn("[AccountsTemplates] There is no more need to call AccountsTemplates.init()! Simply remove the call ;-)"); +}; + +AT.prototype._init = function() { + if (this._initialized) { + return; + } + + var usernamePresent = this.hasField("username"); + var emailPresent = this.hasField("email"); + + if (usernamePresent && emailPresent) { + this._loginType = "username_and_email"; + } else { + this._loginType = usernamePresent ? "username" : "email"; + } + + if (this._loginType === "username_and_email") { + // Possibly adds the field username_and_email in case + // it was not configured + if (!this.hasField("username_and_email")) { + this.addField({ + _id: "username_and_email", + type: "text", + displayName: "usernameOrEmail", + placeholder: "usernameOrEmail", + required: true, + }); + } + } + + // Only in case password confirmation is required + if (this.options.confirmPassword) { + // Possibly adds the field password_again in case + // it was not configured + if (!this.hasField("password_again")) { + var pwdAgain = _.clone(this.getField("password")); + + pwdAgain._id = "password_again"; + pwdAgain.displayName = { + "default": "passwordAgain", + changePwd: "newPasswordAgain", + resetPwd: "newPasswordAgain", + }; + pwdAgain.placeholder = { + "default": "passwordAgain", + changePwd: "newPasswordAgain", + resetPwd: "newPasswordAgain", + }; + this.addField(pwdAgain); + } + } else { + if (this.hasField("password_again")) { + throw new Error("AccountsTemplates: a field password_again was added but confirmPassword is set to false!"); + } + } + + // Possibly adds the field current_password in case + // it was not configured + if (this.options.enablePasswordChange) { + if (!this.hasField("current_password")) { + this.addField({ + _id: "current_password", + type: "password", + displayName: "currentPassword", + placeholder: "currentPassword", + required: true, + }); + } + } + + // Ensuser the right order of special fields + var moveFieldAfter = function(fieldName, referenceFieldName) { + var fieldIds = AccountsTemplates.getFieldIds(); + var refFieldId = _.indexOf(fieldIds, referenceFieldName); + // In case the reference field is not present, just return... + if (refFieldId === -1) { + return; + } + + var fieldId = _.indexOf(fieldIds, fieldName); + // In case the sought field is not present, just return... + if (fieldId === -1) { + return; + } + + if (fieldId !== -1 && fieldId !== (refFieldId + 1)) { + // removes the field + var field = AccountsTemplates._fields.splice(fieldId, 1)[0]; + // push the field right after the reference field position + var newFieldIds = AccountsTemplates.getFieldIds(); + var newReferenceFieldId = _.indexOf(newFieldIds, referenceFieldName); + AccountsTemplates._fields.splice(newReferenceFieldId + 1, 0, field); + } + }; + + // Ensuser the right order of special fields + var moveFieldBefore = function(fieldName, referenceFieldName) { + var fieldIds = AccountsTemplates.getFieldIds(); + var refFieldId = _.indexOf(fieldIds, referenceFieldName); + // In case the reference field is not present, just return... + if (refFieldId === -1) { + return; + } + + var fieldId = _.indexOf(fieldIds, fieldName); + // In case the sought field is not present, just return... + if (fieldId === -1) { + return; + } + + if (fieldId !== -1 && fieldId !== (refFieldId - 1)) { + // removes the field + var field = AccountsTemplates._fields.splice(fieldId, 1)[0]; + // push the field right after the reference field position + var newFieldIds = AccountsTemplates.getFieldIds(); + var newReferenceFieldId = _.indexOf(newFieldIds, referenceFieldName); + AccountsTemplates._fields.splice(newReferenceFieldId, 0, field); + } + }; + + // The final order should be something like: + // - username + // - email + // - username_and_email + // - password + // - password_again + // + // ...so lets do it in reverse order... + moveFieldAfter("username_and_email", "username"); + moveFieldAfter("username_and_email", "email"); + moveFieldBefore("current_password", "password"); + moveFieldAfter("password", "current_password"); + moveFieldAfter("password_again", "password"); + + + // Sets visibility condition and validation flags for each field + var gPositiveValidation = !!AccountsTemplates.options.positiveValidation; + var gNegativeValidation = !!AccountsTemplates.options.negativeValidation; + var gShowValidating = !!AccountsTemplates.options.showValidating; + var gContinuousValidation = !!AccountsTemplates.options.continuousValidation; + var gNegativeFeedback = !!AccountsTemplates.options.negativeFeedback; + var gPositiveFeedback = !!AccountsTemplates.options.positiveFeedback; + + _.each(this._fields, function(field) { + // Visibility + switch(field._id) { + case "current_password": + field.visible = ["changePwd"]; + break; + case "email": + field.visible = ["forgotPwd", "signUp", "resendVerificationEmail"]; + if (AccountsTemplates.loginType() === "email") { + field.visible.push("signIn"); + } + break; + case "password": + field.visible = ["changePwd", "enrollAccount", "resetPwd", "signIn", "signUp"]; + break; + case "password_again": + field.visible = ["changePwd", "enrollAccount", "resetPwd", "signUp"]; + break; + case "username": + field.visible = ["signUp"]; + if (AccountsTemplates.loginType() === "username") { + field.visible.push("signIn"); + } + break; + case "username_and_email": + field.visible = []; + if (AccountsTemplates.loginType() === "username_and_email") { + field.visible.push("signIn"); + } + break; + default: + field.visible = ["signUp"]; + } + + // Validation + var positiveValidation = field.positiveValidation; + if (_.isUndefined(positiveValidation)) { + field.positiveValidation = gPositiveValidation; + } + + var negativeValidation = field.negativeValidation; + if (_.isUndefined(negativeValidation)) { + field.negativeValidation = gNegativeValidation; + } + + field.validation = field.positiveValidation || field.negativeValidation; + if (_.isUndefined(field.continuousValidation)) { + field.continuousValidation = gContinuousValidation; + } + + field.continuousValidation = field.validation && field.continuousValidation; + if (_.isUndefined(field.negativeFeedback)) { + field.negativeFeedback = gNegativeFeedback; + } + + if (_.isUndefined(field.positiveFeedback)) { + field.positiveFeedback = gPositiveFeedback; + } + + field.feedback = field.negativeFeedback || field.positiveFeedback; + // Validating icon + var showValidating = field.showValidating; + if (_.isUndefined(showValidating)) { + field.showValidating = gShowValidating; + } + + // Custom Template + if (field.template) { + if (field.template in Template) { + Template[field.template].helpers(AccountsTemplates.atInputHelpers); + } else { + console.warn( + "[UserAccounts] Warning no template " + field.template + " found!" + ); + } + } + }); + + // Initializes reactive states + var form = new ReactiveDict(); + + form.set("disabled", false); + form.set("state", "signIn"); + form.set("result", null); + form.set("error", null); + form.set("message", null); + this.state = { + form: form, + }; + + // Possibly subscribes to extended user data (to get the list of registered services...) + if (this.options.showAddRemoveServices) { + Meteor.subscribe("userRegisteredServices"); + } + + //Check that reCaptcha site keys are available and no secret keys visible + if (this.options.showReCaptcha) { + var atSiteKey = null; + var atSecretKey = null; + var settingsSiteKey = null; + var settingsSecretKey = null; + + if (AccountsTemplates.options.reCaptcha) { + atSiteKey = AccountsTemplates.options.reCaptcha.siteKey; + atSecretKey = AccountsTemplates.options.reCaptcha.secretKey; + } + + if (Meteor.settings && Meteor.settings.public && Meteor.settings.public.reCaptcha) { + settingsSiteKey = Meteor.settings.public.reCaptcha.siteKey; + settingsSecretKey = Meteor.settings.public.reCaptcha.secretKey; + } + + if (atSecretKey || settingsSecretKey) { + //erase the secret key + if (atSecretKey) { + AccountsTemplates.options.reCaptcha.secretKey = null; + } + + if (settingsSecretKey) { + Meteor.settings.public.reCaptcha.secretKey = null; + } + + var loc = atSecretKey ? "User Accounts configuration!" : "Meteor settings!"; + throw new Meteor.Error(401, "User Accounts: DANGER - reCaptcha private key leaked to client from " + loc + + " Provide the key in server settings ONLY."); + } + + if (!atSiteKey && !settingsSiteKey) { + throw new Meteor.Error(401, "User Accounts: reCaptcha site key not found! Please provide it or set showReCaptcha to false."); + } + } + + // Marks AccountsTemplates as initialized + this._initialized = true; +}; + +AT.prototype.linkClick = function(route) { + if (AccountsTemplates.disabled()) { + return; + } + + AccountsTemplates.setState(route); + + if (AccountsTemplates.options.focusFirstInput) { + var firstVisibleInput = _.find(this.getFields(), function(f) { + return _.contains(f.visible, route); + }); + + if (firstVisibleInput) { + $("input#at-field-" + firstVisibleInput._id).focus(); + } + } +}; + +AT.prototype.logout = function() { + var onLogoutHook = AccountsTemplates.options.onLogoutHook; + + Meteor.logout(function() { + if (onLogoutHook) { + onLogoutHook(); + } + }); +}; + +AT.prototype.submitCallback = function(error, state, onSuccess) { + var onSubmitHook = AccountsTemplates.options.onSubmitHook; + + if (onSubmitHook) { + onSubmitHook(error, state); + } + + if (error) { + if (_.isObject(error.details)) { + // If error.details is an object, we may try to set fields errors from it + _.each(error.details, function(error, fieldId) { + AccountsTemplates.getField(fieldId).setError(error); + }); + } else { + var err = "error.accounts.Unknown error"; + + if (error.reason) { + err = error.reason; + } + + if (err.substring(0, 15) !== "error.accounts.") { + err = "error.accounts." + err; + } + + AccountsTemplates.state.form.set("error", [err]); + } + + AccountsTemplates.setDisabled(false); + // Possibly resets reCaptcha form + if (state === "signUp" && AccountsTemplates.options.showReCaptcha) { + grecaptcha.reset(); + } + } else { + if (onSuccess) { + onSuccess(); + } + + if (state) { + AccountsTemplates.setDisabled(false); + } + } +}; + +AccountsTemplates = new AT(); + +// Initialization +Meteor.startup(function() { + AccountsTemplates._init(); +}); diff --git a/packages/meteor-useraccounts-core/lib/core.js b/packages/meteor-useraccounts-core/lib/core.js new file mode 100644 index 0000000..1c7bc07 --- /dev/null +++ b/packages/meteor-useraccounts-core/lib/core.js @@ -0,0 +1,593 @@ +// --------------------------------------------------------------------------------- +// Patterns for methods" parameters +// --------------------------------------------------------------------------------- + +STATE_PAT = { + changePwd: Match.Optional(String), + enrollAccount: Match.Optional(String), + forgotPwd: Match.Optional(String), + resetPwd: Match.Optional(String), + signIn: Match.Optional(String), + signUp: Match.Optional(String), + verifyEmail: Match.Optional(String), + resendVerificationEmail: Match.Optional(String), +}; + +ERRORS_PAT = { + accountsCreationDisabled: Match.Optional(String), + cannotRemoveService: Match.Optional(String), + captchaVerification: Match.Optional(String), + loginForbidden: Match.Optional(String), + mustBeLoggedIn: Match.Optional(String), + pwdMismatch: Match.Optional(String), + validationErrors: Match.Optional(String), + verifyEmailFirst: Match.Optional(String), +}; + +INFO_PAT = { + emailSent: Match.Optional(String), + emailVerified: Match.Optional(String), + pwdChanged: Match.Optional(String), + pwdReset: Match.Optional(String), + pwdSet: Match.Optional(String), + signUpVerifyEmail: Match.Optional(String), + verificationEmailSent: Match.Optional(String), +}; + +INPUT_ICONS_PAT = { + hasError: Match.Optional(String), + hasSuccess: Match.Optional(String), + isValidating: Match.Optional(String), +}; + +ObjWithStringValues = Match.Where(function (x) { + check(x, Object); + _.each(_.values(x), function(value) { + check(value, String); + }); + return true; +}); + +TEXTS_PAT = { + button: Match.Optional(STATE_PAT), + errors: Match.Optional(ERRORS_PAT), + info: Match.Optional(INFO_PAT), + inputIcons: Match.Optional(INPUT_ICONS_PAT), + maxAllowedLength: Match.Optional(String), + minRequiredLength: Match.Optional(String), + navSignIn: Match.Optional(String), + navSignOut: Match.Optional(String), + optionalField: Match.Optional(String), + pwdLink_link: Match.Optional(String), + pwdLink_pre: Match.Optional(String), + pwdLink_suff: Match.Optional(String), + requiredField: Match.Optional(String), + resendVerificationEmailLink_pre: Match.Optional(String), + resendVerificationEmailLink_link: Match.Optional(String), + resendVerificationEmailLink_suff: Match.Optional(String), + sep: Match.Optional(String), + signInLink_link: Match.Optional(String), + signInLink_pre: Match.Optional(String), + signInLink_suff: Match.Optional(String), + signUpLink_link: Match.Optional(String), + signUpLink_pre: Match.Optional(String), + signUpLink_suff: Match.Optional(String), + socialAdd: Match.Optional(String), + socialConfigure: Match.Optional(String), + socialIcons: Match.Optional(ObjWithStringValues), + socialRemove: Match.Optional(String), + socialSignIn: Match.Optional(String), + socialSignUp: Match.Optional(String), + socialWith: Match.Optional(String), + termsAnd: Match.Optional(String), + termsPreamble: Match.Optional(String), + termsPrivacy: Match.Optional(String), + termsTerms: Match.Optional(String), + title: Match.Optional(STATE_PAT), +}; + +// Configuration pattern to be checked with check +CONFIG_PAT = { + // Behaviour + confirmPassword: Match.Optional(Boolean), + defaultState: Match.Optional(String), + enablePasswordChange: Match.Optional(Boolean), + enforceEmailVerification: Match.Optional(Boolean), + focusFirstInput: Match.Optional(Boolean), + forbidClientAccountCreation: Match.Optional(Boolean), + lowercaseUsername: Match.Optional(Boolean), + overrideLoginErrors: Match.Optional(Boolean), + sendVerificationEmail: Match.Optional(Boolean), + socialLoginStyle: Match.Optional(Match.OneOf("popup", "redirect")), + + // Appearance + defaultLayout: Match.Optional(String), + hideSignInLink: Match.Optional(Boolean), + hideSignUpLink: Match.Optional(Boolean), + showAddRemoveServices: Match.Optional(Boolean), + showForgotPasswordLink: Match.Optional(Boolean), + showResendVerificationEmailLink: Match.Optional(Boolean), + showLabels: Match.Optional(Boolean), + showPlaceholders: Match.Optional(Boolean), + + // Client-side Validation + continuousValidation: Match.Optional(Boolean), + negativeFeedback: Match.Optional(Boolean), + negativeValidation: Match.Optional(Boolean), + positiveFeedback: Match.Optional(Boolean), + positiveValidation: Match.Optional(Boolean), + showValidating: Match.Optional(Boolean), + + // Privacy Policy and Terms of Use + privacyUrl: Match.Optional(String), + termsUrl: Match.Optional(String), + + // Redirects + homeRoutePath: Match.Optional(String), + redirectTimeout: Match.Optional(Number), + + // Hooks + onLogoutHook: Match.Optional(Function), + onSubmitHook: Match.Optional(Function), + preSignUpHook: Match.Optional(Function), + postSignUpHook: Match.Optional(Function), + + texts: Match.Optional(TEXTS_PAT), + + //reCaptcha config + reCaptcha: Match.Optional({ + data_type: Match.Optional(Match.OneOf("audio", "image")), + secretKey: Match.Optional(String), + siteKey: Match.Optional(String), + theme: Match.Optional(Match.OneOf("dark", "light")), + }), + + showReCaptcha: Match.Optional(Boolean), +}; + + +FIELD_SUB_PAT = { + "default": Match.Optional(String), + changePwd: Match.Optional(String), + enrollAccount: Match.Optional(String), + forgotPwd: Match.Optional(String), + resetPwd: Match.Optional(String), + signIn: Match.Optional(String), + signUp: Match.Optional(String), +}; + + +// Field pattern +FIELD_PAT = { + _id: String, + type: String, + required: Match.Optional(Boolean), + displayName: Match.Optional(Match.OneOf(String, Match.Where(_.isFunction), FIELD_SUB_PAT)), + placeholder: Match.Optional(Match.OneOf(String, FIELD_SUB_PAT)), + select: Match.Optional([{text: String, value: Match.Any}]), + minLength: Match.Optional(Match.Integer), + maxLength: Match.Optional(Match.Integer), + re: Match.Optional(RegExp), + func: Match.Optional(Match.Where(_.isFunction)), + errStr: Match.Optional(String), + + // Client-side Validation + continuousValidation: Match.Optional(Boolean), + negativeFeedback: Match.Optional(Boolean), + negativeValidation: Match.Optional(Boolean), + positiveValidation: Match.Optional(Boolean), + positiveFeedback: Match.Optional(Boolean), + + // Transforms + trim: Match.Optional(Boolean), + lowercase: Match.Optional(Boolean), + uppercase: Match.Optional(Boolean), + transform: Match.Optional(Match.Where(_.isFunction)), + + // Custom options + options: Match.Optional(Object), + template: Match.Optional(String), +}; + +// ----------------------------------------------------------------------------- +// AccountsTemplates object +// ----------------------------------------------------------------------------- + +// ------------------- +// Client/Server stuff +// ------------------- + +// Constructor +AT = function() { + +}; + +AT.prototype.CONFIG_PAT = CONFIG_PAT; + +/* + Each field object is represented by the following properties: + _id: String (required) // A unique field"s id / name + type: String (required) // Displayed input type + required: Boolean (optional) // Specifies Whether to fail or not when field is left empty + displayName: String (optional) // The field"s name to be displayed as a label above the input element + placeholder: String (optional) // The placeholder text to be displayed inside the input element + minLength: Integer (optional) // Possibly specifies the minimum allowed length + maxLength: Integer (optional) // Possibly specifies the maximum allowed length + re: RegExp (optional) // Regular expression for validation + func: Function (optional) // Custom function for validation + errStr: String (optional) // Error message to be displayed in case re validation fails +*/ + + +// Allowed input types +AT.prototype.INPUT_TYPES = [ + "checkbox", + "email", + "hidden", + "password", + "radio", + "select", + "tel", + "text", + "url", +]; + +// Current configuration values +AT.prototype.options = { + // Appearance + //defaultLayout: undefined, + showAddRemoveServices: false, + showForgotPasswordLink: false, + showResendVerificationEmailLink: false, + showLabels: true, + showPlaceholders: true, + + // Behaviour + confirmPassword: true, + defaultState: "signIn", + enablePasswordChange: false, + focusFirstInput: !Meteor.isCordova, + forbidClientAccountCreation: false, + lowercaseUsername: false, + overrideLoginErrors: true, + sendVerificationEmail: false, + socialLoginStyle: "popup", + + // Client-side Validation + //continuousValidation: false, + //negativeFeedback: false, + //negativeValidation: false, + //positiveValidation: false, + //positiveFeedback: false, + //showValidating: false, + + // Privacy Policy and Terms of Use + privacyUrl: undefined, + termsUrl: undefined, + + // Hooks + onSubmitHook: undefined, +}; + +AT.prototype.texts = { + button: { + changePwd: "updateYourPassword", + //enrollAccount: "createAccount", + enrollAccount: "signUp", + forgotPwd: "emailResetLink", + resetPwd: "setPassword", + signIn: "signIn", + signUp: "signUp", + resendVerificationEmail: "Send email again", + }, + errors: { + accountsCreationDisabled: "Client side accounts creation is disabled!!!", + cannotRemoveService: "Cannot remove the only active service!", + captchaVerification: "Captcha verification failed!", + loginForbidden: "error.accounts.Login forbidden", + mustBeLoggedIn: "error.accounts.Must be logged in", + pwdMismatch: "error.pwdsDontMatch", + validationErrors: "Validation Errors", + verifyEmailFirst: "Please verify your email first. Check the email and follow the link!", + }, + navSignIn: 'signIn', + navSignOut: 'signOut', + info: { + emailSent: "info.emailSent", + emailVerified: "info.emailVerified", + pwdChanged: "info.passwordChanged", + pwdReset: "info.passwordReset", + pwdSet: "Password Set", + signUpVerifyEmail: "Successful Registration! Please check your email and follow the instructions.", + verificationEmailSent: "A new email has been sent to you. If the email doesn't show up in your inbox, be sure to check your spam folder.", + }, + inputIcons: { + isValidating: "fa fa-spinner fa-spin", + hasSuccess: "fa fa-check", + hasError: "fa fa-times", + }, + maxAllowedLength: "Maximum allowed length", + minRequiredLength: "Minimum required length", + optionalField: "optional", + pwdLink_pre: "", + pwdLink_link: "forgotPassword", + pwdLink_suff: "", + requiredField: "Required Field", + resendVerificationEmailLink_pre: "Verification email lost?", + resendVerificationEmailLink_link: "Send again", + resendVerificationEmailLink_suff: "", + sep: "OR", + signInLink_pre: "ifYouAlreadyHaveAnAccount", + signInLink_link: "signin", + signInLink_suff: "", + signUpLink_pre: "dontHaveAnAccount", + signUpLink_link: "signUp", + signUpLink_suff: "", + socialAdd: "add", + socialConfigure: "configure", + socialIcons: { + "meteor-developer": "fa fa-rocket" + }, + socialRemove: "remove", + socialSignIn: "signIn", + socialSignUp: "signUp", + socialWith: "with", + termsPreamble: "clickAgree", + termsPrivacy: "privacyPolicy", + termsAnd: "and", + termsTerms: "terms", + title: { + changePwd: "changePassword", + enrollAccount: "createAccount", + forgotPwd: "resetYourPassword", + resetPwd: "resetYourPassword", + signIn: "signIn", + signUp: "createAccount", + verifyEmail: "", + resendVerificationEmail: "Send the verification email again", + }, +}; + +AT.prototype.SPECIAL_FIELDS = [ + "password_again", + "username_and_email", +]; + +// SignIn / SignUp fields +AT.prototype._fields = [ + new Field({ + _id: "email", + type: "email", + required: true, + lowercase: true, + trim: true, + func: function(email) { + return !_.contains(email, '@'); + }, + errStr: 'Invalid email', + }), + new Field({ + _id: "password", + type: "password", + required: true, + minLength: 6, + displayName: { + "default": "password", + changePwd: "newPassword", + resetPwd: "newPassword", + }, + placeholder: { + "default": "password", + changePwd: "newPassword", + resetPwd: "newPassword", + }, + }), +]; + + +AT.prototype._initialized = false; + +// Input type validation +AT.prototype._isValidInputType = function(value) { + return _.indexOf(this.INPUT_TYPES, value) !== -1; +}; + +AT.prototype.addField = function(field) { + // Fields can be added only before initialization + if (this._initialized) { + throw new Error("AccountsTemplates.addField should strictly be called before AccountsTemplates.init!"); + } + + field = _.pick(field, _.keys(FIELD_PAT)); + check(field, FIELD_PAT); + // Checks there"s currently no field called field._id + if (_.indexOf(_.pluck(this._fields, "_id"), field._id) !== -1) { + throw new Error("A field called " + field._id + " already exists!"); + } + // Validates field.type + if (!this._isValidInputType(field.type)) { + throw new Error("field.type is not valid!"); + } + // Checks field.minLength is strictly positive + if (typeof field.minLength !== "undefined" && field.minLength <= 0) { + throw new Error("field.minLength should be greater than zero!"); + } + // Checks field.maxLength is strictly positive + if (typeof field.maxLength !== "undefined" && field.maxLength <= 0) { + throw new Error("field.maxLength should be greater than zero!"); + } + // Checks field.maxLength is greater than field.minLength + if (typeof field.minLength !== "undefined" && typeof field.minLength !== "undefined" && field.maxLength < field.minLength) { + throw new Error("field.maxLength should be greater than field.maxLength!"); + } + + if (!(Meteor.isServer && _.contains(this.SPECIAL_FIELDS, field._id))) { + this._fields.push(new Field(field)); + } + + return this._fields; +}; + +AT.prototype.addFields = function(fields) { + var ok; + + try { // don"t bother with `typeof` - just access `length` and `catch` + ok = fields.length > 0 && "0" in Object(fields); + } catch (e) { + throw new Error("field argument should be an array of valid field objects!"); + } + if (ok) { + _.map(fields, function(field) { + this.addField(field); + }, this); + } else { + throw new Error("field argument should be an array of valid field objects!"); + } + + return this._fields; +}; + +AT.prototype.configure = function(config) { + // Configuration options can be set only before initialization + if (this._initialized) { + throw new Error("Configuration options must be set before AccountsTemplates.init!"); + } + + // Updates the current configuration + check(config, CONFIG_PAT); + var options = _.omit(config, "texts", "reCaptcha"); + this.options = _.defaults(options, this.options); + + // Possibly sets up reCaptcha options + var reCaptcha = config.reCaptcha; + if (reCaptcha) { + // Updates the current button object + this.options.reCaptcha = _.defaults(reCaptcha, this.options.reCaptcha || {}); + } + + // Possibly sets up texts... + if (config.texts) { + var texts = config.texts; + var simpleTexts = _.omit(texts, "button", "errors", "info", "inputIcons", "socialIcons", "title"); + + this.texts = _.defaults(simpleTexts, this.texts); + + if (texts.button) { + // Updates the current button object + this.texts.button = _.defaults(texts.button, this.texts.button); + } + + if (texts.errors) { + // Updates the current errors object + this.texts.errors = _.defaults(texts.errors, this.texts.errors); + } + + if (texts.info) { + // Updates the current info object + this.texts.info = _.defaults(texts.info, this.texts.info); + } + + if (texts.inputIcons) { + // Updates the current inputIcons object + this.texts.inputIcons = _.defaults(texts.inputIcons, this.texts.inputIcons); + } + + if (texts.socialIcons) { + // Updates the current socialIcons object + this.texts.socialIcons = _.defaults(texts.socialIcons, this.texts.socialIcons); + } + + if (texts.title) { + // Updates the current title object + this.texts.title = _.defaults(texts.title, this.texts.title); + } + } +}; + + +AT.prototype.configureRoute = function(route, options) { + console.warn('You now need a routing package like useraccounts:iron-routing or useraccounts:flow-routing to be able to configure routes!'); +}; + + +AT.prototype.hasField = function(fieldId) { + return !!this.getField(fieldId); +}; + +AT.prototype.getField = function(fieldId) { + var field = _.filter(this._fields, function(field) { + return field._id === fieldId; + }); + + return (field.length === 1) ? field[0] : undefined; +}; + +AT.prototype.getFields = function() { + return this._fields; +}; + +AT.prototype.getFieldIds = function() { + return _.pluck(this._fields, "_id"); +}; + +AT.prototype.getRoutePath = function(route) { + return "#"; +}; + +AT.prototype.oauthServices = function() { + // Extracts names of available services + var names; + + if (Meteor.isServer) { + names = (Accounts.oauth && Accounts.oauth.serviceNames()) || []; + } else { + names = (Accounts.oauth && Accounts.loginServicesConfigured() && Accounts.oauth.serviceNames()) || []; + } + // Extracts names of configured services + var configuredServices = []; + + if (Accounts.loginServiceConfiguration) { + configuredServices = _.pluck(Accounts.loginServiceConfiguration.find().fetch(), "service"); + } + + // Builds a list of objects containing service name as _id and its configuration status + var services = _.map(names, function(name) { + return { + _id : name, + configured: _.contains(configuredServices, name), + }; + }); + + // Checks whether there is a UI to configure services... + // XXX: this only works with the accounts-ui package + var showUnconfigured = typeof Accounts._loginButtonsSession !== "undefined"; + + // Filters out unconfigured services in case they"re not to be displayed + if (!showUnconfigured) { + services = _.filter(services, function(service) { + return service.configured; + }); + } + + // Sorts services by name + services = _.sortBy(services, function(service) { + return service._id; + }); + + return services; +}; + +AT.prototype.removeField = function(fieldId) { + // Fields can be removed only before initialization + if (this._initialized) { + throw new Error("AccountsTemplates.removeField should strictly be called before AccountsTemplates.init!"); + } + // Tries to look up the field with given _id + var index = _.indexOf(_.pluck(this._fields, "_id"), fieldId); + + if (index !== -1) { + return this._fields.splice(index, 1)[0]; + } else if (!(Meteor.isServer && _.contains(this.SPECIAL_FIELDS, fieldId))) { + throw new Error("A field called " + fieldId + " does not exist!"); + } +}; diff --git a/packages/meteor-useraccounts-core/lib/field.js b/packages/meteor-useraccounts-core/lib/field.js new file mode 100644 index 0000000..c3ecfbb --- /dev/null +++ b/packages/meteor-useraccounts-core/lib/field.js @@ -0,0 +1,292 @@ +// --------------------------------------------------------------------------------- +// Field object +// --------------------------------------------------------------------------------- + +Field = function(field) { + check(field, FIELD_PAT); + _.defaults(this, field); + + this.validating = new ReactiveVar(false); + this.status = new ReactiveVar(null); +}; + +if (Meteor.isClient) { + Field.prototype.clearStatus = function() { + return this.status.set(null); + }; +} + +if (Meteor.isServer) { + Field.prototype.clearStatus = function() { + // Nothing to do server-side + return; + }; +} + +Field.prototype.fixValue = function(value) { + if (this.type === "checkbox") { + return !!value; + } + + if (this.type === "select") { + // TODO: something working... + return value; + } + + if (this.type === "radio") { + // TODO: something working... + return value; + } + + // Possibly applies required transformations to the input value + if (this.trim) { + value = value.trim(); + } + + if (this.lowercase) { + value = value.toLowerCase(); + } + + if (this.uppercase) { + value = value.toUpperCase(); + } + + if (!!this.transform) { + value = this.transform(value); + } + + return value; +}; + +if (Meteor.isClient) { + Field.prototype.getDisplayName = function(state) { + var displayName = this.displayName; + + if (_.isFunction(displayName)) { + displayName = displayName(); + } else if (_.isObject(displayName)) { + displayName = displayName[state] || displayName["default"]; + } + + if (!displayName) { + displayName = capitalize(this._id); + } + + return displayName; + }; +} + +if (Meteor.isClient) { + Field.prototype.getPlaceholder = function(state) { + var placeholder = this.placeholder; + + if (_.isObject(placeholder)) { + placeholder = placeholder[state] || placeholder["default"]; + } + + if (!placeholder) { + placeholder = capitalize(this._id); + } + + return placeholder; + }; +} + +Field.prototype.getStatus = function() { + return this.status.get(); +}; + +if (Meteor.isClient) { + Field.prototype.getValue = function(templateInstance) { + if (this.type === "checkbox") { + return !!(templateInstance.$("#at-field-" + this._id + ":checked").val()); + } + + if (this.type === "radio") { + return templateInstance.$("[name=at-field-"+ this._id + "]:checked").val(); + } + + return templateInstance.$("#at-field-" + this._id).val(); + }; +} + +if (Meteor.isClient) { + Field.prototype.hasError = function() { + return this.negativeValidation && this.status.get(); + }; +} + +if (Meteor.isClient) { + Field.prototype.hasIcon = function() { + if (this.showValidating && this.isValidating()) { + return true; + } + + if (this.negativeFeedback && this.hasError()) { + return true; + } + + if (this.positiveFeedback && this.hasSuccess()) { + return true; + } + }; +} + +if (Meteor.isClient) { + Field.prototype.hasSuccess = function() { + return this.positiveValidation && this.status.get() === false; + }; +} + +if (Meteor.isClient) + Field.prototype.iconClass = function() { + if (this.isValidating()) { + return AccountsTemplates.texts.inputIcons["isValidating"]; + } + + if (this.hasError()) { + return AccountsTemplates.texts.inputIcons["hasError"]; + } + + if (this.hasSuccess()) { + return AccountsTemplates.texts.inputIcons["hasSuccess"]; + } + }; + +if (Meteor.isClient) { + Field.prototype.isValidating = function() { + return this.validating.get(); + }; +} + +if (Meteor.isClient) { + Field.prototype.setError = function(err) { + check(err, Match.OneOf(String, undefined, Boolean)); + + if (err === false) { + return this.status.set(false); + } + + return this.status.set(err || true); + }; +} + +if (Meteor.isServer) { + Field.prototype.setError = function(err) { + // Nothing to do server-side + return; + }; +} + +if (Meteor.isClient) { + Field.prototype.setSuccess = function() { + return this.status.set(false); + }; +} + +if (Meteor.isServer) { + Field.prototype.setSuccess = function() { + // Nothing to do server-side + return; + }; +} + +if (Meteor.isClient) { + Field.prototype.setValidating = function(state) { + check(state, Boolean); + return this.validating.set(state); + }; +} + +if (Meteor.isServer) { + Field.prototype.setValidating = function(state) { + // Nothing to do server-side + return; + }; +} + +if (Meteor.isClient) { + Field.prototype.setValue = function(templateInstance, value) { + if (this.type === "checkbox") { + templateInstance.$("#at-field-" + this._id).prop('checked', true); + return; + } + + if (this.type === "radio") { + templateInstance.$("[name=at-field-"+ this._id + "]").prop('checked', true); + return; + } + + templateInstance.$("#at-field-" + this._id).val(value); + }; +} + +Field.prototype.validate = function(value, strict) { + check(value, Match.OneOf(undefined, String, Boolean)); + this.setValidating(true); + this.clearStatus(); + + if (_.isUndefined(value) || value === '') { + if (!!strict) { + if (this.required) { + this.setError(AccountsTemplates.texts.requiredField); + this.setValidating(false); + + return AccountsTemplates.texts.requiredField; + } else { + this.setSuccess(); + this.setValidating(false); + + return false; + } + } else { + this.clearStatus(); + this.setValidating(false); + + return null; + } + } + + var valueLength = value.length; + var minLength = this.minLength; + if (minLength && valueLength < minLength) { + this.setError(AccountsTemplates.texts.minRequiredLength + ": " + minLength); + this.setValidating(false); + + return AccountsTemplates.texts.minRequiredLength + ": " + minLength; + } + + var maxLength = this.maxLength; + if (maxLength && valueLength > maxLength) { + this.setError(AccountsTemplates.texts.maxAllowedLength + ": " + maxLength); + this.setValidating(false); + + return AccountsTemplates.texts.maxAllowedLength + ": " + maxLength; + } + + if (this.re && valueLength && !value.match(this.re)) { + this.setError(this.errStr); + this.setValidating(false); + + return this.errStr; + } + + if (this.func) { + var result = this.func(value); + var err = result === true ? this.errStr || true : result; + + if (_.isUndefined(result)) { + return err; + } + + this.status.set(err); + this.setValidating(false); + + return err; + } + + this.setSuccess(); + this.setValidating(false); + + return false; +}; diff --git a/packages/meteor-useraccounts-core/lib/methods.js b/packages/meteor-useraccounts-core/lib/methods.js new file mode 100644 index 0000000..0d3a070 --- /dev/null +++ b/packages/meteor-useraccounts-core/lib/methods.js @@ -0,0 +1,25 @@ +/* global + AccountsTemplates: false +*/ +"use strict"; + +Meteor.methods({ + ATRemoveService: function(serviceName) { + check(serviceName, String); + + var userId = this.userId; + + if (userId) { + var user = Meteor.users.findOne(userId); + var numServices = _.keys(user.services).length; // including "resume" + var unset = {}; + + if (numServices === 2) { + throw new Meteor.Error(403, AccountsTemplates.texts.errors.cannotRemoveService, {}); + } + + unset["services." + serviceName] = ""; + Meteor.users.update(userId, {$unset: unset}); + } + }, +}); diff --git a/packages/meteor-useraccounts-core/lib/server.js b/packages/meteor-useraccounts-core/lib/server.js new file mode 100644 index 0000000..2a925dc --- /dev/null +++ b/packages/meteor-useraccounts-core/lib/server.js @@ -0,0 +1,184 @@ +/* global + AT: false, + AccountsTemplates: false +*/ +"use strict"; + +// Initialization +AT.prototype.init = function() { + console.warn("[AccountsTemplates] There is no more need to call AccountsTemplates.init()! Simply remove the call ;-)"); +}; + +AT.prototype._init = function() { + if (this._initialized) { + return; + } + + // Checks there is at least one account service installed + if (!Package["accounts-password"] && (!Accounts.oauth || Accounts.oauth.serviceNames().length === 0)) { + throw Error("AccountsTemplates: You must add at least one account service!"); + } + + // A password field is strictly required + var password = this.getField("password"); + if (!password) { + throw Error("A password field is strictly required!"); + } + + if (password.type !== "password") { + throw Error("The type of password field should be password!"); + } + + // Then we can have "username" or "email" or even both of them + // but at least one of the two is strictly required + var username = this.getField("username"); + var email = this.getField("email"); + + if (!username && !email) { + throw Error("At least one field out of username and email is strictly required!"); + } + + if (username && !username.required) { + throw Error("The username field should be required!"); + } + + if (email) { + if (email.type !== "email") { + throw Error("The type of email field should be email!"); + } + + if (username) { + // username and email + if (username.type !== "text") { + throw Error("The type of username field should be text when email field is present!"); + } + } else { + // email only + if (!email.required) { + throw Error("The email field should be required when username is not present!"); + } + } + } else { + // username only + if (username.type !== "text" && username.type !== "tel") { + throw Error("The type of username field should be text or tel!"); + } + } + + // Possibly publish more user data in order to be able to show add/remove + // buttons for 3rd-party services + if (this.options.showAddRemoveServices) { + // Publish additional current user info to get the list of registered services + // XXX TODO: use + // Accounts.addAutopublishFields({ + // forLoggedInUser: ['services.facebook'], + // forOtherUsers: [], + // }) + // ...adds only user.services.*.id + Meteor.publish("userRegisteredServices", function() { + var userId = this.userId; + return Meteor.users.find(userId, {fields: {services: 1}}); + /* + if (userId) { + var user = Meteor.users.findOne(userId); + var services_id = _.chain(user.services) + .keys() + .reject(function(service) {return service === "resume";}) + .map(function(service) {return "services." + service + ".id";}) + .value(); + var projection = {}; + _.each(services_id, function(key) {projection[key] = 1;}); + return Meteor.users.find(userId, {fields: projection}); + } + */ + }); + } + + // Security stuff + if (this.options.overrideLoginErrors) { + Accounts.validateLoginAttempt(function(attempt) { + if (attempt.error) { + var reason = attempt.error.reason; + if (reason === "User not found" || reason === "Incorrect password") { + throw new Meteor.Error(403, AccountsTemplates.texts.errors.loginForbidden); + } + } + return attempt.allowed; + }); + } + + if (this.options.sendVerificationEmail && this.options.enforceEmailVerification) { + Accounts.validateLoginAttempt(function(attempt) { + if (!attempt.allowed) { + return false; + } + + if (attempt.type !== "password" || attempt.methodName !== "login") { + return attempt.allowed; + } + + var user = attempt.user; + if (!user) { + return attempt.allowed; + } + + var ok = true; + var loginEmail = attempt.methodArguments[0].user.email.toLowerCase(); + if (loginEmail) { + var email = _.filter(user.emails, function(obj) { + return obj.address.toLowerCase() === loginEmail; + }); + if (!email.length || !email[0].verified) { + ok = false; + } + } else { + // we got the username, lets check there's at lease one verified email + var emailVerified = _.chain(user.emails) + .pluck('verified') + .any() + .value(); + + if (!emailVerified) { + ok = false; + } + } + if (!ok) { + throw new Meteor.Error(401, AccountsTemplates.texts.errors.verifyEmailFirst); + } + + return attempt.allowed; + }); + } + + //Check that reCaptcha secret keys are available + if (this.options.showReCaptcha) { + var atSecretKey = AccountsTemplates.options.reCaptcha && AccountsTemplates.options.reCaptcha.secretKey; + var settingsSecretKey = Meteor.settings.reCaptcha && Meteor.settings.reCaptcha.secretKey; + + if (!atSecretKey && !settingsSecretKey) { + throw new Meteor.Error(401, "User Accounts: reCaptcha secret key not found! Please provide it or set showReCaptcha to false." ); + } + } + + // Marks AccountsTemplates as initialized + this._initialized = true; +}; + +AccountsTemplates = new AT(); + +// Client side account creation is disabled by default: +// the methos ATCreateUserServer is used instead! +// to actually disable client side account creation use: +// +// AccountsTemplates.config({ +// forbidClientAccountCreation: true +// }); + +Accounts.config({ + forbidClientAccountCreation: true +}); + +// Initialization +Meteor.startup(function() { + AccountsTemplates._init(); +}); diff --git a/packages/meteor-useraccounts-core/lib/server_methods.js b/packages/meteor-useraccounts-core/lib/server_methods.js new file mode 100644 index 0000000..500440d --- /dev/null +++ b/packages/meteor-useraccounts-core/lib/server_methods.js @@ -0,0 +1,142 @@ +/* global + AccountsTemplates +*/ +"use strict"; + +Meteor.methods({ + ATCreateUserServer: function(options) { + if (AccountsTemplates.options.forbidClientAccountCreation) { + throw new Meteor.Error(403, AccountsTemplates.texts.errors.accountsCreationDisabled); + } + + // createUser() does more checking. + check(options, Object); + var allFieldIds = AccountsTemplates.getFieldIds(); + + // Picks-up whitelisted fields for profile + var profile = options.profile; + profile = _.pick(profile, allFieldIds); + profile = _.omit(profile, "username", "email", "password"); + + // Validates fields" value + var signupInfo = _.clone(profile); + if (options.username) { + signupInfo.username = options.username; + + if (AccountsTemplates.options.lowercaseUsername) { + signupInfo.username = signupInfo.username.trim().replace(/\s+/gm, ' '); + options.profile.name = signupInfo.username; + signupInfo.username = signupInfo.username.toLowerCase().replace(/\s+/gm, ''); + options.username = signupInfo.username; + } + } + + if (options.email) { + signupInfo.email = options.email; + + if (AccountsTemplates.options.lowercaseUsername) { + signupInfo.email = signupInfo.email.toLowerCase().replace(/\s+/gm, ''); + options.email = signupInfo.email; + } + } + + if (options.password) { + signupInfo.password = options.password; + } + + var validationErrors = {}; + var someError = false; + + // Validates fields values + _.each(AccountsTemplates.getFields(), function(field) { + var fieldId = field._id; + var value = signupInfo[fieldId]; + + if (fieldId === "password") { + // Can"t Pick-up password here + // NOTE: at this stage the password is already encripted, + // so there is no way to validate it!!! + check(value, Object); + return; + } + + var validationErr = field.validate(value, "strict"); + if (validationErr) { + validationErrors[fieldId] = validationErr; + someError = true; + } + }); + + if (AccountsTemplates.options.showReCaptcha) { + var secretKey = null; + + if (AccountsTemplates.options.reCaptcha && AccountsTemplates.options.reCaptcha.secretKey) { + secretKey = AccountsTemplates.options.reCaptcha.secretKey; + } else { + secretKey = Meteor.settings.reCaptcha.secretKey; + } + + var apiResponse = HTTP.post("https://www.google.com/recaptcha/api/siteverify", { + params: { + secret: secretKey, + response: options.profile.reCaptchaResponse, + remoteip: this.connection.clientAddress, + } + }).data; + + if (!apiResponse.success) { + throw new Meteor.Error(403, AccountsTemplates.texts.errors.captchaVerification, + apiResponse['error-codes'] ? apiResponse['error-codes'].join(", ") : "Unknown Error."); + } + } + + if (someError) { + throw new Meteor.Error(403, AccountsTemplates.texts.errors.validationErrors, validationErrors); + } + + // Possibly removes the profile field + if (_.isEmpty(options.profile)) { + delete options.profile; + } + + // Create user. result contains id and token. + var userId = Accounts.createUser(options); + // safety belt. createUser is supposed to throw on error. send 500 error + // instead of sending a verification email with empty userid. + if (! userId) { + throw new Error("createUser failed to insert new user"); + } + + // Call postSignUpHook, if any... + var postSignUpHook = AccountsTemplates.options.postSignUpHook; + if (postSignUpHook) { + postSignUpHook(userId, options); + } + + // Send a email address verification email in case the context permits it + // and the specific configuration flag was set to true + if (options.email && AccountsTemplates.options.sendVerificationEmail) { + Accounts.sendVerificationEmail(userId, options.email); + } + }, + + // Resend a user's verification e-mail + ATResendVerificationEmail: function (email) { + check(email, String); + + var user = Meteor.users.findOne({ "emails.address": email }); + + // Send the standard error back to the client if no user exist with this e-mail + if (!user) { + throw new Meteor.Error(403, "User not found"); + } + + try { + Accounts.sendVerificationEmail(user._id); + } catch (error) { + // Handle error when email already verified + // https://github.com/dwinston/send-verification-email-bug + throw new Meteor.Error(403, "Already verified"); + } + }, +}); diff --git a/packages/meteor-useraccounts-core/lib/templates_helpers/at_error.js b/packages/meteor-useraccounts-core/lib/templates_helpers/at_error.js new file mode 100644 index 0000000..5673dfe --- /dev/null +++ b/packages/meteor-useraccounts-core/lib/templates_helpers/at_error.js @@ -0,0 +1,26 @@ +AT.prototype.atErrorHelpers = { + singleError: function() { + var errors = AccountsTemplates.state.form.get("error"); + return errors && errors.length === 1; + }, + error: function() { + return AccountsTemplates.state.form.get("error"); + }, + errorText: function(){ + var field, err; + if (this.field){ + field = T9n.get(this.field, markIfMissing=false); + err = T9n.get(this.err, markIfMissing=false); + } + else + err = T9n.get(this.valueOf(), markIfMissing=false); + + // Possibly removes initial prefix in case the key in not found inside t9n + if (err.substring(0, 15) === "error.accounts.") + err = err.substring(15); + + if (field) + return field + ": " + err; + return err; + }, +}; diff --git a/packages/meteor-useraccounts-core/lib/templates_helpers/at_form.js b/packages/meteor-useraccounts-core/lib/templates_helpers/at_form.js new file mode 100644 index 0000000..95a34c0 --- /dev/null +++ b/packages/meteor-useraccounts-core/lib/templates_helpers/at_form.js @@ -0,0 +1,83 @@ +AT.prototype.atFormHelpers = { + hide: function(){ + var state = this.state || AccountsTemplates.getState(); + return state === "hide"; + }, + showTitle: function(next_state){ + var state = next_state || this.state || AccountsTemplates.getState(); + if (Meteor.userId() && state === "signIn") + return false; + return !!AccountsTemplates.texts.title[state]; + }, + showOauthServices: function(next_state){ + var state = next_state || this.state || AccountsTemplates.getState(); + if (!(state === "signIn" || state === "signUp")) + return false; + var services = AccountsTemplates.oauthServices(); + if (!services.length) + return false; + if (Meteor.userId()) + return AccountsTemplates.options.showAddRemoveServices; + return true; + }, + showServicesSeparator: function(next_state){ + var pwdService = Package["accounts-password"] !== undefined; + var state = next_state || this.state || AccountsTemplates.getState(); + var rightState = (state === "signIn" || state === "signUp"); + return rightState && !Meteor.userId() && pwdService && AccountsTemplates.oauthServices().length; + }, + showError: function(next_state) { + return !!AccountsTemplates.state.form.get("error"); + }, + showResult: function(next_state) { + return !!AccountsTemplates.state.form.get("result"); + }, + showMessage: function(next_state) { + return !!AccountsTemplates.state.form.get("message"); + }, + showPwdForm: function(next_state) { + if (Package["accounts-password"] === undefined) + return false; + var state = next_state || this.state || AccountsTemplates.getState(); + if ((state === "verifyEmail") || (state === "signIn" && Meteor.userId())) + return false; + return true; + }, + showSignInLink: function(next_state){ + if (AccountsTemplates.options.hideSignInLink) + return false; + var state = next_state || this.state || AccountsTemplates.getState(); + if (AccountsTemplates.options.forbidClientAccountCreation && state === "forgotPwd") + return true; + return state === "signUp"; + }, + showSignUpLink: function(next_state){ + if (AccountsTemplates.options.hideSignUpLink) + return false; + var state = next_state || this.state || AccountsTemplates.getState(); + return ((state === "signIn" && !Meteor.userId()) || state === "forgotPwd") && !AccountsTemplates.options.forbidClientAccountCreation; + }, + showTermsLink: function(next_state){ + //TODO: Add privacyRoute and termsRoute as alternatives (the point of named routes is + // being able to change the url in one place only) + if (!!AccountsTemplates.options.privacyUrl || !!AccountsTemplates.options.termsUrl) { + var state = next_state || this.state || AccountsTemplates.getState(); + if (state === "signUp" || state === "enrollAccount" ) { + return true; + } + } + /* + if (state === "signIn"){ + var pwdService = Package["accounts-password"] !== undefined; + if (!pwdService) + return true; + } + */ + return false; + }, + showResendVerificationEmailLink: function(){ + var parentData = Template.currentData(); + var state = (parentData && parentData.state) || AccountsTemplates.getState(); + return (state === "signIn" || state === "forgotPwd") && AccountsTemplates.options.showResendVerificationEmailLink; + }, +}; diff --git a/packages/meteor-useraccounts-core/lib/templates_helpers/at_input.js b/packages/meteor-useraccounts-core/lib/templates_helpers/at_input.js new file mode 100644 index 0000000..fe74eeb --- /dev/null +++ b/packages/meteor-useraccounts-core/lib/templates_helpers/at_input.js @@ -0,0 +1,124 @@ +AT.prototype.atInputRendered = [function(){ + var fieldId = this.data._id; + + var parentData = Template.currentData(); + var state = (parentData && parentData.state) || AccountsTemplates.getState(); + + if (AccountsTemplates.options.focusFirstInput) { + var firstVisibleInput = _.find(AccountsTemplates.getFields(), function(f){ + return _.contains(f.visible, state); + }); + + if (firstVisibleInput && firstVisibleInput._id === fieldId) { + this.$("input#at-field-" + fieldId).focus(); + } + } +}]; + +AT.prototype.atInputHelpers = { + disabled: function() { + return AccountsTemplates.disabled(); + }, + showLabels: function() { + return AccountsTemplates.options.showLabels; + }, + displayName: function() { + var parentData = Template.parentData(); + var state = (parentData && parentData.state) || AccountsTemplates.getState(); + var displayName = this.getDisplayName(state); + return T9n.get(displayName, markIfMissing=false); + }, + optionalText: function(){ + return "(" + T9n.get(AccountsTemplates.texts.optionalField, markIfMissing=false) + ")"; + }, + templateName: function() { + if (this.template) + return this.template; + if (this.type === "checkbox") + return "atCheckboxInput"; + if (this.type === "select") + return "atSelectInput"; + if (this.type === "radio") + return "atRadioInput"; + if (this.type === "hidden") + return "atHiddenInput"; + return "atTextInput"; + }, + values: function(){ + var id = this._id; + return _.map(this.select, function(select){ + var s = _.clone(select); + s._id = id + "-" + select.value; + s.id = id; + return s; + }); + }, + errorText: function() { + var err = this.getStatus(); + return T9n.get(err, markIfMissing=false); + }, + placeholder: function() { + if (AccountsTemplates.options.showPlaceholders) { + var parentData = Template.parentData(); + var state = (parentData && parentData.state) || AccountsTemplates.getState(); + var placeholder = this.getPlaceholder(state); + return T9n.get(placeholder, markIfMissing=false); + } + }, +}; + +AT.prototype.atInputEvents = { + "focusin input": function(event, t){ + var field = Template.currentData(); + field.clearStatus(); + }, + "focusout input, change select": function(event, t){ + var field = Template.currentData(); + var fieldId = field._id; + var rawValue = field.getValue(t); + var value = field.fixValue(rawValue); + // Possibly updates the input value + if (value !== rawValue) { + field.setValue(t, value); + } + + // Client-side only validation + if (!field.validation) + return; + var parentData = Template.parentData(); + var state = (parentData && parentData.state) || AccountsTemplates.getState(); + // No validation during signIn + if (state === "signIn") + return; + // Special case for password confirmation + if (value && fieldId === "password_again"){ + if (value !== $("#at-field-password").val()) + return field.setError(AccountsTemplates.texts.errors.pwdMismatch); + } + field.validate(value); + }, + "keyup input": function(event, t){ + var field = Template.currentData(); + // Client-side only continuous validation + if (!field.continuousValidation) + return; + var parentData = Template.parentData(); + var state = (parentData && parentData.state) || AccountsTemplates.getState(); + // No validation during signIn + if (state === "signIn") + return; + var fieldId = field._id; + var rawValue = field.getValue(t); + var value = field.fixValue(rawValue); + // Possibly updates the input value + if (value !== rawValue) { + field.setValue(t, value); + } + // Special case for password confirmation + if (value && fieldId === "password_again"){ + if (value !== $("#at-field-password").val()) + return field.setError(AccountsTemplates.texts.errors.pwdMismatch); + } + field.validate(value); + }, +}; diff --git a/packages/meteor-useraccounts-core/lib/templates_helpers/at_message.js b/packages/meteor-useraccounts-core/lib/templates_helpers/at_message.js new file mode 100644 index 0000000..baa9ca0 --- /dev/null +++ b/packages/meteor-useraccounts-core/lib/templates_helpers/at_message.js @@ -0,0 +1,7 @@ +AT.prototype.atMessageHelpers = { + message: function() { + var messageText = AccountsTemplates.state.form.get("message"); + if (messageText) + return T9n.get(messageText, markIfMissing=false); + }, +}; \ No newline at end of file diff --git a/packages/meteor-useraccounts-core/lib/templates_helpers/at_nav_button.js b/packages/meteor-useraccounts-core/lib/templates_helpers/at_nav_button.js new file mode 100644 index 0000000..c434060 --- /dev/null +++ b/packages/meteor-useraccounts-core/lib/templates_helpers/at_nav_button.js @@ -0,0 +1,16 @@ +AT.prototype.atNavButtonHelpers = { + text: function(){ + var key = Meteor.userId() ? AccountsTemplates.texts.navSignOut : AccountsTemplates.texts.navSignIn; + return T9n.get(key, markIfMissing=false); + } +}; + +AT.prototype.atNavButtonEvents = { + 'click #at-nav-button': function(event){ + event.preventDefault(); + if (Meteor.userId()) + AccountsTemplates.logout(); + else + AccountsTemplates.linkClick("signIn"); + }, +}; diff --git a/packages/meteor-useraccounts-core/lib/templates_helpers/at_oauth.js b/packages/meteor-useraccounts-core/lib/templates_helpers/at_oauth.js new file mode 100644 index 0000000..1b1d13c --- /dev/null +++ b/packages/meteor-useraccounts-core/lib/templates_helpers/at_oauth.js @@ -0,0 +1,5 @@ +AT.prototype.atOauthHelpers = { + oauthService: function() { + return AccountsTemplates.oauthServices(); + }, +}; \ No newline at end of file diff --git a/packages/meteor-useraccounts-core/lib/templates_helpers/at_pwd_form.js b/packages/meteor-useraccounts-core/lib/templates_helpers/at_pwd_form.js new file mode 100644 index 0000000..2f8d53c --- /dev/null +++ b/packages/meteor-useraccounts-core/lib/templates_helpers/at_pwd_form.js @@ -0,0 +1,331 @@ +AT.prototype.atPwdFormHelpers = { + disabled: function() { + return AccountsTemplates.disabled(); + }, + fields: function() { + var parentData = Template.currentData(); + var state = (parentData && parentData.state) || AccountsTemplates.getState(); + return _.filter(AccountsTemplates.getFields(), function(s) { + return _.contains(s.visible, state); + }); + }, + showForgotPasswordLink: function() { + var parentData = Template.currentData(); + var state = (parentData && parentData.state) || AccountsTemplates.getState(); + return state === "signIn" && AccountsTemplates.options.showForgotPasswordLink; + }, + showReCaptcha: function() { + var parentData = Template.currentData(); + var state = (parentData && parentData.state) || AccountsTemplates.getState(); + return state === "signUp" && AccountsTemplates.options.showReCaptcha; + }, +}; + + +var toLowercaseUsername = function(value){ + return value.toLowerCase().replace(/\s+/gm, ''); +}; + +AT.prototype.atPwdFormEvents = { + // Form submit + "submit #at-pwd-form": function(event, t) { + event.preventDefault(); + t.$("#at-btn").blur(); + + AccountsTemplates.setDisabled(true); + + var parentData = Template.currentData(); + var state = (parentData && parentData.state) || AccountsTemplates.getState(); + var preValidation = (state !== "signIn"); + + // Client-side pre-validation + // Validates fields values + // NOTE: This is the only place where password validation can be enforced! + var formData = {}; + var someError = false; + var errList = []; + _.each(AccountsTemplates.getFields(), function(field){ + // Considers only visible fields... + if (!_.contains(field.visible, state)) + return; + + var fieldId = field._id; + + var rawValue = field.getValue(t); + var value = field.fixValue(rawValue); + // Possibly updates the input value + if (value !== rawValue) { + field.setValue(t, value); + } + if (value !== undefined && value !== "") { + formData[fieldId] = value; + } + + // Validates the field value only if current state is not "signIn" + if (preValidation && field.getStatus() !== false){ + var validationErr = field.validate(value, "strict"); + if (validationErr) { + if (field.negativeValidation) + field.setError(validationErr); + else{ + var fId = T9n.get(field.getDisplayName(), markIfMissing=false); + //errList.push(fId + ": " + err); + errList.push({ + field: field.getDisplayName(), + err: validationErr + }); + } + someError = true; + } + else + field.setSuccess(); + } + }); + + // Clears error and result + AccountsTemplates.clearError(); + AccountsTemplates.clearResult(); + AccountsTemplates.clearMessage(); + // Possibly sets errors + if (someError){ + if (errList.length) + AccountsTemplates.state.form.set("error", errList); + AccountsTemplates.setDisabled(false); + //reset reCaptcha form + if (state === "signUp" && AccountsTemplates.options.showReCaptcha) { + grecaptcha.reset(); + } + return; + } + + // Extracts username, email, and pwds + var current_password = formData.current_password; + var email = formData.email; + var password = formData.password; + var password_again = formData.password_again; + var username = formData.username; + var username_and_email = formData.username_and_email; + // Clears profile data removing username, email, and pwd + delete formData.current_password; + delete formData.email; + delete formData.password; + delete formData.password_again; + delete formData.username; + delete formData.username_and_email; + + if (AccountsTemplates.options.confirmPassword){ + // Checks passwords for correct match + if (password_again && password !== password_again){ + var pwd_again = AccountsTemplates.getField("password_again"); + if (pwd_again.negativeValidation) + pwd_again.setError(AccountsTemplates.texts.errors.pwdMismatch); + else + AccountsTemplates.state.form.set("error", [{ + field: pwd_again.getDisplayName(), + err: AccountsTemplates.texts.errors.pwdMismatch + }]); + AccountsTemplates.setDisabled(false); + //reset reCaptcha form + if (state === "signUp" && AccountsTemplates.options.showReCaptcha) { + grecaptcha.reset(); + } + return; + } + } + + // ------- + // Sign In + // ------- + if (state === "signIn") { + var pwdOk = !!password; + var userOk = true; + var loginSelector; + if (email) { + if (AccountsTemplates.options.lowercaseUsername) { + email = toLowercaseUsername(email); + } + + loginSelector = {email: email}; + } + else if (username) { + if (AccountsTemplates.options.lowercaseUsername) { + username = toLowercaseUsername(username); + } + loginSelector = {username: username}; + } + else if (username_and_email) { + if (AccountsTemplates.options.lowercaseUsername) { + username_and_email = toLowercaseUsername(username_and_email); + } + loginSelector = username_and_email; + } + else + userOk = false; + + // Possibly exits if not both 'password' and 'username' are non-empty... + if (!pwdOk || !userOk){ + AccountsTemplates.state.form.set("error", [AccountsTemplates.texts.errors.loginForbidden]); + AccountsTemplates.setDisabled(false); + return; + } + + + return Meteor.loginWithPassword(loginSelector, password, function(error) { + AccountsTemplates.submitCallback(error, state); + }); + } + + // ------- + // Sign Up + // ------- + if (state === "signUp") { + // Possibly gets reCaptcha response + if (AccountsTemplates.options.showReCaptcha) { + var response = grecaptcha.getResponse(); + if (response === "") { + // recaptcha verification has not completed yet (or has expired)... + // ...simply ignore submit event! + AccountsTemplates.setDisabled(false); + return; + } else { + formData.reCaptchaResponse = response; + } + } + + var hash = Accounts._hashPassword(password); + var options = { + username: username, + email: email, + password: hash, + profile: formData, + }; + + // Call preSignUpHook, if any... + var preSignUpHook = AccountsTemplates.options.preSignUpHook; + if (preSignUpHook) { + preSignUpHook(password, options); + } + + return Meteor.call("ATCreateUserServer", options, function(error){ + if (error && error.reason === 'Email already exists.') { + if (AccountsTemplates.options.showReCaptcha) { + grecaptcha.reset(); + } + } + AccountsTemplates.submitCallback(error, undefined, function(){ + if (AccountsTemplates.options.sendVerificationEmail && AccountsTemplates.options.enforceEmailVerification){ + AccountsTemplates.submitCallback(error, state, function () { + AccountsTemplates.state.form.set("result", AccountsTemplates.texts.info.signUpVerifyEmail); + // Cleans up input fields' content + _.each(AccountsTemplates.getFields(), function(field){ + // Considers only visible fields... + if (!_.contains(field.visible, state)) + return; + + var elem = t.$("#at-field-" + field._id); + + // Naïve reset + if (field.type === "checkbox") elem.prop('checked', false); + else elem.val(""); + + }); + AccountsTemplates.setDisabled(false); + AccountsTemplates.avoidRedirect = true; + }); + } + else { + var loginSelector; + + if (email) { + if (AccountsTemplates.options.lowercaseUsername) { + email = toLowercaseUsername(email); + } + + loginSelector = {email: email}; + } + else if (username) { + if (AccountsTemplates.options.lowercaseUsername) { + username = toLowercaseUsername(username); + } + loginSelector = {username: username}; + } + else { + if (AccountsTemplates.options.lowercaseUsername) { + username_and_email = toLowercaseUsername(username_and_email); + } + loginSelector = username_and_email; + } + + Meteor.loginWithPassword(loginSelector, password, function(error) { + AccountsTemplates.submitCallback(error, state, function(){ + AccountsTemplates.setState("signIn"); + }); + }); + } + }); + }); + } + + //---------------- + // Forgot Password + //---------------- + if (state === "forgotPwd"){ + return Accounts.forgotPassword({ + email: email + }, function(error) { + AccountsTemplates.submitCallback(error, state, function(){ + AccountsTemplates.state.form.set("result", AccountsTemplates.texts.info.emailSent); + t.$("#at-field-email").val(""); + }); + }); + } + + //-------------------------------- + // Reset Password / Enroll Account + //-------------------------------- + if (state === "resetPwd" || state === "enrollAccount") { + var paramToken = AccountsTemplates.getparamToken(); + return Accounts.resetPassword(paramToken, password, function(error) { + AccountsTemplates.submitCallback(error, state, function(){ + var pwd_field_id; + if (state === "resetPwd") + AccountsTemplates.state.form.set("result", AccountsTemplates.texts.info.pwdReset); + else // Enroll Account + AccountsTemplates.state.form.set("result", AccountsTemplates.texts.info.pwdSet); + t.$("#at-field-password").val(""); + if (AccountsTemplates.options.confirmPassword) + t.$("#at-field-password_again").val(""); + }); + }); + } + + //---------------- + // Change Password + //---------------- + if (state === "changePwd"){ + return Accounts.changePassword(current_password, password, function(error) { + AccountsTemplates.submitCallback(error, state, function(){ + AccountsTemplates.state.form.set("result", AccountsTemplates.texts.info.pwdChanged); + t.$("#at-field-current_password").val(""); + t.$("#at-field-password").val(""); + if (AccountsTemplates.options.confirmPassword) + t.$("#at-field-password_again").val(""); + }); + }); + } + + //---------------- + // Resend Verification E-mail + //---------------- + if (state === "resendVerificationEmail"){ + return Meteor.call("ATResendVerificationEmail", email, function (error) { + AccountsTemplates.submitCallback(error, state, function(){ + AccountsTemplates.state.form.set("result", AccountsTemplates.texts.info.verificationEmailSent); + t.$("#at-field-email").val(""); + + AccountsTemplates.avoidRedirect = true; + }); + }); + } + }, +}; diff --git a/packages/meteor-useraccounts-core/lib/templates_helpers/at_pwd_form_btn.js b/packages/meteor-useraccounts-core/lib/templates_helpers/at_pwd_form_btn.js new file mode 100644 index 0000000..fc26362 --- /dev/null +++ b/packages/meteor-useraccounts-core/lib/templates_helpers/at_pwd_form_btn.js @@ -0,0 +1,18 @@ +AT.prototype.atPwdFormBtnHelpers = { + submitDisabled: function(){ + var disable = _.chain(AccountsTemplates.getFields()) + .map(function(field){ + return field.hasError() || field.isValidating(); + }) + .some() + .value() + ; + if (disable) + return "disabled"; + }, + buttonText: function() { + var parentData = Template.currentData(); + var state = (parentData && parentData.state) || AccountsTemplates.getState(); + return T9n.get(AccountsTemplates.texts.button[state], markIfMissing=false); + }, +}; diff --git a/packages/meteor-useraccounts-core/lib/templates_helpers/at_pwd_link.js b/packages/meteor-useraccounts-core/lib/templates_helpers/at_pwd_link.js new file mode 100644 index 0000000..dd93a39 --- /dev/null +++ b/packages/meteor-useraccounts-core/lib/templates_helpers/at_pwd_link.js @@ -0,0 +1,24 @@ +AT.prototype.atPwdLinkHelpers = { + disabled: function() { + return AccountsTemplates.disabled(); + }, + forgotPwdLink: function(){ + return AccountsTemplates.getRoutePath("forgotPwd"); + }, + preText: function(){ + return T9n.get(AccountsTemplates.texts.pwdLink_pre, markIfMissing=false); + }, + linkText: function(){ + return T9n.get(AccountsTemplates.texts.pwdLink_link, markIfMissing=false); + }, + suffText: function(){ + return T9n.get(AccountsTemplates.texts.pwdLink_suff, markIfMissing=false); + }, +}; + +AT.prototype.atPwdLinkEvents = { + "click #at-forgotPwd": function(event, t) { + event.preventDefault(); + AccountsTemplates.linkClick("forgotPwd"); + }, +}; \ No newline at end of file diff --git a/packages/meteor-useraccounts-core/lib/templates_helpers/at_reCaptcha.js b/packages/meteor-useraccounts-core/lib/templates_helpers/at_reCaptcha.js new file mode 100644 index 0000000..ea0c0c6 --- /dev/null +++ b/packages/meteor-useraccounts-core/lib/templates_helpers/at_reCaptcha.js @@ -0,0 +1,19 @@ +AT.prototype.atReCaptchaRendered = function() { + $.getScript('//www.google.com/recaptcha/api.js?hl=' + T9n.getLanguage()); +}; + +AT.prototype.atReCaptchaHelpers = { + key: function() { + if (AccountsTemplates.options.reCaptcha && AccountsTemplates.options.reCaptcha.siteKey) + return AccountsTemplates.options.reCaptcha.siteKey; + return Meteor.settings.public.reCaptcha.siteKey; + }, + + theme: function() { + return AccountsTemplates.options.reCaptcha && AccountsTemplates.options.reCaptcha.theme; + }, + + data_type: function() { + return AccountsTemplates.options.reCaptcha && AccountsTemplates.options.reCaptcha.data_type; + }, +}; diff --git a/packages/meteor-useraccounts-core/lib/templates_helpers/at_resend_verification_email_link.js b/packages/meteor-useraccounts-core/lib/templates_helpers/at_resend_verification_email_link.js new file mode 100644 index 0000000..5587900 --- /dev/null +++ b/packages/meteor-useraccounts-core/lib/templates_helpers/at_resend_verification_email_link.js @@ -0,0 +1,24 @@ +AT.prototype.atResendVerificationEmailLinkHelpers = { + disabled: function () { + return AccountsTemplates.disabled(); + }, + resendVerificationEmailLink: function () { + return AccountsTemplates.getRoutePath("resendVerificationEmail"); + }, + preText: function(){ + return T9n.get(AccountsTemplates.texts.resendVerificationEmailLink_pre, markIfMissing=false); + }, + linkText: function(){ + return T9n.get(AccountsTemplates.texts.resendVerificationEmailLink_link, markIfMissing=false); + }, + suffText: function(){ + return T9n.get(AccountsTemplates.texts.resendVerificationEmailLink_suff, markIfMissing=false); + }, +}; + +AT.prototype.atResendVerificationEmailLinkEvents = { + "click #at-resend-verification-email": function(event, t) { + event.preventDefault(); + AccountsTemplates.linkClick('resendVerificationEmail'); + }, +}; \ No newline at end of file diff --git a/packages/meteor-useraccounts-core/lib/templates_helpers/at_result.js b/packages/meteor-useraccounts-core/lib/templates_helpers/at_result.js new file mode 100644 index 0000000..d4b287d --- /dev/null +++ b/packages/meteor-useraccounts-core/lib/templates_helpers/at_result.js @@ -0,0 +1,7 @@ +AT.prototype.atResultHelpers = { + result: function() { + var resultText = AccountsTemplates.state.form.get("result"); + if (resultText) + return T9n.get(resultText, markIfMissing=false); + }, +}; \ No newline at end of file diff --git a/packages/meteor-useraccounts-core/lib/templates_helpers/at_sep.js b/packages/meteor-useraccounts-core/lib/templates_helpers/at_sep.js new file mode 100644 index 0000000..7c27557 --- /dev/null +++ b/packages/meteor-useraccounts-core/lib/templates_helpers/at_sep.js @@ -0,0 +1,5 @@ +AT.prototype.atSepHelpers = { + sepText: function(){ + return T9n.get(AccountsTemplates.texts.sep, markIfMissing=false); + }, +}; \ No newline at end of file diff --git a/packages/meteor-useraccounts-core/lib/templates_helpers/at_signin_link.js b/packages/meteor-useraccounts-core/lib/templates_helpers/at_signin_link.js new file mode 100644 index 0000000..14f6e88 --- /dev/null +++ b/packages/meteor-useraccounts-core/lib/templates_helpers/at_signin_link.js @@ -0,0 +1,24 @@ +AT.prototype.atSigninLinkHelpers = { + disabled: function() { + return AccountsTemplates.disabled(); + }, + signInLink: function(){ + return AccountsTemplates.getRoutePath("signIn"); + }, + preText: function(){ + return T9n.get(AccountsTemplates.texts.signInLink_pre, markIfMissing=false); + }, + linkText: function(){ + return T9n.get(AccountsTemplates.texts.signInLink_link, markIfMissing=false); + }, + suffText: function(){ + return T9n.get(AccountsTemplates.texts.signInLink_suff, markIfMissing=false); + }, +}; + +AT.prototype.atSigninLinkEvents = { + "click #at-signIn": function(event, t) { + event.preventDefault(); + AccountsTemplates.linkClick("signIn"); + }, +}; diff --git a/packages/meteor-useraccounts-core/lib/templates_helpers/at_signup_link.js b/packages/meteor-useraccounts-core/lib/templates_helpers/at_signup_link.js new file mode 100644 index 0000000..29c809a --- /dev/null +++ b/packages/meteor-useraccounts-core/lib/templates_helpers/at_signup_link.js @@ -0,0 +1,24 @@ +AT.prototype.atSignupLinkHelpers = { + disabled: function() { + return AccountsTemplates.disabled(); + }, + signUpLink: function(){ + return AccountsTemplates.getRoutePath("signUp"); + }, + preText: function(){ + return T9n.get(AccountsTemplates.texts.signUpLink_pre, markIfMissing=false); + }, + linkText: function(){ + return T9n.get(AccountsTemplates.texts.signUpLink_link, markIfMissing=false); + }, + suffText: function(){ + return T9n.get(AccountsTemplates.texts.signUpLink_suff, markIfMissing=false); + }, +}; + +AT.prototype.atSignupLinkEvents = { + "click #at-signUp": function(event, t) { + event.preventDefault(); + AccountsTemplates.linkClick('signUp'); + }, +}; diff --git a/packages/meteor-useraccounts-core/lib/templates_helpers/at_social.js b/packages/meteor-useraccounts-core/lib/templates_helpers/at_social.js new file mode 100644 index 0000000..912fd6e --- /dev/null +++ b/packages/meteor-useraccounts-core/lib/templates_helpers/at_social.js @@ -0,0 +1,105 @@ +AT.prototype.atSocialHelpers = { + disabled: function() { + if (AccountsTemplates.disabled()) + return "disabled"; + var user = Meteor.user(); + if (user){ + var numServices = 0; + if (user.services) + numServices = _.keys(user.services).length; // including "resume" + if (numServices === 2 && user.services[this._id]) + return "disabled"; + } + }, + name: function(){ + return this._id; + }, + iconClass: function() { + var ic = AccountsTemplates.texts.socialIcons[this._id]; + if (!ic) + ic = "fa fa-" + this._id; + return ic; + }, + buttonText: function() { + var service = this; + var serviceName = this._id; + if (serviceName === "meteor-developer") + serviceName = "meteor"; + serviceName = capitalize(serviceName); + if (!service.configured) + return T9n.get(AccountsTemplates.texts.socialConfigure, markIfMissing=false) + " " + serviceName; + var showAddRemove = AccountsTemplates.options.showAddRemoveServices; + var user = Meteor.user(); + if (user && showAddRemove){ + if (user.services && user.services[this._id]){ + var numServices = _.keys(user.services).length; // including "resume" + if (numServices === 2) + return serviceName; + else + return T9n.get(AccountsTemplates.texts.socialRemove, markIfMissing=false) + " " + serviceName; + } else + return T9n.get(AccountsTemplates.texts.socialAdd, markIfMissing=false) + " " + serviceName; + } + var parentData = Template.parentData(); + var state = (parentData && parentData.state) || AccountsTemplates.getState(); + var prefix = state === "signIn" ? + T9n.get(AccountsTemplates.texts.socialSignIn, markIfMissing=false) : + T9n.get(AccountsTemplates.texts.socialSignUp, markIfMissing=false); + return prefix + " " + T9n.get(AccountsTemplates.texts.socialWith, markIfMissing=false) + " " + serviceName; + }, +}; + +AT.prototype.atSocialEvents = { + "click button": function(event, t) { + event.preventDefault(); + event.currentTarget.blur(); + if (AccountsTemplates.disabled()) + return; + var user = Meteor.user(); + if (user && user.services && user.services[this._id]){ + var numServices = _.keys(user.services).length; // including "resume" + if (numServices === 2) + return; + else{ + AccountsTemplates.setDisabled(true); + Meteor.call("ATRemoveService", this._id, function(error){ + AccountsTemplates.setDisabled(false); + }); + } + } else { + AccountsTemplates.setDisabled(true); + var parentData = Template.parentData(); + var state = (parentData && parentData.state) || AccountsTemplates.getState(); + var serviceName = this._id; + var methodName; + if (serviceName === 'meteor-developer') + methodName = "loginWithMeteorDeveloperAccount"; + else + methodName = "loginWith" + capitalize(serviceName); + var loginWithService = Meteor[methodName]; + options = { + loginStyle: AccountsTemplates.options.socialLoginStyle, + }; + if (Accounts.ui) { + if (Accounts.ui._options.requestPermissions[serviceName]) { + options.requestPermissions = Accounts.ui._options.requestPermissions[serviceName]; + } + if (Accounts.ui._options.requestOfflineToken[serviceName]) { + options.requestOfflineToken = Accounts.ui._options.requestOfflineToken[serviceName]; + } + } + loginWithService(options, function(err) { + AccountsTemplates.setDisabled(false); + if (err && err instanceof Accounts.LoginCancelledError) { + // do nothing + } + else if (err && err instanceof ServiceConfiguration.ConfigError) { + if (Accounts._loginButtonsSession) + return Accounts._loginButtonsSession.configureService(serviceName); + } + else + AccountsTemplates.submitCallback(err, state); + }); + } + }, +}; diff --git a/packages/meteor-useraccounts-core/lib/templates_helpers/at_terms_link.js b/packages/meteor-useraccounts-core/lib/templates_helpers/at_terms_link.js new file mode 100644 index 0000000..0ada35c --- /dev/null +++ b/packages/meteor-useraccounts-core/lib/templates_helpers/at_terms_link.js @@ -0,0 +1,33 @@ +AT.prototype.atTermsLinkHelpers = { + disabled: function() { + return AccountsTemplates.disabled(); + }, + text: function(){ + return T9n.get(AccountsTemplates.texts.termsPreamble, markIfMissing=false); + }, + privacyUrl: function(){ + return AccountsTemplates.options.privacyUrl; + }, + privacyLinkText: function(){ + return T9n.get(AccountsTemplates.texts.termsPrivacy, markIfMissing=false); + }, + showTermsAnd: function(){ + return !!AccountsTemplates.options.privacyUrl && !!AccountsTemplates.options.termsUrl; + }, + and: function(){ + return T9n.get(AccountsTemplates.texts.termsAnd, markIfMissing=false); + }, + termsUrl: function(){ + return AccountsTemplates.options.termsUrl; + }, + termsLinkText: function(){ + return T9n.get(AccountsTemplates.texts.termsTerms, markIfMissing=false); + }, +}; + +AT.prototype.atTermsLinkEvents = { + "click a": function(event) { + if (AccountsTemplates.disabled()) + event.preventDefault(); + }, +}; \ No newline at end of file diff --git a/packages/meteor-useraccounts-core/lib/templates_helpers/at_title.js b/packages/meteor-useraccounts-core/lib/templates_helpers/at_title.js new file mode 100644 index 0000000..74f711b --- /dev/null +++ b/packages/meteor-useraccounts-core/lib/templates_helpers/at_title.js @@ -0,0 +1,7 @@ +AT.prototype.atTitleHelpers = { + title: function() { + var parentData = Template.currentData(); + var state = (parentData && parentData.state) || AccountsTemplates.getState(); + return T9n.get(AccountsTemplates.texts.title[state], markIfMissing = false); + }, +}; diff --git a/packages/meteor-useraccounts-core/lib/templates_helpers/ensure_signed_in.html b/packages/meteor-useraccounts-core/lib/templates_helpers/ensure_signed_in.html new file mode 100644 index 0000000..08c0d7e --- /dev/null +++ b/packages/meteor-useraccounts-core/lib/templates_helpers/ensure_signed_in.html @@ -0,0 +1,12 @@ + + diff --git a/packages/meteor-useraccounts-core/lib/templates_helpers/ensure_signed_in.js b/packages/meteor-useraccounts-core/lib/templates_helpers/ensure_signed_in.js new file mode 100644 index 0000000..3d947aa --- /dev/null +++ b/packages/meteor-useraccounts-core/lib/templates_helpers/ensure_signed_in.js @@ -0,0 +1,15 @@ + +Template.ensureSignedIn.helpers({ + signedIn: function () { + if (!Meteor.user()) { + AccountsTemplates.setState(AccountsTemplates.options.defaultState, function(){ + var err = AccountsTemplates.texts.errors.mustBeLoggedIn; + AccountsTemplates.state.form.set('error', [err]); + }); + return false; + } else { + AccountsTemplates.clearError(); + return true; + } + } +}); diff --git a/packages/meteor-useraccounts-core/lib/utils.js b/packages/meteor-useraccounts-core/lib/utils.js new file mode 100644 index 0000000..30b108c --- /dev/null +++ b/packages/meteor-useraccounts-core/lib/utils.js @@ -0,0 +1,19 @@ +capitalize = function(str) { + return str.charAt(0).toUpperCase() + str.slice(1); +}; + +signedInAs = function() { + var user = Meteor.user(); + + if (user) { + if (user.username) { + return user.username; + } else if (user.profile && user.profile.name) { + return user.profile.name; + } else if (user.emails && user.emails[0]) { + return user.emails[0].address; + } else { + return "Signed In"; + } + } +}; diff --git a/packages/meteor-useraccounts-core/package.js b/packages/meteor-useraccounts-core/package.js new file mode 100644 index 0000000..f6e0ca3 --- /dev/null +++ b/packages/meteor-useraccounts-core/package.js @@ -0,0 +1,94 @@ +'use strict'; + +Package.describe({ + summary: 'Meteor sign up and sign in templates core package.', + version: '1.14.2', + name: 'useraccounts:core', + git: 'https://github.com/meteor-useraccounts/core.git', +}); + +Package.onUse(function(api) { + //api.versionsFrom('METEOR@1.0.3'); + + api.use([ + 'accounts-base', + 'check', + 'underscore', + 'reactive-var', + ], ['client', 'server']); + + api.use([ + 'blaze', + 'reactive-dict', + 'templating', + 'jquery' + ], 'client'); + + api.use([ + 'http' + ], 'server'); + + api.imply([ + 'accounts-base', + 'softwarerero:accounts-t9n@1.3.3', + ], ['client', 'server']); + + api.imply([ + 'templating', + ], ['client']); + + api.addFiles([ + 'lib/field.js', + 'lib/core.js', + 'lib/server.js', + 'lib/methods.js', + 'lib/server_methods.js', + ], ['server']); + + api.addFiles([ + 'lib/utils.js', + 'lib/field.js', + 'lib/core.js', + 'lib/client.js', + 'lib/templates_helpers/at_error.js', + 'lib/templates_helpers/at_form.js', + 'lib/templates_helpers/at_input.js', + 'lib/templates_helpers/at_nav_button.js', + 'lib/templates_helpers/at_oauth.js', + 'lib/templates_helpers/at_pwd_form.js', + 'lib/templates_helpers/at_pwd_form_btn.js', + 'lib/templates_helpers/at_pwd_link.js', + 'lib/templates_helpers/at_reCaptcha.js', + 'lib/templates_helpers/at_resend_verification_email_link.js', + 'lib/templates_helpers/at_result.js', + 'lib/templates_helpers/at_sep.js', + 'lib/templates_helpers/at_signin_link.js', + 'lib/templates_helpers/at_signup_link.js', + 'lib/templates_helpers/at_social.js', + 'lib/templates_helpers/at_terms_link.js', + 'lib/templates_helpers/at_title.js', + 'lib/templates_helpers/at_message.js', + 'lib/templates_helpers/ensure_signed_in.html', + 'lib/templates_helpers/ensure_signed_in.js', + 'lib/methods.js', + ], ['client']); + + api.export([ + 'AccountsTemplates', + ], ['client', 'server']); +}); + +Package.onTest(function(api) { + api.use('useraccounts:core@1.14.2'); + + api.use([ + 'accounts-password', + 'tinytest', + 'test-helpers', + 'underscore', + ], ['client', 'server']); + + api.addFiles([ + 'tests/tests.js', + ], ['client', 'server']); +}); diff --git a/packages/meteor-useraccounts-core/tests/tests.js b/packages/meteor-useraccounts-core/tests/tests.js new file mode 100644 index 0000000..985200a --- /dev/null +++ b/packages/meteor-useraccounts-core/tests/tests.js @@ -0,0 +1,215 @@ +Tinytest.add("AccountsTemplates - addField/removeField", function(test) { + // Calls after AccountsTemplates.init() + AccountsTemplates._initialized = true; + test.throws(function() { + AccountsTemplates.addField(""); + }, function(err) { + if (err instanceof Error && err.message === "AccountsTemplates.addField should strictly be called before AccountsTemplates.init!") + return true; + }); + test.throws(function() { + AccountsTemplates.removeField(""); + }, function(err) { + if (err instanceof Error && err.message === "AccountsTemplates.removeField should strictly be called before AccountsTemplates.init!") + return true; + }); + AccountsTemplates._initialized = false; + + // Trying to remove a non-existing field + test.throws(function() { + AccountsTemplates.removeField("foo"); + }, function(err) { + if (err instanceof Error && err.message == "A field called foo does not exist!") + return true; + }); + + // Trying to remove an existing field + var email = AccountsTemplates.removeField("email"); + test.isUndefined(AccountsTemplates.getField("email")); + // ...and puts it back in for tests re-run + AccountsTemplates.addField(email); + + // Trying to add an already existing field + test.throws(function() { + var pwd = AccountsTemplates.getField("password"); + AccountsTemplates.addField(pwd); + }, function(err) { + if (err instanceof Error && err.message == "A field called password already exists!") + return true; + }); + + var login = { + _id: "login", + displayName: "Email", + type: "email" + }; + + // Successful add + AccountsTemplates.addField(login); + // ...and removes it for tests re-run + AccountsTemplates.removeField("login"); + + // Invalid field.type + test.throws(function() { + AccountsTemplates.addField({ + _id: "foo", + displayName: "Foo", + type: "bar" + }); + }, function(err) { + if (err instanceof Error && err.message == "field.type is not valid!") + return true; + }); + + // Invalid minLength + test.throws(function() { + AccountsTemplates.addField({ + _id: "first-name", + displayName: "First Name", + type: "text", + minLength: 0 + }); + }, function(err) { + if (err instanceof Error && err.message == "field.minLength should be greater than zero!") + return true; + }); + // Invalid maxLength + test.throws(function() { + AccountsTemplates.addField({ + _id: "first-name", + displayName: "First Name", + type: "text", + maxLength: 0 + }); + }, function(err) { + if (err instanceof Error && err.message == "field.maxLength should be greater than zero!") + return true; + }); + // maxLength < minLength + test.throws(function() { + AccountsTemplates.addField({ + _id: "first-name", + displayName: "First Name", + type: "text", + minLength: 2, + maxLength: 1 + }); + }, function(err) { + if (err instanceof Error && err.message == "field.maxLength should be greater than field.maxLength!") + return true; + }); + + // Successful add + var first_name = { + _id: "first_name", + displayName: "First Name", + type: "text", + minLength: 2, + maxLength: 50, + required: true + }; + AccountsTemplates.addField(first_name); + // Now removes it to be consistent with tests re-run + AccountsTemplates.removeField("first_name"); +}); + + +Tinytest.add("AccountsTemplates - addFields", function(test) { + // Fake uninitialized state... + AccountsTemplates._initialized = false; + + if (Meteor.isClient) { + // addFields does not exist client-side + test.throws(function() { + AccountsTemplates.addFields(); + }); + } else { + // Not an array of objects + test.throws(function() { + AccountsTemplates.addFields(""); + }, function(err) { + if (err instanceof Error && err.message === "field argument should be an array of valid field objects!") + return true; + }); + test.throws(function() { + AccountsTemplates.addFields(100); + }, function(err) { + if (err instanceof Error && err.message === "field argument should be an array of valid field objects!") + return true; + }); + // Empty array + test.throws(function() { + AccountsTemplates.addFields([]); + }, function(err) { + if (err instanceof Error && err.message === "field argument should be an array of valid field objects!") + return true; + }); + + // Successful add + var first_name = { + _id: "first_name", + displayName: "First Name", + type: "text", + minLength: 2, + maxLength: 50, + required: true + }; + var last_name = { + _id: "last_name", + displayName: "Last Name", + type: "text", + minLength: 2, + maxLength: 100, + required: false + }; + AccountsTemplates.addFields([first_name, last_name]); + // Now removes ot to be consistend with tests re-run + AccountsTemplates.removeField("first_name"); + AccountsTemplates.removeField("last_name"); + } + // Restores initialized state... + AccountsTemplates._initialized = true; +}); + + +Tinytest.add("AccountsTemplates - setState/getState", function(test) { + if (Meteor.isServer) { + // getState does not exist server-side + test.throws(function() { + AccountsTemplates.getState(); + }); + // setState does not exist server-side + test.throws(function() { + AccountsTemplates.setState(); + }); + } else { + _.each(AccountsTemplates.STATES, function(state){ + AccountsTemplates.setState(state); + test.equal(AccountsTemplates.getState(), state); + }); + // Setting an invalid state should throw a Meteor.Error + test.throws(function() { + AccountsTemplates.setState("foo"); + }, function(err) { + if (err instanceof Meteor.Error && err.details == "accounts-templates-core package got an invalid state value!") + return true; + }); + } +}); + + +// ------------------------------------- +// TODO: complite the following tests... +// ------------------------------------- + + +Tinytest.add("AccountsTemplates - configure", function(test) { + if (Meteor.isClient) { + // configure does not exist client-side + test.throws(function() { + AccountsTemplates.configure({}); + }); + } else { + // TODO: write actual tests... + } +}); \ No newline at end of file diff --git a/packages/meteorx/package.js b/packages/meteorx/package.js new file mode 100644 index 0000000..0bdad1c --- /dev/null +++ b/packages/meteorx/package.js @@ -0,0 +1,13 @@ +Package.describe({ + name: 'meteorhacks:meteorx', + summary: 'Proxy for getting another meteorx fork', + version: '1.4.1' +}); + +Package.onUse((api) => { + api.export('MeteorX'); + api.use([ + 'lamhieu:meteorx', + ]); +}); + diff --git a/packages/wekan-accounts-cas/LICENSE b/packages/wekan-accounts-cas/LICENSE new file mode 100644 index 0000000..c2d6915 --- /dev/null +++ b/packages/wekan-accounts-cas/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014-2019 The Wekan Team + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/wekan-accounts-cas/README.md b/packages/wekan-accounts-cas/README.md new file mode 100644 index 0000000..3e246c4 --- /dev/null +++ b/packages/wekan-accounts-cas/README.md @@ -0,0 +1,88 @@ +This is a merged repository of useful forks of: atoy40:accounts-cas +=================== +([(https://atmospherejs.com/atoy40/accounts-cas](https://atmospherejs.com/atoy40/accounts-cas)) + +## Essential improvements by ppoulard to atoy40 and xaionaro versions + +* Added support of CAS attributes + +With this plugin, you can pick CAS attributes : https://github.com/joshchan/node-cas/wiki/CAS-Attributes + +Moved to Wekan GitHub org from from https://github.com/ppoulard/meteor-accounts-cas + +## Install + +``` +cd ~site +mkdir packages +cd packages +git clone https://github.com/wekan/meteor-accounts-cas +cd ~site +meteor add wekan:accounts-cas +``` + +## Usage + +Put CAS settings in Meteor.settings (for example using METEOR_SETTINGS env or --settings) like so: + +If casVersion is not defined, it will assume you use CAS 1.0. (note by xaionaro: option `casVersion` seems to be just ignored in the code, ATM). + +Server side settings: + +``` +Meteor.settings = { + "cas": { + "baseUrl": "https://cas.example.com/cas", + "autoClose": true, + "validateUrl":"https://cas.example.com/cas/p3/serviceValidate", + "casVersion": 3.0, + "attributes": { + "debug" : true + } + }, +} +``` + +CAS `attributes` settings : + +* `attributes`: by default `{}` : all default values below will apply +* * `debug` : by default `false` ; `true` will print to the server console the CAS attribute names to map, the CAS attributes values retrieved, if necessary the new user account created, and finally the user to use +* * `id` : by default, the CAS user is used for the user account, but you can specified another CAS attribute +* * `firstname` : by default `cas:givenName` ; but you can use your own CAS attribute +* * `lastname` : by default `cas:sn` (respectively) ; but you can use your own CAS attribute +* * `fullname` : by default unused, but if you specify your own CAS attribute, it will be used instead of the `firstname` + `lastname` +* * `mail` : by default `cas:mail` + +Client side settings: + +``` +Meteor.settings = { + "public": { + "cas": { + "loginUrl": "https://cas.example.com/login", + "serviceParam": "service", + "popupWidth": 810, + "popupHeight": 610, + "popup": true, + } + } +} +``` + +`proxyUrl` is not required. Setup [ROOT_URL](http://docs.meteor.com/api/core.html#Meteor-absoluteUrl) environment variable instead. + +Then, to start authentication, you have to call the following method from the client (for example in a click handler) : + +``` +Meteor.loginWithCas([callback]); +``` + +It must open a popup containing you CAS login form or redirect to the CAS login form (depending on "popup" setting). + +If popup is disabled (== false), then it's required to execute `Meteor.initCas([callback])` in `Meteor.startup` of the client side. ATM, `Meteor.initCas()` completes authentication. + +## Examples + +* [https://devel.mephi.ru/dyokunev/start-mephi-ru](https://devel.mephi.ru/dyokunev/start-mephi-ru) + + diff --git a/packages/wekan-accounts-cas/cas_client.js b/packages/wekan-accounts-cas/cas_client.js new file mode 100644 index 0000000..bd94be6 --- /dev/null +++ b/packages/wekan-accounts-cas/cas_client.js @@ -0,0 +1,112 @@ + +function addParameterToURL(url, param){ + var urlSplit = url.split('?'); + return url+(urlSplit.length>0 ? '?':'&') + param; +} + +Meteor.initCas = function(callback) { + const casTokenMatch = window.location.href.match(/[?&]casToken=([^&]+)/); + if (casTokenMatch == null) { + return; + } + + window.history.pushState('', document.title, window.location.href.replace(/([&?])casToken=[^&]+[&]?/, '$1').replace(/[?&]+$/g, '')); + + Accounts.callLoginMethod({ + methodArguments: [{ cas: { credentialToken: casTokenMatch[1] } }], + userCallback: function(err){ + if (err == null) { + // should we do anything on success? + } + if (callback != null) { + callback(err); + } + } + }); +} + +Meteor.loginWithCas = function(options, callback) { + + var credentialToken = Random.id(); + + if (!Meteor.settings.public && + !Meteor.settings.public.cas && + !Meteor.settings.public.cas.loginUrl) { + return; + } + + var settings = Meteor.settings.public.cas; + + var backURL = window.location.href.replace('#', ''); + if (options != null && options.redirectUrl != null) + backURL = options.redirectUrl; + + var serviceURL = addParameterToURL(backURL, 'casToken='+credentialToken); + + var loginUrl = settings.loginUrl + + "?" + (settings.serviceParam || "service") + "=" + + encodeURIComponent(serviceURL) + + if (settings.popup == false) { + window.location = loginUrl; + return; + } + + var popup = openCenteredPopup( + loginUrl, + settings.width || 800, + settings.height || 600 + ); + + var checkPopupOpen = setInterval(function() { + try { + if(popup && popup.document && popup.document.getElementById('popupCanBeClosed')) { + popup.close(); + } + // Fix for #328 - added a second test criteria (popup.closed === undefined) + // to humour this Android quirk: + // http://code.google.com/p/android/issues/detail?id=21061 + var popupClosed = popup.closed || popup.closed === undefined; + } catch (e) { + // For some unknown reason, IE9 (and others?) sometimes (when + // the popup closes too quickly?) throws "SCRIPT16386: No such + // interface supported" when trying to read 'popup.closed'. Try + // again in 100ms. + return; + } + + if (popupClosed) { + clearInterval(checkPopupOpen); + + // check auth on server. + Accounts.callLoginMethod({ + methodArguments: [{ cas: { credentialToken: credentialToken } }], + userCallback: callback + }); + } + }, 100); +}; + +var openCenteredPopup = function(url, width, height) { + var screenX = typeof window.screenX !== 'undefined' + ? window.screenX : window.screenLeft; + var screenY = typeof window.screenY !== 'undefined' + ? window.screenY : window.screenTop; + var outerWidth = typeof window.outerWidth !== 'undefined' + ? window.outerWidth : document.body.clientWidth; + var outerHeight = typeof window.outerHeight !== 'undefined' + ? window.outerHeight : (document.body.clientHeight - 22); + // XXX what is the 22? + + // Use `outerWidth - width` and `outerHeight - height` for help in + // positioning the popup centered relative to the current window + var left = screenX + (outerWidth - width) / 2; + var top = screenY + (outerHeight - height) / 2; + var features = ('width=' + width + ',height=' + height + + ',left=' + left + ',top=' + top + ',scrollbars=yes'); + + var newwindow = window.open(url, '_blank', features); + if (newwindow.focus) + newwindow.focus(); + return newwindow; +}; diff --git a/packages/wekan-accounts-cas/cas_client_cordova.js b/packages/wekan-accounts-cas/cas_client_cordova.js new file mode 100644 index 0000000..c7f95b5 --- /dev/null +++ b/packages/wekan-accounts-cas/cas_client_cordova.js @@ -0,0 +1,71 @@ + +Meteor.loginWithCas = function(callback) { + + var credentialToken = Random.id(); + + if (!Meteor.settings.public && + !Meteor.settings.public.cas && + !Meteor.settings.public.cas.loginUrl) { + return; + } + + var settings = Meteor.settings.public.cas; + + var loginUrl = settings.loginUrl + + "?" + (settings.service || "service") + "=" + + Meteor.absoluteUrl('_cas/') + + credentialToken; + + + var fail = function (err) { + Meteor._debug("Error from OAuth popup: " + JSON.stringify(err)); + }; + + // When running on an android device, we sometimes see the + // `pageLoaded` callback fire twice for the final page in the OAuth + // popup, even though the page only loads once. This is maybe an + // Android bug or maybe something intentional about how onPageFinished + // works that we don't understand and isn't well-documented. + var oauthFinished = false; + + var pageLoaded = function (event) { + if (oauthFinished) { + return; + } + + if (event.url.indexOf(Meteor.absoluteUrl('_cas')) === 0) { + + oauthFinished = true; + + // On iOS, this seems to prevent "Warning: Attempt to dismiss from + // view controller while a presentation + // or dismiss is in progress". My guess is that the last + // navigation of the OAuth popup is still in progress while we try + // to close the popup. See + // https://issues.apache.org/jira/browse/CB-2285. + // + // XXX Can we make this timeout smaller? + setTimeout(function () { + popup.close(); + // check auth on server. + Accounts.callLoginMethod({ + methodArguments: [{ cas: { credentialToken: credentialToken } }], + userCallback: callback + }); + }, 100); + } + }; + + var onExit = function () { + popup.removeEventListener('loadstop', pageLoaded); + popup.removeEventListener('loaderror', fail); + popup.removeEventListener('exit', onExit); + }; + + var popup = window.open(loginUrl, '_blank', 'location=no,hidden=no'); + popup.addEventListener('loadstop', pageLoaded); + popup.addEventListener('loaderror', fail); + popup.addEventListener('exit', onExit); + popup.show(); + +}; \ No newline at end of file diff --git a/packages/wekan-accounts-cas/cas_server.js b/packages/wekan-accounts-cas/cas_server.js new file mode 100644 index 0000000..c13a6df --- /dev/null +++ b/packages/wekan-accounts-cas/cas_server.js @@ -0,0 +1,281 @@ +"use strict"; + +const Fiber = Npm.require('fibers'); +const https = Npm.require('https'); +const url = Npm.require('url'); +const xmlParser = Npm.require('xml2js'); + +// Library +class CAS { + constructor(options) { + options = options || {}; + + if (!options.validate_url) { + throw new Error('Required CAS option `validateUrl` missing.'); + } + + if (!options.service) { + throw new Error('Required CAS option `service` missing.'); + } + + const cas_url = url.parse(options.validate_url); + if (cas_url.protocol != 'https:' ) { + throw new Error('Only https CAS servers are supported.'); + } else if (!cas_url.hostname) { + throw new Error('Option `validateUrl` must be a valid url like: https://example.com/cas/serviceValidate'); + } else { + this.hostname = cas_url.host; + this.port = 443;// Should be 443 for https + this.validate_path = cas_url.pathname; + } + + this.service = options.service; + } + + validate(ticket, callback) { + const httparams = { + host: this.hostname, + port: this.port, + path: url.format({ + pathname: this.validate_path, + query: {ticket: ticket, service: this.service}, + }), + }; + + https.get(httparams, (res) => { + res.on('error', (e) => { + console.log('error' + e); + callback(e); + }); + + // Read result + res.setEncoding('utf8'); + let response = ''; + res.on('data', (chunk) => { + response += chunk; + }); + + res.on('end', (error) => { + if (error) { + console.log('error callback'); + console.log(error); + callback(undefined, false); + } else { + xmlParser.parseString(response, (err, result) => { + if (err) { + console.log('Bad response format.'); + callback({message: 'Bad response format. XML could not parse it'}); + } else { + if (result['cas:serviceResponse'] == null) { + console.log('Empty response.'); + callback({message: 'Empty response.'}); + } + if (result['cas:serviceResponse']['cas:authenticationSuccess']) { + var userData = { + id: result['cas:serviceResponse']['cas:authenticationSuccess'][0]['cas:user'][0].toLowerCase(), + } + const attributes = result['cas:serviceResponse']['cas:authenticationSuccess'][0]['cas:attributes'][0]; + for (var fieldName in attributes) { + userData[fieldName] = attributes[fieldName][0]; + }; + callback(undefined, true, userData); + } else { + callback(undefined, false); + } + } + }); + } + }); + }); + } +} +////// END OF CAS MODULE + +let _casCredentialTokens = {}; +let _userData = {}; + +//RoutePolicy.declare('/_cas/', 'network'); + +// Listen to incoming OAuth http requests +WebApp.connectHandlers.use((req, res, next) => { + // Need to create a Fiber since we're using synchronous http calls and nothing + // else is wrapping this in a fiber automatically + + Fiber(() => { + middleware(req, res, next); + }).run(); +}); + +const middleware = (req, res, next) => { + // Make sure to catch any exceptions because otherwise we'd crash + // the runner + try { + urlParsed = url.parse(req.url, true); + + // Getting the ticket (if it's defined in GET-params) + // If no ticket, then request will continue down the default + // middlewares. + const query = urlParsed.query; + if (query == null) { + next(); + return; + } + const ticket = query.ticket; + if (ticket == null) { + next(); + return; + } + + const serviceUrl = Meteor.absoluteUrl(urlParsed.href.replace(/^\//g, '')).replace(/([&?])ticket=[^&]+[&]?/g, '$1').replace(/[?&]+$/g, ''); + const redirectUrl = serviceUrl;//.replace(/([&?])casToken=[^&]+[&]?/g, '$1').replace(/[?&]+$/g, ''); + + // get auth token + const credentialToken = query.casToken; + if (!credentialToken) { + end(res, redirectUrl); + return; + } + + // validate ticket + casValidate(req, ticket, credentialToken, serviceUrl, () => { + end(res, redirectUrl); + }); + + } catch (err) { + console.log("account-cas: unexpected error : " + err.message); + end(res, redirectUrl); + } +}; + +const casValidate = (req, ticket, token, service, callback) => { + // get configuration + if (!Meteor.settings.cas/* || !Meteor.settings.cas.validate*/) { + throw new Error('accounts-cas: unable to get configuration.'); + } + + const cas = new CAS({ + validate_url: Meteor.settings.cas.validateUrl, + service: service, + version: Meteor.settings.cas.casVersion + }); + + cas.validate(ticket, (err, status, userData) => { + if (err) { + console.log("accounts-cas: error when trying to validate " + err); + console.log(err); + } else { + if (status) { + console.log(`accounts-cas: user validated ${userData.id} + (${JSON.stringify(userData)})`); + _casCredentialTokens[token] = { id: userData.id }; + _userData = userData; + } else { + console.log("accounts-cas: unable to validate " + ticket); + } + } + callback(); + }); + + return; +}; + +/* + * Register a server-side login handle. + * It is call after Accounts.callLoginMethod() is call from client. + */ + Accounts.registerLoginHandler((options) => { + if (!options.cas) + return undefined; + + if (!_hasCredential(options.cas.credentialToken)) { + throw new Meteor.Error(Accounts.LoginCancelledError.numericError, + 'no matching login attempt found'); + } + + const result = _retrieveCredential(options.cas.credentialToken); + + const attrs = Meteor.settings.cas.attributes || {}; + // CAS keys + const fn = attrs.firstname || 'cas:givenName'; + const ln = attrs.lastname || 'cas:sn'; + const full = attrs.fullname; + const mail = attrs.mail || 'cas:mail'; // or 'email' + const uid = attrs.id || 'id'; + if (attrs.debug) { + if (full) { + console.log(`CAS fields : id:"${uid}", fullname:"${full}", mail:"${mail}"`); + } else { + console.log(`CAS fields : id:"${uid}", firstname:"${fn}", lastname:"${ln}", mail:"${mail}"`); + } + } + const name = full ? _userData[full] : _userData[fn] + ' ' + _userData[ln]; + // https://docs.meteor.com/api/accounts.html#Meteor-users + options = { + // _id: Meteor.userId() + username: _userData[uid], // Unique name + emails: [ + { address: _userData[mail], verified: true } + ], + createdAt: new Date(), + profile: { + // The profile is writable by the user by default. + name: name, + fullname : name, + email : _userData[mail] + }, + active: true, + globalRoles: ['user'] + }; + if (attrs.debug) { + console.log(`CAS response : ${JSON.stringify(result)}`); + } + let user = Users.findOne({ 'username': options.username }); + if (! user) { + if (attrs.debug) { + console.log(`Creating user account ${JSON.stringify(options)}`); + } + const userId = Accounts.insertUserDoc({}, options); + user = Users.findOne(userId); + } + if (attrs.debug) { + console.log(`Using user account ${JSON.stringify(user)}`); + } + return { userId: user._id }; +}); + +const _hasCredential = (credentialToken) => { + return _.has(_casCredentialTokens, credentialToken); +} + +/* + * Retrieve token and delete it to avoid replaying it. + */ +const _retrieveCredential = (credentialToken) => { + const result = _casCredentialTokens[credentialToken]; + delete _casCredentialTokens[credentialToken]; + return result; +} + +const closePopup = (res) => { + if (Meteor.settings.cas && Meteor.settings.cas.popup == false) { + return; + } + res.writeHead(200, {'Content-Type': 'text/html'}); + const content = '
    '; + res.end(content, 'utf-8'); +} + +const redirect = (res, whereTo) => { + res.writeHead(302, {'Location': whereTo}); + const content = 'Redirection to '+whereTo+''; + res.end(content, 'utf-8'); + return +} + +const end = (res, whereTo) => { + if (Meteor.settings.cas && Meteor.settings.cas.popup == false) { + redirect(res, whereTo); + } else { + closePopup(res); + } +} diff --git a/packages/wekan-accounts-cas/package.js b/packages/wekan-accounts-cas/package.js new file mode 100644 index 0000000..d4b46c5 --- /dev/null +++ b/packages/wekan-accounts-cas/package.js @@ -0,0 +1,29 @@ +Package.describe({ + summary: "CAS support for accounts", + version: "0.1.0", + name: "wekan-accounts-cas", + git: "https://github.com/wekan/wekan-accounts-cas" +}); + +Package.onUse(function(api) { + api.versionsFrom('METEOR@1.3.5.1'); + api.use('routepolicy', 'server'); + api.use('webapp', 'server'); + api.use('accounts-base', ['client', 'server']); + // Export Accounts (etc) to packages using this one. + api.imply('accounts-base', ['client', 'server']); + api.use('underscore'); + api.add_files('cas_client.js', 'web.browser'); + api.add_files('cas_client_cordova.js', 'web.cordova'); + api.add_files('cas_server.js', 'server'); + +}); + +Npm.depends({ + xml2js: "0.4.17", + cas: "https://github.com/anrizal/node-cas/tarball/2baed530842e7a437f8f71b9346bcac8e84773cc" +}); + +Cordova.depends({ + 'cordova-plugin-inappbrowser': '1.2.0' +}); diff --git a/packages/wekan-accounts-oidc/.gitignore b/packages/wekan-accounts-oidc/.gitignore new file mode 100644 index 0000000..5379d4c --- /dev/null +++ b/packages/wekan-accounts-oidc/.gitignore @@ -0,0 +1 @@ +.versions diff --git a/packages/wekan-accounts-oidc/LICENSE.txt b/packages/wekan-accounts-oidc/LICENSE.txt new file mode 100644 index 0000000..c7be326 --- /dev/null +++ b/packages/wekan-accounts-oidc/LICENSE.txt @@ -0,0 +1,14 @@ +Copyright (C) 2016 SWITCH + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + diff --git a/packages/wekan-accounts-oidc/README.md b/packages/wekan-accounts-oidc/README.md new file mode 100644 index 0000000..ce0b573 --- /dev/null +++ b/packages/wekan-accounts-oidc/README.md @@ -0,0 +1,75 @@ +# salleman:accounts-oidc package + +A Meteor login service for OpenID Connect (OIDC). + +## Installation + + meteor add salleman:accounts-oidc + +## Usage + +`Meteor.loginWithOidc(options, callback)` +* `options` - object containing options, see below (optional) +* `callback` - callback function (optional) + +#### Example + +```js +Template.myTemplateName.events({ + 'click #login-button': function() { + Meteor.loginWithOidc(); + } +); +``` + + +## Options + +These options override service configuration stored in the database. + +* `loginStyle`: `redirect` or `popup` +* `redirectUrl`: Where to redirect after successful login. Only used if `loginStyle` is set to `redirect` + +## Manual Configuration Setup + +You can manually configure this package by upserting the service configuration on startup. First, add the `service-configuration` package: + + meteor add service-configuration + +### Service Configuration + +The following service configuration are available: + +* `clientId`: OIDC client identifier +* `secret`: OIDC client shared secret +* `serverUrl`: URL of the OIDC server. e.g. `https://openid.example.org:8443` +* `authorizationEndpoint`: Endpoint of the OIDC authorization service, e.g. `/oidc/authorize` +* `tokenEndpoint`: Endpoint of the OIDC token service, e.g. `/oidc/token` +* `userinfoEndpoint`: Endpoint of the OIDC userinfo service, e.g. `/oidc/userinfo` +* `idTokenWhitelistFields`: A list of fields from IDToken to be added to Meteor.user().services.oidc object + +### Project Configuration + +Then in your project: + +```js +if (Meteor.isServer) { + Meteor.startup(function () { + ServiceConfiguration.configurations.upsert( + { service: 'oidc' }, + { + $set: { + loginStyle: 'redirect', + clientId: 'my-client-id-registered-with-the-oidc-server', + secret: 'my-client-shared-secret', + serverUrl: 'https://openid.example.org', + authorizationEndpoint: '/oidc/authorize', + tokenEndpoint: '/oidc/token', + userinfoEndpoint: '/oidc/userinfo', + idTokenWhitelistFields: [] + } + } + ); + }); +} +``` diff --git a/packages/wekan-accounts-oidc/oidc.js b/packages/wekan-accounts-oidc/oidc.js new file mode 100644 index 0000000..75cd89a --- /dev/null +++ b/packages/wekan-accounts-oidc/oidc.js @@ -0,0 +1,22 @@ +Accounts.oauth.registerService('oidc'); + +if (Meteor.isClient) { + Meteor.loginWithOidc = function(options, callback) { + // support a callback without options + if (! callback && typeof options === "function") { + callback = options; + options = null; + } + + var credentialRequestCompleteCallback = Accounts.oauth.credentialRequestCompleteHandler(callback); + Oidc.requestCredential(options, credentialRequestCompleteCallback); + }; +} else { + Accounts.addAutopublishFields({ + // not sure whether the OIDC api can be used from the browser, + // thus not sure if we should be sending access tokens; but we do it + // for all other oauth2 providers, and it may come in handy. + forLoggedInUser: ['services.oidc'], + forOtherUsers: ['services.oidc.id'] + }); +} diff --git a/packages/wekan-accounts-oidc/oidc_login_button.css b/packages/wekan-accounts-oidc/oidc_login_button.css new file mode 100644 index 0000000..da42120 --- /dev/null +++ b/packages/wekan-accounts-oidc/oidc_login_button.css @@ -0,0 +1,3 @@ +#login-buttons-image-oidc { + background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACQUlEQVQ4T5WTy2taQRTGv4kSXw0IoYIihCjFmhhfhUqW9a+o0I2LInTRRbtw05V2I9KQuuimi24KXQqChIhQQcQgGGNz0YpvMCG1yL1tGqvBZsKMIIXcjQcOcznnfL+ZOecOEUVx4/Ly8mQ6neqxhKlUKmltbc1Nut2uqJ/bEnJAkiTmEhEEgVqtViiVyjuAP70j/Pj6Htbglzu52WyGdrsNUq1Wqc1mk939+9sHPP7wTVM232g0QMrlMrXb7bIFndgcbAk3ZPP1eh2kVCrRra2tRcFoNEK1WoXf78fg3Rxsfl3H3t4e3G43dnd3wWrMZjNqtRpIsVhcAFKpFPL5PBfF43H8TDj49/2XAvb393F2dgaNRgNKKaLR6ByQz+epw+HAwcEBisUijEYjgsEg1Go1pA9ODtC/+MZFDCKKIo9FIhEIggCSy+Xozs4OYrEY2ChDoRAIIVww/ujhxdrnFTSbTX6Cfr+Pi4sLhMNhnJ6egmSzWepyuZBIJGAwGBAIBLiY2ezTI74qg2UoFIqFr6ys4OrqiveKHB4eckAmk8FgMMD29jZ8Ph8XKj4/5uu/ZyXZKXBAOp2mHo+H/0isD6zDOp0Om5ubsAuvcA+/8ffpkSygUqmApFIp6vV6+b2ZsNfrodVqYTgcwqXtwul04pfhiSzg+PgYJJlMUovFwhvIbHV1lTs70c3NDSaTCa6vr+8A2FvodDr8CmwuepPJtIDIbvdfkInPz89ZRCKFQmFjNBqdjMfjpZ6jVquV1tfX3bcYegI7CyIWlgAAAABJRU5ErkJggg=='); +} diff --git a/packages/wekan-accounts-oidc/package.js b/packages/wekan-accounts-oidc/package.js new file mode 100644 index 0000000..251fb26 --- /dev/null +++ b/packages/wekan-accounts-oidc/package.js @@ -0,0 +1,19 @@ +Package.describe({ + summary: "OpenID Connect (OIDC) for Meteor accounts", + version: "1.0.10", + name: "wekan-accounts-oidc", + git: "https://github.com/wekan/meteor-accounts-oidc.git", + +}); + +Package.onUse(function(api) { + api.use('accounts-base@1.2.0', ['client', 'server']); + // Export Accounts (etc) to packages using this one. + api.imply('accounts-base', ['client', 'server']); + api.use('accounts-oauth@1.1.0', ['client', 'server']); + api.use('wekan-oidc@1.0.10', ['client', 'server']); + + api.addFiles('oidc_login_button.css', 'client'); + + api.addFiles('oidc.js'); +}); diff --git a/packages/wekan-ldap/LICENSE b/packages/wekan-ldap/LICENSE new file mode 100644 index 0000000..c2d6915 --- /dev/null +++ b/packages/wekan-ldap/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014-2019 The Wekan Team + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/packages/wekan-ldap/README.md b/packages/wekan-ldap/README.md new file mode 100644 index 0000000..4f41d02 --- /dev/null +++ b/packages/wekan-ldap/README.md @@ -0,0 +1,130 @@ +# meteor-ldap + +This packages is based on the RocketChat ldap login package + +# settings definition + +LDAP_Enable: Self explanatory + +LDAP_Port: The port of the LDAP server + +LDAP_Host: The host server for the LDAP server + +LDAP_BaseDN: The base DN for the LDAP Tree + +LDAP_Login_Fallback: Fallback on the default authentication method + +LDAP_Reconnect: Reconnect to the server if the connection is lost + +LDAP_Timeout: self explanatory + +LDAP_Idle_Timeout: self explanatory + +LDAP_Connect_Timeout: self explanatory + +LDAP_Authentication: If the LDAP needs a user account to search + +LDAP_Authentication_UserDN: The search user DN + +LDAP_Authentication_Password: The password for the search user + +LDAP_Internal_Log_Level: The logging level for the module + +LDAP_Background_Sync: If the sync of the users should be done in the +background + +LDAP_Background_Sync_Interval: At which interval does the background task sync + +LDAP_Encryption: If using LDAPS, set it to 'ssl', else it will use 'ldap://' + +LDAP_CA_Cert: The certification for the LDAPS server + +LDAP_Reject_Unauthorized: Reject Unauthorized Certificate + +LDAP_User_Search_Filter: + +LDAP_User_Search_Scope: + +LDAP_User_Search_Field: Which field is used to find the user + +LDAP_Search_Page_Size: + +LDAP_Search_Size_Limit: + +LDAP_Group_Filter_Enable: enable group filtering + +LDAP_Group_Filter_ObjectClass: The object class for filtering + +LDAP_Group_Filter_Group_Id_Attribute: + +LDAP_Group_Filter_Group_Member_Attribute: + +LDAP_Group_Filter_Group_Member_Format: + +LDAP_Group_Filter_Group_Name: + +LDAP_Unique_Identifier_Field: This field is sometimes class GUID ( Globally Unique Identifier) + +UTF8_Names_Slugify: Convert the username to utf8 + +LDAP_Username_Field: Which field contains the ldap username + +LDAP_Fullname_Field: Which field contains the ldap full name + +LDAP_Email_Match_Enable: Allow existing account matching by e-mail address when username does not match + +LDAP_Email_Match_Require: Require existing account matching by e-mail address when username does match + +LDAP_Email_Match_Verified: Require existing account email address to be verified for matching + +LDAP_Email_Field: Which field contains the LDAP e-mail address + +LDAP_Sync_User_Data: + +LDAP_Sync_User_Data_FieldMap: + +Accounts_CustomFields: + +LDAP_Default_Domain: The default domain of the ldap it is used to create email if the field is not map correctly with the LDAP_Sync_User_Data_FieldMap + + + + +# example settings.json +``` +{ + "LDAP_Port": 389, + "LDAP_Host": "localhost", + "LDAP_BaseDN": "ou=user,dc=example,dc=org", + "LDAP_Login_Fallback": false, + "LDAP_Reconnect": true, + "LDAP_Timeout": 10000, + "LDAP_Idle_Timeout": 10000, + "LDAP_Connect_Timeout": 10000, + "LDAP_Authentication": true, + "LDAP_Authentication_UserDN": "cn=admin,dc=example,dc=org", + "LDAP_Authentication_Password": "admin", + "LDAP_Internal_Log_Level": "debug", + "LDAP_Background_Sync": false, + "LDAP_Background_Sync_Interval": "100", + "LDAP_Encryption": false, + "LDAP_Reject_Unauthorized": false, + "LDAP_Group_Filter_Enable": false, + "LDAP_Search_Page_Size": 0, + "LDAP_Search_Size_Limit": 0, + "LDAP_User_Search_Filter": "", + "LDAP_User_Search_Field": "uid", + "LDAP_User_Search_Scope": "", + "LDAP_Unique_Identifier_Field": "guid", + "LDAP_Username_Field": "uid", + "LDAP_Fullname_Field": "cn", + "LDAP_Email_Match_Enable": true, + "LDAP_Email_Match_Require": false, + "LDAP_Email_Match_Verified": false, + "LDAP_Email_Field": "mail", + "LDAP_Sync_User_Data": false, + "LDAP_Sync_User_Data_FieldMap": "{\"cn\":\"name\", \"mail\":\"email\"}", + "LDAP_Merge_Existing_Users": true, + "UTF8_Names_Slugify": true +} +``` diff --git a/packages/wekan-ldap/client/loginHelper.js b/packages/wekan-ldap/client/loginHelper.js new file mode 100644 index 0000000..48a290c --- /dev/null +++ b/packages/wekan-ldap/client/loginHelper.js @@ -0,0 +1,52 @@ +// Pass in username, password as normal +// customLdapOptions should be passed in if you want to override LDAP_DEFAULTS +// on any particular call (if you have multiple ldap servers you'd like to connect to) +// You'll likely want to set the dn value here {dn: "..."} +Meteor.loginWithLDAP = function(username, password, customLdapOptions, callback) { + // Retrieve arguments as array + const args = []; + for (let i = 0; i < arguments.length; i++) { + args.push(arguments[i]); + } + // Pull username and password + username = args.shift(); + password = args.shift(); + + // Check if last argument is a function + // if it is, pop it off and set callback to it + if (typeof args[args.length-1] === 'function') { + callback = args.pop(); + } else { + callback = null; + } + + // if args still holds options item, grab it + if (args.length > 0) { + customLdapOptions = args.shift(); + } else { + customLdapOptions = {}; + } + + // Set up loginRequest object + const loginRequest = { + ldap: true, + username, + ldapPass: password, + ldapOptions: customLdapOptions, + }; + + Accounts.callLoginMethod({ + // Call login method with ldap = true + // This will hook into our login handler for ldap + methodArguments: [loginRequest], + userCallback(error/*, result*/) { + if (error) { + if (callback) { + callback(error); + } + } else if (callback) { + callback(); + } + }, + }); +}; diff --git a/packages/wekan-ldap/package.js b/packages/wekan-ldap/package.js new file mode 100644 index 0000000..b656085 --- /dev/null +++ b/packages/wekan-ldap/package.js @@ -0,0 +1,32 @@ +Package.describe({ + name: 'wekan-ldap', + version: '0.0.2', + // Brief, one-line summary of the package. + summary: 'Basic meteor login with ldap', + // URL to the Git repository containing the source code for this package. + git: 'https://github.com/wekan/wekan-ldap', + // By default, Meteor will default to using README.md for documentation. + // To avoid submitting documentation, set this field to null. + documentation: 'README.md' +}); + + +Package.onUse(function(api) { + api.versionsFrom('1.0.3.1'); + api.use('yasaricli:slugify@0.0.5'); + api.use('ecmascript@0.9.0'); + api.use('underscore'); + api.use('sha'); + api.use('templating', 'client'); + + api.use('accounts-base', 'server'); + api.use('accounts-password', 'server'); + api.use('percolate:synced-cron', 'server'); + api.addFiles('client/loginHelper.js', 'client'); + + api.mainModule('server/index.js', 'server'); +}); + +Npm.depends({ + ldapjs: '1.0.2', +}); diff --git a/packages/wekan-ldap/server/index.js b/packages/wekan-ldap/server/index.js new file mode 100644 index 0000000..e3ff85a --- /dev/null +++ b/packages/wekan-ldap/server/index.js @@ -0,0 +1 @@ +import './loginHandler'; diff --git a/packages/wekan-ldap/server/ldap.js b/packages/wekan-ldap/server/ldap.js new file mode 100644 index 0000000..f2d9a7b --- /dev/null +++ b/packages/wekan-ldap/server/ldap.js @@ -0,0 +1,584 @@ +import ldapjs from 'ldapjs'; +import util from 'util'; +import Bunyan from 'bunyan'; +import {log_debug, log_info, log_warn, log_error} from './logger'; + + +export default class LDAP { + constructor() { + this.ldapjs = ldapjs; + + this.connected = false; + + this.options = { + host : this.constructor.settings_get('LDAP_HOST'), + port : this.constructor.settings_get('LDAP_PORT'), + Reconnect : this.constructor.settings_get('LDAP_RECONNECT'), + timeout : this.constructor.settings_get('LDAP_TIMEOUT'), + connect_timeout : this.constructor.settings_get('LDAP_CONNECT_TIMEOUT'), + idle_timeout : this.constructor.settings_get('LDAP_IDLE_TIMEOUT'), + encryption : this.constructor.settings_get('LDAP_ENCRYPTION'), + ca_cert : this.constructor.settings_get('LDAP_CA_CERT'), + reject_unauthorized : this.constructor.settings_get('LDAP_REJECT_UNAUTHORIZED') || false, + Authentication : this.constructor.settings_get('LDAP_AUTHENTIFICATION'), + Authentication_UserDN : this.constructor.settings_get('LDAP_AUTHENTIFICATION_USERDN'), + Authentication_Password : this.constructor.settings_get('LDAP_AUTHENTIFICATION_PASSWORD'), + Authentication_Fallback : this.constructor.settings_get('LDAP_LOGIN_FALLBACK'), + BaseDN : this.constructor.settings_get('LDAP_BASEDN'), + Internal_Log_Level : this.constructor.settings_get('INTERNAL_LOG_LEVEL'), + User_Authentication : this.constructor.settings_get('LDAP_USER_AUTHENTICATION'), + User_Authentication_Field : this.constructor.settings_get('LDAP_USER_AUTHENTICATION_FIELD'), + User_Attributes : this.constructor.settings_get('LDAP_USER_ATTRIBUTES'), + User_Search_Filter : this.constructor.settings_get('LDAP_USER_SEARCH_FILTER'), + User_Search_Scope : this.constructor.settings_get('LDAP_USER_SEARCH_SCOPE'), + User_Search_Field : this.constructor.settings_get('LDAP_USER_SEARCH_FIELD'), + Search_Page_Size : this.constructor.settings_get('LDAP_SEARCH_PAGE_SIZE'), + Search_Size_Limit : this.constructor.settings_get('LDAP_SEARCH_SIZE_LIMIT'), + group_filter_enabled : this.constructor.settings_get('LDAP_GROUP_FILTER_ENABLE'), + group_filter_object_class : this.constructor.settings_get('LDAP_GROUP_FILTER_OBJECTCLASS'), + group_filter_group_id_attribute : this.constructor.settings_get('LDAP_GROUP_FILTER_GROUP_ID_ATTRIBUTE'), + group_filter_group_member_attribute: this.constructor.settings_get('LDAP_GROUP_FILTER_GROUP_MEMBER_ATTRIBUTE'), + group_filter_group_member_format : this.constructor.settings_get('LDAP_GROUP_FILTER_GROUP_MEMBER_FORMAT'), + group_filter_group_name : this.constructor.settings_get('LDAP_GROUP_FILTER_GROUP_NAME'), + }; + } + + static settings_get(name, ...args) { + let value = process.env[name]; + if (value !== undefined) { + if (value === 'true' || value === 'false') { + value = JSON.parse(value); + } else if (value !== '' && !isNaN(value)) { + value = Number(value); + } + return value; + } else { + log_warn(`Lookup for unset variable: ${name}`); + } + } + + connectSync(...args) { + if (!this._connectSync) { + this._connectSync = Meteor.wrapAsync(this.connectAsync, this); + } + return this._connectSync(...args); + } + + searchAllSync(...args) { + + if (!this._searchAllSync) { + this._searchAllSync = Meteor.wrapAsync(this.searchAllAsync, this); + } + return this._searchAllSync(...args); + } + + connectAsync(callback) { + log_info('Init setup'); + + let replied = false; + + const connectionOptions = { + url : `${this.options.host}:${this.options.port}`, + timeout : this.options.timeout, + connectTimeout: this.options.connect_timeout, + idleTimeout : this.options.idle_timeout, + reconnect : this.options.Reconnect, + }; + + if (this.options.Internal_Log_Level !== 'disabled') { + connectionOptions.log = new Bunyan({ + name : 'ldapjs', + component: 'client', + stream : process.stderr, + level : this.options.Internal_Log_Level, + }); + } + + const tlsOptions = { + rejectUnauthorized: this.options.reject_unauthorized, + }; + + if (this.options.ca_cert && this.options.ca_cert !== '') { + // Split CA cert into array of strings + const chainLines = this.constructor.settings_get('LDAP_CA_CERT').split('\n'); + let cert = []; + const ca = []; + chainLines.forEach((line) => { + cert.push(line); + if (line.match(/-END CERTIFICATE-/)) { + ca.push(cert.join('\n')); + cert = []; + } + }); + tlsOptions.ca = ca; + } + + if (this.options.encryption === 'ssl') { + connectionOptions.url = `ldaps://${connectionOptions.url}`; + connectionOptions.tlsOptions = tlsOptions; + } else { + connectionOptions.url = `ldap://${connectionOptions.url}`; + } + + log_info('Connecting', connectionOptions.url); + log_debug(`connectionOptions${util.inspect(connectionOptions)}`); + + this.client = ldapjs.createClient(connectionOptions); + + this.bindSync = Meteor.wrapAsync(this.client.bind, this.client); + + this.client.on('error', (error) => { + log_error('connection', error); + if (replied === false) { + replied = true; + callback(error, null); + } + }); + + this.client.on('idle', () => { + log_info('Idle'); + this.disconnect(); + }); + + this.client.on('close', () => { + log_info('Closed'); + }); + + if (this.options.encryption === 'tls') { + // Set host parameter for tls.connect which is used by ldapjs starttls. This shouldn't be needed in newer nodejs versions (e.g v5.6.0). + // https://github.com/RocketChat/Rocket.Chat/issues/2035 + // https://github.com/mcavage/node-ldapjs/issues/349 + tlsOptions.host = this.options.host; + + log_info('Starting TLS'); + log_debug('tlsOptions', tlsOptions); + + this.client.starttls(tlsOptions, null, (error, response) => { + if (error) { + log_error('TLS connection', error); + if (replied === false) { + replied = true; + callback(error, null); + } + return; + } + + log_info('TLS connected'); + this.connected = true; + if (replied === false) { + replied = true; + callback(null, response); + } + }); + } else { + this.client.on('connect', (response) => { + log_info('LDAP connected'); + this.connected = true; + if (replied === false) { + replied = true; + callback(null, response); + } + }); + } + + setTimeout(() => { + if (replied === false) { + log_error('connection time out', connectionOptions.connectTimeout); + replied = true; + callback(new Error('Timeout')); + } + }, connectionOptions.connectTimeout); + } + + getUserFilter(username) { + const filter = []; + + if (this.options.User_Search_Filter !== '') { + if (this.options.User_Search_Filter[0] === '(') { + filter.push(`${this.options.User_Search_Filter}`); + } else { + filter.push(`(${this.options.User_Search_Filter})`); + } + } + + const usernameFilter = this.options.User_Search_Field.split(',').map((item) => `(${item}=${username})`); + + if (usernameFilter.length === 0) { + log_error('LDAP_LDAP_User_Search_Field not defined'); + } else if (usernameFilter.length === 1) { + filter.push(`${usernameFilter[0]}`); + } else { + filter.push(`(|${usernameFilter.join('')})`); + } + + return `(&${filter.join('')})`; + } + + bindUserIfNecessary(username, password) { + + if (this.domainBinded === true) { + return; + } + + if (!this.options.User_Authentication) { + return; + } + + + if (!this.options.BaseDN) throw new Error('BaseDN is not provided'); + + const userDn = `${this.options.User_Authentication_Field}=${username},${this.options.BaseDN}`; + + this.bindSync(userDn, password); + this.domainBinded = true; + } + + bindIfNecessary() { + if (this.domainBinded === true) { + return; + } + + if (this.options.Authentication !== true) { + return; + } + + log_info('Binding UserDN', this.options.Authentication_UserDN); + + this.bindSync(this.options.Authentication_UserDN, this.options.Authentication_Password); + this.domainBinded = true; + } + + searchUsersSync(username, page) { + this.bindIfNecessary(); + const searchOptions = { + filter : this.getUserFilter(username), + scope : this.options.User_Search_Scope || 'sub', + sizeLimit: this.options.Search_Size_Limit, + }; + + if (!!this.options.User_Attributes) searchOptions.attributes = this.options.User_Attributes.split(','); + + if (this.options.Search_Page_Size > 0) { + searchOptions.paged = { + pageSize : this.options.Search_Page_Size, + pagePause: !!page, + }; + } + + log_info('Searching user', username); + log_debug('searchOptions', searchOptions); + log_debug('BaseDN', this.options.BaseDN); + + if (page) { + return this.searchAllPaged(this.options.BaseDN, searchOptions, page); + } + + return this.searchAllSync(this.options.BaseDN, searchOptions); + } + + getUserByIdSync(id, attribute) { + this.bindIfNecessary(); + + const Unique_Identifier_Field = this.constructor.settings_get('LDAP_UNIQUE_IDENTIFIER_FIELD').split(','); + + let filter; + + if (attribute) { + filter = new this.ldapjs.filters.EqualityFilter({ + attribute, + value: Buffer.from(id, 'hex'), + }); + } else { + const filters = []; + Unique_Identifier_Field.forEach((item) => { + filters.push(new this.ldapjs.filters.EqualityFilter({ + attribute: item, + value : Buffer.from(id, 'hex'), + })); + }); + + filter = new this.ldapjs.filters.OrFilter({ filters }); + } + + const searchOptions = { + filter, + scope: 'sub', + }; + + log_info('Searching by id', id); + log_debug('search filter', searchOptions.filter.toString()); + log_debug('BaseDN', this.options.BaseDN); + + const result = this.searchAllSync(this.options.BaseDN, searchOptions); + + if (!Array.isArray(result) || result.length === 0) { + return; + } + + if (result.length > 1) { + log_error('Search by id', id, 'returned', result.length, 'records'); + } + + return result[0]; + } + + getUserByUsernameSync(username) { + this.bindIfNecessary(); + + const searchOptions = { + filter: this.getUserFilter(username), + scope : this.options.User_Search_Scope || 'sub', + }; + + log_info('Searching user', username); + log_debug('searchOptions', searchOptions); + log_debug('BaseDN', this.options.BaseDN); + + const result = this.searchAllSync(this.options.BaseDN, searchOptions); + + if (!Array.isArray(result) || result.length === 0) { + return; + } + + if (result.length > 1) { + log_error('Search by username', username, 'returned', result.length, 'records'); + } + + return result[0]; + } + + getUserGroups(username, ldapUser) { + if (!this.options.group_filter_enabled) { + return true; + } + + const filter = ['(&']; + + if (this.options.group_filter_object_class !== '') { + filter.push(`(objectclass=${this.options.group_filter_object_class})`); + } + + if (this.options.group_filter_group_member_attribute !== '') { + const format_value = ldapUser[this.options.group_filter_group_member_format]; + if (format_value) { + filter.push(`(${this.options.group_filter_group_member_attribute}=${format_value})`); + } + } + + filter.push(')'); + + const searchOptions = { + filter: filter.join('').replace(/#{username}/g, username), + scope : 'sub', + }; + + log_debug('Group list filter LDAP:', searchOptions.filter); + + const result = this.searchAllSync(this.options.BaseDN, searchOptions); + + if (!Array.isArray(result) || result.length === 0) { + return []; + } + + const grp_identifier = this.options.group_filter_group_id_attribute || 'cn'; + const groups = []; + result.map((item) => { + groups.push(item[grp_identifier]); + }); + log_debug(`Groups: ${groups.join(', ')}`); + return groups; + + } + + isUserInGroup(username, ldapUser) { + if (!this.options.group_filter_enabled) { + return true; + } + + const grps = this.getUserGroups(username, ldapUser); + + const filter = ['(&']; + + if (this.options.group_filter_object_class !== '') { + filter.push(`(objectclass=${this.options.group_filter_object_class})`); + } + + if (this.options.group_filter_group_member_attribute !== '') { + const format_value = ldapUser[this.options.group_filter_group_member_format]; + if (format_value) { + filter.push(`(${this.options.group_filter_group_member_attribute}=${format_value})`); + } + } + + if (this.options.group_filter_group_id_attribute !== '') { + filter.push(`(${this.options.group_filter_group_id_attribute}=${this.options.group_filter_group_name})`); + } + filter.push(')'); + + const searchOptions = { + filter: filter.join('').replace(/#{username}/g, username), + scope : 'sub', + }; + + log_debug('Group filter LDAP:', searchOptions.filter); + + const result = this.searchAllSync(this.options.BaseDN, searchOptions); + + if (!Array.isArray(result) || result.length === 0) { + return false; + } + return true; + } + + extractLdapEntryData(entry) { + const values = { + _raw: entry.raw, + }; + + Object.keys(values._raw).forEach((key) => { + const value = values._raw[key]; + + if (!['thumbnailPhoto', 'jpegPhoto'].includes(key)) { + if (value instanceof Buffer) { + values[key] = value.toString(); + } else { + values[key] = value; + } + } + }); + + return values; + } + + searchAllPaged(BaseDN, options, page) { + this.bindIfNecessary(); + + const processPage = ({ entries, title, end, next }) => { + log_info(title); + // Force LDAP idle to wait the record processing + this.client._updateIdle(true); + page(null, entries, { + end, next: () => { + // Reset idle timer + this.client._updateIdle(); + next && next(); + } + }); + }; + + this.client.search(BaseDN, options, (error, res) => { + if (error) { + log_error(error); + page(error); + return; + } + + res.on('error', (error) => { + log_error(error); + page(error); + return; + }); + + let entries = []; + + const internalPageSize = options.paged && options.paged.pageSize > 0 ? options.paged.pageSize * 2 : 500; + + res.on('searchEntry', (entry) => { + entries.push(this.extractLdapEntryData(entry)); + + if (entries.length >= internalPageSize) { + processPage({ + entries, + title: 'Internal Page', + end : false, + }); + entries = []; + } + }); + + res.on('page', (result, next) => { + if (!next) { + this.client._updateIdle(true); + processPage({ + entries, + title: 'Final Page', + end : true, + }); + } else if (entries.length) { + log_info('Page'); + processPage({ + entries, + title: 'Page', + end : false, + next, + }); + entries = []; + } + }); + + res.on('end', () => { + if (entries.length) { + processPage({ + entries, + title: 'Final Page', + end : true, + }); + entries = []; + } + }); + }); + } + + searchAllAsync(BaseDN, options, callback) { + this.bindIfNecessary(); + + this.client.search(BaseDN, options, (error, res) => { + if (error) { + log_error(error); + callback(error); + return; + } + + res.on('error', (error) => { + log_error(error); + callback(error); + return; + }); + + const entries = []; + + res.on('searchEntry', (entry) => { + entries.push(this.extractLdapEntryData(entry)); + }); + + res.on('end', () => { + log_info('Search result count', entries.length); + callback(null, entries); + }); + }); + } + + authSync(dn, password) { + log_info('Authenticating', dn); + + try { + if (password === '') { + throw new Error('Password is not provided'); + } + this.bindSync(dn, password); + log_info('Authenticated', dn); + return true; + } catch (error) { + log_info('Not authenticated', dn); + log_debug('error', error); + return false; + } + } + + disconnect() { + this.connected = false; + this.domainBinded = false; + log_info('Disconecting'); + this.client.unbind(); + } +} diff --git a/packages/wekan-ldap/server/logger.js b/packages/wekan-ldap/server/logger.js new file mode 100644 index 0000000..afd7711 --- /dev/null +++ b/packages/wekan-ldap/server/logger.js @@ -0,0 +1,15 @@ +const isLogEnabled = (process.env.LDAP_LOG_ENABLED === 'true'); + + +function log (level, message, data) { + if (isLogEnabled) { + console.log(`[${level}] ${message} ${ data ? JSON.stringify(data, null, 2) : '' }`); + } +} + +function log_debug (...args) { log('DEBUG', ...args); } +function log_info (...args) { log('INFO', ...args); } +function log_warn (...args) { log('WARN', ...args); } +function log_error (...args) { log('ERROR', ...args); } + +export { log, log_debug, log_info, log_warn, log_error }; diff --git a/packages/wekan-ldap/server/loginHandler.js b/packages/wekan-ldap/server/loginHandler.js new file mode 100644 index 0000000..79b3899 --- /dev/null +++ b/packages/wekan-ldap/server/loginHandler.js @@ -0,0 +1,252 @@ +import {slug, getLdapUsername, getLdapEmail, getLdapUserUniqueID, syncUserData, addLdapUser} from './sync'; +import LDAP from './ldap'; +import { log_debug, log_info, log_warn, log_error } from './logger'; + +function fallbackDefaultAccountSystem(bind, username, password) { + if (typeof username === 'string') { + if (username.indexOf('@') === -1) { + username = {username}; + } else { + username = {email: username}; + } + } + + log_info('Fallback to default account system: ', username ); + + const loginRequest = { + user: username, + password: { + digest: SHA256(password), + algorithm: 'sha-256', + }, + }; + log_debug('Fallback options: ', loginRequest); + + return Accounts._runLoginHandlers(bind, loginRequest); +} + +Accounts.registerLoginHandler('ldap', function(loginRequest) { + if (!loginRequest.ldap || !loginRequest.ldapOptions) { + return undefined; + } + + log_info('Init LDAP login', loginRequest.username); + + if (LDAP.settings_get('LDAP_ENABLE') !== true) { + return fallbackDefaultAccountSystem(this, loginRequest.username, loginRequest.ldapPass); + } + + const self = this; + const ldap = new LDAP(); + let ldapUser; + + try { + + ldap.connectSync(); + + if (!!LDAP.settings_get('LDAP_USER_AUTHENTICATION')) { + ldap.bindUserIfNecessary(loginRequest.username, loginRequest.ldapPass); + ldapUser = ldap.searchUsersSync(loginRequest.username)[0]; + } else { + + const users = ldap.searchUsersSync(loginRequest.username); + + if (users.length !== 1) { + log_info('Search returned', users.length, 'record(s) for', loginRequest.username); + throw new Error('User not Found'); + } + + if (ldap.authSync(users[0].dn, loginRequest.ldapPass) === true) { + if (ldap.isUserInGroup(loginRequest.username, users[0])) { + ldapUser = users[0]; + } else { + throw new Error('User not in a valid group'); + } + } else { + log_info('Wrong password for', loginRequest.username); + } + } + + + } catch (error) { + log_error(error); + } + + if (!ldapUser) { + if (LDAP.settings_get('LDAP_LOGIN_FALLBACK') === true) { + return fallbackDefaultAccountSystem(self, loginRequest.username, loginRequest.ldapPass); + } + + throw new Meteor.Error('LDAP-login-error', `LDAP Authentication failed with provided username [${ loginRequest.username }]`); + } + + // Look to see if user already exists + + let userQuery; + + const Unique_Identifier_Field = getLdapUserUniqueID(ldapUser); + let user; + // Attempt to find user by unique identifier + + if (Unique_Identifier_Field) { + userQuery = { + 'services.ldap.id': Unique_Identifier_Field.value, + }; + + log_info('Querying user'); + log_debug('userQuery', userQuery); + + user = Meteor.users.findOne(userQuery); + } + + // Attempt to find user by username + + let username; + let email; + + if (LDAP.settings_get('LDAP_USERNAME_FIELD') !== '') { + username = slug(getLdapUsername(ldapUser)); + } else { + username = slug(loginRequest.username); + } + + if(LDAP.settings_get('LDAP_EMAIL_FIELD') !== '') { + email = getLdapEmail(ldapUser); + } + + + if (!user) { + if(email && LDAP.settings_get('LDAP_EMAIL_MATCH_REQUIRE') === true) { + if(LDAP.settings_get('LDAP_EMAIL_MATCH_VERIFIED') === true) { + userQuery = { + '_id' : username, + 'emails.0.address' : email, + 'emails.0.verified' : true + }; + } else { + userQuery = { + '_id' : username, + 'emails.0.address' : email + }; + } + } else { + userQuery = { + username + }; + } + + log_debug('userQuery', userQuery); + + user = Meteor.users.findOne(userQuery); + } + + // Attempt to find user by e-mail address only + + if (!user && email && LDAP.settings_get('LDAP_EMAIL_MATCH_ENABLE') === true) { + + log_info('No user exists with username', username, '- attempting to find by e-mail address instead'); + + if(LDAP.settings_get('LDAP_EMAIL_MATCH_VERIFIED') === true) { + userQuery = { + 'emails.0.address': email, + 'emails.0.verified' : true + }; + } else { + userQuery = { + 'emails.0.address' : email + }; + } + + log_debug('userQuery', userQuery); + + user = Meteor.users.findOne(userQuery); + + } + + // Login user if they exist + if (user) { + if (user.authenticationMethod !== 'ldap' && LDAP.settings_get('LDAP_MERGE_EXISTING_USERS') !== true) { + log_info('User exists without "authenticationMethod : ldap"'); + throw new Meteor.Error('LDAP-login-error', `LDAP Authentication succeded, but there's already a matching Wekan account in MongoDB`); + } + + log_info('Logging user'); + + const stampedToken = Accounts._generateStampedLoginToken(); + const update_data = { + $push: { + 'services.resume.loginTokens': Accounts._hashStampedToken(stampedToken), + }, + }; + + if (LDAP.settings_get('LDAP_SYNC_ADMIN_STATUS') === true) { + log_debug('Updating admin status'); + const targetGroups = LDAP.settings_get('LDAP_SYNC_ADMIN_GROUPS').split(','); + const groups = ldap.getUserGroups(username, ldapUser).filter((value) => targetGroups.includes(value)); + + user.isAdmin = groups.length > 0; + Meteor.users.update({_id: user._id}, {$set: {isAdmin: user.isAdmin}}); + } + + if( LDAP.settings_get('LDAP_SYNC_GROUP_ROLES') === true ) { + log_debug('Updating Groups/Roles'); + const groups = ldap.getUserGroups(username, ldapUser); + + if( groups.length > 0 ) { + Roles.setUserRoles(user._id, groups ); + log_info(`Updated roles to:${ groups.join(',')}`); + } + } + + Meteor.users.update(user._id, update_data ); + + syncUserData(user, ldapUser); + + if (LDAP.settings_get('LDAP_LOGIN_FALLBACK') === true) { + Accounts.setPassword(user._id, loginRequest.ldapPass, {logout: false}); + } + + return { + userId: user._id, + token: stampedToken.token, + }; + } + + // Create new user + + log_info('User does not exist, creating', username); + + if (LDAP.settings_get('LDAP_USERNAME_FIELD') === '') { + username = undefined; + } + + if (LDAP.settings_get('LDAP_LOGIN_FALLBACK') !== true) { + loginRequest.ldapPass = undefined; + } + + const result = addLdapUser(ldapUser, username, loginRequest.ldapPass); + + if (LDAP.settings_get('LDAP_SYNC_ADMIN_STATUS') === true) { + log_debug('Updating admin status'); + const targetGroups = LDAP.settings_get('LDAP_SYNC_ADMIN_GROUPS').split(','); + const groups = ldap.getUserGroups(username, ldapUser).filter((value) => targetGroups.includes(value)); + + result.isAdmin = groups.length > 0; + Meteor.users.update({_id: result.userId}, {$set: {isAdmin: result.isAdmin}}); + } + + if( LDAP.settings_get('LDAP_SYNC_GROUP_ROLES') === true ) { + const groups = ldap.getUserGroups(username, ldapUser); + if( groups.length > 0 ) { + Roles.setUserRoles(result.userId, groups ); + log_info(`Set roles to:${ groups.join(',')}`); + } + } + + + if (result instanceof Error) { + throw result; + } + + return result; +}); diff --git a/packages/wekan-ldap/server/sync.js b/packages/wekan-ldap/server/sync.js new file mode 100644 index 0000000..dd3855d --- /dev/null +++ b/packages/wekan-ldap/server/sync.js @@ -0,0 +1,453 @@ +import _ from 'underscore'; +import SyncedCron from 'meteor/percolate:synced-cron'; +import LDAP from './ldap'; +import { log_debug, log_info, log_warn, log_error } from './logger'; + +Object.defineProperty(Object.prototype, "getLDAPValue", { + value: function (prop) { + const self = this; + for (let key in self) { + if (key.toLowerCase() == prop.toLowerCase()) { + return self[key]; + } + } + }, + + enumerable: false +}); + +export function slug(text) { + if (LDAP.settings_get('LDAP_UTF8_NAMES_SLUGIFY') !== true) { + return text; + } + text = slugify(text, '.'); + return text.replace(/[^0-9a-z-_.]/g, ''); +} + +function templateVarHandler (variable, object) { + + const templateRegex = /#{([\w\-]+)}/gi; + let match = templateRegex.exec(variable); + let tmpVariable = variable; + + if (match == null) { + if (!object.hasOwnProperty(variable)) { + return; + } + return object[variable]; + } else { + while (match != null) { + const tmplVar = match[0]; + const tmplAttrName = match[1]; + + if (!object.hasOwnProperty(tmplAttrName)) { + return; + } + + const attrVal = object[tmplAttrName]; + tmpVariable = tmpVariable.replace(tmplVar, attrVal); + match = templateRegex.exec(variable); + } + return tmpVariable; + } +} + +export function getPropertyValue(obj, key) { + try { + return _.reduce(key.split('.'), (acc, el) => acc[el], obj); + } catch (err) { + return undefined; + } +} + +export function getLdapUsername(ldapUser) { + const usernameField = LDAP.settings_get('LDAP_USERNAME_FIELD'); + + if (usernameField.indexOf('#{') > -1) { + return usernameField.replace(/#{(.+?)}/g, function(match, field) { + return ldapUser.getLDAPValue(field); + }); + } + + return ldapUser.getLDAPValue(usernameField); +} + +export function getLdapEmail(ldapUser) { + const emailField = LDAP.settings_get('LDAP_EMAIL_FIELD'); + + if (emailField.indexOf('#{') > -1) { + return emailField.replace(/#{(.+?)}/g, function(match, field) { + return ldapUser.getLDAPValue(field); + }); + } + + return ldapUser.getLDAPValue(emailField); +} + +export function getLdapFullname(ldapUser) { + const fullnameField = LDAP.settings_get('LDAP_FULLNAME_FIELD'); + if (fullnameField.indexOf('#{') > -1) { + return fullnameField.replace(/#{(.+?)}/g, function(match, field) { + return ldapUser.getLDAPValue(field); + }); + } + return ldapUser.getLDAPValue(fullnameField); +} + +export function getLdapUserUniqueID(ldapUser) { + let Unique_Identifier_Field = LDAP.settings_get('LDAP_UNIQUE_IDENTIFIER_FIELD'); + + if (Unique_Identifier_Field !== '') { + Unique_Identifier_Field = Unique_Identifier_Field.replace(/\s/g, '').split(','); + } else { + Unique_Identifier_Field = []; + } + + let User_Search_Field = LDAP.settings_get('LDAP_USER_SEARCH_FIELD'); + + if (User_Search_Field !== '') { + User_Search_Field = User_Search_Field.replace(/\s/g, '').split(','); + } else { + User_Search_Field = []; + } + + Unique_Identifier_Field = Unique_Identifier_Field.concat(User_Search_Field); + + if (Unique_Identifier_Field.length > 0) { + Unique_Identifier_Field = Unique_Identifier_Field.find((field) => { + return !_.isEmpty(ldapUser._raw.getLDAPValue(field)); + }); + if (Unique_Identifier_Field) { + log_debug(`Identifying user with: ${ Unique_Identifier_Field}`); + Unique_Identifier_Field = { + attribute: Unique_Identifier_Field, + value: ldapUser._raw.getLDAPValue(Unique_Identifier_Field).toString('hex'), + }; + } + return Unique_Identifier_Field; + } +} + +export function getDataToSyncUserData(ldapUser, user) { + const syncUserData = LDAP.settings_get('LDAP_SYNC_USER_DATA'); + const syncUserDataFieldMap = LDAP.settings_get('LDAP_SYNC_USER_DATA_FIELDMAP').trim(); + + const userData = {}; + + if (syncUserData && syncUserDataFieldMap) { + const whitelistedUserFields = ['email', 'name', 'customFields']; + const fieldMap = JSON.parse(syncUserDataFieldMap); + const emailList = []; + _.map(fieldMap, function(userField, ldapField) { + log_debug(`Mapping field ${ldapField} -> ${userField}`); + switch (userField) { + case 'email': + if (!ldapUser.hasOwnProperty(ldapField)) { + log_debug(`user does not have attribute: ${ ldapField }`); + return; + } + + if (_.isObject(ldapUser[ldapField])) { + _.map(ldapUser[ldapField], function(item) { + emailList.push({ address: item, verified: true }); + }); + } else { + emailList.push({ address: ldapUser[ldapField], verified: true }); + } + break; + + default: + const [outerKey, innerKeys] = userField.split(/\.(.+)/); + + if (!_.find(whitelistedUserFields, (el) => el === outerKey)) { + log_debug(`user attribute not whitelisted: ${ userField }`); + return; + } + + if (outerKey === 'customFields') { + let customFieldsMeta; + + try { + customFieldsMeta = JSON.parse(LDAP.settings_get('Accounts_CustomFields')); + } catch (e) { + log_debug('Invalid JSON for Custom Fields'); + return; + } + + if (!getPropertyValue(customFieldsMeta, innerKeys)) { + log_debug(`user attribute does not exist: ${ userField }`); + return; + } + } + + const tmpUserField = getPropertyValue(user, userField); + const tmpLdapField = templateVarHandler(ldapField, ldapUser); + + if (tmpLdapField && tmpUserField !== tmpLdapField) { + // creates the object structure instead of just assigning 'tmpLdapField' to + // 'userData[userField]' in order to avoid the "cannot use the part (...) + // to traverse the element" (MongoDB) error that can happen. Do not handle + // arrays. + // TODO: Find a better solution. + const dKeys = userField.split('.'); + const lastKey = _.last(dKeys); + _.reduce(dKeys, (obj, currKey) => + (currKey === lastKey) + ? obj[currKey] = tmpLdapField + : obj[currKey] = obj[currKey] || {} + , userData); + log_debug(`user.${ userField } changed to: ${ tmpLdapField }`); + } + } + }); + + if (emailList.length > 0) { + if (JSON.stringify(user.emails) !== JSON.stringify(emailList)) { + userData.emails = emailList; + } + } + } + + const uniqueId = getLdapUserUniqueID(ldapUser); + + if (uniqueId && (!user.services || !user.services.ldap || user.services.ldap.id !== uniqueId.value || user.services.ldap.idAttribute !== uniqueId.attribute)) { + userData['services.ldap.id'] = uniqueId.value; + userData['services.ldap.idAttribute'] = uniqueId.attribute; + } + + if (user.authenticationMethod !== 'ldap') { + userData.ldap = true; + } + + if (_.size(userData)) { + return userData; + } +} + + +export function syncUserData(user, ldapUser) { + log_info('Syncing user data'); + log_debug('user', {'email': user.email, '_id': user._id}); + // log_debug('ldapUser', ldapUser.object); + + if (LDAP.settings_get('LDAP_USERNAME_FIELD') !== '') { + const username = slug(getLdapUsername(ldapUser)); + if (user && user._id && username !== user.username) { + log_info('Syncing user username', user.username, '->', username); + Meteor.users.findOne({ _id: user._id }, { $set: { username }}); + } + } + + if (LDAP.settings_get('LDAP_FULLNAME_FIELD') !== '') { + const fullname= getLdapFullname(ldapUser); + log_debug('fullname=',fullname); + if (user && user._id && fullname !== '') { + log_info('Syncing user fullname:', fullname); + Meteor.users.update({ _id: user._id }, { $set: { 'profile.fullname' : fullname, }}); + } + } + +} + +export function addLdapUser(ldapUser, username, password) { + const uniqueId = getLdapUserUniqueID(ldapUser); + + const userObject = { + }; + + if (username) { + userObject.username = username; + } + + const userData = getDataToSyncUserData(ldapUser, {}); + + if (userData && userData.emails && userData.emails[0] && userData.emails[0].address) { + if (Array.isArray(userData.emails[0].address)) { + userObject.email = userData.emails[0].address[0]; + } else { + userObject.email = userData.emails[0].address; + } + } else if (ldapUser.mail && ldapUser.mail.indexOf('@') > -1) { + userObject.email = ldapUser.mail; + } else if (LDAP.settings_get('LDAP_DEFAULT_DOMAIN') !== '') { + userObject.email = `${ username || uniqueId.value }@${ LDAP.settings_get('LDAP_DEFAULT_DOMAIN') }`; + } else { + const error = new Meteor.Error('LDAP-login-error', 'LDAP Authentication succeded, there is no email to create an account. Have you tried setting your Default Domain in LDAP Settings?'); + log_error(error); + throw error; + } + + log_debug('New user data', userObject); + + if (password) { + userObject.password = password; + } + + try { + // This creates the account with password service + userObject.ldap = true; + userObject._id = Accounts.createUser(userObject); + + // Add the services.ldap identifiers + Meteor.users.update({ _id: userObject._id }, { + $set: { + 'services.ldap': { id: uniqueId.value }, + 'emails.0.verified': true, + 'authenticationMethod': 'ldap', + }}); + } catch (error) { + log_error('Error creating user', error); + return error; + } + + syncUserData(userObject, ldapUser); + + return { + userId: userObject._id, + }; +} + +export function importNewUsers(ldap) { + if (LDAP.settings_get('LDAP_ENABLE') !== true) { + log_error('Can\'t run LDAP Import, LDAP is disabled'); + return; + } + + if (!ldap) { + ldap = new LDAP(); + ldap.connectSync(); + } + + let count = 0; + ldap.searchUsersSync('*', Meteor.bindEnvironment((error, ldapUsers, {next, end} = {}) => { + if (error) { + throw error; + } + + ldapUsers.forEach((ldapUser) => { + count++; + + const uniqueId = getLdapUserUniqueID(ldapUser); + // Look to see if user already exists + const userQuery = { + 'services.ldap.id': uniqueId.value, + }; + + log_debug('userQuery', userQuery); + + let username; + if (LDAP.settings_get('LDAP_USERNAME_FIELD') !== '') { + username = slug(getLdapUsername(ldapUser)); + } + + // Add user if it was not added before + let user = Meteor.users.findOne(userQuery); + + if (!user && username && LDAP.settings_get('LDAP_MERGE_EXISTING_USERS') === true) { + const userQuery = { + username, + }; + + log_debug('userQuery merge', userQuery); + + user = Meteor.users.findOne(userQuery); + if (user) { + syncUserData(user, ldapUser); + } + } + + if (!user) { + addLdapUser(ldapUser, username); + } + + if (count % 100 === 0) { + log_info('Import running. Users imported until now:', count); + } + }); + + if (end) { + log_info('Import finished. Users imported:', count); + } + + next(count); + })); +} + +function sync() { + if (LDAP.settings_get('LDAP_ENABLE') !== true) { + return; + } + + const ldap = new LDAP(); + + try { + ldap.connectSync(); + + let users; + if (LDAP.settings_get('LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED') === true) { + users = Meteor.users.find({ 'services.ldap': { $exists: true }}); + } + + if (LDAP.settings_get('LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS') === true) { + importNewUsers(ldap); + } + + if (LDAP.settings_get('LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED') === true) { + users.forEach(function(user) { + let ldapUser; + + if (user.services && user.services.ldap && user.services.ldap.id) { + ldapUser = ldap.getUserByIdSync(user.services.ldap.id, user.services.ldap.idAttribute); + } else { + ldapUser = ldap.getUserByUsernameSync(user.username); + } + + if (ldapUser) { + syncUserData(user, ldapUser); + } else { + log_info('Can\'t sync user', user.username); + } + }); + } + } catch (error) { + log_error(error); + return error; + } + return true; +} + +const jobName = 'LDAP_Sync'; + +const addCronJob = _.debounce(Meteor.bindEnvironment(function addCronJobDebounced() { + let sc=SyncedCron.SyncedCron; //Why ?? something must be wrong in the import + if (LDAP.settings_get('LDAP_BACKGROUND_SYNC') !== true) { + log_info('Disabling LDAP Background Sync'); + if (sc.nextScheduledAtDate(jobName)) { + sc.remove(jobName); + } + return; + } + + log_info('Enabling LDAP Background Sync'); + sc.add({ + name: jobName, + schedule: function(parser) { + if (LDAP.settings_get('LDAP_BACKGROUND_SYNC_INTERVAL')) { + return parser.text(LDAP.settings_get('LDAP_BACKGROUND_SYNC_INTERVAL')); + } + else { + return parser.recur().on(0).minute(); + }}, + job: function() { + sync(); + }, + }); + sc.start(); + +}), 500); + +Meteor.startup(() => { + Meteor.defer(() => { + if(LDAP.settings_get('LDAP_BACKGROUND_SYNC')){addCronJob();} + }); +}); diff --git a/packages/wekan-ldap/server/syncUser.js b/packages/wekan-ldap/server/syncUser.js new file mode 100644 index 0000000..763ea83 --- /dev/null +++ b/packages/wekan-ldap/server/syncUser.js @@ -0,0 +1,29 @@ +import {importNewUsers} from './sync'; +import LDAP from './ldap'; + +Meteor.methods({ + ldap_sync_now() { + const user = Meteor.user(); + if (!user) { + throw new Meteor.Error('error-invalid-user', 'Invalid user', { method: 'ldap_sync_users' }); + } + + //TODO: This needs to be fixed - security issue -> alanning:meteor-roles + //if (!RocketChat.authz.hasRole(user._id, 'admin')) { + // throw new Meteor.Error('error-not-authorized', 'Not authorized', { method: 'ldap_sync_users' }); + //} + + if (LDAP.settings_get('LDAP_ENABLE') !== true) { + throw new Meteor.Error('LDAP_disabled'); + } + + this.unblock(); + + importNewUsers(); + + return { + message: 'Sync_in_progress', + params: [], + }; + }, +}); diff --git a/packages/wekan-ldap/server/testConnection.js b/packages/wekan-ldap/server/testConnection.js new file mode 100644 index 0000000..02866ce --- /dev/null +++ b/packages/wekan-ldap/server/testConnection.js @@ -0,0 +1,39 @@ +import LDAP from './ldap'; + +Meteor.methods({ + ldap_test_connection() { + const user = Meteor.user(); + if (!user) { + throw new Meteor.Error('error-invalid-user', 'Invalid user', { method: 'ldap_test_connection' }); + } + + //TODO: This needs to be fixed - security issue -> alanning:meteor-roles + //if (!RocketChat.authz.hasRole(user._id, 'admin')) { + // throw new Meteor.Error('error-not-authorized', 'Not authorized', { method: 'ldap_test_connection' }); + //} + + if (LDAP.settings_get(LDAP_ENABLE) !== true) { + throw new Meteor.Error('LDAP_disabled'); + } + + let ldap; + try { + ldap = new LDAP(); + ldap.connectSync(); + } catch (error) { + console.log(error); + throw new Meteor.Error(error.message); + } + + try { + ldap.bindIfNecessary(); + } catch (error) { + throw new Meteor.Error(error.name || error.message); + } + + return { + message: 'Connection_success', + params: [], + }; + }, +}); diff --git a/packages/wekan-oidc/.gitignore b/packages/wekan-oidc/.gitignore new file mode 100644 index 0000000..5379d4c --- /dev/null +++ b/packages/wekan-oidc/.gitignore @@ -0,0 +1 @@ +.versions diff --git a/packages/wekan-oidc/LICENSE.txt b/packages/wekan-oidc/LICENSE.txt new file mode 100644 index 0000000..c7be326 --- /dev/null +++ b/packages/wekan-oidc/LICENSE.txt @@ -0,0 +1,14 @@ +Copyright (C) 2016 SWITCH + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + diff --git a/packages/wekan-oidc/README.md b/packages/wekan-oidc/README.md new file mode 100644 index 0000000..8948971 --- /dev/null +++ b/packages/wekan-oidc/README.md @@ -0,0 +1,7 @@ +# salleman:oidc package + +A Meteor implementation of OpenID Connect Login flow + +## Usage and Documentation + +Look at the `salleman:accounts-oidc` package for the documentation about using OpenID Connect with Meteor. diff --git a/packages/wekan-oidc/oidc_client.js b/packages/wekan-oidc/oidc_client.js new file mode 100644 index 0000000..6da9d9f --- /dev/null +++ b/packages/wekan-oidc/oidc_client.js @@ -0,0 +1,67 @@ +Oidc = {}; + +// Request OpenID Connect credentials for the user +// @param options {optional} +// @param credentialRequestCompleteCallback {Function} Callback function to call on +// completion. Takes one argument, credentialToken on success, or Error on +// error. +Oidc.requestCredential = function (options, credentialRequestCompleteCallback) { + // support both (options, callback) and (callback). + if (!credentialRequestCompleteCallback && typeof options === 'function') { + credentialRequestCompleteCallback = options; + options = {}; + } + + var config = ServiceConfiguration.configurations.findOne({service: 'oidc'}); + if (!config) { + credentialRequestCompleteCallback && credentialRequestCompleteCallback( + new ServiceConfiguration.ConfigError('Service oidc not configured.')); + return; + } + + var credentialToken = Random.secret(); + var loginStyle = OAuth._loginStyle('oidc', config, options); + + // options + options = options || {}; + options.client_id = config.clientId; + options.response_type = options.response_type || 'code'; + options.redirect_uri = OAuth._redirectUri('oidc', config); + options.state = OAuth._stateParam(loginStyle, credentialToken, options.redirectUrl); + options.scope = config.requestPermissions || 'openid profile email'; + + if (config.loginStyle && config.loginStyle == 'popup') { + options.display = 'popup'; + } + + var loginUrl = config.serverUrl + config.authorizationEndpoint; + // check if the loginUrl already contains a "?" + var first = loginUrl.indexOf('?') === -1; + for (var k in options) { + if (first) { + loginUrl += '?'; + first = false; + } + else { + loginUrl += '&' + } + loginUrl += encodeURIComponent(k) + '=' + encodeURIComponent(options[k]); + } + + //console.log('XXX: loginURL: ' + loginUrl) + + options.popupOptions = options.popupOptions || {}; + var popupOptions = { + width: options.popupOptions.width || 320, + height: options.popupOptions.height || 450 + }; + + OAuth.launchLogin({ + loginService: 'oidc', + loginStyle: loginStyle, + loginUrl: loginUrl, + credentialRequestCompleteCallback: credentialRequestCompleteCallback, + credentialToken: credentialToken, + popupOptions: popupOptions, + }); +}; diff --git a/packages/wekan-oidc/oidc_configure.html b/packages/wekan-oidc/oidc_configure.html new file mode 100644 index 0000000..49282fc --- /dev/null +++ b/packages/wekan-oidc/oidc_configure.html @@ -0,0 +1,6 @@ + diff --git a/packages/wekan-oidc/oidc_configure.js b/packages/wekan-oidc/oidc_configure.js new file mode 100644 index 0000000..5eedaa0 --- /dev/null +++ b/packages/wekan-oidc/oidc_configure.js @@ -0,0 +1,17 @@ +Template.configureLoginServiceDialogForOidc.helpers({ + siteUrl: function () { + return Meteor.absoluteUrl(); + } +}); + +Template.configureLoginServiceDialogForOidc.fields = function () { + return [ + { property: 'clientId', label: 'Client ID'}, + { property: 'secret', label: 'Client Secret'}, + { property: 'serverUrl', label: 'OIDC Server URL'}, + { property: 'authorizationEndpoint', label: 'Authorization Endpoint'}, + { property: 'tokenEndpoint', label: 'Token Endpoint'}, + { property: 'userinfoEndpoint', label: 'Userinfo Endpoint'}, + { property: 'idTokenWhitelistFields', label: 'Id Token Fields'} + ]; +}; diff --git a/packages/wekan-oidc/oidc_server.js b/packages/wekan-oidc/oidc_server.js new file mode 100644 index 0000000..745f68e --- /dev/null +++ b/packages/wekan-oidc/oidc_server.js @@ -0,0 +1,150 @@ +Oidc = {}; + +OAuth.registerService('oidc', 2, null, function (query) { + + var debug = process.env.DEBUG || false; + var token = getToken(query); + if (debug) console.log('XXX: register token:', token); + + var accessToken = token.access_token || token.id_token; + var expiresAt = (+new Date) + (1000 * parseInt(token.expires_in, 10)); + + var userinfo = getUserInfo(accessToken); + if (userinfo.ocs) userinfo = userinfo.ocs.data; // Nextcloud hack + if (userinfo.metadata) userinfo = userinfo.metadata // Openshift hack + if (debug) console.log('XXX: userinfo:', userinfo); + + var serviceData = {}; + serviceData.id = userinfo[process.env.OAUTH2_ID_MAP]; // || userinfo["id"]; + serviceData.username = userinfo[process.env.OAUTH2_USERNAME_MAP]; // || userinfo["uid"]; + serviceData.fullname = userinfo[process.env.OAUTH2_FULLNAME_MAP]; // || userinfo["displayName"]; + serviceData.accessToken = accessToken; + serviceData.expiresAt = expiresAt; + serviceData.email = userinfo[process.env.OAUTH2_EMAIL_MAP]; // || userinfo["email"]; + + if (accessToken) { + var tokenContent = getTokenContent(accessToken); + var fields = _.pick(tokenContent, getConfiguration().idTokenWhitelistFields); + _.extend(serviceData, fields); + } + + if (token.refresh_token) + serviceData.refreshToken = token.refresh_token; + if (debug) console.log('XXX: serviceData:', serviceData); + + var profile = {}; + profile.name = userinfo[process.env.OAUTH2_FULLNAME_MAP]; // || userinfo["displayName"]; + profile.email = userinfo[process.env.OAUTH2_EMAIL_MAP]; // || userinfo["email"]; + if (debug) console.log('XXX: profile:', profile); + + return { + serviceData: serviceData, + options: { profile: profile } + }; +}); + +var userAgent = "Meteor"; +if (Meteor.release) { + userAgent += "/" + Meteor.release; +} + +var getToken = function (query) { + var debug = process.env.DEBUG || false; + var config = getConfiguration(); + if(config.tokenEndpoint.includes('https://')){ + var serverTokenEndpoint = config.tokenEndpoint; + }else{ + var serverTokenEndpoint = config.serverUrl + config.tokenEndpoint; + } + var requestPermissions = config.requestPermissions; + var response; + + try { + response = HTTP.post( + serverTokenEndpoint, + { + headers: { + Accept: 'application/json', + "User-Agent": userAgent + }, + params: { + code: query.code, + client_id: config.clientId, + client_secret: OAuth.openSecret(config.secret), + redirect_uri: OAuth._redirectUri('oidc', config), + grant_type: 'authorization_code', + state: query.state + } + } + ); + } catch (err) { + throw _.extend(new Error("Failed to get token from OIDC " + serverTokenEndpoint + ": " + err.message), + { response: err.response }); + } + if (response.data.error) { + // if the http response was a json object with an error attribute + throw new Error("Failed to complete handshake with OIDC " + serverTokenEndpoint + ": " + response.data.error); + } else { + if (debug) console.log('XXX: getToken response: ', response.data); + return response.data; + } +}; + +var getUserInfo = function (accessToken) { + var debug = process.env.DEBUG || false; + var config = getConfiguration(); + // Some userinfo endpoints use a different base URL than the authorization or token endpoints. + // This logic allows the end user to override the setting by providing the full URL to userinfo in their config. + if (config.userinfoEndpoint.includes("https://")) { + var serverUserinfoEndpoint = config.userinfoEndpoint; + } else { + var serverUserinfoEndpoint = config.serverUrl + config.userinfoEndpoint; + } + var response; + try { + response = HTTP.get( + serverUserinfoEndpoint, + { + headers: { + "User-Agent": userAgent, + "Authorization": "Bearer " + accessToken + } + } + ); + } catch (err) { + throw _.extend(new Error("Failed to fetch userinfo from OIDC " + serverUserinfoEndpoint + ": " + err.message), + {response: err.response}); + } + if (debug) console.log('XXX: getUserInfo response: ', response.data); + return response.data; +}; + +var getConfiguration = function () { + var config = ServiceConfiguration.configurations.findOne({ service: 'oidc' }); + if (!config) { + throw new ServiceConfiguration.ConfigError('Service oidc not configured.'); + } + return config; +}; + +var getTokenContent = function (token) { + var content = null; + if (token) { + try { + var parts = token.split('.'); + var header = JSON.parse(Buffer.from(parts[0], 'base64').toString()); + content = JSON.parse(Buffer.from(parts[1], 'base64').toString()); + var signature = Buffer.from(parts[2], 'base64'); + var signed = parts[0] + '.' + parts[1]; + } catch (err) { + this.content = { + exp: 0 + }; + } + } + return content; +} + +Oidc.retrieveCredential = function (credentialToken, credentialSecret) { + return OAuth.retrieveCredential(credentialToken, credentialSecret); +}; diff --git a/packages/wekan-oidc/package.js b/packages/wekan-oidc/package.js new file mode 100644 index 0000000..273ef61 --- /dev/null +++ b/packages/wekan-oidc/package.js @@ -0,0 +1,23 @@ +Package.describe({ + summary: "OpenID Connect (OIDC) flow for Meteor", + version: "1.0.12", + name: "wekan-oidc", + git: "https://github.com/wekan/wekan-oidc.git", +}); + +Package.onUse(function(api) { + api.use('oauth2@1.1.0', ['client', 'server']); + api.use('oauth@1.1.0', ['client', 'server']); + api.use('http@1.1.0', ['server']); + api.use('underscore@1.0.0', 'client'); + api.use('templating@1.1.0', 'client'); + api.use('random@1.0.0', 'client'); + api.use('service-configuration@1.0.0', ['client', 'server']); + + api.export('Oidc'); + + api.addFiles(['oidc_configure.html', 'oidc_configure.js'], 'client'); + + api.addFiles('oidc_server.js', 'server'); + api.addFiles('oidc_client.js', 'client'); +}); diff --git a/public/Square150x150Logo.scale-100.png b/public/Square150x150Logo.scale-100.png new file mode 100644 index 0000000..0445b50 Binary files /dev/null and b/public/Square150x150Logo.scale-100.png differ diff --git a/public/Square44x44Logo.scale-100.png b/public/Square44x44Logo.scale-100.png new file mode 100644 index 0000000..bf8cacf Binary files /dev/null and b/public/Square44x44Logo.scale-100.png differ diff --git a/public/StoreLogo.scale-100.png b/public/StoreLogo.scale-100.png new file mode 100644 index 0000000..5d73037 Binary files /dev/null and b/public/StoreLogo.scale-100.png differ diff --git a/public/android-chrome-192x192.png b/public/android-chrome-192x192.png new file mode 100644 index 0000000..7d29824 Binary files /dev/null and b/public/android-chrome-192x192.png differ diff --git a/public/android-chrome-512x512.png b/public/android-chrome-512x512.png new file mode 100644 index 0000000..7ecf363 Binary files /dev/null and b/public/android-chrome-512x512.png differ diff --git a/public/api/wekan.html b/public/api/wekan.html new file mode 100644 index 0000000..cfad95d --- /dev/null +++ b/public/api/wekan.html @@ -0,0 +1,17457 @@ + + + + + + + + + + Wekan REST API + + + + + + + + + + + + + + + + NAV + Navigation + + +
    + + +
    + + + Shell + + + + HTTP + + + + JavaScript + + + + Node.js + + + + Ruby + + + + Python + + + + Java + + + + Go + + +
    + + + +
      + +
      + +
      + + + +
      +
      +
      +
      +

      Wekan REST API v4.25

      +
      +

      Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.

      +
      +

      The REST API allows you to control and extend Wekan with ease.

      +

      If you are an end-user and not a dev or a tester, create an issue to request new APIs.

      +
      +

      All API calls in the documentation are made using curl. However, you are free to use Java / Python / PHP / Golang / Ruby / Swift / Objective-C / Rust / Scala / C# or any other programming languages.

      +
      +

      Production Security Concerns

      +

      When calling a production Wekan server, ensure it is running via HTTPS and has a valid SSL Certificate. The login method requires you to post your username and password in plaintext, which is why we highly suggest only calling the REST login api over HTTPS. Also, few things to note:

      +
        +
      • Only call via HTTPS
      • +
      • Implement a timed authorization token expiration strategy
      • +
      • Ensure the calling user only has permissions for what they are calling and no more
      • +
      +

      Authentication

      +
        +
      • API Key (UserSecurity) +
          +
        • Parameter Name: Authorization, in: header.
        • +
        +
      • +
      +

      Login

      +

      login

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X POST /users/login \
      +  -H 'Content-Type: application/x-www-form-urlencoded' \
      +  -H 'Accept: */*'
      +
      +
      +
      POST /users/login HTTP/1.1
      +
      +Content-Type: application/x-www-form-urlencoded
      +Accept: */*
      +
      +
      +
      var headers = {
      +  'Content-Type':'application/x-www-form-urlencoded',
      +  'Accept':'*/*'
      +
      +};
      +
      +$.ajax({
      +  url: '/users/login',
      +  method: 'post',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +const inputBody = '{
      +  "username": "string",
      +  "password": "pa$$word"
      +}';
      +const headers = {
      +  'Content-Type':'application/x-www-form-urlencoded',
      +  'Accept':'*/*'
      +
      +};
      +
      +fetch('/users/login',
      +{
      +  method: 'POST',
      +  body: inputBody,
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Content-Type' => 'application/x-www-form-urlencoded',
      +  'Accept' => '*/*'
      +}
      +
      +result = RestClient.post '/users/login',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Content-Type': 'application/x-www-form-urlencoded',
      +  'Accept': '*/*'
      +}
      +
      +r = requests.post('/users/login', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/users/login");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("POST");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Content-Type": []string{"application/x-www-form-urlencoded"},
      +        "Accept": []string{"*/*"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("POST", "/users/login", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      POST /users/login

      +

      Login with REST API

      +
      +

      Body parameter

      +
      +
      username: string
      +password: pa$$word
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      bodybodyobjectfalsenone
      » usernamebodystringtrueYour username
      » passwordbodystring(password)trueYour password
      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +

      Responses

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OKSuccessful authenticationInline
      400Bad RequestError in authenticationInline
      defaultDefaultError in authenticationNone
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » idstringfalsenonenone
      » tokenstringfalsenonenone
      » tokenExpiresstringfalsenonenone
      +

      Status Code 400

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » errornumberfalsenonenone
      » reasonstringfalsenonenone
      + +

      register

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X POST /users/register \
      +  -H 'Content-Type: application/x-www-form-urlencoded' \
      +  -H 'Accept: */*'
      +
      +
      +
      POST /users/register HTTP/1.1
      +
      +Content-Type: application/x-www-form-urlencoded
      +Accept: */*
      +
      +
      +
      var headers = {
      +  'Content-Type':'application/x-www-form-urlencoded',
      +  'Accept':'*/*'
      +
      +};
      +
      +$.ajax({
      +  url: '/users/register',
      +  method: 'post',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +const inputBody = '{
      +  "username": "string",
      +  "password": "pa$$word",
      +  "email": "string"
      +}';
      +const headers = {
      +  'Content-Type':'application/x-www-form-urlencoded',
      +  'Accept':'*/*'
      +
      +};
      +
      +fetch('/users/register',
      +{
      +  method: 'POST',
      +  body: inputBody,
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Content-Type' => 'application/x-www-form-urlencoded',
      +  'Accept' => '*/*'
      +}
      +
      +result = RestClient.post '/users/register',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Content-Type': 'application/x-www-form-urlencoded',
      +  'Accept': '*/*'
      +}
      +
      +r = requests.post('/users/register', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/users/register");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("POST");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Content-Type": []string{"application/x-www-form-urlencoded"},
      +        "Accept": []string{"*/*"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("POST", "/users/register", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      POST /users/register

      +

      Register with REST API

      +

      Notes:

      +
        +
      • You will need to provide the token for any of the authenticated methods.
      • +
      +
      +

      Body parameter

      +
      +
      username: string
      +password: pa$$word
      +email: string
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      bodybodyobjectfalsenone
      » usernamebodystringtrueYour username
      » passwordbodystring(password)trueYour password
      » emailbodystringtrueYour email
      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +

      Responses

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OKSuccessful registrationInline
      400Bad RequestError in registrationInline
      defaultDefaultError in registrationNone
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » idstringfalsenonenone
      » tokenstringfalsenonenone
      » tokenExpiresstringfalsenonenone
      +

      Status Code 400

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » errornumberfalsenonenone
      » reasonstringfalsenonenone
      + +

      Boards

      +

      get_public_boards

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X GET /api/boards \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      GET /api/boards HTTP/1.1
      +
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards',
      +  method: 'get',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards',
      +{
      +  method: 'GET',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.get '/api/boards',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.get('/api/boards', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("GET");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("GET", "/api/boards", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      GET /api/boards

      +

      Get all public boards

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      [
      +  {
      +    "_id": "string",
      +    "title": "string"
      +  }
      +]
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      » titlestringfalsenonenone
      + +

      new_board

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X POST /api/boards \
      +  -H 'Content-Type: multipart/form-data' \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      POST /api/boards HTTP/1.1
      +
      +Content-Type: multipart/form-data
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards',
      +  method: 'post',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +const inputBody = '{
      +  "title": "string",
      +  "owner": "string",
      +  "isAdmin": true,
      +  "isActive": true,
      +  "isNoComments": true,
      +  "isCommentOnly": true,
      +  "isWorker": true,
      +  "permission": "string",
      +  "color": "string"
      +}';
      +const headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards',
      +{
      +  method: 'POST',
      +  body: inputBody,
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Content-Type' => 'multipart/form-data',
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.post '/api/boards',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Content-Type': 'multipart/form-data',
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.post('/api/boards', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("POST");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Content-Type": []string{"multipart/form-data"},
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("POST", "/api/boards", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      POST /api/boards

      +

      Create a board

      +

      This allows to create a board.

      +

      The color has to be chosen between belize, nephritis, pomegranate, +pumpkin, wisteria, moderatepink, strongcyan, +limegreen, midnight, dark, relax, corteza:

      + Wekan logo +
      +

      Body parameter

      +
      +
      title: string
      +owner: string
      +isAdmin: true
      +isActive: true
      +isNoComments: true
      +isCommentOnly: true
      +isWorker: true
      +permission: string
      +color: string
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      bodybodyobjectfalsenone
      » titlebodystringtruethe new title of the board
      » ownerbodystringtrue"ABCDE12345" <= User ID in Wekan.
      » isAdminbodybooleanfalseis the owner an admin of the board (default true)
      » isActivebodybooleanfalseis the board active (default true)
      » isNoCommentsbodybooleanfalsedisable comments (default false)
      » isCommentOnlybodybooleanfalseonly enable comments (default false)
      » isWorkerbodybooleanfalseonly move cards, assign himself to card and comment (default false)
      » permissionbodystringfalse"private" board <== Set to "public" if you
      » colorbodystringfalsethe color of the board
      +

      Detailed descriptions

      +

      » owner: "ABCDE12345" <= User ID in Wekan. +(Not username or email)

      +

      » permission: "private" board <== Set to "public" if you +want public Wekan board

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "_id": "string",
      +  "defaultSwimlaneId": "string"
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      » defaultSwimlaneIdstringfalsenonenone
      + +

      get_board

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X GET /api/boards/{board} \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      GET /api/boards/{board} HTTP/1.1
      +
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}',
      +  method: 'get',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}',
      +{
      +  method: 'GET',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.get '/api/boards/{board}',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.get('/api/boards/{board}', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("GET");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("GET", "/api/boards/{board}", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      GET /api/boards/{board}

      +

      Get the board with that particular ID

      +

      Parameters

      + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe ID of the board to retrieve the data
      +

      Detailed descriptions

      +

      board: the ID of the board to retrieve the data

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "title": "string",
      +  "slug": "string",
      +  "archived": true,
      +  "createdAt": "string",
      +  "modifiedAt": "string",
      +  "stars": 0,
      +  "labels": [
      +    {
      +      "_id": "string",
      +      "name": "string",
      +      "color": "green"
      +    }
      +  ],
      +  "members": [
      +    {
      +      "userId": "string",
      +      "isAdmin": true,
      +      "isActive": true,
      +      "isNoComments": true,
      +      "isCommentOnly": true,
      +      "isWorker": true
      +    }
      +  ],
      +  "permission": "public",
      +  "color": "belize",
      +  "description": "string",
      +  "subtasksDefaultBoardId": "string",
      +  "subtasksDefaultListId": "string",
      +  "dateSettingsDefaultBoardId": "string",
      +  "dateSettingsDefaultListId": "string",
      +  "allowsSubtasks": true,
      +  "allowsAttachments": true,
      +  "allowsChecklists": true,
      +  "allowsComments": true,
      +  "allowsDescriptionTitle": true,
      +  "allowsDescriptionText": true,
      +  "allowsActivities": true,
      +  "allowsLabels": true,
      +  "allowsAssignee": true,
      +  "allowsMembers": true,
      +  "allowsRequestedBy": true,
      +  "allowsAssignedBy": true,
      +  "allowsReceivedDate": true,
      +  "allowsStartDate": true,
      +  "allowsEndDate": true,
      +  "allowsDueDate": true,
      +  "presentParentTask": "prefix-with-full-path",
      +  "startAt": "string",
      +  "dueAt": "string",
      +  "endAt": "string",
      +  "spentTime": 0,
      +  "isOvertime": true,
      +  "type": "string",
      +  "sort": 0
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseBoards
      + +

      delete_board

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X DELETE /api/boards/{board} \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      DELETE /api/boards/{board} HTTP/1.1
      +
      +
      +
      var headers = {
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}',
      +  method: 'delete',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}',
      +{
      +  method: 'DELETE',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.delete '/api/boards/{board}',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.delete('/api/boards/{board}', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("DELETE");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("DELETE", "/api/boards/{board}", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      DELETE /api/boards/{board}

      +

      Delete a board

      +

      Parameters

      + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe ID of the board
      +

      Detailed descriptions

      +

      board: the ID of the board

      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseNone
      + +

      exportJson

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X GET /api/boards/{board}/export \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      GET /api/boards/{board}/export HTTP/1.1
      +
      +
      +
      var headers = {
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/export',
      +  method: 'get',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/export',
      +{
      +  method: 'GET',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.get '/api/boards/{board}/export',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.get('/api/boards/{board}/export', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/export");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("GET");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("GET", "/api/boards/{board}/export", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      GET /api/boards/{board}/export

      +

      This route is used to export the board to a json file format.

      +

      If user is already logged-in, pass loginToken as param +"authToken": '/api/boards/:boardId/export?authToken=:token'

      +

      See https://blog.kayla.com.au/server-side-route-authentication-in-meteor/ +for detailed explanations

      +

      Parameters

      + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe ID of the board we are exporting
      +

      Detailed descriptions

      +

      board: the ID of the board we are exporting

      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseNone
      + +

      add_board_label

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X PUT /api/boards/{board}/labels \
      +  -H 'Content-Type: multipart/form-data' \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      PUT /api/boards/{board}/labels HTTP/1.1
      +
      +Content-Type: multipart/form-data
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/labels',
      +  method: 'put',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +const inputBody = '{
      +  "label": "string"
      +}';
      +const headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/labels',
      +{
      +  method: 'PUT',
      +  body: inputBody,
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Content-Type' => 'multipart/form-data',
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.put '/api/boards/{board}/labels',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Content-Type': 'multipart/form-data',
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.put('/api/boards/{board}/labels', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/labels");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("PUT");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Content-Type": []string{"multipart/form-data"},
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("PUT", "/api/boards/{board}/labels", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      PUT /api/boards/{board}/labels

      +

      Add a label to a board

      +

      If the board doesn't have the name/color label, this function +adds the label to the board.

      +
      +

      Body parameter

      +
      +
      label: string
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board
      bodybodyobjectfalsenone
      » labelbodystringtruethe label value
      +

      Detailed descriptions

      +

      board: the board

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      "string"
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responsestring
      + +

      set_board_member_permission

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X POST /api/boards/{board}/members/{member} \
      +  -H 'Content-Type: multipart/form-data' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      POST /api/boards/{board}/members/{member} HTTP/1.1
      +
      +Content-Type: multipart/form-data
      +
      +
      +
      var headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/members/{member}',
      +  method: 'post',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +const inputBody = '{
      +  "isAdmin": true,
      +  "isNoComments": true,
      +  "isCommentOnly": true,
      +  "isWorker": true
      +}';
      +const headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/members/{member}',
      +{
      +  method: 'POST',
      +  body: inputBody,
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Content-Type' => 'multipart/form-data',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.post '/api/boards/{board}/members/{member}',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Content-Type': 'multipart/form-data',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.post('/api/boards/{board}/members/{member}', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/members/{member}");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("POST");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Content-Type": []string{"multipart/form-data"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("POST", "/api/boards/{board}/members/{member}", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      POST /api/boards/{board}/members/{member}

      +

      Change the permission of a member of a board

      +
      +

      Body parameter

      +
      +
      isAdmin: true
      +isNoComments: true
      +isCommentOnly: true
      +isWorker: true
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe ID of the board that we are changing
      memberpathstringtruethe ID of the user to change permissions
      bodybodyobjectfalsenone
      » isAdminbodybooleantrueadmin capability
      » isNoCommentsbodybooleantrueNoComments capability
      » isCommentOnlybodybooleantrueCommentsOnly capability
      » isWorkerbodybooleantrueWorker capability
      +

      Detailed descriptions

      +

      board: the ID of the board that we are changing

      +

      member: the ID of the user to change permissions

      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseNone
      + +

      get_boards_from_user

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X GET /api/users/{user}/boards \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      GET /api/users/{user}/boards HTTP/1.1
      +
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/users/{user}/boards',
      +  method: 'get',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/users/{user}/boards',
      +{
      +  method: 'GET',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.get '/api/users/{user}/boards',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.get('/api/users/{user}/boards', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/users/{user}/boards");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("GET");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("GET", "/api/users/{user}/boards", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      GET /api/users/{user}/boards

      +

      Get all boards attached to a user

      +

      Parameters

      + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      userpathstringtruethe ID of the user to retrieve the data
      +

      Detailed descriptions

      +

      user: the ID of the user to retrieve the data

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      [
      +  {
      +    "_id": "string",
      +    "title": "string"
      +  }
      +]
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      » titlestringfalsenonenone
      + +

      Checklists

      +

      get_all_checklists

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X GET /api/boards/{board}/cards/{card}/checklists \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      GET /api/boards/{board}/cards/{card}/checklists HTTP/1.1
      +
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/cards/{card}/checklists',
      +  method: 'get',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/cards/{card}/checklists',
      +{
      +  method: 'GET',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.get '/api/boards/{board}/cards/{card}/checklists',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.get('/api/boards/{board}/cards/{card}/checklists', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/cards/{card}/checklists");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("GET");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("GET", "/api/boards/{board}/cards/{card}/checklists", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      GET /api/boards/{board}/cards/{card}/checklists

      +

      Get the list of checklists attached to a card

      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board ID
      cardpathstringtruethe card ID
      +

      Detailed descriptions

      +

      board: the board ID

      +

      card: the card ID

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      [
      +  {
      +    "_id": "string",
      +    "title": "string"
      +  }
      +]
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      » titlestringfalsenonenone
      + +

      new_checklist

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X POST /api/boards/{board}/cards/{card}/checklists \
      +  -H 'Content-Type: multipart/form-data' \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      POST /api/boards/{board}/cards/{card}/checklists HTTP/1.1
      +
      +Content-Type: multipart/form-data
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/cards/{card}/checklists',
      +  method: 'post',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +const inputBody = '{
      +  "title": "string",
      +  "items": "string"
      +}';
      +const headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/cards/{card}/checklists',
      +{
      +  method: 'POST',
      +  body: inputBody,
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Content-Type' => 'multipart/form-data',
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.post '/api/boards/{board}/cards/{card}/checklists',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Content-Type': 'multipart/form-data',
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.post('/api/boards/{board}/cards/{card}/checklists', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/cards/{card}/checklists");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("POST");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Content-Type": []string{"multipart/form-data"},
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("POST", "/api/boards/{board}/cards/{card}/checklists", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      POST /api/boards/{board}/cards/{card}/checklists

      +

      create a new checklist

      +
      +

      Body parameter

      +
      +
      title: string
      +items: string
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board ID
      cardpathstringtruethe card ID
      bodybodyobjectfalsenone
      » titlebodystringtruethe title of the new checklist
      » itemsbodystringfalsethe list of items on the new checklist
      +

      Detailed descriptions

      +

      board: the board ID

      +

      card: the card ID

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "_id": "string"
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      + +

      get_checklist

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X GET /api/boards/{board}/cards/{card}/checklists/{checklist} \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      GET /api/boards/{board}/cards/{card}/checklists/{checklist} HTTP/1.1
      +
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/cards/{card}/checklists/{checklist}',
      +  method: 'get',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/cards/{card}/checklists/{checklist}',
      +{
      +  method: 'GET',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.get '/api/boards/{board}/cards/{card}/checklists/{checklist}',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.get('/api/boards/{board}/cards/{card}/checklists/{checklist}', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/cards/{card}/checklists/{checklist}");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("GET");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("GET", "/api/boards/{board}/cards/{card}/checklists/{checklist}", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      GET /api/boards/{board}/cards/{card}/checklists/{checklist}

      +

      Get a checklist

      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board ID
      cardpathstringtruethe card ID
      checklistpathstringtruethe ID of the checklist
      +

      Detailed descriptions

      +

      board: the board ID

      +

      card: the card ID

      +

      checklist: the ID of the checklist

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "cardId": "string",
      +  "title": "string",
      +  "finishedAt": "string",
      +  "createdAt": "string",
      +  "sort": 0,
      +  "items": [
      +    {
      +      "_id": "string",
      +      "title": "string",
      +      "isFinished": true
      +    }
      +  ]
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » cardIdstringfalsenonenone
      » titlestringfalsenonenone
      » finishedAtstringfalsenonenone
      » createdAtstringfalsenonenone
      » sortnumberfalsenonenone
      » items[object]falsenonenone
      »» _idstringfalsenonenone
      »» titlestringfalsenonenone
      »» isFinishedbooleanfalsenonenone
      + +

      delete_checklist

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X DELETE /api/boards/{board}/cards/{card}/checklists/{checklist} \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      DELETE /api/boards/{board}/cards/{card}/checklists/{checklist} HTTP/1.1
      +
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/cards/{card}/checklists/{checklist}',
      +  method: 'delete',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/cards/{card}/checklists/{checklist}',
      +{
      +  method: 'DELETE',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.delete '/api/boards/{board}/cards/{card}/checklists/{checklist}',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.delete('/api/boards/{board}/cards/{card}/checklists/{checklist}', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/cards/{card}/checklists/{checklist}");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("DELETE");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("DELETE", "/api/boards/{board}/cards/{card}/checklists/{checklist}", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      DELETE /api/boards/{board}/cards/{card}/checklists/{checklist}

      +

      Delete a checklist

      +

      The checklist will be removed, not put in the recycle bin.

      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board ID
      cardpathstringtruethe card ID
      checklistpathstringtruethe ID of the checklist to remove
      +

      Detailed descriptions

      +

      board: the board ID

      +

      card: the card ID

      +

      checklist: the ID of the checklist to remove

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "_id": "string"
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      + +

      ChecklistItems

      +

      get_checklist_item

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X GET /api/boards/{board}/cards/{card}/checklists/{checklist}/items/{item} \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      GET /api/boards/{board}/cards/{card}/checklists/{checklist}/items/{item} HTTP/1.1
      +
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/cards/{card}/checklists/{checklist}/items/{item}',
      +  method: 'get',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/cards/{card}/checklists/{checklist}/items/{item}',
      +{
      +  method: 'GET',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.get '/api/boards/{board}/cards/{card}/checklists/{checklist}/items/{item}',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.get('/api/boards/{board}/cards/{card}/checklists/{checklist}/items/{item}', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/cards/{card}/checklists/{checklist}/items/{item}");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("GET");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("GET", "/api/boards/{board}/cards/{card}/checklists/{checklist}/items/{item}", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      GET /api/boards/{board}/cards/{card}/checklists/{checklist}/items/{item}

      +

      Get a checklist item

      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board ID
      cardpathstringtruethe card ID
      checklistpathstringtruethe checklist ID
      itempathstringtruethe ID of the item
      +

      Detailed descriptions

      +

      board: the board ID

      +

      card: the card ID

      +

      checklist: the checklist ID

      +

      item: the ID of the item

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "title": "string",
      +  "sort": 0,
      +  "isFinished": true,
      +  "checklistId": "string",
      +  "cardId": "string",
      +  "createdAt": "string",
      +  "modifiedAt": "string"
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseChecklistItems
      + +

      edit_checklist_item

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X PUT /api/boards/{board}/cards/{card}/checklists/{checklist}/items/{item} \
      +  -H 'Content-Type: multipart/form-data' \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      PUT /api/boards/{board}/cards/{card}/checklists/{checklist}/items/{item} HTTP/1.1
      +
      +Content-Type: multipart/form-data
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/cards/{card}/checklists/{checklist}/items/{item}',
      +  method: 'put',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +const inputBody = '{
      +  "isFinished": "string",
      +  "title": "string"
      +}';
      +const headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/cards/{card}/checklists/{checklist}/items/{item}',
      +{
      +  method: 'PUT',
      +  body: inputBody,
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Content-Type' => 'multipart/form-data',
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.put '/api/boards/{board}/cards/{card}/checklists/{checklist}/items/{item}',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Content-Type': 'multipart/form-data',
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.put('/api/boards/{board}/cards/{card}/checklists/{checklist}/items/{item}', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/cards/{card}/checklists/{checklist}/items/{item}");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("PUT");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Content-Type": []string{"multipart/form-data"},
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("PUT", "/api/boards/{board}/cards/{card}/checklists/{checklist}/items/{item}", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      PUT /api/boards/{board}/cards/{card}/checklists/{checklist}/items/{item}

      +

      Edit a checklist item

      +
      +

      Body parameter

      +
      +
      isFinished: string
      +title: string
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board ID
      cardpathstringtruethe card ID
      checklistpathstringtruethe checklist ID
      itempathstringtruethe ID of the item
      bodybodyobjectfalsenone
      » isFinishedbodystringfalseis the item checked?
      » titlebodystringfalsethe new text of the item
      +

      Detailed descriptions

      +

      board: the board ID

      +

      card: the card ID

      +

      checklist: the checklist ID

      +

      item: the ID of the item

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "_id": "string"
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      + +

      delete_checklist_item

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X DELETE /api/boards/{board}/cards/{card}/checklists/{checklist}/items/{item} \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      DELETE /api/boards/{board}/cards/{card}/checklists/{checklist}/items/{item} HTTP/1.1
      +
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/cards/{card}/checklists/{checklist}/items/{item}',
      +  method: 'delete',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/cards/{card}/checklists/{checklist}/items/{item}',
      +{
      +  method: 'DELETE',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.delete '/api/boards/{board}/cards/{card}/checklists/{checklist}/items/{item}',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.delete('/api/boards/{board}/cards/{card}/checklists/{checklist}/items/{item}', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/cards/{card}/checklists/{checklist}/items/{item}");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("DELETE");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("DELETE", "/api/boards/{board}/cards/{card}/checklists/{checklist}/items/{item}", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      DELETE /api/boards/{board}/cards/{card}/checklists/{checklist}/items/{item}

      +

      Delete a checklist item

      +

      Note: this operation can't be reverted.

      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board ID
      cardpathstringtruethe card ID
      checklistpathstringtruethe checklist ID
      itempathstringtruethe ID of the item to be removed
      +

      Detailed descriptions

      +

      board: the board ID

      +

      card: the card ID

      +

      checklist: the checklist ID

      +

      item: the ID of the item to be removed

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "_id": "string"
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      + +

      CardComments

      +

      get_all_comments

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X GET /api/boards/{board}/cards/{card}/comments \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      GET /api/boards/{board}/cards/{card}/comments HTTP/1.1
      +
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/cards/{card}/comments',
      +  method: 'get',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/cards/{card}/comments',
      +{
      +  method: 'GET',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.get '/api/boards/{board}/cards/{card}/comments',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.get('/api/boards/{board}/cards/{card}/comments', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/cards/{card}/comments");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("GET");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("GET", "/api/boards/{board}/cards/{card}/comments", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      GET /api/boards/{board}/cards/{card}/comments

      +

      Get all comments attached to a card

      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board ID of the card
      cardpathstringtruethe ID of the card
      +

      Detailed descriptions

      +

      board: the board ID of the card

      +

      card: the ID of the card

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      [
      +  {
      +    "_id": "string",
      +    "comment": "string",
      +    "authorId": "string"
      +  }
      +]
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      » commentstringfalsenonenone
      » authorIdstringfalsenonenone
      + +

      new_comment

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X POST /api/boards/{board}/cards/{card}/comments \
      +  -H 'Content-Type: multipart/form-data' \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      POST /api/boards/{board}/cards/{card}/comments HTTP/1.1
      +
      +Content-Type: multipart/form-data
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/cards/{card}/comments',
      +  method: 'post',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +const inputBody = '{
      +  "authorId": "string",
      +  "comment": "string"
      +}';
      +const headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/cards/{card}/comments',
      +{
      +  method: 'POST',
      +  body: inputBody,
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Content-Type' => 'multipart/form-data',
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.post '/api/boards/{board}/cards/{card}/comments',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Content-Type': 'multipart/form-data',
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.post('/api/boards/{board}/cards/{card}/comments', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/cards/{card}/comments");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("POST");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Content-Type": []string{"multipart/form-data"},
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("POST", "/api/boards/{board}/cards/{card}/comments", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      POST /api/boards/{board}/cards/{card}/comments

      +

      Add a comment on a card

      +
      +

      Body parameter

      +
      +
      authorId: string
      +comment: string
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board ID of the card
      cardpathstringtruethe ID of the card
      bodybodyobjectfalsenone
      » authorIdbodystringtruethe user who 'posted' the comment
      » commentbodystringtruethe comment value
      +

      Detailed descriptions

      +

      board: the board ID of the card

      +

      card: the ID of the card

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "_id": "string"
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      + +

      get_comment

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X GET /api/boards/{board}/cards/{card}/comments/{comment} \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      GET /api/boards/{board}/cards/{card}/comments/{comment} HTTP/1.1
      +
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/cards/{card}/comments/{comment}',
      +  method: 'get',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/cards/{card}/comments/{comment}',
      +{
      +  method: 'GET',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.get '/api/boards/{board}/cards/{card}/comments/{comment}',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.get('/api/boards/{board}/cards/{card}/comments/{comment}', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/cards/{card}/comments/{comment}");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("GET");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("GET", "/api/boards/{board}/cards/{card}/comments/{comment}", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      GET /api/boards/{board}/cards/{card}/comments/{comment}

      +

      Get a comment on a card

      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board ID of the card
      cardpathstringtruethe ID of the card
      commentpathstringtruethe ID of the comment to retrieve
      +

      Detailed descriptions

      +

      board: the board ID of the card

      +

      card: the ID of the card

      +

      comment: the ID of the comment to retrieve

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "boardId": "string",
      +  "cardId": "string",
      +  "text": "string",
      +  "createdAt": "string",
      +  "modifiedAt": "string",
      +  "userId": "string"
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseCardComments
      + +

      delete_comment

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X DELETE /api/boards/{board}/cards/{card}/comments/{comment} \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      DELETE /api/boards/{board}/cards/{card}/comments/{comment} HTTP/1.1
      +
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/cards/{card}/comments/{comment}',
      +  method: 'delete',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/cards/{card}/comments/{comment}',
      +{
      +  method: 'DELETE',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.delete '/api/boards/{board}/cards/{card}/comments/{comment}',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.delete('/api/boards/{board}/cards/{card}/comments/{comment}', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/cards/{card}/comments/{comment}");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("DELETE");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("DELETE", "/api/boards/{board}/cards/{card}/comments/{comment}", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      DELETE /api/boards/{board}/cards/{card}/comments/{comment}

      +

      Delete a comment on a card

      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board ID of the card
      cardpathstringtruethe ID of the card
      commentpathstringtruethe ID of the comment to delete
      +

      Detailed descriptions

      +

      board: the board ID of the card

      +

      card: the ID of the card

      +

      comment: the ID of the comment to delete

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "_id": "string"
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      + +

      Cards

      +

      get_cards_by_custom_field

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X GET /api/boards/{board}/cardsByCustomField/{customField}/{customFieldValue} \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      GET /api/boards/{board}/cardsByCustomField/{customField}/{customFieldValue} HTTP/1.1
      +
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/cardsByCustomField/{customField}/{customFieldValue}',
      +  method: 'get',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/cardsByCustomField/{customField}/{customFieldValue}',
      +{
      +  method: 'GET',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.get '/api/boards/{board}/cardsByCustomField/{customField}/{customFieldValue}',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.get('/api/boards/{board}/cardsByCustomField/{customField}/{customFieldValue}', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/cardsByCustomField/{customField}/{customFieldValue}");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("GET");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("GET", "/api/boards/{board}/cardsByCustomField/{customField}/{customFieldValue}", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      GET /api/boards/{board}/cardsByCustomField/{customField}/{customFieldValue}

      +

      Get all Cards that matchs a value of a specific custom field

      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board ID
      customFieldpathstringtruethe list ID
      customFieldValuepathstringtruethe value to look for
      +

      Detailed descriptions

      +

      board: the board ID

      +

      customField: the list ID

      +

      customFieldValue: the value to look for

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      [
      +  {
      +    "_id": "string",
      +    "title": "string",
      +    "description": "string",
      +    "listId": "string",
      +    "swinlaneId": "string"
      +  }
      +]
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      » titlestringfalsenonenone
      » descriptionstringfalsenonenone
      » listIdstringfalsenonenone
      » swinlaneIdstringfalsenonenone
      + +

      get_all_cards

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X GET /api/boards/{board}/lists/{list}/cards \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      GET /api/boards/{board}/lists/{list}/cards HTTP/1.1
      +
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/lists/{list}/cards',
      +  method: 'get',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/lists/{list}/cards',
      +{
      +  method: 'GET',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.get '/api/boards/{board}/lists/{list}/cards',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.get('/api/boards/{board}/lists/{list}/cards', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/lists/{list}/cards");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("GET");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("GET", "/api/boards/{board}/lists/{list}/cards", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      GET /api/boards/{board}/lists/{list}/cards

      +

      Get all Cards attached to a List

      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board ID
      listpathstringtruethe list ID
      +

      Detailed descriptions

      +

      board: the board ID

      +

      list: the list ID

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      [
      +  {
      +    "_id": "string",
      +    "title": "string",
      +    "description": "string"
      +  }
      +]
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      » titlestringfalsenonenone
      » descriptionstringfalsenonenone
      + +

      new_card

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X POST /api/boards/{board}/lists/{list}/cards \
      +  -H 'Content-Type: multipart/form-data' \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      POST /api/boards/{board}/lists/{list}/cards HTTP/1.1
      +
      +Content-Type: multipart/form-data
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/lists/{list}/cards',
      +  method: 'post',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +const inputBody = '{
      +  "authorId": "string",
      +  "members": "string",
      +  "assignees": "string",
      +  "title": "string",
      +  "description": "string",
      +  "swimlaneId": "string"
      +}';
      +const headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/lists/{list}/cards',
      +{
      +  method: 'POST',
      +  body: inputBody,
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Content-Type' => 'multipart/form-data',
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.post '/api/boards/{board}/lists/{list}/cards',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Content-Type': 'multipart/form-data',
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.post('/api/boards/{board}/lists/{list}/cards', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/lists/{list}/cards");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("POST");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Content-Type": []string{"multipart/form-data"},
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("POST", "/api/boards/{board}/lists/{list}/cards", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      POST /api/boards/{board}/lists/{list}/cards

      +

      Create a new Card

      +
      +

      Body parameter

      +
      +
      authorId: string
      +members: string
      +assignees: string
      +title: string
      +description: string
      +swimlaneId: string
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board ID of the new card
      listpathstringtruethe list ID of the new card
      bodybodyobjectfalsenone
      » authorIdbodystringtruethe authorId value
      » membersbodystringfalsethe member IDs list of the new card
      » assigneesbodystringfalsethe array of maximum one ID of assignee of the new card
      » titlebodystringtruethe title of the new card
      » descriptionbodystringtruethe description of the new card
      » swimlaneIdbodystringtruethe swimlane ID of the new card
      +

      Detailed descriptions

      +

      board: the board ID of the new card

      +

      list: the list ID of the new card

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "_id": "string"
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      + +

      get_card

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X GET /api/boards/{board}/lists/{list}/cards/{card} \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      GET /api/boards/{board}/lists/{list}/cards/{card} HTTP/1.1
      +
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/lists/{list}/cards/{card}',
      +  method: 'get',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/lists/{list}/cards/{card}',
      +{
      +  method: 'GET',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.get '/api/boards/{board}/lists/{list}/cards/{card}',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.get('/api/boards/{board}/lists/{list}/cards/{card}', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/lists/{list}/cards/{card}");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("GET");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("GET", "/api/boards/{board}/lists/{list}/cards/{card}", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      GET /api/boards/{board}/lists/{list}/cards/{card}

      +

      Get a Card

      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board ID
      listpathstringtruethe list ID of the card
      cardpathstringtruethe card ID
      +

      Detailed descriptions

      +

      board: the board ID

      +

      list: the list ID of the card

      +

      card: the card ID

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "title": "string",
      +  "archived": true,
      +  "parentId": "string",
      +  "listId": "string",
      +  "swimlaneId": "string",
      +  "boardId": "string",
      +  "coverId": "string",
      +  "color": "white",
      +  "createdAt": "string",
      +  "modifiedAt": "string",
      +  "customFields": [
      +    {}
      +  ],
      +  "dateLastActivity": "string",
      +  "description": "string",
      +  "requestedBy": "string",
      +  "assignedBy": "string",
      +  "labelIds": [
      +    "string"
      +  ],
      +  "members": [
      +    "string"
      +  ],
      +  "assignees": [
      +    "string"
      +  ],
      +  "receivedAt": "string",
      +  "startAt": "string",
      +  "dueAt": "string",
      +  "endAt": "string",
      +  "spentTime": 0,
      +  "isOvertime": true,
      +  "userId": "string",
      +  "sort": 0,
      +  "subtaskSort": 0,
      +  "type": "string",
      +  "linkedId": "string",
      +  "vote": {
      +    "question": "string",
      +    "positive": [
      +      "string"
      +    ],
      +    "negative": [
      +      "string"
      +    ],
      +    "end": "string",
      +    "public": true,
      +    "allowNonBoardMembers": true
      +  }
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseCards
      + +

      edit_card

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X PUT /api/boards/{board}/lists/{list}/cards/{card} \
      +  -H 'Content-Type: multipart/form-data' \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      PUT /api/boards/{board}/lists/{list}/cards/{card} HTTP/1.1
      +
      +Content-Type: multipart/form-data
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/lists/{list}/cards/{card}',
      +  method: 'put',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +const inputBody = '{
      +  "title": "string",
      +  "parentId": "string",
      +  "description": "string",
      +  "color": "string",
      +  "vote": {},
      +  "labelIds": "string",
      +  "requestedBy": "string",
      +  "assignedBy": "string",
      +  "receivedAt": "string",
      +  "startAt": "string",
      +  "dueAt": "string",
      +  "endAt": "string",
      +  "spentTime": "string",
      +  "isOverTime": true,
      +  "customFields": "string",
      +  "members": "string",
      +  "assignees": "string",
      +  "swimlaneId": "string",
      +  "listId": "string",
      +  "authorId": "string"
      +}';
      +const headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/lists/{list}/cards/{card}',
      +{
      +  method: 'PUT',
      +  body: inputBody,
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Content-Type' => 'multipart/form-data',
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.put '/api/boards/{board}/lists/{list}/cards/{card}',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Content-Type': 'multipart/form-data',
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.put('/api/boards/{board}/lists/{list}/cards/{card}', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/lists/{list}/cards/{card}");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("PUT");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Content-Type": []string{"multipart/form-data"},
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("PUT", "/api/boards/{board}/lists/{list}/cards/{card}", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      PUT /api/boards/{board}/lists/{list}/cards/{card}

      +

      Edit Fields in a Card

      +

      Edit a card

      +

      The color has to be chosen between white, green, yellow, orange, +red, purple, blue, sky, lime, pink, black, silver, +peachpuff, crimson, plum, darkgreen, slateblue, magenta, +gold, navy, gray, saddlebrown, paleturquoise, mistyrose, +indigo:

      + Wekan card colors +

      Note: setting the color to white has the same effect than removing it.

      +
      +

      Body parameter

      +
      +
      title: string
      +parentId: string
      +description: string
      +color: string
      +vote: {}
      +labelIds: string
      +requestedBy: string
      +assignedBy: string
      +receivedAt: string
      +startAt: string
      +dueAt: string
      +endAt: string
      +spentTime: string
      +isOverTime: true
      +customFields: string
      +members: string
      +assignees: string
      +swimlaneId: string
      +listId: string
      +authorId: string
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board ID of the card
      listpathstringtruethe list ID of the card
      cardpathstringtruethe ID of the card
      bodybodyobjectfalsenone
      » titlebodystringfalsethe new title of the card
      » parentIdbodystringfalsechange the parent of the card
      » descriptionbodystringfalsethe new description of the card
      » colorbodystringfalsethe new color of the card
      » votebodyobjectfalsethe vote object
      » labelIdsbodystringfalsethe new list of label IDs attached to the card
      » requestedBybodystringfalsethe new requestedBy field of the card
      » assignedBybodystringfalsethe new assignedBy field of the card
      » receivedAtbodystringfalsethe new receivedAt field of the card
      » startAtbodystringfalsethe new startAt field of the card
      » dueAtbodystringfalsethe new dueAt field of the card
      » endAtbodystringfalsethe new endAt field of the card
      » spentTimebodystringfalsethe new spentTime field of the card
      » isOverTimebodybooleanfalsethe new isOverTime field of the card
      » customFieldsbodystringfalsethe new customFields value of the card
      » membersbodystringfalsethe new list of member IDs attached to the card
      » assigneesbodystringfalsethe array of maximum one ID of assignee attached to the card
      » swimlaneIdbodystringfalsethe new swimlane ID of the card
      » listIdbodystringfalsethe new list ID of the card (move operation)
      » authorIdbodystringfalsechange the owner of the card
      +

      Detailed descriptions

      +

      board: the board ID of the card

      +

      list: the list ID of the card

      +

      card: the ID of the card

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "_id": "string"
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      + +

      delete_card

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X DELETE /api/boards/{board}/lists/{list}/cards/{card} \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      DELETE /api/boards/{board}/lists/{list}/cards/{card} HTTP/1.1
      +
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/lists/{list}/cards/{card}',
      +  method: 'delete',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/lists/{list}/cards/{card}',
      +{
      +  method: 'DELETE',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.delete '/api/boards/{board}/lists/{list}/cards/{card}',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.delete('/api/boards/{board}/lists/{list}/cards/{card}', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/lists/{list}/cards/{card}");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("DELETE");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("DELETE", "/api/boards/{board}/lists/{list}/cards/{card}", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      DELETE /api/boards/{board}/lists/{list}/cards/{card}

      +

      Delete a card from a board

      +

      This operation deletes a card, and therefore the card +is not put in the recycle bin.

      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board ID of the card
      listpathstringtruethe list ID of the card
      cardpathstringtruethe ID of the card
      +

      Detailed descriptions

      +

      board: the board ID of the card

      +

      list: the list ID of the card

      +

      card: the ID of the card

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "_id": "string"
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      + +

      get_swimlane_cards

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X GET /api/boards/{board}/swimlanes/{swimlane}/cards \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      GET /api/boards/{board}/swimlanes/{swimlane}/cards HTTP/1.1
      +
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/swimlanes/{swimlane}/cards',
      +  method: 'get',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/swimlanes/{swimlane}/cards',
      +{
      +  method: 'GET',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.get '/api/boards/{board}/swimlanes/{swimlane}/cards',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.get('/api/boards/{board}/swimlanes/{swimlane}/cards', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/swimlanes/{swimlane}/cards");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("GET");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("GET", "/api/boards/{board}/swimlanes/{swimlane}/cards", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      GET /api/boards/{board}/swimlanes/{swimlane}/cards

      +

      get all cards attached to a swimlane

      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board ID
      swimlanepathstringtruethe swimlane ID
      +

      Detailed descriptions

      +

      board: the board ID

      +

      swimlane: the swimlane ID

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      [
      +  {
      +    "_id": "string",
      +    "title": "string",
      +    "description": "string",
      +    "listId": "string"
      +  }
      +]
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      » titlestringfalsenonenone
      » descriptionstringfalsenonenone
      » listIdstringfalsenonenone
      + +

      CustomFields

      +

      get_all_custom_fields

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X GET /api/boards/{board}/custom-fields \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      GET /api/boards/{board}/custom-fields HTTP/1.1
      +
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/custom-fields',
      +  method: 'get',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/custom-fields',
      +{
      +  method: 'GET',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.get '/api/boards/{board}/custom-fields',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.get('/api/boards/{board}/custom-fields', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/custom-fields");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("GET");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("GET", "/api/boards/{board}/custom-fields", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      GET /api/boards/{board}/custom-fields

      +

      Get the list of Custom Fields attached to a board

      +

      Parameters

      + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board value
      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      [
      +  {
      +    "_id": "string",
      +    "name": "string",
      +    "type": "string"
      +  }
      +]
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      » namestringfalsenonenone
      » typestringfalsenonenone
      + +

      new_custom_field

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X POST /api/boards/{board}/custom-fields \
      +  -H 'Content-Type: multipart/form-data' \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      POST /api/boards/{board}/custom-fields HTTP/1.1
      +
      +Content-Type: multipart/form-data
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/custom-fields',
      +  method: 'post',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +const inputBody = '{
      +  "name": "string",
      +  "type": "string",
      +  "settings": "string",
      +  "showOnCard": true,
      +  "automaticallyOnCard": true,
      +  "showLabelOnMiniCard": true,
      +  "authorId": "string"
      +}';
      +const headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/custom-fields',
      +{
      +  method: 'POST',
      +  body: inputBody,
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Content-Type' => 'multipart/form-data',
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.post '/api/boards/{board}/custom-fields',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Content-Type': 'multipart/form-data',
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.post('/api/boards/{board}/custom-fields', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/custom-fields");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("POST");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Content-Type": []string{"multipart/form-data"},
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("POST", "/api/boards/{board}/custom-fields", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      POST /api/boards/{board}/custom-fields

      +

      Create a Custom Field

      +
      +

      Body parameter

      +
      +
      name: string
      +type: string
      +settings: string
      +showOnCard: true
      +automaticallyOnCard: true
      +showLabelOnMiniCard: true
      +authorId: string
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board value
      bodybodyobjectfalsenone
      » namebodystringtruethe name of the custom field
      » typebodystringtruethe type of the custom field
      » settingsbodystringtruethe settings object of the custom field
      » showOnCardbodybooleantrueshould we show the custom field on cards?
      » automaticallyOnCardbodybooleantrueshould the custom fields automatically be added on cards?
      » showLabelOnMiniCardbodybooleantrueshould the label of the custom field be shown on minicards?
      » authorIdbodystringtruethe authorId value
      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "_id": "string"
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      + +

      get_custom_field

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X GET /api/boards/{board}/custom-fields/{customField} \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      GET /api/boards/{board}/custom-fields/{customField} HTTP/1.1
      +
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/custom-fields/{customField}',
      +  method: 'get',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/custom-fields/{customField}',
      +{
      +  method: 'GET',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.get '/api/boards/{board}/custom-fields/{customField}',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.get('/api/boards/{board}/custom-fields/{customField}', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/custom-fields/{customField}");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("GET");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("GET", "/api/boards/{board}/custom-fields/{customField}", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      GET /api/boards/{board}/custom-fields/{customField}

      +

      Get a Custom Fields attached to a board

      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board value
      customFieldpathstringtruethe ID of the custom field
      +

      Detailed descriptions

      +

      customField: the ID of the custom field

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "boardIds": [
      +    "string"
      +  ],
      +  "name": "string",
      +  "type": "text",
      +  "settings": {
      +    "currencyCode": "string",
      +    "dropdownItems": [
      +      {}
      +    ]
      +  },
      +  "showOnCard": true,
      +  "automaticallyOnCard": true,
      +  "showLabelOnMiniCard": true,
      +  "createdAt": "string",
      +  "modifiedAt": "string"
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseCustomFields
      + +

      delete_custom_field

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X DELETE /api/boards/{board}/custom-fields/{customField} \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      DELETE /api/boards/{board}/custom-fields/{customField} HTTP/1.1
      +
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/custom-fields/{customField}',
      +  method: 'delete',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/custom-fields/{customField}',
      +{
      +  method: 'DELETE',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.delete '/api/boards/{board}/custom-fields/{customField}',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.delete('/api/boards/{board}/custom-fields/{customField}', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/custom-fields/{customField}");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("DELETE");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("DELETE", "/api/boards/{board}/custom-fields/{customField}", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      DELETE /api/boards/{board}/custom-fields/{customField}

      +

      Delete a Custom Fields attached to a board

      +

      The Custom Field can't be retrieved after this operation

      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board value
      customFieldpathstringtruethe ID of the custom field
      +

      Detailed descriptions

      +

      customField: the ID of the custom field

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "_id": "string"
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      + +

      Integrations

      +

      get_all_integrations

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X GET /api/boards/{board}/integrations \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      GET /api/boards/{board}/integrations HTTP/1.1
      +
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/integrations',
      +  method: 'get',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/integrations',
      +{
      +  method: 'GET',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.get '/api/boards/{board}/integrations',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.get('/api/boards/{board}/integrations', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/integrations");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("GET");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("GET", "/api/boards/{board}/integrations", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      GET /api/boards/{board}/integrations

      +

      Get all integrations in board

      +

      Parameters

      + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board ID
      +

      Detailed descriptions

      +

      board: the board ID

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      [
      +  {
      +    "enabled": true,
      +    "title": "string",
      +    "type": "string",
      +    "activities": [
      +      "string"
      +    ],
      +    "url": "string",
      +    "token": "string",
      +    "boardId": "string",
      +    "createdAt": "string",
      +    "modifiedAt": "string",
      +    "userId": "string"
      +  }
      +]
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      anonymous[Integrations]falsenone[Integration with third-party applications]
      » enabledbooleantruenoneis the integration enabled?
      » titlestring|nullfalsenonename of the integration
      » typestringtruenonetype of the integratation (Default to 'outgoing-webhooks')
      » activities[string]truenoneactivities the integration gets triggered (list)
      » urlstringtruenonenone
      » tokenstring|nullfalsenonetoken of the integration
      » boardIdstringtruenoneBoard ID of the integration
      » createdAtstringtruenoneCreation date of the integration
      » modifiedAtstringtruenonenone
      » userIdstringtruenoneuser ID who created the interation
      + +

      new_integration

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X POST /api/boards/{board}/integrations \
      +  -H 'Content-Type: multipart/form-data' \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      POST /api/boards/{board}/integrations HTTP/1.1
      +
      +Content-Type: multipart/form-data
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/integrations',
      +  method: 'post',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +const inputBody = '{
      +  "url": "string"
      +}';
      +const headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/integrations',
      +{
      +  method: 'POST',
      +  body: inputBody,
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Content-Type' => 'multipart/form-data',
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.post '/api/boards/{board}/integrations',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Content-Type': 'multipart/form-data',
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.post('/api/boards/{board}/integrations', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/integrations");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("POST");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Content-Type": []string{"multipart/form-data"},
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("POST", "/api/boards/{board}/integrations", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      POST /api/boards/{board}/integrations

      +

      Create a new integration

      +
      +

      Body parameter

      +
      +
      url: string
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board ID
      bodybodyobjectfalsenone
      » urlbodystringtruethe URL of the integration
      +

      Detailed descriptions

      +

      board: the board ID

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "_id": "string"
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      + +

      get_integration

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X GET /api/boards/{board}/integrations/{int} \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      GET /api/boards/{board}/integrations/{int} HTTP/1.1
      +
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/integrations/{int}',
      +  method: 'get',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/integrations/{int}',
      +{
      +  method: 'GET',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.get '/api/boards/{board}/integrations/{int}',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.get('/api/boards/{board}/integrations/{int}', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/integrations/{int}");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("GET");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("GET", "/api/boards/{board}/integrations/{int}", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      GET /api/boards/{board}/integrations/{int}

      +

      Get a single integration in board

      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board ID
      intpathstringtruethe integration ID
      +

      Detailed descriptions

      +

      board: the board ID

      +

      int: the integration ID

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "enabled": true,
      +  "title": "string",
      +  "type": "string",
      +  "activities": [
      +    "string"
      +  ],
      +  "url": "string",
      +  "token": "string",
      +  "boardId": "string",
      +  "createdAt": "string",
      +  "modifiedAt": "string",
      +  "userId": "string"
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseIntegrations
      + +

      edit_integration

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X PUT /api/boards/{board}/integrations/{int} \
      +  -H 'Content-Type: multipart/form-data' \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      PUT /api/boards/{board}/integrations/{int} HTTP/1.1
      +
      +Content-Type: multipart/form-data
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/integrations/{int}',
      +  method: 'put',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +const inputBody = '{
      +  "enabled": "string",
      +  "title": "string",
      +  "url": "string",
      +  "token": "string",
      +  "activities": "string"
      +}';
      +const headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/integrations/{int}',
      +{
      +  method: 'PUT',
      +  body: inputBody,
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Content-Type' => 'multipart/form-data',
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.put '/api/boards/{board}/integrations/{int}',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Content-Type': 'multipart/form-data',
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.put('/api/boards/{board}/integrations/{int}', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/integrations/{int}");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("PUT");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Content-Type": []string{"multipart/form-data"},
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("PUT", "/api/boards/{board}/integrations/{int}", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      PUT /api/boards/{board}/integrations/{int}

      +

      Edit integration data

      +
      +

      Body parameter

      +
      +
      enabled: string
      +title: string
      +url: string
      +token: string
      +activities: string
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board ID
      intpathstringtruethe integration ID
      bodybodyobjectfalsenone
      » enabledbodystringfalseis the integration enabled?
      » titlebodystringfalsenew name of the integration
      » urlbodystringfalsenew URL of the integration
      » tokenbodystringfalsenew token of the integration
      » activitiesbodystringfalsenew list of activities of the integration
      +

      Detailed descriptions

      +

      board: the board ID

      +

      int: the integration ID

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "_id": "string"
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      + +

      delete_integration

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X DELETE /api/boards/{board}/integrations/{int} \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      DELETE /api/boards/{board}/integrations/{int} HTTP/1.1
      +
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/integrations/{int}',
      +  method: 'delete',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/integrations/{int}',
      +{
      +  method: 'DELETE',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.delete '/api/boards/{board}/integrations/{int}',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.delete('/api/boards/{board}/integrations/{int}', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/integrations/{int}");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("DELETE");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("DELETE", "/api/boards/{board}/integrations/{int}", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      DELETE /api/boards/{board}/integrations/{int}

      +

      Delete integration

      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board ID
      intpathstringtruethe integration ID
      +

      Detailed descriptions

      +

      board: the board ID

      +

      int: the integration ID

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "_id": "string"
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      + +

      delete_integration_activities

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X DELETE /api/boards/{board}/integrations/{int}/activities \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      DELETE /api/boards/{board}/integrations/{int}/activities HTTP/1.1
      +
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/integrations/{int}/activities',
      +  method: 'delete',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/integrations/{int}/activities',
      +{
      +  method: 'DELETE',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.delete '/api/boards/{board}/integrations/{int}/activities',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.delete('/api/boards/{board}/integrations/{int}/activities', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/integrations/{int}/activities");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("DELETE");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("DELETE", "/api/boards/{board}/integrations/{int}/activities", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      DELETE /api/boards/{board}/integrations/{int}/activities

      +

      Delete subscribed activities

      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board ID
      intpathstringtruethe integration ID
      +

      Detailed descriptions

      +

      board: the board ID

      +

      int: the integration ID

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "enabled": true,
      +  "title": "string",
      +  "type": "string",
      +  "activities": [
      +    "string"
      +  ],
      +  "url": "string",
      +  "token": "string",
      +  "boardId": "string",
      +  "createdAt": "string",
      +  "modifiedAt": "string",
      +  "userId": "string"
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseIntegrations
      + +

      new_integration_activities

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X POST /api/boards/{board}/integrations/{int}/activities \
      +  -H 'Content-Type: multipart/form-data' \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      POST /api/boards/{board}/integrations/{int}/activities HTTP/1.1
      +
      +Content-Type: multipart/form-data
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/integrations/{int}/activities',
      +  method: 'post',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +const inputBody = '{
      +  "activities": "string"
      +}';
      +const headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/integrations/{int}/activities',
      +{
      +  method: 'POST',
      +  body: inputBody,
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Content-Type' => 'multipart/form-data',
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.post '/api/boards/{board}/integrations/{int}/activities',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Content-Type': 'multipart/form-data',
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.post('/api/boards/{board}/integrations/{int}/activities', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/integrations/{int}/activities");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("POST");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Content-Type": []string{"multipart/form-data"},
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("POST", "/api/boards/{board}/integrations/{int}/activities", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      POST /api/boards/{board}/integrations/{int}/activities

      +

      Add subscribed activities

      +
      +

      Body parameter

      +
      +
      activities: string
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board ID
      intpathstringtruethe integration ID
      bodybodyobjectfalsenone
      » activitiesbodystringtruethe activities value
      +

      Detailed descriptions

      +

      board: the board ID

      +

      int: the integration ID

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "enabled": true,
      +  "title": "string",
      +  "type": "string",
      +  "activities": [
      +    "string"
      +  ],
      +  "url": "string",
      +  "token": "string",
      +  "boardId": "string",
      +  "createdAt": "string",
      +  "modifiedAt": "string",
      +  "userId": "string"
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseIntegrations
      + +

      Lists

      +

      get_all_lists

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X GET /api/boards/{board}/lists \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      GET /api/boards/{board}/lists HTTP/1.1
      +
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/lists',
      +  method: 'get',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/lists',
      +{
      +  method: 'GET',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.get '/api/boards/{board}/lists',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.get('/api/boards/{board}/lists', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/lists");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("GET");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("GET", "/api/boards/{board}/lists", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      GET /api/boards/{board}/lists

      +

      Get the list of Lists attached to a board

      +

      Parameters

      + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board ID
      +

      Detailed descriptions

      +

      board: the board ID

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      [
      +  {
      +    "_id": "string",
      +    "title": "string"
      +  }
      +]
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      » titlestringfalsenonenone
      + +

      new_list

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X POST /api/boards/{board}/lists \
      +  -H 'Content-Type: multipart/form-data' \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      POST /api/boards/{board}/lists HTTP/1.1
      +
      +Content-Type: multipart/form-data
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/lists',
      +  method: 'post',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +const inputBody = '{
      +  "title": "string"
      +}';
      +const headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/lists',
      +{
      +  method: 'POST',
      +  body: inputBody,
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Content-Type' => 'multipart/form-data',
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.post '/api/boards/{board}/lists',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Content-Type': 'multipart/form-data',
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.post('/api/boards/{board}/lists', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/lists");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("POST");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Content-Type": []string{"multipart/form-data"},
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("POST", "/api/boards/{board}/lists", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      POST /api/boards/{board}/lists

      +

      Add a List to a board

      +
      +

      Body parameter

      +
      +
      title: string
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board ID
      bodybodyobjectfalsenone
      » titlebodystringtruethe title of the List
      +

      Detailed descriptions

      +

      board: the board ID

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "_id": "string"
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      + +

      get_list

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X GET /api/boards/{board}/lists/{list} \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      GET /api/boards/{board}/lists/{list} HTTP/1.1
      +
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/lists/{list}',
      +  method: 'get',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/lists/{list}',
      +{
      +  method: 'GET',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.get '/api/boards/{board}/lists/{list}',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.get('/api/boards/{board}/lists/{list}', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/lists/{list}");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("GET");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("GET", "/api/boards/{board}/lists/{list}", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      GET /api/boards/{board}/lists/{list}

      +

      Get a List attached to a board

      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board ID
      listpathstringtruethe List ID
      +

      Detailed descriptions

      +

      board: the board ID

      +

      list: the List ID

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "title": "string",
      +  "starred": true,
      +  "archived": true,
      +  "boardId": "string",
      +  "swimlaneId": "string",
      +  "createdAt": "string",
      +  "sort": 0,
      +  "updatedAt": "string",
      +  "modifiedAt": "string",
      +  "wipLimit": {
      +    "value": 0,
      +    "enabled": true,
      +    "soft": true
      +  },
      +  "color": "white",
      +  "type": "string"
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseLists
      + +

      delete_list

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X DELETE /api/boards/{board}/lists/{list} \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      DELETE /api/boards/{board}/lists/{list} HTTP/1.1
      +
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/lists/{list}',
      +  method: 'delete',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/lists/{list}',
      +{
      +  method: 'DELETE',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.delete '/api/boards/{board}/lists/{list}',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.delete('/api/boards/{board}/lists/{list}', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/lists/{list}");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("DELETE");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("DELETE", "/api/boards/{board}/lists/{list}", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      DELETE /api/boards/{board}/lists/{list}

      +

      Delete a List

      +

      This deletes a list from a board. +The list is not put in the recycle bin.

      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board ID
      listpathstringtruethe ID of the list to remove
      +

      Detailed descriptions

      +

      board: the board ID

      +

      list: the ID of the list to remove

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "_id": "string"
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      + +

      Users

      +

      add_board_member

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X POST /api/boards/{board}/members/{user}/add \
      +  -H 'Content-Type: multipart/form-data' \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      POST /api/boards/{board}/members/{user}/add HTTP/1.1
      +
      +Content-Type: multipart/form-data
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/members/{user}/add',
      +  method: 'post',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +const inputBody = '{
      +  "action": "string",
      +  "isAdmin": true,
      +  "isNoComments": true,
      +  "isCommentOnly": true
      +}';
      +const headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/members/{user}/add',
      +{
      +  method: 'POST',
      +  body: inputBody,
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Content-Type' => 'multipart/form-data',
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.post '/api/boards/{board}/members/{user}/add',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Content-Type': 'multipart/form-data',
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.post('/api/boards/{board}/members/{user}/add', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/members/{user}/add");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("POST");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Content-Type": []string{"multipart/form-data"},
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("POST", "/api/boards/{board}/members/{user}/add", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      POST /api/boards/{board}/members/{user}/add

      +

      Add New Board Member with Role

      +

      Only the admin user (the first user) can call the REST API.

      +

      Note: see Boards.set_board_member_permission +to later change the permissions.

      +
      +

      Body parameter

      +
      +
      action: string
      +isAdmin: true
      +isNoComments: true
      +isCommentOnly: true
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board ID
      userpathstringtruethe user ID
      bodybodyobjectfalsenone
      » actionbodystringtruethe action value
      » isAdminbodybooleantrueis the user an admin of the board
      » isNoCommentsbodybooleantruedisable comments
      » isCommentOnlybodybooleantrueonly enable comments
      +

      Detailed descriptions

      +

      board: the board ID

      +

      user: the user ID

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "_id": "string",
      +  "title": "string"
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      » titlestringfalsenonenone
      + +

      remove_board_member

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X POST /api/boards/{board}/members/{user}/remove \
      +  -H 'Content-Type: multipart/form-data' \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      POST /api/boards/{board}/members/{user}/remove HTTP/1.1
      +
      +Content-Type: multipart/form-data
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/members/{user}/remove',
      +  method: 'post',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +const inputBody = '{
      +  "action": "string"
      +}';
      +const headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/members/{user}/remove',
      +{
      +  method: 'POST',
      +  body: inputBody,
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Content-Type' => 'multipart/form-data',
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.post '/api/boards/{board}/members/{user}/remove',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Content-Type': 'multipart/form-data',
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.post('/api/boards/{board}/members/{user}/remove', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/members/{user}/remove");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("POST");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Content-Type": []string{"multipart/form-data"},
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("POST", "/api/boards/{board}/members/{user}/remove", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      POST /api/boards/{board}/members/{user}/remove

      +

      Remove Member from Board

      +

      Only the admin user (the first user) can call the REST API.

      +
      +

      Body parameter

      +
      +
      action: string
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe board ID
      userpathstringtruethe user ID
      bodybodyobjectfalsenone
      » actionbodystringtruethe action (needs to be remove)
      +

      Detailed descriptions

      +

      board: the board ID

      +

      user: the user ID

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "_id": "string",
      +  "title": "string"
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      » titlestringfalsenonenone
      + +

      get_current_user

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X GET /api/user \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      GET /api/user HTTP/1.1
      +
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/user',
      +  method: 'get',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/user',
      +{
      +  method: 'GET',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.get '/api/user',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.get('/api/user', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/user");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("GET");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("GET", "/api/user", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      GET /api/user

      +

      returns the current user

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "username": "string",
      +  "emails": [
      +    {
      +      "address": "string",
      +      "verified": true
      +    }
      +  ],
      +  "createdAt": "string",
      +  "modifiedAt": "string",
      +  "profile": {
      +    "avatarUrl": "string",
      +    "emailBuffer": [
      +      "string"
      +    ],
      +    "fullname": "string",
      +    "showDesktopDragHandles": true,
      +    "hideCheckedItems": true,
      +    "hiddenSystemMessages": true,
      +    "hiddenMinicardLabelText": true,
      +    "initials": "string",
      +    "invitedBoards": [
      +      "string"
      +    ],
      +    "language": "string",
      +    "notifications": [],
      +    "activity": "string",
      +    "read": "string",
      +    "showCardsCountAt": 0,
      +    "startDayOfWeek": 0,
      +    "starredBoards": [
      +      "string"
      +    ],
      +    "icode": "string",
      +    "boardView": "board-view-swimlanes",
      +    "listSortBy": "-modifiedat",
      +    "templatesBoardId": "string",
      +    "cardTemplatesSwimlaneId": "string",
      +    "listTemplatesSwimlaneId": "string",
      +    "boardTemplatesSwimlaneId": "string"
      +  },
      +  "services": {},
      +  "heartbeat": "string",
      +  "isAdmin": true,
      +  "createdThroughApi": true,
      +  "loginDisabled": true,
      +  "authenticationMethod": "string"
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseUsers
      + +

      get_all_users

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X GET /api/users \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      GET /api/users HTTP/1.1
      +
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/users',
      +  method: 'get',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/users',
      +{
      +  method: 'GET',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.get '/api/users',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.get('/api/users', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/users");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("GET");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("GET", "/api/users", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      GET /api/users

      +

      return all the users

      +

      Only the admin user (the first user) can call the REST API.

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      [
      +  {
      +    "_id": "string",
      +    "username": "string"
      +  }
      +]
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      » usernamestringfalsenonenone
      + +

      new_user

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X POST /api/users \
      +  -H 'Content-Type: multipart/form-data' \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      POST /api/users HTTP/1.1
      +
      +Content-Type: multipart/form-data
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/users',
      +  method: 'post',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +const inputBody = '{
      +  "username": "string",
      +  "email": "string",
      +  "password": "string"
      +}';
      +const headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/users',
      +{
      +  method: 'POST',
      +  body: inputBody,
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Content-Type' => 'multipart/form-data',
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.post '/api/users',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Content-Type': 'multipart/form-data',
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.post('/api/users', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/users");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("POST");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Content-Type": []string{"multipart/form-data"},
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("POST", "/api/users", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      POST /api/users

      +

      Create a new user

      +

      Only the admin user (the first user) can call the REST API.

      +
      +

      Body parameter

      +
      +
      username: string
      +email: string
      +password: string
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      bodybodyobjectfalsenone
      » usernamebodystringtruethe new username
      » emailbodystringtruethe email of the new user
      » passwordbodystringtruethe password of the new user
      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "_id": "string"
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      + +

      get_user

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X GET /api/users/{user} \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      GET /api/users/{user} HTTP/1.1
      +
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/users/{user}',
      +  method: 'get',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/users/{user}',
      +{
      +  method: 'GET',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.get '/api/users/{user}',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.get('/api/users/{user}', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/users/{user}");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("GET");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("GET", "/api/users/{user}", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      GET /api/users/{user}

      +

      get a given user

      +

      Only the admin user (the first user) can call the REST API.

      +

      Parameters

      + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      userpathstringtruethe user ID
      +

      Detailed descriptions

      +

      user: the user ID

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "username": "string",
      +  "emails": [
      +    {
      +      "address": "string",
      +      "verified": true
      +    }
      +  ],
      +  "createdAt": "string",
      +  "modifiedAt": "string",
      +  "profile": {
      +    "avatarUrl": "string",
      +    "emailBuffer": [
      +      "string"
      +    ],
      +    "fullname": "string",
      +    "showDesktopDragHandles": true,
      +    "hideCheckedItems": true,
      +    "hiddenSystemMessages": true,
      +    "hiddenMinicardLabelText": true,
      +    "initials": "string",
      +    "invitedBoards": [
      +      "string"
      +    ],
      +    "language": "string",
      +    "notifications": [],
      +    "activity": "string",
      +    "read": "string",
      +    "showCardsCountAt": 0,
      +    "startDayOfWeek": 0,
      +    "starredBoards": [
      +      "string"
      +    ],
      +    "icode": "string",
      +    "boardView": "board-view-swimlanes",
      +    "listSortBy": "-modifiedat",
      +    "templatesBoardId": "string",
      +    "cardTemplatesSwimlaneId": "string",
      +    "listTemplatesSwimlaneId": "string",
      +    "boardTemplatesSwimlaneId": "string"
      +  },
      +  "services": {},
      +  "heartbeat": "string",
      +  "isAdmin": true,
      +  "createdThroughApi": true,
      +  "loginDisabled": true,
      +  "authenticationMethod": "string"
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseUsers
      + +

      edit_user

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X PUT /api/users/{user} \
      +  -H 'Content-Type: multipart/form-data' \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      PUT /api/users/{user} HTTP/1.1
      +
      +Content-Type: multipart/form-data
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/users/{user}',
      +  method: 'put',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +const inputBody = '{
      +  "action": "string"
      +}';
      +const headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/users/{user}',
      +{
      +  method: 'PUT',
      +  body: inputBody,
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Content-Type' => 'multipart/form-data',
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.put '/api/users/{user}',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Content-Type': 'multipart/form-data',
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.put('/api/users/{user}', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/users/{user}");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("PUT");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Content-Type": []string{"multipart/form-data"},
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("PUT", "/api/users/{user}", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      PUT /api/users/{user}

      +

      edit a given user

      +

      Only the admin user (the first user) can call the REST API.

      +

      Possible values for action:

      +
        +
      • takeOwnership: The admin takes the ownership of ALL boards of the user (archived and not archived) where the user is admin on.
      • +
      • disableLogin: Disable a user (the user is not allowed to login and his login tokens are purged)
      • +
      • enableLogin: Enable a user
      • +
      +
      +

      Body parameter

      +
      +
      action: string
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      userpathstringtruethe user ID
      bodybodyobjectfalsenone
      » actionbodystringtruethe action
      +

      Detailed descriptions

      +

      user: the user ID

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "_id": "string",
      +  "title": "string"
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      » titlestringfalsenonenone
      + +

      delete_user

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X DELETE /api/users/{user} \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      DELETE /api/users/{user} HTTP/1.1
      +
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/users/{user}',
      +  method: 'delete',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/users/{user}',
      +{
      +  method: 'DELETE',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.delete '/api/users/{user}',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.delete('/api/users/{user}', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/users/{user}");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("DELETE");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("DELETE", "/api/users/{user}", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      DELETE /api/users/{user}

      +

      Delete a user

      +

      Only the admin user (the first user) can call the REST API.

      +

      Parameters

      + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      userpathstringtruethe ID of the user to delete
      +

      Detailed descriptions

      +

      user: the ID of the user to delete

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "_id": "string"
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      + +

      Swimlanes

      +

      get_all_swimlanes

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X GET /api/boards/{board}/swimlanes \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      GET /api/boards/{board}/swimlanes HTTP/1.1
      +
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/swimlanes',
      +  method: 'get',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/swimlanes',
      +{
      +  method: 'GET',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.get '/api/boards/{board}/swimlanes',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.get('/api/boards/{board}/swimlanes', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/swimlanes");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("GET");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("GET", "/api/boards/{board}/swimlanes", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      GET /api/boards/{board}/swimlanes

      +

      Get the list of swimlanes attached to a board

      +

      Parameters

      + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe ID of the board
      +

      Detailed descriptions

      +

      board: the ID of the board

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      [
      +  {
      +    "_id": "string",
      +    "title": "string"
      +  }
      +]
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      » titlestringfalsenonenone
      + +

      new_swimlane

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X POST /api/boards/{board}/swimlanes \
      +  -H 'Content-Type: multipart/form-data' \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      POST /api/boards/{board}/swimlanes HTTP/1.1
      +
      +Content-Type: multipart/form-data
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/swimlanes',
      +  method: 'post',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +const inputBody = '{
      +  "title": "string"
      +}';
      +const headers = {
      +  'Content-Type':'multipart/form-data',
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/swimlanes',
      +{
      +  method: 'POST',
      +  body: inputBody,
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Content-Type' => 'multipart/form-data',
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.post '/api/boards/{board}/swimlanes',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Content-Type': 'multipart/form-data',
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.post('/api/boards/{board}/swimlanes', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/swimlanes");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("POST");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Content-Type": []string{"multipart/form-data"},
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("POST", "/api/boards/{board}/swimlanes", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      POST /api/boards/{board}/swimlanes

      +

      Add a swimlane to a board

      +
      +

      Body parameter

      +
      +
      title: string
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe ID of the board
      bodybodyobjectfalsenone
      » titlebodystringtruethe new title of the swimlane
      +

      Detailed descriptions

      +

      board: the ID of the board

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "_id": "string"
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      + +

      get_swimlane

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X GET /api/boards/{board}/swimlanes/{swimlane} \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      GET /api/boards/{board}/swimlanes/{swimlane} HTTP/1.1
      +
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/swimlanes/{swimlane}',
      +  method: 'get',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/swimlanes/{swimlane}',
      +{
      +  method: 'GET',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.get '/api/boards/{board}/swimlanes/{swimlane}',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.get('/api/boards/{board}/swimlanes/{swimlane}', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/swimlanes/{swimlane}");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("GET");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("GET", "/api/boards/{board}/swimlanes/{swimlane}", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      GET /api/boards/{board}/swimlanes/{swimlane}

      +

      Get a swimlane

      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe ID of the board
      swimlanepathstringtruethe ID of the swimlane
      +

      Detailed descriptions

      +

      board: the ID of the board

      +

      swimlane: the ID of the swimlane

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "title": "string",
      +  "archived": true,
      +  "boardId": "string",
      +  "createdAt": "string",
      +  "sort": 0,
      +  "color": "white",
      +  "updatedAt": "string",
      +  "modifiedAt": "string",
      +  "type": "string"
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseSwimlanes
      + +

      delete_swimlane

      +

      +
      +

      Code samples

      +
      +
      # You can also use wget
      +curl -X DELETE /api/boards/{board}/swimlanes/{swimlane} \
      +  -H 'Accept: application/json' \
      +  -H 'Authorization: API_KEY'
      +
      +
      +
      DELETE /api/boards/{board}/swimlanes/{swimlane} HTTP/1.1
      +
      +Accept: application/json
      +
      +
      +
      var headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +$.ajax({
      +  url: '/api/boards/{board}/swimlanes/{swimlane}',
      +  method: 'delete',
      +
      +  headers: headers,
      +  success: function(data) {
      +    console.log(JSON.stringify(data));
      +  }
      +})
      +
      +
      +
      const fetch = require('node-fetch');
      +
      +const headers = {
      +  'Accept':'application/json',
      +  'Authorization':'API_KEY'
      +
      +};
      +
      +fetch('/api/boards/{board}/swimlanes/{swimlane}',
      +{
      +  method: 'DELETE',
      +
      +  headers: headers
      +})
      +.then(function(res) {
      +    return res.json();
      +}).then(function(body) {
      +    console.log(body);
      +});
      +
      +
      +
      require 'rest-client'
      +require 'json'
      +
      +headers = {
      +  'Accept' => 'application/json',
      +  'Authorization' => 'API_KEY'
      +}
      +
      +result = RestClient.delete '/api/boards/{board}/swimlanes/{swimlane}',
      +  params: {
      +  }, headers: headers
      +
      +p JSON.parse(result)
      +
      +
      +
      import requests
      +headers = {
      +  'Accept': 'application/json',
      +  'Authorization': 'API_KEY'
      +}
      +
      +r = requests.delete('/api/boards/{board}/swimlanes/{swimlane}', params={
      +
      +}, headers = headers)
      +
      +print r.json()
      +
      +
      +
      URL obj = new URL("/api/boards/{board}/swimlanes/{swimlane}");
      +HttpURLConnection con = (HttpURLConnection) obj.openConnection();
      +con.setRequestMethod("DELETE");
      +int responseCode = con.getResponseCode();
      +BufferedReader in = new BufferedReader(
      +    new InputStreamReader(con.getInputStream()));
      +String inputLine;
      +StringBuffer response = new StringBuffer();
      +while ((inputLine = in.readLine()) != null) {
      +    response.append(inputLine);
      +}
      +in.close();
      +System.out.println(response.toString());
      +
      +
      +
      package main
      +
      +import (
      +       "bytes"
      +       "net/http"
      +)
      +
      +func main() {
      +
      +    headers := map[string][]string{
      +        "Accept": []string{"application/json"},
      +        "Authorization": []string{"API_KEY"},
      +        
      +    }
      +
      +    data := bytes.NewBuffer([]byte{jsonReq})
      +    req, err := http.NewRequest("DELETE", "/api/boards/{board}/swimlanes/{swimlane}", data)
      +    req.Header = headers
      +
      +    client := &http.Client{}
      +    resp, err := client.Do(req)
      +    // ...
      +}
      +
      +
      +

      DELETE /api/boards/{board}/swimlanes/{swimlane}

      +

      Delete a swimlane

      +

      The swimlane will be deleted, not moved to the recycle bin

      +

      Parameters

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameInTypeRequiredDescription
      boardpathstringtruethe ID of the board
      swimlanepathstringtruethe ID of the swimlane
      +

      Detailed descriptions

      +

      board: the ID of the board

      +

      swimlane: the ID of the swimlane

      +
      +

      Example responses

      +
      +
      +

      200 Response

      +
      +
      {
      +  "_id": "string"
      +}
      +
      +

      Responses

      + + + + + + + + + + + + + + + + + +
      StatusMeaningDescriptionSchema
      200OK200 responseInline
      +

      Response Schema

      +

      Status Code 200

      + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      » _idstringfalsenonenone
      + +

      Schemas

      +

      Boards

      +

      +
      {
      +  "title": "string",
      +  "slug": "string",
      +  "archived": true,
      +  "createdAt": "string",
      +  "modifiedAt": "string",
      +  "stars": 0,
      +  "labels": [
      +    {
      +      "_id": "string",
      +      "name": "string",
      +      "color": "green"
      +    }
      +  ],
      +  "members": [
      +    {
      +      "userId": "string",
      +      "isAdmin": true,
      +      "isActive": true,
      +      "isNoComments": true,
      +      "isCommentOnly": true,
      +      "isWorker": true
      +    }
      +  ],
      +  "permission": "public",
      +  "color": "belize",
      +  "description": "string",
      +  "subtasksDefaultBoardId": "string",
      +  "subtasksDefaultListId": "string",
      +  "dateSettingsDefaultBoardId": "string",
      +  "dateSettingsDefaultListId": "string",
      +  "allowsSubtasks": true,
      +  "allowsAttachments": true,
      +  "allowsChecklists": true,
      +  "allowsComments": true,
      +  "allowsDescriptionTitle": true,
      +  "allowsDescriptionText": true,
      +  "allowsActivities": true,
      +  "allowsLabels": true,
      +  "allowsAssignee": true,
      +  "allowsMembers": true,
      +  "allowsRequestedBy": true,
      +  "allowsAssignedBy": true,
      +  "allowsReceivedDate": true,
      +  "allowsStartDate": true,
      +  "allowsEndDate": true,
      +  "allowsDueDate": true,
      +  "presentParentTask": "prefix-with-full-path",
      +  "startAt": "string",
      +  "dueAt": "string",
      +  "endAt": "string",
      +  "spentTime": 0,
      +  "isOvertime": true,
      +  "type": "string",
      +  "sort": 0
      +}
      +
      +
      +

      This is a Board.

      +

      Properties

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      titlestringtruenoneThe title of the board
      slugstringtruenoneThe title slugified.
      archivedbooleantruenoneIs the board archived?
      createdAtstringtruenoneCreation time of the board
      modifiedAtstring|nullfalsenoneLast modification time of the board
      starsnumbertruenoneHow many stars the board has
      labels[BoardsLabels]truenoneList of labels attached to a board
      members[BoardsMembers]truenoneList of members of a board
      permissionstringtruenonevisibility of the board
      colorstringtruenoneThe color of the board.
      descriptionstring|nullfalsenoneThe description of the board
      subtasksDefaultBoardIdstring|nullfalsenoneThe default board ID assigned to subtasks.
      subtasksDefaultListIdstring|nullfalsenoneThe default List ID assigned to subtasks.
      dateSettingsDefaultBoardIdstring|nullfalsenonenone
      dateSettingsDefaultListIdstring|nullfalsenonenone
      allowsSubtasksbooleantruenoneDoes the board allows subtasks?
      allowsAttachmentsbooleantruenoneDoes the board allows attachments?
      allowsChecklistsbooleantruenoneDoes the board allows checklists?
      allowsCommentsbooleantruenoneDoes the board allows comments?
      allowsDescriptionTitlebooleantruenoneDoes the board allows description title?
      allowsDescriptionTextbooleantruenoneDoes the board allows description text?
      allowsActivitiesbooleantruenoneDoes the board allows comments?
      allowsLabelsbooleantruenoneDoes the board allows labels?
      allowsAssigneebooleantruenoneDoes the board allows assignee?
      allowsMembersbooleantruenoneDoes the board allows members?
      allowsRequestedBybooleantruenoneDoes the board allows requested by?
      allowsAssignedBybooleantruenoneDoes the board allows requested by?
      allowsReceivedDatebooleantruenoneDoes the board allows received date?
      allowsStartDatebooleantruenoneDoes the board allows start date?
      allowsEndDatebooleantruenoneDoes the board allows end date?
      allowsDueDatebooleantruenoneDoes the board allows due date?
      presentParentTaskstring|nullfalsenoneControls how to present the parent task: - prefix-with-full-path: add a prefix with the full path - prefix-with-parent: add a prefisx with the parent name - subtext-with-full-path: add a subtext with the full path - subtext-with-parent: add a subtext with the parent name - no-parent: does not show the parent at all
      startAtstring|nullfalsenoneStarting date of the board.
      dueAtstring|nullfalsenoneDue date of the board.
      endAtstring|nullfalsenoneEnd date of the board.
      spentTimenumber|nullfalsenoneTime spent in the board.
      isOvertimeboolean|nullfalsenoneIs the board overtimed?
      typestringtruenoneThe type of board
      sortnumbertruenoneSort value
      +

      Enumerated Values

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      PropertyValue
      permissionpublic
      permissionprivate
      colorbelize
      colornephritis
      colorpomegranate
      colorpumpkin
      colorwisteria
      colormoderatepink
      colorstrongcyan
      colorlimegreen
      colormidnight
      colordark
      colorrelax
      colorcorteza
      colorclearblue
      colornatural
      colormodern
      presentParentTaskprefix-with-full-path
      presentParentTaskprefix-with-parent
      presentParentTasksubtext-with-full-path
      presentParentTasksubtext-with-parent
      presentParentTaskno-parent
      +

      BoardsLabels

      +

      +
      {
      +  "_id": "string",
      +  "name": "string",
      +  "color": "green"
      +}
      +
      +
      +

      Properties

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      _idstringtruenoneUnique id of a label
      namestringfalsenoneName of a label
      colorstringtruenonecolor of a label. Can be amongst green, yellow, orange, red, purple, blue, sky, lime, pink, black, silver, peachpuff, crimson, plum, darkgreen, slateblue, magenta, gold, navy, gray, saddlebrown, paleturquoise, mistyrose, indigo
      +

      Enumerated Values

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      PropertyValue
      colorgreen
      coloryellow
      colororange
      colorred
      colorpurple
      colorblue
      colorsky
      colorlime
      colorpink
      colorblack
      colorsilver
      colorpeachpuff
      colorcrimson
      colorplum
      colordarkgreen
      colorslateblue
      colormagenta
      colorgold
      colornavy
      colorgray
      colorsaddlebrown
      colorpaleturquoise
      colormistyrose
      colorindigo
      +

      BoardsMembers

      +

      +
      {
      +  "userId": "string",
      +  "isAdmin": true,
      +  "isActive": true,
      +  "isNoComments": true,
      +  "isCommentOnly": true,
      +  "isWorker": true
      +}
      +
      +
      +

      Properties

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      userIdstringtruenoneThe uniq ID of the member
      isAdminbooleantruenoneIs the member an admin of the board?
      isActivebooleantruenoneIs the member active?
      isNoCommentsbooleanfalsenoneIs the member not allowed to make comments
      isCommentOnlybooleanfalsenoneIs the member only allowed to comment on the board
      isWorkerbooleanfalsenoneIs the member only allowed to move card, assign himself to card and comment
      +

      CardComments

      +

      +
      {
      +  "boardId": "string",
      +  "cardId": "string",
      +  "text": "string",
      +  "createdAt": "string",
      +  "modifiedAt": "string",
      +  "userId": "string"
      +}
      +
      +
      +

      A comment on a card

      +

      Properties

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      boardIdstringtruenonethe board ID
      cardIdstringtruenonethe card ID
      textstringtruenonethe text of the comment
      createdAtstringtruenonewhen was the comment created
      modifiedAtstringtruenonenone
      userIdstringtruenonethe author ID of the comment
      +

      Cards

      +

      +
      {
      +  "title": "string",
      +  "archived": true,
      +  "parentId": "string",
      +  "listId": "string",
      +  "swimlaneId": "string",
      +  "boardId": "string",
      +  "coverId": "string",
      +  "color": "white",
      +  "createdAt": "string",
      +  "modifiedAt": "string",
      +  "customFields": [
      +    {}
      +  ],
      +  "dateLastActivity": "string",
      +  "description": "string",
      +  "requestedBy": "string",
      +  "assignedBy": "string",
      +  "labelIds": [
      +    "string"
      +  ],
      +  "members": [
      +    "string"
      +  ],
      +  "assignees": [
      +    "string"
      +  ],
      +  "receivedAt": "string",
      +  "startAt": "string",
      +  "dueAt": "string",
      +  "endAt": "string",
      +  "spentTime": 0,
      +  "isOvertime": true,
      +  "userId": "string",
      +  "sort": 0,
      +  "subtaskSort": 0,
      +  "type": "string",
      +  "linkedId": "string",
      +  "vote": {
      +    "question": "string",
      +    "positive": [
      +      "string"
      +    ],
      +    "negative": [
      +      "string"
      +    ],
      +    "end": "string",
      +    "public": true,
      +    "allowNonBoardMembers": true
      +  }
      +}
      +
      +
      +

      Properties

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      titlestring|nullfalsenonethe title of the card
      archivedbooleantruenoneis the card archived
      parentIdstring|nullfalsenoneID of the parent card
      listIdstring|nullfalsenoneList ID where the card is
      swimlaneIdstringtruenoneSwimlane ID where the card is
      boardIdstring|nullfalsenoneBoard ID of the card
      coverIdstring|nullfalsenoneCover ID of the card
      colorstring|nullfalsenonenone
      createdAtstringtruenonecreation date
      modifiedAtstringtruenonenone
      customFields[CardsCustomfields]|nullfalsenonelist of custom fields
      dateLastActivitystringtruenoneDate of last activity
      descriptionstring|nullfalsenonedescription of the card
      requestedBystring|nullfalsenonewho requested the card (ID of the user)
      assignedBystring|nullfalsenonewho assigned the card (ID of the user)
      labelIds[string]|nullfalsenonelist of labels ID the card has
      members[string]|nullfalsenonelist of members (user IDs)
      assignees[string]|nullfalsenonewho is assignee of the card (user ID), maximum one ID of assignee in array.
      receivedAtstring|nullfalsenoneDate the card was received
      startAtstring|nullfalsenoneDate the card was started to be worked on
      dueAtstring|nullfalsenoneDate the card is due
      endAtstring|nullfalsenoneDate the card ended
      spentTimenumber|nullfalsenoneHow much time has been spent on this
      isOvertimeboolean|nullfalsenoneis the card over time?
      userIdstringtruenoneuser ID of the author of the card
      sortnumbertruenoneSort value
      subtaskSortnumber|nullfalsenonesubtask sort value
      typestringtruenonetype of the card
      linkedIdstring|nullfalsenoneID of the linked card
      voteCardsVotefalsenonevote object, see below
      +

      Enumerated Values

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      PropertyValue
      colorwhite
      colorgreen
      coloryellow
      colororange
      colorred
      colorpurple
      colorblue
      colorsky
      colorlime
      colorpink
      colorblack
      colorsilver
      colorpeachpuff
      colorcrimson
      colorplum
      colordarkgreen
      colorslateblue
      colormagenta
      colorgold
      colornavy
      colorgray
      colorsaddlebrown
      colorpaleturquoise
      colormistyrose
      colorindigo
      +

      CardsVote

      +

      +
      {
      +  "question": "string",
      +  "positive": [
      +    "string"
      +  ],
      +  "negative": [
      +    "string"
      +  ],
      +  "end": "string",
      +  "public": true,
      +  "allowNonBoardMembers": true
      +}
      +
      +
      +

      Properties

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      questionstringtruenonenone
      positive[string]falsenonelist of members (user IDs)
      negative[string]falsenonelist of members (user IDs)
      endstringfalsenonenone
      publicbooleantruenonenone
      allowNonBoardMembersbooleantruenonenone
      +

      CardsCustomfields

      +

      +
      {}
      +
      +
      +

      Properties

      +

      None

      +

      ChecklistItems

      +

      +
      {
      +  "title": "string",
      +  "sort": 0,
      +  "isFinished": true,
      +  "checklistId": "string",
      +  "cardId": "string",
      +  "createdAt": "string",
      +  "modifiedAt": "string"
      +}
      +
      +
      +

      An item in a checklist

      +

      Properties

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      titlestringtruenonethe text of the item
      sortnumbertruenonethe sorting field of the item
      isFinishedbooleantruenoneIs the item checked?
      checklistIdstringtruenonethe checklist ID the item is attached to
      cardIdstringtruenonethe card ID the item is attached to
      createdAtstring|nullfalsenonenone
      modifiedAtstringtruenonenone
      +

      Checklists

      +

      +
      {
      +  "cardId": "string",
      +  "title": "string",
      +  "finishedAt": "string",
      +  "createdAt": "string",
      +  "modifiedAt": "string",
      +  "sort": 0
      +}
      +
      +
      +

      A Checklist

      +

      Properties

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      cardIdstringtruenoneThe ID of the card the checklist is in
      titlestringtruenonethe title of the checklist
      finishedAtstring|nullfalsenoneWhen was the checklist finished
      createdAtstringtruenoneCreation date of the checklist
      modifiedAtstringtruenonenone
      sortnumbertruenonesorting value of the checklist
      +

      CustomFields

      +

      +
      {
      +  "boardIds": [
      +    "string"
      +  ],
      +  "name": "string",
      +  "type": "text",
      +  "settings": {
      +    "currencyCode": "string",
      +    "dropdownItems": [
      +      {}
      +    ]
      +  },
      +  "showOnCard": true,
      +  "automaticallyOnCard": true,
      +  "showLabelOnMiniCard": true,
      +  "createdAt": "string",
      +  "modifiedAt": "string"
      +}
      +
      +
      +

      A custom field on a card in the board

      +

      Properties

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      boardIds[string]truenonethe ID of the board
      namestringtruenonename of the custom field
      typestringtruenonetype of the custom field
      settingsCustomFieldsSettingstruenonesettings of the custom field
      showOnCardbooleantruenoneshould we show on the cards this custom field
      automaticallyOnCardbooleantruenoneshould the custom fields automatically be added on cards?
      showLabelOnMiniCardbooleantruenoneshould the label of the custom field be shown on minicards?
      createdAtstring|nullfalsenonenone
      modifiedAtstringtruenonenone
      +

      Enumerated Values

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      PropertyValue
      typetext
      typenumber
      typedate
      typedropdown
      typecurrency
      +

      CustomFieldsSettings

      +

      +
      {
      +  "currencyCode": "string",
      +  "dropdownItems": [
      +    {}
      +  ]
      +}
      +
      +
      +

      Properties

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      currencyCodestringfalsenonenone
      dropdownItems[CustomFieldsSettingsDropdownitems]falsenonelist of drop down items objects
      +

      CustomFieldsSettingsDropdownitems

      +

      +
      {}
      +
      +
      +

      Properties

      +

      None

      +

      Integrations

      +

      +
      {
      +  "enabled": true,
      +  "title": "string",
      +  "type": "string",
      +  "activities": [
      +    "string"
      +  ],
      +  "url": "string",
      +  "token": "string",
      +  "boardId": "string",
      +  "createdAt": "string",
      +  "modifiedAt": "string",
      +  "userId": "string"
      +}
      +
      +
      +

      Integration with third-party applications

      +

      Properties

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      enabledbooleantruenoneis the integration enabled?
      titlestring|nullfalsenonename of the integration
      typestringtruenonetype of the integratation (Default to 'outgoing-webhooks')
      activities[string]truenoneactivities the integration gets triggered (list)
      urlstringtruenonenone
      tokenstring|nullfalsenonetoken of the integration
      boardIdstringtruenoneBoard ID of the integration
      createdAtstringtruenoneCreation date of the integration
      modifiedAtstringtruenonenone
      userIdstringtruenoneuser ID who created the interation
      +

      Lists

      +

      +
      {
      +  "title": "string",
      +  "starred": true,
      +  "archived": true,
      +  "boardId": "string",
      +  "swimlaneId": "string",
      +  "createdAt": "string",
      +  "sort": 0,
      +  "updatedAt": "string",
      +  "modifiedAt": "string",
      +  "wipLimit": {
      +    "value": 0,
      +    "enabled": true,
      +    "soft": true
      +  },
      +  "color": "white",
      +  "type": "string"
      +}
      +
      +
      +

      A list (column) in the Wekan board.

      +

      Properties

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      titlestringtruenonethe title of the list
      starredboolean|nullfalsenoneif a list is stared then we put it on the top
      archivedbooleantruenoneis the list archived
      boardIdstringtruenonethe board associated to this list
      swimlaneIdstringtruenonethe swimlane associated to this list. Used for templates
      createdAtstringtruenonecreation date
      sortnumber|nullfalsenoneis the list sorted
      updatedAtstring|nullfalsenonelast update of the list
      modifiedAtstringtruenonenone
      wipLimitListsWiplimitfalsenoneWIP object, see below
      colorstring|nullfalsenonethe color of the list
      typestringtruenoneThe type of list
      +

      Enumerated Values

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      PropertyValue
      colorwhite
      colorgreen
      coloryellow
      colororange
      colorred
      colorpurple
      colorblue
      colorsky
      colorlime
      colorpink
      colorblack
      colorpeachpuff
      colorcrimson
      colorplum
      colordarkgreen
      colorslateblue
      colormagenta
      colorgold
      colornavy
      colorgray
      colorsaddlebrown
      colorpaleturquoise
      colormistyrose
      colorindigo
      +

      ListsWiplimit

      +

      +
      {
      +  "value": 0,
      +  "enabled": true,
      +  "soft": true
      +}
      +
      +
      +

      Properties

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      valuenumbertruenonevalue of the WIP
      enabledbooleantruenoneis the WIP enabled
      softbooleantruenoneis the WIP a soft or hard requirement
      +

      Swimlanes

      +

      +
      {
      +  "title": "string",
      +  "archived": true,
      +  "boardId": "string",
      +  "createdAt": "string",
      +  "sort": 0,
      +  "color": "white",
      +  "updatedAt": "string",
      +  "modifiedAt": "string",
      +  "type": "string"
      +}
      +
      +
      +

      A swimlane is an line in the kaban board.

      +

      Properties

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      titlestringtruenonethe title of the swimlane
      archivedbooleantruenoneis the swimlane archived?
      boardIdstringtruenonethe ID of the board the swimlane is attached to
      createdAtstringtruenonecreation date of the swimlane
      sortnumber|nullfalsenonethe sort value of the swimlane
      colorstring|nullfalsenonethe color of the swimlane
      updatedAtstring|nullfalsenonewhen was the swimlane last edited
      modifiedAtstringtruenonenone
      typestringtruenoneThe type of swimlane
      +

      Enumerated Values

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      PropertyValue
      colorwhite
      colorgreen
      coloryellow
      colororange
      colorred
      colorpurple
      colorblue
      colorsky
      colorlime
      colorpink
      colorblack
      colorpeachpuff
      colorcrimson
      colorplum
      colordarkgreen
      colorslateblue
      colormagenta
      colorgold
      colornavy
      colorgray
      colorsaddlebrown
      colorpaleturquoise
      colormistyrose
      colorindigo
      +

      Users

      +

      +
      {
      +  "username": "string",
      +  "emails": [
      +    {
      +      "address": "string",
      +      "verified": true
      +    }
      +  ],
      +  "createdAt": "string",
      +  "modifiedAt": "string",
      +  "profile": {
      +    "avatarUrl": "string",
      +    "emailBuffer": [
      +      "string"
      +    ],
      +    "fullname": "string",
      +    "showDesktopDragHandles": true,
      +    "hideCheckedItems": true,
      +    "hiddenSystemMessages": true,
      +    "hiddenMinicardLabelText": true,
      +    "initials": "string",
      +    "invitedBoards": [
      +      "string"
      +    ],
      +    "language": "string",
      +    "notifications": [],
      +    "activity": "string",
      +    "read": "string",
      +    "showCardsCountAt": 0,
      +    "startDayOfWeek": 0,
      +    "starredBoards": [
      +      "string"
      +    ],
      +    "icode": "string",
      +    "boardView": "board-view-swimlanes",
      +    "listSortBy": "-modifiedat",
      +    "templatesBoardId": "string",
      +    "cardTemplatesSwimlaneId": "string",
      +    "listTemplatesSwimlaneId": "string",
      +    "boardTemplatesSwimlaneId": "string"
      +  },
      +  "services": {},
      +  "heartbeat": "string",
      +  "isAdmin": true,
      +  "createdThroughApi": true,
      +  "loginDisabled": true,
      +  "authenticationMethod": "string"
      +}
      +
      +
      +

      A User in wekan

      +

      Properties

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      usernamestring|nullfalsenonethe username of the user
      emails[UsersEmails]|nullfalsenonethe list of emails attached to a user
      createdAtstringtruenonecreation date of the user
      modifiedAtstringtruenonenone
      profileUsersProfilefalsenoneprofile settings
      servicesobject|nullfalsenoneservices field of the user
      heartbeatstring|nullfalsenonelast time the user has been seen
      isAdminboolean|nullfalsenoneis the user an admin of the board?
      createdThroughApiboolean|nullfalsenonewas the user created through the API?
      loginDisabledboolean|nullfalsenoneloginDisabled field of the user
      authenticationMethodstringtruenoneauthentication method of the user
      +

      UsersEmails

      +

      +
      {
      +  "address": "string",
      +  "verified": true
      +}
      +
      +
      +

      Properties

      + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      addressstringtruenoneThe email address
      verifiedbooleantruenoneHas the email been verified
      +

      UsersProfile

      +

      +
      {
      +  "avatarUrl": "string",
      +  "emailBuffer": [
      +    "string"
      +  ],
      +  "fullname": "string",
      +  "showDesktopDragHandles": true,
      +  "hideCheckedItems": true,
      +  "hiddenSystemMessages": true,
      +  "hiddenMinicardLabelText": true,
      +  "initials": "string",
      +  "invitedBoards": [
      +    "string"
      +  ],
      +  "language": "string",
      +  "notifications": [],
      +  "activity": "string",
      +  "read": "string",
      +  "showCardsCountAt": 0,
      +  "startDayOfWeek": 0,
      +  "starredBoards": [
      +    "string"
      +  ],
      +  "icode": "string",
      +  "boardView": "board-view-swimlanes",
      +  "listSortBy": "-modifiedat",
      +  "templatesBoardId": "string",
      +  "cardTemplatesSwimlaneId": "string",
      +  "listTemplatesSwimlaneId": "string",
      +  "boardTemplatesSwimlaneId": "string"
      +}
      +
      +
      +

      Properties

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      NameTypeRequiredRestrictionsDescription
      avatarUrlstringfalsenoneURL of the avatar of the user
      emailBuffer[string]falsenonelist of email buffers of the user
      fullnamestringfalsenonefull name of the user
      showDesktopDragHandlesbooleanfalsenonedoes the user want to hide system messages?
      hideCheckedItemsbooleanfalsenonedoes the user want to hide checked checklist items?
      hiddenSystemMessagesbooleanfalsenonedoes the user want to hide system messages?
      hiddenMinicardLabelTextbooleanfalsenonedoes the user want to hide minicard label texts?
      initialsstringfalsenoneinitials of the user
      invitedBoards[string]falsenoneboard IDs the user has been invited to
      languagestringfalsenonelanguage of the user
      notifications[UsersProfileNotifications]falsenoneenabled notifications for the user
      activitystringtruenoneThe id of the activity this notification references
      readstringfalsenonethe date on which this notification was read
      showCardsCountAtnumberfalsenoneshowCardCountAt field of the user
      startDayOfWeeknumberfalsenonestartDayOfWeek field of the user
      starredBoards[string]falsenonelist of starred board IDs
      icodestringfalsenoneicode
      boardViewstringfalsenoneboardView field of the user
      listSortBystringfalsenonedefault sort list for user
      templatesBoardIdstringtruenoneReference to the templates board
      cardTemplatesSwimlaneIdstringtruenoneReference to the card templates swimlane Id
      listTemplatesSwimlaneIdstringtruenoneReference to the list templates swimlane Id
      boardTemplatesSwimlaneIdstringtruenoneReference to the board templates swimlane Id
      +

      Enumerated Values

      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      PropertyValue
      boardViewboard-view-swimlanes
      boardViewboard-view-lists
      boardViewboard-view-cal
      listSortBy-modifiedat
      listSortBymodifiedat
      listSortBy-title
      listSortBytitle
      listSortBy-sort
      listSortBysort
      + +
      +
      + +
      + + + Shell + + + + HTTP + + + + JavaScript + + + + Node.js + + + + Ruby + + + + Python + + + + Java + + + + Go + + +
      + +
      +
      + + diff --git a/public/api/wekan.yml b/public/api/wekan.yml new file mode 100644 index 0000000..3e521db --- /dev/null +++ b/public/api/wekan.yml @@ -0,0 +1,3439 @@ +swagger: '2.0' +info: + title: Wekan REST API + version: v4.25 + description: | + The REST API allows you to control and extend Wekan with ease. + + If you are an end-user and not a dev or a tester, [create an issue](https://github.com/wekan/wekan/issues/new) to request new APIs. + + > All API calls in the documentation are made using `curl`. However, you are free to use Java / Python / PHP / Golang / Ruby / Swift / Objective-C / Rust / Scala / C# or any other programming languages. + + # Production Security Concerns + When calling a production Wekan server, ensure it is running via HTTPS and has a valid SSL Certificate. The login method requires you to post your username and password in plaintext, which is why we highly suggest only calling the REST login api over HTTPS. Also, few things to note: + + * Only call via HTTPS + * Implement a timed authorization token expiration strategy + * Ensure the calling user only has permissions for what they are calling and no more + +schemes: + - http + +securityDefinitions: + UserSecurity: + type: apiKey + in: header + name: Authorization + +paths: + /users/login: + post: + operationId: login + summary: Login with REST API + consumes: + - application/x-www-form-urlencoded + - application/json + tags: + - Login + parameters: + - name: username + in: formData + required: true + description: | + Your username + type: string + - name: password + in: formData + required: true + description: | + Your password + type: string + format: password + responses: + 200: + description: |- + Successful authentication + schema: + items: + properties: + id: + type: string + token: + type: string + tokenExpires: + type: string + 400: + description: | + Error in authentication + schema: + items: + properties: + error: + type: number + reason: + type: string + default: + description: | + Error in authentication + /users/register: + post: + operationId: register + summary: Register with REST API + description: | + Notes: + - You will need to provide the token for any of the authenticated methods. + consumes: + - application/x-www-form-urlencoded + - application/json + tags: + - Login + parameters: + - name: username + in: formData + required: true + description: | + Your username + type: string + - name: password + in: formData + required: true + description: | + Your password + type: string + format: password + - name: email + in: formData + required: true + description: | + Your email + type: string + responses: + 200: + description: |- + Successful registration + schema: + items: + properties: + id: + type: string + token: + type: string + tokenExpires: + type: string + 400: + description: | + Error in registration + schema: + items: + properties: + error: + type: number + reason: + type: string + default: + description: | + Error in registration + + /api/boards: + get: + operationId: get_public_boards + summary: Get all public boards + tags: + - Boards + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: array + items: + type: object + properties: + _id: + type: string + title: + type: string + post: + operationId: new_board + summary: Create a board + description: | + This allows to create a board. + + The color has to be chosen between `belize`, `nephritis`, `pomegranate`, + `pumpkin`, `wisteria`, `moderatepink`, `strongcyan`, + `limegreen`, `midnight`, `dark`, `relax`, `corteza`: + + Wekan logo + tags: + - Boards + consumes: + - multipart/form-data + - application/json + parameters: + - name: title + in: formData + description: | + the new title of the board + type: string + required: true + - name: owner + in: formData + description: | + "ABCDE12345" <= User ID in Wekan. + (Not username or email) + type: string + required: true + - name: isAdmin + in: formData + description: | + is the owner an admin of the board (default true) + type: boolean + required: false + - name: isActive + in: formData + description: | + is the board active (default true) + type: boolean + required: false + - name: isNoComments + in: formData + description: | + disable comments (default false) + type: boolean + required: false + - name: isCommentOnly + in: formData + description: | + only enable comments (default false) + type: boolean + required: false + - name: isWorker + in: formData + description: | + only move cards, assign himself to card and comment (default false) + type: boolean + required: false + - name: permission + in: formData + description: | + "private" board <== Set to "public" if you + want public Wekan board + type: string + required: false + - name: color + in: formData + description: | + the color of the board + type: string + required: false + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: object + properties: + _id: + type: string + defaultSwimlaneId: + type: string + /api/boards/{board}: + get: + operationId: get_board + summary: Get the board with that particular ID + tags: + - Boards + parameters: + - name: board + in: path + description: | + the ID of the board to retrieve the data + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + $ref: "#/definitions/Boards" + delete: + operationId: delete_board + summary: Delete a board + tags: + - Boards + parameters: + - name: board + in: path + description: | + the ID of the board + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + /api/boards/{board}/cards/{card}/checklists: + get: + operationId: get_all_checklists + summary: Get the list of checklists attached to a card + tags: + - Checklists + parameters: + - name: board + in: path + description: | + the board ID + type: string + required: true + - name: card + in: path + description: | + the card ID + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: array + items: + type: object + properties: + _id: + type: string + title: + type: string + post: + operationId: new_checklist + summary: create a new checklist + tags: + - Checklists + consumes: + - multipart/form-data + - application/json + parameters: + - name: title + in: formData + description: | + the title of the new checklist + type: string + required: true + - name: items + in: formData + description: | + the list of items on the new checklist + type: string + required: false + - name: board + in: path + description: | + the board ID + type: string + required: true + - name: card + in: path + description: | + the card ID + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: object + properties: + _id: + type: string + /api/boards/{board}/cards/{card}/checklists/{checklist}: + get: + operationId: get_checklist + summary: Get a checklist + tags: + - Checklists + parameters: + - name: board + in: path + description: | + the board ID + type: string + required: true + - name: card + in: path + description: | + the card ID + type: string + required: true + - name: checklist + in: path + description: | + the ID of the checklist + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: object + properties: + cardId: + type: string + title: + type: string + finishedAt: + type: string + createdAt: + type: string + sort: + type: number + items: + type: array + items: + type: object + properties: + _id: + type: string + title: + type: string + isFinished: + type: boolean + delete: + operationId: delete_checklist + summary: Delete a checklist + description: | + The checklist will be removed, not put in the recycle bin. + tags: + - Checklists + parameters: + - name: board + in: path + description: | + the board ID + type: string + required: true + - name: card + in: path + description: | + the card ID + type: string + required: true + - name: checklist + in: path + description: | + the ID of the checklist to remove + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: object + properties: + _id: + type: string + /api/boards/{board}/cards/{card}/checklists/{checklist}/items/{item}: + get: + operationId: get_checklist_item + summary: Get a checklist item + tags: + - ChecklistItems + - Checklists + parameters: + - name: board + in: path + description: | + the board ID + type: string + required: true + - name: card + in: path + description: | + the card ID + type: string + required: true + - name: checklist + in: path + description: | + the checklist ID + type: string + required: true + - name: item + in: path + description: | + the ID of the item + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + $ref: "#/definitions/ChecklistItems" + put: + operationId: edit_checklist_item + summary: Edit a checklist item + tags: + - ChecklistItems + - Checklists + consumes: + - multipart/form-data + - application/json + parameters: + - name: isFinished + in: formData + description: | + is the item checked? + type: string + required: false + - name: title + in: formData + description: | + the new text of the item + type: string + required: false + - name: board + in: path + description: | + the board ID + type: string + required: true + - name: card + in: path + description: | + the card ID + type: string + required: true + - name: checklist + in: path + description: | + the checklist ID + type: string + required: true + - name: item + in: path + description: | + the ID of the item + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: object + properties: + _id: + type: string + delete: + operationId: delete_checklist_item + summary: Delete a checklist item + description: | + Note: this operation can't be reverted. + tags: + - ChecklistItems + - Checklists + parameters: + - name: board + in: path + description: | + the board ID + type: string + required: true + - name: card + in: path + description: | + the card ID + type: string + required: true + - name: checklist + in: path + description: | + the checklist ID + type: string + required: true + - name: item + in: path + description: | + the ID of the item to be removed + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: object + properties: + _id: + type: string + /api/boards/{board}/cards/{card}/comments: + get: + operationId: get_all_comments + summary: Get all comments attached to a card + tags: + - CardComments + parameters: + - name: board + in: path + description: | + the board ID of the card + type: string + required: true + - name: card + in: path + description: | + the ID of the card + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: array + items: + type: object + properties: + _id: + type: string + comment: + type: string + authorId: + type: string + post: + operationId: new_comment + summary: Add a comment on a card + tags: + - CardComments + consumes: + - multipart/form-data + - application/json + parameters: + - name: authorId + in: formData + description: | + the user who 'posted' the comment + type: string + required: true + - name: comment + in: formData + description: the comment value + type: string + required: true + - name: board + in: path + description: | + the board ID of the card + type: string + required: true + - name: card + in: path + description: | + the ID of the card + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: object + properties: + _id: + type: string + /api/boards/{board}/cards/{card}/comments/{comment}: + get: + operationId: get_comment + summary: Get a comment on a card + tags: + - CardComments + parameters: + - name: board + in: path + description: | + the board ID of the card + type: string + required: true + - name: card + in: path + description: | + the ID of the card + type: string + required: true + - name: comment + in: path + description: | + the ID of the comment to retrieve + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + $ref: "#/definitions/CardComments" + delete: + operationId: delete_comment + summary: Delete a comment on a card + tags: + - CardComments + parameters: + - name: board + in: path + description: | + the board ID of the card + type: string + required: true + - name: card + in: path + description: | + the ID of the card + type: string + required: true + - name: comment + in: path + description: | + the ID of the comment to delete + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: object + properties: + _id: + type: string + /api/boards/{board}/cardsByCustomField/{customField}/{customFieldValue}: + get: + operationId: get_cards_by_custom_field + summary: Get all Cards that matchs a value of a specific custom field + tags: + - Cards + parameters: + - name: board + in: path + description: | + the board ID + type: string + required: true + - name: customField + in: path + description: | + the list ID + type: string + required: true + - name: customFieldValue + in: path + description: | + the value to look for + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: array + items: + type: object + properties: + _id: + type: string + title: + type: string + description: + type: string + listId: + type: string + swinlaneId: + type: string + /api/boards/{board}/custom-fields: + get: + operationId: get_all_custom_fields + summary: Get the list of Custom Fields attached to a board + tags: + - CustomFields + parameters: + - name: board + in: path + description: the board value + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: array + items: + type: object + properties: + _id: + type: string + name: + type: string + type: + type: string + post: + operationId: new_custom_field + summary: Create a Custom Field + tags: + - CustomFields + consumes: + - multipart/form-data + - application/json + parameters: + - name: name + in: formData + description: | + the name of the custom field + type: string + required: true + - name: type + in: formData + description: | + the type of the custom field + type: string + required: true + - name: settings + in: formData + description: | + the settings object of the custom field + type: string + required: true + - name: showOnCard + in: formData + description: | + should we show the custom field on cards? + type: boolean + required: true + - name: automaticallyOnCard + in: formData + description: | + should the custom fields automatically be added on cards? + type: boolean + required: true + - name: showLabelOnMiniCard + in: formData + description: | + should the label of the custom field be shown on minicards? + type: boolean + required: true + - name: authorId + in: formData + description: the authorId value + type: string + required: true + - name: board + in: path + description: the board value + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: object + properties: + _id: + type: string + /api/boards/{board}/custom-fields/{customField}: + get: + operationId: get_custom_field + summary: Get a Custom Fields attached to a board + tags: + - CustomFields + parameters: + - name: board + in: path + description: the board value + type: string + required: true + - name: customField + in: path + description: | + the ID of the custom field + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + $ref: "#/definitions/CustomFields" + delete: + operationId: delete_custom_field + summary: Delete a Custom Fields attached to a board + description: | + The Custom Field can't be retrieved after this operation + tags: + - CustomFields + parameters: + - name: board + in: path + description: the board value + type: string + required: true + - name: customField + in: path + description: | + the ID of the custom field + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: object + properties: + _id: + type: string + /api/boards/{board}/export: + get: + operationId: exportJson + summary: This route is used to export the board to a json file format. + description: | + If user is already logged-in, pass loginToken as param + "authToken": '/api/boards/:boardId/export?authToken=:token' + + See https://blog.kayla.com.au/server-side-route-authentication-in-meteor/ + for detailed explanations + tags: + - Boards + parameters: + - name: board + in: path + description: | + the ID of the board we are exporting + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + /api/boards/{board}/integrations: + get: + operationId: get_all_integrations + summary: Get all integrations in board + tags: + - Integrations + parameters: + - name: board + in: path + description: | + the board ID + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: array + items: + $ref: "#/definitions/Integrations" + post: + operationId: new_integration + summary: Create a new integration + tags: + - Integrations + consumes: + - multipart/form-data + - application/json + parameters: + - name: url + in: formData + description: | + the URL of the integration + type: string + required: true + - name: board + in: path + description: | + the board ID + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: object + properties: + _id: + type: string + /api/boards/{board}/integrations/{int}: + get: + operationId: get_integration + summary: Get a single integration in board + tags: + - Integrations + parameters: + - name: board + in: path + description: | + the board ID + type: string + required: true + - name: int + in: path + description: | + the integration ID + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + $ref: "#/definitions/Integrations" + put: + operationId: edit_integration + summary: Edit integration data + tags: + - Integrations + consumes: + - multipart/form-data + - application/json + parameters: + - name: enabled + in: formData + description: | + is the integration enabled? + type: string + required: false + - name: title + in: formData + description: | + new name of the integration + type: string + required: false + - name: url + in: formData + description: | + new URL of the integration + type: string + required: false + - name: token + in: formData + description: | + new token of the integration + type: string + required: false + - name: activities + in: formData + description: | + new list of activities of the integration + type: string + required: false + - name: board + in: path + description: | + the board ID + type: string + required: true + - name: int + in: path + description: | + the integration ID + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: object + properties: + _id: + type: string + delete: + operationId: delete_integration + summary: Delete integration + tags: + - Integrations + parameters: + - name: board + in: path + description: | + the board ID + type: string + required: true + - name: int + in: path + description: | + the integration ID + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: object + properties: + _id: + type: string + /api/boards/{board}/integrations/{int}/activities: + delete: + operationId: delete_integration_activities + summary: Delete subscribed activities + tags: + - Integrations + parameters: + - name: board + in: path + description: | + the board ID + type: string + required: true + - name: int + in: path + description: | + the integration ID + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + $ref: "#/definitions/Integrations" + post: + operationId: new_integration_activities + summary: Add subscribed activities + tags: + - Integrations + consumes: + - multipart/form-data + - application/json + parameters: + - name: activities + in: formData + description: the activities value + type: string + required: true + - name: board + in: path + description: | + the board ID + type: string + required: true + - name: int + in: path + description: | + the integration ID + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + $ref: "#/definitions/Integrations" + /api/boards/{board}/labels: + put: + operationId: add_board_label + summary: Add a label to a board + description: | + If the board doesn't have the name/color label, this function + adds the label to the board. + tags: + - Boards + consumes: + - multipart/form-data + - application/json + parameters: + - name: label + in: formData + description: the label value + type: string + required: true + - name: board + in: path + description: | + the board + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: string + /api/boards/{board}/lists: + get: + operationId: get_all_lists + summary: Get the list of Lists attached to a board + tags: + - Lists + parameters: + - name: board + in: path + description: | + the board ID + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: array + items: + type: object + properties: + _id: + type: string + title: + type: string + post: + operationId: new_list + summary: Add a List to a board + tags: + - Lists + consumes: + - multipart/form-data + - application/json + parameters: + - name: title + in: formData + description: | + the title of the List + type: string + required: true + - name: board + in: path + description: | + the board ID + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: object + properties: + _id: + type: string + /api/boards/{board}/lists/{list}: + get: + operationId: get_list + summary: Get a List attached to a board + tags: + - Lists + parameters: + - name: board + in: path + description: | + the board ID + type: string + required: true + - name: list + in: path + description: | + the List ID + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + $ref: "#/definitions/Lists" + delete: + operationId: delete_list + summary: Delete a List + description: | + This **deletes** a list from a board. + The list is not put in the recycle bin. + tags: + - Lists + parameters: + - name: board + in: path + description: | + the board ID + type: string + required: true + - name: list + in: path + description: | + the ID of the list to remove + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: object + properties: + _id: + type: string + /api/boards/{board}/lists/{list}/cards: + get: + operationId: get_all_cards + summary: Get all Cards attached to a List + tags: + - Cards + parameters: + - name: board + in: path + description: | + the board ID + type: string + required: true + - name: list + in: path + description: | + the list ID + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: array + items: + type: object + properties: + _id: + type: string + title: + type: string + description: + type: string + post: + operationId: new_card + summary: Create a new Card + tags: + - Cards + consumes: + - multipart/form-data + - application/json + parameters: + - name: authorId + in: formData + description: the authorId value + type: string + required: true + - name: members + in: formData + description: | + the member IDs list of the new card + type: string + required: false + - name: assignees + in: formData + description: | + the array of maximum one ID of assignee of the new card + type: string + required: false + - name: title + in: formData + description: | + the title of the new card + type: string + required: true + - name: description + in: formData + description: | + the description of the new card + type: string + required: true + - name: swimlaneId + in: formData + description: | + the swimlane ID of the new card + type: string + required: true + - name: board + in: path + description: | + the board ID of the new card + type: string + required: true + - name: list + in: path + description: | + the list ID of the new card + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: object + properties: + _id: + type: string + /api/boards/{board}/lists/{list}/cards/{card}: + get: + operationId: get_card + summary: Get a Card + tags: + - Cards + parameters: + - name: board + in: path + description: | + the board ID + type: string + required: true + - name: list + in: path + description: | + the list ID of the card + type: string + required: true + - name: card + in: path + description: | + the card ID + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + $ref: "#/definitions/Cards" + put: + operationId: edit_card + summary: Edit Fields in a Card + description: | + Edit a card + + The color has to be chosen between `white`, `green`, `yellow`, `orange`, + `red`, `purple`, `blue`, `sky`, `lime`, `pink`, `black`, `silver`, + `peachpuff`, `crimson`, `plum`, `darkgreen`, `slateblue`, `magenta`, + `gold`, `navy`, `gray`, `saddlebrown`, `paleturquoise`, `mistyrose`, + `indigo`: + + Wekan card colors + + Note: setting the color to white has the same effect than removing it. + tags: + - Cards + consumes: + - multipart/form-data + - application/json + parameters: + - name: title + in: formData + description: | + the new title of the card + type: string + required: false + - name: parentId + in: formData + description: | + change the parent of the card + type: string + required: false + - name: description + in: formData + description: | + the new description of the card + type: string + required: false + - name: color + in: formData + description: | + the new color of the card + type: string + required: false + - name: vote + in: formData + description: | + the vote object + type: object + required: false + - name: labelIds + in: formData + description: | + the new list of label IDs attached to the card + type: string + required: false + - name: requestedBy + in: formData + description: | + the new requestedBy field of the card + type: string + required: false + - name: assignedBy + in: formData + description: | + the new assignedBy field of the card + type: string + required: false + - name: receivedAt + in: formData + description: | + the new receivedAt field of the card + type: string + required: false + - name: startAt + in: formData + description: | + the new startAt field of the card + type: string + required: false + - name: dueAt + in: formData + description: | + the new dueAt field of the card + type: string + required: false + - name: endAt + in: formData + description: | + the new endAt field of the card + type: string + required: false + - name: spentTime + in: formData + description: | + the new spentTime field of the card + type: string + required: false + - name: isOverTime + in: formData + description: | + the new isOverTime field of the card + type: boolean + required: false + - name: customFields + in: formData + description: | + the new customFields value of the card + type: string + required: false + - name: members + in: formData + description: | + the new list of member IDs attached to the card + type: string + required: false + - name: assignees + in: formData + description: | + the array of maximum one ID of assignee attached to the card + type: string + required: false + - name: swimlaneId + in: formData + description: | + the new swimlane ID of the card + type: string + required: false + - name: listId + in: formData + description: | + the new list ID of the card (move operation) + type: string + required: false + - name: authorId + in: formData + description: | + change the owner of the card + type: string + required: false + - name: board + in: path + description: | + the board ID of the card + type: string + required: true + - name: list + in: path + description: | + the list ID of the card + type: string + required: true + - name: card + in: path + description: | + the ID of the card + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: object + properties: + _id: + type: string + delete: + operationId: delete_card + summary: Delete a card from a board + description: | + This operation **deletes** a card, and therefore the card + is not put in the recycle bin. + tags: + - Cards + parameters: + - name: board + in: path + description: | + the board ID of the card + type: string + required: true + - name: list + in: path + description: | + the list ID of the card + type: string + required: true + - name: card + in: path + description: | + the ID of the card + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: object + properties: + _id: + type: string + /api/boards/{board}/members/{member}: + post: + operationId: set_board_member_permission + summary: Change the permission of a member of a board + tags: + - Boards + - Users + consumes: + - multipart/form-data + - application/json + parameters: + - name: isAdmin + in: formData + description: | + admin capability + type: boolean + required: true + - name: isNoComments + in: formData + description: | + NoComments capability + type: boolean + required: true + - name: isCommentOnly + in: formData + description: | + CommentsOnly capability + type: boolean + required: true + - name: isWorker + in: formData + description: | + Worker capability + type: boolean + required: true + - name: board + in: path + description: | + the ID of the board that we are changing + type: string + required: true + - name: member + in: path + description: | + the ID of the user to change permissions + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + /api/boards/{board}/members/{user}/add: + post: + operationId: add_board_member + summary: Add New Board Member with Role + description: | + Only the admin user (the first user) can call the REST API. + + **Note**: see [Boards.set_board_member_permission](#set_board_member_permission) + to later change the permissions. + tags: + - Users + - Boards + consumes: + - multipart/form-data + - application/json + parameters: + - name: action + in: formData + description: the action value + type: string + required: true + - name: isAdmin + in: formData + description: | + is the user an admin of the board + type: boolean + required: true + - name: isNoComments + in: formData + description: | + disable comments + type: boolean + required: true + - name: isCommentOnly + in: formData + description: | + only enable comments + type: boolean + required: true + - name: board + in: path + description: | + the board ID + type: string + required: true + - name: user + in: path + description: | + the user ID + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: object + properties: + _id: + type: string + title: + type: string + /api/boards/{board}/members/{user}/remove: + post: + operationId: remove_board_member + summary: Remove Member from Board + description: | + Only the admin user (the first user) can call the REST API. + tags: + - Users + - Boards + consumes: + - multipart/form-data + - application/json + parameters: + - name: action + in: formData + description: | + the action (needs to be `remove`) + type: string + required: true + - name: board + in: path + description: | + the board ID + type: string + required: true + - name: user + in: path + description: | + the user ID + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: object + properties: + _id: + type: string + title: + type: string + /api/boards/{board}/swimlanes: + get: + operationId: get_all_swimlanes + summary: Get the list of swimlanes attached to a board + tags: + - Swimlanes + parameters: + - name: board + in: path + description: | + the ID of the board + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: array + items: + type: object + properties: + _id: + type: string + title: + type: string + post: + operationId: new_swimlane + summary: Add a swimlane to a board + tags: + - Swimlanes + consumes: + - multipart/form-data + - application/json + parameters: + - name: title + in: formData + description: | + the new title of the swimlane + type: string + required: true + - name: board + in: path + description: | + the ID of the board + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: object + properties: + _id: + type: string + /api/boards/{board}/swimlanes/{swimlane}: + get: + operationId: get_swimlane + summary: Get a swimlane + tags: + - Swimlanes + parameters: + - name: board + in: path + description: | + the ID of the board + type: string + required: true + - name: swimlane + in: path + description: | + the ID of the swimlane + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + $ref: "#/definitions/Swimlanes" + delete: + operationId: delete_swimlane + summary: Delete a swimlane + description: | + The swimlane will be deleted, not moved to the recycle bin + tags: + - Swimlanes + parameters: + - name: board + in: path + description: | + the ID of the board + type: string + required: true + - name: swimlane + in: path + description: | + the ID of the swimlane + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: object + properties: + _id: + type: string + /api/boards/{board}/swimlanes/{swimlane}/cards: + get: + operationId: get_swimlane_cards + summary: get all cards attached to a swimlane + tags: + - Cards + parameters: + - name: board + in: path + description: | + the board ID + type: string + required: true + - name: swimlane + in: path + description: | + the swimlane ID + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: array + items: + type: object + properties: + _id: + type: string + title: + type: string + description: + type: string + listId: + type: string + /api/user: + get: + operationId: get_current_user + summary: returns the current user + tags: + - Users + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + $ref: "#/definitions/Users" + /api/users: + get: + operationId: get_all_users + summary: return all the users + description: | + Only the admin user (the first user) can call the REST API. + tags: + - Users + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: array + items: + type: object + properties: + _id: + type: string + username: + type: string + post: + operationId: new_user + summary: Create a new user + description: | + Only the admin user (the first user) can call the REST API. + tags: + - Users + consumes: + - multipart/form-data + - application/json + parameters: + - name: username + in: formData + description: | + the new username + type: string + required: true + - name: email + in: formData + description: | + the email of the new user + type: string + required: true + - name: password + in: formData + description: | + the password of the new user + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: object + properties: + _id: + type: string + /api/users/{user}: + get: + operationId: get_user + summary: get a given user + description: | + Only the admin user (the first user) can call the REST API. + tags: + - Users + parameters: + - name: user + in: path + description: | + the user ID + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + $ref: "#/definitions/Users" + put: + operationId: edit_user + summary: edit a given user + description: | + Only the admin user (the first user) can call the REST API. + + Possible values for *action*: + - `takeOwnership`: The admin takes the ownership of ALL boards of the user (archived and not archived) where the user is admin on. + - `disableLogin`: Disable a user (the user is not allowed to login and his login tokens are purged) + - `enableLogin`: Enable a user + tags: + - Users + consumes: + - multipart/form-data + - application/json + parameters: + - name: action + in: formData + description: | + the action + type: string + required: true + - name: user + in: path + description: | + the user ID + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: object + properties: + _id: + type: string + title: + type: string + delete: + operationId: delete_user + summary: Delete a user + description: | + Only the admin user (the first user) can call the REST API. + tags: + - Users + parameters: + - name: user + in: path + description: | + the ID of the user to delete + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: object + properties: + _id: + type: string + /api/users/{user}/boards: + get: + operationId: get_boards_from_user + summary: Get all boards attached to a user + tags: + - Boards + parameters: + - name: user + in: path + description: | + the ID of the user to retrieve the data + type: string + required: true + produces: + - application/json + security: + - UserSecurity: [] + responses: + '200': + description: |- + 200 response + schema: + type: array + items: + type: object + properties: + _id: + type: string + title: + type: string +definitions: + Boards: + type: object + description: This is a Board. + properties: + title: + description: | + The title of the board + type: string + slug: + description: | + The title slugified. + type: string + archived: + description: | + Is the board archived? + type: boolean + createdAt: + description: | + Creation time of the board + type: string + modifiedAt: + description: | + Last modification time of the board + type: string + x-nullable: true + stars: + description: | + How many stars the board has + type: number + labels: + description: | + List of labels attached to a board + type: array + items: + $ref: "#/definitions/BoardsLabels" + members: + description: | + List of members of a board + type: array + items: + $ref: "#/definitions/BoardsMembers" + permission: + description: | + visibility of the board + type: string + enum: + - public + - private + color: + description: | + The color of the board. + type: string + enum: + - belize + - nephritis + - pomegranate + - pumpkin + - wisteria + - moderatepink + - strongcyan + - limegreen + - midnight + - dark + - relax + - corteza + - clearblue + - natural + - modern + description: + description: | + The description of the board + type: string + x-nullable: true + subtasksDefaultBoardId: + description: | + The default board ID assigned to subtasks. + type: string + x-nullable: true + subtasksDefaultListId: + description: | + The default List ID assigned to subtasks. + type: string + x-nullable: true + dateSettingsDefaultBoardId: + type: string + x-nullable: true + dateSettingsDefaultListId: + type: string + x-nullable: true + allowsSubtasks: + description: | + Does the board allows subtasks? + type: boolean + allowsAttachments: + description: | + Does the board allows attachments? + type: boolean + allowsChecklists: + description: | + Does the board allows checklists? + type: boolean + allowsComments: + description: | + Does the board allows comments? + type: boolean + allowsDescriptionTitle: + description: | + Does the board allows description title? + type: boolean + allowsDescriptionText: + description: | + Does the board allows description text? + type: boolean + allowsActivities: + description: | + Does the board allows comments? + type: boolean + allowsLabels: + description: | + Does the board allows labels? + type: boolean + allowsAssignee: + description: | + Does the board allows assignee? + type: boolean + allowsMembers: + description: | + Does the board allows members? + type: boolean + allowsRequestedBy: + description: | + Does the board allows requested by? + type: boolean + allowsAssignedBy: + description: | + Does the board allows requested by? + type: boolean + allowsReceivedDate: + description: | + Does the board allows received date? + type: boolean + allowsStartDate: + description: | + Does the board allows start date? + type: boolean + allowsEndDate: + description: | + Does the board allows end date? + type: boolean + allowsDueDate: + description: | + Does the board allows due date? + type: boolean + presentParentTask: + description: | + Controls how to present the parent task: + + - `prefix-with-full-path`: add a prefix with the full path + - `prefix-with-parent`: add a prefisx with the parent name + - `subtext-with-full-path`: add a subtext with the full path + - `subtext-with-parent`: add a subtext with the parent name + - `no-parent`: does not show the parent at all + type: string + enum: + - prefix-with-full-path + - prefix-with-parent + - subtext-with-full-path + - subtext-with-parent + - no-parent + x-nullable: true + startAt: + description: | + Starting date of the board. + type: string + x-nullable: true + dueAt: + description: | + Due date of the board. + type: string + x-nullable: true + endAt: + description: | + End date of the board. + type: string + x-nullable: true + spentTime: + description: | + Time spent in the board. + type: number + x-nullable: true + isOvertime: + description: | + Is the board overtimed? + type: boolean + x-nullable: true + type: + description: | + The type of board + type: string + sort: + description: | + Sort value + type: number + required: + - title + - slug + - archived + - createdAt + - stars + - labels + - members + - permission + - color + - allowsSubtasks + - allowsAttachments + - allowsChecklists + - allowsComments + - allowsDescriptionTitle + - allowsDescriptionText + - allowsActivities + - allowsLabels + - allowsAssignee + - allowsMembers + - allowsRequestedBy + - allowsAssignedBy + - allowsReceivedDate + - allowsStartDate + - allowsEndDate + - allowsDueDate + - type + - sort + BoardsLabels: + type: object + properties: + _id: + description: | + Unique id of a label + type: string + name: + description: | + Name of a label + type: string + color: + description: | + color of a label. + + Can be amongst `green`, `yellow`, `orange`, `red`, `purple`, + `blue`, `sky`, `lime`, `pink`, `black`, + `silver`, `peachpuff`, `crimson`, `plum`, `darkgreen`, + `slateblue`, `magenta`, `gold`, `navy`, `gray`, + `saddlebrown`, `paleturquoise`, `mistyrose`, `indigo` + type: string + enum: + - green + - yellow + - orange + - red + - purple + - blue + - sky + - lime + - pink + - black + - silver + - peachpuff + - crimson + - plum + - darkgreen + - slateblue + - magenta + - gold + - navy + - gray + - saddlebrown + - paleturquoise + - mistyrose + - indigo + required: + - _id + - color + BoardsMembers: + type: object + properties: + userId: + description: | + The uniq ID of the member + type: string + isAdmin: + description: | + Is the member an admin of the board? + type: boolean + isActive: + description: | + Is the member active? + type: boolean + isNoComments: + description: | + Is the member not allowed to make comments + type: boolean + isCommentOnly: + description: | + Is the member only allowed to comment on the board + type: boolean + isWorker: + description: | + Is the member only allowed to move card, assign himself to card and comment + type: boolean + required: + - userId + - isAdmin + - isActive + CardComments: + type: object + description: A comment on a card + properties: + boardId: + description: | + the board ID + type: string + cardId: + description: | + the card ID + type: string + text: + description: | + the text of the comment + type: string + createdAt: + description: | + when was the comment created + type: string + modifiedAt: + type: string + userId: + description: | + the author ID of the comment + type: string + required: + - boardId + - cardId + - text + - createdAt + - modifiedAt + - userId + Cards: + type: object + properties: + title: + description: | + the title of the card + type: string + x-nullable: true + archived: + description: | + is the card archived + type: boolean + parentId: + description: | + ID of the parent card + type: string + x-nullable: true + listId: + description: | + List ID where the card is + type: string + x-nullable: true + swimlaneId: + description: | + Swimlane ID where the card is + type: string + boardId: + description: | + Board ID of the card + type: string + x-nullable: true + coverId: + description: | + Cover ID of the card + type: string + x-nullable: true + color: + type: string + enum: + - white + - green + - yellow + - orange + - red + - purple + - blue + - sky + - lime + - pink + - black + - silver + - peachpuff + - crimson + - plum + - darkgreen + - slateblue + - magenta + - gold + - navy + - gray + - saddlebrown + - paleturquoise + - mistyrose + - indigo + x-nullable: true + createdAt: + description: | + creation date + type: string + modifiedAt: + type: string + customFields: + description: | + list of custom fields + type: array + items: + $ref: "#/definitions/CardsCustomfields" + x-nullable: true + dateLastActivity: + description: | + Date of last activity + type: string + description: + description: | + description of the card + type: string + x-nullable: true + requestedBy: + description: | + who requested the card (ID of the user) + type: string + x-nullable: true + assignedBy: + description: | + who assigned the card (ID of the user) + type: string + x-nullable: true + labelIds: + description: | + list of labels ID the card has + type: array + items: + type: string + x-nullable: true + x-nullable: true + members: + description: | + list of members (user IDs) + type: array + items: + type: string + x-nullable: true + x-nullable: true + assignees: + description: | + who is assignee of the card (user ID), + maximum one ID of assignee in array. + type: array + items: + type: string + x-nullable: true + x-nullable: true + receivedAt: + description: | + Date the card was received + type: string + x-nullable: true + startAt: + description: | + Date the card was started to be worked on + type: string + x-nullable: true + dueAt: + description: | + Date the card is due + type: string + x-nullable: true + endAt: + description: | + Date the card ended + type: string + x-nullable: true + spentTime: + description: | + How much time has been spent on this + type: number + x-nullable: true + isOvertime: + description: | + is the card over time? + type: boolean + x-nullable: true + userId: + description: | + user ID of the author of the card + type: string + sort: + description: | + Sort value + type: number + subtaskSort: + description: | + subtask sort value + type: number + x-nullable: true + type: + description: | + type of the card + type: string + linkedId: + description: | + ID of the linked card + type: string + x-nullable: true + vote: + description: | + vote object, see below + $ref: "#/definitions/CardsVote" + x-nullable: true + required: + - archived + - swimlaneId + - createdAt + - modifiedAt + - dateLastActivity + - userId + - sort + - type + CardsVote: + type: object + properties: + question: + type: string + positive: + description: | + list of members (user IDs) + type: array + items: + type: string + x-nullable: true + negative: + description: | + list of members (user IDs) + type: array + items: + type: string + x-nullable: true + end: + type: string + public: + type: boolean + allowNonBoardMembers: + type: boolean + required: + - question + - public + - allowNonBoardMembers + CardsCustomfields: + type: object + ChecklistItems: + type: object + description: An item in a checklist + properties: + title: + description: | + the text of the item + type: string + sort: + description: | + the sorting field of the item + type: number + isFinished: + description: | + Is the item checked? + type: boolean + checklistId: + description: | + the checklist ID the item is attached to + type: string + cardId: + description: | + the card ID the item is attached to + type: string + createdAt: + type: string + x-nullable: true + modifiedAt: + type: string + required: + - title + - sort + - isFinished + - checklistId + - cardId + - modifiedAt + Checklists: + type: object + description: A Checklist + properties: + cardId: + description: | + The ID of the card the checklist is in + type: string + title: + description: | + the title of the checklist + type: string + finishedAt: + description: | + When was the checklist finished + type: string + x-nullable: true + createdAt: + description: | + Creation date of the checklist + type: string + modifiedAt: + type: string + sort: + description: | + sorting value of the checklist + type: number + required: + - cardId + - title + - createdAt + - modifiedAt + - sort + CustomFields: + type: object + description: A custom field on a card in the board + properties: + boardIds: + description: | + the ID of the board + type: array + items: + type: string + name: + description: | + name of the custom field + type: string + type: + description: | + type of the custom field + type: string + enum: + - text + - number + - date + - dropdown + - currency + settings: + description: | + settings of the custom field + $ref: "#/definitions/CustomFieldsSettings" + showOnCard: + description: | + should we show on the cards this custom field + type: boolean + automaticallyOnCard: + description: | + should the custom fields automatically be added on cards? + type: boolean + showLabelOnMiniCard: + description: | + should the label of the custom field be shown on minicards? + type: boolean + createdAt: + type: string + x-nullable: true + modifiedAt: + type: string + required: + - boardIds + - name + - type + - settings + - showOnCard + - automaticallyOnCard + - showLabelOnMiniCard + - modifiedAt + CustomFieldsSettings: + type: object + properties: + currencyCode: + type: string + dropdownItems: + description: | + list of drop down items objects + type: array + items: + $ref: "#/definitions/CustomFieldsSettingsDropdownitems" + CustomFieldsSettingsDropdownitems: + type: object + Integrations: + type: object + description: Integration with third-party applications + properties: + enabled: + description: | + is the integration enabled? + type: boolean + title: + description: | + name of the integration + type: string + x-nullable: true + type: + description: | + type of the integratation (Default to 'outgoing-webhooks') + type: string + activities: + description: | + activities the integration gets triggered (list) + type: array + items: + type: string + url: + type: string + token: + description: | + token of the integration + type: string + x-nullable: true + boardId: + description: | + Board ID of the integration + type: string + createdAt: + description: | + Creation date of the integration + type: string + modifiedAt: + type: string + userId: + description: | + user ID who created the interation + type: string + required: + - enabled + - type + - activities + - url + - boardId + - createdAt + - modifiedAt + - userId + Lists: + type: object + description: A list (column) in the Wekan board. + properties: + title: + description: | + the title of the list + type: string + starred: + description: | + if a list is stared + then we put it on the top + type: boolean + x-nullable: true + archived: + description: | + is the list archived + type: boolean + boardId: + description: | + the board associated to this list + type: string + swimlaneId: + description: | + the swimlane associated to this list. Used for templates + type: string + createdAt: + description: | + creation date + type: string + sort: + description: | + is the list sorted + type: number + x-nullable: true + updatedAt: + description: | + last update of the list + type: string + x-nullable: true + modifiedAt: + type: string + wipLimit: + description: | + WIP object, see below + $ref: "#/definitions/ListsWiplimit" + x-nullable: true + color: + description: | + the color of the list + type: string + enum: + - white + - green + - yellow + - orange + - red + - purple + - blue + - sky + - lime + - pink + - black + - peachpuff + - crimson + - plum + - darkgreen + - slateblue + - magenta + - gold + - navy + - gray + - saddlebrown + - paleturquoise + - mistyrose + - indigo + x-nullable: true + type: + description: | + The type of list + type: string + required: + - title + - archived + - boardId + - swimlaneId + - createdAt + - modifiedAt + - type + ListsWiplimit: + type: object + properties: + value: + description: | + value of the WIP + type: number + enabled: + description: | + is the WIP enabled + type: boolean + soft: + description: | + is the WIP a soft or hard requirement + type: boolean + required: + - value + - enabled + - soft + Swimlanes: + type: object + description: A swimlane is an line in the kaban board. + properties: + title: + description: | + the title of the swimlane + type: string + archived: + description: | + is the swimlane archived? + type: boolean + boardId: + description: | + the ID of the board the swimlane is attached to + type: string + createdAt: + description: | + creation date of the swimlane + type: string + sort: + description: | + the sort value of the swimlane + type: number + x-nullable: true + color: + description: | + the color of the swimlane + type: string + enum: + - white + - green + - yellow + - orange + - red + - purple + - blue + - sky + - lime + - pink + - black + - peachpuff + - crimson + - plum + - darkgreen + - slateblue + - magenta + - gold + - navy + - gray + - saddlebrown + - paleturquoise + - mistyrose + - indigo + x-nullable: true + updatedAt: + description: | + when was the swimlane last edited + type: string + x-nullable: true + modifiedAt: + type: string + type: + description: | + The type of swimlane + type: string + required: + - title + - archived + - boardId + - createdAt + - modifiedAt + - type + Users: + type: object + description: A User in wekan + properties: + username: + description: | + the username of the user + type: string + x-nullable: true + emails: + description: | + the list of emails attached to a user + type: array + items: + $ref: "#/definitions/UsersEmails" + x-nullable: true + createdAt: + description: | + creation date of the user + type: string + modifiedAt: + type: string + profile: + description: | + profile settings + $ref: "#/definitions/UsersProfile" + x-nullable: true + services: + description: | + services field of the user + type: object + x-nullable: true + heartbeat: + description: | + last time the user has been seen + type: string + x-nullable: true + isAdmin: + description: | + is the user an admin of the board? + type: boolean + x-nullable: true + createdThroughApi: + description: | + was the user created through the API? + type: boolean + x-nullable: true + loginDisabled: + description: | + loginDisabled field of the user + type: boolean + x-nullable: true + authenticationMethod: + description: | + authentication method of the user + type: string + required: + - createdAt + - modifiedAt + - authenticationMethod + UsersEmails: + type: object + properties: + address: + description: | + The email address + type: string + verified: + description: | + Has the email been verified + type: boolean + required: + - address + - verified + UsersProfile: + type: object + properties: + avatarUrl: + description: | + URL of the avatar of the user + type: string + emailBuffer: + description: | + list of email buffers of the user + type: array + items: + type: string + x-nullable: true + fullname: + description: | + full name of the user + type: string + showDesktopDragHandles: + description: | + does the user want to hide system messages? + type: boolean + hideCheckedItems: + description: | + does the user want to hide checked checklist items? + type: boolean + hiddenSystemMessages: + description: | + does the user want to hide system messages? + type: boolean + hiddenMinicardLabelText: + description: | + does the user want to hide minicard label texts? + type: boolean + initials: + description: | + initials of the user + type: string + invitedBoards: + description: | + board IDs the user has been invited to + type: array + items: + type: string + x-nullable: true + language: + description: | + language of the user + type: string + notifications: + description: | + enabled notifications for the user + type: array + items: + $ref: "#/definitions/UsersProfileNotifications" + activity: + description: | + The id of the activity this notification references + type: string + read: + description: | + the date on which this notification was read + type: string + showCardsCountAt: + description: | + showCardCountAt field of the user + type: number + startDayOfWeek: + description: | + startDayOfWeek field of the user + type: number + starredBoards: + description: | + list of starred board IDs + type: array + items: + type: string + x-nullable: true + icode: + description: | + icode + type: string + boardView: + description: | + boardView field of the user + type: string + enum: + - board-view-swimlanes + - board-view-lists + - board-view-cal + listSortBy: + description: | + default sort list for user + type: string + enum: + - -modifiedat + - modifiedat + - -title + - title + - -sort + - sort + templatesBoardId: + description: | + Reference to the templates board + type: string + cardTemplatesSwimlaneId: + description: | + Reference to the card templates swimlane Id + type: string + listTemplatesSwimlaneId: + description: | + Reference to the list templates swimlane Id + type: string + boardTemplatesSwimlaneId: + description: | + Reference to the board templates swimlane Id + type: string + required: + - activity + - templatesBoardId + - cardTemplatesSwimlaneId + - listTemplatesSwimlaneId + - boardTemplatesSwimlaneId diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png new file mode 100644 index 0000000..bcd4611 Binary files /dev/null and b/public/apple-touch-icon.png differ diff --git a/public/browserconfig.xml b/public/browserconfig.xml new file mode 100644 index 0000000..a47e5a5 --- /dev/null +++ b/public/browserconfig.xml @@ -0,0 +1,9 @@ + + + + + + #2d89ef + + + diff --git a/public/card-colors.png b/public/card-colors.png new file mode 100644 index 0000000..91d3a58 Binary files /dev/null and b/public/card-colors.png differ diff --git a/public/favicon-16x16.png b/public/favicon-16x16.png new file mode 100644 index 0000000..57eee76 Binary files /dev/null and b/public/favicon-16x16.png differ diff --git a/public/favicon-32x32.png b/public/favicon-32x32.png new file mode 100644 index 0000000..8fb6ae0 Binary files /dev/null and b/public/favicon-32x32.png differ diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000..df37603 Binary files /dev/null and b/public/favicon.ico differ diff --git a/public/fonts/poppins-bold.woff b/public/fonts/poppins-bold.woff new file mode 100644 index 0000000..cc7e844 Binary files /dev/null and b/public/fonts/poppins-bold.woff differ diff --git a/public/fonts/poppins-medium.woff b/public/fonts/poppins-medium.woff new file mode 100644 index 0000000..b8ccafe Binary files /dev/null and b/public/fonts/poppins-medium.woff differ diff --git a/public/fonts/poppins-regular.woff b/public/fonts/poppins-regular.woff new file mode 100644 index 0000000..1ff3960 Binary files /dev/null and b/public/fonts/poppins-regular.woff differ diff --git a/public/fonts/roboto-bold.woff b/public/fonts/roboto-bold.woff new file mode 100644 index 0000000..6ec255f Binary files /dev/null and b/public/fonts/roboto-bold.woff differ diff --git a/public/fonts/roboto-bold.woff2 b/public/fonts/roboto-bold.woff2 new file mode 100644 index 0000000..f779b2c Binary files /dev/null and b/public/fonts/roboto-bold.woff2 differ diff --git a/public/fonts/roboto-regular.woff b/public/fonts/roboto-regular.woff new file mode 100644 index 0000000..f9a02e2 Binary files /dev/null and b/public/fonts/roboto-regular.woff differ diff --git a/public/fonts/roboto-regular.woff2 b/public/fonts/roboto-regular.woff2 new file mode 100644 index 0000000..cebe610 Binary files /dev/null and b/public/fonts/roboto-regular.woff2 differ diff --git a/public/logo-header.png b/public/logo-header.png new file mode 100644 index 0000000..16ffa10 Binary files /dev/null and b/public/logo-header.png differ diff --git a/public/mstile-144x144.png b/public/mstile-144x144.png new file mode 100644 index 0000000..dbc184f Binary files /dev/null and b/public/mstile-144x144.png differ diff --git a/public/mstile-150x150.png b/public/mstile-150x150.png new file mode 100644 index 0000000..943e097 Binary files /dev/null and b/public/mstile-150x150.png differ diff --git a/public/mstile-310x150.png b/public/mstile-310x150.png new file mode 100644 index 0000000..f80bea7 Binary files /dev/null and b/public/mstile-310x150.png differ diff --git a/public/mstile-310x310.png b/public/mstile-310x310.png new file mode 100644 index 0000000..4d7ac65 Binary files /dev/null and b/public/mstile-310x310.png differ diff --git a/public/mstile-70x70.png b/public/mstile-70x70.png new file mode 100644 index 0000000..8b306ba Binary files /dev/null and b/public/mstile-70x70.png differ diff --git a/public/pwa-service-worker.js b/public/pwa-service-worker.js new file mode 100644 index 0000000..3cc74ec --- /dev/null +++ b/public/pwa-service-worker.js @@ -0,0 +1,4 @@ +self.addEventListener('install', function(event) { + // Dummy service worker that does nothing, + // for mobile browsers "Add to home screen". +}); diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..1f53798 --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: / diff --git a/public/safari-pinned-tab.svg b/public/safari-pinned-tab.svg new file mode 100644 index 0000000..4320882 --- /dev/null +++ b/public/safari-pinned-tab.svg @@ -0,0 +1,51 @@ + + + + +Created by potrace 1.11, written by Peter Selinger 2001-2013 + + + + + diff --git a/public/site.webmanifest b/public/site.webmanifest new file mode 100644 index 0000000..1be9698 --- /dev/null +++ b/public/site.webmanifest @@ -0,0 +1,35 @@ +{ + "name": "Wekan", + "short_name": "Wekan", + "icons": [ + { + "src": "/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + }, + { + "src": "/Square150x150Logo.scale-100.png", + "sizes": "150x150", + "type": "image/png" + }, + { + "src": "/Square44x44Logo.scale-100.png", + "sizes": "44x44", + "type": "image/png" + }, + { + "src": "/StoreLogo.scale-100.png", + "sizes": "50x50", + "type": "image/png" + } + ], + "theme_color": "#ffffff", + "background_color": "#ffffff", + "start_url": "/sign-in", + "display": "standalone" +} diff --git a/public/svg-etc/manifest.json b/public/svg-etc/manifest.json new file mode 100644 index 0000000..ef9dbfd --- /dev/null +++ b/public/svg-etc/manifest.json @@ -0,0 +1,41 @@ +{ + "name": "Wekan", + "short_name": "Wekan", + "description": "Open-Source kanban", + "icons": [ + { + "src": "wekan-logo-150.png", + "sizes": "150x150", + "type": "image/png" + }, + { + "src": "wekan-logo-150.svg", + "sizes": "150x150", + "type": "image/svg+xml" + }, + { + "src": "wekan-logo-256.png", + "sizes": "256x256", + "type": "image/png" + }, + { + "src": "wekan-logo-256.svg", + "sizes": "256x256", + "type": "image/svg+xml" + }, + { + "src": "wekan-logo-512.png", + "sizes": "512x512", + "type": "image/png" + }, + { + "src": "wekan-logo-512.svg", + "sizes": "512x512", + "type": "image/svg+xml" + } + ], + "display": "fullscreen", + "background_color": "#dedede", + "theme_color": "#dedede", + "start_url": "/" +} diff --git a/public/svg-etc/wekan-favicon.png b/public/svg-etc/wekan-favicon.png new file mode 100644 index 0000000..8beb85f Binary files /dev/null and b/public/svg-etc/wekan-favicon.png differ diff --git a/public/svg-etc/wekan-logo-150.png b/public/svg-etc/wekan-logo-150.png new file mode 100644 index 0000000..e8e89c6 Binary files /dev/null and b/public/svg-etc/wekan-logo-150.png differ diff --git a/public/svg-etc/wekan-logo-150.svg b/public/svg-etc/wekan-logo-150.svg new file mode 100644 index 0000000..51d4eed --- /dev/null +++ b/public/svg-etc/wekan-logo-150.svg @@ -0,0 +1,68 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/svg-etc/wekan-logo-256.png b/public/svg-etc/wekan-logo-256.png new file mode 100644 index 0000000..3f29a89 Binary files /dev/null and b/public/svg-etc/wekan-logo-256.png differ diff --git a/public/svg-etc/wekan-logo-256.svg b/public/svg-etc/wekan-logo-256.svg new file mode 100644 index 0000000..2a9c5e8 --- /dev/null +++ b/public/svg-etc/wekan-logo-256.svg @@ -0,0 +1,203 @@ + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/svg-etc/wekan-logo-32.png b/public/svg-etc/wekan-logo-32.png new file mode 100644 index 0000000..c5bdffd Binary files /dev/null and b/public/svg-etc/wekan-logo-32.png differ diff --git a/public/svg-etc/wekan-logo-512.png b/public/svg-etc/wekan-logo-512.png new file mode 100644 index 0000000..0bb9049 Binary files /dev/null and b/public/svg-etc/wekan-logo-512.png differ diff --git a/public/svg-etc/wekan-logo-512.svg b/public/svg-etc/wekan-logo-512.svg new file mode 100644 index 0000000..e945a40 --- /dev/null +++ b/public/svg-etc/wekan-logo-512.svg @@ -0,0 +1,200 @@ + + + +image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/wekan-logo.png b/public/wekan-logo.png new file mode 100644 index 0000000..6a2740f Binary files /dev/null and b/public/wekan-logo.png differ diff --git a/rebuild-wekan.bat b/rebuild-wekan.bat new file mode 100644 index 0000000..0d88d94 --- /dev/null +++ b/rebuild-wekan.bat @@ -0,0 +1,64 @@ +@ECHO OFF + +REM NOTE: You can try this to install Meteor on Windows, it works: +REM https://github.com/zodern/windows-meteor-installer/ + +REM Installing Meteor with Chocolatey does not currently work. + +REM NOTE: THIS .BAT DOES NOT WORK !! +REM Use instead this webpage instructions to build on Windows: +REM https://github.com/wekan/wekan/wiki/Install-Wekan-from-source-on-Windows +REM Please add fix PRs, like config of MongoDB etc. + +md C:\repos +cd C:\repos + +REM Install chocolatey +@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" + +choco install -y git curl python2 dotnet4.5.2 nano mongodb-3 mongoclient meteor + +curl -O https://nodejs.org/dist/v12.16.3/node-v12.16.2-x64.msi +call node-v12.16.3-x64.msi + +call npm config -g set msvs_version 2015 +call meteor npm config -g set msvs_version 2015 + +call npm -g install npm +call npm -g install node-gyp +call npm -g install fibers +cd C:\repos +git clone https://github.com/wekan/wekan.git +cd wekan +git checkout edge +echo "Building Wekan." +REM del /S /F /Q packages +REM ## REPOS BELOW ARE INCLUDED TO WEKAN +REM md packages +REM cd packages +REM git clone --depth 1 -b master https://github.com/wekan/flow-router.git kadira-flow-router +REM git clone --depth 1 -b master https://github.com/meteor-useraccounts/core.git meteor-useraccounts-core +REM git clone --depth 1 -b master https://github.com/wekan/meteor-accounts-cas.git +REM git clone --depth 1 -b master https://github.com/wekan/wekan-ldap.git +REM git clone --depth 1 -b master https://github.com/wekan/wekan-scrollbar.git +REM git clone --depth 1 -b master https://github.com/wekan/meteor-accounts-oidc.git +REM git clone --depth 1 -b master --recurse-submodules https://github.com/wekan/markdown.git +REM move meteor-accounts-oidc/packages/switch_accounts-oidc wekan_accounts-oidc +REM move meteor-accounts-oidc/packages/switch_oidc wekan_oidc +REM del /S /F /Q meteor-accounts-oidc +REM sed -i 's/api\.versionsFrom/\/\/api.versionsFrom/' ~/repos/wekan/packages/meteor-useraccounts-core/package.js +cd .. +REM del /S /F /Q node_modules +call meteor npm install +REM del /S /F /Q .build +call meteor build .build --directory +copy fix-download-unicode\cfs_access-point.txt .build\bundle\programs\server\packages\cfs_access-point.js +REM ## Remove legacy webbroser bundle, so that Wekan works also at Android Firefox, iOS Safari, etc. +del /S /F /Q rm .build/bundle/programs/web.browser.legacy +REM ## Install some NPM packages +cd .build\bundle\programs\server +call meteor npm install +REM cd C:\repos\wekan\.meteor\local\build\programs\server +REM del node_modules +cd C:\repos\wekan +call start-wekan.bat diff --git a/rebuild-wekan.sh b/rebuild-wekan.sh new file mode 100755 index 0000000..7b9ec27 --- /dev/null +++ b/rebuild-wekan.sh @@ -0,0 +1,131 @@ +#!/bin/bash + +echo "Note: If you use other locale than en_US.UTF-8 , you need to additionally install en_US.UTF-8" +echo " with 'sudo dpkg-reconfigure locales' , so that MongoDB works correctly." +echo " You can still use any other locale as your main locale." + +#Below script installs newest node 8.x for Debian/Ubuntu/Mint. + +function pause(){ + read -p "$*" +} + +echo +PS3='Please enter your choice: ' +options=("Install Wekan dependencies" "Build Wekan" "Run Meteor for dev on http://localhost:4000" "Run Meteor for dev on http://CURRENT-IP-ADDRESS:4000" "Run Meteor for dev on http://CUSTOM-IP-ADDRESS:PORT" "Quit") + +select opt in "${options[@]}" +do + case $opt in + "Install Wekan dependencies") + + if [[ "$OSTYPE" == "linux-gnu" ]]; then + echo "Linux"; + # Debian, Ubuntu, Mint + sudo apt-get install -y build-essential gcc g++ make git curl wget + # npm nodejs + #sudo npm -g install npm + curl -0 -L https://npmjs.org/install.sh | sudo sh + sudo chown -R $(id -u):$(id -g) $HOME/.npm + sudo npm -g install n + sudo n 12.18.3 + #curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - + #sudo apt-get install -y nodejs + elif [[ "$OSTYPE" == "darwin"* ]]; then + echo "macOS"; + pause '1) Install XCode 2) Install Node 8.x from https://nodejs.org/en/ 3) Press [Enter] key to continue.' + elif [[ "$OSTYPE" == "cygwin" ]]; then + # POSIX compatibility layer and Linux environment emulation for Windows + echo "TODO: Add Cygwin"; + exit; + elif [[ "$OSTYPE" == "msys" ]]; then + # Lightweight shell and GNU utilities compiled for Windows (part of MinGW) + echo "TODO: Add msys on Windows"; + exit; + elif [[ "$OSTYPE" == "win32" ]]; then + # I'm not sure this can happen. + echo "TODO: Add Windows"; + exit; + elif [[ "$OSTYPE" == "freebsd"* ]]; then + echo "TODO: Add FreeBSD"; + exit; + else + echo "Unknown" + echo ${OSTYPE} + exit; + fi + + ## Latest npm with Meteor 1.8.x + sudo npm -g install npm + sudo npm -g install node-gyp + # Latest fibers for Meteor 1.8.x + sudo mkdir -p /usr/local/lib/node_modules/fibers/.node-gyp + sudo npm -g install fibers + # Install Meteor, if it's not yet installed + curl https://install.meteor.com | bash + sudo chown -R $(id -u):$(id -g) $HOME/.npm $HOME/.meteor + break + ;; + + "Build Wekan") + echo "Building Wekan." + #if [[ "$OSTYPE" == "darwin"* ]]; then + # echo "sed at macOS"; + # sed -i '' 's/api\.versionsFrom/\/\/api.versionsFrom/' ~/repos/wekan/packages/meteor-useraccounts-core/package.js + #else + # echo "sed at ${OSTYPE}" + # sed -i 's/api\.versionsFrom/\/\/api.versionsFrom/' ~/repos/wekan/packages/meteor-useraccounts-core/package.js + #fi + #cd .. + sudo chown -R $(id -u):$(id -g) $HOME/.npm $HOME/.meteor + rm -rf node_modules .meteor/local + npm install + rm -rf .build + meteor build .build --directory + cp -f fix-download-unicode/cfs_access-point.txt .build/bundle/programs/server/packages/cfs_access-point.js + # Remove legacy webbroser bundle, so that Wekan works also at Android Firefox, iOS Safari, etc. + rm -rf .build/bundle/programs/web.browser.legacy + #Removed binary version of bcrypt because of security vulnerability that is not fixed yet. + #https://github.com/wekan/wekan/commit/4b2010213907c61b0e0482ab55abb06f6a668eac + #https://github.com/wekan/wekan/commit/7eeabf14be3c63fae2226e561ef8a0c1390c8d3c + #cd ~/repos/wekan/.build/bundle/programs/server/npm/node_modules/meteor/npm-bcrypt + #rm -rf node_modules/bcrypt + #meteor npm install bcrypt + cd .build/bundle/programs/server + rm -rf node_modules + npm install + #meteor npm install bcrypt + cd ../../../.. + echo Done. + break + ;; + + "Run Meteor for dev on http://localhost:4000") + WITH_API=true RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=http://localhost:4000 meteor run --exclude-archs web.browser.legacy,web.cordova --port 4000 + break + ;; + + "Run Meteor for dev on http://CURRENT-IP-ADDRESS:4000") + IPADDRESS=$(ip a | grep 'noprefixroute' | grep 'inet ' | cut -d: -f2 | awk '{ print $2}' | cut -d '/' -f 1) + echo "Your IP address is $IPADDRESS" + WITH_API=true RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=http://$IPADDRESS:4000 meteor run --exclude-archs web.browser.legacy,web.cordova --port 4000 + break + ;; + + "Run Meteor for dev on http://CUSTOM-IP-ADDRESS:PORT") + ip address + echo "From above list, what is your IP address?" + read IPADDRESS + echo "On what port you would like to run Wekan?" + read PORT + echo "ROOT_URL=http://$IPADDRESS:$PORT" + WITH_API=true RICHER_CARD_COMMENT_EDITOR=false ROOT_URL=http://$IPADDRESS:$PORT meteor run --exclude-archs web.browser.legacy,web.cordova --port $PORT + break + ;; + + "Quit") + break + ;; + *) echo invalid option;; + esac +done diff --git a/releases/README.md b/releases/README.md new file mode 100644 index 0000000..86601ad --- /dev/null +++ b/releases/README.md @@ -0,0 +1,12 @@ +## Wekan release scripts + +Sorry about the mess. I try to cleanup it sometime. + +I usually use these: +- release.sh +- release-sandstorm.sh +- release-snap.sh + +https://github.com/wekan/wekan-snap/wiki/Making-releases-from-source + +https://github.com/wekan/wekan-maintainer/wiki/Building-Wekan-for-Sandstorm diff --git a/releases/add-tag.sh b/releases/add-tag.sh new file mode 100755 index 0000000..c43617f --- /dev/null +++ b/releases/add-tag.sh @@ -0,0 +1,5 @@ +# Add tag to repo of new release +# Example: add-tag.sh v1.62 + +git tag -a $1 -m "$1" +git push origin $1 diff --git a/releases/commit.sh b/releases/commit.sh new file mode 100755 index 0000000..5b97317 --- /dev/null +++ b/releases/commit.sh @@ -0,0 +1,4 @@ + +# --- Add commit with showing editor where it's easy to add multiline commit +git commit +# ---- diff --git a/releases/delete-branch-local-and-remote.sh b/releases/delete-branch-local-and-remote.sh new file mode 100755 index 0000000..b362f56 --- /dev/null +++ b/releases/delete-branch-local-and-remote.sh @@ -0,0 +1,3 @@ +# https://makandracards.com/makandra/621-git-delete-a-branch-local-or-remote +#git push origin --delete feature-oauth +git push origin --delete $1 diff --git a/releases/delete-phantomjs.sh b/releases/delete-phantomjs.sh new file mode 100755 index 0000000..5fb85e1 --- /dev/null +++ b/releases/delete-phantomjs.sh @@ -0,0 +1,3 @@ +cd ~/repos/wekan/.build +find . -name "*phantomjs*" | xargs rm -rf +cd ~/repos/wekan diff --git a/releases/rebuild-docs-install-deps.sh b/releases/rebuild-docs-install-deps.sh new file mode 100755 index 0000000..4f9a2a6 --- /dev/null +++ b/releases/rebuild-docs-install-deps.sh @@ -0,0 +1,21 @@ +# Generate docs. + +# extract the OpenAPI specification +sudo apt-get install python3-pip +sudo pip3 install -U setuptools wheel +sudo npm install -g api2html@0.3.3 +sudo npm install -g --unsafe-perm api2html@0.3.0 +sudo npm install -g --unsafe-perm mkdirp +mkdir -p ~/python +cd ~/python +git clone --depth 1 -b master https://github.com/Kronuz/esprima-python +cd ~/python/esprima-python +sudo python3 setup.py install --record files.txt +cd ~/repos/wekan +mkdir -p public/api +python3 ./openapi/generate_openapi.py --release $(git describe --tags --abbrev=0) > ./public/api/wekan.yml +api2html -c ./public/logo-header.png -o ./public/api/wekan.html ./public/api/wekan.yml + +# Copy docs to bundle +#cp -pR ./public/api ~/repos/wekan/.build/bundle/programs/web.browser/app/ +#cp -pR ./public/api ~/repos/wekan/.build/bundle/programs/web.browser.legacy/app/ diff --git a/releases/rebuild-docs.sh b/releases/rebuild-docs.sh new file mode 100755 index 0000000..2ac46eb --- /dev/null +++ b/releases/rebuild-docs.sh @@ -0,0 +1,9 @@ +# Generate docs. + +#mkdir -p public/api +python3 ./openapi/generate_openapi.py --release $(git describe --tags --abbrev=0) > ./public/api/wekan.yml +api2html -c ./public/logo-header.png -o ./public/api/wekan.html ./public/api/wekan.yml + +# Copy docs to bundle +#cp -pR ./public/api ~/repos/wekan/.build/bundle/programs/web.browser/app/ +#cp -pR ./public/api ~/repos/wekan/.build/bundle/programs/web.browser.legacy/app/ diff --git a/releases/rebuild-release.sh b/releases/rebuild-release.sh new file mode 100755 index 0000000..02b862d --- /dev/null +++ b/releases/rebuild-release.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +echo "Note: If you use other locale than en_US.UTF-8 , you need to additionally install en_US.UTF-8" +echo " with 'sudo dpkg-reconfigure locales' , so that MongoDB works correctly." +echo " You can still use any other locale as your main locale." + +echo "Building Wekan." +sudo chown -R $(id -u):$(id -g) $HOME/.npm $HOME/.meteor +rm -rf node_modules +meteor npm install +rm -rf .build +METEOR_PROFILE=100 meteor build .build --directory +cp -f fix-download-unicode/cfs_access-point.txt .build/bundle/programs/server/packages/cfs_access-point.js +# Remove legacy webbroser bundle, so that Wekan works also at Android Firefox, iOS Safari, etc. +rm -rf .build/bundle/programs/web.browser.legacy +cd .build/bundle/programs/server +rm -rf node_modules +meteor npm install +cd ../../../.. diff --git a/releases/release-bundle.sh b/releases/release-bundle.sh new file mode 100755 index 0000000..b309ee8 --- /dev/null +++ b/releases/release-bundle.sh @@ -0,0 +1,7 @@ +cd ~/repos/wekan +./releases/rebuild-release.sh +#./releases/delete-phantomjs.sh +cd ~/repos/wekan/.build +zip -r wekan-$1.zip bundle +scp wekan-$1.zip x2:/var/snap/wekan/common/releases.wekan.team/ +cd .. diff --git a/releases/release-cleanup.sh b/releases/release-cleanup.sh new file mode 100755 index 0000000..79e400d --- /dev/null +++ b/releases/release-cleanup.sh @@ -0,0 +1,18 @@ +# Usage: ./release.sh 1.36 + +# Delete old stuff +cd ~/ +sudo rm -rf .npm +cd ~/repos/wekan +sudo rm -rf parts prime stage .meteor-spk + +# Set permissions +cd ~/repos +sudo chown -R $USER wekan +cd ~/ +sudo chown -R $USER ~/.meteor +sudo rm -rf .cache/snapcraft +sudo chown -R $USER .config + +# Back +cd ~/repos diff --git a/releases/release-sandstorm.sh b/releases/release-sandstorm.sh new file mode 100755 index 0000000..058b0a0 --- /dev/null +++ b/releases/release-sandstorm.sh @@ -0,0 +1,31 @@ +# Usage: ./release.sh 3.95 + +# Delete old stuff +#cd ~/repos/wekan +#./releases/release-cleanup.sh + +# Build Source +#cd ~/repos/wekan +#./releases/rebuild-release.sh + +REPODIR=/home/wekan/repos +WEKANDIR=/home/wekan/repos/wekan + +# Ensure sudo access +sudo echo . +# Build Sandstorm +cd $REPODIR +rm -rf $WEKANDIR +git clone git@github.com:wekan/wekan.git +cd $WEKANDIR +sudo n 12.18.3 +sudo mkdir -p /usr/local/lib/node_modules/fibers/.node-gyp +# Build Wekan +./releases/rebuild-release.sh +cd .build/bundle/programs/server +npm install node-gyp node-pre-gyp fibers +cd $WEKANDIR +# Build Sandstorm +meteor-spk pack wekan-$1.spk +#spk publish wekan-$1.spk +#scp wekan-$1.spk x2:/var/snap/wekan/common/releases.wekan.team/ diff --git a/releases/release-snap.sh b/releases/release-snap.sh new file mode 100755 index 0000000..12d8424 --- /dev/null +++ b/releases/release-snap.sh @@ -0,0 +1,25 @@ +# Usage: ./release.sh 1.36 + +# Cleanup +cd ~/repos/wekan/releases +./release-cleanup.sh + +# Build Source +cd ~/repos/wekan +./releases/rebuild-release.sh + +# Build Snap +cd ~/repos/wekan +sudo snapcraft + +# Cleanup +cd ~/repos/wekan +./releases/release-cleanup.sh + +# Push snap +cd ~/repos/wekan +sudo snap install --dangerous wekan_$1_amd64.snap +echo "Now you can test local installed snap." +snapcraft push wekan_$1_amd64.snap +scp wekan_$1_amd64.snap x2:/var/www/releases.wekan.team/ +mv wekan_$1_amd64.snap .. diff --git a/releases/release.sh b/releases/release.sh new file mode 100755 index 0000000..aca9775 --- /dev/null +++ b/releases/release.sh @@ -0,0 +1,10 @@ +# Usage: ./release.sh 1.36 + +# Build Bundle +~/repos/wekan/releases/release-bundle.sh $1 + +# Build Sandstorm +~/repos/wekan/releases/release-sandstorm.sh $1 + +# Build Snap +#./release-snap.sh $1 diff --git a/releases/sandstorm-make-spk.sh b/releases/sandstorm-make-spk.sh new file mode 100755 index 0000000..ade9766 --- /dev/null +++ b/releases/sandstorm-make-spk.sh @@ -0,0 +1 @@ +meteor-spk pack wekan-$1.spk diff --git a/releases/sandstorm-test-dev.sh b/releases/sandstorm-test-dev.sh new file mode 100755 index 0000000..5aae36b --- /dev/null +++ b/releases/sandstorm-test-dev.sh @@ -0,0 +1 @@ +meteor-spk dev diff --git a/releases/snap-edge.sh b/releases/snap-edge.sh new file mode 100755 index 0000000..2b5197c --- /dev/null +++ b/releases/snap-edge.sh @@ -0,0 +1,2 @@ +# Change to snap edge +sudo snap refresh wekan --edge --amend diff --git a/releases/snap-install.sh b/releases/snap-install.sh new file mode 100755 index 0000000..75567e1 --- /dev/null +++ b/releases/snap-install.sh @@ -0,0 +1 @@ +sudo snap install --dangerous wekan_*.snap diff --git a/releases/snap-push-to-store.sh b/releases/snap-push-to-store.sh new file mode 100755 index 0000000..dca942f --- /dev/null +++ b/releases/snap-push-to-store.sh @@ -0,0 +1 @@ +snapcraft push $1 diff --git a/releases/snap-stable.sh b/releases/snap-stable.sh new file mode 100755 index 0000000..b863310 --- /dev/null +++ b/releases/snap-stable.sh @@ -0,0 +1,2 @@ +# Change to snap stable +sudo snap refresh wekan --stable --amend diff --git a/releases/snapcraft-help.sh b/releases/snapcraft-help.sh new file mode 100755 index 0000000..fa576b3 --- /dev/null +++ b/releases/snapcraft-help.sh @@ -0,0 +1 @@ +snapcraft help topics diff --git a/releases/translations/pull-translations.sh b/releases/translations/pull-translations.sh new file mode 100755 index 0000000..8149bba --- /dev/null +++ b/releases/translations/pull-translations.sh @@ -0,0 +1,160 @@ +cd ~/repos/wekan + +echo "Arabic:" +tx pull -f -l ar + +echo "Bulgarian:" +tx pull -f -l bg_BG + +echo "Breton:" +tx pull -f -l br + +echo "Catalan:" +tx pull -f -l ca + +echo "Czech:" +tx pull -f -l cs + +echo "Danish:" +tx pull -f -l da + +echo "Georgian:" +tx pull -f -l ka + +echo "German:" +tx pull -f -l de + +echo "Hindi:" +tx pull -f -l hi + +echo "Esperanto:" +tx pull -f -l eo + +echo "English (United Kingdom):" +tx pull -f -l en_GB + +echo "Greek:" +tx pull -f -l el + +echo "Slovenian:" +tx pull -f -l sl_SI + +echo "Spanish:" +tx pull -f -l es + +echo "Spanish (Chile):" +tx pull -f -l es_CL + +echo "Spanish (Argentina):" +tx pull -f -l es_AR + +echo "Spanish (Peru):" +tx pull -f -l es_PE + +echo "Basque:" +tx pull -f -l eu + +echo "Persian:" +tx pull -f -l fa + +echo "Finnish:" +tx pull -f -l fi + +echo "French:" +tx pull -f -l fr + +echo "Galician:" +tx pull -f -l gl + +echo "Hebrew:" +tx pull -f -l he + +echo "Hungarian:" +tx pull -f -l hu_HU + +echo "Armenian:" +tx pull -f -l hy + +echo "Indonesian (Indonesia):" +tx pull -f -l id_ID + +echo "Igbo:" +tx pull -f -l ig + +echo "Italian:" +tx pull -f -l it + +echo "Japanese:" +tx pull -f -l ja + +echo "Khmer:" +tx pull -f -l km + +echo "Korean:" +tx pull -f -l ko + +echo "Latvian (Latvia):" +tx pull -f -l lv_LV + +echo "Macedonian:" +tx pull -f -l mk + +echo "Mongolian (Mongolia):" +tx pull -f -l mn_MN + +echo "Dutch:" +tx pull -f -l nl + +echo "Norwegian:" +tx pull -f -l no + +echo "Occitan:" +tx pull -f -l oc + +echo "Polish:" +tx pull -f -l pl + +echo "Portuguese:" +tx pull -f -l pt + +echo "Portuguese (Brazil):" +tx pull -f -l pt_BR + +echo "Romanian (Romania):" +tx pull -f -l ro + +echo "Russian:" +tx pull -f -l ru + +echo "Serbian:" +tx pull -f -l sr + +echo "Swahili:" +tx pull -f -l sw + +echo "Swedish:" +tx pull -f -l sv + +echo "Tamil:" +tx pull -f -l ta + +echo "Thai:" +tx pull -f -l th + +echo "Turkish:" +tx pull -f -l tr + +echo "Ukrainian:" +tx pull -f -l uk + +echo "Vietnamese:" +tx pull -f -l vi + +echo "Chinese (China):" +tx pull -f -l zh_CN + +echo "Chinese (Taiwan)" +tx pull -f -l zh_TW + +echo "Chinese (Hong Kong)" +tx pull -f -l zh_HK diff --git a/releases/translations/push-english-base-translation.sh b/releases/translations/push-english-base-translation.sh new file mode 100755 index 0000000..1d29fd0 --- /dev/null +++ b/releases/translations/push-english-base-translation.sh @@ -0,0 +1,2 @@ +cd ~/repos/wekan +tx push -s diff --git a/releases/translations/push-translation.sh b/releases/translations/push-translation.sh new file mode 100755 index 0000000..fb92c72 --- /dev/null +++ b/releases/translations/push-translation.sh @@ -0,0 +1 @@ +tx push -t -l $1 diff --git a/releases/version.sh b/releases/version.sh new file mode 100755 index 0000000..ad1ee14 --- /dev/null +++ b/releases/version.sh @@ -0,0 +1,9 @@ +# Change version. +# Usage: ./releases/version.sh old new +# Example: ./releases/version.sh v3.x v3.x + +sed -i 's|API $1|API $2|g' public/api/wekan* +sed -i 's|"version": "$1|"version": "$2|g' .meteor-1.6-snap/package-lock.json .meteor-1.6-snap/package.json package-lock.json package.json +sed -i 's|appVersion: "$1|appVersion: "$2|g' Stackerfile.yml + +echo "Also change CHANGELOG.md and sandstorm-pkgdef.capnp" diff --git a/releases/virtualbox/README.txt b/releases/virtualbox/README.txt new file mode 100644 index 0000000..04beeba --- /dev/null +++ b/releases/virtualbox/README.txt @@ -0,0 +1,6 @@ +Wekan +----- +- NOTE: VirtualBox script use Wekan stable (master+devel branch). Edge scripts are at wekan-maintainer/releases/ directory. +- Wekan is started at boot at /etc/rc.local +- scripts are at ~/repos +- this README.txt is at VirtualBox Ubuntu desktop diff --git a/releases/virtualbox/etc-rc.local.txt b/releases/virtualbox/etc-rc.local.txt new file mode 100644 index 0000000..7c951a8 --- /dev/null +++ b/releases/virtualbox/etc-rc.local.txt @@ -0,0 +1,20 @@ +#!/bin/sh -e +# +# rc.local +# +# This script is executed at the end of each multiuser runlevel. +# Make sure that the script will "exit 0" on success or any other +# value on error. +# +# In order to enable or disable this script just change the execution +# bits. +# +# By default this script does nothing. + +# node-allow-port-80.sh +sudo setcap cap_net_bind_service=+ep /usr/local/bin/node + +# Start Wekan at boot at Ubuntu 14.04 +sudo -H -u wekan bash -c '/home/wekan/repos/wekan/releases/virtualbox/start-wekan.sh' + +exit 0 diff --git a/releases/virtualbox/ipaddress.sh b/releases/virtualbox/ipaddress.sh new file mode 100755 index 0000000..0d79d43 --- /dev/null +++ b/releases/virtualbox/ipaddress.sh @@ -0,0 +1,2 @@ +# ifdata -pa eth0 +ip address diff --git a/releases/virtualbox/node-allow-port-80.sh b/releases/virtualbox/node-allow-port-80.sh new file mode 100755 index 0000000..4f1861b --- /dev/null +++ b/releases/virtualbox/node-allow-port-80.sh @@ -0,0 +1 @@ +sudo setcap cap_net_bind_service=+ep /usr/local/bin/node diff --git a/releases/virtualbox/start-wekan.sh b/releases/virtualbox/start-wekan.sh new file mode 100755 index 0000000..8d1f48e --- /dev/null +++ b/releases/virtualbox/start-wekan.sh @@ -0,0 +1,351 @@ +# If you want to restart even on crash, uncomment while and done lines. + +#while true; do + cd ~/repos/wekan/.build/bundle + #--------------------------------------------- + # Debug OIDC OAuth2 etc. + #export export DEBUG=true + #--------------------------------------------- + export MONGO_URL='mongodb://127.0.0.1:27017/admin' + # ROOT_URL EXAMPLES FOR WEBSERVERS: https://github.com/wekan/wekan/wiki/Settings + # Production: https://example.com/wekan + # Local: http://localhost:3000 + #export ipaddress=$(ifdata -pa eth0) + export ROOT_URL='http://localhost' + #--------------------------------------------- + # Working email IS NOT REQUIRED to use Wekan. + # https://github.com/wekan/wekan/wiki/Adding-users + # https://github.com/wekan/wekan/wiki/Troubleshooting-Mail + # https://github.com/wekan/wekan-mongodb/blob/master/docker-compose.yml + export MAIL_URL='smtp://user:pass@mailserver.example.com:25/' + export MAIL_FROM='Wekan Support ' + # This is local port where Wekan Node.js runs, same as below on Caddyfile settings. + export PORT=80 + #--------------------------------------------- + # Wekan Export Board works when WITH_API='true'. + # If you disable Wekan API, Export Board does not work. + export WITH_API='true' + #--------------------------------------------------------------- + # ==== PASSWORD BRUTE FORCE PROTECTION ==== + #https://atmospherejs.com/lucasantoniassi/accounts-lockout + #Defaults below. Uncomment to change. wekan/server/accounts-lockout.js + #export ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURES_BEFORE=3 + #export ACCOUNTS_LOCKOUT_KNOWN_USERS_PERIOD=60 + #export ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURE_WINDOW=15 + #export ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURES_BERORE=3 + #export ACCOUNTS_LOCKOUT_UNKNOWN_USERS_LOCKOUT_PERIOD=60 + #export ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURE_WINDOW=15 + #--------------------------------------------------------------- + # ==== RICH TEXT EDITOR IN CARD COMMENTS ==== + # https://github.com/wekan/wekan/pull/2560 + export RICHER_CARD_COMMENT_EDITOR=true + #--------------------------------------------------------------- + # ==== CARD OPENED, SEND WEBHOOK MESSAGE ==== + export CARD_OPENED_WEBHOOK_ENABLED=false + #--------------------------------------------------------------- + # ==== Allow to shrink attached/pasted image ==== + # https://github.com/wekan/wekan/pull/2544 + #export MAX_IMAGE_PIXEL=1024 + #export IMAGE_COMPRESS_RATIO=80 + #--------------------------------------------------------------- + # ==== BIGEVENTS DUE ETC NOTIFICATIONS ===== + # https://github.com/wekan/wekan/pull/2541 + # Introduced a system env var BIGEVENTS_PATTERN default as "NONE", + # so any activityType matches the pattern, system will send out + # notifications to all board members no matter they are watching + # or tracking the board or not. Owner of the wekan server can + # disable the feature by setting this variable to "NONE" or + # change the pattern to any valid regex. i.e. '|' delimited + # activityType names. + # a) Example + #export BIGEVENTS_PATTERN=due + # b) All + #export BIGEVENTS_PATTERN=received|start|due|end + # c) Disabled + export BIGEVENTS_PATTERN=NONE + #--------------------------------------------------------------- + # ==== EMAIL DUE DATE NOTIFICATION ===== + # https://github.com/wekan/wekan/pull/2536 + # System timelines will be showing any user modification for + # dueat startat endat receivedat, also notification to + # the watchers and if any card is due, about due or past due. + # + # Notify due days, default is None. + #export NOTIFY_DUE_DAYS_BEFORE_AND_AFTER=2,0 + # it will notify user 2 days before due day and on the due day + # + # Notify due at hour of day. Default every morning at 8am. Can be 0-23. + # If env variable has parsing error, use default. Notification sent to watchers. + #export NOTIFY_DUE_AT_HOUR_OF_DAY=8 + #----------------------------------------------------------------- + # ==== EMAIL NOTIFICATION TIMEOUT, ms ===== + # Defaut: 30000 ms = 30s + #export EMAIL_NOTIFICATION_TIMEOUT=30000 + #----------------------------------------------------------------- + # CORS: Set Access-Control-Allow-Origin header. Example: * + #export CORS=* + # To enable the Set Access-Control-Allow-Headers header. "Authorization,Content-Type" is required for cross-origin use of the API. + #export CORS_ALLOW_HEADERS=Authorization,Content-Type + # To enable the Set Access-Control-Expose-Headers header. This is not needed for typical CORS situations. Example: * + #export CORS_EXPOSE_HEADERS=* + #--------------------------------------------- + ## Optional: Integration with Matomo https://matomo.org that is installed to your server + ## The address of the server where Matomo is hosted: + ##export MATOMO_ADDRESS=https://example.com/matomo + #export MATOMO_ADDRESS= + ## The value of the site ID given in Matomo server for Wekan + # Example: export MATOMO_SITE_ID=123456789 + #export MATOMO_SITE_ID='' + ## The option do not track which enables users to not be tracked by matomo" + #Example: export MATOMO_DO_NOT_TRACK=false + #export MATOMO_DO_NOT_TRACK=true + ## The option that allows matomo to retrieve the username: + # Example: export MATOMO_WITH_USERNAME=true + #export MATOMO_WITH_USERNAME='false' + # Enable browser policy and allow one trusted URL that can have iframe that has Wekan embedded inside. + # Setting this to false is not recommended, it also disables all other browser policy protections + # and allows all iframing etc. See wekan/server/policy.js + # Default value: true + export BROWSER_POLICY_ENABLED=true + # When browser policy is enabled, HTML code at this Trusted URL can have iframe that embeds Wekan inside. + # Example: export TRUSTED_URL=http://example.com + export TRUSTED_URL='' + # What to send to Outgoing Webhook, or leave out. Example, that includes all that are default: cardId,listId,oldListId,boardId,comment,user,card,commentId . + # Example: export WEBHOOKS_ATTRIBUTES=cardId,listId,oldListId,boardId,comment,user,card,commentId + export WEBHOOKS_ATTRIBUTES='' + #--------------------------------------------- + # ==== OAUTH2 AZURE ==== + # https://github.com/wekan/wekan/wiki/Azure + # 1) Register the application with Azure. Make sure you capture + # the application ID as well as generate a secret key. + # 2) Configure the environment variables. This differs slightly + # by installation type, but make sure you have the following: + #export OAUTH2_ENABLED=true + # OAuth2 login style: popup or redirect. + #export OAUTH2_LOGIN_STYLE=redirect + # Application GUID captured during app registration: + #export OAUTH2_CLIENT_ID=xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx + # Secret key generated during app registration: + #export OAUTH2_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx + #export OAUTH2_SERVER_URL=https://login.microsoftonline.com/ + #export OAUTH2_AUTH_ENDPOINT=/oauth2/v2.0/authorize + #export OAUTH2_USERINFO_ENDPOINT=https://graph.microsoft.com/oidc/userinfo + #export OAUTH2_TOKEN_ENDPOINT=/oauth2/v2.0/token + # OAUTH2 ID Token Whitelist Fields. + #export OAUTH2_ID_TOKEN_WHITELIST_FIELDS=[] + # OAUTH2 Request Permissions. + #export OAUTH2_REQUEST_PERMISSIONS='openid profile email' + # The claim name you want to map to the unique ID field: + #export OAUTH2_ID_MAP=email + # The claim name you want to map to the username field: + #export OAUTH2_USERNAME_MAP=email + # The claim name you want to map to the full name field: + #export OAUTH2_FULLNAME_MAP=name + # Tthe claim name you want to map to the email field: + #export OAUTH2_EMAIL_MAP=email + #----------------------------------------------------------------- + # ==== OAUTH2 KEYCLOAK ==== + # https://github.com/wekan/wekan/wiki/Keycloak <== MAPPING INFO, REQUIRED + #export OAUTH2_ENABLED=true + # OAuth2 login style: popup or redirect. + #export OAUTH2_LOGIN_STYLE=redirect + #export OAUTH2_CLIENT_ID= + #export OAUTH2_SERVER_URL=/auth + #export OAUTH2_AUTH_ENDPOINT=/realms//protocol/openid-connect/auth + #export OAUTH2_USERINFO_ENDPOINT=/realms//protocol/openid-connect/userinfo + #export OAUTH2_TOKEN_ENDPOINT=/realms//protocol/openid-connect/token + #export OAUTH2_SECRET= + #----------------------------------------------------------------- + # ==== OAUTH2 DOORKEEPER ==== + # OAuth2 docs: https://github.com/wekan/wekan/wiki/OAuth2 + # https://github.com/wekan/wekan/issues/1874 + # https://github.com/wekan/wekan/wiki/OAuth2 + # Enable the OAuth2 connection + #export OAUTH2_ENABLED=true + # OAuth2 login style: popup or redirect. + #export OAUTH2_LOGIN_STYLE=redirect + # OAuth2 Client ID. + #export OAUTH2_CLIENT_ID=abcde12345 + # OAuth2 Secret. + #export OAUTH2_SECRET=54321abcde + # OAuth2 Server URL. + #export OAUTH2_SERVER_URL=https://chat.example.com + # OAuth2 Authorization Endpoint. + #export OAUTH2_AUTH_ENDPOINT=/oauth/authorize + # OAuth2 Userinfo Endpoint. + #export OAUTH2_USERINFO_ENDPOINT=/oauth/userinfo + # OAuth2 Token Endpoint. + #export OAUTH2_TOKEN_ENDPOINT=/oauth/token + # OAuth2 ID Mapping + #export OAUTH2_ID_MAP= + # OAuth2 Username Mapping + #export OAUTH2_USERNAME_MAP= + # OAuth2 Fullname Mapping + #export OAUTH2_FULLNAME_MAP= + # OAuth2 Email Mapping + #export OAUTH2_EMAIL_MAP= + #--------------------------------------------- + # LDAP_ENABLE : Enable or not the connection by the LDAP + # example : export LDAP_ENABLE=true + #export LDAP_ENABLE=false + # LDAP_PORT : The port of the LDAP server + # example : export LDAP_PORT=389 + #export LDAP_PORT=389 + # LDAP_HOST : The host server for the LDAP server + # example : export LDAP_HOST=localhost + #export LDAP_HOST= + # LDAP_BASEDN : The base DN for the LDAP Tree + # example : export LDAP_BASEDN=ou=user,dc=example,dc=org + #export LDAP_BASEDN= + # LDAP_LOGIN_FALLBACK : Fallback on the default authentication method + # example : export LDAP_LOGIN_FALLBACK=true + #export LDAP_LOGIN_FALLBACK=false + # LDAP_RECONNECT : Reconnect to the server if the connection is lost + # example : export LDAP_RECONNECT=false + #export LDAP_RECONNECT=true + # LDAP_TIMEOUT : Overall timeout, in milliseconds + # example : export LDAP_TIMEOUT=12345 + #export LDAP_TIMEOUT=10000 + # LDAP_IDLE_TIMEOUT : Specifies the timeout for idle LDAP connections in milliseconds + # example : export LDAP_IDLE_TIMEOUT=12345 + #export LDAP_IDLE_TIMEOUT=10000 + # LDAP_CONNECT_TIMEOUT : Connection timeout, in milliseconds + # example : export LDAP_CONNECT_TIMEOUT=12345 + #export LDAP_CONNECT_TIMEOUT=10000 + # LDAP_AUTHENTIFICATION : If the LDAP needs a user account to search + # example : export LDAP_AUTHENTIFICATION=true + #export LDAP_AUTHENTIFICATION=false + # LDAP_AUTHENTIFICATION_USERDN : The search user DN + # example : export LDAP_AUTHENTIFICATION_USERDN=cn=admin,dc=example,dc=org + #export LDAP_AUTHENTIFICATION_USERDN= + # LDAP_AUTHENTIFICATION_PASSWORD : The password for the search user + # example : AUTHENTIFICATION_PASSWORD=admin + #export LDAP_AUTHENTIFICATION_PASSWORD= + # LDAP_LOG_ENABLED : Enable logs for the module + # example : export LDAP_LOG_ENABLED=true + #export LDAP_LOG_ENABLED=false + # LDAP_BACKGROUND_SYNC : If the sync of the users should be done in the background + # example : export LDAP_BACKGROUND_SYNC=true + #export LDAP_BACKGROUND_SYNC=false + # LDAP_BACKGROUND_SYNC_INTERVAL : At which interval does the background task sync in milliseconds + # At which interval does the background task sync in milliseconds. + # Leave this unset, so it uses default, and does not crash. + # https://github.com/wekan/wekan/issues/2354#issuecomment-515305722 + export LDAP_BACKGROUND_SYNC_INTERVAL='' + # LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED : + # example : export LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED=true + #export LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED=false + # LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS : + # example : export LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS=true + #export LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS=false + # LDAP_ENCRYPTION : If using LDAPS + # example : export LDAP_ENCRYPTION=ssl + #export LDAP_ENCRYPTION=false + # LDAP_CA_CERT : The certification for the LDAPS server. Certificate needs to be included in this docker-compose.yml file. + # example : export LDAP_CA_CERT=-----BEGIN CERTIFICATE-----MIIE+zCCA+OgAwIBAgIkAhwR/6TVLmdRY6hHxvUFWc0+Enmu/Hu6cj+G2FIdAgIC...-----END CERTIFICATE----- + #export LDAP_CA_CERT= + # LDAP_REJECT_UNAUTHORIZED : Reject Unauthorized Certificate + # example : export LDAP_REJECT_UNAUTHORIZED=true + #export LDAP_REJECT_UNAUTHORIZED=false + # Option to login to the LDAP server with the user's own username and password, instead of an administrator key. Default: false (use administrator key). + #export LDAP_USER_AUTHENTICATION=true + # Which field is used to find the user for the user authentication. Default: uid. + #export LDAP_USER_AUTHENTICATION_FIELD=uid + # LDAP_USER_SEARCH_FILTER : Optional extra LDAP filters. Don't forget the outmost enclosing parentheses if needed + # example : export LDAP_USER_SEARCH_FILTER= + #export LDAP_USER_SEARCH_FILTER= + # LDAP_USER_SEARCH_SCOPE : base (search only in the provided DN), one (search only in the provided DN and one level deep), or sub (search the whole subtree) + # example : export LDAP_USER_SEARCH_SCOPE=one + #export LDAP_USER_SEARCH_SCOPE= + # LDAP_USER_SEARCH_FIELD : Which field is used to find the user + # example : export LDAP_USER_SEARCH_FIELD=uid + #export LDAP_USER_SEARCH_FIELD= + # LDAP_SEARCH_PAGE_SIZE : Used for pagination (0=unlimited) + # example : export LDAP_SEARCH_PAGE_SIZE=12345 + #export LDAP_SEARCH_PAGE_SIZE=0 + # LDAP_SEARCH_SIZE_LIMIT : The limit number of entries (0=unlimited) + # example : export LDAP_SEARCH_SIZE_LIMIT=12345 + #export LDAP_SEARCH_SIZE_LIMIT=0 + # LDAP_GROUP_FILTER_ENABLE : Enable group filtering + # example : export LDAP_GROUP_FILTER_ENABLE=true + #export LDAP_GROUP_FILTER_ENABLE=false + # LDAP_GROUP_FILTER_OBJECTCLASS : The object class for filtering + # example : export LDAP_GROUP_FILTER_OBJECTCLASS=group + #export LDAP_GROUP_FILTER_OBJECTCLASS= + # LDAP_GROUP_FILTER_GROUP_ID_ATTRIBUTE : + # example : + #export LDAP_GROUP_FILTER_GROUP_ID_ATTRIBUTE= + # LDAP_GROUP_FILTER_GROUP_MEMBER_ATTRIBUTE : + # example : + #export LDAP_GROUP_FILTER_GROUP_MEMBER_ATTRIBUTE= + # LDAP_GROUP_FILTER_GROUP_MEMBER_FORMAT : + # example : + #export LDAP_GROUP_FILTER_GROUP_MEMBER_FORMAT= + # LDAP_GROUP_FILTER_GROUP_NAME : + # example : + #export LDAP_GROUP_FILTER_GROUP_NAME= + # LDAP_UNIQUE_IDENTIFIER_FIELD : This field is sometimes class GUID (Globally Unique Identifier) + # example : export LDAP_UNIQUE_IDENTIFIER_FIELD=guid + #export LDAP_UNIQUE_IDENTIFIER_FIELD= + # LDAP_UTF8_NAMES_SLUGIFY : Convert the username to utf8 + # example : export LDAP_UTF8_NAMES_SLUGIFY=false + #export LDAP_UTF8_NAMES_SLUGIFY=true + # LDAP_USERNAME_FIELD : Which field contains the ldap username + # example : export LDAP_USERNAME_FIELD=username + #export LDAP_USERNAME_FIELD= + # LDAP_FULLNAME_FIELD : Which field contains the ldap fullname + # example : export LDAP_FULLNAME_FIELD=fullname + #export LDAP_FULLNAME_FIELD= + # LDAP_MERGE_EXISTING_USERS : + # example : export LDAP_MERGE_EXISTING_USERS=true + #export LDAP_MERGE_EXISTING_USERS=false + # LDAP_EMAIL_MATCH_ENABLE : allow existing account matching by e-mail address when username does not match + # example: LDAP_EMAIL_MATCH_ENABLE=true + #export LDAP_EMAIL_MATCH_ENABLE=false + # LDAP_EMAIL_MATCH_REQUIRE : require existing account matching by e-mail address when username does match + # example: LDAP_EMAIL_MATCH_REQUIRE=true + #export LDAP_EMAIL_MATCH_REQUIRE=false + # LDAP_EMAIL_MATCH_VERIFIED : require existing account email address to be verified for matching + # example: LDAP_EMAIL_MATCH_VERIFIED=true + #export LDAP_EMAIL_MATCH_VERIFIED=false + # LDAP_EMAIL_FIELD : which field contains the LDAP e-mail address + # example: LDAP_EMAIL_FIELD=mail + #export LDAP_EMAIL_FIELD= + # LDAP_SYNC_USER_DATA : + # example : export LDAP_SYNC_USER_DATA=true + #export LDAP_SYNC_USER_DATA=false + # LDAP_SYNC_USER_DATA_FIELDMAP : + # example : export LDAP_SYNC_USER_DATA_FIELDMAP={"cn":"name", "mail":"email"} + #export LDAP_SYNC_USER_DATA_FIELDMAP= + # LDAP_SYNC_GROUP_ROLES : + # example : + #export LDAP_SYNC_GROUP_ROLES= + # LDAP_DEFAULT_DOMAIN : The default domain of the ldap it is used to create email if the field is not map correctly with the LDAP_SYNC_USER_DATA_FIELDMAP + # example : + #export LDAP_DEFAULT_DOMAIN= + # Enable/Disable syncing of admin status based on ldap groups: + #export LDAP_SYNC_ADMIN_STATUS=true + # Comma separated list of admin group names. + #export LDAP_SYNC_ADMIN_GROUPS=group1,group2 + #--------------------------------------------------------------------- + # Login to LDAP automatically with HTTP header. + # In below example for siteminder, at right side of = is header name. + #export HEADER_LOGIN_ID=HEADERUID + #export HEADER_LOGIN_FIRSTNAME=HEADERFIRSTNAME + #export HEADER_LOGIN_LASTNAME=HEADERLASTNAME + #export HEADER_LOGIN_EMAIL=HEADEREMAILADDRESS + #--------------------------------------------------------------------- + # LOGOUT_WITH_TIMER : Enables or not the option logout with timer + # example : LOGOUT_WITH_TIMER=true + #export LOGOUT_WITH_TIMER= + # LOGOUT_IN : The number of days + # example : LOGOUT_IN=1 + #export LOGOUT_IN= + #export LOGOUT_ON_HOURS= + # LOGOUT_ON_MINUTES : The number of minutes + # example : LOGOUT_ON_MINUTES=55 + #export LOGOUT_ON_MINUTES= + + node main.js & >> ~/repos/wekan.log + cd ~/repos +#done diff --git a/releases/virtualbox/stop-wekan.sh b/releases/virtualbox/stop-wekan.sh new file mode 100755 index 0000000..a7adf03 --- /dev/null +++ b/releases/virtualbox/stop-wekan.sh @@ -0,0 +1 @@ +pkill -f "node main.js" diff --git a/releases/wekan-snap-help.sh b/releases/wekan-snap-help.sh new file mode 100755 index 0000000..cbeb742 --- /dev/null +++ b/releases/wekan-snap-help.sh @@ -0,0 +1 @@ +wekan.help | less diff --git a/sandstorm-pkgdef.capnp b/sandstorm-pkgdef.capnp new file mode 100644 index 0000000..c9e571c --- /dev/null +++ b/sandstorm-pkgdef.capnp @@ -0,0 +1,267 @@ +# Use use the meteor-spk tool to generate a sandstorm package (spk) from this +# meteor application source code. https://github.com/sandstorm-io/meteor-spk +@0xa5275bd3ad124e12; + +using Spk = import "/sandstorm/package.capnp"; +# This imports: +# $SANDSTORM_HOME/latest/usr/include/sandstorm/package.capnp +# Check out that file to see the full, documented package definition format. + +const pkgdef :Spk.PackageDefinition = ( + # The package definition. Note that the spk tool looks specifically for the + # "pkgdef" constant. + + id = "m86q05rdvj14yvn78ghaxynqz7u2svw6rnttptxx49g1785cdv1h", + # The app ID is actually its public key. The private key was placed in your + # keyring. All updates must be signed with the same key. + + manifest = ( + # This manifest is included in our app package to tell Sandstorm about our + # app. + + appTitle = (defaultText = "Wekan"), + # The name of the app as it is displayed to the user. + + appVersion = 425, + # Increment this for every release. + + appMarketingVersion = (defaultText = "4.25.0~2020-08-31"), + # Human-readable presentation of the app version. + + minUpgradableAppVersion = 0, + # The minimum version of the app which can be safely replaced by this app + # package without data loss. This might be non-zero if the app's data store + # format changed drastically in the past and the app is no longer able to + # read the old format. + + actions = [ + # Define your "new document" handlers here. + ( + title = (defaultText = "New board"), + command = .myCommand, + # The command to run when starting for the first time. (".myCommand" is + # just a constant defined at the bottom of the file.) + ) + ], + + continueCommand = .myCommand, + # This is the command called to start your app back up after it has been + # shut down for inactivity. Here we're using the same command as for + # starting a new instance, but you could use different commands for each + # case. + + metadata = ( + icons = ( + appGrid = (svg = embed "meta/icons/wekan-128.svg"), + grain = (svg = embed "meta/icons/wekan-24.svg"), + market = (svg = embed "meta/icons/wekan-150.svg"), + ), + + website = "https://wekan.github.io", + codeUrl = "https://github.com/wekan/wekan", + license = (openSource = mit), + categories = [productivity, office], + + author = ( + contactEmail = "x@xet7.org", + pgpSignature = embed "meta/wekanteam-pgp-sig", + ), + + pgpKeyring = embed "meta/keyring", + + description = (defaultText = embed "meta/description.md"), + + shortDescription = (defaultText = "Kanban board"), + + screenshots = [ + ( + width = 1920, + height = 1133, + png = embed "meta/screenshots/board_view_01.png" + ), + ( + width = 1920, + height = 1133, + png = embed "meta/screenshots/board_view_02.png" + ), + ], + + changeLog = ( + defaultText = embed "CHANGELOG.md", + localizations = [ + (locale = "fr", text = embed "meta/t9n-changelog/fr.md"), + (locale = "fi", text = embed "meta/t9n-changelog/fi.md"), + ], + ) + ) + ), + + sourceMap = ( + # The following directories will be copied into your package. + searchPath = [ + (sourcePath = ".meteor-spk/deps"), + (sourcePath = ".meteor-spk/bundle"), + ] + ), + + alwaysInclude = [ "." ], + # This says that we always want to include all files from the source map. (An + # alternative is to automatically detect dependencies by watching what the app + # opens while running in dev mode. To see what that looks like, run `spk init` + # without the -A option.) + + bridgeConfig = ( + viewInfo = ( + permissions = [( + name = "participate", + title = ( + defaultText = "participate", + localizations = [ + (locale = "fr", text = "participer"), + (locale = "fi", text = "osallistu"), + ], + ), + description = ( + defaultText = "allows participating in the board", + localizations = [ + (locale = "fr", text = "permet de participer dans le tableau"), + (locale = "fi", text = "mahdollistaa taululle osallistumisen"), + ], + ) + ), ( + name = "configure", + title = ( + defaultText = "configure", + localizations = [ + (locale = "fr", text = "configurer"), + (locale = "fi", text = "asetukset"), + ], + ), + description = ( + defaultText = "allows configuring the board", + localizations = [ + (locale = "fr", text = "permet de configurer le tableau"), + (locale = "fi", text = "mahdollistaa taulun asetusten määrittämisen"), + ], + ) + )], + + roles = [( + title = ( + defaultText = "observer", + localizations = [ + (locale = "fr", text = "observateur"), + (locale = "fi", text = "tarkkailija"), + ], + ), + permissions = [false, false], + verbPhrase = ( + defaultText = "can read", + localizations = [ + (locale = "fr", text = "peut lire"), + (locale = "fi", text = "voi lukea"), + ], + ) + ), ( + title = ( + defaultText = "member", + localizations = [ + (locale = "fr", text = "membre"), + (locale = "fi", text = "jäsen"), + ], + ), + permissions = [true, false], + verbPhrase = ( + defaultText = "can edit", + localizations = [ + (locale = "fr", text = "peut éditer"), + (locale = "fi", text = "voi muokata"), + ], + ), + default = true, + # ), ( + # title = (defaultText = "administrator"), + # permissions = [true, true], + # verbPhrase = (defaultText = "can configure") + # + # XXX Administrators configuration options aren’t implemented yet, so this + # role is currently useless. + )], + + eventTypes = [( + name = "addBoardMember", + verbPhrase = (defaultText = "added to board"), + ), ( + name = "createList", + verbPhrase = (defaultText = "created new list"), + ), ( + name = "archivedList", + verbPhrase = (defaultText = "archived list"), + ), ( + name = "restoredList", + verbPhrase = (defaultText = "restored list"), + ), ( + name = "createCard", + verbPhrase = (defaultText = "created new card"), + ), ( + name = "moveCard", + verbPhrase = (defaultText = "moved card"), + ), ( + name = "archivedCard", + verbPhrase = (defaultText = "archived card"), + ), ( + name = "restoredCard", + verbPhrase = (defaultText = "restored card"), + ), ( + name = "addComment", + verbPhrase = (defaultText = "added comment"), + ), ( + name = "addAttachement", + verbPhrase = (defaultText = "added attachment"), + ), ( + name = "joinMember", + verbPhrase = (defaultText = "added to card"), + ), ( + name = "unjoinMember", + verbPhrase = (defaultText = "removed from card"), + ), ], + ), + apiPath = "/", + saveIdentityCaps = true, + ), +); + +const myCommand :Spk.Manifest.Command = ( + # Here we define the command used to start up your server. + argv = ["/sandstorm-http-bridge", "4000", "--", "node", "start.js"], + environ = [ + # Note that this defines the *entire* environment seen by your app. + (key = "PATH", value = "/usr/local/bin:/usr/bin:/bin"), + (key = "WITH_API", value = "true"), + (key = "RICHER_CARD_COMMENT_EDITOR", value="false"), + (key = "SCROLLINERTIA", value="0"), + (key = "SCROLLAMOUNT", value="auto"), + (key = "SCROLLDELTAFACTOR", value="auto"), + (key = "CARD_OPENED_WEBHOOK_ENABLED", value="false"), + (key = "NOTIFICATION_TRAY_AFTER_READ_DAYS_BEFORE_REMOVE", value=""), + (key = "BIGEVENTS_PATTERN", value="NONE"), + (key = "MATOMO_ADDRESS", value=""), + (key = "MATOMO_SITE_ID", value=""), + (key = "MATOMO_DO_NOT_TRACK", value="true"), + (key = "MATOMO_WITH_USERNAME", value="false"), + (key = "BROWSER_POLICY_ENABLED", value="true"), + (key = "TRUSTED_URL", value=""), + (key = "WEBHOOKS_ATTRIBUTES", value=""), + (key = "OAUTH2_ENABLED", value=""), + (key = "OAUTH2_CLIENT_ID", value="false"), + (key = "OAUTH2_SECRET", value=""), + (key = "OAUTH2_SERVER_URL", value=""), + (key = "OAUTH2_AUTH_ENDPOINT", value=""), + (key = "OAUTH2_USERINFO_ENDPOINT", value=""), + (key = "OAUTH2_TOKEN_ENDPOINT", value=""), + (key = "LDAP_ENABLE", value="false"), + (key = "PASSWORD_LOGIN_ENABLED", value="true"), + (key = "SANDSTORM", value="1"), + (key = "METEOR_SETTINGS", value = "{\"public\": {\"sandstorm\": true}}") + ] +); diff --git a/sandstorm.js b/sandstorm.js new file mode 100644 index 0000000..de386d1 --- /dev/null +++ b/sandstorm.js @@ -0,0 +1,513 @@ +// Sandstorm context is detected using the METEOR_SETTINGS environment variable +// in the package definition. +const isSandstorm = + Meteor.settings && Meteor.settings.public && Meteor.settings.public.sandstorm; + +// In sandstorm we only have one board per sandstorm instance. Since we want to +// keep most of our code unchanged, we simply hard-code a board `_id` and +// redirect the user to this particular board. +const sandstormBoard = { + _id: 'sandstorm', + + // XXX Should be shared with the grain instance name. + title: 'Wekan', + slug: 'libreboard', + members: [], + + // Board access security is handled by sandstorm, so in our point of view we + // can alway assume that the board is public (unauthorized users won't be able + // to access it anyway). + permission: 'public', +}; + +if (isSandstorm && Meteor.isServer) { + const fs = require('fs'); + const Capnp = Npm.require('capnp'); + const Package = Capnp.importSystem('sandstorm/package.capnp'); + const Powerbox = Capnp.importSystem('sandstorm/powerbox.capnp'); + const Identity = Capnp.importSystem('sandstorm/identity.capnp'); + const SandstormHttpBridge = Capnp.importSystem( + 'sandstorm/sandstorm-http-bridge.capnp', + ).SandstormHttpBridge; + + let httpBridge = null; + let capnpConnection = null; + + const bridgeConfig = Capnp.parse( + Package.BridgeConfig, + fs.readFileSync('/sandstorm-http-bridge-config'), + ); + + function getHttpBridge() { + if (!httpBridge) { + capnpConnection = Capnp.connect('unix:/tmp/sandstorm-api'); + httpBridge = capnpConnection.restore(null, SandstormHttpBridge); + } + return httpBridge; + } + + Meteor.methods({ + sandstormClaimIdentityRequest(token, descriptor) { + check(token, String); + check(descriptor, String); + + const parsedDescriptor = Capnp.parse( + Powerbox.PowerboxDescriptor, + Buffer.from(descriptor, 'base64'), + { packed: true }, + ); + + const tag = Capnp.parse( + Identity.Identity.PowerboxTag, + parsedDescriptor.tags[0].value, + ); + const permissions = []; + if (tag.permissions[1]) { + permissions.push('configure'); + } + + if (tag.permissions[0]) { + permissions.push('participate'); + } + + const sessionId = this.connection.sandstormSessionId(); + const httpBridge = getHttpBridge(); + const session = httpBridge.getSessionContext(sessionId).context; + const api = httpBridge.getSandstormApi(sessionId).api; + + Meteor.wrapAsync(done => { + session + .claimRequest(token) + .then(response => { + const identity = response.cap.castAs(Identity.Identity); + const promises = [ + api.getIdentityId(identity), + identity.getProfile(), + httpBridge.saveIdentity(identity), + ]; + return Promise.all(promises).then(responses => { + const identityId = responses[0].id.toString('hex').slice(0, 32); + const profile = responses[1].profile; + return profile.picture.getUrl().then(response => { + const sandstormInfo = { + id: identityId, + name: profile.displayName.defaultText, + permissions, + picture: `${response.protocol}://${response.hostPath}`, + preferredHandle: profile.preferredHandle, + pronouns: profile.pronouns, + }; + + const login = Accounts.updateOrCreateUserFromExternalService( + 'sandstorm', + sandstormInfo, + { profile: { name: sandstormInfo.name } }, + ); + + updateUserPermissions(login.userId, permissions); + done(); + }); + }); + }) + .catch(e => { + done(e, null); + }); + })(); + }, + }); + + function reportActivity(sessionId, path, type, users, caption) { + const httpBridge = getHttpBridge(); + const session = httpBridge.getSessionContext(sessionId).context; + Meteor.wrapAsync(done => { + return Promise.all( + users.map(user => { + return httpBridge + .getSavedIdentity(user.id) + .then(response => { + // Call getProfile() to make sure that the identity successfully resolves. + // (In C++ we would instead call whenResolved() here.) + const identity = response.identity; + return identity.getProfile().then(() => { + return { + identity, + mentioned: !!user.mentioned, + subscribed: !!user.subscribed, + }; + }); + }) + .catch(() => { + // Ignore identities that fail to restore. Either they were added before we set + // `saveIdentityCaps` to true, or they have lost access to the board. + }); + }), + ) + .then(maybeUsers => { + const users = maybeUsers.filter(u => !!u); + const event = { path, type, users }; + if (caption) { + event.notification = { caption }; + } + + return session.activity(event); + }) + .then( + () => done(), + e => done(e), + ); + })(); + } + + Meteor.startup(() => { + Activities.after.insert((userId, doc) => { + // HACK: We need the connection that's making the request in order to read the + // Sandstorm session ID. + const invocation = DDP._CurrentInvocation.get(); // eslint-disable-line no-undef + if (invocation) { + const sessionId = invocation.connection.sandstormSessionId(); + + const eventTypes = bridgeConfig.viewInfo.eventTypes; + + const defIdx = eventTypes.findIndex( + def => def.name === doc.activityType, + ); + if (defIdx >= 0) { + const users = {}; + function ensureUserListed(userId) { + if (!users[userId]) { + const user = Meteor.users.findOne(userId); + if (user) { + users[userId] = { id: user.services.sandstorm.id }; + } else { + return false; + } + } + return true; + } + + function mentionedUser(userId) { + if (ensureUserListed(userId)) { + users[userId].mentioned = true; + } + } + + function subscribedUser(userId) { + if (ensureUserListed(userId)) { + users[userId].subscribed = true; + } + } + + let path = ''; + let caption = null; + + if (doc.cardId) { + path = `b/sandstorm/libreboard/${doc.cardId}`; + Cards.findOne(doc.cardId).members.map(subscribedUser); + } + + if (doc.memberId) { + mentionedUser(doc.memberId); + } + + if (doc.activityType === 'addComment') { + const comment = CardComments.findOne(doc.commentId); + caption = { defaultText: comment.text }; + const activeMembers = _.pluck( + Boards.findOne(sandstormBoard._id).activeMembers(), + 'userId', + ); + (comment.text.match(/\B@([\w.]*)/g) || []).forEach(username => { + const user = Meteor.users.findOne({ + username: username.slice(1), + }); + if (user && activeMembers.indexOf(user._id) !== -1) { + mentionedUser(user._id); + } + }); + } + + reportActivity(sessionId, path, defIdx, _.values(users), caption); + } + } + }); + }); + + function updateUserPermissions(userId, permissions) { + const isActive = permissions.indexOf('participate') > -1; + const isAdmin = permissions.indexOf('configure') > -1; + const isCommentOnly = false; + const isNoComments = false; + const isWorker = false; + const permissionDoc = { + userId, + isActive, + isAdmin, + isNoComments, + isCommentOnly, + isWorker, + }; + + const boardMembers = Boards.findOne(sandstormBoard._id).members; + const memberIndex = _.pluck(boardMembers, 'userId').indexOf(userId); + + let modifier; + if (memberIndex > -1) + modifier = { $set: { [`members.${memberIndex}`]: permissionDoc } }; + else if (!isActive) modifier = {}; + else modifier = { $push: { members: permissionDoc } }; + + Boards.update(sandstormBoard._id, modifier); + } + + Picker.route('/', (params, req, res) => { + // Redirect the user to the hard-coded board. On the first launch the user + // will be redirected to the board before its creation. But that's not a + // problem thanks to the reactive board publication. We used to do this + // redirection on the client side but that was sometimes visible on loading, + // and the home page was accessible by pressing the back button of the + // browser, a server-side redirection solves both of these issues. + // + // XXX Maybe the sandstorm http-bridge could provide some kind of "home URL" + // in the manifest? + const base = req.headers['x-sandstorm-base-path']; + const { _id, slug } = sandstormBoard; + const boardPath = FlowRouter.path('board', { id: _id, slug }); + + res.writeHead(301, { + Location: base + boardPath, + }); + res.end(); + }); + + // On the first launch of the instance a user is automatically created thanks + // to the `accounts-sandstorm` package. After its creation we insert the + // unique board document. Note that when the `Users.after.insert` hook is + // called, the user is inserted into the database but not connected. So + // despite the appearances `userId` is null in this block. + Users.after.insert((userId, doc) => { + if (!Boards.findOne(sandstormBoard._id)) { + Boards.insert(sandstormBoard, { validate: false }); + Swimlanes.insert({ + title: 'Default', + boardId: sandstormBoard._id, + }); + Activities.update( + { activityTypeId: sandstormBoard._id }, + { $set: { userId: doc._id } }, + ); + } + + // We rely on username uniqueness for the user mention feature, but + // Sandstorm doesn't enforce this property -- see #352. Our strategy to + // generate unique usernames from the Sandstorm `preferredHandle` is to + // append a number that we increment until we generate a username that no + // one already uses (eg, 'max', 'max1', 'max2'). + function generateUniqueUsername(username, appendNumber) { + return username + String(appendNumber === 0 ? '' : appendNumber); + } + + const username = doc.services.sandstorm.preferredHandle; + let appendNumber = 0; + while ( + Users.findOne({ + _id: { $ne: doc._id }, + username: generateUniqueUsername(username, appendNumber), + }) + ) { + appendNumber += 1; + } + + Users.update(doc._id, { + $set: { + username: generateUniqueUsername(username, appendNumber), + 'profile.fullname': doc.services.sandstorm.name, + 'profile.avatarUrl': doc.services.sandstorm.picture, + }, + }); + + updateUserPermissions(doc._id, doc.services.sandstorm.permissions); + }); + + Meteor.startup(() => { + Users.find().observeChanges({ + changed(userId, fields) { + const sandstormData = (fields.services || {}).sandstorm || {}; + if (sandstormData.name) { + Users.update(userId, { + $set: { 'profile.fullname': sandstormData.name }, + }); + } + + if (sandstormData.picture) { + Users.update(userId, { + $set: { 'profile.avatarUrl': sandstormData.picture }, + }); + } + + if (sandstormData.permissions) { + updateUserPermissions(userId, sandstormData.permissions); + } + }, + }); + }); + + // Wekan v0.8 didn’t implement the Sandstorm sharing model and instead kept + // the visibility setting (“public” or “private”) in the UI as does the main + // Meteor application. We need to enforce “public” visibility as the sharing + // is now handled by Sandstorm. + // See https://github.com/wekan/wekan/issues/346 + Migrations.add('enforce-public-visibility-for-sandstorm', () => { + Boards.update('sandstorm', { $set: { permission: 'public' } }); + }); + + // Monkey patch to work around the problem described in + // https://github.com/sandstorm-io/meteor-accounts-sandstorm/pull/31 + const _httpMethods = HTTP.methods; + HTTP.methods = newMethods => { + Object.keys(newMethods).forEach(key => { + if (newMethods[key].auth) { + newMethods[key].auth = function() { + const sandstormID = this.req.headers['x-sandstorm-user-id']; + const user = Meteor.users.findOne({ + 'services.sandstorm.id': sandstormID, + }); + return user && user._id; + }; + } + }); + _httpMethods(newMethods); + }; +} + +if (isSandstorm && Meteor.isClient) { + let rpcCounter = 0; + const rpcs = {}; + + window.addEventListener('message', event => { + if (event.source === window) { + // Meteor likes to postmessage itself. + return; + } + + if ( + event.source !== window.parent || + typeof event.data !== 'object' || + typeof event.data.rpcId !== 'number' + ) { + throw new Error(`got unexpected postMessage: ${event}`); + } + + const handler = rpcs[event.data.rpcId]; + if (!handler) { + throw new Error(`no such rpc ID for event ${event}`); + } + + delete rpcs[event.data.rpcId]; + handler(event.data); + }); + + function sendRpc(name, message) { + const id = rpcCounter++; + message.rpcId = id; + const obj = {}; + obj[name] = message; + window.parent.postMessage(obj, '*'); + return new Promise((resolve, reject) => { + rpcs[id] = response => { + if (response.error) { + reject(new Error(response.error)); + } else { + resolve(response); + } + }; + }); + } + + const powerboxDescriptors = { + identity: 'EAhQAQEAABEBF1EEAQH_GN1RqXqYhMAAQAERAREBAQ', + // Generated using the following code: + // + // Capnp.serializePacked( + // Powerbox.PowerboxDescriptor, + // { tags: [ { + // id: "13872380404802116888", + // value: Capnp.serialize(Identity.PowerboxTag, { permissions: [true, false] }) + // }]}).toString('base64') + // .replace(/\//g, "_") + // .replace(/\+/g, "-"); + }; + + function doRequest(serializedPowerboxDescriptor, onSuccess) { + return sendRpc('powerboxRequest', { + query: [serializedPowerboxDescriptor], + }).then(response => { + if (!response.canceled) { + onSuccess(response); + } + }); + } + + window.sandstormRequestIdentity = function() { + doRequest(powerboxDescriptors.identity, response => { + Meteor.call( + 'sandstormClaimIdentityRequest', + response.token, + response.descriptor, + ); + }); + }; + + // Since the Sandstorm grain is displayed in an iframe of the Sandstorm shell, + // we need to explicitly expose meta data like the page title or the URL path + // so that they could appear in the browser window. + // See https://docs.sandstorm.io/en/latest/developing/path/ + function updateSandstormMetaData(msg) { + return window.parent.postMessage(msg, '*'); + } + + FlowRouter.triggers.enter([ + ({ path }) => { + updateSandstormMetaData({ setPath: path }); + }, + ]); + + Tracker.autorun(() => { + updateSandstormMetaData({ setTitle: DocHead.getTitle() }); + }); + + // Runtime redirection from the home page to the unique board -- since the + // home page contains a list of a single board it's not worth to display. + // + // XXX Hack. The home route is already defined at this point so we need to + // add the redirection trigger to the internal route object. + //FlowRouter._routesMap.home._triggersEnter.push((context, redirect) => { + // redirect(FlowRouter.path('board', { + // id: sandstormBoard._id, + // slug: sandstormBoard.slug, + // })); + //}); + + // XXX Hack. `Meteor.absoluteUrl` doesn't work in Sandstorm, since every + // session has a different URL whereas Meteor computes absoluteUrl based on + // the ROOT_URL environment variable. So we overwrite this function on a + // sandstorm client to return relative paths instead of absolutes. + const _absoluteUrl = Meteor.absoluteUrl; + const _defaultOptions = Meteor.absoluteUrl.defaultOptions; + Meteor.absoluteUrl = (path, options) => { + const url = _absoluteUrl(path, options); + return url.replace(/^https?:\/\/127\.0\.0\.1:[0-9]{2,5}/, ''); + }; + Meteor.absoluteUrl.defaultOptions = _defaultOptions; + + // XXX Hack to fix https://github.com/wefork/wekan/issues/27 + // Sandstorm Wekan instances only ever have a single board, so there is no need + // to cache per-board subscriptions. + //SubsManager.prototype.subscribe = function(...params) { + // return Meteor.subscribe(...params); + //}; +} + +// We use this blaze helper in the UI to hide some templates that does not make +// sense in the context of sandstorm, like board staring, board archiving, user +// name edition, etc. +Blaze.registerHelper('isSandstorm', isSandstorm); diff --git a/scalingo.json b/scalingo.json new file mode 100644 index 0000000..78601a4 --- /dev/null +++ b/scalingo.json @@ -0,0 +1,8 @@ +{ + "name": "wekan", + "description": "The open-source kanban (built with Meteor)", + "repository": "https://github.com/wekan/wekan/", + "logo": "https://raw.githubusercontent.com/wekan/wekan/master/meta/icons/wekan-150.png", + "website": "https://wekan.github.io", + "addons": ["scalingo-mongodb"] +} diff --git a/server/accounts-lockout.js b/server/accounts-lockout.js new file mode 100644 index 0000000..2eb0409 --- /dev/null +++ b/server/accounts-lockout.js @@ -0,0 +1,21 @@ +// https://atmospherejs.com/lucasantoniassi/accounts-lockout +// server +import { AccountsLockout } from 'meteor/lucasantoniassi:accounts-lockout'; + +new AccountsLockout({ + knownUsers: { + failuresBeforeLockout: + process.env.ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURES_BEFORE || 3, + lockoutPeriod: process.env.ACCOUNTS_LOCKOUT_KNOWN_USERS_PERIOD || 60, + failureWindow: + process.env.ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURE_WINDOW || 15, + }, + unknownUsers: { + failuresBeforeLockout: + process.env.ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURES_BERORE || 3, + lockoutPeriod: + process.env.ACCOUNTS_LOCKOUT_UNKNOWN_USERS_LOCKOUT_PERIOD || 60, + failureWindow: + process.env.ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURE_WINDOW || 15, + }, +}).startup(); diff --git a/server/authentication.js b/server/authentication.js new file mode 100644 index 0000000..2032728 --- /dev/null +++ b/server/authentication.js @@ -0,0 +1,89 @@ +import Fiber from 'fibers'; + +Meteor.startup(() => { + // Node Fibers 100% CPU usage issue + // https://github.com/wekan/wekan-mongodb/issues/2#issuecomment-381453161 + // https://github.com/meteor/meteor/issues/9796#issuecomment-381676326 + // https://github.com/sandstorm-io/sandstorm/blob/0f1fec013fe7208ed0fd97eb88b31b77e3c61f42/shell/server/00-startup.js#L99-L129 + Fiber.poolSize = 1e9; + + Accounts.validateLoginAttempt(function(options) { + const user = options.user || {}; + return !user.loginDisabled; + }); + + Authentication = {}; + + Authentication.checkUserId = function(userId) { + if (userId === undefined) { + const error = new Meteor.Error('Unauthorized', 'Unauthorized'); + error.statusCode = 401; + throw error; + } + const admin = Users.findOne({ _id: userId, isAdmin: true }); + + if (admin === undefined) { + const error = new Meteor.Error('Forbidden', 'Forbidden'); + error.statusCode = 403; + throw error; + } + }; + + // This will only check if the user is logged in. + // The authorization checks for the user will have to be done inside each API endpoint + Authentication.checkLoggedIn = function(userId) { + if (userId === undefined) { + const error = new Meteor.Error('Unauthorized', 'Unauthorized'); + error.statusCode = 401; + throw error; + } + }; + + // An admin should be authorized to access everything, so we use a separate check for admins + // This throws an error if otherReq is false and the user is not an admin + Authentication.checkAdminOrCondition = function(userId, otherReq) { + if (otherReq) return; + const admin = Users.findOne({ _id: userId, isAdmin: true }); + if (admin === undefined) { + const error = new Meteor.Error('Forbidden', 'Forbidden'); + error.statusCode = 403; + throw error; + } + }; + + // Helper function. Will throw an error if the user does not have read only access to the given board + Authentication.checkBoardAccess = function(userId, boardId) { + Authentication.checkLoggedIn(userId); + + const board = Boards.findOne({ _id: boardId }); + const normalAccess = + board.permission === 'public' || + board.members.some(e => e.userId === userId && e.isActive); + Authentication.checkAdminOrCondition(userId, normalAccess); + }; + + if (Meteor.isServer) { + if (process.env.OAUTH2_CLIENT_ID !== '') { + ServiceConfiguration.configurations.upsert( + // eslint-disable-line no-undef + { service: 'oidc' }, + { + $set: { + loginStyle: process.env.OAUTH2_LOGIN_STYLE, + clientId: process.env.OAUTH2_CLIENT_ID, + secret: process.env.OAUTH2_SECRET, + serverUrl: process.env.OAUTH2_SERVER_URL, + authorizationEndpoint: process.env.OAUTH2_AUTH_ENDPOINT, + userinfoEndpoint: process.env.OAUTH2_USERINFO_ENDPOINT, + tokenEndpoint: process.env.OAUTH2_TOKEN_ENDPOINT, + idTokenWhitelistFields: + process.env.OAUTH2_ID_TOKEN_WHITELIST_FIELDS || [], + requestPermissions: process.env.OAUTH2_REQUEST_PERMISSIONS, + }, + // OAUTH2_ID_TOKEN_WHITELIST_FIELDS || [], + // OAUTH2_REQUEST_PERMISSIONS || 'openid profile email', + }, + ); + } + } +}); diff --git a/server/card-opened-webhook.js b/server/card-opened-webhook.js new file mode 100644 index 0000000..3c94d10 --- /dev/null +++ b/server/card-opened-webhook.js @@ -0,0 +1,7 @@ +Meteor.startup(() => { + if (process.env.CARD_OPENED_WEBHOOK_ENABLED === 'true') { + Meteor.settings.public.CARD_OPENED_WEBHOOK_ENABLED = true; + } else { + Meteor.settings.public.CARD_OPENED_WEBHOOK_ENABLED = false; + } +}); diff --git a/server/cors.js b/server/cors.js new file mode 100644 index 0000000..4badba9 --- /dev/null +++ b/server/cors.js @@ -0,0 +1,27 @@ +Meteor.startup(() => { + if (process.env.CORS) { + // Listen to incoming HTTP requests, can only be used on the server + WebApp.rawConnectHandlers.use(function(req, res, next) { + res.setHeader('Access-Control-Allow-Origin', process.env.CORS); + return next(); + }); + } + if (process.env.CORS_ALLOW_HEADERS) { + WebApp.rawConnectHandlers.use(function(req, res, next) { + res.setHeader( + 'Access-Control-Allow-Headers', + process.env.CORS_ALLOW_HEADERS, + ); + return next(); + }); + } + if (process.env.CORS_EXPOSE_HEADERS) { + WebApp.rawConnectHandlers.use(function(req, res, next) { + res.setHeader( + 'Access-Control-Expose-Headers', + process.env.CORS_EXPOSE_HEADERS, + ); + return next(); + }); + } +}); diff --git a/server/header-login.js b/server/header-login.js new file mode 100644 index 0000000..88d1a1a --- /dev/null +++ b/server/header-login.js @@ -0,0 +1,10 @@ +Meteor.startup(() => { + if (process.env.HEADER_LOGIN_ID) { + Meteor.settings.public.headerLoginId = process.env.HEADER_LOGIN_ID; + Meteor.settings.public.headerLoginEmail = process.env.HEADER_LOGIN_EMAIL; + Meteor.settings.public.headerLoginFirstname = + process.env.HEADER_LOGIN_FIRSTNAME; + Meteor.settings.public.headerLoginLastname = + process.env.HEADER_LOGIN_LASTNAME; + } +}); diff --git a/server/lib/utils.js b/server/lib/utils.js new file mode 100644 index 0000000..2d19f6d --- /dev/null +++ b/server/lib/utils.js @@ -0,0 +1,26 @@ +allowIsBoardAdmin = function(userId, board) { + return board && board.hasAdmin(userId); +}; + +allowIsBoardMember = function(userId, board) { + return board && board.hasMember(userId); +}; + +allowIsAnyBoardMember = function(userId, boards) { + return _.some(boards, board => { + return board && board.hasMember(userId); + }); +}; + +allowIsBoardMemberCommentOnly = function(userId, board) { + return board && board.hasMember(userId) && !board.hasCommentOnly(userId); +}; + +allowIsBoardMemberNoComments = function(userId, board) { + return board && board.hasMember(userId) && !board.hasNoComments(userId); +}; + +allowIsBoardMemberByCard = function(userId, card) { + const board = card.board(); + return board && board.hasMember(userId); +}; diff --git a/server/max-image-pixel.js b/server/max-image-pixel.js new file mode 100644 index 0000000..a0531e8 --- /dev/null +++ b/server/max-image-pixel.js @@ -0,0 +1,7 @@ +Meteor.startup(() => { + if (process.env.MAX_IMAGE_PIXEL) { + Meteor.settings.public.MAX_IMAGE_PIXEL = process.env.MAX_IMAGE_PIXEL; + Meteor.settings.public.IMAGE_COMPRESS_RATIO = + process.env.IMAGE_COMPRESS_RATIO; + } +}); diff --git a/server/migrations.js b/server/migrations.js new file mode 100644 index 0000000..85d10c8 --- /dev/null +++ b/server/migrations.js @@ -0,0 +1,1046 @@ +import AccountSettings from '../models/accountSettings'; +import Actions from '../models/actions'; +import Activities from '../models/activities'; +import Announcements from '../models/announcements'; +import Boards from '../models/boards'; +import CardComments from '../models/cardComments'; +import Cards from '../models/cards'; +import ChecklistItems from '../models/checklistItems'; +import Checklists from '../models/checklists'; +import CustomFields from '../models/customFields'; +import Integrations from '../models/integrations'; +import InvitationCodes from '../models/invitationCodes'; +import Lists from '../models/lists'; +import Rules from '../models/rules'; +import Settings from '../models/settings'; +import Swimlanes from '../models/swimlanes'; +import Triggers from '../models/triggers'; +import UnsavedEdits from '../models/unsavedEdits'; +import Users from '../models/users'; + +// Anytime you change the schema of one of the collection in a non-backward +// compatible way you have to write a migration in this file using the following +// API: +// +// Migrations.add(name, migrationCallback, optionalOrder); + +// Note that we have extra migrations defined in `sandstorm.js` that are +// exclusive to Sandstorm and shouldn’t be executed in the general case. +// XXX I guess if we had ES6 modules we could +// `import { isSandstorm } from sandstorm.js` and define the migration here as +// well, but for now I want to avoid definied too many globals. + +// In the context of migration functions we don't want to validate database +// mutation queries against the current (ie, latest) collection schema. Doing +// that would work at the time we write the migration but would break in the +// future when we'll update again the concerned collection schema. +// +// To prevent this bug we always have to disable the schema validation and +// argument transformations. We generally use the shorthandlers defined below. +const noValidate = { + validate: false, + filter: false, + autoConvert: false, + removeEmptyStrings: false, + getAutoValues: false, +}; +const noValidateMulti = { ...noValidate, multi: true }; + +Migrations.add('board-background-color', () => { + const defaultColor = '#16A085'; + Boards.update( + { + background: { + $exists: false, + }, + }, + { + $set: { + background: { + type: 'color', + color: defaultColor, + }, + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('lowercase-board-permission', () => { + ['Public', 'Private'].forEach(permission => { + Boards.update( + { permission }, + { $set: { permission: permission.toLowerCase() } }, + noValidateMulti, + ); + }); +}); + +// Security migration: see https://github.com/wekan/wekan/issues/99 +Migrations.add('change-attachments-type-for-non-images', () => { + const newTypeForNonImage = 'application/octet-stream'; + Attachments.find().forEach(file => { + if (!file.isImage()) { + Attachments.update( + file._id, + { + $set: { + 'original.type': newTypeForNonImage, + 'copies.attachments.type': newTypeForNonImage, + }, + }, + noValidate, + ); + } + }); +}); + +Migrations.add('card-covers', () => { + Cards.find().forEach(card => { + const cover = Attachments.findOne({ cardId: card._id, cover: true }); + if (cover) { + Cards.update(card._id, { $set: { coverId: cover._id } }, noValidate); + } + }); + Attachments.update({}, { $unset: { cover: '' } }, noValidateMulti); +}); + +Migrations.add('use-css-class-for-boards-colors', () => { + const associationTable = { + '#27AE60': 'nephritis', + '#C0392B': 'pomegranate', + '#2980B9': 'belize', + '#8E44AD': 'wisteria', + '#2C3E50': 'midnight', + '#E67E22': 'pumpkin', + '#CD5A91': 'moderatepink', + '#00AECC': 'strongcyan', + '#4BBF6B': 'limegreen', + '#2C3E51': 'dark', + '#27AE61': 'relax', + '#568BA2': 'corteza', + '#499BEA': 'clearblue', + '#596557': 'natural', + '#2A80B8': 'modern', + }; + Boards.find().forEach(board => { + const oldBoardColor = board.background.color; + const newBoardColor = associationTable[oldBoardColor]; + Boards.update( + board._id, + { + $set: { color: newBoardColor }, + $unset: { background: '' }, + }, + noValidate, + ); + }); +}); + +Migrations.add('denormalize-star-number-per-board', () => { + Boards.find().forEach(board => { + const nStars = Users.find({ 'profile.starredBoards': board._id }).count(); + Boards.update(board._id, { $set: { stars: nStars } }, noValidate); + }); +}); + +// We want to keep a trace of former members so we can efficiently publish their +// infos in the general board publication. +Migrations.add('add-member-isactive-field', () => { + Boards.find({}, { fields: { members: 1 } }).forEach(board => { + const allUsersWithSomeActivity = _.chain( + Activities.find( + { boardId: board._id }, + { fields: { userId: 1 } }, + ).fetch(), + ) + .pluck('userId') + .uniq() + .value(); + const currentUsers = _.pluck(board.members, 'userId'); + const formerUsers = _.difference(allUsersWithSomeActivity, currentUsers); + + const newMemberSet = []; + board.members.forEach(member => { + member.isActive = true; + newMemberSet.push(member); + }); + formerUsers.forEach(userId => { + newMemberSet.push({ + userId, + isAdmin: false, + isActive: false, + }); + }); + Boards.update(board._id, { $set: { members: newMemberSet } }, noValidate); + }); +}); + +Migrations.add('add-sort-checklists', () => { + Checklists.find().forEach((checklist, index) => { + if (!checklist.hasOwnProperty('sort')) { + Checklists.direct.update( + checklist._id, + { $set: { sort: index } }, + noValidate, + ); + } + checklist.items.forEach((item, index) => { + if (!item.hasOwnProperty('sort')) { + Checklists.direct.update( + { _id: checklist._id, 'items._id': item._id }, + { $set: { 'items.$.sort': index } }, + noValidate, + ); + } + }); + }); +}); + +Migrations.add('add-swimlanes', () => { + Boards.find().forEach(board => { + const swimlaneId = board.getDefaultSwimline()._id; + Cards.find({ boardId: board._id }).forEach(card => { + if (!card.hasOwnProperty('swimlaneId')) { + Cards.direct.update( + { _id: card._id }, + { $set: { swimlaneId } }, + noValidate, + ); + } + }); + }); +}); + +Migrations.add('add-views', () => { + Boards.find().forEach(board => { + if (!board.hasOwnProperty('view')) { + Boards.direct.update( + { _id: board._id }, + { $set: { view: 'board-view-swimlanes' } }, + noValidate, + ); + } + }); +}); + +Migrations.add('add-checklist-items', () => { + Checklists.find().forEach(checklist => { + // Create new items + _.sortBy(checklist.items, 'sort').forEach((item, index) => { + ChecklistItems.direct.insert({ + title: item.title ? item.title : 'Checklist', + sort: index, + isFinished: item.isFinished, + checklistId: checklist._id, + cardId: checklist.cardId, + }); + }); + + // Delete old ones + Checklists.direct.update( + { _id: checklist._id }, + { $unset: { items: 1 } }, + noValidate, + ); + }); +}); + +Migrations.add('add-card-types', () => { + Cards.find().forEach(card => { + Cards.direct.update( + { _id: card._id }, + { + $set: { + type: 'cardType-card', + linkedId: null, + }, + }, + noValidate, + ); + }); +}); + +Migrations.add('add-custom-fields-to-cards', () => { + Cards.update( + { + customFields: { + $exists: false, + }, + }, + { + $set: { + customFields: [], + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('add-requester-field', () => { + Cards.update( + { + requestedBy: { + $exists: false, + }, + }, + { + $set: { + requestedBy: '', + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('add-assigner-field', () => { + Cards.update( + { + assignedBy: { + $exists: false, + }, + }, + { + $set: { + assignedBy: '', + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('add-parent-field-to-cards', () => { + Cards.update( + { + parentId: { + $exists: false, + }, + }, + { + $set: { + parentId: '', + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('add-subtasks-boards', () => { + Boards.update( + { + subtasksDefaultBoardId: { + $exists: false, + }, + }, + { + $set: { + subtasksDefaultBoardId: null, + subtasksDefaultListId: null, + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('add-subtasks-sort', () => { + Boards.update( + { + subtaskSort: { + $exists: false, + }, + }, + { + $set: { + subtaskSort: -1, + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('add-subtasks-allowed', () => { + Boards.update( + { + allowsSubtasks: { + $exists: false, + }, + }, + { + $set: { + allowsSubtasks: true, + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('add-subtasks-allowed', () => { + Boards.update( + { + presentParentTask: { + $exists: false, + }, + }, + { + $set: { + presentParentTask: 'no-parent', + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('add-authenticationMethod', () => { + Users.update( + { + authenticationMethod: { + $exists: false, + }, + }, + { + $set: { + authenticationMethod: 'password', + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('remove-tag', () => { + Users.update( + {}, + { + $unset: { + 'profile.tags': 1, + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('remove-customFields-references-broken', () => { + Cards.update( + { 'customFields.$value': null }, + { + $pull: { + customFields: { value: null }, + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('add-product-name', () => { + Settings.update( + { + productName: { + $exists: false, + }, + }, + { + $set: { + productName: '', + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('add-hide-logo', () => { + Settings.update( + { + hideLogo: { + $exists: false, + }, + }, + { + $set: { + hideLogo: false, + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('add-displayAuthenticationMethod', () => { + Settings.update( + { + displayAuthenticationMethod: { + $exists: false, + }, + }, + { + $set: { + displayAuthenticationMethod: true, + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('add-defaultAuthenticationMethod', () => { + Settings.update( + { + defaultAuthenticationMethod: { + $exists: false, + }, + }, + { + $set: { + defaultAuthenticationMethod: 'password', + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('add-templates', () => { + Boards.update( + { + type: { + $exists: false, + }, + }, + { + $set: { + type: 'board', + }, + }, + noValidateMulti, + ); + Swimlanes.update( + { + type: { + $exists: false, + }, + }, + { + $set: { + type: 'swimlane', + }, + }, + noValidateMulti, + ); + Lists.update( + { + type: { + $exists: false, + }, + swimlaneId: { + $exists: false, + }, + }, + { + $set: { + type: 'list', + swimlaneId: '', + }, + }, + noValidateMulti, + ); + Users.find({ + 'profile.templatesBoardId': { + $exists: false, + }, + }).forEach(user => { + // Create board and swimlanes + Boards.insert( + { + title: TAPi18n.__('templates'), + permission: 'private', + type: 'template-container', + members: [ + { + userId: user._id, + isAdmin: true, + isActive: true, + isNoComments: false, + isCommentOnly: false, + }, + ], + }, + (err, boardId) => { + // Insert the reference to our templates board + Users.update(user._id, { + $set: { 'profile.templatesBoardId': boardId }, + }); + + // Insert the card templates swimlane + Swimlanes.insert( + { + title: TAPi18n.__('card-templates-swimlane'), + boardId, + sort: 1, + type: 'template-container', + }, + (err, swimlaneId) => { + // Insert the reference to out card templates swimlane + Users.update(user._id, { + $set: { 'profile.cardTemplatesSwimlaneId': swimlaneId }, + }); + }, + ); + + // Insert the list templates swimlane + Swimlanes.insert( + { + title: TAPi18n.__('list-templates-swimlane'), + boardId, + sort: 2, + type: 'template-container', + }, + (err, swimlaneId) => { + // Insert the reference to out list templates swimlane + Users.update(user._id, { + $set: { 'profile.listTemplatesSwimlaneId': swimlaneId }, + }); + }, + ); + + // Insert the board templates swimlane + Swimlanes.insert( + { + title: TAPi18n.__('board-templates-swimlane'), + boardId, + sort: 3, + type: 'template-container', + }, + (err, swimlaneId) => { + // Insert the reference to out board templates swimlane + Users.update(user._id, { + $set: { 'profile.boardTemplatesSwimlaneId': swimlaneId }, + }); + }, + ); + }, + ); + }); +}); + +Migrations.add('fix-circular-reference_', () => { + Cards.find().forEach(card => { + if (card.parentId === card._id) { + Cards.update(card._id, { $set: { parentId: '' } }, noValidateMulti); + } + }); +}); + +Migrations.add('mutate-boardIds-in-customfields', () => { + CustomFields.find().forEach(cf => { + CustomFields.update( + cf, + { + $set: { + boardIds: [cf.boardId], + }, + $unset: { + boardId: '', + }, + }, + noValidateMulti, + ); + }); +}); + +const modifiedAtTables = [ + AccountSettings, + Actions, + Activities, + Announcements, + Boards, + CardComments, + Cards, + ChecklistItems, + Checklists, + CustomFields, + Integrations, + InvitationCodes, + Lists, + Rules, + Settings, + Swimlanes, + Triggers, + UnsavedEdits, + Users, +]; + +Migrations.add('add-missing-created-and-modified', () => { + Promise.all( + modifiedAtTables.map(db => + db + .rawCollection() + .update( + { modifiedAt: { $exists: false } }, + { $set: { modifiedAt: new Date() } }, + { multi: true }, + ) + .then(() => + db + .rawCollection() + .update( + { createdAt: { $exists: false } }, + { $set: { createdAt: new Date() } }, + { multi: true }, + ), + ), + ), + ) + .then(() => { + // eslint-disable-next-line no-console + console.info('Successfully added createdAt and updatedAt to all tables'); + }) + .catch(e => { + // eslint-disable-next-line no-console + console.error(e); + }); +}); + +Migrations.add('fix-incorrect-dates', () => { + const tables = [ + AccountSettings, + Actions, + Activities, + Announcements, + Boards, + CardComments, + Cards, + ChecklistItems, + Checklists, + CustomFields, + Integrations, + InvitationCodes, + Lists, + Rules, + Settings, + Swimlanes, + Triggers, + UnsavedEdits, + ]; + + // Dates were previously created with Date.now() which is a number, not a date + tables.forEach(t => + t + .rawCollection() + .find({ $or: [{ createdAt: { $type: 1 } }, { updatedAt: { $type: 1 } }] }) + .forEach(({ _id, createdAt, updatedAt }) => { + t.rawCollection().update( + { _id }, + { + $set: { + createdAt: new Date(createdAt), + updatedAt: new Date(updatedAt), + }, + }, + ); + }), + ); +}); + +Migrations.add('add-assignee', () => { + Cards.update( + { + assignees: { + $exists: false, + }, + }, + { + $set: { + assignees: [], + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('add-profile-showDesktopDragHandles', () => { + Users.update( + { + 'profile.showDesktopDragHandles': { + $exists: false, + }, + }, + { + $set: { + 'profile.showDesktopDragHandles': false, + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('add-profile-hiddenMinicardLabelText', () => { + Users.update( + { + 'profile.hiddenMinicardLabelText': { + $exists: false, + }, + }, + { + $set: { + 'profile.hiddenMinicardLabelText': false, + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('add-receiveddate-allowed', () => { + Boards.update( + { + allowsReceivedDate: { + $exists: false, + }, + }, + { + $set: { + allowsReceivedDate: true, + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('add-startdate-allowed', () => { + Boards.update( + { + allowsStartDate: { + $exists: false, + }, + }, + { + $set: { + allowsStartDate: true, + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('add-duedate-allowed', () => { + Boards.update( + { + allowsDueDate: { + $exists: false, + }, + }, + { + $set: { + allowsDueDate: true, + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('add-enddate-allowed', () => { + Boards.update( + { + allowsEndDate: { + $exists: false, + }, + }, + { + $set: { + allowsEndDate: true, + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('add-members-allowed', () => { + Boards.update( + { + allowsMembers: { + $exists: false, + }, + }, + { + $set: { + allowsMembers: true, + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('add-assignee-allowed', () => { + Boards.update( + { + allowsAssignee: { + $exists: false, + }, + }, + { + $set: { + allowsAssignee: true, + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('add-labels-allowed', () => { + Boards.update( + { + allowsLabels: { + $exists: false, + }, + }, + { + $set: { + allowsLabels: true, + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('add-checklists-allowed', () => { + Boards.update( + { + allowsChecklists: { + $exists: false, + }, + }, + { + $set: { + allowsChecklists: true, + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('add-attachments-allowed', () => { + Boards.update( + { + allowsAttachments: { + $exists: false, + }, + }, + { + $set: { + allowsAttachments: true, + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('add-comments-allowed', () => { + Boards.update( + { + allowsComments: { + $exists: false, + }, + }, + { + $set: { + allowsComments: true, + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('add-assigned-by-allowed', () => { + Boards.update( + { + allowsAssignedBy: { + $exists: false, + }, + }, + { + $set: { + allowsAssignedBy: true, + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('add-requested-by-allowed', () => { + Boards.update( + { + allowsRequestedBy: { + $exists: false, + }, + }, + { + $set: { + allowsRequestedBy: true, + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('add-activities-allowed', () => { + Boards.update( + { + allowsActivities: { + $exists: false, + }, + }, + { + $set: { + allowsActivities: true, + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('add-description-title-allowed', () => { + Boards.update( + { + allowsDescriptionTitle: { + $exists: false, + }, + }, + { + $set: { + allowsDescriptionTitle: true, + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('add-description-text-allowed', () => { + Boards.update( + { + allowsDescriptionText: { + $exists: false, + }, + }, + { + $set: { + allowsDescriptionText: true, + }, + }, + noValidateMulti, + ); +}); + +Migrations.add('add-sort-field-to-boards', () => { + Boards.find().forEach((board, index) => { + if (!board.hasOwnProperty('sort')) { + Boards.direct.update(board._id, { $set: { sort: index } }, noValidate); + } + }); +}); + +Migrations.add('add-default-profile-view', () => { + Users.find().forEach(user => { + if (!user.hasOwnProperty('profile.boardView')) { + // Set default view + Users.direct.update( + { _id: user._id }, + { $set: { 'profile.boardView': 'board-view-swimlanes' } }, + noValidate, + ); + } + }); +}); diff --git a/server/notifications/email.js b/server/notifications/email.js new file mode 100644 index 0000000..acafb4d --- /dev/null +++ b/server/notifications/email.js @@ -0,0 +1,52 @@ +// buffer each user's email text in a queue, then flush them in single email +Meteor.startup(() => { + Notifications.subscribe('email', (user, title, description, params) => { + // add quote to make titles easier to read in email text + const quoteParams = _.clone(params); + ['card', 'list', 'oldList', 'board', 'comment'].forEach(key => { + if (quoteParams[key]) quoteParams[key] = `"${params[key]}"`; + }); + ['timeValue', 'timeOldValue'].forEach(key => { + quoteParams[key] = quoteParams[key] ? `${params[key]}` : ''; + }); + + const lan = user.getLanguage(); + const subject = TAPi18n.__(title, params, lan); // the original function has a fault, i believe the title should be used according to original author + const existing = user.getEmailBuffer().length > 0; + const htmlEnabled = + Meteor.settings.public && + Meteor.settings.public.RICHER_CARD_COMMENT_EDITOR !== false; + const text = `${existing ? `\n${subject}\n` : ''}${ + params.user + } ${TAPi18n.__(description, quoteParams, lan)}\n${params.url}`; + + user.addEmailBuffer(htmlEnabled ? text.replace(/\n/g, '
      ') : text); + + // unlike setTimeout(func, delay, args), + // Meteor.setTimeout(func, delay) does not accept args :-( + // so we pass userId with closure + const userId = user._id; + Meteor.setTimeout(() => { + const user = Users.findOne(userId); + + // for each user, in the timed period, only the first call will get the cached content, + // other calls will get nothing + const texts = user.getEmailBuffer(); + if (texts.length === 0) return; + + // merge the cached content into single email and flush + const html = texts.join('
      \n\n'); + user.clearEmailBuffer(); + try { + Email.send({ + to: user.emails[0].address.toLowerCase(), + from: Accounts.emailTemplates.from, + subject, + html, + }); + } catch (e) { + return; + } + }, process.env.EMAIL_NOTIFICATION_TIMEOUT || 30000); + }); +}); diff --git a/server/notifications/notifications.js b/server/notifications/notifications.js new file mode 100644 index 0000000..3f10333 --- /dev/null +++ b/server/notifications/notifications.js @@ -0,0 +1,38 @@ +// a map of notification service, like email, web, IM, qq, etc. + +// serviceName -> callback(user, title, description, params) +// expected arguments to callback: +// - user: Meteor user object +// - title: String, TAPi18n key +// - description, String, TAPi18n key +// - params: Object, values extracted from context, to used for above two TAPi18n keys +// see example call to Notifications.notify() in models/activities.js +const notifyServices = {}; + +Notifications = { + subscribe: (serviceName, callback) => { + notifyServices[serviceName] = callback; + }, + + unsubscribe: serviceName => { + if (typeof notifyServices[serviceName] === 'function') + delete notifyServices[serviceName]; + }, + + getUsers: watchers => { + const users = []; + watchers.forEach(userId => { + const user = Users.findOne(userId); + if (user) users.push(user); + }); + return users; + }, + + notify: (user, title, description, params) => { + for (const k in notifyServices) { + const notifyImpl = notifyServices[k]; + if (notifyImpl && typeof notifyImpl === 'function') + notifyImpl(user, title, description, params); + } + }, +}; diff --git a/server/notifications/outgoing.js b/server/notifications/outgoing.js new file mode 100644 index 0000000..9a741ea --- /dev/null +++ b/server/notifications/outgoing.js @@ -0,0 +1,199 @@ +if (Meteor.isServer) { + const postCatchError = Meteor.wrapAsync((url, options, resolve) => { + HTTP.post(url, options, (err, res) => { + if (err) { + resolve(null, err.response); + } else { + resolve(null, res); + } + }); + }); + + const Lock = { + _lock: {}, + _timer: {}, + echoDelay: 500, // echo should be happening much faster + normalDelay: 1e3, // normally user typed comment will be much slower + ECHO: 2, + NORMAL: 1, + NULL: 0, + has(id, value) { + const existing = this._lock[id]; + let ret = this.NULL; + if (existing) { + ret = existing === value ? this.ECHO : this.NORMAL; + } + return ret; + }, + clear(id, delay) { + const previous = this._timer[id]; + if (previous) { + Meteor.clearTimeout(previous); + } + this._timer[id] = Meteor.setTimeout(() => this.unset(id), delay); + }, + set(id, value) { + const state = this.has(id, value); + let delay = this.normalDelay; + if (state === this.ECHO) { + delay = this.echoDelay; + } + if (!value) { + // user commented, we set a lock + value = 1; + } + this._lock[id] = value; + this.clear(id, delay); // always auto reset the locker after delay + }, + unset(id) { + delete this._lock[id]; + }, + }; + + const webhooksAtbts = (process.env.WEBHOOKS_ATTRIBUTES && + process.env.WEBHOOKS_ATTRIBUTES.split(',')) || [ + 'cardId', + 'listId', + 'oldListId', + 'boardId', + 'comment', + 'user', + 'card', + 'commentId', + 'swimlaneId', + ]; + const responseFunc = data => { + const paramCommentId = data.commentId; + const paramCardId = data.cardId; + const paramBoardId = data.boardId; + const newComment = data.comment; + if (paramCardId && paramBoardId && newComment) { + // only process data with the cardid, boardid and comment text, TODO can expand other functions here to react on returned data + const comment = CardComments.findOne({ + _id: paramCommentId, + cardId: paramCardId, + boardId: paramBoardId, + }); + const board = Boards.findOne(paramBoardId); + const card = Cards.findOne(paramCardId); + if (board && card) { + if (comment) { + Lock.set(comment._id, newComment); + CardComments.direct.update(comment._id, { + $set: { + text: newComment, + }, + }); + } + } else { + const userId = data.userId; + if (userId) { + const inserted = CardComments.direct.insert({ + text: newComment, + userId, + cardId, + boardId, + }); + Lock.set(inserted._id, newComment); + } + } + } + }; + Meteor.methods({ + outgoingWebhooks(integration, description, params) { + if (Meteor.user()) { + check(integration, Object); + check(description, String); + check(params, Object); + this.unblock(); + + // label activity did not work yet, see wekan/models/activities.js + const quoteParams = _.clone(params); + const clonedParams = _.clone(params); + [ + 'card', + 'list', + 'oldList', + 'board', + 'oldBoard', + 'comment', + 'checklist', + 'swimlane', + 'oldSwimlane', + 'label', + 'attachment', + ].forEach(key => { + if (quoteParams[key]) quoteParams[key] = `"${params[key]}"`; + }); + + const userId = params.userId ? params.userId : integrations[0].userId; + const user = Users.findOne(userId); + const text = `${params.user} ${TAPi18n.__( + description, + quoteParams, + user.getLanguage(), + )}\n${params.url}`; + + if (text.length === 0) return; + + const value = { + text: `${text}`, + }; + + webhooksAtbts.forEach(key => { + if (params[key]) value[key] = params[key]; + }); + value.description = description; + //integrations.forEach(integration => { + const is2way = integration.type === Integrations.Const.TWOWAY; + const token = integration.token || ''; + const headers = { + 'Content-Type': 'application/json', + }; + if (token) headers['X-Wekan-Token'] = token; + const options = { + headers, + data: is2way ? { description, ...clonedParams } : value, + }; + + if (!Integrations.findOne({ url: integration.url })) return; + + const url = integration.url; + + if (is2way) { + const cid = params.commentId; + const comment = params.comment; + const lockState = cid && Lock.has(cid, comment); + if (cid && lockState !== Lock.NULL) { + // it's a comment and there is a previous lock + return; + } else if (cid) { + Lock.set(cid, comment); // set a lock here + } + } + const response = postCatchError(url, options); + + if ( + response && + response.statusCode && + response.statusCode >= 200 && + response.statusCode < 300 + ) { + if (is2way) { + const data = response.data; // only an JSON encoded response will be actioned + if (data) { + try { + responseFunc(data); + } catch (e) { + throw new Meteor.Error('error-process-data'); + } + } + } + return response; // eslint-disable-line consistent-return + } else { + throw new Meteor.Error('error-invalid-webhook-response'); + } + } + }, + }); +} diff --git a/server/notifications/profile.js b/server/notifications/profile.js new file mode 100644 index 0000000..608931c --- /dev/null +++ b/server/notifications/profile.js @@ -0,0 +1,5 @@ +Meteor.startup(() => { + Notifications.subscribe('profile', (user, title, description, params) => { + user.addNotification(params.activityId); + }); +}); diff --git a/server/notifications/watch.js b/server/notifications/watch.js new file mode 100644 index 0000000..8a628da --- /dev/null +++ b/server/notifications/watch.js @@ -0,0 +1,33 @@ +Meteor.methods({ + watch(watchableType, id, level) { + check(watchableType, String); + check(id, String); + check(level, Match.OneOf(String, null)); + + const userId = Meteor.userId(); + + let watchableObj = null; + let board = null; + if (watchableType === 'board') { + watchableObj = Boards.findOne(id); + if (!watchableObj) throw new Meteor.Error('error-board-doesNotExist'); + board = watchableObj; + } else if (watchableType === 'list') { + watchableObj = Lists.findOne(id); + if (!watchableObj) throw new Meteor.Error('error-list-doesNotExist'); + board = watchableObj.board(); + } else if (watchableType === 'card') { + watchableObj = Cards.findOne(id); + if (!watchableObj) throw new Meteor.Error('error-card-doesNotExist'); + board = watchableObj.board(); + } else { + throw new Meteor.Error('error-json-schema'); + } + + if (board.permission === 'private' && !board.hasMember(userId)) + throw new Meteor.Error('error-board-notAMember'); + + watchableObj.setWatcher(userId, level); + return true; + }, +}); diff --git a/server/policy.js b/server/policy.js new file mode 100644 index 0000000..a8c33a0 --- /dev/null +++ b/server/policy.js @@ -0,0 +1,31 @@ +import { BrowserPolicy } from 'meteor/browser-policy-common'; + +Meteor.startup(() => { + if (process.env.BROWSER_POLICY_ENABLED === 'true') { + // Trusted URL that can embed Wekan in iFrame. + const trusted = process.env.TRUSTED_URL; + BrowserPolicy.framing.disallow(); + //Allow inline scripts, otherwise there is errors in browser/inspect/console + //BrowserPolicy.content.disallowInlineScripts(); + //BrowserPolicy.content.disallowEval(); + //BrowserPolicy.content.allowInlineStyles(); + //BrowserPolicy.content.allowFontDataUrl(); + BrowserPolicy.framing.restrictToOrigin(trusted); + //BrowserPolicy.content.allowScriptOrigin(trusted); + } else { + // Disable browser policy and allow all framing and including. + // Use only at internal LAN, not at Internet. + BrowserPolicy.framing.allowAll(); + //BrowserPolicy.content.allowDataUrlForAll(); + } + + // Allow all images from anywhere + //BrowserPolicy.content.allowImageOrigin('*'); + + // If Matomo URL is set, allow it. + const matomoUrl = process.env.MATOMO_ADDRESS; + if (matomoUrl) { + //BrowserPolicy.content.allowScriptOrigin(matomoUrl); + //BrowserPolicy.content.allowImageOrigin(matomoUrl); + } +}); diff --git a/server/publications/accountSettings.js b/server/publications/accountSettings.js new file mode 100644 index 0000000..b1cacaf --- /dev/null +++ b/server/publications/accountSettings.js @@ -0,0 +1,3 @@ +Meteor.publish('accountSettings', function() { + return AccountSettings.find(); +}); diff --git a/server/publications/activities.js b/server/publications/activities.js new file mode 100644 index 0000000..90be1a3 --- /dev/null +++ b/server/publications/activities.js @@ -0,0 +1,24 @@ +// We use activities fields at two different places: +// 1. The board sidebar +// 2. The card activity tab +// We use this publication to paginate for these two publications. + +Meteor.publish('activities', (kind, id, limit, hideSystem) => { + check( + kind, + Match.Where(x => { + return ['board', 'card'].indexOf(x) !== -1; + }), + ); + check(id, String); + check(limit, Number); + check(hideSystem, Boolean); + + const selector = hideSystem + ? { $and: [{ activityType: 'addComment' }, { [`${kind}Id`]: id }] } + : { [`${kind}Id`]: id }; + return Activities.find(selector, { + limit, + sort: { createdAt: -1 }, + }); +}); diff --git a/server/publications/announcements.js b/server/publications/announcements.js new file mode 100644 index 0000000..efebf64 --- /dev/null +++ b/server/publications/announcements.js @@ -0,0 +1,3 @@ +Meteor.publish('announcements', function() { + return Announcements.find(); +}); diff --git a/server/publications/avatars.js b/server/publications/avatars.js new file mode 100644 index 0000000..dca5692 --- /dev/null +++ b/server/publications/avatars.js @@ -0,0 +1,3 @@ +Meteor.publish('my-avatars', function() { + return Avatars.find({ userId: this.userId }); +}); diff --git a/server/publications/boards.js b/server/publications/boards.js new file mode 100644 index 0000000..b80a6b2 --- /dev/null +++ b/server/publications/boards.js @@ -0,0 +1,210 @@ +// This is the publication used to display the board list. We publish all the +// non-archived boards: +// 1. that the user is a member of +// 2. the user has starred +Meteor.publish('boards', function() { + const userId = this.userId; + // Ensure that the user is connected. If it is not, we need to return an empty + // array to tell the client to remove the previously published docs. + if (!Match.test(userId, String) || !userId) return []; + + // Defensive programming to verify that starredBoards has the expected + // format -- since the field is in the `profile` a user can modify it. + const { starredBoards = [] } = (Users.findOne(userId) || {}).profile || {}; + check(starredBoards, [String]); + + return Boards.find( + { + archived: false, + $or: [ + { + // _id: { $in: starredBoards }, // Commented out, to get a list of all public boards + permission: 'public', + }, + { members: { $elemMatch: { userId, isActive: true } } }, + ], + }, + { + fields: { + _id: 1, + archived: 1, + slug: 1, + title: 1, + description: 1, + color: 1, + members: 1, + permission: 1, + type: 1, + sort: 1, + }, + sort: { sort: 1 /* boards default sorting */ }, + }, + ); +}); + +Meteor.publish('archivedBoards', function() { + const userId = this.userId; + if (!Match.test(userId, String)) return []; + + return Boards.find( + { + archived: true, + members: { + $elemMatch: { + userId, + isAdmin: true, + }, + }, + }, + { + fields: { + _id: 1, + archived: 1, + slug: 1, + title: 1, + }, + sort: { sort: 1 /* boards default sorting */ }, + }, + ); +}); + +// If isArchived = false, this will only return board elements which are not archived. +// If isArchived = true, this will only return board elements which are archived. +Meteor.publishRelations('board', function(boardId, isArchived) { + this.unblock(); + check(boardId, String); + check(isArchived, Boolean); + const thisUserId = this.userId; + const $or = [{ permission: 'public' }]; + + if (thisUserId) { + $or.push({ + members: { $elemMatch: { userId: thisUserId, isActive: true } }, + }); + } + + this.cursor( + Boards.find( + { + _id: boardId, + archived: false, + // If the board is not public the user has to be a member of it to see + // it. + $or, + // Sort required to ensure oplog usage + }, + { limit: 1, sort: { sort: 1 /* boards default sorting */ } }, + ), + function(boardId, board) { + this.cursor(Lists.find({ boardId, archived: isArchived })); + this.cursor(Swimlanes.find({ boardId, archived: isArchived })); + this.cursor(Integrations.find({ boardId })); + this.cursor( + CustomFields.find( + { boardIds: { $in: [boardId] } }, + { sort: { name: 1 } }, + ), + ); + + // Cards and cards comments + // XXX Originally we were publishing the card documents as a child of the + // list publication defined above using the following selector `{ listId: + // list._id }`. But it was causing a race condition in publish-composite, + // that I documented here: + // + // https://github.com/englue/meteor-publish-composite/issues/29 + // + // cottz:publish had a similar problem: + // + // https://github.com/Goluis/cottz-publish/issues/4 + // + // The current state of relational publishing in meteor is a bit sad, + // there are a lot of various packages, with various APIs, some of them + // are unmaintained. Fortunately this is something that will be fixed by + // meteor-core at some point: + // + // https://trello.com/c/BGvIwkEa/48-easy-joins-in-subscriptions + // + // And in the meantime our code below works pretty well -- it's not even a + // hack! + + // Gather queries and send in bulk + const cardComments = this.join(CardComments); + cardComments.selector = _ids => ({ cardId: _ids }); + const attachments = this.join(Attachments); + attachments.selector = _ids => ({ cardId: _ids }); + const checklists = this.join(Checklists); + checklists.selector = _ids => ({ cardId: _ids }); + const checklistItems = this.join(ChecklistItems); + checklistItems.selector = _ids => ({ cardId: _ids }); + const parentCards = this.join(Cards); + parentCards.selector = _ids => ({ parentId: _ids }); + const boards = this.join(Boards); + const subCards = this.join(Cards); + subCards.selector = _ids => ({ _id: _ids, archived: isArchived }); + + this.cursor( + Cards.find({ + boardId: { $in: [boardId, board.subtasksDefaultBoardId] }, + archived: isArchived, + }), + function(cardId, card) { + if (card.type === 'cardType-linkedCard') { + const impCardId = card.linkedId; + subCards.push(impCardId); // GitHub issue #2688 and #2693 + cardComments.push(impCardId); + attachments.push(impCardId); + checklists.push(impCardId); + checklistItems.push(impCardId); + } else if (card.type === 'cardType-linkedBoard') { + boards.push(card.linkedId); + } + cardComments.push(cardId); + attachments.push(cardId); + checklists.push(cardId); + checklistItems.push(cardId); + parentCards.push(cardId); + }, + ); + + // Send bulk queries for all found ids + subCards.send(); + cardComments.send(); + attachments.send(); + checklists.send(); + checklistItems.send(); + boards.send(); + parentCards.send(); + + if (board.members) { + // Board members. This publication also includes former board members that + // aren't members anymore but may have some activities attached to them in + // the history. + const memberIds = _.pluck(board.members, 'userId'); + + // We omit the current user because the client should already have that data, + // and sending it triggers a subtle bug: + // https://github.com/wefork/wekan/issues/15 + this.cursor( + Users.find( + { + _id: { $in: _.without(memberIds, thisUserId) }, + }, + { + fields: { + username: 1, + 'profile.fullname': 1, + 'profile.avatarUrl': 1, + 'profile.initials': 1, + }, + }, + ), + ); + + this.cursor(presences.find({ userId: { $in: memberIds } })); + } + }, + ); + + return this.ready(); +}); diff --git a/server/publications/cards.js b/server/publications/cards.js new file mode 100644 index 0000000..61210ce --- /dev/null +++ b/server/publications/cards.js @@ -0,0 +1,4 @@ +Meteor.publish('card', cardId => { + check(cardId, String); + return Cards.find({ _id: cardId }); +}); diff --git a/server/publications/customFields.js b/server/publications/customFields.js new file mode 100644 index 0000000..25dada5 --- /dev/null +++ b/server/publications/customFields.js @@ -0,0 +1,3 @@ +Meteor.publish('customFields', function() { + return CustomFields.find(); +}); diff --git a/server/publications/fast-render.js b/server/publications/fast-render.js new file mode 100644 index 0000000..4829ad5 --- /dev/null +++ b/server/publications/fast-render.js @@ -0,0 +1,9 @@ +import { FastRender } from 'meteor/staringatlights:fast-render'; + +FastRender.onAllRoutes(function() { + this.subscribe('boards'); +}); + +FastRender.route('/b/:id/:slug', function({ id }) { + this.subscribe('board', id, false); +}); diff --git a/server/publications/notifications.js b/server/publications/notifications.js new file mode 100644 index 0000000..bc55a37 --- /dev/null +++ b/server/publications/notifications.js @@ -0,0 +1,101 @@ +// We use these when displaying notifications in the notificationsDrawer + +// gets all activities associated with the current user +Meteor.publish('notificationActivities', () => { + return activities(); +}); + +// gets all attachments associated with activities associated with the current user +Meteor.publish('notificationAttachments', function() { + return Attachments.find({ + _id: { + $in: activities() + .map(v => v.attachmentId) + .filter(v => !!v), + }, + }); +}); + +// gets all cards associated with activities associated with the current user +Meteor.publish('notificationCards', function() { + return Cards.find({ + _id: { + $in: activities() + .map(v => v.cardId) + .filter(v => !!v), + }, + }); +}); + +// gets all checklistItems associated with activities associated with the current user +Meteor.publish('notificationChecklistItems', function() { + return ChecklistItems.find({ + _id: { + $in: activities() + .map(v => v.checklistItemId) + .filter(v => !!v), + }, + }); +}); + +// gets all checklists associated with activities associated with the current user +Meteor.publish('notificationChecklists', function() { + return Checklists.find({ + _id: { + $in: activities() + .map(v => v.checklistId) + .filter(v => !!v), + }, + }); +}); + +// gets all comments associated with activities associated with the current user +Meteor.publish('notificationComments', function() { + return CardComments.find({ + _id: { + $in: activities() + .map(v => v.commentId) + .filter(v => !!v), + }, + }); +}); + +// gets all lists associated with activities associated with the current user +Meteor.publish('notificationLists', function() { + return Lists.find({ + _id: { + $in: activities() + .map(v => v.listId) + .filter(v => !!v), + }, + }); +}); + +// gets all swimlanes associated with activities associated with the current user +Meteor.publish('notificationSwimlanes', function() { + return Swimlanes.find({ + _id: { + $in: activities() + .map(v => v.swimlaneId) + .filter(v => !!v), + }, + }); +}); + +// gets all users associated with activities associated with the current user +Meteor.publish('notificationUsers', function() { + return Users.find({ + _id: { + $in: activities() + .map(v => v.userId) + .filter(v => !!v), + }, + }); +}); + +function activities() { + const notifications = Meteor.user().profile.notifications || []; + return Activities.find({ + _id: { $in: notifications.map(v => v.activity) }, + }); +} diff --git a/server/publications/people.js b/server/publications/people.js new file mode 100644 index 0000000..0a7ef6e --- /dev/null +++ b/server/publications/people.js @@ -0,0 +1,27 @@ +Meteor.publish('people', function(query, limit) { + check(query, Match.OneOf(Object, null)); + check(limit, Number); + + if (!Match.test(this.userId, String)) { + return []; + } + + const user = Users.findOne(this.userId); + if (user && user.isAdmin) { + return Users.find(query, { + limit, + sort: { createdAt: -1 }, + fields: { + username: 1, + 'profile.fullname': 1, + isAdmin: 1, + emails: 1, + createdAt: 1, + loginDisabled: 1, + authenticationMethod: 1, + }, + }); + } + + return []; +}); diff --git a/server/publications/rules.js b/server/publications/rules.js new file mode 100644 index 0000000..2a59306 --- /dev/null +++ b/server/publications/rules.js @@ -0,0 +1,18 @@ +Meteor.publish('rules', ruleId => { + check(ruleId, String); + return Rules.find({ + _id: ruleId, + }); +}); + +Meteor.publish('allRules', () => { + return Rules.find({}); +}); + +Meteor.publish('allTriggers', () => { + return Triggers.find({}); +}); + +Meteor.publish('allActions', () => { + return Actions.find({}); +}); diff --git a/server/publications/settings.js b/server/publications/settings.js new file mode 100644 index 0000000..034737e --- /dev/null +++ b/server/publications/settings.js @@ -0,0 +1,31 @@ +Meteor.publish('globalwebhooks', () => { + const boardId = Integrations.Const.GLOBAL_WEBHOOK_ID; + return Integrations.find({ + boardId, + }); +}); +Meteor.publish('setting', () => { + return Settings.find( + {}, + { + fields: { + disableRegistration: 1, + productName: 1, + hideLogo: 1, + customHTMLafterBodyStart: 1, + customHTMLbeforeBodyEnd: 1, + displayAuthenticationMethod: 1, + defaultAuthenticationMethod: 1, + }, + }, + ); +}); + +Meteor.publish('mailServer', function() { + if (!Match.test(this.userId, String)) return []; + const user = Users.findOne(this.userId); + if (user && user.isAdmin) { + return Settings.find({}, { fields: { mailServer: 1 } }); + } + return []; +}); diff --git a/server/publications/unsavedEdits.js b/server/publications/unsavedEdits.js new file mode 100644 index 0000000..264eba7 --- /dev/null +++ b/server/publications/unsavedEdits.js @@ -0,0 +1,5 @@ +Meteor.publish('unsaved-edits', function() { + return UnsavedEditCollection.find({ + userId: this.userId, + }); +}); diff --git a/server/publications/users.js b/server/publications/users.js new file mode 100644 index 0000000..c04f8c5 --- /dev/null +++ b/server/publications/users.js @@ -0,0 +1,32 @@ +Meteor.publish('user-miniprofile', function(userId) { + check(userId, String); + + return Users.find(userId, { + fields: { + username: 1, + 'profile.fullname': 1, + 'profile.avatarUrl': 1, + 'profile.initials': 1, + }, + }); +}); + +Meteor.publish('user-admin', function() { + return Meteor.users.find(this.userId, { + fields: { + isAdmin: 1, + }, + }); +}); + +Meteor.publish('user-authenticationMethod', function(match) { + check(match, String); + return Users.find( + { $or: [{ _id: match }, { email: match }, { username: match }] }, + { + fields: { + authenticationMethod: 1, + }, + }, + ); +}); diff --git a/server/richer-editor-setting-helper.js b/server/richer-editor-setting-helper.js new file mode 100644 index 0000000..967d034 --- /dev/null +++ b/server/richer-editor-setting-helper.js @@ -0,0 +1,6 @@ +Meteor.startup(() => { + const RCCE = process.env.RICHER_CARD_COMMENT_EDITOR; + if (RCCE) { + Meteor.settings.public.RICHER_CARD_COMMENT_EDITOR = RCCE !== 'false'; + } +}); diff --git a/server/rulesHelper.js b/server/rulesHelper.js new file mode 100644 index 0000000..63e330a --- /dev/null +++ b/server/rulesHelper.js @@ -0,0 +1,336 @@ +RulesHelper = { + executeRules(activity) { + const matchingRules = this.findMatchingRules(activity); + for (let i = 0; i < matchingRules.length; i++) { + const action = matchingRules[i].getAction(); + if (action !== undefined) { + this.performAction(activity, action); + } + } + }, + findMatchingRules(activity) { + const activityType = activity.activityType; + if (TriggersDef[activityType] === undefined) { + return []; + } + const matchingFields = TriggersDef[activityType].matchingFields; + const matchingMap = this.buildMatchingFieldsMap(activity, matchingFields); + const matchingTriggers = Triggers.find(matchingMap); + const matchingRules = []; + matchingTriggers.forEach(function(trigger) { + const rule = trigger.getRule(); + // Check that for some unknown reason there are some leftover triggers + // not connected to any rules + if (rule !== undefined) { + matchingRules.push(trigger.getRule()); + } + }); + return matchingRules; + }, + buildMatchingFieldsMap(activity, matchingFields) { + const matchingMap = { activityType: activity.activityType }; + for (let i = 0; i < matchingFields.length; i++) { + // Creating a matching map with the actual field of the activity + // and with the wildcard (for example: trigger when a card is added + // in any [*] board + matchingMap[matchingFields[i]] = { + $in: [activity[matchingFields[i]], '*'], + }; + } + return matchingMap; + }, + performAction(activity, action) { + const card = Cards.findOne({ _id: activity.cardId }); + const boardId = activity.boardId; + if ( + action.actionType === 'moveCardToTop' || + action.actionType === 'moveCardToBottom' + ) { + let list; + let listId; + if (action.listName === '*') { + list = card.list(); + if (boardId !== action.boardId) { + list = Lists.findOne({ title: list.title, boardId: action.boardId }); + } + } else { + list = Lists.findOne({ + title: action.listName, + boardId: action.boardId, + }); + } + if (list === undefined) { + listId = ''; + } else { + listId = list._id; + } + + let swimlane; + let swimlaneId; + if (action.swimlaneName === '*') { + swimlane = Swimlanes.findOne(card.swimlaneId); + if (boardId !== action.boardId) { + swimlane = Swimlanes.findOne({ + title: swimlane.title, + boardId: action.boardId, + }); + } + } else { + swimlane = Swimlanes.findOne({ + title: action.swimlaneName, + boardId: action.boardId, + }); + } + if (swimlane === undefined) { + swimlaneId = Swimlanes.findOne({ + title: 'Default', + boardId: action.boardId, + })._id; + } else { + swimlaneId = swimlane._id; + } + + if (action.actionType === 'moveCardToTop') { + const minOrder = _.min( + list.cardsUnfiltered(swimlaneId).map(c => c.sort), + ); + card.move(action.boardId, swimlaneId, listId, minOrder - 1); + } else { + const maxOrder = _.max( + list.cardsUnfiltered(swimlaneId).map(c => c.sort), + ); + card.move(action.boardId, swimlaneId, listId, maxOrder + 1); + } + } + if (action.actionType === 'sendEmail') { + const to = action.emailTo; + const text = action.emailMsg || ''; + const subject = action.emailSubject || ''; + try { + Email.send({ + to, + from: Accounts.emailTemplates.from, + subject, + text, + }); + } catch (e) { + // eslint-disable-next-line no-console + console.error(e); + return; + } + } + + if (action.actionType === 'setDate') { + try { + const currentDateTime = new Date(); + switch (action.dateField) { + case 'startAt': { + const resStart = card.getStart(); + if (typeof resStart === 'undefined') { + card.setStart(currentDateTime); + } + break; + } + case 'endAt': { + const resEnd = card.getEnd(); + if (typeof resEnd === 'undefined') { + card.setEnd(currentDateTime); + } + break; + } + case 'dueAt': { + const resDue = card.getDue(); + if (typeof resDue === 'undefined') { + card.setDue(currentDateTime); + } + break; + } + case 'receivedAt': { + const resReceived = card.getReceived(); + if (typeof resReceived === 'undefined') { + card.setReceived(currentDateTime); + } + break; + } + } + } catch (e) { + // eslint-disable-next-line no-console + console.error(e); + return; + } + } + + if (action.actionType === 'updateDate') { + const currentDateTimeUpdate = new Date(); + switch (action.dateField) { + case 'startAt': { + card.setStart(currentDateTimeUpdate); + break; + } + case 'endAt': { + card.setEnd(currentDateTimeUpdate); + break; + } + case 'dueAt': { + card.setDue(currentDateTimeUpdate); + break; + } + case 'receivedAt': { + card.setReceived(currentDateTimeUpdate); + break; + } + } + } + + if (action.actionType === 'removeDate') { + switch (action.dateField) { + case 'startAt': { + card.unsetStart(); + break; + } + case 'endAt': { + card.unsetEnd(); + break; + } + case 'dueAt': { + card.unsetDue(); + break; + } + case 'receivedAt': { + card.unsetReceived(); + break; + } + } + } + if (action.actionType === 'archive') { + card.archive(); + } + if (action.actionType === 'unarchive') { + card.restore(); + } + if (action.actionType === 'setColor') { + card.setColor(action.selectedColor); + } + if (action.actionType === 'addLabel') { + card.addLabel(action.labelId); + } + if (action.actionType === 'removeLabel') { + card.removeLabel(action.labelId); + } + if (action.actionType === 'addMember') { + const memberId = Users.findOne({ username: action.username })._id; + card.assignMember(memberId); + } + if (action.actionType === 'removeMember') { + if (action.username === '*') { + const members = card.members; + for (let i = 0; i < members.length; i++) { + card.unassignMember(members[i]); + } + } else { + const memberId = Users.findOne({ username: action.username })._id; + card.unassignMember(memberId); + } + } + if (action.actionType === 'checkAll') { + const checkList = Checklists.findOne({ + title: action.checklistName, + cardId: card._id, + }); + checkList.checkAllItems(); + } + if (action.actionType === 'uncheckAll') { + const checkList = Checklists.findOne({ + title: action.checklistName, + cardId: card._id, + }); + checkList.uncheckAllItems(); + } + if (action.actionType === 'checkItem') { + const checkList = Checklists.findOne({ + title: action.checklistName, + cardId: card._id, + }); + const checkItem = ChecklistItems.findOne({ + title: action.checkItemName, + checkListId: checkList._id, + }); + checkItem.check(); + } + if (action.actionType === 'uncheckItem') { + const checkList = Checklists.findOne({ + title: action.checklistName, + cardId: card._id, + }); + const checkItem = ChecklistItems.findOne({ + title: action.checkItemName, + checkListId: checkList._id, + }); + checkItem.uncheck(); + } + if (action.actionType === 'addChecklist') { + Checklists.insert({ + title: action.checklistName, + cardId: card._id, + sort: 0, + }); + } + if (action.actionType === 'removeChecklist') { + Checklists.remove({ + title: action.checklistName, + cardId: card._id, + sort: 0, + }); + } + if (action.actionType === 'addSwimlane') { + Swimlanes.insert({ + title: action.swimlaneName, + boardId, + sort: 0, + }); + } + if (action.actionType === 'addChecklistWithItems') { + const checkListId = Checklists.insert({ + title: action.checklistName, + cardId: card._id, + sort: 0, + }); + const itemsArray = action.checklistItems.split(','); + const checkList = Checklists.findOne({ _id: checkListId }); + for (let i = 0; i < itemsArray.length; i++) { + ChecklistItems.insert({ + title: itemsArray[i], + checklistId: checkListId, + cardId: card._id, + sort: checkList.itemCount(), + }); + } + } + if (action.actionType === 'createCard') { + const list = Lists.findOne({ title: action.listName, boardId }); + let listId = ''; + let swimlaneId = ''; + const swimlane = Swimlanes.findOne({ + title: action.swimlaneName, + boardId, + }); + if (list === undefined) { + listId = ''; + } else { + listId = list._id; + } + if (swimlane === undefined) { + swimlaneId = Swimlanes.findOne({ title: 'Default', boardId })._id; + } else { + swimlaneId = swimlane._id; + } + Cards.insert({ + title: action.cardName, + listId, + swimlaneId, + sort: 0, + boardId, + }); + } + }, +}; diff --git a/server/scroll.js b/server/scroll.js new file mode 100644 index 0000000..d350e8c --- /dev/null +++ b/server/scroll.js @@ -0,0 +1,23 @@ +Meteor.startup(() => { + // Mouse Scroll Intertia, issue #2949. Integer. + if (process.env.SCROLLINERTIA !== '0') { + Meteor.settings.public.SCROLLINERTIA = process.env.SCROLLINERTIA; + } else { + Meteor.settings.public.SCROLLINERTIA = 0; + } + + // Mouse Scroll Amount, issue #2949. "auto" or Integer. + if (process.env.SCROLLAMOUNT !== 'auto') { + Meteor.settings.public.SCROLLAMOUNT = process.env.SCROLLAMOUNT; + } else { + Meteor.settings.public.SCROLLAMOUNT = 'auto'; + } + + // Mouse Scroll DeltaFactor, issue #2949. "auto" or Integer. + if (process.env.SCROLLDELTAFACTOR !== 'auto') { + Meteor.settings.public.SCROLLDELTAFACTOR = process.env.SCROLLDELTAFACTOR; + } else { + Meteor.settings.public.SCROLLDELTAFACTOR = 'auto'; + } + +}); \ No newline at end of file diff --git a/server/statistics.js b/server/statistics.js new file mode 100644 index 0000000..0ead840 --- /dev/null +++ b/server/statistics.js @@ -0,0 +1,76 @@ +import { MongoInternals } from 'meteor/mongo'; + +if (Meteor.isServer) { + Meteor.methods({ + getStatistics() { + if (Meteor.user() && Meteor.user().isAdmin) { + const os = require('os'); + const pjson = require('/package.json'); + const statistics = {}; + let wekanVersion = pjson.version; + wekanVersion = wekanVersion.replace('v', ''); + statistics.version = wekanVersion; + statistics.os = { + type: os.type(), + platform: os.platform(), + arch: os.arch(), + release: os.release(), + uptime: os.uptime(), + loadavg: os.loadavg(), + totalmem: os.totalmem(), + freemem: os.freemem(), + cpus: os.cpus(), + }; + let nodeVersion = process.version; + nodeVersion = nodeVersion.replace('v', ''); + statistics.process = { + nodeVersion, + pid: process.pid, + uptime: process.uptime(), + }; + // Remove beginning of Meteor release text METEOR@ + let meteorVersion = Meteor.release; + meteorVersion = meteorVersion.replace('METEOR@', ''); + statistics.meteor = { + meteorVersion, + }; + // Thanks to RocketChat for MongoDB version detection ! + // https://github.com/RocketChat/Rocket.Chat/blob/develop/app/utils/server/functions/getMongoInfo.js + let mongoVersion; + let mongoStorageEngine; + let mongoOplogEnabled; + try { + const { mongo } = MongoInternals.defaultRemoteCollectionDriver(); + oplogEnabled = Boolean( + mongo._oplogHandle && mongo._oplogHandle.onOplogEntry, + ); + const { version, storageEngine } = Promise.await( + mongo.db.command({ serverStatus: 1 }), + ); + mongoVersion = version; + mongoStorageEngine = storageEngine.name; + mongoOplogEnabled = oplogEnabled; + } catch (e) { + try { + const { version } = Promise.await( + mongo.db.command({ buildinfo: 1 }), + ); + mongoVersion = version; + mongoStorageEngine = 'unknown'; + } catch (e) { + mongoVersion = 'unknown'; + mongoStorageEngine = 'unknown'; + } + } + statistics.mongo = { + mongoVersion, + mongoStorageEngine, + mongoOplogEnabled, + }; + return statistics; + } else { + return false; + } + }, + }); +} diff --git a/server/triggersDef.js b/server/triggersDef.js new file mode 100644 index 0000000..4cc2323 --- /dev/null +++ b/server/triggersDef.js @@ -0,0 +1,69 @@ +TriggersDef = { + createCard: { + matchingFields: [ + 'boardId', + 'listName', + 'userId', + 'swimlaneName', + 'cardTitle', + ], + }, + moveCard: { + matchingFields: [ + 'boardId', + 'listName', + 'oldListName', + 'userId', + 'swimlaneName', + 'cardTitle', + ], + }, + archivedCard: { + matchingFields: ['boardId', 'userId', 'cardTitle'], + }, + restoredCard: { + matchingFields: ['boardId', 'userId', 'cardTitle'], + }, + joinMember: { + matchingFields: ['boardId', 'username', 'userId'], + }, + unjoinMember: { + matchingFields: ['boardId', 'username', 'userId'], + }, + addChecklist: { + matchingFields: ['boardId', 'checklistName', 'userId'], + }, + removeChecklist: { + matchingFields: ['boardId', 'checklistName', 'userId'], + }, + completeChecklist: { + matchingFields: ['boardId', 'checklistName', 'userId'], + }, + uncompleteChecklist: { + matchingFields: ['boardId', 'checklistName', 'userId'], + }, + addedChecklistItem: { + matchingFields: ['boardId', 'checklistItemName', 'userId'], + }, + removedChecklistItem: { + matchingFields: ['boardId', 'checklistItemName', 'userId'], + }, + checkedItem: { + matchingFields: ['boardId', 'checklistItemName', 'userId'], + }, + uncheckedItem: { + matchingFields: ['boardId', 'checklistItemName', 'userId'], + }, + addAttachment: { + matchingFields: ['boardId', 'userId'], + }, + deleteAttachment: { + matchingFields: ['boardId', 'userId'], + }, + addedLabel: { + matchingFields: ['boardId', 'labelId', 'userId'], + }, + removedLabel: { + matchingFields: ['boardId', 'labelId', 'userId'], + }, +}; diff --git a/settings.json b/settings.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/settings.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/snap-src/Caddyfile b/snap-src/Caddyfile new file mode 100644 index 0000000..2a9867d --- /dev/null +++ b/snap-src/Caddyfile @@ -0,0 +1,18 @@ +http://:8080 +proxy / localhost:3001 { + websocket + transparent +} + +## SSL/TLS example. Firefox Inspect Console does not support http/2, so turning it off +## so that Firefox would not show wss websocket errors. Chrome console supports http/2. +# +#wekan.example.com { +# tls { +# alpn http/1.1 +# } +# proxy / localhost:3001 { +# websocket +# transparent +# } +#} diff --git a/snap-src/bin/caddy-control b/snap-src/bin/caddy-control new file mode 100755 index 0000000..1905603 --- /dev/null +++ b/snap-src/bin/caddy-control @@ -0,0 +1,12 @@ +#!/bin/bash + +# get wekan/mongo settings +source $SNAP/bin/wekan-read-settings + +if [ "$CADDY_ENABLED" = "true" ]; then + env LC_ALL=C caddy -conf=$SNAP_COMMON/Caddyfile -host=localhost:${CADDY_PORT} -agree +else + echo "caddy is disabled. Stop service" + snapctl stop --disable ${SNAP_NAME}.caddy + # sleep here, in case snapctl fails to stop service so we do not restart too often +fi diff --git a/snap-src/bin/config b/snap-src/bin/config new file mode 100755 index 0000000..1da986b --- /dev/null +++ b/snap-src/bin/config @@ -0,0 +1,474 @@ +#!/bin/sh + +# All supported keys are defined here together with descriptions and default values + +# list of supported keys +keys="DEBUG MONGO_URL MONGODB_BIND_UNIX_SOCKET MONGO_URL MONGODB_BIND_IP MONGODB_PORT MAIL_URL MAIL_FROM ROOT_URL PORT DISABLE_MONGODB CADDY_ENABLED CADDY_BIND_PORT WITH_API RICHER_CARD_COMMENT_EDITOR CARD_OPENED_WEBHOOK_ENABLED ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURES_BEFORE ACCOUNTS_LOCKOUT_KNOWN_USERS_PERIOD ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURE_WINDOW ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURES_BERORE ACCOUNTS_LOCKOUT_UNKNOWN_USERS_LOCKOUT_PERIOD ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURE_WINDOW MAX_IMAGE_PIXEL IMAGE_COMPRESS_RATIO BIGEVENTS_PATTERN NOTIFICATION_TRAY_AFTER_READ_DAYS_BEFORE_REMOVE NOTIFY_DUE_DAYS_BEFORE_AND_AFTER NOTIFY_DUE_AT_HOUR_OF_DAY EMAIL_NOTIFICATION_TIMEOUT CORS CORS_ALLOW_HEADERS CORS_EXPOSE_HEADERS MATOMO_ADDRESS MATOMO_SITE_ID MATOMO_DO_NOT_TRACK MATOMO_WITH_USERNAME BROWSER_POLICY_ENABLED TRUSTED_URL WEBHOOKS_ATTRIBUTES OAUTH2_ENABLED OAUTH2_LOGIN_STYLE OAUTH2_CLIENT_ID OAUTH2_SECRET OAUTH2_SERVER_URL OAUTH2_AUTH_ENDPOINT OAUTH2_USERINFO_ENDPOINT OAUTH2_TOKEN_ENDPOINT OAUTH2_ID_MAP OAUTH2_USERNAME_MAP OAUTH2_FULLNAME_MAP OAUTH2_ID_TOKEN_WHITELIST_FIELDS OAUTH2_EMAIL_MAP OAUTH2_REQUEST_PERMISSIONS LDAP_ENABLE LDAP_PORT LDAP_HOST LDAP_BASEDN LDAP_LOGIN_FALLBACK LDAP_RECONNECT LDAP_TIMEOUT LDAP_IDLE_TIMEOUT LDAP_CONNECT_TIMEOUT LDAP_AUTHENTIFICATION LDAP_AUTHENTIFICATION_USERDN LDAP_AUTHENTIFICATION_PASSWORD LDAP_LOG_ENABLED LDAP_BACKGROUND_SYNC LDAP_BACKGROUND_SYNC_INTERVAL LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS LDAP_ENCRYPTION LDAP_CA_CERT LDAP_REJECT_UNAUTHORIZED LDAP_USER_AUTHENTICATION LDAP_USER_AUTHENTICATION_FIELD LDAP_USER_SEARCH_FILTER LDAP_USER_SEARCH_SCOPE LDAP_USER_SEARCH_FIELD LDAP_SEARCH_PAGE_SIZE LDAP_SEARCH_SIZE_LIMIT LDAP_GROUP_FILTER_ENABLE LDAP_GROUP_FILTER_OBJECTCLASS LDAP_GROUP_FILTER_GROUP_ID_ATTRIBUTE LDAP_GROUP_FILTER_GROUP_MEMBER_ATTRIBUTE LDAP_GROUP_FILTER_GROUP_MEMBER_FORMAT LDAP_GROUP_FILTER_GROUP_NAME LDAP_UNIQUE_IDENTIFIER_FIELD LDAP_UTF8_NAMES_SLUGIFY LDAP_USERNAME_FIELD LDAP_FULLNAME_FIELD LDAP_MERGE_EXISTING_USERS LDAP_SYNC_USER_DATA LDAP_SYNC_USER_DATA_FIELDMAP LDAP_SYNC_GROUP_ROLES LDAP_DEFAULT_DOMAIN LDAP_EMAIL_MATCH_ENABLE LDAP_EMAIL_MATCH_REQUIRE LDAP_EMAIL_MATCH_VERIFIED LDAP_EMAIL_FIELD LDAP_SYNC_ADMIN_STATUS LDAP_SYNC_ADMIN_GROUPS HEADER_LOGIN_ID HEADER_LOGIN_FIRSTNAME HEADER_LOGIN_LASTNAME HEADER_LOGIN_EMAIL LOGOUT_WITH_TIMER LOGOUT_IN LOGOUT_ON_HOURS LOGOUT_ON_MINUTES DEFAULT_AUTHENTICATION_METHOD ATTACHMENTS_STORE_PATH SCROLLINERTIA SCROLLAMOUNT SCROLLDELTAFACTOR PASSWORD_LOGIN_ENABLED" + +# default values +DESCRIPTION_DEBUG="Debug OIDC OAuth2 etc. Example: sudo snap set wekan debug='true'" +DEFAULT_DEBUG="false" +KEY_DEBUG="debug" + +DESCRIPTION_MONGOURL="MONGO_URL. Default: ''" +DEFAULT_MONGO_URL="" +KEY_MONGO_URL='mongo-url' + +DESCRIPTION_MONGODB_BIND_UNIX_SOCKET="mongodb binding unix socket. Example: /var/snap/wekan/current/share . Default: ''\n"\ +"\t\t\t Default behaviour will preffer binding over unix socket, to disable unix socket binding set value to 'nill' string\n"\ +"\t\t\t To bind to instance of mongodb provided through content interface,set value to relative path to the socket inside '$SNAP_DATA/shared' directory" +DEFAULT_MONGODB_BIND_UNIX_SOCKET="" +KEY_MONGODB_BIND_UNIX_SOCKET="mongodb-bind-unix-socket" + +DESCRIPTION_MONGODB_PORT="mongodb binding port: eg 27017 when using localhost" +DEFAULT_MONGODB_PORT="27019" +KEY_MONGODB_PORT='mongodb-port' + +DESCRIPTION_MONGODB_BIND_IP="mongodb binding ip address: eg 127.0.0.1 for localhost\n\t\tIf not defined default unix socket is used instead" +DEFAULT_MONGODB_BIND_IP="127.0.0.1" +KEY_MONGODB_BIND_IP="mongodb-bind-ip" + +DESCRIPTION_MAIL_URL="wekan mail binding" +DEFAULT_MAIL_URL="smtp://user:pass@mailserver.examples.com:25/" +KEY_MAIL_URL="mail-url" + +DESCRIPTION_MAIL_FROM="wekan's admin mail from name email address" +DEFAULT_MAIL_FROM="wekan-admin@example.com" +KEY_MAIL_FROM="mail-from" + +DESCRIPTION_ROOT_URL="wekan's root url, eg http://127.0.0.1, https://example.com, https://wekan.example.com, http://example.com/wekan" +DEFAULT_ROOT_URL="http://127.0.0.1" +KEY_ROOT_URL="root-url" + +DESCRIPTION_PORT="port wekan is exposed at" +DEFAULT_PORT="8080" +KEY_PORT="port" + +DESCRIPTION_DISABLE_MONGODB="Disable mongodb service: use only if binding to database outside of the ${SNAP_NAME} snap. Valid values: [true,false]" +DEFAULT_DISABLE_MONGODB="false" +KEY_DISABLE_MONGODB="disable-mongodb" + +DESCRIPTION_CADDY_ENABLED="Enable caddy service (caddy - Every Site on HTTPS) personal license for non-commercial use only, see https://caddyserver.com/products/licenses . Set to 'true' to enable caddy\n\t\tcaddy settings are handled through $SNAP_COMMON/Caddyfile" +DEFAULT_CADDY_ENABLED="false" +KEY_CADDY_ENABLED="caddy-enabled" + +DESCRIPTION_CADDY_BIND_PORT="Port on which caddy will expect proxy, value set here will be set in $SNAP_COMMON/Caddyfile" +DEFAULT_CADDY_BIND_PORT="3001" +KEY_CADDY_BIND_PORT="caddy-bind-port" + +DESCRIPTION_WITH_API="Enable/disable the api of wekan" +DEFAULT_WITH_API="true" +KEY_WITH_API="with-api" + +DESCRIPTION_RICHER_CARD_COMMENT_EDITOR="Rich text editor in card comments. Default: false" +DEFAULT_RICHER_CARD_COMMENT_EDITOR="false" +KEY_RICHER_CARD_COMMENT_EDITOR="richer-card-comment-editor" + +DESCRIPTION_CARD_OPENED_WEBHOOK_ENABLED="Card opened, send webhook message. Default: false https://github.com/wekan/wekan/issues/2518" +DEFAULT_CARD_OPENED_WEBHOOK_ENABLED="false" +KEY_CARD_OPENED_WEBHOOK_ENABLED="card-opened-webhook-enabled" + +DESCRIPTION_ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURES_BEFORE="Accounts lockout known users failures before, greater than 0. Default: 3" +DEFAULT_ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURES_BEFORE="3" +KEY_ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURES_BEFORE="accounts-lockout-known-users-failures-before" + +DESCRIPTION_ACCOUNTS_LOCKOUT_KNOWN_USERS_PERIOD="Accounts lockout know users period, in seconds. Default: 60" +DEFAULT_ACCOUNTS_LOCKOUT_KNOWN_USERS_PERIOD="60" +KEY_ACCOUNTS_LOCKOUT_KNOWN_USERS_PERIOD="accounts-lockout-known-users-period" + +DESCRIPTION_ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURE_WINDOW="Accounts lockout unknown failure window, in seconds. Default: 15" +DEFAULT_ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURE_WINDOW="15" +KEY_ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURE_WINDOW="accounts-lockout-known-users-failure-window" + +DESCRIPTION_ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURES_BERORE="Accounts lockout unknown users failures before, greater than 0. Default: 3" +DEFAULT_ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURES_BERORE="3" +KEY_ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURES_BERORE="accounts-lockout-unknown-users-failures-before" + +DESCRIPTION_ACCOUNTS_LOCKOUT_UNKNOWN_USERS_LOCKOUT_PERIOD="Accounts lockout unknown users lockout period, in seconds. Default: 60" +DEFAULT_ACCOUNTS_LOCKOUT_UNKNOWN_USERS_LOCKOUT_PERIOD="60" +KEY_ACCOUNTS_LOCKOUT_UNKNOWN_USERS_LOCKOUT_PERIOD="accounts-lockout-unknown-users-lockout-period" + +DESCRIPTION_ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURE_WINDOW="Accounts lockout unknown users failure window, in seconds. Default: 15" +DEFAULT_ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURE_WINDOW="15" +KEY_ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURE_WINDOW="accounts-lockout-unknown-users-failure-window" + +DESCRIPTION_ATTACHMENTS_STORE_PATH="Allow wekan ower to specify where uploaded files to store on the server instead of the mongodb" +DEFAULT_ATTACHMENTS_STORE_PATH="" +KEY_ATTACHMENTS_STORE_PATH="attachments-store-path" + +# Example, not in use: /var/snap/wekan/common/uploads/ + +DESCRIPTION_MAX_IMAGE_PIXEL="Max image pixel: Allow to shrink attached/pasted image https://github.com/wekan/wekan/pull/2544" +DEFAULT_MAX_IMAGE_PIXEL="" +KEY_MAX_IMAGE_PIXEL="max-image-pixel" + +DESCRIPTION_IMAGE_COMPRESS_RATIO="Image compress ratio: Allow to shrink attached/pasted image https://github.com/wekan/wekan/pull/2544" +DEFAULT_IMAGE_COMPRESS_RATIO="" +KEY_IMAGE_COMPRESS_RATIO="image-compress-ratio" + +DESCRIPTION_NOTIFICATION_TRAY_AFTER_READ_DAYS_BEFORE_REMOVE="Number of days after a notification is read before we remove it. Default: 2." +DEFAULT_NOTIFICATION_TRAY_AFTER_READ_DAYS_BEFORE_REMOVE="" +KEY_NOTIFICATION_TRAY_AFTER_READ_DAYS_BEFORE_REMOVE="notification-tray-after-read-days-before-remove" + +DESCRIPTION_BIGEVENTS_PATTERN="Big events pattern: Notify always due etc regardless of notification settings. Default: NONE, All: received|start|due|end, Disabled: NONE" +DEFAULT_BIGEVENTS_PATTERN="NONE" +KEY_BIGEVENTS_PATTERN="bigevents-pattern" + +DESCRIPTION_NOTIFY_DUE_DAYS_BEFORE_AND_AFTER="Notify due days, accepts ',' delimited string, i.e. 2,0 means notify will be sent out 2 days before and right on due day. Default: empty" +DEFAULT_NOTIFY_DUE_DAYS_BEFORE_AND_AFTER="" +KEY_NOTIFY_DUE_DAYS_BEFORE_AND_AFTER="notify-due-days-before-and-after" + +DESCRIPTION_NOTIFY_DUE_AT_HOUR_OF_DAY="Notify due at hour of day. Default every morning at 8am. Can be 0-23. If env variable has parsing error, use default. Notification sent to watchers. Default: 0" +DEFAULT_NOTIFY_DUE_AT_HOUR_OF_DAY="" +KEY_NOTIFY_DUE_AT_HOUR_OF_DAY="notify-due-at-hour-of-day" + +DESCRIPTION_EMAIL_NOTIFICATION_TIMEOUT="Email notification timeout, ms. Default: 30000 (=30s)." +DEFAULT_EMAIL_NOTIFICATION_TIMEOUT="30000" +KEY_EMAIL_NOTIFICATION_TIMEOUT="email-notification-timeout" + +DESCRIPTION_CORS="Enable/disable CORS: Set Access-Control-Allow-Origin header. Example: *" +DEFAULT_CORS="" +KEY_CORS="cors" + +DESCRIPTION_CORS_ALLOW_HEADERS="Set Access-Control-Allow-Headers header. \"Authorization,Content-Type\" is required for cross-origin use of the API." +DEFAULT_CORS_ALLOW_HEADERS="" +KEY_CORS_ALLOW_HEADERS="cors-allow-headers" + +DESCRIPTION_EXPOSE_HEADERS="Set Access-Control-Expose-Headers header. This is not needed for typical CORS situations. Example: *" +DEFAULT_CORS_EXPOSE_HEADERS="" +KEY_CORS_EXPOSE_HEADERS="cors-expose-headers" + +DESCRIPTION_MATOMO_ADDRESS="The address of the server where matomo is hosted" +DEFAULT_MATOMO_ADDRESS="" +KEY_MATOMO_ADDRESS="matomo-address" + +DESCRIPTION_MATOMO_SITE_ID="The value of the site ID given in matomo server for wekan" +DEFAULT_MATOMO_SITE_ID="" +KEY_MATOMO_SITE_ID="matomo-site-id" + +DESCRIPTION_MATOMO_DO_NOT_TRACK="The option do not track which enables users to not be tracked by matomo" +DEFAULT_MATOMO_DO_NOT_TRACK="true" +KEY_MATOMO_DO_NOT_TRACK="matomo-do-not-track" + +DESCRIPTION_MATOMO_WITH_USERNAME="The option that allows matomo to retrieve the username" +DEFAULT_MATOMO_WITH_USERNAME="false" +KEY_MATOMO_WITH_USERNAME="matomo-with-username" + +DESCRIPTION_BROWSER_POLICY_ENABLED="Enable browser policy and allow one trusted URL that can have iframe that has Wekan embedded inside.\n"\ +"\t\t\t Setting this to false is not recommended, it also disables all other browser policy protections\n"\ +"\t\t\t and allows all iframing etc. See wekan/server/policy.js" +DEFAULT_BROWSER_POLICY_ENABLED="true" +KEY_BROWSER_POLICY_ENABLED="browser-policy-enabled" + +DESCRIPTION_TRUSTED_URL="When browser policy is enabled, HTML code at this Trusted URL can have iframe that embeds Wekan inside." +DEFAULT_TRUSTED_URL="" +KEY_TRUSTED_URL="trusted-url" + +DESCRIPTION_WEBHOOKS_ATTRIBUTES="What to send to Outgoing Webhook, or leave out. Example, that includes all that are default: cardId,listId,oldListId,boardId,comment,user,card,commentId ." +DEFAULT_WEBHOOKS_ATTRIBUTES="" +KEY_WEBHOOKS_ATTRIBUTES="webhooks-attributes" + +DESCRIPTION_OAUTH2_ENABLED="Enable the OAuth2 connection" +DEFAULT_OAUTH2_ENABLED="false" +KEY_OAUTH2_ENABLED="oauth2-enabled" + +DESCRIPTION_OAUTH2_LOGIN_STYLE="OAuth2 login style: popup or redirect. Default: redirect" +DEFAULT_OAUTH2_LOGIN_STYLE="redirect" +KEY_OAUTH2_LOGIN_STYLE="oauth2-login-style" + +DESCRIPTION_OAUTH2_CLIENT_ID="OAuth2 Client ID, for example from Rocket.Chat. Example: abcde12345" +DEFAULT_OAUTH2_CLIENT_ID="" +KEY_OAUTH2_CLIENT_ID="oauth2-client-id" + +DESCRIPTION_OAUTH2_SECRET="OAuth2 Secret, for example from Rocket.Chat: Example: 54321abcde" +DEFAULT_OAUTH2_SECRET="" +KEY_OAUTH2_SECRET="oauth2-secret" + +DESCRIPTION_OAUTH2_SERVER_URL="OAuth2 Server URL, for example Rocket.Chat. Example: https://chat.example.com" +DEFAULT_OAUTH2_SERVER_URL="" +KEY_OAUTH2_SERVER_URL="oauth2-server-url" + +DESCRIPTION_OAUTH2_AUTH_ENDPOINT="OAuth2 authorization endpoint. Example: /oauth/authorize" +DEFAULT_OAUTH2_AUTH_ENDPOINT="" +KEY_OAUTH2_AUTH_ENDPOINT="oauth2-auth-endpoint" + +DESCRIPTION_OAUTH2_USERINFO_ENDPOINT="OAuth2 userinfo endpoint. Example: /oauth/userinfo" +DEFAULT_OAUTH2_USERINFO_ENDPOINT="" +KEY_OAUTH2_USERINFO_ENDPOINT="oauth2-userinfo-endpoint" + +DESCRIPTION_OAUTH2_TOKEN_ENDPOINT="OAuth2 token endpoint. Example: /oauth/token" +DEFAULT_OAUTH2_TOKEN_ENDPOINT="" +KEY_OAUTH2_TOKEN_ENDPOINT="oauth2-token-endpoint" + +DESCRIPTION_OAUTH2_ID_MAP="OAuth2 ID Mapping. Example: email" +DEFAULT_OAUTH2_ID_MAP="" +KEY_OAUTH2_ID_MAP="oauth2-id-map" + +DESCRIPTION_OAUTH2_USERNAME_MAP="OAuth2 Username Mapping. Example: email" +DEFAULT_OAUTH2_USERNAME_MAP="" +KEY_OAUTH2_USERNAME_MAP="oauth2-username-map" + +DESCRIPTION_OAUTH2_FULLNAME_MAP="OAuth2 Fullname Mapping. Example: name" +DEFAULT_OAUTH2_FULLNAME_MAP="" +KEY_OAUTH2_FULLNAME_MAP="oauth2-fullname-map" + +DESCRIPTION_OAUTH2_FULLNAME_MAP="OAuth2 Fullname Mapping. Example: name" +DEFAULT_OAUTH2_FULLNAME_MAP="" +KEY_OAUTH2_FULLNAME_MAP="oauth2-fullname-map" + +DESCRIPTION_OAUTH2_ID_TOKEN_WHITELIST_FIELDS="OAuth2 ID Token Whitelist Fields." +DEFAULT_OAUTH2_ID_TOKEN_WHITELIST_FIELDS="" +KEY_OAUTH2_ID_TOKEN_WHITELIST_FIELDS="oauth2-id-token-whitelist-fields" + +DESCRIPTION_OAUTH2_REQUEST_PERMISSIONS="OAuth2 Request Permissions. Example: 'openid profile email'" +DEFAULT_OAUTH2_REQUEST_PERMISSIONS="'openid profile email'" +KEY_OAUTH2_REQUEST_PERMISSIONS="oauth2-request-permissions" + +DESCRIPTION_OAUTH2_EMAIL_MAP="OAuth2 Email Mapping. Example: email" +DEFAULT_OAUTH2_EMAIL_MAP="" +KEY_OAUTH2_EMAIL_MAP="oauth2-email-map" + +DESCRIPTION_LDAP_ENABLE="Enable or not the connection by the LDAP" +DEFAULT_LDAP_ENABLE="false" +KEY_LDAP_ENABLE="ldap-enable" + +DESCRIPTION_LDAP_PORT="The port of the LDAP server" +DEFAULT_LDAP_PORT="389" +KEY_LDAP_PORT="ldap-port" + +DESCRIPTION_LDAP_HOST="The host server for the LDAP server" +DEFAULT_LDAP_HOST="" +KEY_LDAP_HOST="ldap-host" + +DESCRIPTION_LDAP_BASEDN="The base DN for the LDAP Tree" +DEFAULT_LDAP_BASEDN="" +KEY_LDAP_BASEDN="ldap-basedn" + +DESCRIPTION_LDAP_LOGIN_FALLBACK="Fallback on the default authentication method" +DEFAULT_LDAP_LOGIN_FALLBACK="false" +KEY_LDAP_LOGIN_FALLBACK="ldap-login-fallback" + +DESCRIPTION_LDAP_RECONNECT="Reconnect to the server if the connection is lost" +DEFAULT_LDAP_RECONNECT="true" +KEY_LDAP_RECONNECT="ldap-reconnect" + +DESCRIPTION_LDAP_TIMEOUT="Overall timeout, in milliseconds." +DEFAULT_LDAP_TIMEOUT="10000" +KEY_LDAP_TIMEOUT="ldap-timeout" + +DESCRIPTION_LDAP_IDLE_TIMEOUT="Specifies the timeout for idle LDAP connections in milliseconds" +DEFAULT_LDAP_IDLE_TIMEOUT="10000" +KEY_LDAP_IDLE_TIMEOUT="ldap-idle-timeout" + +DESCRIPTION_LDAP_CONNECT_TIMEOUT="Connection timeout, in milliseconds." +DEFAULT_LDAP_CONNECT_TIMEOUT="10000" +KEY_LDAP_CONNECT_TIMEOUT="ldap-connect-timeout" + +DESCRIPTION_LDAP_AUTHENTIFICATION="If the LDAP needs a user account to search" +DEFAULT_LDAP_AUTHENTIFICATION="false" +KEY_LDAP_AUTHENTIFICATION="ldap-authentication" + +DESCRIPTION_LDAP_AUTHENTIFICATION_USERDN="The search user DN" +DEFAULT_LDAP_AUTHENTIFICATION_USERDN="" +KEY_LDAP_AUTHENTIFICATION_USERDN="ldap-authentication-userdn" + +DESCRIPTION_LDAP_AUTHENTIFICATION_PASSWORD="The password for the search user" +DEFAULT_LDAP_AUTHENTIFICATION_PASSWORD="" +KEY_LDAP_AUTHENTIFICATION_PASSWORD="ldap-authentication-password" + +DESCRIPTION_LDAP_LOG_ENABLED="Enable logs for the module" +DEFAULT_LDAP_LOG_ENABLED="false" +KEY_LDAP_LOG_ENABLED="ldap-log-enabled" + +DESCRIPTION_LDAP_BACKGROUND_SYNC="If the sync of the users should be done in the background" +DEFAULT_LDAP_BACKGROUND_SYNC="false" +KEY_LDAP_BACKGROUND_SYNC="ldap-background-sync" + +DESCRIPTION_LDAP_BACKGROUND_SYNC_INTERVAL="At which interval does the background task sync" +DEFAULT_LDAP_BACKGROUND_SYNC_INTERVAL="" +KEY_LDAP_BACKGROUND_SYNC_INTERVAL="ldap-background-sync-interval" + +DESCRIPTION_LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED="" +DEFAULT_LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED="false" +KEY_LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED="ldap-background-sync-keep-existant-users-updated" + +DESCRIPTION_LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS="" +DEFAULT_LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS="false" +KEY_LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS="ldap-background-sync-import-new-users" + +DESCRIPTION_LDAP_ENCRYPTION="If using LDAPS, use LDAP_ENCRYPTION=ssl" +DEFAULT_LDAP_ENCRYPTION="false" +KEY_LDAP_ENCRYPTION="ldap-encryption" + +DESCRIPTION_LDAP_CA_CERT="The certification for the LDAPS server" +DEFAULT_LDAP_CA_CERT="" +KEY_LDAP_CA_CERT="ldap-ca-cert" + +DESCRIPTION_LDAP_REJECT_UNAUTHORIZED="Reject Unauthorized Certificate" +DEFAULT_LDAP_REJECT_UNAUTHORIZED="false" +KEY_LDAP_REJECT_UNAUTHORIZED="ldap-reject-unauthorized" + +DESCRIPTION_LDAP_USER_AUTHENTICATION="Option to login to the LDAP server with the user's own username and password, instead of an administrator key. Default: false (use administrator key)." +DEFAULT_LDAP_USER_AUTHENTICATION="false" +KEY_LDAP_USER_AUTHENTICATION="ldap-user-authentication" + +DESCRIPTION_LDAP_USER_AUTHENTICATION_FIELD="Which field is used to find the user for the user authentication. Default: uid." +DEFAULT_LDAP_USER_AUTHENTICATION_FIELD="uid" +KEY_LDAP_USER_AUTHENTICATION_FIELD="ldap-user-authentication-field" + +DESCRIPTION_LDAP_USER_SEARCH_FILTER="Optional extra LDAP filters. Don't forget the outmost enclosing parentheses if needed" +DEFAULT_LDAP_USER_SEARCH_FILTER="" +KEY_LDAP_USER_SEARCH_FILTER="ldap-user-search-filter" + +DESCRIPTION_LDAP_USER_SEARCH_SCOPE="base (search only in the provided DN), one (search only in the provided DN and one level deep), or sub (search the whole subtree). Example: one" +DEFAULT_LDAP_USER_SEARCH_SCOPE="" +KEY_LDAP_USER_SEARCH_SCOPE="ldap-user-search-scope" + +DESCRIPTION_LDAP_USER_SEARCH_FIELD="Which field is used to find the user" +DEFAULT_LDAP_USER_SEARCH_FIELD="" +KEY_LDAP_USER_SEARCH_FIELD="ldap-user-search-field" + +DESCRIPTION_LDAP_SEARCH_PAGE_SIZE="Used for pagination (0=unlimited)" +DEFAULT_LDAP_SEARCH_PAGE_SIZE="0" +KEY_LDAP_SEARCH_PAGE_SIZE="ldap-search-page-size" + +DESCRIPTION_LDAP_SEARCH_SIZE_LIMIT="The limit number of entries (0=unlimited)" +DEFAULT_LDAP_SEARCH_SIZE_LIMIT="0" +KEY_LDAP_SEARCH_SIZE_LIMIT="ldap-search-size-limit" + +DESCRIPTION_LDAP_GROUP_FILTER_ENABLE="Enable group filtering" +DEFAULT_LDAP_GROUP_FILTER_ENABLE="false" +KEY_LDAP_GROUP_FILTER_ENABLE="ldap-group-filter-enable" + +DESCRIPTION_LDAP_GROUP_FILTER_OBJECTCLASS="The object class for filtering" +DEFAULT_LDAP_GROUP_FILTER_OBJECTCLASS="" +KEY_LDAP_GROUP_FILTER_OBJECTCLASS="ldap-group-filter-objectclass" + +DESCRIPTION_LDAP_GROUP_FILTER_GROUP_ID_ATTRIBUTE="The attribute of a group identifying it. Default: ''" +DEFAULT_LDAP_GROUP_FILTER_GROUP_ID_ATTRIBUTE="" +KEY_LDAP_GROUP_FILTER_GROUP_ID_ATTRIBUTE="ldap-group-filter-id-attribute" + +DESCRIPTION_LDAP_GROUP_FILTER_GROUP_MEMBER_ATTRIBUTE="The attribute inside a group object listing its members. Default: ''" +DEFAULT_LDAP_GROUP_FILTER_GROUP_MEMBER_ATTRIBUTE="" +KEY_LDAP_GROUP_FILTER_GROUP_MEMBER_ATTRIBUTE="ldap-group-filter-member-attribute" + +DESCRIPTION_LDAP_GROUP_FILTER_GROUP_MEMBER_FORMAT="The format of the value of ldap-group-filter-member-attribute (e.g. 'dn' if the user's dn ist saved as value into the attribute). Default: ''" +DEFAULT_LDAP_GROUP_FILTER_GROUP_MEMBER_FORMAT="" +KEY_LDAP_GROUP_FILTER_GROUP_MEMBER_FORMAT="ldap-group-filter-member-format" + +DESCRIPTION_LDAP_GROUP_FILTER_GROUP_NAME="The group name (id) that matches all users. Default: ''" +DEFAULT_LDAP_GROUP_FILTER_GROUP_NAME="" +KEY_LDAP_GROUP_FILTER_GROUP_NAME="ldap-group-filter-group-name" + +DESCRIPTION_LDAP_UNIQUE_IDENTIFIER_FIELD="This field is sometimes class GUID (Globally Unique Identifier)" +DEFAULT_LDAP_UNIQUE_IDENTIFIER_FIELD="" +KEY_LDAP_UNIQUE_IDENTIFIER_FIELD="ldap-unique-identifier-field" + +DESCRIPTION_LDAP_UTF8_NAMES_SLUGIFY="Convert the username to utf8" +DEFAULT_LDAP_UTF8_NAMES_SLUGIFY="true" +KEY_LDAP_UTF8_NAMES_SLUGIFY="ldap-utf8-names-slugify" + +DESCRIPTION_LDAP_USERNAME_FIELD="Which field contains the ldap username" +DEFAULT_LDAP_USERNAME_FIELD="" +KEY_LDAP_USERNAME_FIELD="ldap-username-field" + +DESCRIPTION_LDAP_FULLNAME_FIELD="Which field contains the ldap fullname" +DEFAULT_LDAP_FULLNAME_FIELD="" +KEY_LDAP_FULLNAME_FIELD="ldap-fullname-field" + +DESCRIPTION_LDAP_MERGE_EXISTING_USERS="ldap-merge-existing-users . Default: false" +DEFAULT_LDAP_MERGE_EXISTING_USERS="false" +KEY_LDAP_MERGE_EXISTING_USERS="ldap-merge-existing-users" + +DESCRIPTION_LDAP_EMAIL_MATCH_ENABLE="ldap-email-match-enable . Default: false" +DEFAULT_LDAP_EMAIL_MATCH_ENABLE="false" +KEY_LDAP_EMAIL_MATCH_ENABLE="ldap-email-match-enable" + +DESCRIPTION_LDAP_EMAIL_MATCH_REQUIRE="ldap-email-match-require . Default: false" +DEFAULT_LDAP_EMAIL_MATCH_REQUIRE="false" +KEY_LDAP_EMAIL_MATCH_REQUIRE="ldap-email-match-require" + +DESCRIPTION_LDAP_EMAIL_MATCH_VERIFIED="ldap-email-match-verified . Default: false" +DEFAULT_LDAP_EMAIL_MATCH_VERIFIED="false" +KEY_LDAP_EMAIL_MATCH_VERIFIED="ldap-email-match-verified" + +DESCRIPTION_LDAP_EMAIL_FIELD="Which field contains the ldap e-mail address" +DEFAULT_LDAP_EMAIL_FIELD="" +KEY_LDAP_EMAIL_FIELD="ldap-email-field" + +DESCRIPTION_LDAP_SYNC_USER_DATA="ldap-sync-user-data . Default: false" +DEFAULT_LDAP_SYNC_USER_DATA="false" +KEY_LDAP_SYNC_USER_DATA="ldap-sync-user-data" + +DESCRIPTION_LDAP_SYNC_USER_DATA_FIELDMAP="LDAP Sync User Data Fieldmap. Example: ldap-sync-user-data-fieldmap='{\"cn\":\"name\", \"mail\":\"email\"}'" +DEFAULT_LDAP_SYNC_USER_DATA_FIELDMAP="" +KEY_LDAP_SYNC_USER_DATA_FIELDMAP="ldap-sync-user-data-fieldmap" + +DESCRIPTION_LDAP_SYNC_GROUP_ROLES="ldap-sync-group-roles . Default: '' (empty)." +DEFAULT_LDAP_SYNC_GROUP_ROLES="" +KEY_LDAP_SYNC_GROUP_ROLES="ldap-sync-group-roles" + +DESCRIPTION_LDAP_SYNC_ADMIN_STATUS="Enable/Disable syncing of admin status based on LDAP groups. Example: true" +DEFAULT_LDAP_SYNC_ADMIN_STATUS="" +KEY_LDAP_SYNC_ADMIN_STATUS="ldap-sync-admin-status" + +DESCRIPTION_LDAP_SYNC_ADMIN_GROUPS="Comma separated list of admin group names to sync. Example: group1, group2" +DEFAULT_LDAP_SYNC_ADMIN_GROUPS="" +KEY_LDAP_SYNC_ADMIN_GROUPS="ldap-sync-admin-groups" + +DESCRIPTION_LDAP_DEFAULT_DOMAIN="The default domain of the ldap it is used to create email if the field is not map correctly with the LDAP_SYNC_USER_DATA_FIELDMAP" +DEFAULT_LDAP_DEFAULT_DOMAIN="" +KEY_LDAP_DEFAULT_DOMAIN="ldap-default-domain" + +DESCRIPTION_HEADER_LOGIN_ID="Header login ID. Example for siteminder: HEADERUID" +DEFAULT_HEADER_LOGIN_ID="" +KEY_HEADER_LOGIN_ID="header-login-id" + +DESCRIPTION_HEADER_LOGIN_FIRSTNAME="Header login firstname. Example for siteminder: HEADERFIRSTNAME" +DEFAULT_HEADER_LOGIN_FIRSTNAME="Header login firstname. Example for siteminder: HEADERFIRSTNAME" +KEY_HEADER_LOGIN_FIRSTNAME="header-login-firstname" + +DESCRIPTION_HEADER_LOGIN_LASTNAME="Header login lastname. Example for siteminder: HEADERLASTNAME" +DEFAULT_HEADER_LOGIN_LASTNAME="Header login firstname. Example for siteminder: HEADERLASTNAME" +KEY_HEADER_LOGIN_LASTNAME="header-login-lastname" + +DESCRIPTION_HEADER_LOGIN_EMAIL="Header login email. Example for siteminder: HEADEREMAILADDRESS" +DEFAULT_HEADER_LOGIN_EMAIL="Header login email. Example for siteminder: HEADEREMAILADDRESS" +KEY_HEADER_LOGIN_EMAIL="header-login-email" + +DESCRIPTION_LOGOUT_WITH_TIMER="Enables or not the option logout with timer" +DEFAULT_LOGOUT_WITH_TIMER="false" +KEY_LOGOUT_WITH_TIMER="logout-with-timer" + +DESCRIPTION_LOGOUT_IN="The number of days" +DEFAULT_LOGOUT_IN="" +KEY_LOGOUT_IN="logout-in" + +DESCRIPTION_LOGOUT_ON_HOURS="The number of hours" +DEFAULT_LOGOUT_ON_HOURS="" +KEY_LOGOUT_ON_HOURS="logout-on-hours" + +DESCRIPTION_LOGOUT_ON_MINUTES="The number of minutes" +DEFAULT_LOGOUT_ON_MINUTES="" +KEY_LOGOUT_ON_MINUTES="logout-on-minutes" + +DESCRIPTION_DEFAULT_AUTHENTICATION_METHOD="The default authentication method used if a user does not exist to create and authenticate. Method can be password or ldap." +DEFAULT_DEFAULT_AUTHENTICATION_METHOD="" +KEY_DEFAULT_AUTHENTICATION_METHOD="default-authentication-method" + +DESCRIPTION_SCROLLINERTIA="Mousewheel scroll inertia, issue #2949. Default: 0" +DEFAULT_SCROLLINERTIA="0" +KEY_SCROLLINERTIA="scrollinertia" + +DESCRIPTION_SCROLLAMOUNT="Mousewheel scroll amount, issue #2949. Default: 'auto'" +DEFAULT_SCROLLAMOUNT="auto" +KEY_SCROLLAMOUNT="scrollamount" + +DESCRIPTION_SCROLLDELTAFACTOR="Mousewheel scroll deltafactor, issue #2949. Default: 'auto'" +DEFAULT_SCROLLDELTAFACTOR="auto" +KEY_SCROLLDELTAFACTOR="scrolldeltafactor" + +DESCRIPTION_PASSWORD_LOGIN_ENABLED="To hide the password login form" +DEFAULT_PASSWORD_LOGIN_ENABLED="true" +KEY_PASSWORD_LOGIN_ENABLED="password-login-enabled" + diff --git a/snap-src/bin/mongodb-backup b/snap-src/bin/mongodb-backup new file mode 100755 index 0000000..3e0e652 --- /dev/null +++ b/snap-src/bin/mongodb-backup @@ -0,0 +1,24 @@ +#!/bin/bash + +# get wekan/mongo settings +source $SNAP/bin/wekan-read-settings + +# make sure we have set minimum env variables for locale +if [ -z "$LANG" ]; then + export LANG=en_US.UTF-8 +fi + +export LC_ALL=C +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/snap/wekan/current/lib/x86_64-linux-gnu + +if [ -z $1 ]; then + DATE=`/bin/date +%Y%m%dT%H%M%S` + mkdir -p $SNAP_COMMON/db-backups/ + ARCHIVE=$SNAP_COMMON/db-backups/wekan-$DATE.backup +else + ARCHIVE=$1 +fi +# start mongodb backup +[ "x" == "x${MONGODB_BIND_IP}" ] && MONGODB_BIND_IP="127.0.0.1" + echo "using bind ip" +mongodump --host $MONGODB_BIND_IP --port $MONGODB_PORT -d wekan --gzip --archive=${ARCHIVE} diff --git a/snap-src/bin/mongodb-control b/snap-src/bin/mongodb-control new file mode 100755 index 0000000..a78f7df --- /dev/null +++ b/snap-src/bin/mongodb-control @@ -0,0 +1,76 @@ +#!/bin/bash + +# get wekan/mongo settings +source $SNAP/bin/wekan-read-settings + +if [ "true" == "${DISABLE_MONGODB}" ]; then + echo "mongodb is disabled. Stop service" + snapctl stop --disable ${SNAP_NAME}.mongodb + exit 0 +fi + +# make sure we have set minimum env variables for locale +if [ -z "$LANG" ]; then + export LANG=en_US.UTF-8 +fi + +export LC_ALL=C +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/snap/wekan/current/lib/x86_64-linux-gnu + +# When starting MongoDB, if logfile exist, delete it, because now uses syslog instead of logfile, +# because syslog usually already has log rotation. +# https://github.com/wekan/wekan-snap/issues/92 +if test -f "$SNAP_COMMON/mongodb.log"; then + rm -f "$SNAP_COMMON/mongodb.log" +fi + +# Not in use. If uploads directory does not exist, create it. +# Wekan will store attachments there. +#if [ ! -d "$SNAP_COMMON/uploads" ]; then +# mkdir "$SNAP_COMMON/uploads" +#fi + +# Alternative: When starting MongoDB, and using logfile, truncate log to last 1000 lines of text. +# 1) If file exists: +#if test -f "$SNAP_COMMON/mongodb.log"; then +# # 2) Copy last 1000 lines to variable loglast1000lines. +# loglast1000lines=$(tail -1000 "$SNAP_COMMON/mongodb.log") +# # 3) Copy variable to replace original MongoDB log. +# echo "$loglast1000lines" > "$SNAP_COMMON/mongodb.log" +# # 4) Set variable to be empty. +# loglast1000lines="" +#fi + +if [ -z "$MONGO_URL" ]; then + + # start mongo deamon + BIND_OPTIONS="" + if [ "nill" != "$MONGODB_BIND_UNIX_SOCKET" ] && [ "x" != "x${MONGODB_BIND_UNIX_SOCKET}" ]; then + BIND_OPTIONS+=" --unixSocketPrefix $MONGODB_BIND_UNIX_SOCKET" + fi + if [ "x" != "x${MONGODB_BIND_IP}" ]; then + BIND_OPTIONS+=" --bind_ip $MONGODB_BIND_IP" + fi + if [ "x" != "x${MONGODB_PORT}" ]; then + BIND_OPTIONS+=" --port $MONGODB_PORT" + fi + echo "mongodb bind options: $BIND_OPTIONS" + + ## OLD: Logging to file. + #mongod --dbpath $SNAP_COMMON --logpath $SNAP_COMMON/mongodb.log --logappend --journal $BIND_OPTIONS --smallfiles + ## NEW: Logging to syslog, that usually has already log rotation. + mongod --dbpath $SNAP_COMMON --syslog --journal $BIND_OPTIONS --quiet + +else + + ## OLD: Logging to file. + #mongod --dbpath $SNAP_COMMON --logpath $SNAP_COMMON/mongodb.log --logappend --journal $MONGO_URL --smallfiles + ## NEW: Logging to syslog, that usually has already log rotation. + mongod --dbpath $SNAP_COMMON --syslog --journal $MONGO_URL --quiet + +fi + +# Drop indexes on database upgrade, when starting MongoDB +#mongo wekan --eval "db.getCollectionNames().forEach(function(col_name) { var coll = db.getCollection(col_name); coll.dropIndexes(); });" $BIND_OPTIONS + +mongo wekan --eval 'db.adminCommand({ setFeatureCompatibilityVersion: "4.2" });' $BIND_OPTIONS diff --git a/snap-src/bin/mongodb-restore b/snap-src/bin/mongodb-restore new file mode 100755 index 0000000..e1570a4 --- /dev/null +++ b/snap-src/bin/mongodb-restore @@ -0,0 +1,18 @@ +#!/bin/bash + +# get wekan/mongo settings +source $SNAP/bin/wekan-read-settings + +# make sure we have set minimum env variables for locale +if [ -z "$LANG" ]; then + export LANG=en_US.UTF-8 +fi + +export LC_ALL=C +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/snap/wekan/current/lib/x86_64-linux-gnu + +# start mongodb backup +[ "x" == "x${MONGODB_BIND_IP}" ] && MONGODB_BIND_IP="127.0.0.1" +echo "using bind ip" +mongorestore --host $MONGODB_BIND_IP --port $MONGODB_PORT -d wekan --gzip --archive=$1 +# --noIndexRestore diff --git a/snap-src/bin/wekan-control b/snap-src/bin/wekan-control new file mode 100755 index 0000000..bc2cefd --- /dev/null +++ b/snap-src/bin/wekan-control @@ -0,0 +1,23 @@ +#!/bin/bash + +# get wekan/mongo settings +source $SNAP/bin/wekan-read-settings + +export NODE_PATH=$SNAP/bin +# if possible we prefer to bind over unix socket +if [ "nill" != "$MONGODB_BIND_UNIX_SOCKET" ] && [ "x" != "x$MONGODB_BIND_UNIX_SOCKET" ]; then + if [ -d $MONGODB_BIND_UNIX_SOCKET ]; then + export MONGO_URL="mongodb://$MONGODB_BIND_UNIX_SOCKET/mongodb-${MONGODB_PORT}.sock/wekan" + else + export MONGO_URL="mongodb://$SNAP_DATA/shared/$MONGODB_BIND_UNIX_SOCKET/wekan" + fi +else + [ "x" == "x$MONGODB_BIND_IP" ] && MONGODB_BIND_IP="127.0.0.1" + export MONGO_URL="mongodb://$MONGODB_BIND_IP:$MONGODB_PORT/wekan" +fi + +echo -e "MONGO_URL=$MONGO_URL" +APPLICATION_DIRECTORY=$SNAP +APPLICATION_START=main.js +cd $APPLICATION_DIRECTORY +$NODE_PATH/node $APPLICATION_START diff --git a/snap-src/bin/wekan-help b/snap-src/bin/wekan-help new file mode 100755 index 0000000..9191209 --- /dev/null +++ b/snap-src/bin/wekan-help @@ -0,0 +1,490 @@ +#!/bin/bash + +# first read settings +source $SNAP/bin/wekan-read-settings &>/dev/null +if [ "$CADDY_ENABLED" = "true" ]; then + # tweak port nunmber as it has been remapped + export PORT=${CADDY_PORT} &>/dev/null +fi + +echo -e "Wekan: The open-source kanban.\n" +echo -e "\n" +echo -e "Debug OIDC OAuth2 etc." +echo -e "To enable the Debug of Wekan:" +echo -e "\t$ snap set $SNAP_NAME debug='true'" +echo -e "\t-Disable the Debug of Wekan:" +echo -e "\t$ snap set $SNAP_NAME debug='false'" +echo -e "\n" +echo -e "To enable the MONGO_URL of Wekan:" +echo -e "\t$ snap set $SNAP_NAME mongo-url='...'" +echo -e "\t-Disable the MONGO_URL of Wekan:" +echo -e "\t$ snap set $SNAP_NAME mongo-url=''" +echo -e "\n" +echo -e "Make sure you have connected all interfaces, check more by calling $ snap interfaces ${SNAP_NAME}" +echo -e "\n" +echo -e "${SNAP_NAME} has multiple services, to check status use systemctl" +echo -e "\t$ systemctl status snap.$SNAP_NAME.*" +echo -e "\n" +echo -e "To make backup of wekan's database use: $ ${SNAP_NAME}.database-backup [backup file]" +echo -e "\t backup file is optional parameter, if not passed backup is created in directory:" +echo -e "\t\t${SNAP_COMMON}/db-backups" +echo -e "To list existing backups in default directory: $ ${SNAP_NAME}.database-list-backups" +echo -e "To restore wekan's database use: ${SNAP_NAME}.database-restore " +echo -e "\n" +echo -e "wekan can be configured to share mongodb with other services using content interface" +echo -e "\t-sharing mongodb from $SNAP_NAME to other snap(s):" +echo -e "\t\t-connect mongodb-slot with plug from corresponding snap(s)" +echo -e "\t\t-configure corresponding service to use mongodb unix socket in shared directory, socket file name is: mongodb-$MONGODB_PORT.sock" +echo -e "\t-sharing mongodb from other snap to $SNAP_NAME:" +echo -e "\t\t-connect mongodb-plug with slot from snap providing mongodb" +echo -e "\t\t-disable mongodb in $SNAP_NAME by calling: $ snap set $SNAP_NAME set disable-mongodb='true'" +echo -e "\t\t-set mongodb-bind-unix-socket to point to serving mongodb. Use relative path inside shared directory, e.g run/mongodb-27017.sock" +echo -e "\n" +echo -e "To enable the API of wekan:" +echo -e "\t$ snap set $SNAP_NAME with-api='true'" +echo -e "\t-Disable the API:" +echo -e "\t$ snap set $SNAP_NAME with-api='false'" +echo -e "\n" +echo -e "Accounts lockout known users failures before, greater than 0. Default: 3" +echo -e "\t$ snap set $SNAP_NAME accounts-lockout-known-users-failures-before='3'" +echo -e "\n" +echo -e "Accounts lockout know users period, in seconds. Default: 60" +echo -e "\t$ snap set $SNAP_NAME accounts-lockout-known-users-period='60'" +echo -e "\n" +echo -e "Accounts lockout unknown failure window, in seconds. Default: 15" +echo -e "\t$ snap set $SNAP_NAME accounts-lockout-known-users-failure-window='15'" +echo -e "\n" +echo -e "Accounts lockout unknown users failures before, greater than 0. Default: 3" +echo -e "\t$ snap set $SNAP_NAME accounts-lockout-unknown-users-failures-before='3'" +echo -e "\n" +echo -e "Accounts lockout unknown users lockout period, in seconds. Default: 60" +echo -e "\t$ snap set $SNAP_NAME accounts-lockout-unknown-users-lockout-period='60'" +echo -e "\n" +echo -e "Accounts lockout unknown users failure window, in seconds. Default: 15" +echo -e "\t$ snap set $SNAP_NAME accounts-lockout-unknown-users-failure-window='15'" +echo -e "\n" +echo -e "Rich text editor in card comments. Default: false https://github.com/wekan/wekan/pull/2560" +echo -e "Default:" +echo -e "\t$ snap set $SNAP_NAME richer-card-comment-editor='true'" +echo -e "Disabled:" +echo -e "\t$ snap set $SNAP_NAME richer-card-comment-editor='false'" +echo -e "\n" +echo -e "Mousewheel scroll inertia. Default: 0. https://github.com/wekan/wekan/issues/2949" +echo -e "Enable:" +echo -e "\t$ snap set $SNAP_NAME scrollinertia='950'" +echo -e "Disable, default:" +echo -e "\t$ snap set $SNAP_NAME scrollinertia='0'" +echo -e "\n" +echo -e "Mousewheel scroll amount. Default: 'auto'. Allowed: 'auto' or Integer number. https://github.com/wekan/wekan/issues/2949" +echo -e "Enable:" +echo -e "\t$ snap set $SNAP_NAME scrollamount='950'" +echo -e "Disable, default:" +echo -e "\t$ snap set $SNAP_NAME scrollamount='auto'" +echo -e "\n" +echo -e "Mousewheel scroll deltafactor. Default: 'auto'. Allowed: 'auto' or Integer number. https://github.com/wekan/wekan/issues/2949" +echo -e "Enable:" +echo -e "\t$ snap set $SNAP_NAME scrolldeltafactor='950'" +echo -e "Disable, default:" +echo -e "\t$ snap set $SNAP_NAME scrolldeltafactor='auto'" +echo -e "\n" +echo -e "Card opened, send webhook message. Default: false https://github.com/wekan/wekan/issues/2518" +echo -e "Enable:" +echo -e "\t$ snap set $SNAP_NAME card-opened-webhook-enabled='true'" +echo -e "Disable, default:" +echo -e "\t$ snap set $SNAP_NAME card-opened-webhook-enabled='false'" +echo -e "\n" +echo -e "Max image pixel: Allow to shrink attached/pasted image https://github.com/wekan/wekan/pull/2544" +echo -e "Example:" +echo -e "\t$ snap set $SNAP_NAME max-image-pixel='1024'" +echo -e "Disabled:" +echo -e "\t$ snap set $SNAP_NAME max-image-pixel=''" +echo -e "\n" +echo -e "Image compress ratio: Allow to shrink attached/pasted image https://github.com/wekan/wekan/pull/2544" +echo -e "Example:" +echo -e "\t$ snap set $SNAP_NAME image-compress-ratio='80'" +echo -e "Disabled:" +echo -e "\t$ snap set $SNAP_NAME image-compress-ratio=''" +echo -e "\n" +echo -e "Allow to set attachment upload into specified server location. Create that directory first. https://github.com/wekan/wekan/pull/2603" +echo -e "Example:" +echo -e "\t$ snap set $SNAP_NAME attachments-store-path='/var/snap/wekan/common/attachments'" +echo -e "Disabled:" +echo -e "\t$ snap set $SNAP_NAME attachments-store-path=''" +echo -e "\n" +echo -e "NOTIFICATION TRAY AFTER READ DAYS BEFORE REMOVE https://github.com/wekan/wekan/pull/2998" +echo -e "Number of days after a notification is read before we remove it. Default: 2." +echo -e "Default:" +echo -e "\t$ snap set $SNAP_NAME notification-tray-after-read-days-before-remove='2'" +echo -e "\n" +echo -e "BIGEVENTS DUE ETC NOTIFICATIONS https://github.com/wekan/wekan/pull/2541" +echo -e "Big events pattern: Notify always due etc regardless of notification settings. Default: due, All: received|start|due|end, Disabled: NONE" +echo -e "Default:" +echo -e "\t$ snap set $SNAP_NAME bigevents-pattern='due'" +echo -e "All:" +echo -e "\t$ snap set $SNAP_NAME bigevents-pattern='received|start|due|end'" +echo -e "Disabled:" +echo -e "\t$ snap set $SNAP_NAME bigevents-pattern='NONE'" +echo -e "\n" +echo -e "EMAIL DUE DATE NOTIFICATION https://github.com/wekan/wekan/pull/2536" +echo -e "System timelines will be showing any user modification for dueat startat endat receivedat, also notification to the watchers and if any card is due, about due or past due." +echo -e "Notify due days, number less than 15 or negative number accepted, you can specify multiple days delimited by ','. Default: NONE" +echo -e "To enable different Notify for Due Days on 2 days before, and on the event day " +echo -e "\t$ snap set $SNAP_NAME notify-due-days-before-and-after='2,0'" +echo -e "\t-Disable Notifying for Due Days:" +echo -e "\t$ snap set $SNAP_NAME notify-due-days-before-and-after=''" +echo -e "\n" +echo -e "Notify due at hour of day. Default every morning at 8am. Can be 0-23." +echo -e "If env variable has parsing error, use default. Notification sent to watchers." +echo -e "To enable different Notify Due At Hour Of Day than default 8:" +echo -e "\t$ snap set $SNAP_NAME notify-due-at-hour-of-day='10'" +echo -e "\t-To set back default 8 of Notify Due at Hour of Day:" +echo -e "\t$ snap set $SNAP_NAME notify-due-at-hour-of-day=''" +echo -e "\n" +echo -e "To enable the Email Notification Timeout of wekan in ms, default 30000 (=30s):" +echo -e "\t$ snap set $SNAP_NAME email-notification-timeout='10000'" +echo -e "\t-Disable the Email Notification Timeout of Wekan:" +echo -e "\t$ snap set $SNAP_NAME email-notification-timeout='30000'" +echo -e "\n" +echo -e "To enable the CORS of wekan, to set Access-Control-Allow-Origin header:" +echo -e "\t$ snap set $SNAP_NAME cors='*'" +echo -e "\t-Disable the CORS:" +echo -e "\t$ snap set $SNAP_NAME cors=''" +echo -e "\n" +echo -e "To enable the Set Access-Control-Allow-Headers header. \"Authorization,Content-Type\" is required for cross-origin use of the API." +echo -e "\t$ snap set $SNAP_NAME cors-allow-headers='Authorization,Content-Type'" +echo -e "\t-Disable the Set Access-Control-Allow-Headers header. \"Authorization,Content-Type\" is required for cross-origin use of the API." +echo -e "\t$ snap set $SNAP_NAME cors-allow-headers=''" +echo -e "\n" +echo -e "To enable the Set Access-Control-Expose-Headers header. This is not needed for typical CORS situations. Example: *" +echo -e "\t$ snap set $SNAP_NAME cors-expose-headers='*'" +echo -e "\t-Disable the Set Access-Control-Expose-Headers header. This is not needed for typical CORS situations. Example: ''" +echo -e "\t$ snap set $SNAP_NAME cors-expose-headers=''" +echo -e "\n" +echo -e "Enable browser policy and allow one trusted URL that can have iframe that has Wekan embedded inside." +echo -e "\t\t Setting this to false is not recommended, it also disables all other browser policy protections" +echo -e "\t\t and allows all iframing etc. See wekan/server/policy.js" +echo -e "To enable the Browser Policy of Wekan:" +echo -e "\t$ snap set $SNAP_NAME browser-policy-enabled='true'" +echo -e "\t-Disable the Browser Policy of Wekan:" +echo -e "\t$ snap set $SNAP_NAME browser-policy-enabled='false'" +echo -e "\n" +echo -e "When browser policy is enabled, HTML code at this URL can have iframe that embeds Wekan inside." +echo -e "To enable the Trusted URL of Wekan:" +echo -e "\t$ snap set $SNAP_NAME trusted-url='https://example.com'" +echo -e "\t-Disable the Trusted URL of Wekan:" +echo -e "\t$ snap set $SNAP_NAME trusted-url=''" +echo -e "\n" +echo -e "What to send to Outgoing Webhook, or leave out. Example, that includes all that are default: cardId,listId,oldListId,boardId,comment,user,card,commentId ." +echo -e "To enable the Webhooks Attributes of Wekan:" +echo -e "\t$ snap set $SNAP_NAME webhooks-attributes='cardId,listId,oldListId,boardId,comment,user,card,commentId'" +echo -e "\t-Disable the Webhooks Attributes of Wekan to send all default ones:" +echo -e "\t$ snap set $SNAP_NAME webhooks-attributes=''" +echo -e "\n" +echo -e "OAuth2 Client ID." +echo -e "To enable the OAuth2 Client ID of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-client-id='54321abcde'" +echo -e "\t-Disable the OAuth2 Client ID of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-client-id=''" +echo -e "\n" +echo -e "OAuth2 login style: popup or redirect. Default: redirect" +echo -e "To enable the OAuth2 login style popup of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-login-style='popup'" +echo -e "\t-Disable the OAuth2 login style popup of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-login-style='redirect'" +echo -e "\n" +echo -e "OAuth2 Secret." +echo -e "To enable the OAuth2 Secret of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-secret='54321abcde'" +echo -e "\t-Disable the OAuth2 Secret of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-secret=''" +echo -e "\n" +echo -e "OAuth2 Server URL." +echo -e "To enable the OAuth2 Server URL of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-server-url='https://chat.example.com'" +echo -e "\t-Disable the OAuth2 Server URL of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-server-url=''" +echo -e "\n" +echo -e "OAuth2 Authorization Endpoint." +echo -e "To enable the OAuth2 Authorization Endpoint of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-auth-endpoint='/oauth/authorize'" +echo -e "\t-Disable the OAuth2 Authorization Endpoint of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-auth-endpoint=''" +echo -e "\n" +echo -e "OAuth2 Userinfo Endpoint." +echo -e "To enable the OAuth2 Userinfo Endpoint of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-userinfo-endpoint='/oauth/authorize'" +echo -e "\t-Disable the OAuth2 Userinfo Endpoint of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-userinfo-endpoint=''" +echo -e "\n" +echo -e "OAuth2 Token Endpoint." +echo -e "To enable the OAuth2 Token Endpoint of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-token-endpoint='/oauth/token'" +echo -e "\t-Disable the OAuth2 Token Endpoint of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-token-endpoint=''" +echo -e "\n" +echo -e "OAuth2 ID Token Whitelist Fields." +echo -e "To enable the OAuth2 ID Token Whitelist Fields of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-id-token-whitelist-fields=[]" +echo -e "\t-Disable the OAuth2 ID Token Whitelist Fields of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-id-token-whitelist-fields=''" +echo -e "\n" +echo -e "OAuth2 Request Permissions." +echo -e "To enable the OAuth2 Request Permissions of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-request-permissions=\"'openid profile email'\"" +echo -e "\t-Disable the OAuth2 Request Permissions of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-request-permissions=''" +echo -e "\n" +echo -e "OAuth2 ID Mapping." +echo -e "To enable the OAuth2 ID Mapping of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-id-map='username.uid'" +echo -e "\t-Disable the OAuth2 ID Mapping of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-id-map=''" +echo -e "\n" +echo -e "OAuth2 Username Mapping." +echo -e "To enable the OAuth2 Username Mapping of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-username-map='username'" +echo -e "\t-Disable the OAuth2 Username Mapping of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-username-map=''" +echo -e "\n" +echo -e "OAuth2 Fullname Mapping." +echo -e "To enable the OAuth2 Fullname Mapping of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-fullname-map='fullname'" +echo -e "\t-Disable the OAuth2 Fullname Mapping of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-fullname-map=''" +echo -e "\n" +echo -e "OAuth2 Email Mapping." +echo -e "To enable the OAuth2 Email Mapping of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-email-map='email'" +echo -e "\t-Disable the OAuth2 Email Mapping of Wekan:" +echo -e "\t$ snap set $SNAP_NAME oauth2-email-map=''" +echo -e "\n" +echo -e "Ldap Enable." +echo -e "To enable the ldap of Wekan:" +echo -e "\t$ snap set $SNAP_NAME ldap-enable='true'" +echo -e "\t-Disable the ldap of Wekan:" +echo -e "\t$ snap set $SNAP_NAME ldap-enable='false'" +echo -e "\n" +echo -e "Ldap Port." +echo -e "The port of the ldap server:" +echo -e "\t$ snap set $SNAP_NAME ldap-port='12345'" +echo -e "\n" +echo -e "Ldap Host." +echo -e "The host server for the LDAP server:" +echo -e "\t$ snap set $SNAP_NAME ldap-host='localhost'" +echo -e "\n" +echo -e "Ldap Base Dn." +echo -e "The base DN for the LDAP Tree:" +echo -e "\t$ snap set $SNAP_NAME ldap-basedn='ou=user,dc=example,dc=org'" +echo -e "\n" +echo -e "Ldap Login Fallback." +echo -e "Fallback on the default authentication method:" +echo -e "\t$ snap set $SNAP_NAME ldap-login-fallback='true'" +echo -e "\n" +echo -e "Ldap Reconnect." +echo -e "Reconnect to the server if the connection is lost:" +echo -e "\t$ snap set $SNAP_NAME ldap-reconnect='false'" +echo -e "\n" +echo -e "Ldap Timeout." +echo -e "Overall timeout, in milliseconds:" +echo -e "\t$ snap set $SNAP_NAME ldap-timeout='12345'" +echo -e "\n" +echo -e "Ldap Idle Timeout." +echo -e "Specifies the timeout for idle LDAP connections in milliseconds:" +echo -e "\t$ snap set $SNAP_NAME ldap-idle-timeout='12345'" +echo -e "\n" +echo -e "Ldap Connect Timeout." +echo -e "Connection timeout, in milliseconds:" +echo -e "\t$ snap set $SNAP_NAME ldap-connect-timeout='12345'" +echo -e "\n" +echo -e "Ldap Authentication." +echo -e "If the LDAP needs a user account to search:" +echo -e "\t$ snap set $SNAP_NAME ldap-authentication='true'" +echo -e "\n" +echo -e "Ldap Authentication User Dn." +echo -e "The search user Dn, 2 examples:" +echo -e "\t$ snap set $SNAP_NAME ldap-authentication-userdn='CN=ldap admin,CN=users,DC=domainmatter,DC=lan'" +echo -e "\t$ snap set $SNAP_NAME ldap-authentication-userdn='CN=wekan_adm,OU=serviceaccounts,OU=admin,OU=prod,DC=mydomain,DC=com'" +echo -e "\n" +echo -e "Ldap Authentication Password." +echo -e "The password for the search user:" +echo -e "\t$ snap set $SNAP_NAME ldap-authentication-password='admin'" +echo -e "\n" +echo -e "Ldap Log Enabled." +echo -e "Enable logs for the module:" +echo -e "\t$ snap set $SNAP_NAME ldap-log-enabled='true'" +echo -e "\n" +echo -e "Ldap Background Sync." +echo -e "If the sync of the users should be done in the background:" +echo -e "\t$ snap set $SNAP_NAME ldap-background-sync='true'" +echo -e "\n" +echo -e "Ldap Background Sync Interval." +echo -e "At which interval does the background task sync." +echo -e "The format must be as specified in: https://bunkat.github.io/later/parsers.html#text" +echo -e "Default is empty '' that is same as 'every 1 hour'" +echo -e "\t$ snap set $SNAP_NAME ldap-background-sync-interval='every 1 hour'" +echo -e "\n" +echo -e "Ldap Background Sync Keep Existant Users Updated." +echo -e "\t$ snap set $SNAP_NAME ldap-background-sync-keep-existant-users-updated='true'" +echo -e "\n" +echo -e "Ldap Background Sync Import New Users." +echo -e "\t$ snap set $SNAP_NAME ldap-background-sync-import-new-users='true'" +echo -e "\n" +echo -e "Ldap Encryption." +echo -e "Allow LDAPS:" +echo -e "\t$ snap set $SNAP_NAME ldap-encryption='ssl'" +echo -e "\n" +echo -e "Ldap Ca Cert." +echo -e "The certification for the LDAPS server:" +echo -e "\t$ snap set $SNAP_NAME ldap-ca-cert=-----BEGIN CERTIFICATE-----MIIE+zCCA+OgAwIBAgIkAhwR/6TVLmdRY6hHxvUFWc0+Enmu/Hu6cj+G2FIdAgIC...-----END CERTIFICATE-----" +echo -e "\n" +echo -e "Ldap Reject Unauthorized." +echo -e "Reject Unauthorized Certificate:" +echo -e "\t$ snap set $SNAP_NAME ldap-reject-unauthorized='true'" +echo -e "\n" +echo -e "Option to login to the LDAP server with the user's own username and password, instead of an administrator key. Default: false (use administrator key)." +echo -e "\t$ snap set $SNAP_NAME ldap-user-authentication='true'" +echo -e "\n" +echo -e "Which field is used to find the user for the user authentication. Default: uid." +echo -e "\t$ snap set $SNAP_NAME ldap-user-authentication-field='uid'" +echo -e "\n" +echo -e "Ldap User Search Filter." +echo -e "Optional extra LDAP filters. Don't forget the outmost enclosing parentheses if needed:" +echo -e "\t$ snap set $SNAP_NAME ldap-user-search-filter=''" +echo -e "\n" +echo -e "Ldap User Search Scope." +echo -e "base (search only in the provided DN), one (search only in the provided DN and one level deep), or sub (search the whole subtree). Example: one" +echo -e "\t$ snap set $SNAP_NAME ldap-user-search-scope=one" +echo -e "\n" +echo -e "Ldap User Search Field." +echo -e "Which field is used to find the user:" +echo -e "\t$ snap set $SNAP_NAME ldap-user-search-field='uid'" +echo -e "\n" +echo -e "Ldap Search Page Size." +echo -e "Used for pagination (0=unlimited):" +echo -e "\t$ snap set $SNAP_NAME ldap-search-page-size='12345'" +echo -e "\n" +echo -e "Ldap Search Size Limit." +echo -e "The limit number of entries (0=unlimited):" +echo -e "\t$ snap set $SNAP_NAME ldap-search-size-limit='12345'" +echo -e "\n" +echo -e "Ldap Group Filter Enable. Note the authenticated ldap user must be able to query all relevant group data with own login data from ldap." +echo -e "Enable group filtering:" +echo -e "\t$ snap set $SNAP_NAME ldap-group-filter-enable='true'" +echo -e "\n" +echo -e "Ldap Group Filter ObjectClass." +echo -e "The object class for filtering:" +echo -e "\t$ snap set $SNAP_NAME ldap-group-filter-objectclass='group'" +echo -e "\n" +echo -e "Ldap Group Filter Id Attribute." +echo -e "\t$ snap set $SNAP_NAME ldap-group-filter-group-id-attribute=''" +echo -e "\n" +echo -e "Ldap Group Filter Member Attribute." +echo -e "\t$ snap set $SNAP_NAME ldap-group-filter-group-member-attribute=''" +echo -e "\n" +echo -e "Ldap Group Filter Member Format." +echo -e "\t$ snap set $SNAP_NAME ldap-group-filter-group-member-format=''" +echo -e "\n" +echo -e "Ldap Group Filter Group Name." +echo -e "\t$ snap set $SNAP_NAME ldap-group-filter-group-name=''" +echo -e "\n" +echo -e "Ldap Unique Identifier Field." +echo -e "This field is sometimes class GUID (Globally Unique Identifier):" +echo -e "\t$ snap set $SNAP_NAME ldap-unique-identifier-field=guid" +echo -e "\n" +echo -e "Ldap Utf8 Names Slugify." +echo -e "Convert the username to utf8:" +echo -e "\t$ snap set $SNAP_NAME ldap-utf8-names-slugify='false'" +echo -e "\n" +echo -e "Ldap Username Field." +echo -e "Which field contains the ldap username:" +echo -e "\t$ snap set $SNAP_NAME ldap-username-field='username'" +echo -e "\n" +echo -e "Ldap Fullname Field." +echo -e "Which field contains the ldap fullname:" +echo -e "\t$ snap set $SNAP_NAME ldap-fullname-field='fullname'" +echo -e "\n" +echo -e "Ldap Merge Existing Users." +echo -e "\t$ snap set $SNAP_NAME ldap-merge-existing-users='true'" +echo -e "\n" +echo -e "Ldap Email Match Enable." +echo -e "\t$ snap set $SNAP_NAME ldap-email-match-enable='true'" +echo -e "\n" +echo -e "Ldap Email Match Require." +echo -e "\t$ snap set $SNAP_NAME ldap-email-match-require='true'" +echo -e "\n" +echo -e "Ldap Email Match Verified." +echo -e "\t$ snap set $SNAP_NAME ldap-email-match-verfied='false'" +echo -e "\n" +echo -e "Ldap Fullname Field." +echo -e "Which field contains the ldap email address:" +echo -e "\t$ snap set $SNAP_NAME ldap-fullname-field='fullname'" +echo -e "\n" +echo -e "Ldap Sync User Data." +echo -e "Enable synchronization of user data:" +echo -e "\t$ snap set $SNAP_NAME ldap-sync-user-data='true'" +echo -e "\n" +echo -e "Ldap Sync User Data Fieldmap." +echo -e "A field map for the matching:" +echo -e "\t$ snap set $SNAP_NAME ldap-sync-user-data-fieldmap={\"cn\":\"name\", \"mail\":\"email\"}" +echo -e "\n" +echo -e "Ldap Sync Group Roles." +echo -e "\t$ snap set $SNAP_NAME ldap-sync-group-roles=''" +echo -e "\n" +echo -e "Ldap Default Domain." +echo -e "The default domain of the ldap it is used to create email if the field is not map correctly with the LDAP_SYNC_USER_DATA_FIELDMAP:" +echo -e "\t$ snap set $SNAP_NAME ldap-default-domain=''" +echo -e "\n" +echo -e "Enable/Disable syncing of admin status based on LDAP groups." +echo -e "\t$ snap set $SNAP_NAME ldap-sync-admin-status='true'" +echo -e "\n" +echo -e "Comma separated list of admin group names to sync." +echo -e "\t$ snap set $SNAP_NAME ldap-sync-admin-groups='group1,group2'" +echo -e "\n" +echo -e "Logout with timer." +echo -e "Enable or not the option that allows to disconnect an user after a given time:" +echo -e "\t$ snap set $SNAP_NAME logout-with-timer='true'" +echo -e "\n" +echo -e "Login to LDAP automatically with HTTP header." +echo -e "In below example for siteminder, at right side of = is header name." +echo -e "\t$ snap set $SNAP_NAME header-login-id='HEADERUID'" +echo -e "\t$ snap set $SNAP_NAME header-login-firstname='HEADERFIRSTNAME'" +echo -e "\t$ snap set $SNAP_NAME header-login-lastname='HEADERLASTNAME'" +echo -e "\t$ snap set $SNAP_NAME header-login-email='HEADEREMAILADDRESS'" +echo -e "\n" +echo -e "Logout in." +echo -e "Logout in how many days:" +echo -e "\t$ snap set $SNAP_NAME logout-in='1'" +echo -e "\n" +echo -e "Logout on hours." +echo -e "Logout in how many hours:" +echo -e "\t$ snap set $SNAP_NAME logout-on-hours='9'" +echo -e "\n" +echo -e "Logout on minutes." +echo -e "Logout in how many minutes:" +echo -e "\t$ snap set $SNAP_NAME logout-on-minutes='5'" +echo -e "\n" +echo -e "Default authentication method." +echo -e "The default authentication method used if a user does not exist to create and authenticate. Method can be password or ldap." +echo -e "\t$ snap set $SNAP_NAME default-authentication-method='ldap'" +echo -e "\n" +echo -e "Enable or not password login Form" +echo -e "\t$ snap set $SNAP_NAME password-login-enabled='false'" +echo -e "\n" +# parse config file for supported settings keys +echo -e "wekan supports settings keys" +echo -e "values can be changed by calling\n$ snap set $SNAP_NAME =''" +echo -e "list of supported keys:" +for key in ${keys[@]} +do + default_value="DEFAULT_$key" + description="DESCRIPTION_$key" + snappy_key="KEY_$key" + echo -e "\t${!snappy_key}: ${!description}" + if [ "x" == "x${!key}" ]; then + echo -e "\t\tNo value set, using default value: '${!default_value}'" + else + echo -e "\t\tCurrent value set to: '${!key}', (default value: '${!default_value}')" + fi +done + +echo -e "\n!!!! Some changes result in restart of some or all services, use with caution !!!!!" diff --git a/snap-src/bin/wekan-read-settings b/snap-src/bin/wekan-read-settings new file mode 100755 index 0000000..236667e --- /dev/null +++ b/snap-src/bin/wekan-read-settings @@ -0,0 +1,29 @@ +#!/bin/sh + +# read wekan config +source $SNAP/bin/config + + +for key in ${keys[@]} +do + default_value="DEFAULT_$key" + description="DESCRIPTION_$key" + snappy_key="KEY_$key" + value=$(snapctl get ${!snappy_key}) + if [ "x$value" == "x" ]; then + echo -e "$key=${!default_value} (default value)" + export $key="${!default_value}" + else + echo -e "$key=$value" + export $key="$value" + fi +done + +# if caddy is enabled, do update port settings based on caddy file +if [ "$CADDY_ENABLED" = "true" ]; then + echo "caddy is enabled, adjusting ports" + export CADDY_PORT=${PORT} + echo -e "CADDY_PORT=$CADDY_PORT" + export PORT=${CADDY_BIND_PORT} + echo -e "PORT=$PORT" +fi diff --git a/snap/gui/icon.png b/snap/gui/icon.png new file mode 100644 index 0000000..1382e25 Binary files /dev/null and b/snap/gui/icon.png differ diff --git a/snap/hooks/configure b/snap/hooks/configure new file mode 100755 index 0000000..f2f4cda --- /dev/null +++ b/snap/hooks/configure @@ -0,0 +1,35 @@ +#!/bin/bash + +exec >> $SNAP_DATA/hook.log 2>&1 +echo "$(date '+%Y-%m-%d %H:%M:%S') $0: Entering hook" + +set -x + +# read wekan config +. $SNAP/bin/config + +# settings were altered by user, safest way to get them applied is to restart service +# first check if caddy service is enabled +value=$(snapctl get caddy-enabled) +if [ "$value" = "true" ]; then + # update caddy file + bind_port=$(snapctl get caddy-bind-port) + port=$(snapctl get port) + [ "x" != "x${bind_port}" ] && sed -i 's|proxy / localhost:.* {|proxy / localhost:'"${bind_port}"' {|g' $SNAP_COMMON/Caddyfile + [ "x" != "x$port" ] && sed -i 's|http://:.*|http://:'"${port}"'|g' $SNAP_COMMON/Caddyfile + snapctl start --enable ${SNAP_NAME}.caddy 2>&1 || true + snapctl restart ${SNAP_NAME}.caddy 2>&1 || true +else + snapctl stop --disable ${SNAP_NAME}.caddy 2>&1 || true +fi + +value=$(snapctl get disable-mongodb) +if [ "$value" = "true" ]; then + snapctl stop --disable ${SNAP_NAME}.mongodb 2>&1 || true +else + snapctl start --enable ${SNAP_NAME}.mongodb 2>&1 || true + snapctl restart ${SNAP_NAME}.mongodb 2>&1 || true +fi + +# restart all services +snapctl restart ${SNAP_NAME}.wekan 2>&1 || true diff --git a/snap/hooks/install b/snap/hooks/install new file mode 100755 index 0000000..7bc908e --- /dev/null +++ b/snap/hooks/install @@ -0,0 +1,12 @@ +#!/bin/bash + +exec >> $SNAP_DATA/hook.log 2>&1 +echo "$(date '+%Y-%m-%d %H:%M:%S') $0: Entering hook" + +# coppy caddy file in place +[ ! -e $SNAP_COMMON/Caddyfile ] && cp $SNAP/Caddyfile $SNAP_COMMON/Caddyfile + +# create run dir, we're going to use it for unix socket +mkdir -p $SNAP_DATA/share +mkdir -p $SNAP_DATA/shared + diff --git a/snap/hooks/post-refresh b/snap/hooks/post-refresh new file mode 120000 index 0000000..f7ffc47 --- /dev/null +++ b/snap/hooks/post-refresh @@ -0,0 +1 @@ +install \ No newline at end of file diff --git a/snapcraft.yaml b/snapcraft.yaml new file mode 100644 index 0000000..6b828b9 --- /dev/null +++ b/snapcraft.yaml @@ -0,0 +1,267 @@ +name: wekan +version: 0 +version-script: git describe --tags | cut -c 2- +summary: The open-source kanban +description: | + Wekan is an open-source and collaborative kanban board application. + + Whether you’re maintaining a personal todo list, planning your holidays with some friends, or working in a team on your next revolutionary idea, Kanban boards are an unbeatable tool to keep your things organized. They give you a visual overview of the current state of your project, and make you productive by allowing you to focus on the few items that matter the most. + Depending on target environment, some configuration settings might need to be adjusted. + For full list of configuration options call: + $ wekan.help + +confinement: strict +grade: stable + +architectures: + - amd64 + +plugs: + mongodb-plug: + interface: content + target: $SNAP_DATA/shared + +hooks: + configure: + plugs: + - network + - network-bind + +slots: + mongodb-slot: + interface: content + write: + - $SNAP_DATA/share + +apps: + wekan: + command: wekan-control + daemon: simple + plugs: [network, network-bind] + + mongodb: + command: mongodb-control + daemon: simple + plugs: [network, network-bind] + + caddy: + command: caddy-control + daemon: simple + plugs: [network, network-bind] + + help: + command: wekan-help + + database-backup: + command: mongodb-backup + plugs: [network, network-bind] + + database-list-backups: + command: ls -al $SNAP_COMMON/db-backups/ + + database-restore: + command: mongodb-restore + plugs: [network, network-bind] + +parts: + mongodb: + source: https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1604-3.2.22.tgz + plugin: dump + stage-packages: [libssl1.0.0] + filesets: + mongo: + - usr + - bin + - lib + stage: + - $mongo + prime: + - $mongo + + wekan: + source: . + plugin: nodejs + node-engine: 12.18.3 + node-packages: + - node-gyp + - node-pre-gyp + - fibers + build-packages: + - ca-certificates + - apt-utils + - python +# - python3 + - g++ + - capnproto + - curl + - execstack + - nodejs + - npm + stage-packages: + - libfontconfig1 + override-build: | + echo "Cleaning environment first" + rm -rf ~/.meteor ~/.npm /usr/local/lib/node_modules + # Create the OpenAPI specification + rm -rf .build + ## Use Meteor 1.8.x on Snap + #rm -rf .meteor + #mv .snap-meteor-1.8/.meteor . + #mv .snap-meteor-1.8/package.json . + #mv .snap-meteor-1.8/package-lock.json . + ## Meteor 1.9.x has changes to Buffer() => Buffer.alloc(), so reverting those + #mv .snap-meteor-1.8/cfs_access-point.txt fix-download-unicode/ + #mv .snap-meteor-1.8/export.js models/ + #mv .snap-meteor-1.8/wekanCreator.js models/ + #mv .snap-meteor-1.8/ldap.js packages/wekan-ldap/server/ldap.js + #mv .snap-meteor-1.8/oidc_server.js packages/wekan-oidc/oidc_server.js + rm -rf .snap-meteor-1.8 + #mkdir -p .build/python + #cd .build/python + #git clone --depth 1 -b master https://github.com/Kronuz/esprima-python + #cd esprima-python + #python3 setup.py install + #cd ../../.. + #mkdir -p ./public/api + #python3 ./openapi/generate_openapi.py --release $(git describe --tags --abbrev=0) > ./public/api/wekan.yml + # we temporary need api2html and mkdirp + #npm install -g api2html@0.3.0 + #npm install -g mkdirp + #api2html -c ./public/logo-header.png -o ./public/api/wekan.html ./public/api/wekan.yml + #npm uninstall -g mkdirp + #npm uninstall -g api2html + # Node Fibers 100% CPU usage issue: + # https://github.com/wekan/wekan-mongodb/issues/2#issuecomment-381453161 + # https://github.com/meteor/meteor/issues/9796#issuecomment-381676326 + # https://github.com/sandstorm-io/sandstorm/blob/0f1fec013fe7208ed0fd97eb88b31b77e3c61f42/shell/server/00-startup.js#L99-L129 + # Also see beginning of wekan/server/authentication.js + # import Fiber from "fibers"; + # Fiber.poolSize = 1e9; + # OLD: Download node version 8.12.0 prerelease build => Official node 8.12.0 has been released + # Description at https://releases.wekan.team/node.txt + ##echo "375bd8db50b9c692c0bbba6e96d4114cd29bee3770f901c1ff2249d1038f1348 node" >> node-SHASUMS256.txt.asc + ##curl https://releases.wekan.team/node -o node + # Verify Fibers patched node authenticity + ##echo "Fibers 100% CPU issue patched node authenticity:" + ##grep node node-SHASUMS256.txt.asc | shasum -a 256 -c - + ##rm -f node-SHASUMS256.txt.asc + ##chmod +x node + ##mv node `which node` + # DOES NOT WORK: paxctl fix. + # Removed from build-packages: - paxctl + #echo "Applying paxctl fix for alpine linux: https://github.com/wekan/wekan/issues/1303" + #paxctl -mC `which node` + #echo "Installing npm" + #curl -L https://www.npmjs.com/install.sh | sh + echo "Installing meteor" + curl https://install.meteor.com/ -o install_meteor.sh + #sed -i "s|RELEASE=.*|RELEASE=\"1.8.1-beta.0\"|g" install_meteor.sh + chmod +x install_meteor.sh + sh install_meteor.sh + rm install_meteor.sh + # REPOS BELOW ARE INCLUDED TO WEKAN REPO + #if [ ! -d "packages" ]; then + # mkdir packages + #fi + #if [ ! -d "packages/kadira-flow-router" ]; then + # cd packages + # git clone --depth 1 -b master https://github.com/wekan/flow-router.git kadira-flow-router + # cd .. + #fi + #if [ ! -d "packages/meteor-useraccounts-core" ]; then + # cd packages + # git clone --depth 1 -b master https://github.com/meteor-useraccounts/core.git meteor-useraccounts-core + # sed -i 's/api\.versionsFrom/\/\/api.versionsFrom/' meteor-useraccounts-core/package.js + # cd .. + #fi + #if [ ! -d "packages/meteor-accounts-cas" ]; then + # cd packages + # git clone --depth 1 -b master https://github.com/wekan/meteor-accounts-cas.git meteor-accounts-cas + # cd .. + #fi + #if [ ! -d "packages/wekan-ldap" ]; then + # cd packages + # git clone --depth 1 -b master https://github.com/wekan/wekan-ldap.git + # cd .. + #fi + #if [ ! -d "packages/wekan-scrollbar" ]; then + # cd packages + # git clone --depth 1 -b master https://github.com/wekan/wekan-scrollbar.git + # cd .. + #fi + #if [ ! -d "packages/wekan_accounts-oidc" ]; then + # cd packages + # git clone --depth 1 -b master https://github.com/wekan/meteor-accounts-oidc.git + # mv meteor-accounts-oidc/packages/switch_accounts-oidc wekan-accounts-oidc + # mv meteor-accounts-oidc/packages/switch_oidc wekan-oidc + # rm -rf meteor-accounts-oidc + # cd .. + #fi + #if [ ! -d "packages/markdown" ]; then + # cd packages + # git clone --depth 1 -b master --recurse-submodules https://github.com/wekan/markdown.git + # cd .. + #fi + rm -rf .build + meteor add standard-minifier-js --allow-superuser + meteor npm install --allow-superuser + meteor npm install --allow-superuser --save babel-runtime + meteor build .build --directory --allow-superuser + cp -f fix-download-unicode/cfs_access-point.txt .build/bundle/programs/server/packages/cfs_access-point.js + #Removed binary version of bcrypt because of security vulnerability that is not fixed yet. + #https://github.com/wekan/wekan/commit/4b2010213907c61b0e0482ab55abb06f6a668eac + #https://github.com/wekan/wekan/commit/7eeabf14be3c63fae2226e561ef8a0c1390c8d3c + #cd .build/bundle/programs/server/npm/node_modules/meteor/npm-bcrypt + #rm -rf node_modules/bcrypt + #meteor npm install --save bcrypt + # Change from npm-bcrypt directory back to .build/bundle/programs/server directory. + #cd ../../../../ + # Remove legacy webbroser bundle, so that Wekan works also at Android Firefox, iOS Safari, etc. + rm -rf .build/bundle/programs/web.browser.legacy + # Change to directory .build/bundle/programs/server + cd .build/bundle/programs/server + npm install + npm install --allow-superuser --save babel-runtime + #meteor npm install --save bcrypt + # Change back to Wekan source directory + cd ../../../.. + cp -r .build/bundle/* $SNAPCRAFT_PART_INSTALL/ + cp .build/bundle/.node_version.txt $SNAPCRAFT_PART_INSTALL/ + rm -f $SNAPCRAFT_PART_INSTALL/lib/node_modules/wekan + rm -f $SNAPCRAFT_PART_INSTALL/programs/server/npm/node_modules/meteor/rajit_bootstrap3-datepicker/lib/bootstrap-datepicker/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs + rm -f $SNAPCRAFT_PART_INSTALL/programs/server/npm/node_modules/tar/lib/.mkdir.js.swp + rm -f $SNAPCRAFT_PART_INSTALL/lib/node_modules/node-pre-gyp/node_modules/tar/lib/.mkdir.js.swp + rm -f $SNAPCRAFT_PART_INSTALL/lib/node_modules/node-gyp/node_modules/tar/lib/.mkdir.js.swp + # Meteor 1.8.x additional .swp remove + rm -f $SNAPCRAFT_PART_INSTALL/programs/server/node_modules/node-pre-gyp/node_modules/tar/lib/.mkdir.js.swp + # ostrio tmp remove + rm -rf $SNAPCRAFT_PART_INSTALL/programs/server/npm/node_modules/meteor/ostrio_files/node_modules/request-libcurl/.node_modules-garbage* + + organize: + README: README.wekan + prime: + - -lib/node_modules/node-pre-gyp/node_modules/tar/lib/.unpack.js.swp + + helpers: + source: snap-src + plugin: dump + + caddy: + plugin: dump + ## Caddy v1 is not developed anymore. TODO: Sometime migrate to Caddy v2. + ## https://caddy.community/t/caddyfile-v1-adapter/9129 + ## https://github.com/caddyserver/caddy/tree/v1 + #source: https://caddyserver.com/download/linux/amd64?license=personal&telemetry=off + #source-type: tar + # Using last working binary that was downloaded from above URL to Wekan Snap, + # and .txt files from https://github.com/caddyserver/caddy/tree/v1/dist + source: https://releases.wekan.team/caddy/caddy-v1-linux-amd64.7z + source-type: 7z + organize: + caddy: bin/caddy + CHANGES.txt: CADDY_CHANGES.txt + EULA.txt: CADDY_EULA.txt + LICENSES.txt: CADDY_LICENSES.txt + README.txt: CADDY_README.txt + stage: + - -init diff --git a/stacksmith/user-scripts/boot.sh b/stacksmith/user-scripts/boot.sh new file mode 100755 index 0000000..bd95102 --- /dev/null +++ b/stacksmith/user-scripts/boot.sh @@ -0,0 +1,21 @@ +#!/bin/bash +set -euxo pipefail + +# This file will store the config env variables needed by the app +readonly CONF=/build/env.config + +# EMAIL_URL can also be set here by injecting another env variable in the template +# ROOT_URL can also be set at runtime, by querying AWS api or by using ingress annotations in the template for k8s. + +cat >"${CONF}" <<'EOF' +export MONGO_URL=mongodb://{{DATABASE_USER}}:{{DATABASE_PASSWORD}}@{{DATABASE_HOST}}:{{DATABASE_PORT}}/{{DATABASE_NAME}} +export ROOT_URL=http://localhost +export PORT=3000 +EOF + +sed -i -e "s/{{DATABASE_USER}}/${DATABASE_USER}/" "${CONF}" +sed -i -e "s/{{DATABASE_PASSWORD}}/${DATABASE_PASSWORD}/" "${CONF}" +sed -i -e "s/{{DATABASE_HOST}}/${DATABASE_HOST}/" "${CONF}" +sed -i -e "s/{{DATABASE_PORT}}/${DATABASE_PORT}/" "${CONF}" +sed -i -e "s/{{DATABASE_NAME}}/${DATABASE_NAME}/" "${CONF}" + diff --git a/stacksmith/user-scripts/build.sh b/stacksmith/user-scripts/build.sh new file mode 100755 index 0000000..4d57bb2 --- /dev/null +++ b/stacksmith/user-scripts/build.sh @@ -0,0 +1,87 @@ +#!/bin/bash +set -euxo pipefail + +BUILD_DEPS="bsdtar gnupg wget curl bzip2 python git ca-certificates perl-Digest-SHA" +NODE_VERSION=v12.18.2 +#METEOR_RELEASE=1.6.0.1 - for Stacksmith, meteor-1.8 branch that could have METEOR@1.8.1-beta.8 or newer +USE_EDGE=false +METEOR_EDGE=1.5-beta.17 +NPM_VERSION=latest +FIBERS_VERSION=4.0.1 +ARCHITECTURE=linux-x64 + +sudo yum groupinstall -y 'Development Tools' +sudo yum install -y http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-2.noarch.rpm +sudo yum install -y git + +sudo useradd --user-group --system --home-dir /home/wekan wekan +sudo mkdir -p /home/wekan +sudo chown wekan:wekan /home/wekan/ + +# master branch that has newer Meteor that is compatible with MongoDB 4.x +sudo -u wekan git clone -b master https://github.com/wekan/wekan.git /home/wekan/app + +sudo yum install -y ${BUILD_DEPS} + +# Meteor installer doesn't work with the default tar binary, so using bsdtar while installing. +# https://github.com/coreos/bugs/issues/1095#issuecomment-350574389 +sudo cp $(which tar) $(which tar)~ +sudo ln -sf $(which bsdtar) $(which tar) + +# Install nodejs +wget https://nodejs.org/dist/${NODE_VERSION}/node-${NODE_VERSION}-${ARCHITECTURE}.tar.gz +wget https://nodejs.org/dist/${NODE_VERSION}/SHASUMS256.txt.asc + +grep ${NODE_VERSION}-${ARCHITECTURE}.tar.gz SHASUMS256.txt.asc | shasum -a 256 -c - + +tar xvzf node-${NODE_VERSION}-${ARCHITECTURE}.tar.gz +rm node-${NODE_VERSION}-${ARCHITECTURE}.tar.gz +sudo mv node-${NODE_VERSION}-${ARCHITECTURE} /opt/nodejs +sudo rm -f /usr/bin/node +sudo rm -f /usr/bin/npm +sudo ln -s /opt/nodejs/bin/node /usr/bin/node || true +sudo ln -s /opt/nodejs/bin/npm /usr/bin/npm || true + +sudo npm install -g npm@${NPM_VERSION} +sudo npm install -g node-gyp +sudo npm install -g --unsafe-perm fibers@${FIBERS_VERSION} + +cd /home/wekan + +#install meteor +sudo curl "https://install.meteor.com" -o /home/wekan/install_meteor.sh +sudo chmod +x /home/wekan/install_meteor.sh +sudo sed -i 's/VERBOSITY="--silent"/VERBOSITY="--progress-bar"/' ./install_meteor.sh +echo "Starting installation of " +sudo cat /home/wekan/app/.meteor/release +echo " ...\n" + +# Check if opting for a release candidate instead of major release +if [ "$USE_EDGE" = false ]; then + sudo su -c '/home/wekan/install_meteor.sh' - wekan +else + sudo -u wekan git clone --recursive --depth 1 -b release/METEOR@${METEOR_EDGE} https://github.com/meteor/meteor.git /home/wekan/.meteor; +fi; + +sudo sed -i 's/api\.versionsFrom/\/\/api.versionsFrom/' /home/wekan/app/packages/meteor-useraccounts-core/package.js +sudo -u wekan /home/wekan/.meteor/meteor -- help + +# Build app +cd /home/wekan/app +meteor=/home/wekan/.meteor/meteor +#sudo -u wekan ${meteor} add standard-minifier-js +sudo -u wekan ${meteor} npm install +sudo -u wekan ${meteor} build --directory /home/wekan/app_build +sudo cp /home/wekan/app/fix-download-unicode/cfs_access-point.txt /home/wekan/app_build/bundle/programs/server/packages/cfs_access-point.js +sudo chown wekan:wekan /home/wekan/app_build/bundle/programs/server/packages/cfs_access-point.js +sudo rm /home/wekan/app_build/bundle/programs/server/npm/node_modules/meteor/rajit_bootstrap3-datepicker/lib/bootstrap-datepicker/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs +# Remove legacy webbroser bundle, so that Wekan works also at Android Firefox, iOS Safari, etc. +rm -rf /home/wekan/app_build/bundle/programs/web.browser.legacy +cd /home/wekan/app_build/bundle/programs/server/ +sudo npm install +sudo chown -R wekan:wekan ./node_modules + +#cd /home/wekan/app_build/bundle +#find . -name "*phantomjs*" | sudo xargs rm -rf + +sudo mv /home/wekan/app_build/bundle /build diff --git a/stacksmith/user-scripts/run.sh b/stacksmith/user-scripts/run.sh new file mode 100755 index 0000000..2aea7ea --- /dev/null +++ b/stacksmith/user-scripts/run.sh @@ -0,0 +1,20 @@ +#!/bin/bash +set -euo pipefail + +readonly CONF=/build/env.config + +source ${CONF} + +# wait for DB +check_db() { + mongo $MONGO_URL --eval "db.runCommand( { connectionStatus: 1} )" --quiet | python -c 'import json,sys;obj=json.load(sys.stdin);code = 0 if obj["ok"]==1 else 1; sys.exit(code);' +} +until check_db; do + period=5 + echo "Cannot connect to db, waiting ${period} seconds before trying again..." + sleep ${period} +done + +cd /build +echo "starting the wekan service..." +node main.js diff --git a/start-wekan.bat b/start-wekan.bat new file mode 100644 index 0000000..c87d677 --- /dev/null +++ b/start-wekan.bat @@ -0,0 +1,396 @@ +@ECHO OFF + +REM ------------------------------------------------------------ + +REM # Debug OIDC OAuth2 etc. +REM SET DEBUG=true + +REM ------------------------------------------------------------ + +SET ROOT_URL=http://localhost +SET PORT=80 +SET MONGO_URL=mongodb://127.0.0.1:27017/wekan + +REM https://github.com/wekan/wekan/wiki/Troubleshooting-Mail +REM SET MAIL_URL=smtps://username:password@email-smtp.eu-west-1.amazonaws.com:587/ +REM SET MAIL_FROM="Wekan Boards " + +REM # If you disable Wekan API with false, Export Board does not work. +SET WITH_API=true + +REM # ==== RICH TEXT EDITOR IN CARD COMMENTS ==== +REM # https://github.com/wekan/wekan/pull/2560 +SET RICHER_CARD_COMMENT_EDITOR=false + +REM # ==== MOUSE SCROLL ==== +REM # https://github.com/wekan/wekan/issues/2949 +SET SCROLLINERTIA=0 +SET SCROLLAMOUNT=auto +SET SCROLLDELTAFACTOR=auto + +REM # ==== CARD OPENED, SEND WEBHOOK MESSAGE ==== +SET CARD_OPENED_WEBHOOK_ENABLED=false + +REM # ==== Allow to shrink attached/pasted image ==== +REM # https://github.com/wekan/wekan/pull/2544 +REM SET MAX_IMAGE_PIXEL=1024 +REM SET IMAGE_COMPRESS_RATIO=80 + +REM # ==== PASSWORD BRUTE FORCE PROTECTION ==== +REM #https://atmospherejs.com/lucasantoniassi/accounts-lockout +REM #Defaults below. Uncomment to change. wekan/server/accounts-lockout.js +REM SET ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURES_BEFORE=3 +REM SET ACCOUNTS_LOCKOUT_KNOWN_USERS_PERIOD=60 +REM SET ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURE_WINDOW=15 +REM SET ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURES_BERORE=3 +REM SET ACCOUNTS_LOCKOUT_UNKNOWN_USERS_LOCKOUT_PERIOD=60 +REM SET ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURE_WINDOW=15 + +REM # ==== NOTIFICATION TRAY AFTER READ DAYS BEFORE REMOVE ===== +REM # Number of days after a notification is read before we remove it. +REM # Default: 2 +REM SET NOTIFICATION_TRAY_AFTER_READ_DAYS_BEFORE_REMOVE=2 + +REM # ==== BIGEVENTS DUE ETC NOTIFICATIONS ===== +REM # https://github.com/wekan/wekan/pull/2541 +REM # Introduced a system env var BIGEVENTS_PATTERN default as "NONE", +REM # so any activityType matches the pattern, system will send out +REM # notifications to all board members no matter they are watching +REM # or tracking the board or not. Owner of the wekan server can +REM # disable the feature by setting this variable to "NONE" or +REM # change the pattern to any valid regex. i.e. '|' delimited +REM # activityType names. +REM # a) Example +REM SET BIGEVENTS_PATTERN=due +REM # b) All +REM SET BIGEVENTS_PATTERN=received|start|due|end +REM # c) Disabled +SET BIGEVENTS_PATTERN=NONE + +REM # ==== EMAIL DUE DATE NOTIFICATION ===== +REM # https://github.com/wekan/wekan/pull/2536 +REM # System timelines will be showing any user modification for +REM # dueat startat endat receivedat, also notification to +REM # the watchers and if any card is due, about due or past due. +REM # Notify due days, default is None. +REM # SET NOTIFY_DUE_DAYS_BEFORE_AND_AFTER=2,0 +REM # Notify due at hour of day. Default every morning at 8am. Can be 0-23. +REM # If env variable has parsing error, use default. Notification sent to watchers. +REM SET NOTIFY_DUE_AT_HOUR_OF_DAY=8 + +REM # ==== EMAIL NOTIFICATION TIMEOUT, ms ===== +REM # Defaut: 30000 ms = 30s +REM SET EMAIL_NOTIFICATION_TIMEOUT=30000 + +REM # CORS: Set Access-Control-Allow-Origin header. Example: * +REM SET CORS=* +REM # To enable the Set Access-Control-Allow-Headers header. "Authorization,Content-Type" is required for cross-origin use of the API. +REM SET CORS_ALLOW_HEADERS=Authorization,Content-Type +REM # To enable the Set Access-Control-Expose-Headers header. This is not needed for typical CORS situations. Example: * +REM SET CORS_EXPOSE_HEADERS=* + +REM # Optional: Integration with Matomo https://matomo.org that is installed to your server +REM # The address of the server where Matomo is hosted. +REM # example: - MATOMO_ADDRESS=https://example.com/matomo +REM SET MATOMO_ADDRESS= + +REM # The value of the site ID given in Matomo server for Wekan +REM # example: - MATOMO_SITE_ID=12345 +REM SET MATOMO_SITE_ID= + +REM # The option do not track which enables users to not be tracked by matomo +REM # example: - MATOMO_DO_NOT_TRACK=false +REM SET MATOMO_DO_NOT_TRACK= + +REM # The option that allows matomo to retrieve the username: +REM # example: MATOMO_WITH_USERNAME=true +REM SET MATOMO_WITH_USERNAME=false + +REM # Enable browser policy and allow one trusted URL that can have iframe that has Wekan embedded inside. +REM # Setting this to false is not recommended, it also disables all other browser policy protections +REM # and allows all iframing etc. See wekan/server/policy.js +SET BROWSER_POLICY_ENABLED=true + +REM # When browser policy is enabled, HTML code at this Trusted URL can have iframe that embeds Wekan inside. +REM SET TRUSTED_URL= + +REM # What to send to Outgoing Webhook, or leave out. Example, that includes all that are default: cardId,listId,oldListId,boardId,comment,user,card,commentId . +REM # example: WEBHOOKS_ATTRIBUTES=cardId,listId,oldListId,boardId,comment,user,card,commentId +REM SET WEBHOOKS_ATTRIBUTES= + +REM ------------------------------------------------------------ + +REM # Enable the OAuth2 connection +REM # OAuth2 docs: https://github.com/wekan/wekan/wiki/OAuth2 +REM # example: OAUTH2_ENABLED=true +REM SET OAUTH2_ENABLED=false + +REM # OAuth2 Client ID, for example from Rocket.Chat. Example: abcde12345 +REM # example: OAUTH2_CLIENT_ID=abcde12345 +REM SET OAUTH2_CLIENT_ID= + +REM # OAuth2 Secret, for example from Rocket.Chat: Example: 54321abcde +REM # example: OAUTH2_SECRET=54321abcde +REM SET OAUTH2_SECRET= + +REM # OAuth2 Server URL, for example Rocket.Chat. Example: https://chat.example.com +REM # example: OAUTH2_SERVER_URL=https://chat.example.com +REM SET OAUTH2_SERVER_URL= + +REM # OAuth2 Authorization Endpoint. Example: /oauth/authorize +REM # example: OAUTH2_AUTH_ENDPOINT=/oauth/authorize +REM SET OAUTH2_AUTH_ENDPOINT= + +REM # OAuth2 Userinfo Endpoint. Example: /oauth/userinfo +REM # example: OAUTH2_USERINFO_ENDPOINT=/oauth/userinfo +REM SET OAUTH2_USERINFO_ENDPOINT= + +REM # OAuth2 Token Endpoint. Example: /oauth/token +REM # example: OAUTH2_TOKEN_ENDPOINT=/oauth/token +REM SET OAUTH2_TOKEN_ENDPOINT= + + +REM # OAUTH2 ID Token Whitelist Fields. +REM SET OAUTH2_ID_TOKEN_WHITELIST_FIELDS=[] + +REM # OAUTH2 Request Permissions. +REM SET OAUTH2_REQUEST_PERMISSIONS='openid profile email' + +REM # OAuth2 ID Mapping +REM SET OAUTH2_ID_MAP= + +REM # OAuth2 Username Mapping +REM SET OAUTH2_USERNAME_MAP= + +REM # OAuth2 Fullname Mapping +REM SET OAUTH2_FULLNAME_MAP= + +REM # OAuth2 Email Mapping +REM SET OAUTH2_EMAIL_MAP= + +REM ------------------------------------------------------------ + +REM # LDAP_ENABLE : Enable or not the connection by the LDAP +REM # example : LDAP_ENABLE=true +REM SET LDAP_ENABLE=false + +REM # LDAP_PORT : The port of the LDAP server +REM # example : LDAP_PORT=389 +REM SET LDAP_PORT=389 + +REM # LDAP_HOST : The host server for the LDAP server +REM # example : LDAP_HOST=localhost +REM SET LDAP_HOST= + +REM # LDAP_BASEDN : The base DN for the LDAP Tree +REM # example : LDAP_BASEDN=ou=user,dc=example,dc=org +REM SET LDAP_BASEDN= + +REM # LDAP_LOGIN_FALLBACK : Fallback on the default authentication method +REM # example : LDAP_LOGIN_FALLBACK=true +REM SET LDAP_LOGIN_FALLBACK=false + +REM # LDAP_RECONNECT : Reconnect to the server if the connection is lost +REM # example : LDAP_RECONNECT=false +REM SET LDAP_RECONNECT=true + +REM # LDAP_TIMEOUT : Overall timeout, in milliseconds +REM # example : LDAP_TIMEOUT=12345 +REM SET LDAP_TIMEOUT=10000 + +REM # LDAP_IDLE_TIMEOUT : Specifies the timeout for idle LDAP connections in milliseconds +REM # example : LDAP_IDLE_TIMEOUT=12345 +REM SET LDAP_IDLE_TIMEOUT=10000 + +REM # LDAP_CONNECT_TIMEOUT : Connection timeout, in milliseconds +REM # example : LDAP_CONNECT_TIMEOUT=12345 +REM SET LDAP_CONNECT_TIMEOUT=10000 + +REM # LDAP_AUTHENTIFICATION : If the LDAP needs a user account to search +REM # example : LDAP_AUTHENTIFICATION=true +REM SET LDAP_AUTHENTIFICATION=false + +REM # LDAP_AUTHENTIFICATION_USERDN : The search user DN +REM # example: LDAP_AUTHENTIFICATION_USERDN=cn=admin,dc=example,dc=org +REM SET LDAP_AUTHENTIFICATION_USERDN= + +REM # The search user DN - You need quotes when you have spaces in parameters +REM # 2 examples: +REM SET LDAP_AUTHENTIFICATION_USERDN="CN=ldap admin,CN=users,DC=domainmatter,DC=lan" +REM SET LDAP_AUTHENTIFICATION_USERDN="CN=wekan_adm,OU=serviceaccounts,OU=admin,OU=prod,DC=mydomain,DC=com" + +REM # LDAP_AUTHENTIFICATION_PASSWORD : The password for the search user +REM # example : AUTHENTIFICATION_PASSWORD=admin +REM SET LDAP_AUTHENTIFICATION_PASSWORD= + +REM # LDAP_LOG_ENABLED : Enable logs for the module +REM # example : LDAP_LOG_ENABLED=true +REM SET LDAP_LOG_ENABLED=false + +REM # LDAP_BACKGROUND_SYNC : If the sync of the users should be done in the background +REM # example : LDAP_BACKGROUND_SYNC=true +REM SET LDAP_BACKGROUND_SYNC=false + +REM # LDAP_BACKGROUND_SYNC_INTERVAL : At which interval does the background task sync in milliseconds +REM # At which interval does the background task sync in milliseconds. +REM # Leave this unset, so it uses default, and does not crash. +REM # https://github.com/wekan/wekan/issues/2354#issuecomment-515305722 +SET LDAP_BACKGROUND_SYNC_INTERVAL='' + +REM # LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED : +REM # example : LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED=true +REM SET LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED=false + +REM # LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS : +REM # example : LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS=true +REM SET LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS=false + +REM # LDAP_ENCRYPTION : If using LDAPS +REM # example : LDAP_ENCRYPTION=ssl +REM SET LDAP_ENCRYPTION=false + +REM # LDAP_CA_CERT : The certification for the LDAPS server. Certificate needs to be included in this docker-compose.yml file. +REM # example : LDAP_CA_CERT=-----BEGIN CERTIFICATE-----MIIE+zCCA+OgAwIBAgIkAhwR/6TVLmdRY6hHxvUFWc0+Enmu/Hu6cj+G2FIdAgIC...-----END CERTIFICATE----- +REM SET LDAP_CA_CERT= + +REM # LDAP_REJECT_UNAUTHORIZED : Reject Unauthorized Certificate +REM # example : LDAP_REJECT_UNAUTHORIZED=true +REM SET LDAP_REJECT_UNAUTHORIZED=false + +REM # Option to login to the LDAP server with the user's own username and password, instead of an administrator key. Default: false (use administrator key). +REM SET LDAP_USER_AUTHENTICATION=true + +REM # Which field is used to find the user for the user authentication. Default: uid. +REM SET LDAP_USER_AUTHENTICATION_FIELD=uid + +REM # LDAP_USER_SEARCH_FILTER : Optional extra LDAP filters. Don't forget the outmost enclosing parentheses if needed +REM # example : LDAP_USER_SEARCH_FILTER= +REM SET LDAP_USER_SEARCH_FILTER= + +REM # LDAP_USER_SEARCH_SCOPE : base (search only in the provided DN), one (search only in the provided DN and one level deep), or sub (search the whole subtree) +REM # example : LDAP_USER_SEARCH_SCOPE=one +REM SET LDAP_USER_SEARCH_SCOPE= + +REM # LDAP_USER_SEARCH_FIELD : Which field is used to find the user +REM # example : LDAP_USER_SEARCH_FIELD=uid +REM SET LDAP_USER_SEARCH_FIELD= + +REM # LDAP_SEARCH_PAGE_SIZE : Used for pagination (0=unlimited) +REM # example : LDAP_SEARCH_PAGE_SIZE=12345 +REM SET LDAP_SEARCH_PAGE_SIZE=0 + +REM # LDAP_SEARCH_SIZE_LIMIT : The limit number of entries (0=unlimited) +REM #33 example : LDAP_SEARCH_SIZE_LIMIT=12345 +REM SET LDAP_SEARCH_SIZE_LIMIT=0 + +REM # LDAP_GROUP_FILTER_ENABLE : Enable group filtering +REM # example : LDAP_GROUP_FILTER_ENABLE=true +REM SET LDAP_GROUP_FILTER_ENABLE=false + +REM # LDAP_GROUP_FILTER_OBJECTCLASS : The object class for filtering +REM # example : LDAP_GROUP_FILTER_OBJECTCLASS=group +REM SET LDAP_GROUP_FILTER_OBJECTCLASS= + +REM # LDAP_GROUP_FILTER_GROUP_ID_ATTRIBUTE : +REM # example : +REM SET LDAP_GROUP_FILTER_GROUP_ID_ATTRIBUTE= + +REM # LDAP_GROUP_FILTER_GROUP_MEMBER_ATTRIBUTE : +REM # example : +REM SET LDAP_GROUP_FILTER_GROUP_MEMBER_ATTRIBUTE= + +REM # LDAP_GROUP_FILTER_GROUP_MEMBER_FORMAT : +REM # example : +REM SET LDAP_GROUP_FILTER_GROUP_MEMBER_FORMAT= + +REM # LDAP_GROUP_FILTER_GROUP_NAME : +REM # example : +REM SET LDAP_GROUP_FILTER_GROUP_NAME= + +REM # LDAP_UNIQUE_IDENTIFIER_FIELD : This field is sometimes class GUID (Globally Unique Identifier) +REM # example : LDAP_UNIQUE_IDENTIFIER_FIELD=guid +REM SET LDAP_UNIQUE_IDENTIFIER_FIELD= + +REM # LDAP_UTF8_NAMES_SLUGIFY : Convert the username to utf8 +REM # example : LDAP_UTF8_NAMES_SLUGIFY=false +REM SET LDAP_UTF8_NAMES_SLUGIFY=true + +REM # LDAP_USERNAME_FIELD : Which field contains the ldap username +REM # example : LDAP_USERNAME_FIELD=username +REM SET LDAP_USERNAME_FIELD= + +REM # LDAP_MERGE_EXISTING_USERS : +REM # example : LDAP_MERGE_EXISTING_USERS=true +REM SET LDAP_MERGE_EXISTING_USERS=false + +REM # LDAP_EMAIL_MATCH_ENABLE : allow existing account matching by e-mail address when username does not match +REM # example: LDAP_EMAIL_MATCH_ENABLE=true +REM SET LDAP_EMAIL_MATCH_ENABLE=false + +REM # LDAP_EMAIL_MATCH_REQUIRE : require existing account matching by e-mail address when username does match +REM # example: LDAP_EMAIL_MATCH_REQUIRE=true +REM SET LDAP_EMAIL_MATCH_REQUIRE=false + +REM # LDAP_EMAIL_MATCH_VERIFIED : require existing account email address to be verified for matching +REM # example: LDAP_EMAIL_MATCH_VERIFIED=true +REM SET LDAP_EMAIL_MATCH_VERIFIED=false + +REM # LDAP_EMAIL_FIELD : which field contains the LDAP e-mail address +REM # example: LDAP_EMAIL_FIELD=mail +REM SET LDAP_EMAIL_FIELD= + +REM # LDAP_SYNC_USER_DATA : +REM # example : LDAP_SYNC_USER_DATA=true +REM SET LDAP_SYNC_USER_DATA=false + +REM # LDAP_SYNC_USER_DATA_FIELDMAP : +REM # example : LDAP_SYNC_USER_DATA_FIELDMAP={"cn":"name", "mail":"email"} +REM SET LDAP_SYNC_USER_DATA_FIELDMAP= + +REM # LDAP_SYNC_GROUP_ROLES : +REM # example : +REM # SET LDAP_SYNC_GROUP_ROLES= + +REM # LDAP_DEFAULT_DOMAIN : The default domain of the ldap it is used to create email if the field is not map correctly with the LDAP_SYNC_USER_DATA_FIELDMAP +REM # example : +REM SET LDAP_DEFAULT_DOMAIN= + +REM # Enable/Disable syncing of admin status based on ldap groups: +REM SET LDAP_SYNC_ADMIN_STATUS=true + +REM # Comma separated list of admin group names to sync. +REM SET LDAP_SYNC_ADMIN_GROUPS=group1,group2 + +REM ------------------------------------------------ + +REM # Enable/Disable password login form. +REM SET PASSWORD_LOGIN_ENABLED=true + +REM ------------------------------------------------ + +REM # Login to LDAP automatically with HTTP header. +REM # In below example for siteminder, at right side of = is header name. +REM SET HEADER_LOGIN_ID=HEADERUID +REM SET HEADER_LOGIN_FIRSTNAME=HEADERFIRSTNAME +REM SET HEADER_LOGIN_LASTNAME=HEADERLASTNAME +REM SET HEADER_LOGIN_EMAIL=HEADEREMAILADDRESS + +REM ------------------------------------------------ + +REM # LOGOUT_WITH_TIMER : Enables or not the option logout with timer +REM # example : LOGOUT_WITH_TIMER=true +REM SET LOGOUT_WITH_TIMER= + +REM # LOGOUT_IN : The number of days +REM # example : LOGOUT_IN=1 +REM SET LOGOUT_IN= + +REM # LOGOUT_ON_HOURS : The number of hours +REM # example : LOGOUT_ON_HOURS=9 +REM SET LOGOUT_ON_HOURS= + +REM # LOGOUT_ON_MINUTES : The number of minutes +REM # example : LOGOUT_ON_MINUTES=55 +REM SET LOGOUT_ON_MINUTES= + +node main.js diff --git a/start-wekan.sh b/start-wekan.sh new file mode 100755 index 0000000..b3dfce5 --- /dev/null +++ b/start-wekan.sh @@ -0,0 +1,373 @@ +#!/bin/bash + +# If you want to restart even on crash, uncomment while and done lines. +#while true; do + cd .build/bundle + #--------------------------------------------- + # Debug OIDC OAuth2 etc. + #export DEBUG=true + #--------------------------------------------- + export MONGO_URL='mongodb://127.0.0.1:27017/wekan' + #--------------------------------------------- + # Production: https://example.com/wekan + # Local: http://localhost:2000 + #export ipaddress=$(ifdata -pa eth0) + export ROOT_URL='http://localhost:2000' + #--------------------------------------------- + # https://github.com/wekan/wekan/wiki/Troubleshooting-Mail + # https://github.com/wekan/wekan-mongodb/blob/master/docker-compose.yml + export MAIL_URL='smtp://user:pass@mailserver.example.com:25/' + #--------------------------------------------- + #export KADIRA_OPTIONS_ENDPOINT=http://127.0.0.1:11011 + #--------------------------------------------- + # This is local port where Wekan Node.js runs, same as below on Caddyfile settings. + export PORT=2000 + #--------------------------------------------- + # Wekan Export Board works when WITH_API=true. + # If you disable Wekan API with false, Export Board does not work. + export WITH_API='true' + #--------------------------------------------------------------- + # ==== PASSWORD BRUTE FORCE PROTECTION ==== + #https://atmospherejs.com/lucasantoniassi/accounts-lockout + #Defaults below. Uncomment to change. wekan/server/accounts-lockout.js + #export ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURES_BEFORE=3 + #export ACCOUNTS_LOCKOUT_KNOWN_USERS_PERIOD=60 + #export ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURE_WINDOW=15 + #export ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURES_BERORE=3 + #export ACCOUNTS_LOCKOUT_UNKNOWN_USERS_LOCKOUT_PERIOD=60 + #export ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURE_WINDOW=15 + #--------------------------------------------------------------- + # ==== RICH TEXT EDITOR IN CARD COMMENTS ==== + # https://github.com/wekan/wekan/pull/2560 + export RICHER_CARD_COMMENT_EDITOR=false + #--------------------------------------------------------------- + # ==== MOUSE SCROLL ==== + # https://github.com/wekan/wekan/issues/2949 + export SCROLLINERTIA=0 + export SCROLLAMOUNT=auto + export SCROLLDELTAFACTOR=auto + #--------------------------------------------------------------- + # ==== CARD OPENED, SEND WEBHOOK MESSAGE ==== + export CARD_OPENED_WEBHOOK_ENABLED=false + #--------------------------------------------------------------- + # ==== Allow to shrink attached/pasted image ==== + # https://github.com/wekan/wekan/pull/2544 + #export MAX_IMAGE_PIXEL=1024 + #export IMAGE_COMPRESS_RATIO=80 + #--------------------------------------------------------------- + # ==== NOTIFICATION TRAY AFTER READ DAYS BEFORE REMOVE ===== + # Number of days after a notification is read before we remove it. + # Default: 2 + #- NOTIFICATION_TRAY_AFTER_READ_DAYS_BEFORE_REMOVE=2 + #--------------------------------------------------------------- + # ==== BIGEVENTS DUE ETC NOTIFICATIONS ===== + # https://github.com/wekan/wekan/pull/2541 + # Introduced a system env var BIGEVENTS_PATTERN default as "NONE", + # so any activityType matches the pattern, system will send out + # notifications to all board members no matter they are watching + # or tracking the board or not. Owner of the wekan server can + # disable the feature by setting this variable to "NONE" or + # change the pattern to any valid regex. i.e. '|' delimited + # activityType names. + # a) Example + #export BIGEVENTS_PATTERN=due + # b) All + #export BIGEVENTS_PATTERN=received|start|due|end + # c) Disabled + export BIGEVENTS_PATTERN=NONE + #--------------------------------------------------------------- + # ==== EMAIL DUE DATE NOTIFICATION ===== + # https://github.com/wekan/wekan/pull/2536 + # System timelines will be showing any user modification for + # dueat startat endat receivedat, also notification to + # the watchers and if any card is due, about due or past due. + # + # Notify due days, default is None. + #export NOTIFY_DUE_DAYS_BEFORE_AND_AFTER=2,0 + # it will notify user 2 days before due day and on the due day + # + # Notify due at hour of day. Default every morning at 8am. Can be 0-23. + # If env variable has parsing error, use default. Notification sent to watchers. + #export NOTIFY_DUE_AT_HOUR_OF_DAY=8 + #----------------------------------------------------------------- + # ==== EMAIL NOTIFICATION TIMEOUT, ms ===== + # Defaut: 30000 ms = 30s + #export EMAIL_NOTIFICATION_TIMEOUT=30000 + #----------------------------------------------------------------- + # CORS: Set Access-Control-Allow-Origin header. Example: * + #export CORS=* + # To enable the Set Access-Control-Allow-Headers header. "Authorization,Content-Type" is required for cross-origin use of the API. + #export CORS_ALLOW_HEADERS=Authorization,Content-Type + # To enable the Set Access-Control-Expose-Headers header. This is not needed for typical CORS situations. Example: * + #export CORS_EXPOSE_HEADERS=* + #--------------------------------------------- + ## Optional: Integration with Matomo https://matomo.org that is installed to your server + ## The address of the server where Matomo is hosted: + ##export MATOMO_ADDRESS=https://example.com/matomo + #export MATOMO_ADDRESS= + ## The value of the site ID given in Matomo server for Wekan + # Example: export MATOMO_SITE_ID=123456789 + #export MATOMO_SITE_ID='' + ## The option do not track which enables users to not be tracked by matomo" + #Example: export MATOMO_DO_NOT_TRACK=false + #export MATOMO_DO_NOT_TRACK=true + ## The option that allows matomo to retrieve the username: + # Example: export MATOMO_WITH_USERNAME=true + #export MATOMO_WITH_USERNAME='false' + # Enable browser policy and allow one trusted URL that can have iframe that has Wekan embedded inside. + # Setting this to false is not recommended, it also disables all other browser policy protections + # and allows all iframing etc. See wekan/server/policy.js + # Default value: true + export BROWSER_POLICY_ENABLED=true + # When browser policy is enabled, HTML code at this Trusted URL can have iframe that embeds Wekan inside. + # Example: export TRUSTED_URL=http://example.com + export TRUSTED_URL='' + # What to send to Outgoing Webhook, or leave out. Example, that includes all that are default: cardId,listId,oldListId,boardId,comment,user,card,commentId . + # Example: export WEBHOOKS_ATTRIBUTES=cardId,listId,oldListId,boardId,comment,user,card,commentId + export WEBHOOKS_ATTRIBUTES='' + #--------------------------------------------- + # ==== OAUTH2 AZURE ==== + # https://github.com/wekan/wekan/wiki/Azure + # 1) Register the application with Azure. Make sure you capture + # the application ID as well as generate a secret key. + # 2) Configure the environment variables. This differs slightly + # by installation type, but make sure you have the following: + #export OAUTH2_ENABLED=true + # OAuth2 docs: https://github.com/wekan/wekan/wiki/OAuth2 + # OAuth2 login style: popup or redirect. + #export OAUTH2_LOGIN_STYLE=redirect + # Application GUID captured during app registration: + #export OAUTH2_CLIENT_ID=xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx + # Secret key generated during app registration: + #export OAUTH2_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx + #export OAUTH2_SERVER_URL=https://login.microsoftonline.com/ + #export OAUTH2_AUTH_ENDPOINT=/oauth2/v2.0/authorize + #export OAUTH2_USERINFO_ENDPOINT=https://graph.microsoft.com/oidc/userinfo + #export OAUTH2_TOKEN_ENDPOINT=/oauth2/v2.0/token + # The claim name you want to map to the unique ID field: + #export OAUTH2_ID_MAP=email + # The claim name you want to map to the username field: + #export OAUTH2_USERNAME_MAP=email + # The claim name you want to map to the full name field: + #export OAUTH2_FULLNAME_MAP=name + # The claim name you want to map to the email field: + #export OAUTH2_EMAIL_MAP=email + #----------------------------------------------------------------- + # ==== OAUTH2 KEYCLOAK ==== + # https://github.com/wekan/wekan/wiki/Keycloak <== MAPPING INFO, REQUIRED + #export OAUTH2_ENABLED=true + # OAuth2 login style: popup or redirect. + #export OAUTH2_LOGIN_STYLE=redirect + #export OAUTH2_CLIENT_ID= + #export OAUTH2_SERVER_URL=/auth + #export OAUTH2_AUTH_ENDPOINT=/realms//protocol/openid-connect/auth + #export OAUTH2_USERINFO_ENDPOINT=/realms//protocol/openid-connect/userinfo + #export OAUTH2_TOKEN_ENDPOINT=/realms//protocol/openid-connect/token + #export OAUTH2_SECRET= + #----------------------------------------------------------------- + # ==== OAUTH2 DOORKEEPER ==== + # OAuth2 docs: https://github.com/wekan/wekan/wiki/OAuth2 + # https://github.com/wekan/wekan/issues/1874 + # https://github.com/wekan/wekan/wiki/OAuth2 + # Enable the OAuth2 connection + #export OAUTH2_ENABLED=true + # OAuth2 login style: popup or redirect. + #export OAUTH2_LOGIN_STYLE=redirect + # OAuth2 Client ID. + #export OAUTH2_CLIENT_ID=abcde12345 + # OAuth2 Secret. + #export OAUTH2_SECRET=54321abcde + # OAuth2 Server URL. + #export OAUTH2_SERVER_URL=https://chat.example.com + # OAuth2 Authorization Endpoint. + #export OAUTH2_AUTH_ENDPOINT=/oauth/authorize + # OAuth2 Userinfo Endpoint. + #export OAUTH2_USERINFO_ENDPOINT=/oauth/userinfo + # OAuth2 Token Endpoint. + #export OAUTH2_TOKEN_ENDPOINT=/oauth/token + # OAUTH2 ID Token Whitelist Fields. + #export OAUTH2_ID_TOKEN_WHITELIST_FIELDS=[] + # OAUTH2 Request Permissions. + #export OAUTH2_REQUEST_PERMISSIONS='openid profile email' + # OAuth2 ID Mapping + #export OAUTH2_ID_MAP= + # OAuth2 Username Mapping + #export OAUTH2_USERNAME_MAP= + # OAuth2 Fullname Mapping + #export OAUTH2_FULLNAME_MAP= + # OAuth2 Email Mapping + #export OAUTH2_EMAIL_MAP= + #--------------------------------------------- + # LDAP_ENABLE : Enable or not the connection by the LDAP + # example : export LDAP_ENABLE=true + #export LDAP_ENABLE=false + # LDAP_PORT : The port of the LDAP server + # example : export LDAP_PORT=389 + #export LDAP_PORT=389 + # LDAP_HOST : The host server for the LDAP server + # example : export LDAP_HOST=localhost + #export LDAP_HOST= + # LDAP_BASEDN : The base DN for the LDAP Tree + # example : export LDAP_BASEDN=ou=user,dc=example,dc=org + #export LDAP_BASEDN= + # LDAP_LOGIN_FALLBACK : Fallback on the default authentication method + # example : export LDAP_LOGIN_FALLBACK=true + #export LDAP_LOGIN_FALLBACK=false + # LDAP_RECONNECT : Reconnect to the server if the connection is lost + # example : export LDAP_RECONNECT=false + #export LDAP_RECONNECT=true + # LDAP_TIMEOUT : Overall timeout, in milliseconds + # example : export LDAP_TIMEOUT=12345 + #export LDAP_TIMEOUT=10000 + # LDAP_IDLE_TIMEOUT : Specifies the timeout for idle LDAP connections in milliseconds + # example : export LDAP_IDLE_TIMEOUT=12345 + #export LDAP_IDLE_TIMEOUT=10000 + # LDAP_CONNECT_TIMEOUT : Connection timeout, in milliseconds + # example : export LDAP_CONNECT_TIMEOUT=12345 + #export LDAP_CONNECT_TIMEOUT=10000 + # LDAP_AUTHENTIFICATION : If the LDAP needs a user account to search + # example : export LDAP_AUTHENTIFICATION=true + #export LDAP_AUTHENTIFICATION=false + # LDAP_AUTHENTIFICATION_USERDN : The search user DN + # example : export LDAP_AUTHENTIFICATION_USERDN=cn=admin,dc=example,dc=org + #---------------------------------------------------------------------------- + # The search user DN - You need quotes when you have spaces in parameters + # 2 examples: + #export LDAP_AUTHENTIFICATION_USERDN="CN=ldap admin,CN=users,DC=domainmatter,DC=lan" + #export LDAP_AUTHENTIFICATION_USERDN="CN=wekan_adm,OU=serviceaccounts,OU=admin,OU=prod,DC=mydomain,DC=com" + #--------------------------------------------------------------------------- + # LDAP_AUTHENTIFICATION_PASSWORD : The password for the search user + # example : AUTHENTIFICATION_PASSWORD=admin + #export LDAP_AUTHENTIFICATION_PASSWORD= + # LDAP_LOG_ENABLED : Enable logs for the module + # example : export LDAP_LOG_ENABLED=true + #export LDAP_LOG_ENABLED=false + # LDAP_BACKGROUND_SYNC : If the sync of the users should be done in the background + # example : export LDAP_BACKGROUND_SYNC=true + #export LDAP_BACKGROUND_SYNC=false + # LDAP_BACKGROUND_SYNC_INTERVAL : At which interval does the background task sync in milliseconds + # At which interval does the background task sync in milliseconds. + # Leave this unset, so it uses default, and does not crash. + # https://github.com/wekan/wekan/issues/2354#issuecomment-515305722 + export LDAP_BACKGROUND_SYNC_INTERVAL='' + # LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED : + # example : export LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED=true + #export LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED=false + # LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS : + # example : export LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS=true + #export LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS=false + # LDAP_ENCRYPTION : If using LDAPS + # example : export LDAP_ENCRYPTION=ssl + #export LDAP_ENCRYPTION=false + # LDAP_CA_CERT : The certification for the LDAPS server. Certificate needs to be included in this docker-compose.yml file. + # example : export LDAP_CA_CERT=-----BEGIN CERTIFICATE-----MIIE+zCCA+OgAwIBAgIkAhwR/6TVLmdRY6hHxvUFWc0+Enmu/Hu6cj+G2FIdAgIC...-----END CERTIFICATE----- + #export LDAP_CA_CERT= + # LDAP_REJECT_UNAUTHORIZED : Reject Unauthorized Certificate + # example : export LDAP_REJECT_UNAUTHORIZED=true + #export LDAP_REJECT_UNAUTHORIZED=false + # Option to login to the LDAP server with the user's own username and password, instead of an administrator key. Default: false (use administrator key). + #export LDAP_USER_AUTHENTICATION=true + # Which field is used to find the user for the user authentication. Default: uid. + #export LDAP_USER_AUTHENTICATION_FIELD=uid + # LDAP_USER_SEARCH_FILTER : Optional extra LDAP filters. Don't forget the outmost enclosing parentheses if needed + # example : export LDAP_USER_SEARCH_FILTER= + #export LDAP_USER_SEARCH_FILTER= + # LDAP_USER_SEARCH_SCOPE : base (search only in the provided DN), one (search only in the provided DN and one level deep), or sub (search the whole subtree) + # example : export LDAP_USER_SEARCH_SCOPE=one + #export LDAP_USER_SEARCH_SCOPE= + # LDAP_USER_SEARCH_FIELD : Which field is used to find the user + # example : export LDAP_USER_SEARCH_FIELD=uid + #export LDAP_USER_SEARCH_FIELD= + # LDAP_SEARCH_PAGE_SIZE : Used for pagination (0=unlimited) + # example : export LDAP_SEARCH_PAGE_SIZE=12345 + #export LDAP_SEARCH_PAGE_SIZE=0 + # LDAP_SEARCH_SIZE_LIMIT : The limit number of entries (0=unlimited) + # example : export LDAP_SEARCH_SIZE_LIMIT=12345 + #export LDAP_SEARCH_SIZE_LIMIT=0 + # LDAP_GROUP_FILTER_ENABLE : Enable group filtering + # example : export LDAP_GROUP_FILTER_ENABLE=true + #export LDAP_GROUP_FILTER_ENABLE=false + # LDAP_GROUP_FILTER_OBJECTCLASS : The object class for filtering + # example : export LDAP_GROUP_FILTER_OBJECTCLASS=group + #export LDAP_GROUP_FILTER_OBJECTCLASS= + # LDAP_GROUP_FILTER_GROUP_ID_ATTRIBUTE : + # example : + #export LDAP_GROUP_FILTER_GROUP_ID_ATTRIBUTE= + # LDAP_GROUP_FILTER_GROUP_MEMBER_ATTRIBUTE : + # example : + #export LDAP_GROUP_FILTER_GROUP_MEMBER_ATTRIBUTE= + # LDAP_GROUP_FILTER_GROUP_MEMBER_FORMAT : + # example : + #export LDAP_GROUP_FILTER_GROUP_MEMBER_FORMAT= + # LDAP_GROUP_FILTER_GROUP_NAME : + # example : + #export LDAP_GROUP_FILTER_GROUP_NAME= + # LDAP_UNIQUE_IDENTIFIER_FIELD : This field is sometimes class GUID (Globally Unique Identifier) + # example : export LDAP_UNIQUE_IDENTIFIER_FIELD=guid + #export LDAP_UNIQUE_IDENTIFIER_FIELD= + # LDAP_UTF8_NAMES_SLUGIFY : Convert the username to utf8 + # example : export LDAP_UTF8_NAMES_SLUGIFY=false + #export LDAP_UTF8_NAMES_SLUGIFY=true + # LDAP_USERNAME_FIELD : Which field contains the ldap username + # example : export LDAP_USERNAME_FIELD=username + #export LDAP_USERNAME_FIELD= + # LDAP_FULLNAME_FIELD : Which field contains the ldap fullname + # example : export LDAP_FULLNAME_FIELD=fullname + #export LDAP_FULLNAME_FIELD= + # LDAP_MERGE_EXISTING_USERS : + # example : export LDAP_MERGE_EXISTING_USERS=true + #export LDAP_MERGE_EXISTING_USERS=false + # LDAP_EMAIL_MATCH_ENABLE : allow existing account matching by e-mail address when username does not match + # example: LDAP_EMAIL_MATCH_ENABLE=true + #export LDAP_EMAIL_MATCH_ENABLE=false + # LDAP_EMAIL_MATCH_REQUIRE : require existing account matching by e-mail address when username does match + # example: LDAP_EMAIL_MATCH_REQUIRE=true + #export LDAP_EMAIL_MATCH_REQUIRE=false + # LDAP_EMAIL_MATCH_VERIFIED : require existing account email address to be verified for matching + # example: LDAP_EMAIL_MATCH_VERIFIED=true + #export LDAP_EMAIL_MATCH_VERIFIED=false + # LDAP_EMAIL_FIELD : which field contains the LDAP e-mail address + # example: LDAP_EMAIL_FIELD=mail + #export LDAP_EMAIL_FIELD= + # LDAP_SYNC_USER_DATA : + # example : export LDAP_SYNC_USER_DATA=true + #export LDAP_SYNC_USER_DATA=false + # LDAP_SYNC_USER_DATA_FIELDMAP : + # example : export LDAP_SYNC_USER_DATA_FIELDMAP={"cn":"name", "mail":"email"} + #export LDAP_SYNC_USER_DATA_FIELDMAP= + # LDAP_SYNC_GROUP_ROLES : + # example : + #export LDAP_SYNC_GROUP_ROLES= + # LDAP_DEFAULT_DOMAIN : The default domain of the ldap it is used to create email if the field is not map correctly with the LDAP_SYNC_USER_DATA_FIELDMAP + # example : + #export LDAP_DEFAULT_DOMAIN= + # Enable/Disable syncing of admin status based on ldap groups: + #export LDAP_SYNC_ADMIN_STATUS=true + # Comma separated list of admin group names to sync. + #export LDAP_SYNC_ADMIN_GROUPS=group1,group2 + #--------------------------------------------------------------------- + # Login to LDAP automatically with HTTP header. + # In below example for siteminder, at right side of = is header name. + #export HEADER_LOGIN_ID=HEADERUID + #export HEADER_LOGIN_FIRSTNAME=HEADERFIRSTNAME + #export HEADER_LOGIN_LASTNAME=HEADERLASTNAME + #export HEADER_LOGIN_EMAIL=HEADEREMAILADDRESS + #--------------------------------------------------------------------- + # LOGOUT_WITH_TIMER : Enables or not the option logout with timer + # example : LOGOUT_WITH_TIMER=true + #export LOGOUT_WITH_TIMER= + # LOGOUT_IN : The number of days + # example : LOGOUT_IN=1 + #export LOGOUT_IN= + #export LOGOUT_ON_HOURS= + # LOGOUT_ON_MINUTES : The number of minutes + # example : LOGOUT_ON_MINUTES=55 + #export LOGOUT_ON_MINUTES= + #--------------------------------------------------------------------- + # PASSWORD_LOGIN_ENABLED : Enable or not the password login form. + #export PASSWORD_LOGIN_ENABLED=true + + node main.js + # & >> ../../wekan.log + cd ../.. +#done diff --git a/status-wekan.sh b/status-wekan.sh new file mode 100755 index 0000000..3b0f232 --- /dev/null +++ b/status-wekan.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +echo -e "\nWekan node.js:" +ps aux | grep "node main.js" | grep -v grep +echo -e "\nWekan mongodb:" +ps aux | grep mongo | grep -v grep +echo -e "\nWekan logs are at $PWD/wekan.log\n" diff --git a/stop-wekan.sh b/stop-wekan.sh new file mode 100755 index 0000000..8865a83 --- /dev/null +++ b/stop-wekan.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +pkill -f "node main.js" diff --git a/torodb-postgresql/CHANGELOG.md b/torodb-postgresql/CHANGELOG.md new file mode 100644 index 0000000..2f7b98c --- /dev/null +++ b/torodb-postgresql/CHANGELOG.md @@ -0,0 +1,72 @@ +# v0.9 2018-12-22 + +* Update docker-compose.yml: + * Add more docs and environment settings + * Add latest Wekan and ToroDB. + +Thanks to GitHub user xet7 for contributions. + +# v0.8 2018-08-25 + +* Add OAuth2. + +Thanks to GitHub users salleman33 and xet7 for their contributions. + +# v0.7 2018-08-22 + +* Add browser-policy, trusted-url and webhooks-settings. + +Thanks to GitHub users omarsy and xet7 for their contribution. + +# v0.6 2018-08-03 + +* Update wekan-app container internal port to 8080. + +Thanks to GitHub user xet7 for contributions. + +# v0.5 2018-08-01 + +* Enable Wekan API by default, so that Export Board works. +* Add Matomo options. + +Thanks to GitHub user xet7 for contributions. + +# v0.4 2017-08-18 + +This release fixes following bugs: + +* [ToroDB exits because of compound indexes not supported](https://github.com/torodb/stampede/issues/202). + +Thanks to GitHub user teoincontatto for contributions. + +# v0.3 2017-05-18 + +This release adds following new features: + +* Use latest tag of Docker image. + +Thanks to GitHub user xet7 for contributions. + +# v0.2 2017-04-06 + +This release adds following new features: + +* Use Meteor 1.4 based Docker image. + +Thanks to GitHub users brylie and stephenmoloney for +their contributions. + +MongoDB is kept at 3.2 because ToroDB is compatible +with it. + +# v0.1 2017-02-13 + +This release adds following new features: + +* Wekan <=> MongoDB <=> ToroDB => PostgreSQL read-only + mirroring for SQL access with any programming language + or Office package that has PostgreSQL support, like + newest LibreOffice 3.5. + +Thanks to GitHub users mquandalle, stephenmoloney and xet7 +for their contributions. diff --git a/torodb-postgresql/LICENSE b/torodb-postgresql/LICENSE new file mode 100644 index 0000000..eb38072 --- /dev/null +++ b/torodb-postgresql/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2017-2019 The Wekan team + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/torodb-postgresql/README.md b/torodb-postgresql/README.md new file mode 100644 index 0000000..6e8decd --- /dev/null +++ b/torodb-postgresql/README.md @@ -0,0 +1,56 @@ +# Docker: Wekan to PostgreSQL read-only mirroring + +* [Wekan kanban board, made with Meteor.js framework, running on + Node.js](https://wekan.github.io) -- [GitHub](https://github.com/wekan/wekan) +* [MongoDB NoSQL database](https://www.mongodb.com) +* [ToroDB: MongoDB to PostgreSQL read-only mirroring, programmed with Java](https://www.8kdata.com/products) -- + [GitHub](https://github.com/torodb/stampede) -- + [Interview at FLOSS Weekly](https://twit.tv/shows/floss-weekly/episodes/377) +* [LibreOffice with native PostgreSQL support](https://www.libreoffice.org) + +## Screenshot + +![Screenshot of PostgreSQL with LibreOffice][screenshot] + +## Install + +1) Install docker-compose. + +2) Clone this repo. + +```bash +git clone https://github.com/wekan/wekan-postgresql.git +cd wekan-postgresql +``` + +3) IMPORTANT: In docker-compose.yml, to use Wekan on local network, change ROOT_URL=http://localhost to http://IPADRESS like http://192.168.10.100 or http://example.com + +4) OPTIONAL: In docker-compose.yml, change PostgreSQL database name, username and password from wekan to something else. + +5) Write: + +```bash +docker-compose up -d +``` + +6) Wekan is at http://IPADDRESS or http://example.com (port 80) + +7) PostgreSQL connection URL for LibreOffice is `dbname=wekan hostaddr=127.0.0.1 port=15432 user=wekan password=wekan`. + In some other apps URL could be postgresql://127.0.0.1:15432/wekan , and + Username: wekan, Password: wekan , or others if you changed those at docker-compose.yml. + Do not write to PostgreSQL, as it's readonly mirror. Write to MongoDB or make + changes in Wekan. If server port 15432 open, PostgreSQL can be accessed also + remotely at local network at http://IPADDRESS:15432/wekan + +8) MongoDB is at 127.0.0.1:28017 + +9) Wekan and databases bind to address 0.0.0.0 so could be also available to other + computers in network. I have not tested this. + +10) [Restore your MongoDB data](https://github.com/wekan/wekan/wiki/Export-Docker-Mongo-Data). + +## Feedback + +[GitHub issue 787](https://github.com/wekan/wekan/issues/787) + +[screenshot]: https://wekan.github.io/ToroDB.png diff --git a/torodb-postgresql/docker-compose.yml b/torodb-postgresql/docker-compose.yml new file mode 100644 index 0000000..f629379 --- /dev/null +++ b/torodb-postgresql/docker-compose.yml @@ -0,0 +1,575 @@ +version: '2' + +# Note: Do not add single quotes '' to variables. Having spaces still works without quotes where required. +#--------------------------------------------------------------------------------------------------------- +# ==== CREATING USERS AND LOGGING IN TO WEKAN ==== +# https://github.com/wekan/wekan/wiki/Adding-users +#--------------------------------------------------------------------------------------------------------- +# ==== FORGOT PASSWORD ==== +# https://github.com/wekan/wekan/wiki/Forgot-Password +#--------------------------------------------------------------------------------------------------------- +# ==== Upgrading Wekan to new version ===== +# 1) Stop Wekan: +# docker-compose stop +# 2) Download new version: +# docker-compose pull wekan +# 3) If you have more networks for VPN etc as described at bottom of +# this config, download for them too: +# docker-compose pull wekan2 +# 4) Start Wekan: +# docker-compose start +#---------------------------------------------------------------------------------- +# ==== OPTIONAL: DEDICATED DOCKER USER ==== +# 1) Optionally create a dedicated user for Wekan, for example: +# sudo useradd -d /home/wekan -m -s /bin/bash wekan +# 2) Add this user to the docker group, then logout+login or reboot: +# sudo usermod -aG docker wekan +# 3) Then login as user wekan. +# 4) Create this file /home/wekan/docker-compose.yml with your modifications. +#---------------------------------------------------------------------------------- +# ==== RUN DOCKER AS SERVICE ==== +# 1a) Running Docker as service, on Systemd like Debian 9, Ubuntu 16.04, CentOS 7: +# sudo systemctl enable docker +# sudo systemctl start docker +# 1b) Running Docker as service, on init.d like Debian 8, Ubuntu 14.04, CentOS 6: +# sudo update-rc.d docker defaults +# sudo service docker start +# ---------------------------------------------------------------------------------- +# ==== USAGE OF THIS docker-compose.yml ==== +# 1) For seeing does Wekan work, try this and check with your webbroser: +# docker-compose up +# 2) Stop Wekan and start Wekan in background: +# docker-compose stop +# docker-compose up -d +# 3) See running Docker containers: +# docker ps +# 4) Stop Docker containers: +# docker-compose stop +# ---------------------------------------------------------------------------------- +# ===== INSIDE DOCKER CONTAINERS, AND BACKUP/RESTORE ==== +# https://github.com/wekan/wekan/wiki/Backup +# If really necessary, repair MongoDB: https://github.com/wekan/wekan-mongodb/issues/6#issuecomment-424004116 +# 1) Going inside containers: +# a) Wekan app, does not contain data +# docker exec -it wekan-app bash +# b) MongoDB, contains all data +# docker exec -it wekan-db bash +# 2) Copying database to outside of container: +# docker exec -it wekan-db bash +# cd /data +# mongodump +# exit +# docker cp wekan-db:/data/dump . +# 3) Restoring database +# # 1) Stop wekan +# docker stop wekan-app +# # 2) Go inside database container +# docker exec -it wekan-db bash +# # 3) and data directory +# cd /data +# # 4) Remove previos dump +# rm -rf dump +# # 5) Exit db container +# exit +# # 6) Copy dump to inside docker container +# docker cp dump wekan-db:/data/ +# # 7) Go inside database container +# docker exec -it wekan-db bash +# # 8) and data directory +# cd /data +# # 9) Restore +# mongorestore --drop +# # 10) Exit db container +# exit +# # 11) Start wekan +# docker start wekan-app +#------------------------------------------------------------------------- + +services: + torodb-stampede: + image: torodb/stampede:latest + networks: + - wekan-tier + links: + - postgres + - mongodb + environment: + - POSTGRES_PASSWORD + - TORODB_SETUP=true + - TORODB_SYNC_SOURCE=mongodb:27017 + - TORODB_BACKEND_HOST=postgres + - TORODB_BACKEND_PORT=5432 + - TORODB_BACKEND_DATABASE=wekan + - TORODB_BACKEND_USER=wekan + - TORODB_BACKEND_PASSWORD=wekan + - DEBUG + postgres: + image: postgres:9.6 + networks: + - wekan-tier + environment: + - POSTGRES_PASSWORD + ports: + - "5432:5432" + mongodb: + image: mongo:3.2 + networks: + - wekan-tier + ports: + - "27017:27017" + entrypoint: + - /bin/bash + - "-c" + - mongo --nodb --eval ' + var db; + while (!db) { + try { + db = new Mongo("mongodb:27017").getDB("local"); + } catch(ex) {} + sleep(3000); + }; + rs.initiate({_id:"rs1",members:[{_id:0,host:"mongodb:27017"}]}); + ' 1>/dev/null 2>&1 & + mongod --replSet rs1 + wekan: + image: quay.io/wekan/wekan + container_name: wekan-app + restart: always + networks: + - wekan-tier + ports: + # Docker outsideport:insideport. Do not add anything extra here. + # For example, if you want to have wekan on port 3001, + # use 3001:8080 . Do not add any extra address etc here, that way it does not work. + - 80:8080 + environment: + - MONGO_URL=mongodb://mongodb:27017/wekan + #--------------------------------------------------------------- + # ==== ROOT_URL SETTING ==== + # Change ROOT_URL to your real Wekan URL, for example: + # If you have Caddy/Nginx/Apache providing SSL + # - https://example.com + # - https://boards.example.com + # This can be problematic with avatars https://github.com/wekan/wekan/issues/1776 + # - https://example.com/wekan + # If without https, can be only wekan node, no need for Caddy/Nginx/Apache if you don't need them + # - http://example.com + # - http://boards.example.com + # - http://192.168.1.100 <=== using at local LAN + - ROOT_URL=http://localhost # <=== using only at same laptop/desktop where Wekan is installed + # ==== EMAIL SETTINGS ==== + # Email settings are required in both MAIL_URL and Admin Panel, + # see https://github.com/wekan/wekan/wiki/Troubleshooting-Mail + # For SSL in email, change smtp:// to smtps:// + # NOTE: Special characters need to be url-encoded in MAIL_URL. + # You can encode those characters for example at: https://www.urlencoder.org + - MAIL_URL=smtp://user:pass@mailserver.example.com:25/ + - MAIL_FROM='Example Wekan Support ' + #--------------------------------------------------------------- + # ==== OPTIONAL: MONGO OPLOG SETTINGS ===== + # https://github.com/wekan/wekan-mongodb/issues/2#issuecomment-378343587 + # We've fixed our CPU usage problem today with an environment + # change around Wekan. I wasn't aware during implementation + # that if you're using more than 1 instance of Wekan + # (or any MeteorJS based tool) you're supposed to set + # MONGO_OPLOG_URL as an environment variable. + # Without setting it, Meteor will perform a poll-and-diff + # update of it's dataset. With it, Meteor will update from + # the OPLOG. See here + # https://blog.meteor.com/tuning-meteor-mongo-livedata-for-scalability-13fe9deb8908 + # After setting + # MONGO_OPLOG_URL=mongodb://:@/local?authSource=admin&replicaSet=rsWekan + # the CPU usage for all Wekan instances dropped to an average + # of less than 10% with only occasional spikes to high usage + # (I guess when someone is doing a lot of work) + # - MONGO_OPLOG_URL=mongodb://:@/local?authSource=admin&replicaSet=rsWekan + #--------------------------------------------------------------- + # ==== OPTIONAL: KADIRA PERFORMANCE MONITORING FOR METEOR ==== + # https://github.com/smeijer/kadira + # https://blog.meteor.com/kadira-apm-is-now-open-source-490469ffc85f + # - export KADIRA_OPTIONS_ENDPOINT=http://127.0.0.1:11011 + #--------------------------------------------------------------- + # ==== OPTIONAL: LOGS AND STATS ==== + # https://github.com/wekan/wekan/wiki/Logs + # + # Daily export of Wekan changes as JSON to Logstash and ElasticSearch / Kibana (ELK) + # https://github.com/wekan/wekan-logstash + # + # Statistics Python script for Wekan Dashboard + # https://github.com/wekan/wekan-stats + # + # Console, file, and zulip logger on database changes https://github.com/wekan/wekan/pull/1010 + # with fix to replace console.log by winston logger https://github.com/wekan/wekan/pull/1033 + # but there could be bug https://github.com/wekan/wekan/issues/1094 + # + # There is Feature Request: Logging date and time of all activity with summary reports, + # and requesting reason for changing card to other column https://github.com/wekan/wekan/issues/1598 + #--------------------------------------------------------------- + # ==== WEKAN API AND EXPORT BOARD ==== + # Wekan Export Board works when WITH_API=true. + # https://github.com/wekan/wekan/wiki/REST-API + # https://github.com/wekan/wekan-gogs + # If you disable Wekan API with false, Export Board does not work. + - WITH_API=true + #--------------------------------------------------------------- + # ==== PASSWORD BRUTE FORCE PROTECTION ==== + #https://atmospherejs.com/lucasantoniassi/accounts-lockout + #Defaults below. Uncomment to change. wekan/server/accounts-lockout.js + #- ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURES_BEFORE=3 + #- ACCOUNTS_LOCKOUT_KNOWN_USERS_PERIOD=60 + #- ACCOUNTS_LOCKOUT_KNOWN_USERS_FAILURE_WINDOW=15 + #- ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURES_BERORE=3 + #- ACCOUNTS_LOCKOUT_UNKNOWN_USERS_LOCKOUT_PERIOD=60 + #- ACCOUNTS_LOCKOUT_UNKNOWN_USERS_FAILURE_WINDOW=15 + #--------------------------------------------------------------- + # ==== STORE ATTACHMENT ON SERVER FILESYSTEM INSTEAD OF MONGODB ==== + # https://github.com/wekan/wekan/pull/2603 + #- ATTACHMENTS_STORE_PATH = # pathname can be relative or fullpath + #--------------------------------------------------------------- + # ==== RICH TEXT EDITOR IN CARD COMMENTS ==== + # https://github.com/wekan/wekan/pull/2560 + - RICHER_CARD_COMMENT_EDITOR=false + #--------------------------------------------------------------- + # ==== MOUSE SCROLL ==== + # https://github.com/wekan/wekan/issues/2949 + - SCROLLINERTIA=0 + - SCROLLAMOUNT=auto + - SCROLLDELTAFACTOR=auto + #--------------------------------------------------------------- + # ==== CARD OPENED, SEND WEBHOOK MESSAGE ==== + # https://github.com/wekan/wekan/issues/2518 + - CARD_OPENED_WEBHOOK_ENABLED=false + #--------------------------------------------------------------- + # ==== Allow to shrink attached/pasted image ==== + # https://github.com/wekan/wekan/pull/2544 + #-MAX_IMAGE_PIXEL=1024 + #-IMAGE_COMPRESS_RATIO=80 + #--------------------------------------------------------------- + # ==== NOTIFICATION TRAY AFTER READ DAYS BEFORE REMOVE ===== + # Number of days after a notification is read before we remove it. + # Default: 2 + #- NOTIFICATION_TRAY_AFTER_READ_DAYS_BEFORE_REMOVE=2 + #--------------------------------------------------------------- + # ==== BIGEVENTS DUE ETC NOTIFICATIONS ===== + # https://github.com/wekan/wekan/pull/2541 + # Introduced a system env var BIGEVENTS_PATTERN default as "NONE", + # so any activityType matches the pattern, system will send out + # notifications to all board members no matter they are watching + # or tracking the board or not. Owner of the wekan server can + # disable the feature by setting this variable to "NONE" or + # change the pattern to any valid regex. i.e. '|' delimited + # activityType names. + # a) Example + #- BIGEVENTS_PATTERN=due + # b) All + #- BIGEVENTS_PATTERN=received|start|due|end + # c) Disabled + - BIGEVENTS_PATTERN=NONE + #--------------------------------------------------------------- + # ==== EMAIL DUE DATE NOTIFICATION ===== + # https://github.com/wekan/wekan/pull/2536 + # System timelines will be showing any user modification for + # dueat startat endat receivedat, also notification to + # the watchers and if any card is due, about due or past due. + # + # Notify due days, default 2 days before and after. 0 = due notifications disabled. Default: 2 + #- NOTIFY_DUE_DAYS_BEFORE_AND_AFTER=2 + # + # Notify due at hour of day. Default every morning at 8am. Can be 0-23. + # If env variable has parsing error, use default. Notification sent to watchers. + #- NOTIFY_DUE_AT_HOUR_OF_DAY=8 + #----------------------------------------------------------------- + # ==== EMAIL NOTIFICATION TIMEOUT, ms ===== + # Defaut: 30000 ms = 30s + #- EMAIL_NOTIFICATION_TIMEOUT=30000 + #----------------------------------------------------------------- + # ==== CORS ===== + # CORS: Set Access-Control-Allow-Origin header. Example: * + #- CORS=* + #----------------------------------------------------------------- + # ==== MATOMO INTEGRATION ==== + # Optional: Integration with Matomo https://matomo.org that is installed to your server + # The address of the server where Matomo is hosted. + # example: - MATOMO_ADDRESS=https://example.com/matomo + #- MATOMO_ADDRESS= + # The value of the site ID given in Matomo server for Wekan + # example: - MATOMO_SITE_ID=12345 + #- MATOMO_SITE_ID= + # The option do not track which enables users to not be tracked by matomo + # example: - MATOMO_DO_NOT_TRACK=false + #- MATOMO_DO_NOT_TRACK= + # The option that allows matomo to retrieve the username: + # example: MATOMO_WITH_USERNAME=true + #- MATOMO_WITH_USERNAME=false + #----------------------------------------------------------------- + # ==== BROWSER POLICY AND TRUSTED IFRAME URL ==== + # Enable browser policy and allow one trusted URL that can have iframe that has Wekan embedded inside. + # Setting this to false is not recommended, it also disables all other browser policy protections + # and allows all iframing etc. See wekan/server/policy.js + - BROWSER_POLICY_ENABLED=true + # When browser policy is enabled, HTML code at this Trusted URL can have iframe that embeds Wekan inside. + #- TRUSTED_URL= + #----------------------------------------------------------------- + # ==== OUTGOING WEBHOOKS ==== + # What to send to Outgoing Webhook, or leave out. Example, that includes all that are default: cardId,listId,oldListId,boardId,comment,user,card,commentId . + # example: WEBHOOKS_ATTRIBUTES=cardId,listId,oldListId,boardId,comment,user,card,commentId + #- WEBHOOKS_ATTRIBUTES= + #----------------------------------------------------------------- + # ==== OAUTH2 ONLY WITH OIDC AND DOORKEEPER AS INDENTITY PROVIDER + # https://github.com/wekan/wekan/issues/1874 + # https://github.com/wekan/wekan/wiki/OAuth2 + # Enable the OAuth2 connection + # example: OAUTH2_ENABLED=true + #- OAUTH2_ENABLED=false + # OAuth2 docs: https://github.com/wekan/wekan/wiki/OAuth2 + # OAuth2 Client ID, for example from Rocket.Chat. Example: abcde12345 + # example: OAUTH2_CLIENT_ID=abcde12345 + #- OAUTH2_CLIENT_ID= + # OAuth2 Secret, for example from Rocket.Chat: Example: 54321abcde + # example: OAUTH2_SECRET=54321abcde + #- OAUTH2_SECRET= + # OAuth2 Server URL, for example Rocket.Chat. Example: https://chat.example.com + # example: OAUTH2_SERVER_URL=https://chat.example.com + #- OAUTH2_SERVER_URL= + # OAuth2 Authorization Endpoint. Example: /oauth/authorize + # example: OAUTH2_AUTH_ENDPOINT=/oauth/authorize + #- OAUTH2_AUTH_ENDPOINT= + # OAuth2 Userinfo Endpoint. Example: /oauth/userinfo + # example: OAUTH2_USERINFO_ENDPOINT=/oauth/userinfo + #- OAUTH2_USERINFO_ENDPOINT= + # OAuth2 Token Endpoint. Example: /oauth/token + # example: OAUTH2_TOKEN_ENDPOINT=/oauth/token + #- OAUTH2_TOKEN_ENDPOINT= + #----------------------------------------------------------------- + # ==== LDAP ==== + # https://github.com/wekan/wekan/wiki/LDAP + # For Snap settings see https://github.com/wekan/wekan-snap/wiki/Supported-settings-keys + # Most settings work both on Snap and Docker below. + # Note: Do not add single quotes '' to variables. Having spaces still works without quotes where required. + # + # DEFAULT_AUTHENTICATION_METHOD : The default authentication method used if a user does not exist to create and authenticate. Can be set as ldap. + # example : DEFAULT_AUTHENTICATION_METHOD=ldap + #- DEFAULT_AUTHENTICATION_METHOD= + # + # LDAP_ENABLE : Enable or not the connection by the LDAP + # example : LDAP_ENABLE=true + #- LDAP_ENABLE=false + # + # LDAP_PORT : The port of the LDAP server + # example : LDAP_PORT=389 + #- LDAP_PORT=389 + # + # LDAP_HOST : The host server for the LDAP server + # example : LDAP_HOST=localhost + #- LDAP_HOST= + # + # LDAP_BASEDN : The base DN for the LDAP Tree + # example : LDAP_BASEDN=ou=user,dc=example,dc=org + #- LDAP_BASEDN= + # + # LDAP_LOGIN_FALLBACK : Fallback on the default authentication method + # example : LDAP_LOGIN_FALLBACK=true + #- LDAP_LOGIN_FALLBACK=false + # + # LDAP_RECONNECT : Reconnect to the server if the connection is lost + # example : LDAP_RECONNECT=false + #- LDAP_RECONNECT=true + # + # LDAP_TIMEOUT : Overall timeout, in milliseconds + # example : LDAP_TIMEOUT=12345 + #- LDAP_TIMEOUT=10000 + # + # LDAP_IDLE_TIMEOUT : Specifies the timeout for idle LDAP connections in milliseconds + # example : LDAP_IDLE_TIMEOUT=12345 + #- LDAP_IDLE_TIMEOUT=10000 + # + # LDAP_CONNECT_TIMEOUT : Connection timeout, in milliseconds + # example : LDAP_CONNECT_TIMEOUT=12345 + #- LDAP_CONNECT_TIMEOUT=10000 + # + # LDAP_AUTHENTIFICATION : If the LDAP needs a user account to search + # example : LDAP_AUTHENTIFICATION=true + #- LDAP_AUTHENTIFICATION=false + # + # LDAP_AUTHENTIFICATION_USERDN : The search user DN + # example : LDAP_AUTHENTIFICATION_USERDN=cn=admin,dc=example,dc=org + #- LDAP_AUTHENTIFICATION_USERDN= + # + # LDAP_AUTHENTIFICATION_PASSWORD : The password for the search user + # example : AUTHENTIFICATION_PASSWORD=admin + #- LDAP_AUTHENTIFICATION_PASSWORD= + # + # LDAP_LOG_ENABLED : Enable logs for the module + # example : LDAP_LOG_ENABLED=true + #- LDAP_LOG_ENABLED=false + # + # LDAP_BACKGROUND_SYNC : If the sync of the users should be done in the background + # example : LDAP_BACKGROUND_SYNC=true + #- LDAP_BACKGROUND_SYNC=false + # + # At which interval does the background task sync. + # The format must be as specified in: + # https://bunkat.github.io/later/parsers.html#text + #- LDAP_BACKGROUND_SYNC_INTERVAL='every 1 hour' + # + # LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED : + # example : LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED=true + #- LDAP_BACKGROUND_SYNC_KEEP_EXISTANT_USERS_UPDATED=false + # + # LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS : + # example : LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS=true + #- LDAP_BACKGROUND_SYNC_IMPORT_NEW_USERS=false + # + # LDAP_ENCRYPTION : If using LDAPS + # example : LDAP_ENCRYPTION=ssl + #- LDAP_ENCRYPTION=false + # + # LDAP_CA_CERT : The certification for the LDAPS server. Certificate needs to be included in this docker-compose.yml file. + # example : LDAP_CA_CERT=-----BEGIN CERTIFICATE-----MIIE+zCCA+OgAwIBAgIkAhwR/6TVLmdRY6hHxvUFWc0+Enmu/Hu6cj+G2FIdAgIC...-----END CERTIFICATE----- + #- LDAP_CA_CERT= + # + # LDAP_REJECT_UNAUTHORIZED : Reject Unauthorized Certificate + # example : LDAP_REJECT_UNAUTHORIZED=true + #- LDAP_REJECT_UNAUTHORIZED=false + # + # LDAP_USER_SEARCH_FILTER : Optional extra LDAP filters. Don't forget the outmost enclosing parentheses if needed + # example : LDAP_USER_SEARCH_FILTER= + #- LDAP_USER_SEARCH_FILTER= + # + # LDAP_USER_SEARCH_SCOPE : base (search only in the provided DN), one (search only in the provided DN and one level deep), or sub (search the whole subtree) + # example : LDAP_USER_SEARCH_SCOPE=one + #- LDAP_USER_SEARCH_SCOPE= + # + # LDAP_USER_SEARCH_FIELD : Which field is used to find the user + # example : LDAP_USER_SEARCH_FIELD=uid + #- LDAP_USER_SEARCH_FIELD= + # + # LDAP_SEARCH_PAGE_SIZE : Used for pagination (0=unlimited) + # example : LDAP_SEARCH_PAGE_SIZE=12345 + #- LDAP_SEARCH_PAGE_SIZE=0 + # + # LDAP_SEARCH_SIZE_LIMIT : The limit number of entries (0=unlimited) + # example : LDAP_SEARCH_SIZE_LIMIT=12345 + #- LDAP_SEARCH_SIZE_LIMIT=0 + # + # LDAP_GROUP_FILTER_ENABLE : Enable group filtering. Note the authenticated ldap user must be able to query all relevant group data with own login data from ldap + # example : LDAP_GROUP_FILTER_ENABLE=true + #- LDAP_GROUP_FILTER_ENABLE=false + # + # LDAP_GROUP_FILTER_OBJECTCLASS : The object class for filtering + # example : LDAP_GROUP_FILTER_OBJECTCLASS=group + #- LDAP_GROUP_FILTER_OBJECTCLASS= + # + # LDAP_GROUP_FILTER_GROUP_ID_ATTRIBUTE : The attribute of a group identifying it + # example : LDAP_GROUP_FILTER_GROUP_ID_ATTRIBUTE=cn + #- LDAP_GROUP_FILTER_GROUP_ID_ATTRIBUTE= + # + # LDAP_GROUP_FILTER_GROUP_MEMBER_ATTRIBUTE : The attribute inside a group object listing its members + # example : member + #- LDAP_GROUP_FILTER_GROUP_MEMBER_ATTRIBUTE= + # + # LDAP_GROUP_FILTER_GROUP_MEMBER_FORMAT : The format of the value of LDAP_GROUP_FILTER_GROUP_MEMBER_ATTRIBUTE + # example : dn + #- LDAP_GROUP_FILTER_GROUP_MEMBER_FORMAT= + # + # LDAP_GROUP_FILTER_GROUP_NAME : The group name (id) that matches all users + # example : wekan_users + #- LDAP_GROUP_FILTER_GROUP_NAME= + # + # LDAP_UNIQUE_IDENTIFIER_FIELD : This field is sometimes class GUID (Globally Unique Identifier) + # example : LDAP_UNIQUE_IDENTIFIER_FIELD=guid + #- LDAP_UNIQUE_IDENTIFIER_FIELD= + # + # LDAP_UTF8_NAMES_SLUGIFY : Convert the username to utf8 + # example : LDAP_UTF8_NAMES_SLUGIFY=false + #- LDAP_UTF8_NAMES_SLUGIFY=true + # + # LDAP_USERNAME_FIELD : Which field contains the ldap username + # example : LDAP_USERNAME_FIELD=username + #- LDAP_USERNAME_FIELD= + # + # LDAP_FULLNAME_FIELD : Which field contains the ldap fullname + # example : LDAP_FULLNAME_FIELD=fullname + #- LDAP_FULLNAME_FIELD= + # + # LDAP_MERGE_EXISTING_USERS : + # example : LDAP_MERGE_EXISTING_USERS=true + #- LDAP_MERGE_EXISTING_USERS=false + #----------------------------------------------------------------- + # LDAP_SYNC_USER_DATA : + # example : LDAP_SYNC_USER_DATA=true + #- LDAP_SYNC_USER_DATA=false + # + # LDAP_SYNC_USER_DATA_FIELDMAP : + # example : LDAP_SYNC_USER_DATA_FIELDMAP={"cn":"name", "mail":"email"} + #- LDAP_SYNC_USER_DATA_FIELDMAP= + # + # LDAP_SYNC_GROUP_ROLES : + # example : + #- LDAP_SYNC_GROUP_ROLES= + # + # LDAP_DEFAULT_DOMAIN : The default domain of the ldap it is used to create email if the field is not map correctly with the LDAP_SYNC_USER_DATA_FIELDMAP + # example : + #- LDAP_DEFAULT_DOMAIN= + #--------------------------------------------------------------------- + # ==== LOGOUT TIMER, probably does not work yet ==== + # LOGOUT_WITH_TIMER : Enables or not the option logout with timer + # example : LOGOUT_WITH_TIMER=true + #- LOGOUT_WITH_TIMER= + # + # LOGOUT_IN : The number of days + # example : LOGOUT_IN=1 + #- LOGOUT_IN= + # + # LOGOUT_ON_HOURS : The number of hours + # example : LOGOUT_ON_HOURS=9 + #- LOGOUT_ON_HOURS= + # + # LOGOUT_ON_MINUTES : The number of minutes + # example : LOGOUT_ON_MINUTES=55 + #- LOGOUT_ON_MINUTES= + #--------------------------------------------------------------------- + # PASSWORD_LOGIN_ENABLED : Enable or not the password login form. + # example: PASSWORD_LOGIN_ENABLED=false + # - PASSWORD_LOGIN_ENABLED + #------------------------------------------------------------------- + + + depends_on: + - mongodb + +#--------------------------------------------------------------------------------- +# ==== OPTIONAL: SHARE DATABASE TO OFFICE LAN AND REMOTE VPN ==== +# When using Wekan both at office LAN and remote VPN: +# 1) Have above Wekan docker container config with LAN IP address +# 2) Copy all of above wekan container config below, look above of this part above and all config below it, +# before above depends_on: part: +# +# wekan: +# #------------------------------------------------------------------------------------- +# # ==== MONGODB AND METEOR VERSION ==== +# # a) For Wekan Meteor 1.8.x version at meteor-1.8 branch, ..... +# +# +# and change name to different name like wekan2 or wekanvpn, and change ROOT_URL to server VPN IP +# address. +# 3) This way both Wekan containers can use same MongoDB database +# and see the same Wekan boards. +# 4) You could also add 3rd Wekan container for 3rd network etc. +# EXAMPLE: +# wekan2: +# ....COPY CONFIG FROM ABOVE TO HERE... +# environment: +# - ROOT_URL='http://10.10.10.10' +# ...COPY CONFIG FROM ABOVE TO HERE... +#--------------------------------------------------------------------------------- + +volumes: + mongodb: + driver: local + mongodb-dump: + driver: local + +networks: + wekan-tier: + driver: bridge diff --git a/wekan-dockerfile-manifest.yaml b/wekan-dockerfile-manifest.yaml new file mode 100644 index 0000000..9242f7d --- /dev/null +++ b/wekan-dockerfile-manifest.yaml @@ -0,0 +1,11 @@ +image: quay.io/wekan/wekan +manifests: + - image: quay.io/wekan/wekan:amd64 + platform: + architecture: amd64 + os: linux + - image: quay.io/wekan/wekan:arm64v8 + platform: + architecture: arm64 + os: linux + variant: v8