Commit Graph

54 Commits

Author SHA1 Message Date
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
Deon George
3a7f411020 Show size of chars in debug 2022-01-19 16:43:29 +11:00
Deon George
b2cd5c7d46 Rework BlockKit to include validation on size and counts 2022-01-19 14:06:04 +11:00
Deon George
b20d7e2988 Fix when user is not defined and a test is made to $user->is_admin 2021-12-22 10:12:45 +11:00
Deon George
0edfa512c7 Fix for creating users - active wasnt included. Also make admin default to FALSE 2021-12-18 10:30:06 +11:00
Deon George
0414760cf0 Add some helper functions 2021-12-15 11:27:36 +11:00
Deon George
44fd2207fe Change add to slack image to inline svg 2021-12-15 09:48:34 +11:00
Deon George
104bc217fc Change to use leenooks/phpws, for DNS_SERVER fixes 2021-12-09 15:53:48 +11:00
Deon George
2514bafd97 Added more slack debugging when using socket mode 2021-12-09 13:35:23 +11:00
Deon George
66031eff47 Add scheduled messages 2021-12-08 14:21:57 +11:00
Deon George
1a5371a7b9 Seems commands __construct() is called during composer dump autoload 2021-12-07 14:57:46 +11:00
Deon George
7ee2df607c
Add ability to overrload SlackBotChannel::class with a local implementation. 2021-12-01 14:33:42 +11:00
Deon George
e864d46430
Added some logging to SlackBotChannel::class 2021-12-01 13:33:10 +11:00
Deon George
edfb802805
More debugging for connects and disconnects 2021-08-24 16:32:19 +10:00