negue
c26696a9eb
moving developer-only strings to api/common messages ( #10258 )
...
* move translatable string to apiMessages
* use apiMessages instead of res.t for groupIdRequired / keepOrRemove
* move pageMustBeNumber to apiMessages
* change apimessages
* move missingKeyParam to apiMessages
* move more strings to apiMessages
* fix lint
* revert lodash imports to fix tests
* fix webhook test
* fix test
* rollback key change of `keepOrRemove`
* remove unneeded `req.language` param
* extract more messages from i18n
* add missing `missingTypeParam` message
* Split api- and commonMessages
* fix test
* fix sanity
* merge messages to an object, rename commonMessage to errorMessage
* apiMessages -> apiError, commonMessages -> errorMessage, extract messages to separate objects
* fix test
* module.exports
2018-05-04 16:00:19 -05:00
Matteo Pagliazzi
46d6590fec
chat: use _id instead of id when finding doc ( #10278 )
2018-04-24 15:10:20 +02:00
Keith Holliday
7d7fe6047c
Move Chat to Model ( #9703 )
...
* Began moving group chat to separate model
* Fixed lint issue
* Updated delete chat with new model
* Updated flag chat to support model
* Updated like chat to use model
* Fixed duplicate code and chat messages
* Added note about concat chat
* Updated clear flags to user new model
* Updated more chat checks when loading get group
* Fixed spell test and back save
* Moved get chat to json method
* Updated flagging with new chat model
* Added missing await
* Fixed chat user styles. Fixed spell group test
* Added new model to quest chat and group plan chat
* Removed extra timestamps. Added limit check for group plans
* Updated tests
* Synced id fields
* Fixed id creation
* Add meta and fixed tests
* Fixed group quest accept test
* Updated puppeteer
* Added migration
* Export vars
* Updated comments
2018-04-23 12:17:16 -05:00
SabreCat
9f06d78db6
Revert "moving developer-only strings to api messages ( #10188 )"
...
This reverts commit a42cb0e3ab . Testing hypothesis that this was causing Staging to break.
2018-04-15 17:09:15 +00:00
negue
a42cb0e3ab
moving developer-only strings to api messages ( #10188 )
...
* move translatable string to apiMessages
* use apiMessages instead of res.t for groupIdRequired / keepOrRemove
* move pageMustBeNumber to apiMessages
* change apimessages
* move missingKeyParam to apiMessages
* move more strings to apiMessages
* fix lint
* revert lodash imports to fix tests
* fix webhook test
* fix test
* rollback key change of `keepOrRemove`
* remove unneeded `req.language` param
* extract more messages from i18n
* add missing `missingTypeParam` message
2018-04-14 16:13:13 +02:00
Keith Holliday
2195464772
Flag comment ( #9991 )
...
* Added initial chat flag comment form
* Added user comment to slack message
* Updated copy and styles
* Fixed comma
* Updated admin messaging
2018-03-14 07:41:13 -05:00
Keith Holliday
037280601a
Refactored group chat flagging ( #9907 )
2018-02-11 08:35:24 -07:00
Keith Holliday
e0bf6d2e55
Reverted group flag code ( #9784 )
...
* Reverted group flag code
* Reverted all flagging code
* Added hyphens back
2018-01-11 12:04:07 -06:00
Keith Holliday
98d4fb0f34
Chat flag inbox ( #9761 )
...
* Refactored chat reporting
* Added inbox flag chat
* Added flag chat to inbox
* Added you have flagged message
2018-01-08 13:13:25 -06:00