1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-30 11:11:23 +02:00

164 Commits

Author SHA1 Message Date
Marc Alexander
830269dfee
[ticket/14948] Update lexer to be compatible with twig 2.6
PHPBB3-14948
2019-01-02 20:19:57 +01:00
Marc Alexander
c6cc6ba8d8
[ticket/14948] Adjust calls for twig and phpunit updates
PHPBB3-14948
2019-01-02 20:19:56 +01:00
Marc Alexander
805b52a2ef
Merge pull request #5090 from deguif/twig-2
[ticket/15508] Support Twig 2.x
2018-12-25 23:06:25 +01:00
Marc Alexander
000f8a27e3
Merge branch '3.2.x' 2018-11-20 20:54:55 +01:00
Marc Alexander
11ae11a156
[ticket/15542] Only add assets version for relative paths
PHPBB3-15542
2018-10-29 22:57:53 +01:00
Marc Alexander
5d4fccd235 [ticket/15542] Always append assets versions to assets
PHPBB3-15542
2018-10-29 16:07:48 +01:00
Tristan Darricau
d84af59cad Merge branch '3.2.x'
* 3.2.x:
  [ticket/15666] Fix array key in twig lang() call
2018-07-08 18:42:27 +02:00
Jakub Senko
52f5e54d8a
[ticket/15666] Fix array key in twig lang() call
PHPBB3-15666
2018-06-18 11:56:05 +02:00
François-Xavier de Guillebon
fbbf5a7cec [ticket/15508] Update loader
PHPBB3-15508
2018-01-16 15:26:58 +01:00
François-Xavier de Guillebon
23b13c239b [ticket/15508] Remove call to getEnvironment() from parser
PHPBB3-15508
2018-01-16 15:26:58 +01:00
François-Xavier de Guillebon
e75077fc5b [ticket/15508] Replace Twig_NodeInterface with Twig_Node
PHPBB3-15508
2018-01-16 15:26:58 +01:00
rxu
f8fbe37936
[ticket/14972] replace all occurrences of sizeof() with the count()
PHPBB3-14972
2018-01-01 13:56:04 +01:00
Marc Alexander
0c009e3feb
Merge pull request #4959 from rubencm/ticket/15366
[ticket/15366] Remove useless code
2017-10-29 22:09:49 +01:00
Rubén Calvo
eaeec9b50b [ticket/15377] Use __DIR__ constant
PHPBB3-15377
2017-10-09 12:31:57 +02:00
Rubén Calvo
18c5f5c6e8 [ticket/15377] Fix INCLUDECSS and INCLUDEJS
PHPBB3-15377
2017-10-05 20:54:01 +02:00
Rubén Calvo
7b4c355190 [ticket/15366] Remove useless code
PHPBB3-15366
2017-09-16 12:30:36 +02:00
Rubén Calvo
c5f3dec2f2 [ticket/15289] Update acp storage
PHPBB3-15289
2017-09-08 16:25:18 +02:00
Rubén Calvo
04a34d9f4f [ticket/15289] Use macros to generate form
PHPBB3-15289
2017-09-08 16:22:10 +02:00
Rubén Calvo
c3c8117f0a [ticket/15289] Update acp to be able to save data in the database
PHPBB3-15289
2017-09-08 16:22:10 +02:00
Rubén Calvo
19b99a0770 [ticket/15289] Add twig extension to generate inputs from the template
PHPBB3-15289
2017-09-08 16:22:10 +02:00
Rubén Calvo
c87b94133c [ticket/15330] Fix typo
PHPBB3-15330
2017-09-08 14:39:04 +02:00
Rubén Calvo
21f3c53882 [ticket/15330] Twig function to know if a language string is defined
PHPBB3-15330
2017-09-08 11:56:20 +02:00
Rubén Calvo
b1755d9dac [ticket/15253] Update imports
PHPBB3-15253
2017-07-20 19:55:52 +02:00
Rubén Calvo
603a8c51da [ticket/15253] Move storage helper to filesystem
PHPBB3-15253
2017-07-20 19:55:52 +02:00
Rubén Calvo
ecb79539f4 [ticket/15253] Use storage helper methods instead of filesystem methods
PHPBB3-15253
2017-07-20 19:55:52 +02:00
rxu
797234e416 [ticket/14972] replace all occurrences of sizeof() with the count()
PHPBB3-14972
2017-07-17 16:57:00 +07:00
Marc Alexander
a079c5fed0
Merge branch 'ticket/15178' into ticket/15179 2017-05-31 20:20:43 +02:00
rxu
fcc8e155ec [ticket/14990] Move dispatcher object to the front of the options array
PHPBB3-14990
2017-04-16 23:40:16 +07:00
rxu
1ea114ca20 [ticket/14990] Fix event name, email parsing, installer and dispatcher calls
PHPBB3-14990
2017-04-16 22:43:50 +07:00
rxu
633bbc9c6d [ticket/14990] Add core events to the Twig environment
PHPBB3-14990
2017-04-16 22:43:49 +07:00
Marc Alexander
166320ef9e
Merge branch '3.1.x' into 3.2.x 2017-01-06 15:29:40 +01:00
rxu
49c19a267f [ticket/14958] Optimize Twig extension lang() function
PHPBB3-14958
2017-01-05 00:42:27 +07:00
Marc Alexander
a96fc3d87f
[ticket/14867] Revert back to twig 1.26.* and update dependencies
The revert of twig back to 1.26.* is necessary due to a breaking
change in the way the Filesystem loader returns the paths to
template files.

PHPBB3-14867
2016-11-16 21:39:29 +01:00
Marc Alexander
4d07f8a134
[ticket/14716] Update dependencies to latest versions
This addresses some issues with symfony that resulted in
issues when open_basedir restrictions were enabled, as well
as issues with JPEG images in fast-image-size.
The phpBB class extending the twig lexer also had to be
modified to ensure compatibility after BC was broken by
the PR https://github.com/twigphp/Twig/pull/2182 for twig
1.27.

PHPBB3-14716
2016-11-03 21:36:12 +01:00
Tristan Darricau
b2711371f1
[ticket/14807] s9e/textformatter 0.8.1
PHPBB3-14807
2016-10-10 20:07:33 +02:00
Tristan Darricau
7a5fbd0257
[ticket/14807] Updates Twig
PHPBB3-14807
2016-10-02 19:24:45 +02:00
lavigor
ff8b5058e0 [ticket/14661] Fix a typo in twig.php
PHPBB3-14661
2016-06-05 13:40:40 +03:00
Tristan Darricau
5cdbef860d [ticket/13616] Uses symfony/proxy-manager-bridge to lazy load twig lexer
PHPBB3-13616
2016-04-03 16:22:07 +02:00
Tristan Darricau
97bbf2d2b8 [ticket/14457] Handle the case where there isn't any 'definition' bag
PHPBB3-14457
2016-02-18 17:30:31 +01:00
Tristan Darricau
99ace63e62 [ticket/14457] Don't set CSS to JS and JS to CSS
PHPBB3-14457
2016-02-18 17:30:31 +01:00
Tristan Darricau
f7c5098c60 [ticket/14457] CS
PHPBB3-14457
2016-02-18 17:30:31 +01:00
Tristan Darricau
f253a853b8 [ticket/14457] Fix twig/twig::assign_display
PHPBB3-14457
2016-02-18 17:30:31 +01:00
Tristan Darricau
d34ffda9c1 [ticket/14457] Uses a random placeholder to inject css and js
PHPBB3-14457
2016-02-18 17:30:31 +01:00
Marc Alexander
94f87d9318 [ticket/14446] Add predefined placeholder variables to twig definition
PHPBB3-14446
2016-02-02 17:13:47 +01:00
Tristan Darricau
e91b1fa464 [ticket/13717] Fix tests
PHPBB3-13717
2016-01-25 00:31:45 +01:00
Tristan Darricau
52b3d54805 [ticket/13717] Set the assets after rendering the whole template
The goal being to be able to call INCLUDECSS/JS from anywhere in any tempalte or event

PHPBB3-13717
2016-01-25 00:31:45 +01:00
Marc Alexander
73e6e5b77f [ticket/13454] Remove unused variables
This is the first part of the changes. More to come.

PHPBB3-13454
2016-01-06 13:51:19 +01:00
Tristan Darricau
4c00474845 [ticket/12633] Doesn't use DEBUG to debug templates events
Check the templates events on runtime only when Twig debug is on

PHPBB3-12633
2015-09-18 21:23:34 +02:00
Nicofuma
8e5e954438 [ticket/13645] Move the feeds to controllers
PHPBB3-13645
2015-08-23 22:36:10 +02:00
Marc Alexander
01097a24b5 Merge branch '3.1.x'
Conflicts:
	tests/template/template_includecss_test.php
2015-07-08 22:54:26 +02:00