Commit Graph

41 Commits

Author SHA1 Message Date
Tim Düsterhus 5fce0c092c
Send the tmpHash instead of the attachmentId
All the PHP goodies reside inside the AttachmentHandler which expects the
tmpHash.
2020-11-01 16:24:57 +01:00
Tim Düsterhus 9a870f3f94
Wire Chat.js to Attachment/Upload.js 2020-11-01 16:24:46 +01:00
Tim Düsterhus baa654a37a
Relay the attachmentId in `send` event 2020-11-01 16:24:45 +01:00
Tim Düsterhus e9739cd806
Delete attachments when deleting messages 2020-11-01 16:24:45 +01:00
Tim Düsterhus db49854c8c
Add user.chat.canAttach userGroupOption 2020-11-01 16:24:45 +01:00
Maximilian Mader d5195c0562
Implement attachment upload UI skeleton 2020-11-01 16:24:43 +01:00
Tim Düsterhus d07d18a0cb
Hardcode acceptable attachment extensions to common images 2020-11-01 16:20:13 +01:00
Tim Düsterhus 762719179b
Add attachment object types 2020-11-01 16:20:12 +01:00
Tim Düsterhus 7d3f237927
Use return type annotations in favor of PHPDoc 2020-11-01 14:14:15 +01:00
Tim Düsterhus 9c9e634388
Add property-read to Message / Room DBOs 2020-11-01 14:14:15 +01:00
Tim Düsterhus 4a659214a0
Add constants.php 2020-11-01 14:09:21 +01:00
Tim Düsterhus 1b1e1ed565
Add missing transaction to WhisperCommand 2020-11-01 13:25:42 +01:00
Tim Düsterhus 6d1b37cacd
Add missing transaction to PlainCommand 2020-11-01 13:24:18 +01:00
Tim Düsterhus 1edeb7b299
Tighten up versions in .babelrc 2020-10-31 20:01:51 +01:00
Tim Düsterhus 00b55f50bc
Update yarn dependencies 2020-10-31 19:54:56 +01:00
Tim Düsterhus 931b01a4bf
Remove unused import in Ui/Chat.js 2020-10-31 19:05:01 +01:00
Tim Düsterhus 17468c9cf6
Make Ui/Input/Autocompleter less of a hack 2020-10-31 17:05:30 +01:00
Tim Düsterhus 1a83a69026
Add `class="away"` to user list in boxRoomList.tpl 2020-10-24 14:23:52 +02:00
Tim Düsterhus 83c87f4c3f
Bump version 2020-10-20 19:02:59 +02:00
Tim Düsterhus 7538639d7b
Bump version 2020-10-20 18:03:04 +02:00
Tim Düsterhus c1da9db123
Use excludedpackages in favor of compatibility 2020-10-20 18:03:04 +02:00
Tim Düsterhus 3a720b4192
Update yarn dependencies 2020-07-16 21:02:00 +02:00
Tim Düsterhus 6f4c83b73f
Remove bogus `width: 100%` from images in stream 2020-06-15 00:14:34 +02:00
Tim Düsterhus 03292b963c
Make use of __pageDataAttributes in room.tpl 2020-05-30 13:10:08 +02:00
Tim Düsterhus d33d8e671c
Make room topic field class="long" in roomAdd.tpl 2020-05-27 19:20:05 +02:00
Tim Düsterhus 0ba406aabc
Update yarn dependencies
Bump terser and requirejs.
2020-03-25 23:23:49 +01:00
Tim Düsterhus 5687d6fabb
Bump version 2020-03-25 23:04:48 +01:00
Tim Düsterhus 560b010a65
Prevent the copy handler from unveiling tombstoned messages 2020-03-25 23:01:20 +01:00
Tim Düsterhus f097e770cf
Update yarn dependencies 2019-07-12 21:11:37 +02:00
Tim Düsterhus 0c660fbaed
Update yarn dependencies 2019-03-04 12:41:11 +01:00
Tim Düsterhus 26f2679841
Bump version 2018-11-27 20:53:30 +01:00
Tim Düsterhus 4394ee60ea
Add missing import to AbstractCommand 2018-10-23 22:01:53 +02:00
Tim Düsterhus 44257766b0
Update to Babel 7 2018-08-28 02:14:38 +02:00
Maximilian Mader 01a6c7ac22
Improve sidebar behaviour in Chrome 2018-08-23 00:10:27 +02:00
Tim Düsterhus f94d237361
Remove obsolete dependency on core.js 2018-08-22 23:20:11 +02:00
Maximilian Mader 4600abed57
Increase flex-grow parameter of the user list 2018-08-22 23:09:35 +02:00
Maximilian Mader 724540a8b2
Fix enter key check while composing characters
Chrome on macOS sends a KeyEvent with `key` set to `Enter`, the keyCode `229` and `isComposing` set to `true` when pressing enter while a character composition sequence is active, then an event for the composed key and ends with a Enter key event with the correct key code.
This has thrown our Enter key detection off and resulted in sending of the wanted message and a public message with the single composed character as content.
Ignoring the Enter key while characters are being composed seems to be safe.
2018-08-22 19:18:09 +02:00
Tim Düsterhus ca74ca6538
Make generated archives reproducible 2018-08-21 19:15:11 +02:00
Maximilian Mader 84c706bf89
Improve CSS to avoid errors in some styles 2018-08-19 18:10:39 +02:00
Maximilian Mader 525e4c10c7
Fix informal variants in de.xml 2018-08-19 02:12:47 +02:00
Tim Düsterhus 317ee29461 Initial import 2018-08-17 00:30:59 +02:00