Commit graph

1951 commits

Author SHA1 Message Date
Nachtalb 3a6ac4e5ec
Support animated webp images
We need to remove the metadata without breaking the animation.
For that we use sharp which incooperates libvips (binaries for most common distros included).

This also decreases client side upload complexity as we remove the metadata on the serverside.

Sharp: https://sharp.pixelplumbing.com/
libvips: https://libvips.github.io/libvips/
2021-04-13 18:24:32 +02:00
Nachtalb 14d76f8023
Add proper filename to the content-disposition header
By default we take the slug given in the request, if this is not set we try to give a filename from known types.
If we still have no filename we fallback to the previous method of setting no filename.

If the filename is non ascii we will only create the encoded "filename*" and not the ascii only "filename". This is to prevent other applications to save a file like "?????.png" if the filename contains non ascii chars.

For the browsers nothing will really change comapred to the behaviour before this change as good fallbacks if no content-disposition filename is set. But that is not the case for all application, thus it makes sense to include the proper way to set the filename.
2021-04-11 15:41:21 +02:00
Renovate Bot 7df94f01a7
Update dependency commander to v7.2.0 2021-04-05 23:18:45 +00:00
Max Leiter d94d09f4ba
Merge pull request #4076 from thelounge/renovate/eslint-7.x
Update dependency eslint to v7.23.0
2021-04-05 16:17:34 -07:00
Max Leiter d248f98618
Merge pull request #4182 from thelounge/renovate/babel-monorepo
Update babel monorepo
2021-04-05 16:17:06 -07:00
Renovate Bot 1913a3ade6
Update babel monorepo 2021-04-05 20:40:02 +00:00
Renovate Bot 386f90614b
Update dependency eslint to v7.23.0 2021-04-05 20:39:11 +00:00
Renovate Bot d1995a0f7d
Update dependency chai to v4.3.4 2021-04-05 20:38:41 +00:00
Renovate Bot d600a10f48
Update dependency @fortawesome/fontawesome-free to v5.15.3 2021-04-01 00:22:11 +00:00
Max Leiter 57bce195de
v4.3.0-pre.1 2021-03-03 00:24:15 -08:00
Max Leiter 8ce947130b
Merge pull request #4142 from thelounge/renovate/sqlite3-5.x
Update dependency sqlite3 to v5.0.2
2021-03-02 21:47:32 -08:00
Renovate Bot f0a3611d1e
Update dependency sqlite3 to v5.0.2 2021-03-03 05:37:04 +00:00
Renovate Bot df6226c7ca
Update babel monorepo 2021-03-03 05:36:36 +00:00
Max Leiter 8dfa7305b3
Merge pull request #4168 from thelounge/renovate/commander-7.x
Update dependency commander to v7.1.0
2021-03-02 21:35:02 -08:00
Max Leiter 850b49d802
Merge pull request #4169 from thelounge/renovate/css-loader-5.x
Update dependency css-loader to v5.1.1
2021-03-02 21:34:42 -08:00
Renovate Bot 19c7a513f1
Update dependency eslint to v7.21.0 2021-03-02 22:12:30 +00:00
Renovate Bot fbad88f9da
Update dependency css-loader to v5.1.1 2021-03-02 22:12:15 +00:00
Renovate Bot 2f29089bbf
Update dependency commander to v7.1.0 2021-03-02 22:12:01 +00:00
Pavel Djundik e6fc726c91 Upgrade to socket.io v3 2021-02-28 15:30:44 -08:00
Max Leiter de12699fa6 Update dependencies 2021-02-09 14:52:55 -08:00
Max Leiter d09f6f6144
Merge pull request #4138 from thelounge/renovate/copy-webpack-plugin-6.x
Update dependency copy-webpack-plugin to v6.4.1
2021-02-09 13:19:53 -08:00
Max Leiter 27195dd34a
Merge pull request #4139 from thelounge/renovate/dayjs-1.x
Update dependency dayjs to v1.10.4
2021-02-09 13:19:38 -08:00
Max Leiter b29850b2d0
Merge pull request #4140 from thelounge/renovate/eslint-7.x
Update dependency eslint to v7.19.0
2021-02-09 13:19:07 -08:00
Renovate Bot 43a70df1b1
Update dependency eslint-plugin-vue to v7.5.0 2021-02-09 00:01:45 +00:00
Renovate Bot 247f20c8ef
Update dependency eslint to v7.19.0 2021-02-09 00:01:29 +00:00
Renovate Bot 6fc72624aa
Update dependency dayjs to v1.10.4 2021-02-09 00:01:13 +00:00
Renovate Bot 3d1834cc5e
Update dependency copy-webpack-plugin to v6.4.1 2021-02-09 00:00:58 +00:00
Pavel Djundik 8fa8eed1e5 Upgrade dependencies 2020-11-25 17:45:22 +02:00
Renovate Bot a4f4d23693
Update vue monorepo 2020-11-02 08:20:01 +00:00
Pavel Djundik 41831d18b1
Upgrade to webpack 5 and all deps 2020-10-30 15:10:50 +02:00
Pavel Djundik 800fc95278 Update dependencies 2020-10-23 11:52:04 +03:00
Pavel Djundik 3e9262a345 Update dependencies 2020-10-15 12:22:49 +03:00
Pavel Djundik a9fb563c01 Update mini-css-extract-plugin 2020-10-11 11:06:52 +03:00
Pavel Djundik e7a8258ac0 Update packages 2020-10-11 10:56:13 +03:00
Pavel Djundik c89b2bb0d6 Update postcss-loader
postcss is required by cssnano, so no need to list is explicitly
2020-09-30 17:50:24 +03:00
Pavel Djundik 1c004cbd17 Upgrade eslint-plugin-vue and fix rules 2020-09-30 17:44:07 +03:00
Pavel Djundik 02357ab9de Upgrade dependencies 2020-09-30 17:41:56 +03:00
Pavel Djundik e622662c16 Update dependencies 2020-09-18 11:49:09 +03:00
Pavel Djundik 75926432d0 Update dependencies 2020-09-02 10:38:16 +03:00
Pavel Djundik b9540636de Update dependencies 2020-08-29 11:51:01 +03:00
Pavel Djundik b74b692391 Update prettier and apply formatting 2020-08-25 12:49:53 +03:00
Pavel Djundik 12ceb10c75
Merge pull request #4046 from thelounge/renovate/tlds-1.x
Update dependency tlds to v1.209.0
2020-08-23 20:49:39 +03:00
Pavel Djundik 037f09a22f
Merge pull request #4043 from thelounge/renovate/babel-monorepo
Update dependency @babel/core to v7.11.4
2020-08-23 20:49:29 +03:00
Renovate Bot 1df4dfad4a
Update dependency tlds to v1.209.0 2020-08-22 03:58:34 +00:00
Renovate Bot 8fb6f291f8
Update dependency pretty-quick to v3 2020-08-22 01:26:16 +00:00
Renovate Bot fedaada5a9
Update dependency @babel/core to v7.11.4 2020-08-22 00:13:04 +00:00
Pavel Djundik 7bf4f68ff8 Upgrade packages 2020-08-20 19:43:53 +03:00
Pavel Djundik 19e7017d31 v4.2.0 2020-08-20 19:13:57 +03:00
Pavel Djundik f63f1abb7c Remove graphql-request dependency from changelog script 2020-08-17 12:46:28 +03:00
Pavel Djundik 1ef7d5ed49 Update dependencies and yarn.lock 2020-08-17 12:21:23 +03:00