Oleg Pudeyev
0ca7ad66dc
[feature/template-engine] Refactor hook logic into a separate function.
...
PHPBB3-9726
2011-05-12 20:13:30 -04:00
Oleg Pudeyev
df76885b11
[feature/template-engine] Reinstate phpbb_template#destroy function.
...
PHPBB3-9726
2011-05-12 20:13:30 -04:00
Oleg Pudeyev
0462ab3a4a
[feature/template-engine] Add back IN_PHPBB preamble.
...
PHPBB3-9726
2011-05-12 20:13:30 -04:00
Andreas Fischer
bfdb5c413d
[ticket/10146] Fix Firebird DECIMAL precision issue on develop.
...
PHPBB3-10146
2011-05-11 11:32:09 +02:00
Oleg Pudeyev
3f9e9b581b
Merge branch 'develop-olympus' into develop
...
* develop-olympus:
[ticket/10170] Fix broken recaptcha verification host.
[ticket/10170] Include www in hostname in language strings.
[ticket/10170] Update language entries
[ticket/10170] reCaptcha API has been moved.
2011-05-10 23:32:27 -04:00
Oleg Pudeyev
f670aefd36
Merge remote-tracking branch 'bantu/ticket/10170' into develop-olympus
...
* bantu/ticket/10170:
[ticket/10170] Fix broken recaptcha verification host.
[ticket/10170] Include www in hostname in language strings.
[ticket/10170] Update language entries
[ticket/10170] reCaptcha API has been moved.
2011-05-10 22:06:23 -04:00
Andreas Fischer
eded608a53
[ticket/10170] Fix broken recaptcha verification host.
...
PHPBB3-10170
2011-05-11 03:26:36 +02:00
Erik Frèrejean
ca981b6d18
[ticket/10170] reCaptcha API has been moved.
...
The reCaptcha API has been moved from recaptcha.net to
google.com/recaptcha.
PHPBB3-10170
2011-05-10 23:31:41 +02:00
Oleg Pudeyev
7cbbb301e1
Merge branch 'develop-olympus' into develop
...
* develop-olympus:
[ticket/9999] SEARCH_USER_POSTS is also used on viewtopic. Move to common.
[ticket/9999] Remove broken and unused L_FORUM_FOLDER_ALT variable.
2011-05-09 22:28:35 -04:00
Andreas Fischer
4038091382
[ticket/9999] Remove broken and unused L_FORUM_FOLDER_ALT variable.
...
L_FORUM_FOLDER_ALT was supposed to be a language variable but the language
variable is never looked up but directly passed as L_FORUM_FOLDER_ALT instead.
Also, the expected functionality is correctly implemented by
FORUM_FOLDER_IMG_ALT.
PHPBB3-9999
2011-05-09 23:11:56 +02:00
Joas Schilling
437013194a
[ticket/10158] Add return-link to folder, when the user replied from a folder.
...
PHPBB3-10158
2011-05-09 12:46:34 +02:00
Oleg Pudeyev
49cf28a9c4
[feature/template-engine] Moved template classes to subdirectory.
...
PHPBB3-9726
2011-05-08 04:06:25 -04:00
Oleg Pudeyev
84bc485ccc
[feature/template-engine] Renamed template executor and friends to renderer.
...
PHPBB3-9726
2011-05-08 04:03:41 -04:00
Oleg Pudeyev
1cba674b9a
[feature/template-engine] Added docblocks and boilerplate to new files.
...
PHPBB3-9726
2011-05-07 17:58:56 -04:00
Oleg Pudeyev
b5444a7d7d
[feature/template-engine] Removed more dead code.
...
PHPBB3-9726
2011-05-07 17:50:48 -04:00
Oleg Pudeyev
0501640d5d
[feature/template-engine] Added phpbb_template_context class.
...
Objects of this class hold variables assigned to templates.
PHPBB3-9726
2011-05-07 17:47:02 -04:00
Oleg Pudeyev
d8122df332
[feature/template-engine] Always call ob_end_clean.
...
We have to stop output buffering even when rendering fails.
PHPBB3-9726
2011-05-05 19:03:46 -04:00
Andreas Fischer
6a3f34ae61
Merge remote-tracking branch 'p/ticket/9693' into develop
...
* p/ticket/9693:
[ticket/9693] Removed useless $auth globalizations.
2011-05-05 19:59:11 +02:00
Nils Adermann
680c3fde48
Merge branch 'develop-olympus' into develop
...
* develop-olympus:
[ticket/10003] Delete EOL at EOF for the benefit of 3.0 modifications.
[ticket/10003] Ported 1802b9ff92
to db_tools.
[ticket/10003] Ported 5553cfc2ed
to db_tools.
[ticket/10003] Ported 023760c8b2
to db_tools.
[ticket/10003] Ported 54c22ae52a
to db_tools.
[ticket/10003] Ported 96a30afcca
to db_tools.
[ticket/10003] Ported d7d96223e7
to db_tools.
2011-05-05 14:48:13 +02:00
Nils Adermann
e7dd37910c
Merge branch 'ticket/p/10003' into develop-olympus
...
* ticket/p/10003:
[ticket/10003] Delete EOL at EOF for the benefit of 3.0 modifications.
[ticket/10003] Ported 1802b9ff92
to db_tools.
[ticket/10003] Ported 5553cfc2ed
to db_tools.
[ticket/10003] Ported 023760c8b2
to db_tools.
[ticket/10003] Ported 54c22ae52a
to db_tools.
[ticket/10003] Ported 96a30afcca
to db_tools.
[ticket/10003] Ported d7d96223e7
to db_tools.
2011-05-05 14:44:49 +02:00
Joas Schilling
65d956bd81
[ticket/10158] Add "Return to Inbox"-link to "PM send"-message.
...
PHPBB3-10158
2011-05-05 10:49:54 +02:00
Oleg Pudeyev
b057d7439e
[feature/template-engine] Removed some dead code.
...
PHPBB3-9726
2011-05-04 01:21:45 -04:00
Oleg Pudeyev
d06e59f63b
[feature/template-engine] Split template execution logic into classes.
...
Template executor interface defines a template executor object.
It is an object which can execute (i.e. display/render) a template.
Currently there are two implementations:
* phpbb_template_executor_include includes php code from a file.
* phpbb_template_executor_eval eval's php code.
PHPBB3-9726
2011-05-04 01:21:44 -04:00
Oleg Pudeyev
237deb12ce
[feature/template-engine] Removed storedb-related logic.
...
phpBB 3.1 will not provide the option to store templates in the database.
This commit removes code that handles templates stored in database
from the template engine.
PHPBB3-9726
2011-05-04 00:09:39 -04:00
Oleg Pudeyev
87832d06cc
[feature/template-engine] Delete template class, use phpbb_template instead.
...
PHPBB3-9726
2011-05-04 00:08:20 -04:00
Oleg Pudeyev
48691b53a6
[feature/template-engine] Rename template_compile methods for clarity.
...
PHPBB3-9726
2011-05-04 00:07:58 -04:00
Oleg Pudeyev
d840de560c
[feature/template-engine] Extracted compile_stream_to_stream.
...
PHPBB3-9726
2011-05-01 03:28:53 -04:00
Oleg Pudeyev
63ca4c2104
[feature/template-engine] Close output stream in compile().
...
There is no need to leave the stream to the garbage collector,
and the amount of data stuck in it may be substantial.
PHPBB3-9726
2011-05-01 03:25:22 -04:00
Oleg Pudeyev
234b891a4b
[feature/template-engine] Fixed description of assign_display().
...
This function returns false on failure, which can happen if
display() failed. Document the failure return value.
PHPBB3-9726
2011-05-01 03:14:11 -04:00
Oleg Pudeyev
c844a277b2
[feature/template-engine] Check return value of display() in assign_display().
...
If display() failed, propagate the failure out of assign_display().
PHPBB3-9726
2011-05-01 03:09:49 -04:00
rxu
5254ec2795
[ticket/6712] Add phpbb_ function name prefix, more docs, rename current_time
...
PHPBB3-6712
2011-05-01 13:38:39 +08:00
Oleg Pudeyev
a4a9e38007
Merge branch 'develop-olympus' into develop
...
* develop-olympus:
[ticket/9961] Create log entries when users are activated.
2011-04-30 20:44:42 -04:00
Oleg Pudeyev
aa7be58d41
Merge branch 'erikfrerejean/ticket/9961' into develop-olympus
...
* erikfrerejean/ticket/9961:
[ticket/9961] Create log entries when users are activated.
2011-04-30 17:41:04 -04:00
Oleg Pudeyev
8155bc5a9d
[ticket/10067] Clarify language for user activation options in ACP.
...
PHPBB3-10067
2011-04-30 15:39:19 -04:00
Oleg Pudeyev
820f22f784
[ticket/9693] Removed useless $auth globalizations.
...
PHPBB3-9693
2011-04-30 13:20:27 -04:00
Oleg Pudeyev
1e2c19f4b4
[ticket/10003] Delete EOL at EOF for the benefit of 3.0 modifications.
...
PHPBB3-10003
2011-04-29 02:16:02 -04:00
Oleg Pudeyev
85549fad83
[ticket/10003] Ported 1802b9ff92
to db_tools.
...
Most of it was already in db_tools, these changes could have applied to
code that did not exist in db_tools at the time of the commit.
PHPBB3-10003
2011-04-29 02:10:42 -04:00
Oleg Pudeyev
55ff5da70b
[ticket/10003] Ported 5553cfc2ed
to db_tools.
...
The diff in database_update was only partially relevant.
PHPBB3-10003
2011-04-29 02:10:42 -04:00
Oleg Pudeyev
761e3dd36f
[ticket/10003] Ported 023760c8b2
to db_tools.
...
This was painful. Git wanted to patch hunks in wrong places.
Hopefully I got it right.
PHPBB3-10003
2011-04-29 02:10:42 -04:00
Oleg Pudeyev
9f34aa0b79
[ticket/10003] Ported 54c22ae52a
to db_tools.
...
This diff applied cleanly.
PHPBB3-10003
2011-04-29 02:10:42 -04:00
Oleg Pudeyev
3cb1b90ca6
[ticket/10003] Ported 96a30afcca
to db_tools.
...
This change is somewhat questionable, maybe it should be reviewed.
PHPBB3-10003
2011-04-29 02:10:41 -04:00
Oleg Pudeyev
e6eb11bb11
[ticket/10003] Ported d7d96223e7
to db_tools.
...
PHPBB3-10003
2011-04-29 02:10:41 -04:00
Oleg Pudeyev
909ee59871
[feature/template-engine] Removed $this from new phpbb_template_compile calls.
...
The compile class no longer takes template as a parameter.
PHPBB3-9726
2011-04-26 22:19:04 -04:00
Igor Wiedler
835391c83a
Merge branch 'develop-olympus' into develop
...
* develop-olympus:
[ticket/10145] Always recompile all templates when DEBUG_EXTRA is defined.
2011-04-26 21:49:31 +02:00
Igor Wiedler
850741ee16
Merge remote branch 'bantu/ticket/10145' into develop-olympus
...
* bantu/ticket/10145:
[ticket/10145] Always recompile all templates when DEBUG_EXTRA is defined.
2011-04-26 21:49:21 +02:00
Andreas Fischer
9a4e71ac1a
Merge branch 'develop-olympus' into develop
...
* develop-olympus:
[ticket/7941] Added @return to generate_board_url docstring.
2011-04-26 19:36:48 +02:00
Andreas Fischer
569a4b2091
Merge remote branch 'p/ticket/7941' into develop-olympus
...
* p/ticket/7941:
[ticket/7941] Added @return to generate_board_url docstring.
2011-04-26 19:35:49 +02:00
Andreas Fischer
a3a70e13b5
[ticket/10145] Always recompile all templates when DEBUG_EXTRA is defined.
...
PHPBB3-10145
2011-04-26 12:35:44 +02:00
Igor Wiedler
427a5122d5
[feature/template-engine] Fix negative variable expressions
...
compile_tag_if had the flawed approach of adding an isset statement for
all variables to the beginning of the if. This fails for negative
expressions, and checking those takes a considerable effort.
The easier solution is to make the variable expression itself
conditional, defaulting to null if it is not set.
Thanks to naderman for the solution.
PHPBB3-9726
2011-04-25 23:19:36 -04:00
Oleg Pudeyev
f97411b911
[feature/template-engine] Corrected miscompilation of loop size constructs.
...
PHPBB3-9726
2011-04-25 23:19:25 -04:00