3
0

1174 Commits

Author SHA1 Message Date
Denis Arh
70cac41579 Enhance user filtering
New response structure
Use query-builder
Refactor user service & repo
2019-06-26 17:45:26 +02:00
Denis Arh
4433ef2c37 Add success message to system REST endpoints (delete, suspend...) 2019-06-26 13:32:07 +02:00
Denis Arh
118d8292ba Improve unread support for frontend (precounts etc...) 2019-06-26 10:46:07 +02:00
Denis Arh
3744bc9636 Minor unread fixes (do not serve count=0, proper filtering when counting) 2019-06-26 09:04:10 +02:00
Denis Arh
1b6fafa743 Enhance page tree payload with access control data 2019-06-25 20:15:53 +02:00
Denis Arh
08947f2b9b Add namespace.manage permission rule
UI needs to know if user can access admin pages and manage specific namespace
Administrators (role) get this permission in the preset
2019-06-25 19:13:59 +02:00
Denis Arh
49f55fd327 Do not include deleted channels in the list 2019-06-25 13:00:36 +02:00
Denis Arh
bb447ee795 Chan & thread unread fixes 2019-06-25 08:45:22 +02:00
Denis Arh
95758fb689 Do not send channel event on membership flag is set/removed 2019-06-21 14:53:54 +02:00
Denis Arh
8309e6e710 Fix multival (string) requst param parsing (for POST) 2019-06-21 14:23:12 +02:00
Denis Arh
b7f78cdf91 Fix multival (string) request param parsing 2019-06-20 11:04:30 +02:00
Denis Arh
05429d1192 Link directly to .../pages when auto-adding CRM app 2019-06-20 09:58:00 +02:00
Denis Arh
431bafd44a Fix SMTP_USER env variable 2019-06-20 09:41:06 +02:00
Denis Arh
2e9e48f873 Add settings exporting capabilities 2019-06-19 19:50:46 +02:00
Denis Arh
10f124a008 Fix auto-promotion of the first user 2019-06-19 19:20:03 +02:00
Denis Arh
1960fd7a51 Add default app creation on setup 2019-06-19 18:26:52 +02:00
Denis Arh
6020381de1 Extract autosetup code for compose and system 2019-06-19 17:53:20 +02:00
Denis Arh
ac98a62593 Add default channel creation on setup 2019-06-19 17:53:20 +02:00
Denis Arh
6456a5b78a Extract autosetup 2019-06-19 17:53:20 +02:00
Denis Arh
6f20e713b0 Refresh .env.example 2019-06-19 17:53:20 +02:00
Denis Arh
837ce2514f Generate JWT secret when env var is empty 2019-06-19 17:53:20 +02:00
Mia Arh
59d315c079
Update README.md 2019-05-30 13:15:12 +02:00
Denis Arh
a8ae581e8f Cleaner CLI options definition (env keys as tags) 2019-05-30 02:08:01 +02:00
Denis Arh
8592aa8d35 Remove flags, improve ENV handling
Following https://12factor.net/config, Corteza internals are now configurable
ONLT via environmental variables.

See .env.example for details
2019-05-30 01:04:07 +02:00
Denis Arh
ba1118eb4f Update documentation 2019-05-29 22:42:42 +02:00
Denis Arh
328bdeda07 Update mocks & tests 2019-05-28 20:53:35 +02:00
Denis Arh
c23e04440c Add goth init to api server pre-run flow 2019-05-28 20:50:33 +02:00
Denis Arh
bc64abca3f Add auto-enable to OIDC auto-discovery command
Auth auto-discovery command can now be called with --enable
switch to enable discovered provider AND entire external
auth
2019-05-28 20:50:05 +02:00
Denis Arh
e338b0e2c1 Improve handling of settings from CLI
- settings list: aligned values
 - support importing settings from STDIN or file
 - support removal of multiple settings at the same time
2019-05-28 20:47:49 +02:00
Denis Arh
22724b11cf Better error/exit handling in CLI 2019-05-28 19:55:43 +02:00
Denis Arh
8e98ba4cb0 Auto-promote user on sign-up to admin if there are no valid users 2019-05-28 19:35:38 +02:00
Denis Arh
9ac42647b9 Fix realize watch paths 2019-05-28 19:34:39 +02:00
Denis Arh
bf5ecad7b6 Update README.md, product intro text 2019-05-28 18:59:09 +02:00
Denis Arh
4d06b3e942 Improve logging info when connecting to the database 2019-05-28 18:56:37 +02:00
Denis Arh
1f8c2930c3 Fix integration tests 2019-05-28 12:51:46 +02:00
Denis Arh
6c6728a642 Fix .drone.yml image tag 2019-05-28 11:17:43 +02:00
Denis Arh
5c750fb7cf Fix handler/request codegens
Missing return caused malformed response output:
{"error":{"message":"invalid username/password combination"}}{"response":false}

Remove param logging when params.Fill() returns an error
2019-05-28 10:51:56 +02:00
Denis Arh
22476933f4 Improve cli env setup & running 2019-05-26 08:41:20 +02:00
Denis Arh
36b32fa2fe Move logger package from internal to pkg 2019-05-24 13:30:48 +02:00
Denis Arh
53308a2d33 Fix, update & refresh build, test & CI tools 2019-05-24 12:47:37 +02:00
Denis Arh
b732894109 Fix codegen and its outputs 2019-05-24 12:46:30 +02:00
Denis Arh
5a9bce44e8 Cleanup internal, vendors, cleanup cmd/*
Introduces /pkg for non-intenral packages
2019-05-24 12:44:56 +02:00
Denis Arh
b66ed81136 More flexible "compose", move to Corteza
- more control over starting procedure, cli commands...
 - fix package paths
 - renaming symbols, comments, strings from Crust to Corteza
2019-05-24 12:42:35 +02:00
Denis Arh
243052402d More flexible "messaging", move to Corteza
- more control over starting procedure, cli commands...
 - fix package paths
 - renaming symbols, comments, strings from Crust to Corteza
2019-05-24 12:42:04 +02:00
Denis Arh
908e232ac4 More flexible "system", move to Corteza
- more control over starting procedure, cli commands...
 - fix package paths
 - remove separated system-cli entrypoint
 - renaming symbols, comments, strings from Crust to Corteza
2019-05-24 12:40:12 +02:00
Tit Petric
4c166d92c6 Update codegen for cleanup/less verbosity 2019-05-22 16:37:53 +02:00
Denis Arh
0611e4b9c3 Add missing namespaceID when updating page 2019-05-21 19:08:03 +02:00
Denis Arh
d3678cc564 Remove required flag from slug param (compose namespaces) 2019-05-20 20:34:28 +02:00
Denis Arh
d9c6d68319 Flag messaging message as sensitive data (not to be loged) 2019-05-20 19:22:41 +02:00
Denis Arh
8b79c26a87 Fix attachment access-control 2019-05-20 19:17:21 +02:00