Corey Hulen
aefbb541d0
Revert " PLT-7 adding loc for db calls"
2016-01-20 13:36:16 -06:00
=Corey Hulen
ca33812cb5
PLT-7 adding loc db calls for system table
2016-01-20 08:07:52 -06:00
=Corey Hulen
f5eb3c1bcb
PLT-7 adding loc for db calls audits and prefs
2016-01-20 07:59:56 -06:00
=Corey Hulen
b1251b9393
Upgrade logging package
2016-01-11 09:12:51 -06:00
Florian Orben
79e9244dc9
allow to toggle features in backend
2015-11-27 23:17:45 +01:00
Florian Orben
17a17c336c
fix logging statement not to post nonsense
2015-11-06 00:00:11 +01:00
Florian Orben
e00836f8df
postgres needs another query to get table information...
2015-11-05 23:55:31 +01:00
Florian Orben
b085bc2d56
PLT-857: Support for Incoming Webhooks - Try #2
2015-11-05 23:33:21 +01:00
Antti Ahti
9403b8b9d8
Log errors in table creation
...
This is really helpful if you somehow mess up the schema definitions.
2015-10-30 17:44:00 +02:00
hmhealey
09b38404fa
Renamed Channel.Description to Channel.Header on the server
2015-10-27 12:46:30 -04:00
=Corey Hulen
05b16f40df
PLT-828 fixing db upgrade code
2015-10-26 11:00:34 -07:00
Jean-Yves LEBLEU
f0a31c209d
PLT-797 Update System Table with latest version
...
Update database system table with last version if
coming from a 7.X version
2015-10-23 06:12:49 +02:00
Christopher Speller
8b4771a6c7
Merge branch 'release-1.1.0'
2015-10-20 14:04:14 -04:00
=Corey Hulen
437efdaaaa
Hotfix to allow .7 to be upgraded to 1.1
2015-10-20 04:49:42 -07:00
JoramWilander
f24ea30a75
Refactor to hit database less often.
2015-10-19 09:00:30 -04:00
JoramWilander
af6e2c29eb
Implement outgoing webhooks.
2015-10-19 09:00:30 -04:00
=Corey Hulen
de717aef56
Marking when user ran the unit tests
2015-10-15 11:16:26 -07:00
hmhealey
5cecf1afcd
Made structural changes to server-side Preference code based on feedback
2015-10-13 09:42:27 -04:00
hmhealey
8a7aa7f66f
Rewrote PreferenceStore.SaveOrUpdate to work on Postgres within a transaction
2015-10-13 09:42:26 -04:00
hmhealey
a6cd2a7961
Moved saving multiple user preferences into a database transaction
2015-10-13 09:42:26 -04:00
hmhealey
da66599fa3
Added Preferences table to store user preferences
2015-10-13 09:42:23 -04:00
=Corey Hulen
b7a4b1a418
Fixing db upgrade for 1.1
2015-10-08 10:59:38 -07:00
Christopher Speller
b85b529373
Changing SpinPunch to Mattermost in copyright
2015-10-08 12:27:09 -04:00
=Corey Hulen
8fadea44de
PLT-404 adding basic error checking to config file.
2015-09-29 14:17:16 -07:00
=Corey Hulen
6e60768abe
Fixing merge conflict
2015-09-22 13:18:42 -07:00
=Corey Hulen
08a3acbb44
Adding team settings to admin console
2015-09-22 01:15:41 -07:00
=Corey Hulen
f05a2c03d5
Adding SQL settings to admin console
2015-09-22 00:00:19 -07:00
JoramWilander
98186e5018
Implement incoming webhooks.
2015-09-21 14:22:23 -04:00
=Corey Hulen
b8b3ba864d
GIT-721 Removing sql ping log
2015-09-19 19:42:54 -07:00
Joram Wilander
5a436fd447
Merge pull request #699 from mattermost/PLT-92
...
PLT-92 Adding server side versioning to the binary
2015-09-18 12:22:57 -04:00
JoramWilander
432753bb4d
Return false when checking if column exists, if the table does not exist with postgres.
2015-09-18 08:07:31 -04:00
=Corey Hulen
af4deb2369
Making changes to versioning
2015-09-17 13:01:40 -07:00
=Corey Hulen
51c3445e69
Fixing postgres issue and bumping version number
2015-09-16 21:16:07 -07:00
=Corey Hulen
abda39b652
Adding database schema version
2015-09-16 19:59:57 -07:00
=Corey Hulen
cef7a1aae4
PLT-92 Adding server side versioning to the binary
2015-09-16 17:37:11 -07:00
JoramWilander
47e6a33a45
Implement OAuth2 service provider functionality.
2015-09-16 15:49:12 -04:00
=Corey Hulen
e0bc27a3b4
Adding ability to upgrade postgres schema
2015-08-27 16:01:17 -07:00
JoramWilander
c45cf5514f
update our postgresql index check to work with 9.2+ versions of postgresql
2015-07-28 12:42:17 -04:00
=Corey Hulen
5b0d2dd8f9
Fixing merges for latest postgres
2015-07-23 10:15:53 -08:00
=Corey Hulen
848eeeeef4
fixing merge conflicts
2015-07-21 12:26:27 -08:00
hmhealey
c09f1b9e4e
Renamed FullName column in database to Nickname. Renamed all serverside references from FullName to Nickname.
2015-07-17 15:13:24 -04:00
=Corey Hulen
34d56294a2
Patching remainder of the sql stmts to work with postgres
2015-07-12 19:28:58 -08:00
=Corey Hulen
ff21a5c75f
Fixes mm-1420 adding postgres support
2015-07-12 19:24:48 -08:00
nickago
c84baf230c
Updated database schema for full utf8 compatibility
2015-07-09 08:34:36 -07:00
=Corey Hulen
34fb817a4a
Fixing unit tests
2015-07-06 00:50:42 -08:00
Frank Denis
34d688ca72
SQL store: use authenticated encryption
...
Data were encrypted using AES-CFB, with a properly randomized IV,
but without any authenticators. This allows the data to be tampered
with, without being noticed by the application.
This diff slightly changes the encryption/decryption functions in
sql_store.go to add a HMAC-SHA256 authenticator to encrypted messages.
Two keys are derived from AtRestEncryptKey: the first half of
SHA512(AtRestEncryptKey) for the block cipher and the second half for
the MAC. This can be changed to a KDF if needed.
The decryption function also checks that base64 decoding actually
worked, and that the ciphertext is long enough to include the IV and
the MAC.
Unfortunately, it breaks backward compatibility. But if such a change
has to be made, it has to be made early.
2015-06-24 16:56:57 +02:00
=Corey Hulen
56e74239d6
first commit
2015-06-14 23:53:32 -08:00