Commit graph

51 commits

Author SHA1 Message Date
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
bdf5554430 Use HTTPS links 2022-02-03 20:55:09 +01:00
Éric Gaspar
a5bda1d35e
Fix small typos (#333)
* Fix small typos

- *Fix cap on YouTube, AllTube...*

* Fix YouTube cap
2020-12-05 15:00:46 +01:00
Pierre Rudloff
e1d7ad44e0 Make the bookmarklet compatible with ugly URLs 2020-10-22 01:36:00 +02:00
bellington3
83863bd66c
Provide config toggle to disable the 'convert seek' function (#311)
* Provide config toggle to disable the 'convert seek' function in the frontend

* Add convertSeek config option to config.example

* Only send from/to if convertSeek is activated
2020-10-17 14:14:36 +02:00
bellington3
2e8350ce1a
Provide config toggle to set 'audio' conversion on as default (#310)
* Provide config toggle to set 'audio' conversion on as default

* Fix git cherry pick mistake

* Update templates/index.tpl

Co-authored-by: Pierre Rudloff <contact@rudloff.pro>

* Add default audio config option to config.example

Co-authored-by: Pierre Rudloff <contact@rudloff.pro>
2020-09-30 00:07:20 +02:00
Pierre Rudloff
d4c1357c32 Lint 2020-05-14 00:18:39 +02:00
Pierre Rudloff
1df06f7c22 refactor: Use route names that make more sense 2019-04-22 15:31:51 +02:00
hiwelo
a5fbb74094
Fixes attributes used to link label & form inputs 2019-04-18 23:04:22 +02:00
Damien Senger
726e9bf5c1
Adds a label to audio options inputs
According to the WCAG success criterias 1.3.1 (Info and relationships),
3.3.2 (Labels or Instructions) and 4.1.2 (Name, Role, Value), labels
or instructions are required when content requires user input.

To do so, this commit adds a label for the "From" and the "To" inputs
displayed when a user chose to get the audio of a file only.

Resources:
- https://www.w3.org/TR/WCAG21/#labels-or-instructions
- https://www.w3.org/TR/WCAG21/#info-and-relationships
- https://www.w3.org/TR/WCAG21/#name-role-value
- https://www.w3.org/TR/WCAG20-TECHS/H44.html
- https://www.w3.org/WAI/WCAG21/Understanding/labels-or-instructions.html
2019-04-13 12:57:42 +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
05812e4b0e fix: Use a broader pattern for timestamps
ffmpeg accepts HOURS:MM:SS.MILLISECONDS
2018-09-11 17:04:16 +02:00
Alex Silva
a06d2ec82d
Update index.tpl 2018-09-07 18:17:45 -03:00
Alex Silva
1fd3b7a838
Update index.tpl 2018-09-07 18:14:20 -03:00
Alex Silva
4ef358258c
Added pattern 2018-09-07 15:43:16 -03:00
Alex Silva
7c8a78d574
Update index.tpl
remove placeholder
2018-08-17 11:36:53 -03:00
Alex Silva
d39b301ad2
better input method? 2018-08-17 11:28:27 -03:00
Pierre Rudloff
2efe969212 chore: Missing translations 2018-07-03 20:16:37 +02:00
Pierre Rudloff
f1cf0a2cdc feat: Add a way to trim the audio 2018-07-03 19:47:35 +02:00
Pierre Rudloff
8cbf8300d8 fix: Use a main tag for the main part of the page
See https://dequeuniversity.com/rules/axe/2.2/bypass?application=lighthouse
2018-01-16 13:07:10 +01:00
Pierre Rudloff
785a2f01a4 Hotfix: remove buggy autofocus (fixes #117) 2017-09-09 16:24:36 +02:00
Pierre Rudloff
bb0f3b9f7c Font size abstraction 2017-06-01 11:25:59 +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
3ee71db762 Added translation file 2017-05-25 23:55:04 -07:00
Pierre Rudloff
c1c6c2dd97 Merge branch 'master' into develop 2017-05-14 23:06:31 +02:00
Pierre Rudloff
fed425fce3 Use middleware instead of the noscheme workaround in order to make HTTPS work behind a reverse-proxy 2017-05-14 22:24:39 +02:00
Pierre Rudloff
a681804126 Don't use variables when we can use a Config object directly 2017-05-04 20:26:42 +02:00
Pierre Rudloff
bb7050cf75 Fix ugly URLs condition 2017-01-16 14:22:15 +01:00
Pierre Rudloff
d1e744e42c Fix bookmarklet URL (fix #90 and #89) 2017-01-16 01:58:08 +01:00
Pierre Rudloff
9f112c15b9 Add an uglyUrls option that disables URL rewriting (fixes #88) 2017-01-10 23:37:29 +01:00
Pierre Rudloff
fc73459731 Use template includes 2016-08-01 01:01:10 +02:00
Pierre Rudloff
57c5de5ac7 Correct class name 2016-07-10 13:12:44 +02:00
Pierre Rudloff
28d1319d73 Improve web app
Standalone mode
Don't display bookmarklet in standalone mode
Correct start URL
2016-07-10 13:10:20 +02:00
Pierre Rudloff
726e71b9d0 Remove useless metadata 2016-05-01 20:14:58 +02:00
Pierre Rudloff
7eef219128 noscheme on all URL 2016-04-06 13:19:27 +02:00
Pierre Rudloff
81f32c3e61 Use Slim 3.3 (fixes #49) 2016-03-30 01:39:47 +02:00
Pierre Rudloff
8a5b9a179b Remove index.php from path (fixes ##43) 2016-02-18 22:51:12 +01:00
Pierre Rudloff
dba5dac50d Wrong URL 2015-10-31 16:13:33 +01:00
Pierre Rudloff
6db25c4617 Use HTTPS for images as well 2015-10-31 11:51:07 +01:00
Pierre Rudloff
ac1eac3cf7 Cleaner bookmarklet URL 2015-10-30 11:44:58 +01:00
Pierre Rudloff
9e9f88ce1b Correct bookmarklet URL 2015-10-30 11:31:29 +01:00
Pierre Rudloff
32f45084fa Absolute URL 2015-10-30 11:27:09 +01:00
Pierre Rudloff
299634b023 Use Slim framework (fixes #33) 2015-10-29 21:24:58 +01:00
dattaz
7922e74dca add message 2015-10-28 11:57:44 +01:00
dattaz
febd940e2f Change place of bookmarklet 2015-10-28 11:54:35 +01:00
Pierre Rudloff
cd942cb7b0 Field autofocus (fixes #20) 2015-06-13 17:59:09 +02:00
Pierre Rudloff
3769df69dc example.com as example domain 2015-05-16 02:31:12 +02:00