Commit graph

576 commits

Author SHA1 Message Date
Tomas Bures
34823cf0cf Seeming working (though not very thoroughly tested) granular access control for reports, report templates and namespaces.
Should work both in local auth case and LDAP auth case.
2017-07-27 22:41:25 +03:00
Tomas Bures
89256d62bd WiP on permissions
Table of shares per user
2017-07-27 17:11:22 +03:00
Tomas Bures
89c9615592 WiP on permissions
Doesn't run. This commit is just to backup the changes.
2017-07-26 22:42:05 +03:00
Tomas Bures
5df444f641 Computation of permissions seems to somehow work. 2017-07-25 02:14:17 +03:00
Tomas Bures
e7bdfb7745 Namespace selection for users, reports and report-templates 2017-07-24 14:43:32 +03:00
Tomas Bures
4822a50d0b Share report template functionality 2017-07-24 07:03:32 +03:00
Tomas Bures
e6ad0e239e Typo fix 2017-07-14 07:54:06 +02:00
Tomas Bures
d63eed9ca9 Reports ported to ReactJS and Knex
Note that the interface for the custom JS code inside a report template has changed. It now offers promise-based interface and exposes knex.
2017-07-13 13:27:03 +02:00
Tomas Bures
6d95fa515e CUD operations on reports and report templates seem to work
Execution of reports is TBD
2017-07-11 11:28:44 +02:00
Tomas Bures
38cf3e49c0 DataTables-based dropdown 2017-07-10 17:37:56 +02:00
Tomas Bures
0c860456a6 Fixes in the API doc 2017-07-09 23:39:48 +02:00
Tomas Bures
ad1e4c58f5 Merge branch 'master' of github.com:Mailtrain-org/mailtrain into access
Conflicts:
	views/users/api.hbs
2017-07-09 23:34:03 +02:00
Tomas Bures
3f7b428546 Reports halfway through
Datatable now correctly handles the situation when user is not logged in and access protected resources
2017-07-09 23:16:47 +02:00
Tomas Bures
aba42d94ac Reports halfway through.
Editing report parameters and execution/monitoring of reports is TBD.
2017-07-09 22:38:57 +02:00
Tomas Bures
d4cea46f07 Report templates ported to ReactJS and Knex.
Does not run yet because reports have dependencies on the old report templates.
2017-07-09 15:41:53 +02:00
Tomas Bures
be7da791db LDAP auth seems to work too.
Users completely refactored to ReactJS and Knex
Initial draft of call context passing (for the time being only in users:remove
2017-07-08 21:34:26 +02:00
Tomas Bures
9758b4b104 Local auth seems to work 2017-07-08 18:57:41 +02:00
Tomas Bures
d79bbad575 All about user login
Not runnable at the moment
2017-07-08 15:48:34 +02:00
witzig
bd570000e1 Added documentation for API endpoint /api/field/:listId
This has accidentally been removed with PR #203.
2017-07-06 15:08:35 +02:00
Roger Witzig
622a23959b Merge pull request #274 from Roost/master
Fixed an issue where API dates were not correctly being triggered. #273
2017-07-04 00:54:44 +02:00
Bruce Mackintosh
191dc7b541 Changed the trigger treshold value from 6 hours to 24 hours, so that dates stored via the API as 00:00:00 are correctly picked up and added to the queue. 2017-07-03 19:44:45 +01:00
witzig
f0e32ef5a5 Added note about blacklist, #272 2017-07-01 01:50:50 +02:00
Tomas Bures
fbb8f5799e React-based /account endpoint for editing a user profile 2017-06-30 16:11:02 +02:00
Tomas Bures
09fe27fe2b Fix - initForm can be used also without arguments if server validation is not needed 2017-06-29 23:36:05 +02:00
Tomas Bures
eb2287f6e9 Release candidate of basic user management - currently only CRUD on users, no permission assignment. 2017-06-29 23:22:33 +02:00
Roger Witzig
020b29ce9c Merge pull request #255 from tiangolo/feature/docker-nodejs
Docker updates
2017-06-28 22:27:36 +02:00
Sebastián Ramírez
ead3dbbfb3 Update Dockerfile to avoid file system permission issues 2017-06-24 19:40:43 -05:00
Sebastián Ramírez
8d56f0763e Use production.toml for reports when it exists in config 2017-06-24 18:49:35 -05:00
Sebastián Ramírez
58f607ffc4 Add to .gitignore files that should not be commited 2017-06-24 18:32:29 -05:00
Sebastián Ramírez
fb3d37cfc0 Update README 2017-06-24 18:31:57 -05:00
Sebastián Ramírez
5229f6edaf Add volume for reports 2017-06-24 18:22:38 -05:00
Sebastián Ramírez
fb6b98a618 Make docker-compose.override.yml a template 2017-06-24 18:20:15 -05:00
Sebastián Ramírez
31565f4cab Add node_modules to .dockerignore to avoid unneeded building time / overhead 2017-06-24 18:17:34 -05:00
Sebastián Ramírez
54f65c506e Update Dockerfile, order installs, NODE_ENV, add entrypoint 2017-06-24 18:17:00 -05:00
Sebastián Ramírez
f142175917 Add entrypoint that copies production configs 2017-06-24 18:15:52 -05:00
Sebastián Ramírez
1ff4676811 Update Docker config template 2017-06-24 18:14:54 -05:00
Roger Witzig
2e224ea057 Merge pull request #264 from Mailtrain-org/afanjul-spanish-translation
Added spanish es_ES translations
2017-06-23 23:07:18 +02:00
Francisco Lapuente
60c446b910 Added spanish es_ES translations 2017-06-23 22:57:48 +02:00
witzig
8b74730d08 Fixed remaining eslint errors for services/**/*.js 2017-06-22 18:29:42 +02:00
witzig
c7ba0235c5 Satisfy eslint rule indent 2017-06-22 18:25:13 +02:00
witzig
44ab04624b Satisfy eslint rule linebreak-style 2017-06-22 18:25:13 +02:00
witzig
f73eb026b6 Fixed possible bug: callback called twice 2017-06-22 18:16:26 +02:00
witzig
963aef53b5 Don't close the VERP Server on error. And improved error reporting.
Based on https://git.io/vQLS7 , I believe the change introduced in
https://git.io/vQL7u "server.close()" to be in error, and intended to
close one connection, like it’s handled in https://git.io/vQLSF

Perhaps SMTPServer isn't even meant to throw ECONNRESET and EPIPE in
the first place.
2017-06-22 18:00:13 +02:00
witzig
277b2cadf5 Fixed bug #261 2017-06-21 17:28:56 +02:00
Tomas Bures
e7856bfb73 Merge branch 'master' of github.com:Mailtrain-org/mailtrain into access 2017-06-21 02:16:28 +02:00
Tomas Bures
c81f5544e6 Added support for Datatables
Added support for ajax-based server side validation (useful for validation of emails, duplicate usernames, etc.)
User form more or less ready in the basic version (i.e. without permission management)
2017-06-21 02:14:14 +02:00
witzig
2b2bda0944 Fixed/reverted Mosaico social icons
Note: The 404’s logged by Mosaico are ‚normal‘ as it tries the relative
path before resolving the URL based on the template directory.
2017-06-20 21:27:51 +02:00
witzig
3c4558d70c Refactored and linted editorapi image handling 2017-06-20 19:08:14 +02:00
Andris Reinman
ac63e934ec Merge pull request #259 from Mailtrain-org/remove_ads
Removed ads from code
2017-06-20 16:53:22 +03:00
Andris Reinman
8b900a9c44 Removed ads from code 2017-06-20 16:47:25 +03:00