0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-13 21:41:06 +01:00
Commit graph

145 commits

Author SHA1 Message Date
Jason Volk
f48182404f modules/media/media: Fix condition variable.
modules/media/media: Minor cleanup.
2019-07-05 17:37:02 -07:00
Jason Volk
b8dfa9ccee ircd::magick: Reorg and elaborate the job state tracking; add interface. 2019-07-05 16:05:36 -07:00
Jason Volk
a6e65d1efe modules/media/magick: Fix assumptions for job demarcation. 2019-07-05 13:48:08 -07:00
Jason Volk
0def9bd5f1 modules/media/magick: Add conf limit for CPU cycles of a running ImageMagick job. 2019-06-29 19:16:20 -07:00
Jason Volk
55bc296068 modules/media/magick: Add conf limit for job based on the span quantum. 2019-06-29 17:31:40 -07:00
Jason Volk
ce7bb21ea4 modules: Disambiguations for clang. 2019-06-24 01:33:41 -07:00
Jason Volk
9b34f75e0d modules/media/thumbnail: Throw better exception type here. 2019-06-15 13:21:11 -07:00
Jason Volk
e3acf68bf2 modules/media: Purge the file room after creation if operation does not complete.
Related to #86.
2019-06-15 12:32:43 -07:00
Jason Volk
8a69adb9c5 modules/media/thumbnail: Get magick availability this way for now. 2019-06-04 02:22:09 -07:00
Jason Volk
fc9ed2e87e ircd::fmt: Fix specifier escaping. 2019-06-01 02:31:03 -07:00
Jason Volk
eb73595c50 ircd: Apply uniform info::versions for all dependency version identification. 2019-05-31 16:15:01 -07:00
Jason Volk
7d7df3b44f README: Minor fixes. [skip ci]
modules/media/magick: Fix comment.
2019-05-30 09:52:02 -07:00
Jason Volk
8420d14ff6 modules/media/thumbnail: Implement 13.8.1.4 thumbnail method=crop.
fixes #72.
2019-05-30 06:38:47 -07:00
Jason Volk
a651952eda modules/media/magick: Add composite thumbcropper for matrix. 2019-05-30 06:38:42 -07:00
Jason Volk
c2dc298304 modules/media/magick: Add Xlib display gimmick for debugging. 2019-05-30 06:38:42 -07:00
Jason Volk
5f5318c129 modules/media/magick: Fix return type template. 2019-05-30 06:38:42 -07:00
Jason Volk
4367fa94b7 modules/media/magick: Cleanup and reduce all transform operations in implementation. 2019-05-30 06:38:42 -07:00
Jason Volk
97654606b1 ircd::magick: Add interface for basic scale operation. 2019-05-30 06:13:06 -07:00
Jason Volk
500e3938f6 ircd::magick: Add interface for shave operation. 2019-05-30 06:13:06 -07:00
Jason Volk
c80bc298d0 ircd::magick: Add support for image crop operation. 2019-05-30 06:13:06 -07:00
Jason Volk
e091f09f46 modules/media/thumbnail: Reduce the minimum width and height conf item defaults. 2019-05-30 06:13:06 -07:00
Jason Volk
0f551f9a4f modules/media/magick: Improve exception propagations. 2019-05-30 01:30:00 -07:00
Jason Volk
e2e3d0bc3f modules/media/magick: Add memory hooks; set safe callbacks before lib init. 2019-05-30 01:30:00 -07:00
Jason Volk
1a55c43b0a modules/media/magick: Add conf items for progress yield threshold. 2019-05-30 01:30:00 -07:00
Jason Volk
99f151635a modules/media/thumbnail: Add basic conf items. 2019-05-29 19:20:17 -07:00
Jason Volk
d156965271 modules/media/thumbnail: Implement uncached width and height scale thumbnailing.
closes #40.
2019-05-29 18:18:44 -07:00
Jason Volk
21ca583a2b modules/media/magick: Yield within the progress callback. 2019-05-29 18:18:44 -07:00
Jason Volk
d0fc7350df ircd::magick: Simplify thumbnail interface; no result copy. 2019-05-29 17:21:12 -07:00
Jason Volk
0fd7dd998f modules/media/magick: Stub the progress monitor handler. 2019-05-29 04:55:09 -07:00
Jason Volk
c1433402c0 modules/media/magick: Make greedy use of globals/callbacks; disable their OpenMP threads. 2019-05-29 04:43:14 -07:00
Jason Volk
48c1e30930 modules/media/magick: Use proper log facility in unit. 2019-05-29 04:40:10 -07:00
Jason Volk
2e14bfe337 ircd::magick: Add a thumbnailer. 2019-05-28 23:38:25 -07:00
Jason Volk
16f6fbc352 ircd::magick: Start a central header; add interface support infrastructure. 2019-05-28 23:24:45 -07:00
Jason Volk
582cecccec modules/media: Start an {Image|Graphics}Magick library interface module. 2019-05-28 21:03:01 -07:00
Jason Volk
5bf83776af modules/media: Remove boost GIL stub. 2019-05-28 19:38:39 -07:00
Jason Volk
541dbadf2f ircd::buffer: Increase restrictions for unique_buffer<>. 2019-04-12 11:34:00 -07:00
Jason Volk
6fbf2e082b modules/media/media: Minor cleanup. 2019-04-10 22:32:06 -07:00
Jason Volk
c3480f9f79 ircd: Rename various matrix loggers; increase log name width. 2019-04-05 18:12:22 -07:00
Jason Volk
7ea83597e5 modules/media: Assert and condition remote download request isn't for my_host(). 2019-03-07 15:11:27 -08:00
Jason Volk
80743b2fd5 modules/media: Throw better http codes for downloading media. 2019-03-07 15:11:27 -08:00
Jason Volk
f1a6654f21 ircd:Ⓜ️ Remove any options which toggle full json persistence. 2019-01-24 11:37:26 -08:00
Jason Volk
d798124c03 modules/media: Prevent saving full JSON for internal media and presence events. 2019-01-16 13:51:44 -08:00
Jason Volk
0e58aceee9 modules/media: Optimize various event fetches. 2018-12-29 19:43:17 -08:00
Jason Volk
6de17431ff ircd: Reverse arguments for url::encode()/decode(); minor reorg. 2018-12-06 16:41:47 -08:00
Jason Volk
3f6ae85f8f ircd::db: Add automated column drop support; update existing descriptors. 2018-11-30 14:43:51 -08:00
Jason Volk
339940ddfc modules/media: Disable compression for blocks. 2018-11-29 15:42:27 -08:00
Jason Volk
46154c61c2 modules/media/media: Add some bloom on blocks table. 2018-10-16 09:13:53 -07:00
Jason Volk
ede0f79c3d modules/s_conf: Eliminate the redundant conf reload after runlevel RUN transition. 2018-09-29 19:57:14 -07:00
Jason Volk
53651ad808 ircd::db: Move database::descriptor out to db::descriptor. 2018-09-19 15:38:37 -07:00
Jason Volk
4660619f4a modules/media/media: Disable bloom; ircd:Ⓜ️:dbs: Disable state_node bloom. 2018-09-17 23:51:55 -07:00
Jason Volk
28df7cc529 modules/media: Increase the block size for media db. 2018-09-17 21:45:32 -07:00
Jason Volk
114bbdb7d0 modules/media/media: Add conf items for enabling caches. 2018-09-15 06:41:34 -07:00
Jason Volk
bec1006ba7 modules/media/media: Check for column init for any conf update. 2018-09-05 00:07:49 -07:00
Jason Volk
6f3c7b6f56 modules/media: Fix init ordering and decls. 2018-09-05 00:01:39 -07:00
Jason Volk
84334ef4b4 modules/media/media: Demote mime type mismatch warning to dwarning. 2018-09-04 20:34:50 -07:00
Jason Volk
499e725e73 modules/media/media: Add conf item for download timeout. 2018-09-04 20:34:10 -07:00
Jason Volk
1edab7bb15 modules/media/media: Make conf items for blocks cache size. 2018-09-04 20:33:22 -07:00
Jason Volk
d3a8a57295 modules/media/thumbnail: Checkpoint disabling this header for now. 2018-09-04 20:28:07 -07:00
Jason Volk
a818610e32 modules/media/upload: Fix content buffer offset. 2018-09-04 20:27:30 -07:00
Jason Volk
c2ae61093a modules/media/media: Minor simplify. 2018-08-28 22:46:23 -07:00
Jason Volk
5ce4fb3fd3 modules/media/media: Manually close db on fini w/ note. 2018-06-01 05:38:50 -07:00
Jason Volk
523434b313 modules/media/media: Fix linkage of constexpr. 2018-05-10 21:08:58 -07:00
Jason Volk
dcbbaf2579 ircd::server: Add opts::prio value; special case prio value in link selection. 2018-05-09 17:07:37 -07:00
Jason Volk
68c863e7f9 ircd:Ⓜ️:vm: Reorg commit stack; move room commit thing to m::vm. 2018-05-06 18:02:33 -07:00
Jason Volk
65786b77ea modules/media: Add a block database and remove local fs related. 2018-04-30 07:31:11 -07:00
Jason Volk
e6a204263e modules/media: Convey a user_id through the download stack for the file room. 2018-04-30 07:30:34 -07:00
Jason Volk
bf68626712 modules/media: Distill out download stack w/ concurrent request barrier. 2018-04-25 22:03:50 -07:00
Jason Volk
bffff30ac3 modules/media: Additional checks / cleanup. 2018-04-25 20:52:26 -07:00
Jason Volk
bc79fabfef modules/media: Add error logging; various cleanup. 2018-04-24 18:26:35 -07:00
Jason Volk
a068857bb9 modules/media: Provide suitable extern linkage for file_room_id. 2018-04-24 17:41:51 -07:00
Jason Volk
bfba0ada0c modules/media: Add preview_url stub-plus. 2018-04-23 00:47:03 -07:00
Jason Volk
a5ebd50f55 modules/media: Additional argument to separate server name from actual remote. 2018-04-22 21:10:31 -07:00
Jason Volk
05369c5d3a modules/media: Various cleanup / reenable assertions. 2018-04-22 21:10:31 -07:00
Jason Volk
8ced86e503 modules/media/upload: File media in a file room. 2018-04-21 15:22:43 -07:00
Jason Volk
d35a0190f7 modules/media: Add checks for empty parameters / bogus file room hash. 2018-04-21 00:53:08 -07:00
Jason Volk
79e2e698e0 modules/media/download: Get local media from a file room. 2018-04-21 00:51:51 -07:00
Jason Volk
19d7e05605 ircd::resource: Allow each resource method to specify its timing. 2018-04-15 18:02:41 -07:00
Jason Volk
dc2bd4f66e modules/media: Distill out some current media room functionality. 2018-04-12 23:07:45 -07:00
Jason Volk
a8b143d6c2 modules/media: Consolidate media modules for easier linkages. 2018-04-12 23:07:45 -07:00
Jason Volk
d3e6b20f14 ircd:Ⓜ️:vm: Distill vm::opts::commit extension from vm::opts. 2018-04-05 23:14:30 -07:00
Jason Volk
8d0681e7b1 ircd::ctx: Eliminate the std future_status and simplify our real-use interfaces. 2018-04-05 22:16:32 -07:00
Jason Volk
d81291e367 modules: Fix various mapi header names. 2018-03-16 23:48:05 -07:00
Jason Volk
e2569b4cb6 ircd: Disambiguate the litany of response argument variations. 2018-03-09 17:10:45 -08:00
Jason Volk
e53582d749 modules/media: Checkpoint preliminary file room concept. 2018-03-08 12:38:02 -08:00
Jason Volk
8dee5dd81e modules/media: Move GIL headers; Update README. 2018-03-02 08:02:20 -08:00
Jason Volk
6f6234fd38 modules/media/thumbnail: Various fixes: use dynamic content; use diff endpoint; throw errors. 2018-02-27 01:42:25 -08:00
Jason Volk
3cc3f6da3d modules/media/upload: Checkpoint rename to hash fwiw. 2018-02-26 20:51:42 -08:00
Jason Volk
5c5a5d3c83 modules/media/download: Add the deprecated /v1/ url handler for Riot. 2018-02-26 05:42:46 -08:00
Jason Volk
10eb0b3216 modules/media: 11.7.1.4 Thumbnail; remote fetch. 2018-02-26 04:16:51 -08:00
Jason Volk
ed96588155 modules/media/download: Replace old stub with new stub involving magic::mime. 2018-02-21 17:46:24 -08:00
Jason Volk
283a561c01 modules/media/upload: 11.7.1 Asynchronous upload dialectic demonstration. 2018-02-17 21:42:27 -08:00
Jason Volk
be624ca7f6 Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
Jason Volk
ba3d1e7af4 modules: Add stub media/upload. 2017-12-24 21:54:59 -07:00
Jason Volk
f931308850 ircd/modules: Update resource / opts construction arguments. 2017-12-12 14:59:40 -07:00
Jason Volk
f89d6f651c modules: Add preliminary federation and media directories. 2017-11-30 11:23:40 -08:00