Commit graph

8 commits

Author SHA1 Message Date
Harrison Healey
fd74208af1
Move .editorconfig to repo root (#24398)
* Move .editorconfig to repo root

* Add yaml formatting to .editorconfig
2023-08-30 16:29:07 -04:00
Doug Lauder
c943ed6859
Mono repo -> Master (#22553)
Combines the following repositories into one:

https://github.com/mattermost/mattermost-server
https://github.com/mattermost/mattermost-webapp
https://github.com/mattermost/focalboard
https://github.com/mattermost/mattermost-plugin-playbooks
2023-03-22 17:22:27 -04:00
Kyriakos Z
501d454af5
MM-39351: fixes LastRootPostAt being null (#19574)
* MM-39351: fixes LastRootPostAt being null

After upgrading to v6.1 there is a chance for LastRootPostAt to be NULL.
This might be due to a faulty migration when upgrading to v5.35.

v5.35 had `create_msg_root_count` where LastRootPostAt was used as a
temporary column which at the end was deleted.
Then on v6.1 we are adding that column again, this time to keep.

If the migration to v5.35 had failed and it didn't drop the column
the `upgrade_cte` (v6.1) migration would leave some channels with `LastRootPostAt`
being NULL.

This resulted in crashing the app.

This commit fixes that by running again a migration to again set
LastRootPostAt only when it's NULL this time and then set it to 0
for channels that might still have LastRootPostAt being NULL
(channels with no posts).

PS: the whole issue arose when upon creating the `upgrade_cte` migration
the create_msg_root_count migration was manually edited to change
the column name from LastRootPostAt to LastRootAt.

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-02-22 12:13:04 +02:00
Harrison Healey
24c8fdb1fa
Update .editorconfig (#10518)
* Update .editorconfig

* Remove webapp-specific entries from .editorconfig
2019-04-04 09:49:07 -04:00
Harrison Healey
d1207d34c1 Update .editorconfig to end files with newlines (#4533) 2016-11-11 11:14:38 -05:00
Harrison Healey
bfc6e4e6b6 PLT-2619/PLT-2661 Removed line numbers from markdown code blocks (#2795)
* Changed .editorconfig to indent CSS files using spaces

* Removed line numbers from markdown code blocks and made them wrap when no language is specified
2016-04-25 08:25:16 -07:00
Elias Nahum
325ddb0204 Update .editorconfig 2016-03-31 11:49:55 -03:00
Florian Orben
c9ecd97278 Add .editorconfig file to allow editors/IDEs to auto apply the correct settings 2015-11-11 00:23:31 +01:00