Derrick Anderson
c209e44574
revert master changes
2018-02-12 16:01:02 -05:00
Chris
0f703a3368
Eliminate utils.SetLicense calls ( #8217 )
...
* eliminate utils.SetLicense calls
* test fix
* another test fix
* more test fixes
2018-02-07 16:20:51 -06:00
Chris
816a30397d
Role refactor ( #7867 )
...
* role refactor
* add missing file
* fix web test
2017-11-21 11:08:32 -08:00
Chris
c5e8cb25ca
simplify things ( #7735 )
2017-10-30 11:57:24 -05:00
Chris
78a9774147
add model.NewX funcs for builtin types ( #7692 )
...
* add model.NewX funcs for builtin types
* whoops, forgot to add the new file
2017-10-23 09:40:35 -07:00
Chris
08b7b1c414
Reduce cfg boilerplate ( #7689 )
...
* reduce cfg boilerplate
* fix compile error
* user test fix
* another test fix
* simplify diagnostics / testing
2017-10-23 02:39:51 -07:00
Saturnino Abril
18ee375860
[PLT-7362] Option to add user to channel if mentioned user is not currently in the channel ( #7619 )
...
* Option to add user to channel if mentioned user is not currently in the channel
* instead of link from server, just add component on client side to add channel member
* change implementation using post.props
* do clean up and add test
* sanitize post.props['add_channel_member'] on post creation
* move sanitize to app.CreatePost and also apply to app.UpdatePost
2017-10-21 01:38:26 +08: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
Christopher Brown
39cc237269
Merge branch 'release-4.3'
2017-10-16 23:10:45 -05:00
Chris
34285d8cca
parallel tests ( #7629 )
2017-10-16 11:09:43 -04:00
Joram Wilander
9adaf53e11
PLT-7818 Updates to post type ( #7579 )
...
* Updates to post type
* Update tests
2017-10-09 10:30:48 -07:00
Chris
9bc7af0c57
Don't use global app for api / api4 tests ( #7528 )
...
* don't use global app for api / api4 tests
* put sleep back. we're gonna have to do some goroutine wrangling
* fix oauth test config assumptions
* jobs package, i'm comin' for you next
* app test fix
* try increasing sleep a little
2017-10-02 09:50:56 +01:00
Joram Wilander
f263d2b951
PLT-7684 Add support to outgoing webhooks and slash commands to set post type and props ( #7531 )
...
* Add support to outgoing webhooks and slash commands to set post type and props
* Fix nil access
2017-09-28 09:08:16 -07:00
Chris
266ff86702
remove more global refs ( #7480 )
2017-09-21 10:13:34 +01: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
David Meza
3c52801193
Config to make town square read only ( #7140 )
...
* Be able to make Town Square read-only (Disable typing messages for non admins).
* Do not emit UserTypingEvent when TownSquareIsReadOnly and is Town Square.
* Add unit tests for TownSquareIsReadOnly config value and logic.
* Add TownSquareIsReadOnly to System console>Policy. Added Telemetry.
* Add control for TownSquareIsReadOnly=true only for License Enterprise Edition E10 & E20.
* Update en.json
* Update en.json
* Update policy_settings.jsx
* Change config value from TownSquareIsReadOnly to ExperimentalTownSquareIsReadOnly.
* Refactored to simplify. Avoid code repeat and multiple db calls.
2017-09-01 09:53:55 -04:00
Saturnino Abril
f34cd567a6
[PLT-5170] Add join the channel system message for the person who created the channel ( #7299 )
...
* add join the channel system message for the person who created the channel
* update test
2017-08-30 16:29:32 -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
Chris
ffbf8e51fe
PLT-6358: Server HTTP client improvements ( #6980 )
...
* restrict untrusted, internal http connections by default
* command test fix
* more test fixes
* change setting from toggle to whitelist
* requested ui changes
* add isdefault diagnostic
* fix tests
2017-08-09 13:49:07 -07:00
Saturnino Abril
88f398ffdd
Revert " #4755 Combining consecutive user join/leave system messages to single message and few other changes." ( #7072 )
...
* Revert "PLT-6603: Don't return all posts on invalid query. (#7061 )"
This reverts commit 25a2013890 .
* Revert " #4755 Combining consecutive user join/leave system messages to single message and few other changes. (#5945 )"
This reverts commit 8a91235fb3 .
2017-08-01 08:16:45 -04:00
Debanshu Kundu
8a91235fb3
#4755 Combining consecutive user join/leave system messages to single message and few other changes. ( #5945 )
...
fix 7 and 8
remove @ at "{username} joined the channel"
refactor and update test
2017-08-01 02:17:21 +08:00
Joram Wilander
e83ba9a4a7
Add retries to TestEmailMention test ( #6893 )
2017-07-27 08:21:08 -04:00
Saturnino Abril
21a3219b9b
[PLT-6676] Make OutgoingWebhook to fire when post has no text content but only attachment ( #6935 )
...
* make OutgoingWebhook to fire when post has no text content but only attachment
* update per comment and modify payload & test
2017-07-18 15:43:31 -04:00
Corey Hulen
e2cc0df2e8
PLT-6761 fixing unit tests ( #6671 )
2017-06-19 09:08:52 -07: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
Carlos Tadeu Panato Junior
f7b39caf31
get the latest message from the mailbox. It fixes the issue PLT-6176 ( #6005 )
2017-04-07 10:05:34 -07:00
Joram Wilander
aba07e5cb9
PLT-5483 Fix bug where flagged posts endpoint returned posts on other teams ( #5765 )
...
* Fix bug where flagged posts endpoint returned posts on other teams
* Include flagged posts from DMs/GMs
2017-03-31 12:25:39 -04:00
George Goldberg
c6ded1dbfd
Merge branch 'release-3.7'
2017-03-23 17:38:24 +00:00
George Goldberg
91d430b2a3
Fix policy application in team edition. ( #5771 )
2017-03-15 19:32:02 +00:00
Gabin Aureche
fe38d6d5bb
Add pinned posts ( #4217 )
2017-03-13 12:25:08 +00:00
Carlos Tadeu Panato Junior
11f1859de1
improvements for inbucket email test and re-enable Email mention test ( #5647 )
...
Now if we dont get the mailbox to check the email we try 5 times, if
still no message we disable the email verification.
2017-03-11 19:39:00 -03:00
Joram Wilander
e87f5c6cf9
Add system console switch for enabling link previews ( #5663 )
2017-03-06 21:13:12 -05:00
George Goldberg
f4aebed220
PLT-5355: Fix permalink to private/direct channels. ( #5574 )
...
Appropriate permission checks depend on the type of channel this
permalink links to.
2017-03-02 09:08:00 -05:00
Corey Hulen
274b9b6032
Fixing file info caching issue with Aurora for master ( #5477 )
2017-02-20 13:40:32 -05:00
Joram Wilander
db2966b7cb
Remove MakeDirectChannelVisible and add client handling for showing DMs ( #5430 )
2017-02-15 18:54:24 -05:00
Corey Hulen
0a21eed004
Disabling email mention test ( #5381 )
2017-02-13 11:36:18 -05:00
Debanshu Kundu
eab15da321
PLT-5455 Added caching for OG metadata of link preview. ( #5361 )
2017-02-12 11:31:49 -05:00
Joram Wilander
487bb56a9b
Add caching for file infos ( #5330 )
2017-02-07 12:36:37 -08:00
Debanshu Kundu
3aaf71fdea
#4257 Added functionality to create previews for post links using open graph data from those links. ( #4890 )
2017-01-20 14:41:13 -03:00
Amit Yadav
99cf08ac38
Message Editing and Deleting permissions ( #4692 )
2017-01-18 08:08:31 -05:00
Carlos Tadeu Panato Junior
dc54e640c2
Add inbucket docker image to allow local and automated testing of emails ( #4901 )
...
* add docker container for inbucket
* Add way to get the emails using inbucket and add a test for reset password
* add config setting to send emails
* update TestEmailTest
update
* add another test and fix wrong assert
* update per review
fix lint
change senders email
* Revert config.json to default values for EmailSettings section
* update test
* add setup to make the test run
2017-01-17 09:01:41 -05:00
Joram Wilander
97558f6a6e
PLT-4938 Add app package and move logic over from api package ( #4931 )
...
* Add app package and move logic over from api package
* Change app package functions to return errors
* Move non-api tests into app package
* Fix merge
2017-01-13 13:53:37 -05:00
Debanshu Kundu
739f32272f
PLT-135 Showing "(Edited)" indicator if a message has been edited. ( #4923 )
2017-01-12 10:47:29 -05:00
Carlos Tadeu Panato Junior
61771a0fc5
inital draft ( #4883 )
2017-01-06 12:10:00 -05:00
Joram Wilander
8bd50724a6
Remove TODOs that now have tickets ( #4935 )
2017-01-03 11:39:29 -03:00
Carlos Tadeu Panato Junior
21af988e49
Add initial unit test for post.getPostById() ( #4910 )
...
* add itinial tests for GetPostById
update per review
fix lint
* add missing comment
2016-12-30 13:44:04 -03:00
Harrison Healey
caec18a2fb
Handled possible race confition in TestGetMessageForNotification ( #4737 )
2016-12-08 12:41:00 -03:00
enahum
e57cba15ea
PLT-4762 Prevent turn off of (at)mentions (server) ( #4714 )
2016-12-06 10:57:38 -05:00
Corey Hulen
b212acf312
PLT-4429 disabling at_all at_channel metions mentions when channel has more than 1k users ( #4627 )
...
* PLT-4429 disabling explicit mentions when channel has more than 1k users
* Fixing test case
* Adding setting to the admin console
* Fixing bad translation
2016-11-24 08:26:45 -05:00