Register
phpBB.com Wiki · Home Projects Help

root / trunk / phpBB / develop / add_permissions.php

add_permissions.php

View | Annotate | Download (10.6 KB)

# Date Author Comment
8572 View | Annotate 05/29/2008 02:25 PM acydburn

ok… i hope i haven’t messed too much with the code and everything is still working.
Changes:
- Ascraeus now uses constants for the phpbb root path and the php extension. This ensures more security for external applications and modifications (no more overwriting of root path and extension possible through insecure mods and register globals enabled) as well as no more globalizing needed.
- A second change implemented here is an additional short-hand-notation for append_sid(). It is allowed to omit the root path and extension now (for example calling append_sid(‘memberlist’)) – in this case the root path and extension get added automatically. The hook is called after these are added.

8477 View | Annotate 03/29/2008 01:08 AM naderman

Go away evil carriage returns\!

8372 View | Annotate 02/03/2008 11:19 AM davidmj

Alright, this should give some improved performance :)

This is the end of random seek access to rows. If you have a compelling reason as to why they should stay, contact me. Else, they are gone forevermore…

The following API calls are deprecated:
acm::sql_rowseek() > no replacement
$db
>sql_fetchfield($field, $rownum = false, $query_id = false) > $db>sql_fetchfield($field, $query_id = false)

Initial tests show that phpBB3 over four percent of memory against phpBB3.1 on an empty board. So far so good :)

Other cool things:
db2, MS SQL ODBC and MS SQL 2005 all use less memory because they do not need to reference the last executed query to handle random access seeks :)

P.S.
The crazy people using SVN: please report any issues with the new way we itterate through caches, I do not want to miss anything :)

7386 View | Annotate 04/22/2007 08:09 PM acydburn

changed the cache files to save some memory (all global ones are hold in memory, doubling it).

6497 View | Annotate 10/14/2006 04:56 PM acydburn

- store sql_layer directly within the layer itself
- new method sql_multi_insert to circumvent db-specific hacks
(hopefully not introduced any parsing errors)

6115 View | Annotate 06/22/2006 06:49 PM acydburn

change ACL_NO to ACL_NEVER and ACL_UNSET to ACL_NO to let our users get what is meant on the first look.

the downside is that the information is no more accurate (permissions are still unset, defaulting to no) – someone might to overlook all explanations. :)

6021 View | Annotate 06/07/2006 09:32 PM acydburn

ok, sorry for this. :/
- cleaned up table names/constants

6015 View | Annotate 06/06/2006 10:53 PM acydburn

ok, this one is rather large… the most important change:
re-introduce append_sid: old style continues to work, not a performance hog as it was in 2.0.x -> structure is different

apart from this, code cleanage, bug fixing, etc.

5870 View | Annotate 04/30/2006 04:09 PM acydburn

- changed SUPER_MODERATORS to GLOBAL_MODERATORS
- do not cache moderators having no allowed auth settings
- added fsock method to transfer class (this has been made by wGEric for us)

5767 View | Annotate 04/08/2006 03:01 PM acydburn

- changed module*_url to only use the main module name but the mode as parameter
- custom module lang function now suffixed by _lang
- added general custom function with mode and module_row parameter

- do not display friends/foes if zebra has been disabled

5071 View | Annotate 01/21/2005 08:20 PM acydburn

- removed unnecessary pm options
- added one option to clearly define email visibility

5021 View | Annotate 11/06/2004 03:08 PM acydburn

- script to add missing permissions