Joram Wilander
6a9aa855d1
Move SAML endpoints out of api package ( #8780 )
2018-05-14 11:27:30 -04:00
Christopher Speller
d8dd271e43
MM-4998 Adding LoginIdAttribute to allow LDAP users to change their login ID without losing their account ( #8756 )
...
* Adding LoginIdAttribute
* Modifying LDAP to use loginIDAttribute.
* Adding IDAttribute migration and AD objectGUID support.
* Removing unused idea.
* Fix typo.
2018-05-10 09:46:09 -07:00
Christopher Speller
686c2fbab7
Structured logging ( #8673 )
...
* Implementing structured logging
* Changes to en.json to allow refactor to run.
* Fixing global logger
* Structured logger initalization.
* Add caller.
* Do some log redirection.
* Auto refactor
* Cleaning up l4g reference and removing dependancy.
* Removing junk.
* Copyright headers.
* Fixing tests
* Revert "Changes to en.json to allow refactor to run."
This reverts commit fd8249e99bcad0231e6ea65cd77c32aae9a54026.
* Fixing some auto refactor strangeness and typo.
* Making keys more human readable.
2018-04-27 12:49:45 -07:00
Jesús Espino
0910eae31d
MM-9779: Incorporate a Token into the invitations system ( #8604 )
...
* Incorporate a Token into the invitations system
* Adding unit tests
* Fixing some api4 client tests
* Removing unnecesary hash validation
* Change the Hash concept on invitations with tokenId
* Not send invitation if it wasn't able to create the Token
* Fixing some naming problems
* Changing the hash query params received from the client side
* Removed unneded data param in the token usage
2018-04-18 13:46:10 -07:00
Elias Nahum
c9e9484150
MM-9853 Fix Team invite does not carry through SAML login ( #8495 )
2018-03-22 19:46:30 +02:00
Chris
d44ef7ea67
Remove global site url ( #8343 )
...
* remove global site url
* missed one
* revert mysterious change
2018-02-22 18:23:32 -06:00
Chris
a6309aaf48
Remove license globals entirely ( #8229 )
...
* remove license globals entirely
* fix infinite recursion
* test fix
2018-02-09 10:04:48 -06:00
Chris
1ec295f88c
add App.License, remove utils.IsLicensed / utils.License calls ( #8203 )
2018-02-06 17:25:49 -06:00
Jesse Hallam
81e67f8759
ABC-179: check email verification last ( #8172 )
...
* ABC-179: check email verification last
This change changes the authentication checks to be:
* "preflight checks"
** mfa
** not disabled
** login attempts
* password
* "postflight checks"
** email verified
Checking whether the email is verified or not last avoids the weird edge
case where entering any bogus password for an account with an unverified
email shows a message about verifying the email and offering to resend.
* fix invalid unit test assertion
Client.CreateUser returns a user whose password has been sanitized.
Adopt the pattern in the previous assertions to use a new variable name
and test the password on the original model.User object. This didn't
expose any underlying broken behaviour, but the test wouldn't have
caught it if it had regressed.
Also fix a minor typo.
2018-02-05 10:54:13 -05:00
Chris Duarte
d35d9484f4
Allow deactivation of SSO users api3 ( #8008 )
2018-01-16 15:47:06 -06:00
Chris
591ef9f352
Remove utils.ClientCfg and utils.ClientCfgHash ( #8041 )
...
* remove utils.ClientCfg and utils.ClientCfgHash
* remove unused import
2018-01-05 16:17:57 -06:00
Chris
91bfc72a99
Reduce logging data races, fix MySQL test race condition ( #7994 )
...
* fix races
* revert unintentional change
* fix test as intended
2017-12-22 12:09:33 +00:00
Chris
5cf45d2155
refactor template code ( #7860 )
2017-11-20 12:57:45 -05:00
Chris
d1cee02247
Refactor password validation and config defaults ( #7859 )
...
* refactor password validation and config defaults
* reorder config lines for clarity
2017-11-20 11:04:04 -06:00
Chris
9d32cd4208
prevent deactivation of sso users ( #7759 )
2017-11-02 17:24:11 -04:00
Joram Wilander
06ec648cf3
PLT-7978 Add websocket event for user role update ( #7745 )
...
* Add websocket event for user role update
* Fix tests
* More test fixes
2017-10-31 16:00:21 +00:00
Chris
ce2b2be5de
Refactoring cfg refs and load / save functions ( #7749 )
...
* refactoring cfg refs and load / save functions
* improve error output
2017-10-31 10:39:31 -04:00
Chris
c5e8cb25ca
simplify things ( #7735 )
2017-10-30 11:57:24 -05:00
Chris
7ed011745a
Remove more global refs / state ( #7723 )
...
* remove more global refs / state
* fix job enterprise initialization
* fix api4 test compilation
* saml api endpoints fix
2017-10-26 15:21:22 -04:00
Christopher Speller
4491b5ecdf
Performance improvements for 40M posts ( #7708 )
...
* Optimizing get root posts SQL query
* Setting session invalidation to be reliable
* Adding app reciever to SessionHasPermissionToUser
* Adding app reciever to SessionHasPermissionToTeam
* Adding app reciever to SessionHasPermissionTo
* Clear session cache if permission was denied
* Fixing rebase issues
* Revert "Optimizing get root posts SQL query"
This reverts commit f364757e7015cfb4ec673d0a4fc3d57cd25d8dd7.
* Fixing build
2017-10-25 11:48:15 -07:00
Chris
2a2af0e390
eliminate more utils.Cfg references ( #7701 )
2017-10-24 09:00:05 -07:00
Chris
8e19ba029f
Reduce utils.Cfg references ( #7650 )
...
* app.UpdateConfig method
* test fix
* another test fix
* the config override option as-was is just error prone, remove it for now
* derp
2017-10-18 15:36:43 -07:00
Chris
5e69ce099f
Goroutine wranglin ( #7556 )
...
* goroutine wranglin
* synchronize WebConn.WritePump
2017-10-03 10:53:53 -05:00
Chris
dcf9e96a0b
remove global refs from api/api4 ( #7496 )
2017-09-22 13:54:27 -04:00
Chris
ac74066f0e
remove einterface gets ( #7455 )
2017-09-19 18:31:35 -05:00
Corey Hulen
99b7d65504
Fixing profile image tag ( #7435 )
...
* Fixing profile image tag
* Fixing unit test
* Fixing unit test
2017-09-19 16:34:39 -04:00
Christopher Speller
29fca51821
Renaming repo
2017-09-06 23:11:59 -07:00
Chris
1adfd0e9be
app type transition ( #7167 )
2017-09-06 17:12:54 -05:00
George Goldberg
75c63344de
Api: NewLocAppError -> NewAppError ( #7280 )
2017-09-01 09:58:43 -04:00
Saturnino Abril
651dd33b29
set to default value with config is missing ( #7320 )
2017-08-30 13:54:16 -04:00
Corey Hulen
0ab490845a
PLT-6226 Fixing races with licensing ( #7213 )
...
* PLT-6226 Fixing races with licensing
* Fixing build issue
* Fixing licensing issue
* removing commented code
2017-08-16 09:51:45 -07:00
enahum
fa3dd6a84b
If login is using mobile respond with JSON object ( #7030 )
2017-08-03 02:39:14 +08:00
JoramWilander
15ad24d160
Minor fix
2017-07-06 17:28:38 -04:00
Christopher Speller
9a87bb3af6
Creating common token store and moving email invites and verification to it ( #6213 )
2017-04-27 10:55:03 -04:00
Joram Wilander
8b8aa2ca3c
Refactor OAuth 2.0 code into app layer ( #6037 )
2017-04-12 16:29:42 -04:00
Harrison Healey
fb6f2a123c
PLT-5860 Updated copyright date ( #6058 )
...
* PLT-5860 Updated copyright date in about modal
* PLT-5860 Updated copyright notice in JSX files
* PLT-5860 Updated copyright notice in go files
* Fixed misc copyright dates
* Fixed component snapshots
2017-04-12 08:27:57 -04:00
Joram Wilander
dfc6db7374
Refactor switching login type code into app layer and add v4 endpoint ( #6000 )
...
* Refactor switching login type code into app layer and add v4 endpoint
* Fix unit test
2017-04-10 08:19:49 -04:00
Harrison Healey
c7bdce8a66
PLT-5900 Removed automatic configuration of SiteURL ( #5952 )
...
* Revert "PLT-5765 Passed SiteURL to SendNotifications (#5705 )"
This reverts commit a8e68bd890 .
* Removed automatic configuration of SiteURL
* Reverted unintentional config changes
* Updated help text
* Added link to docs in Site URL warning
* Fixed merge conflict
2017-04-04 11:54:52 -04:00
Joram Wilander
daca0d93f6
Move WebSocket API to it's own package and add websocket v4 endpoint ( #5881 )
2017-03-28 09:58:19 +01:00
Joram Wilander
58397f853a
Implement some MFA endpoints for APIv4 ( #5864 )
2017-03-27 09:21:48 -04:00
Joram Wilander
2a753949f1
Implement POST /users/search endpoint for APIv4 ( #5822 )
...
* Implement POST /users/search endpoint for APIv4
* PLT-2713 Added store functions for searching users that don't have a team
* PLT-2713 Added 'without_team' option when searching users
* PLT-2713 Added 'without_team' option when searching users (v4)
2017-03-23 10:34:22 +00:00
George Goldberg
7f266c1951
Merge branch 'release-3.7' into master.
2017-03-17 16:29:26 +00:00
Joram Wilander
1860d05d62
Implement GET /users/autocomplete endpoint for APIv4 ( #5742 )
2017-03-13 12:29:41 +00:00
Harrison Healey
a8e68bd890
PLT-5765 Passed SiteURL to SendNotifications ( #5705 )
2017-03-10 10:18:18 +00:00
enahum
fd56b8f36b
enable saml for RN app ( #5635 )
...
* enable saml for RN app
* remove unnecessary user sanitize
2017-03-06 09:14:44 -05:00
Poornima
c0bb6f99f8
Updating user attributes on oauth login ( #5324 )
...
Moving update function to app package
Fixing duplicate userID on create user test
2017-02-26 13:48:01 -05:00
Corey Hulen
ca7d3b6e7b
Adding device Id for version 2 of native apps ( #5505 )
...
* Adding device Id for version 2
* Changing ids
2017-02-23 08:53:43 -05:00
Corey Hulen
1d6ea40022
Adding caching to profile images to master ( #5428 )
...
* Adding caching to profile images
* Fixing break
* Adding back in failed read
* Fixing build break
* Fixing break
2017-02-15 18:54:41 -05:00
enahum
daf7a15d3b
APIv3 append offset and limit to getProfiles etag ( #5421 )
...
* APIv3 append offset and limit to getProfiles etag
* add separator between offset and limit
2017-02-15 14:36:10 -03:00
Joram Wilander
7ff2aef7fa
Implement GET /users endpoint for APIv4 ( #5277 )
2017-02-03 15:17:34 -05:00