0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-04 12:58:53 +01:00
Commit graph

118 commits

Author SHA1 Message Date
Jason Volk
49dc7e77f2 ircd:Ⓜ️:media: Use abstract federation request for media downloads. 2020-03-07 21:33:44 -08:00
Jason Volk
0a90b4d4cc ircd:Ⓜ️:fed: Apply the canon service to all remotes without a service string. 2020-03-06 10:37:28 -08:00
Jason Volk
df79d61395 ircd::util: Elide std::function overhead for util::unwind suite. 2019-12-03 13:39:49 -08:00
Jason Volk
dbb3c55db5 matrix: Add m::homeserver; preliminary virtual origin networks. 2019-10-01 17:56:01 -07:00
Jason Volk
d03cf8f7a8 modules: Re-type matrix resource handlers under m::resource. 2019-09-29 14:00:02 -07:00
Jason Volk
25bcd24e5f ircd:Ⓜ️:media::file: Eliminate block buffering here. 2019-09-17 20:17:37 -07:00
Jason Volk
dc1364c735 ircd:Ⓜ️:media::block: Add zero-copy block::get() closure. 2019-09-17 20:17:37 -07:00
Jason Volk
e357974d6f ircd:Ⓜ️:media::file: Fully pipeline data block and event requests during file read. 2019-09-17 12:41:20 -07:00
Jason Volk
e267b5232d ircd:Ⓜ️:media::block: Add prefetch() to interface. 2019-09-17 11:35:50 -07:00
Jason Volk
05641c356b ircd:Ⓜ️:media::file: Add prefetching for events during read iteration. 2019-09-16 19:59:03 -07:00
Jason Volk
a52ad73e87 ircd:Ⓜ️:room: Rename room::messages to room::events. 2019-08-30 14:43:19 -07:00
Jason Volk
065c0bd426 ircd:Ⓜ️:media: Start a weak central interface; move core utils into namespace. 2019-08-22 01:53:28 -07:00
Jason Volk
7d8d0e76f3 modules/media/download: Mark the allow_remote query string sent by R!ot. 2019-08-07 15:04:12 -07:00
Jason Volk
327130ecb7 modules/media: Fix log facility name. 2019-08-04 15:10:13 -07:00
Jason Volk
739490722e modules/media/media: Branch for conditional loading of magick.so. 2019-08-02 15:04:28 -07:00
Jason Volk
72f6fc9295 modules/media/thumbnail: Add conf item to disable remote fetch. 2019-07-25 21:43:05 -07:00
Jason Volk
6d4e17a77c modules/media: Hold a reference to magick module. 2019-07-25 21:43:05 -07:00
Jason Volk
3121dc30df modules: Move magick out of media; hold instance from media. 2019-07-25 21:02:48 -07:00
Jason Volk
bde9e16e5c ircd::ctx: Inline cur_slice_cycles().
modules/media/magick: Use this_ctx::cycles_here().

ircd::ctx: Improve prof::cycles API related.
2019-07-23 16:40:29 -07:00
Jason Volk
6804123244 modules/media/magick: Synchronize module unload. 2019-07-16 16:25:08 -07:00
Jason Volk
1fa275813c modules/media/magick: Call ::DestroyMagickResources() on module dtor. 2019-07-13 19:28:48 -07:00
Jason Volk
23afd0ee37 modules/media/magick: Add a job loghead(). 2019-07-06 05:44:10 -07:00
Jason Volk
2ee958bd41 modules/media/thumbnail: Add mime type whitelist/blacklist; improve fallback conditions. 2019-07-05 18:37:27 -07:00
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