Commit graph

60 commits

Author SHA1 Message Date
Pierre Rudloff
9564764633
ucfirst Smarty modifier is deprecated
See https://github.com/smarty-php/smarty/issues/813
2023-03-21 20:25:47 +01:00
Pierre Rudloff
1031ad152d Remove every reference to alltubedownload.net (#422) 2022-10-16 15:22:47 +02:00
Pierre Rudloff
bfaea0e381 Merge tag '3.0.1' into develop
Fixed an open redirect vulnerability that could be used to construct an URL redirecting to an arbitraty domain
2022-02-20 13:34:53 +01:00
Pierre Rudloff
bc14b6e45c Don't redirect to REQUEST_URI when browsing to index.php
Instead, we can make sure everything works correctly on index.php
2022-02-20 13:28:57 +01:00
Pierre Rudloff
d9ba01f017 Generate <img> tags with Smarty 2022-02-06 19:17:05 +01:00
Pierre Rudloff
ac8c53375a Easier to maintain template structure
This the head and footer don't have to be included everytime and the hierarchy is easier to read
2022-02-03 21:41:07 +01:00
Pierre Rudloff
de74808459 More readable way to include HTML in translated strings 2022-02-03 21:07:13 +01:00
Pierre Rudloff
bdf5554430 Use HTTPS links 2022-02-03 20:55:09 +01:00
Pierre Rudloff
9688244285 Remove donation links 2021-02-22 21:12:23 +01:00
Pierre Rudloff
5c0ed594f3 Debug bar 2021-02-06 15:35:09 +01:00
Pierre Rudloff
f184bda59b Make sure locale is always set, even on first request 2020-11-21 14:20:01 +01:00
Pierre Rudloff
9a12a2d13b Don't install open-sans in vendor 2020-10-20 01:24:36 +02:00
Pierre Rudloff
1d5a81ad8c Don't override the VarDumper styles 2020-10-20 00:06:25 +02:00
Pierre Rudloff
3ba720dce0 Get open-sans from Packagist
So we can stop requiring Asset Packagist
2020-07-20 23:04:03 +02:00
Pierre Rudloff
251fbe48ca Add generator meta with the current version 2020-06-21 15:51:28 +02:00
Pierre Rudloff
d4c1357c32 Lint 2020-05-14 00:18:39 +02:00
daCaPo
c3b45fe128 Switch to ytdl-org/youtube-dl 2020-03-19 10:12:18 +01:00
Pierre Rudloff
2f3ab77e8b Stop using grunt and use grumphp and robo instead 2019-11-30 16:34:35 +01:00
Pierre Rudloff
850fc80622 Add support for variables in translation (#250) 2019-11-29 22:13:11 +01:00
Pierre Rudloff
5c480f4268 Remove social buttons 2019-11-28 00:08:18 +01:00
Pierre Rudloff
a5bd827d21 Switch to symfony/translation for translations (#250) 2019-11-27 23:15:49 +01:00
Damien Senger
27543f9024
Updates the doctype to be lowercase 2019-04-13 12:51:49 +02:00
Damien Senger
60350747a5
Adds a label to social sharing links
According to the WCAG (success criterias 2.4.4 and 4.1.2), the purpose
of each link should be determined from the link text alone or from the
link text together with its programmatically determined link context.

In this case, because there is no text content, we are using
`aria-label` to have an explicit purpose announced to users of
assisting technologies.

Resources:
- https://dequeuniversity.com/rules/axe/3.2/link-name
- https://www.w3.org/TR/WCAG21/#link-purpose-in-context
- https://www.w3.org/TR/WCAG20-TECHS/ARIA8.html
2019-04-13 12:19:11 +02:00
Pierre Rudloff
c6cf05f8ec refactor: Move app name to a config variable
See #205
2019-01-06 16:59:16 +01:00
Pierre Rudloff
8a3b139603 chore: Add missing string to locales 2018-05-29 18:46:44 +02:00
Pierre Rudloff
27737ef49f feat: Add donate link to footer 2018-05-29 18:41:12 +02:00
Pierre Rudloff
af07826dac fix: Remove link to Facebook page
Since we don't use it anymore
2018-03-26 11:53:17 +02:00
Pierre Rudloff
bd00fd76ec perf: Add rel="noopener" on external links
See https://developers.google.com/web/tools/lighthouse/audits/noopener
2018-01-16 13:10:51 +01:00
Pierre Rudloff
f1d4d2f25c Capitalize locale names 2017-08-07 16:50:25 +02:00
Pierre Rudloff
4343edcdbb Merge branch 'master' into develop 2017-07-03 10:40:13 +02:00
Pierre Rudloff
dd00e9d279 Remove Google Cast support since the JS library does not seem to be maintained anymore and it frequently breaks 2017-07-03 10:19:50 +02:00
Pierre Rudloff
2e93ab867c Hide language switcher if only one locale is supported 2017-06-01 23:45:35 +02:00
Pierre Rudloff
be1163a408 Fix locale switcher position on mobile 2017-06-01 22:48:14 +02:00
Pierre Rudloff
4b174d297b Add title on share links 2017-06-01 11:43:07 +02:00
Pierre Rudloff
bb0f3b9f7c Font size abstraction 2017-06-01 11:25:59 +02:00
Pierre Rudloff
c9c3988b91 Fix tests 2017-06-01 11:08:50 +02:00
Pierre Rudloff
f6a04458e7 Improve language switcher 2017-06-01 10:59:37 +02:00
Pierre Rudloff
bbee27caa9 Language switcher CSS 2017-06-01 01:04:39 +02:00
Pierre Rudloff
6905877e36 Use lang attributes in locale switcher 2017-05-31 16:35:37 +02:00
Pierre Rudloff
2add291023 Use emoji instead of SVG flags 2017-05-31 16:26:00 +02:00
Pierre Rudloff
a2dc71753e Rename Smarty variable to avoid confusion 2017-05-31 09:32:11 +02:00
Pierre Rudloff
419110f764 Fix FrontController tests 2017-05-31 00:07:34 +02:00
Pierre Rudloff
6087e90b67 Remove empty <ul> 2017-05-30 23:55:11 +02:00
Pierre Rudloff
90dc6f4478 Display each locale in its own language 2017-05-30 23:49:49 +02:00
Pierre Rudloff
0f80cbd333 Improve locale handling 2017-05-30 23:31:12 +02:00
Pierre Rudloff
b4dd0aeb29 Basic locale switcher 2017-05-30 22:21:27 +02:00
Pierre Rudloff
ff247a5c08 Move gettext files outside of template directory 2017-05-29 19:02:48 +02:00
Pierre Rudloff
3fff849ea8 Merge branch 'master' of https://github.com/tony199555/alltube into feature/gettext
Conflicts:
	composer.json
	composer.lock
	templates/index.tpl
	templates/video.tpl
2017-05-29 19:01:20 +02:00
Unknown
1e1b97c648 Name Correction 2017-05-26 11:45:05 -07:00
Unknown
404935be05 Possible fix recommend by Rudloff 2017-05-26 11:38:34 -07:00