mattermost-plugin-walltime merge requestshttps://gitlab.collabora.com/tools/mattermost/mattermost-plugin-walltime/-/merge_requests2023-10-09T11:56:35Zhttps://gitlab.collabora.com/tools/mattermost/mattermost-plugin-walltime/-/merge_requests/23[T44680] Fix regarding "-" char2023-10-09T11:56:35ZBruna Pinos[T44680] Fix regarding "-" charWhen there is a time (e.g. 17:00 BST) and after date+hours (e.g. tomorrow 18:00 GMT-3), the parser will interpret as `17:00 BST tomorrow` and `18:00 GMT-3.`When there is a time (e.g. 17:00 BST) and after date+hours (e.g. tomorrow 18:00 GMT-3), the parser will interpret as `17:00 BST tomorrow` and `18:00 GMT-3.`Bruna PinosBruna Pinoshttps://gitlab.collabora.com/tools/mattermost/mattermost-plugin-walltime/-/merge_requests/22[T32231] - Ignore timestamps in links, quotes and codeblocks2023-08-23T12:16:58ZFelipe de Oliveira Hargreaves[T32231] - Ignore timestamps in links, quotes and codeblocksTaken over from: https://gitlab.collabora.com/tools/mattermost/mattermost-plugin-walltime/-/merge_requests/11#d8913e4d2ed5652f75a4406cee7de64ba247b443
Ignores links, quotes and codeblocks when parsing timestamps.
It is missing a partic...Taken over from: https://gitlab.collabora.com/tools/mattermost/mattermost-plugin-walltime/-/merge_requests/11#d8913e4d2ed5652f75a4406cee7de64ba247b443
Ignores links, quotes and codeblocks when parsing timestamps.
It is missing a particular edge case: if, in a single message, the exact same time appears on both a code block and regular text, the code block will be reformatted if it comes earlier than the text. For example:
```
`some code 10am GMT`
some text 10am GMT
```
`some code 10am GMT` will get formatted, while the following line will not. This happens due to the code performing a simple `.replace` on the original text, which will apply to the first match in the string.
The output from the time parser informs the index of the first char for a given time block, so I tried to make it work from there. This did not work, however, as the start index does not seem to be always reliable.Felipe de Oliveira HargreavesFelipe de Oliveira Hargreaveshttps://gitlab.collabora.com/tools/mattermost/mattermost-plugin-walltime/-/merge_requests/21Fix hours not displaying as 24h2023-06-15T12:07:02ZBruna PinosFix hours not displaying as 24hBruna PinosBruna Pinoshttps://gitlab.collabora.com/tools/mattermost/mattermost-plugin-walltime/-/merge_requests/20[T32934] Fix Ambiguous Timezone2023-08-14T19:55:33ZBruna Pinos[T32934] Fix Ambiguous TimezoneThis merge request adds a previous filter to remove English words that can be confused with the timezone. Those words can still be interpreted as timezone, but only when there are uppercase.This merge request adds a previous filter to remove English words that can be confused with the timezone. Those words can still be interpreted as timezone, but only when there are uppercase.Bruna PinosBruna Pinoshttps://gitlab.collabora.com/tools/mattermost/mattermost-plugin-walltime/-/merge_requests/19Change converted hour to 24h2023-03-21T18:14:42ZBruna PinosChange converted hour to 24hChanging behaviour of converted hour to show as 24h, instead of the 12h format (AM-PM)
An example of the change
```
'The game is at 12pm UTC',
'The game is `at 12pm UTC` *(13:00 BST)*',
```Changing behaviour of converted hour to show as 24h, instead of the 12h format (AM-PM)
An example of the change
```
'The game is at 12pm UTC',
'The game is `at 12pm UTC` *(13:00 BST)*',
```Bruna PinosBruna Pinoshttps://gitlab.collabora.com/tools/mattermost/mattermost-plugin-walltime/-/merge_requests/18[T37839] Fix casual date2023-02-27T10:31:26ZBruna Pinos[T37839] Fix casual dateAbles mattermost messages like '`tomorrow` *(Tue, Aug 24 3:10 PM BST)* maybe `at 1pm GMT` *(2:00 PM BST)*', where it has random text between the casual date (`tomorrow`) and the time range(`1pm GMT`)Ables mattermost messages like '`tomorrow` *(Tue, Aug 24 3:10 PM BST)* maybe `at 1pm GMT` *(2:00 PM BST)*', where it has random text between the casual date (`tomorrow`) and the time range(`1pm GMT`)Bruna PinosBruna Pinoshttps://gitlab.collabora.com/tools/mattermost/mattermost-plugin-walltime/-/merge_requests/17updated version2023-02-07T19:21:03ZStelios Milidonisupdated versionhttps://gitlab.collabora.com/tools/mattermost/mattermost-plugin-walltime/-/merge_requests/16[T37840] fix: timezone parsing by upgrading chrono-node2023-01-13T11:58:08ZVinícius Fernandes Moreira[T37840] fix: timezone parsing by upgrading chrono-node- upgrading chrono-node from 2.3.4 to 2.3.9 fixed [T37840](https://phabricator.collabora.com/T37840)- upgrading chrono-node from 2.3.4 to 2.3.9 fixed [T37840](https://phabricator.collabora.com/T37840)Vinícius Fernandes MoreiraVinícius Fernandes Moreirahttps://gitlab.collabora.com/tools/mattermost/mattermost-plugin-walltime/-/merge_requests/15Maintenance: update existing CI/CD branch references following default branch...2022-03-24T08:57:50ZJames AddisonMaintenance: update existing CI/CD branch references following default branch name updatehttps://gitlab.collabora.com/tools/mattermost/mattermost-plugin-walltime/-/merge_requests/14Switch continuous integration build jobs to use Alpine Linux base images2022-01-28T09:50:39ZJames AddisonSwitch continuous integration build jobs to use Alpine Linux base imagesSee https://gitlab.collabora.com/tools/mattermost/mattermost-plugin-walltime/-/merge_requests/11#note_102564 for the context behind this change.
In short: this change makes it possible to use more recent versions of the NPM command-line...See https://gitlab.collabora.com/tools/mattermost/mattermost-plugin-walltime/-/merge_requests/11#note_102564 for the context behind this change.
In short: this change makes it possible to use more recent versions of the NPM command-line tooling as packaged in Alpine Linux compared to Debian bullseye.https://gitlab.collabora.com/tools/mattermost/mattermost-plugin-walltime/-/merge_requests/13Address handling of ambiguous timezone references2022-03-23T16:43:12ZJames AddisonAddress handling of ambiguous timezone referencesMirroring upstream pull request: https://github.com/mattermost/mattermost-plugin-walltime/pull/54Mirroring upstream pull request: https://github.com/mattermost/mattermost-plugin-walltime/pull/54https://gitlab.collabora.com/tools/mattermost/mattermost-plugin-walltime/-/merge_requests/12Set system time to original commit date for cross-daylight-savings time range...2022-01-27T11:45:17ZJames AddisonSet system time to original commit date for cross-daylight-savings time range test caseMirroring upstream pull request: https://github.com/mattermost/mattermost-plugin-walltime/pull/52Mirroring upstream pull request: https://github.com/mattermost/mattermost-plugin-walltime/pull/52https://gitlab.collabora.com/tools/mattermost/mattermost-plugin-walltime/-/merge_requests/11Do not localize dates that appear within code and hyperlinks2023-07-17T20:19:33ZJames AddisonDo not localize dates that appear within code and hyperlinksMirroring upstream pull request: https://github.com/mattermost/mattermost-plugin-walltime/pull/48Mirroring upstream pull request: https://github.com/mattermost/mattermost-plugin-walltime/pull/48https://gitlab.collabora.com/tools/mattermost/mattermost-plugin-walltime/-/merge_requests/10Fixup: unit test stability2022-01-14T13:07:23ZJames AddisonFixup: unit test stabilityMirroring upstream pull request: https://github.com/mattermost/mattermost-plugin-walltime/pull/47Mirroring upstream pull request: https://github.com/mattermost/mattermost-plugin-walltime/pull/47https://gitlab.collabora.com/tools/mattermost/mattermost-plugin-walltime/-/merge_requests/9Update README2022-01-14T13:29:00ZJames AddisonUpdate READMEMirroring upstream pull request: https://github.com/mattermost/mattermost-plugin-walltime/pull/46Mirroring upstream pull request: https://github.com/mattermost/mattermost-plugin-walltime/pull/46https://gitlab.collabora.com/tools/mattermost/mattermost-plugin-walltime/-/merge_requests/8Add (slightly contrived, passing) cross-daylight-savings test case2022-01-27T12:03:53ZJames AddisonAdd (slightly contrived, passing) cross-daylight-savings test caseMirroring upstream pull request: https://github.com/mattermost/mattermost-plugin-walltime/pull/44Mirroring upstream pull request: https://github.com/mattermost/mattermost-plugin-walltime/pull/44https://gitlab.collabora.com/tools/mattermost/mattermost-plugin-walltime/-/merge_requests/7Integrate latest updates from upstream pull requests #40, #412021-11-30T15:06:12ZJames AddisonIntegrate latest updates from upstream pull requests #40, #41Integrates the latest updates and resolve merge conflicts from upstream pull requests mattermost/mattermost-plugin-walltime#40 and mattermost/mattermost-plugin-walltime#41
This allows us to remove the workaround added in !4.Integrates the latest updates and resolve merge conflicts from upstream pull requests mattermost/mattermost-plugin-walltime#40 and mattermost/mattermost-plugin-walltime#41
This allows us to remove the workaround added in !4.https://gitlab.collabora.com/tools/mattermost/mattermost-plugin-walltime/-/merge_requests/6Maintenance: Update mattermost-team-edition deployment image tag2021-11-16T11:23:42ZJames AddisonMaintenance: Update mattermost-team-edition deployment image tagThis image no longer has a 'latest' tag associated with it [on Docker Hub](https://hub.docker.com/r/mattermost/mattermost-team-edition).This image no longer has a 'latest' tag associated with it [on Docker Hub](https://hub.docker.com/r/mattermost/mattermost-team-edition).https://gitlab.collabora.com/tools/mattermost/mattermost-plugin-walltime/-/merge_requests/5Draft: sync with upstream fixes & feedback2021-11-30T18:21:46ZJames AddisonDraft: sync with upstream fixes & feedbackPull in fixes and feedback from upstream code review @ https://github.com/mattermost/mattermost-plugin-walltime/pull/41Pull in fixes and feedback from upstream code review @ https://github.com/mattermost/mattermost-plugin-walltime/pull/41https://gitlab.collabora.com/tools/mattermost/mattermost-plugin-walltime/-/merge_requests/4Hotfix: do not parse the word 'ah' as a time duration2021-12-08T12:49:37ZJames AddisonHotfix: do not parse the word 'ah' as a time durationTo replicate:
* Send a message `ah, that is not expected`
Expected:
* `ah, that is not expected`
Observed:
* `ah (Wed, Oct 13 3:53 PM BST), that is not expected`To replicate:
* Send a message `ah, that is not expected`
Expected:
* `ah, that is not expected`
Observed:
* `ah (Wed, Oct 13 3:53 PM BST), that is not expected`