summaryrefslogtreecommitdiffstats
path: root/sandstorm.js
Commit message (Collapse)AuthorAgeFilesLines
* fix updateUserPermissions() on SandstormDavid Renshaw2017-04-041-1/+2
| | | | | | | The new isCommentOnly property needs to be set when Sandstorm updates user permissions, because otherwise a schema validation error occurs and users never get added as members of boards.
* hack to avoid 'board not found' problem in SandstormDavid Renshaw2016-11-221-0/+7
|
* [sandstorm]: fix bug where an identity that fails to restore could not be ↵David Renshaw2016-11-151-2/+3
| | | | added to a card
* Fix bug where share-by-powerbox could fail if the recipient's displayDavid Renshaw2016-11-081-1/+1
| | | | name was the same as an existing user's handle.
* Make sure identities resolve before sending them to activity().David Renshaw2016-11-031-6/+11
|
* Integration with Sandstorm events/notifications.David Renshaw2016-11-031-1/+102
|
* Prevent the capnproto connection from getting garbage collected.David Renshaw2016-11-031-1/+2
|
* powerbox identity requestsDavid Renshaw2016-11-031-0/+144
|
* Fix updating of permissions and profile.David Renshaw2016-11-031-23/+23
|
* Update some meta-dataMaxime Quandalle2016-01-021-4/+4
| | | | | | New site url New contact email New year!
* Fix avatar support on SanstormMaxime Quandalle2015-12-301-1/+14
| | | | | | | | | | The bug comes for 9154b06 which this commit partially reverts. The synchronization between the user document profile and the Sandstorm HTTP headers is still not perfect. Having a clean model may requires the `accounts-sandstorm` to expose a hook to modify the user document just after the `services.sandstorm` credentials are updated. Fixes #460
* Share the router configuration between the client and the serverMaxime Quandalle2015-12-281-4/+2
|
* Partially revert aae5030Maxime Quandalle2015-12-241-1/+1
| | | | | | | As discussed in #370 and announced in the official Eslint-meteor plugin repository (https://github.com/dferber90/eslint-plugin-meteor), it is recommended to not use this plugin anymore has the author has it is currently broken and the author has abandoned it.
* Allow the header bar customizationMaxime Quandalle2015-12-091-17/+29
| | | | | This commit also provide a way to escape the Shorcuts page on Sandstorm.
* Sync Sandstorm URL and page title with the inner Wekan grainMaxime Quandalle2015-11-271-2/+18
| | | | | | | The page title synchronization required implementing reactivity in the kadira:dochead package, see https://github.com/kadirahq/meteor-dochead/pull/25 Closes #403.
* Improve Sandstorm usernames managementMaxime Quandalle2015-11-111-5/+28
| | | | | | | | We now use the `preferredHandle` exposed by Sandstorm as source for the username and append a number if the username is already taken since we need to ensure username uniqueness (eg 'max', 'max1', 'max2') Fixes #352
* Add eslint-plugin-meteorDominik Ferber2015-10-271-1/+1
| | | | | | | | Add rules for eslint-plugin-meteor. Use local version of eslint and eslint-plugin-meteor, instead of relying on global versions. Ensures consistent versions of eslint and eslint-plugin-meteor for all developers.
* Upgrade Meteor to 1.2.1-rc4Maxime Quandalle2015-10-231-1/+1
| | | | | | This version includes a more complete selection of ES2015 polyfills that I started used across the code base, for instance by replacing `$.trim(str)` by `str.trim()`.
* Upgrade kenton:accounts-sandstorm package to 0.1.6Maxime Quandalle2015-10-211-19/+9
| | | | | We now delegates more user attributes sync (avatar and permissions) to this package instead of doing it ourselves.
* Enforce "public" visibility for Sandstorm boardsMaxime Quandalle2015-10-131-0/+9
| | | | Fixes #346
* Centralize all mutations at the model levelMaxime Quandalle2015-09-081-5/+1
| | | | | | | | | | | | | | | This commit uses a new package that I need to document. It tries to solve the long-standing debate in the Meteor community about allow/deny rules versus methods (RPC). This approach gives us both the centralized security rules of allow/deny and the white-list of allowed mutations similarly to Meteor methods. The idea to have static mutation descriptions is also inspired by Facebook's Relay/GraphQL. This will allow the development of a REST API using the high-level methods instead of the MongoDB queries to do the mapping between the HTTP requests and our collections.
* Support avatars and improve permissions integration on sandstormMaxime Quandalle2015-09-051-65/+81
| | | | | | | We now update the internal state of the application every time a user connects to the application, which means that if the sandstorm sharing graph has changed since the last time we saw a user, his permissions will be updated accordingly.
* Enforce a consistent ES6 coding styleMaxime Quandalle2015-09-031-30/+28
| | | | | | | | | Replace the old (and broken) jshint + jscsrc by eslint and configure it to support some of the ES6 features. The command `eslint` currently has one error which is a bug that was discovered by its static analysis and should be fixed (usage of a dead object).
* Call me WekanMaxime Quandalle2015-08-281-1/+1
| | | | | | Thank you @neynah for the Wekan icons Closes #247
* Start the migration from iron-router to flow-routerMaxime Quandalle2015-08-231-6/+6
| | | | | | | | | | | | | | | | | | | Motivations: * Iron-Router foces us to use Tracker.nonreactive black magic in order to avoid un-necessary re-renders; * There is a community consensus (supported by some MDG members) that the flow-router API is easier to reason about; * The useraccounts now supports flow router (that was a blocking element when I considered the switch ~3months ago) On the server we use the Picker router, as encouraged by the Kadira team (which develop both Flow and Picker routers). In the current state of things there are some bugs related to the missing Loading architecure. Previously onRendered callback where always called when the data the component needed was available, now we have to handle this ourselves, which we will in a following commit.
* Work on the user account systemMaxime Quandalle2015-06-031-4/+0
| | | | | | | | Allow a user to modifies its name, username, initials, and password. Fixes username handling on sandstorm. Fixes #149.
* UI improvementsMaxime Quandalle2015-05-271-1/+1
| | | | | | | | | | | | | | | | | | * Implement visibility choice on board creation; * Rework the board header bar. Remove links to un-implemented features; * Implement a board star counter (visible if the board have >2 stars); * Define a new icon (a thin cross) to close elements; * Remove $(document).on('mouseover') event handlers that were basically fired hundreds of times for nothing, we now define a proper Tracker dependency to execute jquery-ui plugin initialization only when something has changed; * Bug fixes related to list scrolling.
* Upgrade sandstorm integrationMaxime Quandalle2015-05-261-39/+62
| | | | | | | | | | | | Both sandstorm and LibreBoard have significantly evolved since the last release of LibreBoard on sandstorm. This commit: * adds some more attributes on the sandstorm manifest * introduces support with the sandstorm sharing box * uses a server redirection to point to the board document * hides the top shortcut bar on sandstorm Fixes #163.
* RenaissanceMaxime Quandalle2015-05-121-0/+94
_,,ad8888888888bba,_ ,ad88888I888888888888888ba, ,88888888I88888888888888888888a, ,d888888888I8888888888888888888888b, d88888PP"""" ""YY88888888888888888888b, ,d88"'__,,--------,,,,.;ZZZY8888888888888, ,8IIl'" ;;l"ZZZIII8888888888, ,I88l;' ;lZZZZZ888III8888888, ,II88Zl;. ;llZZZZZ888888I888888, ,II888Zl;. .;;;;;lllZZZ888888I8888b ,II8888Z;; `;;;;;''llZZ8888888I8888, II88888Z;' .;lZZZ8888888I888b II88888Z; _,aaa, .,aaaaa,__.l;llZZZ88888888I888 II88888IZZZZZZZZZ, .ZZZZZZZZZZZZZZ;llZZ88888888I888, II88888IZZ<'(@@>Z| |ZZZ<'(@@>ZZZZ;;llZZ888888888I88I ,II88888; `""" ;| |ZZ; `""" ;;llZ8888888888I888 II888888l `;; .;llZZ8888888888I888, ,II888888Z; ;;; .;;llZZZ8888888888I888I III888888Zl; .., `;; ,;;lllZZZ88888888888I888 II88888888Z;;...;(_ _) ,;;;llZZZZ88888888888I888, II88888888Zl;;;;;' `--'Z;. .,;;;;llZZZZ88888888888I888b ]I888888888Z;;;;' ";llllll;..;;;lllZZZZ88888888888I8888, II888888888Zl.;;"Y88bd888P";;,..;lllZZZZZ88888888888I8888I II8888888888Zl;.; `"PPP";;;,..;lllZZZZZZZ88888888888I88888 II888888888888Zl;;. `;;;l;;;;lllZZZZZZZZW88888888888I88888 `II8888888888888Zl;. ,;;lllZZZZZZZZWMZ88888888888I88888 II8888888888888888ZbaalllZZZZZZZZZWWMZZZ8888888888I888888, `II88888888888888888b"WWZZZZZWWWMMZZZZZZI888888888I888888b `II88888888888888888;ZZMMMMMMZZZZZZZZllI888888888I8888888 `II8888888888888888 `;lZZZZZZZZZZZlllll888888888I8888888, II8888888888888888, `;lllZZZZllllll;;.Y88888888I8888888b, ,II8888888888888888b .;;lllllll;;;.;..88888888I88888888b, II888888888888888PZI;. .`;;;.;;;..; ...88888888I8888888888, II888888888888PZ;;';;. ;. .;. .;. .. Y8888888I88888888888b, ,II888888888PZ;;' `8888888I8888888888888b, II888888888' 888888I8888888888888888 ,II888888888 ,888888I8888888888888888 ,d88888888888 d888888I8888888888ZZZZZZ ,ad888888888888I 8888888I8888ZZZZZZZZZZZZ 888888888888888' 888888IZZZZZZZZZZZZZZZZZ 8888888888P'8P' Y888ZZZZZZZZZZZZZZZZZZZZ 888888888, " ,ZZZZZZZZZZZZZZZZZZZZZZZ 8888888888, ,ZZZZZZZZZZZZZZZZZZZZZZZZZZ 888888888888a, _ ,ZZZZZZZZZZZZZZZZZZZZ88888888 888888888888888ba,_d' ,ZZZZZZZZZZZZZZZZZ8888888888888 8888888888888888888888bbbaaa,,,______,ZZZZZZZZZZZZZZZ88888888888888888 88888888888888888888888888888888888ZZZZZZZZZZZZZZZ88888888888888888888 8888888888888888888888888888888888ZZZZZZZZZZZZZZ8888888888888888888888 888888888888888888888888888888888ZZZZZZZZZZZZZZ88888888888888888888888 8888888888888888888888888888888ZZZZZZZZZZZZZZ8888888888888888888888888 88888888888888888888888888888ZZZZZZZZZZZZZZ888888888888888888888888888 8888888888888888888888888888ZZZZZZZZZZZZZZ88888888888888888 Normand 8 88888888888888888888888888ZZZZZZZZZZZZZZ8888888888888888888 Veilleux 8 8888888888888888888888888ZZZZZZZZZZZZZZ8888888888888888888888888888888