summaryrefslogtreecommitdiffstats
path: root/store/sql_store.go
Commit message (Collapse)AuthorAgeFilesLines
* Log errors in table creationAntti Ahti2015-10-301-1/+4
| | | | This is really helpful if you somehow mess up the schema definitions.
* Renamed Channel.Description to Channel.Header on the serverhmhealey2015-10-271-18/+17
|
* PLT-828 fixing db upgrade code=Corey Hulen2015-10-261-4/+9
|
* PLT-797 Update System Table with latest versionJean-Yves LEBLEU2015-10-231-2/+2
| | | | | Update database system table with last version if coming from a 7.X version
* Merge branch 'release-1.1.0'Christopher Speller2015-10-201-1/+15
|\
| * Hotfix to allow .7 to be upgraded to 1.1=Corey Hulen2015-10-201-1/+15
| |
* | Refactor to hit database less often.JoramWilander2015-10-191-8/+1
| |
* | Implement outgoing webhooks.JoramWilander2015-10-191-5/+17
| |
* | Marking when user ran the unit tests=Corey Hulen2015-10-151-5/+17
| |
* | Made structural changes to server-side Preference code based on feedbackhmhealey2015-10-131-8/+0
| |
* | Rewrote PreferenceStore.SaveOrUpdate to work on Postgres within a transactionhmhealey2015-10-131-0/+2
| |
* | Moved saving multiple user preferences into a database transactionhmhealey2015-10-131-0/+6
| |
* | Added Preferences table to store user preferenceshmhealey2015-10-131-11/+19
|/
* Fixing db upgrade for 1.1=Corey Hulen2015-10-081-7/+0
|
* Changing SpinPunch to Mattermost in copyrightChristopher Speller2015-10-081-1/+1
|
* PLT-404 adding basic error checking to config file.=Corey Hulen2015-09-291-11/+11
|
* Fixing merge conflict=Corey Hulen2015-09-221-0/+8
|\
| * Implement incoming webhooks.JoramWilander2015-09-211-0/+8
| |
* | Adding team settings to admin console=Corey Hulen2015-09-221-17/+12
| |
* | Adding SQL settings to admin console=Corey Hulen2015-09-221-3/+10
|/
* GIT-721 Removing sql ping log=Corey Hulen2015-09-191-2/+2
|
* Merge pull request #699 from mattermost/PLT-92Joram Wilander2015-09-181-2/+91
|\ | | | | PLT-92 Adding server side versioning to the binary
| * Making changes to versioning=Corey Hulen2015-09-171-7/+7
| |
| * Fixing postgres issue and bumping version number=Corey Hulen2015-09-161-2/+49
| |
| * Adding database schema version=Corey Hulen2015-09-161-2/+37
| |
| * PLT-92 Adding server side versioning to the binary=Corey Hulen2015-09-161-0/+7
| |
* | Return false when checking if column exists, if the table does not exist ↵JoramWilander2015-09-181-0/+4
|/ | | | with postgres.
* Implement OAuth2 service provider functionality.JoramWilander2015-09-161-7/+20
|
* Adding ability to upgrade postgres schema=Corey Hulen2015-08-271-56/+92
|
* update our postgresql index check to work with 9.2+ versions of postgresqlJoramWilander2015-07-281-1/+1
|
* Fixing merges for latest postgres=Corey Hulen2015-07-231-28/+69
|
* fixing merge conflicts=Corey Hulen2015-07-211-92/+56
|\
| * Renamed FullName column in database to Nickname. Renamed all serverside ↵hmhealey2015-07-171-21/+26
| | | | | | | | references from FullName to Nickname.
| * Updated database schema for full utf8 compatibilitynickago2015-07-091-2/+10
| |
* | Patching remainder of the sql stmts to work with postgres=Corey Hulen2015-07-121-4/+7
| |
* | Fixes mm-1420 adding postgres support=Corey Hulen2015-07-121-24/+79
|/
* Fixing unit tests=Corey Hulen2015-07-061-5/+5
|
* SQL store: use authenticated encryptionFrank Denis2015-06-241-6/+32
| | | | | | | | | | | | | | | | | | | | 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.
* first commit=Corey Hulen2015-06-141-0/+372