Граф коммитов

134 Коммитов

Автор SHA1 Сообщение Дата
Harrison Healey
f5ccfb362e Reorganized syntax highlighting code and added search term highlighting for code blocks with syntax highlighting (#3191) 2016-06-01 08:28:54 -04:00
David Lu
89717c2a77 Added maxlength for nicknames (#3186) 2016-05-31 16:20:27 -04:00
Harrison Healey
6e6257fcca Removed unnecessary wbrs (#3182) 2016-05-31 16:11:23 -04:00
Harrison Healey
9e1cf71bc3 Fixed emoticons consuming the preceeding whitespace (#3187) 2016-05-31 16:10:12 -04:00
Harrison Healey
4a326dd6ce PLT-1626/PLT-1424/PLT-1473/PLT-1483 Improved search highlighting (#3171)
* PLT-1626 Stopped breaking up hyphenated hashtags when highlighting search terms

* Made hashtag search highlighting case independent

* PLT-1424 Improved search highlighting when searching for CJK characters

* PLT-1473 Added search term highlighting to single-line code blocks

* PLT-1473 Added search term highlighting to code blocks that don't use syntax highlighting

* PLT-1483 Added proper highlighting of at mentions

* Fixing formatting
2016-05-31 10:37:59 -04:00
Harrison Healey
c5deb333db Added validation to make sure theme entries are colours (#3107)
* Added validation to make sure theme entries are colours

* Added serverside validation for theme
2016-05-31 08:15:33 -04:00
Joram Wilander
0dfac9875e Add license expiry messages (#3153) 2016-05-30 09:59:53 -04:00
Harrison Healey
fe5db12374 PLT-3080 Added ability to disable formatting for debugging and updated marked to fix errors (#3141)
* Removed injectIntl from user_settings_advanced.jsx

* Added setting to disable formatting for debugging

* Updated fork of marked
2016-05-30 07:57:44 -04:00
samogot
e1bebb2d77 PLT-2321 Move the toggle icon next to the link being previewed (#3071)
* PLT-2321 Move the toggle icon next to the link being previewed
only applicable to one-line messages started with link

* remove useless "Youtube" header when no title is available

* allow breaking long links instead of toggle

* simplify "/" to "/<wbr />" replacing
fix empty post without additional content body

* discard buggy "simplification"
2016-05-27 19:31:02 -04:00
Joram Wilander
6399a94ce2 PLT-2672 Refactored posts view with caching (#3054)
* Refactored posts view to use view controller design

* Add post view caching

* Required updates after rebase

* Fixed bug where current channel not set yet was causing breakage
2016-05-27 16:01:28 -04:00
David Lu
1736947f0e Added BOT in RHS (#3136)
Changed BOT to constant
2016-05-27 08:38:35 -07:00
Harrison Healey
1e7805b790 Fixed ESLint errors (#3134) 2016-05-27 09:56:41 -04:00
Harrison Healey
15e427e806 PLT-1458 Updated list autonumbering (#3126)
* Removed MattermostLexer since it was exactly the same as the default marked one

* Updated list autonumbering to always start numbering from the first item's number
2016-05-27 08:22:22 -04:00
Joram Wilander
6fecfcc7ca Refactor login, claim and create_team into views and add actions (#3110) 2016-05-26 09:46:18 -04:00
Harrison Healey
6092be8af1 Updated our fork of marked and prevented catastrophic backtracking (#3098) 2016-05-25 08:38:03 -07:00
Harrison Healey
3b5a5110c7 Revert "Updated our fork of marked and added more links to test-links.md (#3047)" (#3090)
This reverts commit c868620693.
2016-05-24 07:12:02 -07:00
David Lu
8e5c318590 Removed isTestDomain (#3069) 2016-05-24 08:39:11 -04:00
David Lu
6438c696b0 Added all keycodes (#3079) 2016-05-23 12:52:02 -07:00
David Lu
e81fa3220d Added validation for command triggers (#3068) 2016-05-20 14:47:10 -04:00
David Lu
4f265522e1 Fixed JS errors, wrapped around nav shortcuts (#3067) 2016-05-20 14:45:30 -04:00
enahum
ed2e37394e PLT 783 Fix Previews for removed YouTube videos (#3073)
* PLT-783 Fix Previews for removed YouTube videos render incorrectly and throw a 404

* Updating video poster for video not found (#3072)
2016-05-20 11:55:52 -04:00
Asaad Mahmood
5ea7d9bbef Multiple UI Improvements (#3038) 2016-05-19 09:29:15 -04:00
Harrison Healey
c868620693 Updated our fork of marked and added more links to test-links.md (#3047) 2016-05-19 08:38:50 -04:00
Christopher Speller
880ef25ab1 Moving out javascript driver (#3040) 2016-05-18 10:42:25 -04:00
Joram Wilander
34780f3aea Refresh login page if server version of client doesn't match browser version of client (#3004) 2016-05-16 16:09:37 -07:00
Harrison Healey
1b9deb4392 Changed named emoticons to not require surrounding whitespace and added unit tests (#3009) 2016-05-16 15:54:24 -04:00
Asaad Mahmood
0258fcfa5c Adding compact layout (#2991)
* Adding compact layout

* Fixing ESLint error
2016-05-16 08:06:26 -04:00
Christopher Speller
d1efb66ad7 Merge branch 'release-3.0' 2016-05-12 12:11:02 -04:00
Harrison Healey
d9f724f959 PLT-2927/PLT-2924 Fixing issues with integration lists (#2974)
* Changed IntegrationStore to store integrations by team

* Fixed regenerating a command's token not causing the UI to update

* Re-added IntegrationStore.hasReceived methods
2016-05-12 11:30:53 -04:00
Christopher Speller
4b260b761a Updating client dependancies and ESLint (#2954)
* Updating client dependancies

* Fixing eslint errors with updates

* Updating eslint
2016-05-12 07:50:53 -04:00
David Lu
a3cfdf0483 PLT-2786 Open Account Settings/Recent Mentions Shortcuts (#2957)
* Account settings shortcut added

* Added constants

* Added recent mentions shortcut
2016-05-12 07:50:25 -04:00
Harrison Healey
2b1db2974a Fixed loginByUsername unit test (#2975)
* Fixed loginByUsername unit test

* Removed unused variable from WebClient login functions
2016-05-12 07:44:06 -04:00
David Lu
4f39b8b2e4 Added 'here' to list of reserved usernames (#2933) 2016-05-10 08:23:05 -04:00
Harrison Healey
ff72a126d3 PLT-2862 Re-added LDAP login boxes as part of signup flow (#2937)
* Added ldap_only parameter for login API

* Re-added LDAP login boxes as part of signup flow
2016-05-09 15:56:50 -04:00
Joram Wilander
07126101d3 Recent mention searches now OR terms instead of AND (#2931) 2016-05-09 09:00:08 -07:00
Asaad Mahmood
64b6d8cde5 DM and Modal changes (#2927)
* DM and Modal changes

* Fixing image previews
2016-05-09 08:14:43 -04:00
Harrison Healey
761f59645d PLT-2816 Fixed handling of Unicode 8 emojis (#2924)
* Updated twemoji to properly recognize Unicode 8.0 emojis

* Updated unicode emoji parser to only render emojis we support as images

* Corrected filename for South African flag emoji

* Added Mattermost emoticons!

* Added additional emoticons to test files
2016-05-09 00:17:26 -07:00
David Lu
b58ccf0604 PLT-2765 Limit username UI to 22 characters (#2918)
* Shortened username length to 22 characters

* Update user_settings_general.jsx

* Added username requirements to account settings page

* Switched to double quotes

to escape ' in JSX, must use double quotes

* Update en.json

* Update user_settings_general.jsx

* Update es.json

* Update fr.json

* Update ja.json

* Update pt.json

* Added missing {
2016-05-09 00:15:25 -07:00
Harrison Healey
e1cae3b15b PLT-2600/PLT-2770 Changed getPublicLink api call to return a proper JSON string (#2914)
* Removed unused channelId and userId parameters from web client getPublicLink method

* Changed getPublicLink api call to return a proper JSON string
2016-05-06 11:32:08 -07:00
Joram Wilander
0cfcf5c5de Add separator between DMs on your team and not (#2910) 2016-05-06 12:08:58 -04:00
Asaad Mahmood
4b2843ee9d Improvements to reply (#2905) 2016-05-05 23:45:19 -07:00
Harrison Healey
d2ddf40f56 PLT-2600/PLT-2770 Added Get Public Link modal and added new API for public file links (#2892)
* Switched public file links to use a GetLinkModal

* Separated getFile and the new getPublicFile api calls
2016-05-05 16:35:03 -04:00
Harrison Healey
ed3162a59d Moved twemoji parsing so that it doesn't occur inside of code blocks (#2896) 2016-05-05 12:35:01 -07:00
Harrison Healey
3b8b23218d Added noreferrer to some links (#2897) 2016-05-05 14:17:59 -04:00
Christopher Speller
274a2a58f0 Performance improvments (#2869) 2016-05-04 10:10:19 -04:00
Corey Hulen
6611229cd7 PLT-2707 Adding option to show DM list from all of server (#2871)
* PLT-2707 Adding option to show DM list from all of server

* Fixing loc
2016-05-04 09:31:42 -04:00
Harrison Healey
87989b8afd PLT-2258 Unified login screen and related APIs (#2820)
* Unified login screen and related APIs

* Refactored login API call to be less convoluted

* Removed LDAP login prompt from invite process

* Fixed existing LDAP users being able to log in if LDAP was configured, but disabled

* Gofmt

* Future proofed login API

* Updated login APIs based on feedback

* Added additional auditing to login API

* Actually removed loginById
2016-05-03 14:10:36 -04:00
Joram Wilander
08a3cf6b38 Port HPNS from 2.2 to master (#2863) 2016-05-03 08:54:49 -07:00
David Lu
3e0adf6227 PLT-2755 Shortcut to upload file (#2848)
* Added file upload shortcuts (CTRL+U and CMD+U)

* Added KeyCode for U
2016-05-02 15:38:40 -04:00
Christopher Speller
29b91301a6 Closing 'RHS' on mobile when jump link is clicked (#2825) 2016-05-02 08:08:05 -04:00