GitHub/WoltLab/WCF.git
11 years agoUpdates/Adds template events
Matthias Schmidt [Mon, 14 Jan 2013 21:29:38 +0000 (22:29 +0100)]
Updates/Adds template events

cf. #877

11 years agoAdds missing import in GetUpdateInfoCronjob
Matthias Schmidt [Mon, 14 Jan 2013 21:24:28 +0000 (22:24 +0100)]
Adds missing import in GetUpdateInfoCronjob

11 years agoRemoves obsolete template
Matthias Schmidt [Mon, 14 Jan 2013 20:26:47 +0000 (21:26 +0100)]
Removes obsolete template

cf. 790a9c0b1614efcf436abb843cf501562afff291

11 years agoPackageUpdateDispatcher is now a SingletonFactory
Alexander Ebert [Mon, 14 Jan 2013 19:15:56 +0000 (20:15 +0100)]
PackageUpdateDispatcher is now a SingletonFactory

11 years agoMerge branch 'master' of github.com:WoltLab/WCF
Alexander Ebert [Mon, 14 Jan 2013 19:01:43 +0000 (20:01 +0100)]
Merge branch 'master' of github.com:WoltLab/WCF

11 years agoUpdated package server xml and added auth code
Alexander Ebert [Mon, 14 Jan 2013 19:01:14 +0000 (20:01 +0100)]
Updated package server xml and added auth code

11 years agoRenames IRouteController::getID() to IRouteController::getObjectID()
Matthias Schmidt [Mon, 14 Jan 2013 11:59:52 +0000 (12:59 +0100)]
Renames IRouteController::getID() to IRouteController::getObjectID()

Because of `DatabaseObject::getObjectID()`, you don't need to implement such a method when implementing `IRouteController`.

11 years agoMerge branch 'master' of github.com:WoltLab/WCF
Matthias Schmidt [Mon, 14 Jan 2013 11:19:25 +0000 (12:19 +0100)]
Merge branch 'master' of github.com:WoltLab/WCF

11 years agoAdds AbstractObjectTypeProvider::$decoratorClassName
Matthias Schmidt [Mon, 14 Jan 2013 11:19:00 +0000 (12:19 +0100)]
Adds AbstractObjectTypeProvider::$decoratorClassName

11 years agoProviding sane default values for style creation
Alexander Ebert [Sun, 13 Jan 2013 21:23:07 +0000 (22:23 +0100)]
Providing sane default values for style creation

Fixed issue with exporting a style as an installable package.

11 years agoReverted 6235bc0
Alexander Ebert [Sun, 13 Jan 2013 21:10:41 +0000 (22:10 +0100)]
Reverted 6235bc0

11 years agoFixed TarWriter adding leading slash to filenames
Alexander Ebert [Sun, 13 Jan 2013 21:00:12 +0000 (22:00 +0100)]
Fixed TarWriter adding leading slash to filenames

11 years agoRemoves outline from menu list items
Matthias Schmidt [Sun, 13 Jan 2013 17:54:21 +0000 (18:54 +0100)]
Removes outline from menu list items

11 years agoMerge branch 'master' of github.com:WoltLab/WCF
Alexander Ebert [Sun, 13 Jan 2013 16:44:14 +0000 (17:44 +0100)]
Merge branch 'master' of github.com:WoltLab/WCF

11 years agoFixed readBoolean(), previously readBool()
Alexander Ebert [Sun, 13 Jan 2013 16:43:56 +0000 (17:43 +0100)]
Fixed readBoolean(), previously readBool()

11 years agoFixes WCF.Effect.Scroll
Matthias Schmidt [Sun, 13 Jan 2013 14:55:47 +0000 (15:55 +0100)]
Fixes WCF.Effect.Scroll

11 years agoAdded missing use
Marcel Werk [Sun, 13 Jan 2013 01:25:57 +0000 (02:25 +0100)]
Added missing use

11 years agoMerge branch 'master' of github.com:WoltLab/WCF
Marcel Werk [Sat, 12 Jan 2013 22:22:57 +0000 (23:22 +0100)]
Merge branch 'master' of github.com:WoltLab/WCF

11 years agoSmall style optimization
Marcel Werk [Sat, 12 Jan 2013 22:22:45 +0000 (23:22 +0100)]
Small style optimization

11 years agoRemoved unnecessary explicit __toString() calls
Alexander Ebert [Sat, 12 Jan 2013 21:57:03 +0000 (22:57 +0100)]
Removed unnecessary explicit __toString() calls

11 years agoAdds CSS class which indicates if container is collased
Matthias Schmidt [Sat, 12 Jan 2013 12:16:40 +0000 (13:16 +0100)]
Adds CSS class which indicates if container is collased

11 years agoMerge branch 'master' of github.com:WoltLab/WCF
Tim Düsterhus [Thu, 10 Jan 2013 17:18:49 +0000 (18:18 +0100)]
Merge branch 'master' of github.com:WoltLab/WCF

11 years agoFix ClassMustBeImportedSniff
Tim Düsterhus [Thu, 10 Jan 2013 17:15:52 +0000 (18:15 +0100)]
Fix ClassMustBeImportedSniff

Fixes #1090

11 years agoReinserts comments
Matthias Schmidt [Wed, 9 Jan 2013 21:36:01 +0000 (22:36 +0100)]
Reinserts comments

11 years agoAdds AbstractClipboardAction::getEditorLabel()
Matthias Schmidt [Wed, 9 Jan 2013 21:34:42 +0000 (22:34 +0100)]
Adds AbstractClipboardAction::getEditorLabel()

11 years agoMerge branch 'master' of github.com:WoltLab/WCF
Alexander Ebert [Wed, 9 Jan 2013 21:10:02 +0000 (22:10 +0100)]
Merge branch 'master' of github.com:WoltLab/WCF

11 years agoFixed cronjob execution
Alexander Ebert [Wed, 9 Jan 2013 21:09:21 +0000 (22:09 +0100)]
Fixed cronjob execution

Fixes #906
Fixes #910

11 years agoFixed input field CSS class
Marcel Werk [Wed, 9 Jan 2013 20:59:43 +0000 (21:59 +0100)]
Fixed input field CSS class

11 years agoFixed input field
Marcel Werk [Wed, 9 Jan 2013 20:57:41 +0000 (21:57 +0100)]
Fixed input field

11 years agoFixed unnecessary cache clearing
Alexander Ebert [Wed, 9 Jan 2013 20:31:03 +0000 (21:31 +0100)]
Fixed unnecessary cache clearing

11 years agoReplaces data.returnValues.actionName with data.actionName
Matthias Schmidt [Wed, 9 Jan 2013 12:23:33 +0000 (13:23 +0100)]
Replaces data.returnValues.actionName with data.actionName

11 years agoAdds comments
Matthias Schmidt [Wed, 9 Jan 2013 12:10:05 +0000 (13:10 +0100)]
Adds comments

11 years agoAdds default implementation AbstractClipboardAction::execute()
Matthias Schmidt [Wed, 9 Jan 2013 10:31:05 +0000 (11:31 +0100)]
Adds default implementation AbstractClipboardAction::execute()

11 years agoFixes UserAssignToGroupForm
Matthias Schmidt [Wed, 9 Jan 2013 10:26:34 +0000 (11:26 +0100)]
Fixes UserAssignToGroupForm

11 years agoOption names are now globally unique
Alexander Ebert [Tue, 8 Jan 2013 18:30:03 +0000 (19:30 +0100)]
Option names are now globally unique

Every application has to prepend it's own abbreviation to an option name, e.g. "wbb_thread_enable_marking_as_done" ("wbb_"). This is no longer done by WCF itself!

Fixes #997

11 years agoDisabled support for PostgreSQL
Alexander Ebert [Tue, 8 Jan 2013 17:53:23 +0000 (18:53 +0100)]
Disabled support for PostgreSQL

11 years agoFixed template scripting compiler
Alexander Ebert [Tue, 8 Jan 2013 17:15:47 +0000 (18:15 +0100)]
Fixed template scripting compiler

Fixes #1088

11 years agoImprove LogoutAction
Tim Düsterhus [Tue, 8 Jan 2013 17:07:22 +0000 (18:07 +0100)]
Improve LogoutAction

11 years agoImprove SortedUseDeclarationSniff
Tim Düsterhus [Mon, 7 Jan 2013 21:26:27 +0000 (22:26 +0100)]
Improve SortedUseDeclarationSniff

11 years agoFixes UserEmailAddressExportForm
Matthias Schmidt [Mon, 7 Jan 2013 21:11:47 +0000 (22:11 +0100)]
Fixes UserEmailAddressExportForm

11 years agoMerge branch 'master' of github.com:WoltLab/WCF
Tim Düsterhus [Mon, 7 Jan 2013 21:01:36 +0000 (22:01 +0100)]
Merge branch 'master' of github.com:WoltLab/WCF

11 years agoFix recalculating hash when cost changes
Tim Düsterhus [Mon, 7 Jan 2013 21:00:53 +0000 (22:00 +0100)]
Fix recalculating hash when cost changes

11 years agoFixes UserMailForm
Matthias Schmidt [Mon, 7 Jan 2013 20:22:45 +0000 (21:22 +0100)]
Fixes UserMailForm

11 years agoFixed bad variable reference
Alexander Ebert [Sun, 6 Jan 2013 20:49:06 +0000 (21:49 +0100)]
Fixed bad variable reference

11 years agoMerge pull request #1081 from MeinAccount/jsToggle/fixDeleting
Alexander Ebert [Sat, 5 Jan 2013 17:38:24 +0000 (09:38 -0800)]
Merge pull request #1081 from MeinAccount/jsToggle/fixDeleting

Fixed deleting of containers in WCF.Action.Delete

11 years agoProperly handle extending a class with the same name in Sniff
Tim Düsterhus [Sat, 5 Jan 2013 17:26:25 +0000 (18:26 +0100)]
Properly handle extending a class with the same name in Sniff

Fixes #1082

11 years agoFixes coding style
Matthias Schmidt [Sat, 5 Jan 2013 17:08:23 +0000 (18:08 +0100)]
Fixes coding style

11 years agoFixed deleting of containers in WCF.Action.Delete
Magnus Kühn [Sat, 5 Jan 2013 16:37:33 +0000 (17:37 +0100)]
Fixed deleting of containers in WCF.Action.Delete

11 years agoValidate declaration of methods
Tim Düsterhus [Sat, 5 Jan 2013 16:05:11 +0000 (17:05 +0100)]
Validate declaration of methods

11 years agoEnsure that all classes are imported via use
Tim Düsterhus [Sat, 5 Jan 2013 15:42:56 +0000 (16:42 +0100)]
Ensure that all classes are imported via use

11 years agoForce self:: for own static members
Tim Düsterhus [Sat, 5 Jan 2013 15:05:07 +0000 (16:05 +0100)]
Force self:: for own static members

11 years agoMerge branch 'master' of github.com:WoltLab/WCF
Tim Düsterhus [Sat, 5 Jan 2013 13:04:40 +0000 (14:04 +0100)]
Merge branch 'master' of github.com:WoltLab/WCF

11 years agoDisabling PCRESniff for now
Tim Düsterhus [Sat, 5 Jan 2013 13:04:15 +0000 (14:04 +0100)]
Disabling PCRESniff for now

11 years agoFixes SetupTemplateEngine
Matthias Schmidt [Sat, 5 Jan 2013 12:55:14 +0000 (13:55 +0100)]
Fixes SetupTemplateEngine

11 years agoFurther CodeSniffer adaptions
Matthias Schmidt [Sat, 5 Jan 2013 12:27:41 +0000 (13:27 +0100)]
Further CodeSniffer adaptions

11 years agoMerge branch 'master' of github.com:WoltLab/WCF into travis
Matthias Schmidt [Sat, 5 Jan 2013 12:18:49 +0000 (13:18 +0100)]
Merge branch 'master' of github.com:WoltLab/WCF into travis

11 years agoFixes code to match PHP CodeSniffer rules
Matthias Schmidt [Sat, 5 Jan 2013 12:18:10 +0000 (13:18 +0100)]
Fixes code to match PHP CodeSniffer rules

11 years agoFixes SetupTemplateEngine::getCompiledFilename()
Matthias Schmidt [Sat, 5 Jan 2013 12:01:22 +0000 (13:01 +0100)]
Fixes SetupTemplateEngine::getCompiledFilename()

11 years agoFixed template engine
Marcel Werk [Sat, 5 Jan 2013 00:04:56 +0000 (01:04 +0100)]
Fixed template engine

11 years agoMerge pull request #1080 from Gravatronics/bug/permissionCalculation
Alexander Ebert [Fri, 4 Jan 2013 21:54:11 +0000 (13:54 -0800)]
Merge pull request #1080 from Gravatronics/bug/permissionCalculation

Fixes permission calculation

11 years agoFixes permission calculation
Matthias Schmidt [Fri, 4 Jan 2013 18:52:36 +0000 (19:52 +0100)]
Fixes permission calculation

This fix is relevant for user group option types that can have a list of values (e.g. list of usable attachments). In the database, only the difference between the default value and the user group's value is stored. This difference is calculated by `IUserGroupOptionType::diff()`. When the permissions for a certain type of user groups are calculated, the difference for all relevant user groups have to be merged, which is done by `IUserGroupOptionType::merge()`.

The code of the previous merge function is the same as the code of the new diff function. This worked fine when calculating the difference to store the values. But if the merge of two option values was calculated during the permission calculation for a certain type of user groups, again, the difference was calculated, not the merge. This had the effect, that if, for instance, the default value for the usable attachment types was "gif, jpg" and the value for the administrator group was "foo, jpg", administrators were only allowed to use "foo" attachments (which is the diff of the two) instead of "foo", "gif" and "jpg".

11 years agoMerge branch 'master' of github.com:WoltLab/WCF
Tim Düsterhus [Fri, 4 Jan 2013 16:31:02 +0000 (17:31 +0100)]
Merge branch 'master' of github.com:WoltLab/WCF

11 years agoCheck whether imports are correctly ordered
Tim Düsterhus [Fri, 4 Jan 2013 16:30:23 +0000 (17:30 +0100)]
Check whether imports are correctly ordered

Closes #987

11 years agoFixed template handling in multi-app environment
Alexander Ebert [Fri, 4 Jan 2013 16:17:02 +0000 (17:17 +0100)]
Fixed template handling in multi-app environment

Fixes #1076

11 years agoMerge branch 'master' of github.com:WoltLab/WCF
Marcel Werk [Fri, 4 Jan 2013 15:39:03 +0000 (16:39 +0100)]
Merge branch 'master' of github.com:WoltLab/WCF

11 years agoFixed badges in main menu
Marcel Werk [Fri, 4 Jan 2013 15:38:48 +0000 (16:38 +0100)]
Fixed badges in main menu

11 years agoAdd Sniff that discourages use of raw PCRE
Tim Düsterhus [Fri, 4 Jan 2013 15:35:46 +0000 (16:35 +0100)]
Add Sniff that discourages use of raw PCRE

Closes #1054

11 years agoUseDeclarationSniff checks for newlines between use-statements
Tim Düsterhus [Fri, 4 Jan 2013 15:30:23 +0000 (16:30 +0100)]
UseDeclarationSniff checks for newlines between use-statements

cf. #987

11 years agoValidate declaration of use
Tim Düsterhus [Fri, 4 Jan 2013 15:03:24 +0000 (16:03 +0100)]
Validate declaration of use

11 years agoMerge branch 'master' of github.com:WoltLab/WCF
Tim Düsterhus [Fri, 4 Jan 2013 14:22:14 +0000 (15:22 +0100)]
Merge branch 'master' of github.com:WoltLab/WCF

11 years agoDisallow print, is_null and create_function as well.
Tim Düsterhus [Fri, 4 Jan 2013 14:17:45 +0000 (15:17 +0100)]
Disallow print, is_null and create_function as well.

11 years agoResolves todo in PagesFunctionTemplatePlugin
Matthias Schmidt [Fri, 4 Jan 2013 14:14:21 +0000 (15:14 +0100)]
Resolves todo in PagesFunctionTemplatePlugin

11 years agoMakes Category a ProcessibleDatabaseObject
Matthias Schmidt [Fri, 4 Jan 2013 10:46:28 +0000 (11:46 +0100)]
Makes Category a ProcessibleDatabaseObject

11 years agoEnhances/Fixes categoryList.tpl
Matthias Schmidt [Fri, 4 Jan 2013 10:34:46 +0000 (11:34 +0100)]
Enhances/Fixes categoryList.tpl

Closes #1064

11 years agoMerge branch 'master' of github.com:WoltLab/WCF
Marcel Werk [Fri, 4 Jan 2013 02:37:11 +0000 (03:37 +0100)]
Merge branch 'master' of github.com:WoltLab/WCF

11 years agoSmall category system improvements
Marcel Werk [Fri, 4 Jan 2013 02:37:00 +0000 (03:37 +0100)]
Small category system improvements

11 years agoFixed style description management
Alexander Ebert [Thu, 3 Jan 2013 21:05:27 +0000 (22:05 +0100)]
Fixed style description management

Fixes #890

11 years agoFixed handling of style descriptions
Alexander Ebert [Thu, 3 Jan 2013 20:45:34 +0000 (21:45 +0100)]
Fixed handling of style descriptions

11 years agoFixed typo
Alexander Ebert [Thu, 3 Jan 2013 20:32:05 +0000 (21:32 +0100)]
Fixed typo

11 years agoAdded support for i18n style descriptions (ACP missing)
Alexander Ebert [Thu, 3 Jan 2013 20:22:28 +0000 (21:22 +0100)]
Added support for i18n style descriptions (ACP missing)

See #890

11 years agoUse secure comparing for the access token
Tim Düsterhus [Thu, 3 Jan 2013 17:53:32 +0000 (18:53 +0100)]
Use secure comparing for the access token

11 years agoAdded menuItemController for *Menu-PIPs
Alexander Ebert [Thu, 3 Jan 2013 17:45:08 +0000 (18:45 +0100)]
Added menuItemController for *Menu-PIPs

11 years agoFixed hash creation
Alexander Ebert [Thu, 3 Jan 2013 17:30:17 +0000 (18:30 +0100)]
Fixed hash creation

11 years agoAdded PasswordUtil::secureCompare()
Alexander Ebert [Thu, 3 Jan 2013 17:17:28 +0000 (18:17 +0100)]
Added PasswordUtil::secureCompare()

secureCompare() is invulnerable to timing attacks as the comparison of two strings always takes the same time to finish (no early return).

11 years agoImproved RegEx for bcrypt probing
Alexander Ebert [Thu, 3 Jan 2013 16:20:24 +0000 (17:20 +0100)]
Improved RegEx for bcrypt probing

11 years agoAdded missing support for MyBB 1.x
Alexander Ebert [Thu, 3 Jan 2013 15:39:27 +0000 (16:39 +0100)]
Added missing support for MyBB 1.x

11 years agoUsing bcrypt for passwords and added PasswordUtil
Alexander Ebert [Thu, 3 Jan 2013 15:10:27 +0000 (16:10 +0100)]
Using bcrypt for passwords and added PasswordUtil

11 years agoAdd CONTRIBUTING.md
Tim Düsterhus [Thu, 3 Jan 2013 13:08:00 +0000 (14:08 +0100)]
Add CONTRIBUTING.md

11 years agoFix comment of FileUtil::downloadFileFromHttp()
Tim Düsterhus [Thu, 3 Jan 2013 12:46:39 +0000 (13:46 +0100)]
Fix comment of FileUtil::downloadFileFromHttp()

11 years agoMerge branch 'master' of github.com:WoltLab/WCF
Marcel Werk [Thu, 3 Jan 2013 00:34:32 +0000 (01:34 +0100)]
Merge branch 'master' of github.com:WoltLab/WCF

11 years agoAdded CSS for nested category lists
Marcel Werk [Thu, 3 Jan 2013 00:34:19 +0000 (01:34 +0100)]
Added CSS for nested category lists

11 years agoMinor style improvements
Marcel Werk [Thu, 3 Jan 2013 00:34:06 +0000 (01:34 +0100)]
Minor style improvements

11 years agoAdded missing pointer class
Marcel Werk [Wed, 2 Jan 2013 23:38:51 +0000 (00:38 +0100)]
Added missing pointer class

11 years agoChanged input type
Marcel Werk [Wed, 2 Jan 2013 23:38:34 +0000 (00:38 +0100)]
Changed input type

11 years agoMerge pull request #1071 from MeinAccount/jsToggle/AJAXContent
Alexander Ebert [Wed, 2 Jan 2013 21:37:55 +0000 (13:37 -0800)]
Merge pull request #1071 from MeinAccount/jsToggle/AJAXContent

WCF.Action.Toggle on inserted content

11 years agoAdded support for a confirm message
Magnus Kühn [Wed, 2 Jan 2013 20:22:06 +0000 (21:22 +0100)]
Added support for a confirm message

11 years agoFixed WCF.Action.Toggle
Magnus Kühn [Wed, 2 Jan 2013 18:45:27 +0000 (19:45 +0100)]
Fixed WCF.Action.Toggle

11 years agoMerge branch 'master' into jsToggle/AJAXContent
Magnus Kühn [Wed, 2 Jan 2013 18:44:19 +0000 (19:44 +0100)]
Merge branch 'master' into jsToggle/AJAXContent

11 years agoFixed WCF.Action.Toggle and implemented changes
Magnus Kühn [Wed, 2 Jan 2013 18:32:06 +0000 (19:32 +0100)]
Fixed WCF.Action.Toggle and implemented changes

11 years agoHide style chooser unless two or more styles are given
Alexander Ebert [Wed, 2 Jan 2013 18:09:53 +0000 (19:09 +0100)]
Hide style chooser unless two or more styles are given

Fixes #895