Commit Graph

67 Commits

Author SHA1 Message Date
Deon George 1f4c5c9774 Users created shouldnt be enabled by default, a user update job should enable users after checking guest status 2022-09-09 15:58:28 +10:00
Deon George 67f78b2f5d Enhancements to Message::class making it more similar to Modal::class in terms of methods 2022-09-09 14:55:19 +10:00
Deon George 6c6d32b4eb Fix hash conflict dump error 2022-09-08 17:43:17 +10:00
Deon George 1923f4486b Modal clear_on_close/notify_on_close defaults to TRUE, change MultiExternalSelect initial_options to be a collection 2022-09-08 13:50:48 +10:00
Deon George b289f29948 Change elements that require plain_text to only accept string , make public the consts that describe element limits 2022-09-07 19:27:30 +10:00
Deon George e9980ff9fd Get value() by block_id when it isnt a form submission 2022-09-06 20:08:04 +10:00
Deon George 145e322317 Fixes for interactive messages, we use block_id to determine what needs to be done 2022-09-06 17:23:54 +10:00
Deon George 1b55d7ab52 Standardisation of callback_id/key/value and action_id/key/value, Message can only have 50 blocks 2022-09-06 11:31:30 +10:00
Deon George be26c3c0a3 Consistent handling of Listeners methods (the should be overwritten in the application) 2022-09-06 10:19:56 +10:00
Deon George 521de13d92 BlockKit classes is now countable 2022-09-05 23:13:44 +10:00
Deon George a1be3ccd09 Switch Message::respond() to use Http::class instead of curl directly 2022-09-05 22:26:08 +10:00
Deon George 2c791ccead Minor fixes 2022-09-05 17:17:43 +10:00
Deon George 1529f470fa Add __set method to Job and auto-initialize _data, update Message to check for a Team if the message is being used in a slack API 2022-09-05 17:17:43 +10:00
Deon George 905c207956 Switch API to use Http::class instead of curl directly 2022-09-05 17:17:43 +10:00
Deon George 15a6933026 Enable __set() in Jobs, so all data is stored in _data 2022-09-05 11:43:38 +10:00
Deon George 4ff944cb3a Implemented SlackSyntaxException and removed some deprecated functions 2022-09-05 11:43:38 +10:00
Deon George 4c7d18c6b0 App::environment is now 'local' not 'dev', consistent use of slack queue 'slack' 2022-09-05 11:43:38 +10:00
Deon George ff00e88417 Options code tidyup 2022-09-05 11:43:38 +10:00
Deon George b6dc14971f Listener code tidyup - consistent use of slack queue "slack" 2022-09-05 11:43:38 +10:00
Deon George 89c13bcb73 API code tidyup 2022-09-04 10:21:01 +10:00
Deon George a68c7936a6 Add active to Team fillable 2022-09-02 23:49:44 +10:00
Deon George 3bac7dcf6b More functionality with emphemeral messages 2022-09-02 23:08:55 +10:00
Deon George e9a4eae7d1 Enable sending ephemeral messages to Slack 2022-09-02 17:39:49 +10:00
Deon George 80c1768534 Fixes to getting values from buttons 2022-08-30 12:01:13 +10:00
Deon George 9611939c57 Fixes for Button elements 2022-08-25 13:44:03 +10:00
Deon George 64228796ae Add ExternalSelect, fix spelling for PlainTextInput, other minor syntax errors 2022-08-24 23:44:36 +10:00
Deon George 32a5d7f05a Added Blocks/Elements/MultiExternalSelect, ViewSubmission enhancements and Options/Base updates 2022-08-24 17:32:05 +10:00
Deon George 8c4f3413f2 Consistent use of LOGKEY and make classes final where there downstream app shouldnt override them 2022-08-24 14:21:18 +10:00
Deon George 5f14be0cae Add our table names to our models, since they are not determined automatically 2022-08-24 12:08:49 +10:00
Deon George 6b27945142 Rename our migration so that it is always first 2022-08-24 12:08:49 +10:00
Deon George 612798e67f BlockAction optimisation 2022-08-23 21:35:11 +10:00
Deon George 4691a3f775 Code styling update, no functional changes 2022-08-23 17:48:09 +10:00
Deon George e5f803d122 Add SlashCommand controller, and change routes to slack/* and api/slack/* 2022-08-22 21:59:02 +10:00
Deon George bb5539f158 Add callback_id to BlockActions, fix block::sections can also only have an accessory 2022-06-27 22:25:57 +10:00
Deon George 1e5281de29 More debugging trying to catch websocket connect errors 2022-06-22 10:56:45 +10:00
Deon George b69220b1ce Record in the logs the contents of any Invalid JSON messages 2022-06-10 09:34:09 +10:00
Deon George 1cbab6df2a Update phpws due to vulenerabilities in earlier versions of laminas\ 2022-06-01 10:48:13 +10:00
Deon George ec8173a339 We now use \Laminas as \Zend is abandoned 2022-06-01 10:20:38 +10:00
Deon George a7f043b23e Enable overriding database Models by the calling application - those models must be in the Slack/ subdir 2022-05-19 17:51:26 +10:00
Deon George eb73a67fa8 Add slack to composer.json keywords 2022-05-19 14:16:10 +10:00
Deon George 1c3966598d Change to how we resolve a user's team between Slack/ and App/* models 2022-02-24 13:56:47 +11:00
Deon George c5a13046ed Added in HTTP interactive options messages and Controller 2022-02-24 12:28:05 +11:00
Deon George 29d3591125 Added in HTTP interactive messages and Controller 2022-02-24 12:28:05 +11:00
Deon George dbd355555b added Message/AttachmentAction 2022-02-24 09:00:45 +11:00
Deon George 3cadf2b808 Changed calling open home screen job 2022-02-23 14:30:47 +11:00
Deon George a98debe69a add Elements/StaticSelect, viewOpen now only takes a modal 2022-02-23 14:30:47 +11:00
Deon George 4ea6152194 Add Accessories/Overflow 2022-02-23 14:30:47 +11:00
Deon George 181365f456 Added Input/PlainTextInput, some minor fixes 2022-02-23 11:32:32 +11:00
Deon George 6b16d07d80 Incorporate HTTP endpoint logic so we can now do websockets or HTTP endpoints 2022-02-23 11:32:32 +11:00
Deon George b0c3897e45 Remove calls to new Block that were missed from #b2cd5c7 2022-02-01 08:57:35 +11:00