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

6 Коммитов

Автор SHA1 Сообщение Дата
Rodrigo Villablanca
3649d04dfa SqlLinkMetadataStore migrates to plain errors (#14674)
Automatic Merge
2020-06-03 13:32:16 -07:00
Miguel de la Cruz
2259b7f2a8 [MM-19948] Set version on module file and internal paths (#13186)
* [MM-19948] Set version on module file and internal paths

* Fixes after merge

* Fix i18n checker error
2019-11-28 14:39:38 +01:00
jfrerich
1802c575e5 [MM-18119] Add methods for getting teams and count when query… (#12020)
* Add methods to handle include_total_count api parameter when permissions
for authenticated user is not sysadmin

* Add translations for app errors

* Add Mocks

* Add tests for new methods

* When running at the TeamStore testing level, the number of returned
teams is different than running tests individually.  Fix for now and
submit help wanted do proper teardown after each test

* correct value when running test at the top level

* Add helper function to delete previous teams in db

* Instead of checking against numbers of teams returned, check against the
actual teams returned.
When creating test teams, use unique DisplaName values so the return
array will be sorted consistantly.
When testing private and public team counts, add teams that should not
be counted.  Also create odd number of public/private teams for better
error protections.  Don't want 1 of each type
2019-09-10 11:50:27 -05:00
Kévin Etienne
ea8d441345 MM 16523 Migrate "LinkMetadata.Save" to Sync by default (#11416)
* Update LinkMetadata.Save store and interface

* Update mocks with make store-mocks

* Update tests and implementation
2019-06-28 10:28:08 +01:00
Kévin Etienne
df9af66a28 MM-16524 Migrate "LinkMetadata.Get" to Sync by default (#11376)
* Update LinkMetadata.Get store and interface

* Update mocks with make store-mocks

* Update tests and implementation

* Avoid casting LinkMetadata.Data

* Fix indent

* Make error more explicit

* Fix indent (was containing spaces)

* Test value returned by LinkMetadata().Get()
2019-06-26 09:36:29 -04:00
Harrison Healey
26684716aa MM-13664 Cache external link metadata when populating post metadata (#10128)
* MM-13664 Added LinkMetadata types

* MM-13664 Use LinkMetadata when populating post metadata

* Fix unused import

* Fix index name on SQLite

* Finish adding unit tests

* Address feedback

* Increase max length of URL column to 2048 characters
2019-01-28 16:25:08 +01:00