GitHub/WoltLab/WCF.git
12 years agoQuick search is now way more extensible
Alexander Ebert [Mon, 26 Dec 2011 20:18:50 +0000 (21:18 +0100)]
Quick search is now way more extensible

12 years agoMerge pull request #321 from Gravatronics/enhancement/optionHandlerComments
Alexander Ebert [Mon, 26 Dec 2011 15:38:21 +0000 (07:38 -0800)]
Merge pull request #321 from Gravatronics/enhancement/optionHandlerComments

Updates comments in option handler classes

12 years agoMerge pull request #325 from Gravatronics/enhancement/collapsibleRemoteObjectIDs
Alexander Ebert [Mon, 26 Dec 2011 15:37:52 +0000 (07:37 -0800)]
Merge pull request #325 from Gravatronics/enhancement/collapsibleRemoteObjectIDs

Changes the way WCF.Collapsible.Remote handles AJAX-objectIDs

12 years agoMerge pull request #322 from Gravatronics/bug/CollapsibleRemoteStateTypeNames
Alexander Ebert [Mon, 26 Dec 2011 15:37:18 +0000 (07:37 -0800)]
Merge pull request #322 from Gravatronics/bug/CollapsibleRemoteStateTypeNames

Unifies the state type names in WCF.Collapsible.Remote

12 years agoMerge pull request #327 from frmwrk123/mail
Alexander Ebert [Mon, 26 Dec 2011 15:36:48 +0000 (07:36 -0800)]
Merge pull request #327 from frmwrk123/mail

Added missing dot in Mail.class.php.

12 years agoAdded missing dot in Mail.class.php.
Jim Martens [Mon, 26 Dec 2011 12:42:53 +0000 (13:42 +0100)]
Added missing dot in Mail.class.php.

12 years agoChanges the way WCF.Collapsible.Remote handles AJAX-objectIDs
Matthias Schmidt [Sun, 25 Dec 2011 19:44:41 +0000 (20:44 +0100)]
Changes the way WCF.Collapsible.Remote handles AJAX-objectIDs

Now, the default objectIDs property of the `AbstractDatabaseObject` class is used instead of a new parameter, which makes it easier reading the relevant objects without having to set the object ID(s) manually.

12 years agoUnifies the state types in WCF.Collapsible.Remote
Matthias Schmidt [Sun, 25 Dec 2011 10:18:04 +0000 (11:18 +0100)]
Unifies the state types in WCF.Collapsible.Remote

Everywhere the states were always called "open" or "close", here they should be called the same way.

12 years agoUpdates subpackage phpdoc
Matthias Schmidt [Fri, 23 Dec 2011 17:56:15 +0000 (18:56 +0100)]
Updates subpackage phpdoc

12 years agoUpdates comments in option handler classes
Matthias Schmidt [Fri, 23 Dec 2011 17:54:32 +0000 (18:54 +0100)]
Updates comments in option handler classes

12 years agoMerge pull request #317 from Gravatronics/enhancement/LangCacheBuilderUnusedVar
Alexander Ebert [Thu, 22 Dec 2011 19:43:46 +0000 (11:43 -0800)]
Merge pull request #317 from Gravatronics/enhancement/LangCacheBuilderUnusedVar

Removes unused variable in language cache builder class

12 years agoRemoves unused variable in language cache builder class
Matthias Schmidt [Thu, 22 Dec 2011 19:41:22 +0000 (20:41 +0100)]
Removes unused variable in language cache builder class

12 years agoMerge pull request #316 from wbbaddons/regexClass
Marcel Werk [Thu, 22 Dec 2011 19:38:05 +0000 (11:38 -0800)]
Merge pull request #316 from wbbaddons/regexClass

Adding \wcf\system\Regex::isValid()

12 years agoAdding \wcf\system\Regex::isValid()
Tim Düsterhus [Thu, 22 Dec 2011 19:34:41 +0000 (20:34 +0100)]
Adding \wcf\system\Regex::isValid()

12 years agoFixed i18n support for textarea elements
Alexander Ebert [Thu, 22 Dec 2011 19:03:43 +0000 (20:03 +0100)]
Fixed i18n support for textarea elements

12 years agoFixed loadApplication() to not init settings in ACP
Alexander Ebert [Thu, 22 Dec 2011 19:00:07 +0000 (20:00 +0100)]
Fixed loadApplication() to not init settings in ACP

12 years agoFixed i18n and ACP access
Alexander Ebert [Thu, 22 Dec 2011 18:39:21 +0000 (19:39 +0100)]
Fixed i18n and ACP access

12 years agoMerge pull request #313 from wbbaddons/templateScriptingCompilerOptimization
Alexander Ebert [Thu, 22 Dec 2011 18:30:43 +0000 (10:30 -0800)]
Merge pull request #313 from wbbaddons/templateScriptingCompilerOptimization

Removing one check as it caused problems

12 years agoRemoving one check as it caused problems
Tim Düsterhus [Thu, 22 Dec 2011 18:29:08 +0000 (19:29 +0100)]
Removing one check as it caused problems

12 years agoMerge branch 'master' of github.com:WoltLab/WCF
Alexander Ebert [Thu, 22 Dec 2011 18:08:47 +0000 (19:08 +0100)]
Merge branch 'master' of github.com:WoltLab/WCF

12 years agoChanges options to no longer require i18n
Alexander Ebert [Thu, 22 Dec 2011 18:08:22 +0000 (19:08 +0100)]
Changes options to no longer require i18n

Thanks @TimWolla for noticing :)

12 years agoComment
Luzifr [Thu, 22 Dec 2011 18:07:20 +0000 (19:07 +0100)]
Comment

12 years agoMerge pull request #249 from wbbaddons/templateScriptingCompilerOptimization
Alexander Ebert [Thu, 22 Dec 2011 17:59:47 +0000 (09:59 -0800)]
Merge pull request #249 from wbbaddons/templateScriptingCompilerOptimization

Template scripting compiler optimization

12 years agoMerge pull request #283 from wbbaddons/fileSizeOptionType
Alexander Ebert [Thu, 22 Dec 2011 17:58:10 +0000 (09:58 -0800)]
Merge pull request #283 from wbbaddons/fileSizeOptionType

Implements an fileSize option-type for easier handling of file sizes.

12 years agoMerge pull request #305 from wbbaddons/regexClass
Alexander Ebert [Thu, 22 Dec 2011 17:54:16 +0000 (09:54 -0800)]
Merge pull request #305 from wbbaddons/regexClass

Adding \wcf\system\Regex

12 years agoFixed multiple language input
Alexander Ebert [Thu, 22 Dec 2011 17:51:01 +0000 (18:51 +0100)]
Fixed multiple language input

i18n-inputs can now be declared optional and will no longer force a value, unless you left out one language. This means if i18n is not required you can leave out the value completely, but once you enable i18n you must give values for ALL installed languages!

Fixes #235
Fixes #282

12 years agoFixed application not be initialized in ACP
Alexander Ebert [Thu, 22 Dec 2011 16:22:33 +0000 (17:22 +0100)]
Fixed application not be initialized in ACP

Please be aware the namespaces will be registered, but loadApplication() will *not* init the application if within ACP.

Fixes #312

12 years agoThat one was too flexible … ;-)
Luzifr [Thu, 22 Dec 2011 13:42:41 +0000 (14:42 +0100)]
That one was too flexible … ;-)

12 years agoMakes the topMenu drop-downs more beautiful
Luzifr [Thu, 22 Dec 2011 13:05:52 +0000 (14:05 +0100)]
Makes the topMenu drop-downs more beautiful

12 years agoMaking the CSS files more flexible
Luzifr [Wed, 21 Dec 2011 18:23:54 +0000 (19:23 +0100)]
Making the CSS files more flexible

(and smaller)

12 years agoGoing back to "dropdown"!
Luzifr [Wed, 21 Dec 2011 16:15:19 +0000 (17:15 +0100)]
Going back to "dropdown"!

12 years agoGoing back to "dropdown"!
Luzifr [Wed, 21 Dec 2011 16:14:52 +0000 (17:14 +0100)]
Going back to "dropdown"!

12 years agoGoing back to "dropdown"!
Luzifr [Wed, 21 Dec 2011 16:06:06 +0000 (17:06 +0100)]
Going back to "dropdown"!

12 years agoMerge pull request #311 from Gravatronics/bug/cacheListLargeButtons
Harald Szekely [Wed, 21 Dec 2011 14:21:15 +0000 (06:21 -0800)]
Merge pull request #311 from Gravatronics/bug/cacheListLargeButtons

Fixes wrong "largeButtons" css class in cache list template

12 years agoFixes wrong "largeButtons" css class in cache list template
Matthias Schmidt [Wed, 21 Dec 2011 14:05:39 +0000 (15:05 +0100)]
Fixes wrong "largeButtons" css class in cache list template

12 years agoMore work on sidebars
Luzifr [Wed, 21 Dec 2011 13:41:41 +0000 (14:41 +0100)]
More work on sidebars

The profile-sidebar now has the same structure as the one in the ACP;
Changed the way the collapsible arrow icons are being included for all
sidebars, to allow for always opened menu items.

12 years agoGetting rid of "clear: both"
Luzifr [Tue, 20 Dec 2011 18:13:47 +0000 (19:13 +0100)]
Getting rid of "clear: both"

12 years agoImplemented quick search (replaces Suggestions)
Alexander Ebert [Tue, 20 Dec 2011 18:08:49 +0000 (19:08 +0100)]
Implemented quick search (replaces Suggestions)

12 years agoThat fixes the breadcrumbs
Luzifr [Tue, 20 Dec 2011 15:22:55 +0000 (16:22 +0100)]
That fixes the breadcrumbs

(when a sidebar is there)

12 years agoDropdowns reloaded (still not final!)
Luzifr [Tue, 20 Dec 2011 15:20:47 +0000 (16:20 +0100)]
Dropdowns reloaded (still not final!)

12 years agoWork-around for ACL
Alexander Ebert [Tue, 20 Dec 2011 13:52:48 +0000 (14:52 +0100)]
Work-around for ACL

12 years agoOne more change for the dropdowns
Luzifr [Tue, 20 Dec 2011 13:35:25 +0000 (14:35 +0100)]
One more change for the dropdowns

12 years agoRepaired user-list-dropdown
Luzifr [Tue, 20 Dec 2011 13:32:20 +0000 (14:32 +0100)]
Repaired user-list-dropdown

This will be the way all menus will function soon …

12 years agoRemoved obsolete function
Marcel Werk [Mon, 19 Dec 2011 16:46:52 +0000 (17:46 +0100)]
Removed obsolete function

closes #300

12 years agoMerge branch 'master' of github.com:WoltLab/WCF
Marcel Werk [Mon, 19 Dec 2011 16:16:23 +0000 (17:16 +0100)]
Merge branch 'master' of github.com:WoltLab/WCF

12 years agoAdded object class name
Marcel Werk [Mon, 19 Dec 2011 16:16:11 +0000 (17:16 +0100)]
Added object class name

12 years agoSmall optical improvement
Luzifr [Mon, 19 Dec 2011 15:22:06 +0000 (16:22 +0100)]
Small optical improvement

12 years agoMerge pull request #308 from wbbaddons/balloonTooltipTitleRemove
Alexander Ebert [Mon, 19 Dec 2011 12:30:10 +0000 (04:30 -0800)]
Merge pull request #308 from wbbaddons/balloonTooltipTitleRemove

Remove title of balloon-tooltip-item when it changed

12 years agoReplaced raw number with sqlLimit reference
Alexander Ebert [Mon, 19 Dec 2011 12:25:08 +0000 (13:25 +0100)]
Replaced raw number with sqlLimit reference

12 years agoAdded sidebar placeholder
Marcel Werk [Sun, 18 Dec 2011 15:27:56 +0000 (16:27 +0100)]
Added sidebar placeholder

12 years agoRemove title of balloon-tooltip-item when it changed
Tim Düsterhus [Sun, 18 Dec 2011 13:53:49 +0000 (14:53 +0100)]
Remove title of balloon-tooltip-item when it changed

12 years agoImproved error-handling of \wcf\system\Regex
Tim Düsterhus [Sat, 17 Dec 2011 14:39:11 +0000 (15:39 +0100)]
Improved error-handling of \wcf\system\Regex

12 years agoAdding \wcf\system\Regex
Tim Düsterhus [Sat, 17 Dec 2011 12:39:32 +0000 (13:39 +0100)]
Adding \wcf\system\Regex

That way we can typehint regexes and have object-oriented access on regexes.

There is no longer a need to add or escape the delimiters, this is all done by the Regex-class.
The modifiers are added via a bitmask as the second parameter:
Valid modifiers are:
Regex::CASE_INSENSITIVE (add i)
Regex::EVAL_REPLACEMENT (add e)
Regex::UNGREEDY (add U)
Regex::NO_ANALYSE (don't add s)

Usage:

```
$regex = new Regex('^http(s)?://(www\.)woltlab\.(com|de|info)/', Regex::CASE_INSENSITIVE);
var_dump($regex->match('http://www.woltlab.com/pluginstore/')); // int(1)
var_dump($regex->getMatches()); // array with all matched substrings

var_dump(Regex::compile('[a-z]')->replace('asdf345', '')); // string(3) "345"
var_dump(Regex::compile('[a-z]')->replace('asdf345', new Callback(function ($matches) {
return 'x';
})); // string(7) "xxxx345"
```

12 years agoRemoved Profile Comment styles from here
Luzifr [Fri, 16 Dec 2011 17:29:39 +0000 (18:29 +0100)]
Removed Profile Comment styles from here

12 years agoSmall correction
Luzifr [Fri, 16 Dec 2011 15:45:14 +0000 (16:45 +0100)]
Small correction

12 years agoAdded missing language variables
Alexander Ebert [Fri, 16 Dec 2011 13:45:51 +0000 (14:45 +0100)]
Added missing language variables

12 years agoFixed ACP package list
Alexander Ebert [Fri, 16 Dec 2011 13:16:15 +0000 (14:16 +0100)]
Fixed ACP package list

12 years agoMerge pull request #302 from max-m/patch-5
Alexander Ebert [Thu, 15 Dec 2011 19:42:19 +0000 (11:42 -0800)]
Merge pull request #302 from max-m/patch-5

Fixed HTML - added forgotten "

12 years agoSmall changes
Luzifr [Thu, 15 Dec 2011 18:25:20 +0000 (19:25 +0100)]
Small changes

12 years agoFixed HTML - added forgotten "
max-m [Thu, 15 Dec 2011 17:58:16 +0000 (18:58 +0100)]
Fixed HTML - added forgotten "

12 years agoDisabled automatic transactions for now
Alexander Ebert [Thu, 15 Dec 2011 15:34:15 +0000 (16:34 +0100)]
Disabled automatic transactions for now

12 years agoEnhanced database exceptions
Alexander Ebert [Thu, 15 Dec 2011 15:22:39 +0000 (16:22 +0100)]
Enhanced database exceptions

12 years agoUsing transaction now
Alexander Ebert [Thu, 15 Dec 2011 15:03:37 +0000 (16:03 +0100)]
Using transaction now

Changes to PreparedStatement: execute() will now automatically wrap itself in a transaction before committing changes, including an automatic rollback on failure.

If you want to send multiple queries at once, you should wrap the whole loop in a transaction and use executeUnbuffered() instead.

You SHOULD NOT use executeUnbuffered() without a transaction.

12 years agoMerge pull request #272 from Gravatronics/bug/DBOActionUpdateData
Alexander Ebert [Wed, 14 Dec 2011 23:25:15 +0000 (15:25 -0800)]
Merge pull request #272 from Gravatronics/bug/DBOActionUpdateData

Fixes a possible bug in AbstractDatabaseObjectAction::update()

12 years agoMerge pull request #298 from wbbaddons/getLinkPageMenu
Alexander Ebert [Wed, 14 Dec 2011 23:24:44 +0000 (15:24 -0800)]
Merge pull request #298 from wbbaddons/getLinkPageMenu

Adding getLink()-method for page-menu

12 years agoMerge pull request #291 from max-m/patch-4
Alexander Ebert [Wed, 14 Dec 2011 23:23:38 +0000 (15:23 -0800)]
Merge pull request #291 from max-m/patch-4

Fixes menu item options not saved in database

12 years agoMerge pull request #275 from wbbaddons/mailSenderOptimizatio
Alexander Ebert [Wed, 14 Dec 2011 23:22:58 +0000 (15:22 -0800)]
Merge pull request #275 from wbbaddons/mailSenderOptimizatio

Mail sender optimization

12 years agoMerge pull request #274 from wbbaddons/breadcrumbsSPL
Alexander Ebert [Wed, 14 Dec 2011 23:22:35 +0000 (15:22 -0800)]
Merge pull request #274 from wbbaddons/breadcrumbsSPL

Use SPL-Interfaces in \wcf\system\breadcrumb\Breadcrumbs

12 years agoMerge pull request #278 from Gravatronics/bug/AbstractOptionListFormValidate
Alexander Ebert [Wed, 14 Dec 2011 23:20:17 +0000 (15:20 -0800)]
Merge pull request #278 from Gravatronics/bug/AbstractOptionListFormValidate

Fixes bug in AbstractOptionListForm::validate()

12 years agoMerge pull request #279 from wbbaddons/WCFTemplateFix
Alexander Ebert [Wed, 14 Dec 2011 23:19:55 +0000 (15:19 -0800)]
Merge pull request #279 from wbbaddons/WCFTemplateFix

Fixing WCF.Template

12 years agoMerge pull request #281 from max-m/patch-2
Alexander Ebert [Wed, 14 Dec 2011 23:19:20 +0000 (15:19 -0800)]
Merge pull request #281 from max-m/patch-2

ZipFile doesn't exist but GZipFile ;)

12 years agoMerge pull request #301 from wbbaddons/fileUtilImprovements
Alexander Ebert [Wed, 14 Dec 2011 23:18:03 +0000 (15:18 -0800)]
Merge pull request #301 from wbbaddons/fileUtilImprovements

(add|remove)(Leading|Trailing)Slash rewritten

12 years ago(add|remove)(Leading|Trailing)Slash rewritten
Tim Düsterhus [Wed, 14 Dec 2011 18:49:01 +0000 (19:49 +0100)]
(add|remove)(Leading|Trailing)Slash rewritten

12 years agoSome optimizations
Luzifr [Wed, 14 Dec 2011 18:06:49 +0000 (19:06 +0100)]
Some optimizations

Deleted obsolete declarations; Changed syntax of a declaration; Some
comments added.

12 years agoSmall bug fix
Luzifr [Wed, 14 Dec 2011 14:07:40 +0000 (15:07 +0100)]
Small bug fix

12 years agoAnother small change.
Luzifr [Tue, 13 Dec 2011 18:57:10 +0000 (19:57 +0100)]
Another small change.

12 years agoSmall change
Luzifr [Tue, 13 Dec 2011 18:43:16 +0000 (19:43 +0100)]
Small change

12 years agoAdding getLink()-method for page-menu
Tim Düsterhus [Mon, 12 Dec 2011 16:45:12 +0000 (17:45 +0100)]
Adding getLink()-method for page-menu

12 years agoMatch floating point numbers as well
Tim Düsterhus [Mon, 12 Dec 2011 14:09:17 +0000 (15:09 +0100)]
Match floating point numbers as well

Valid numbers are (when . is the decimal-point):
1024
1.02
.5

12 years agoMerge pull request #285 from wbbaddons/stripHTMLComments
Alexander Ebert [Sat, 10 Dec 2011 20:21:15 +0000 (12:21 -0800)]
Merge pull request #285 from wbbaddons/stripHTMLComments

Strip HTML comments as well in StringUtil::stripHTML()

12 years agoMerge pull request #294 from wbbaddons/wcfJSSemicolon
Alexander Ebert [Sat, 10 Dec 2011 20:20:41 +0000 (12:20 -0800)]
Merge pull request #294 from wbbaddons/wcfJSSemicolon

Adding missing semicolons

12 years agoMerge pull request #292 from wbbaddons/fixUSH
Alexander Ebert [Sat, 10 Dec 2011 20:19:58 +0000 (12:19 -0800)]
Merge pull request #292 from wbbaddons/fixUSH

Fix UserStorageHandler

12 years agoAdding missing semicolons
Tim Düsterhus [Sat, 10 Dec 2011 15:06:47 +0000 (16:06 +0100)]
Adding missing semicolons

12 years agoExamine packageID as well when checking whether the cache is loaded
Tim Düsterhus [Sat, 10 Dec 2011 12:12:33 +0000 (13:12 +0100)]
Examine packageID as well when checking whether the cache is loaded

12 years agoFixing UserStorageHandler
Tim Düsterhus [Sat, 10 Dec 2011 12:07:49 +0000 (13:07 +0100)]
Fixing UserStorageHandler

$packageID was not correctly passed.

12 years agoFixes menu item options not saved in database
max-m [Fri, 9 Dec 2011 22:07:32 +0000 (23:07 +0100)]
Fixes menu item options not saved in database

12 years agoRemoved useless declaration
Luzifr [Thu, 8 Dec 2011 17:40:20 +0000 (18:40 +0100)]
Removed useless declaration

12 years agoStrip HTML comments as well in StringUtil::stripHTML()
Tim Düsterhus [Thu, 8 Dec 2011 15:55:18 +0000 (16:55 +0100)]
Strip HTML comments as well in StringUtil::stripHTML()

Fixes https://www.woltlab.com/bugtracker/index.php?page=Bug&bugID=428

12 years agoImplements an fileSize option-type for easier handling of file sizes.
Tim Düsterhus [Wed, 7 Dec 2011 16:21:23 +0000 (17:21 +0100)]
Implements an fileSize option-type for easier handling of file sizes.

It transparently converts inputs like 42 kB or 1337 MiB to Integers to
save in the database and converts the back to strings in the ACP.

12 years agoMerge pull request #280 from max-m/patch-1
Harald Szekely [Mon, 5 Dec 2011 18:35:18 +0000 (10:35 -0800)]
Merge pull request #280 from max-m/patch-1

Changed "style.css" to "wcf.css" ...

12 years agoZipFile doesn't exist but GZipFile ;)
max-m [Mon, 5 Dec 2011 18:06:25 +0000 (19:06 +0100)]
ZipFile doesn't exist but GZipFile ;)

12 years agoChanged "style.css" to "wcf.css" according to https://github.com/WoltLab/WCF/commit...
max-m [Mon, 5 Dec 2011 17:39:03 +0000 (18:39 +0100)]
Changed "style.css" to "wcf.css" according to https://github.com/WoltLab/WCF/commit/c9591332fe488fec4920f7a8fc634e04587b38dc

12 years ago"dropdown" -> "dropDown"
Luzifr [Mon, 5 Dec 2011 16:58:14 +0000 (17:58 +0100)]
"dropdown" -> "dropDown"

I don't like that change, because too much CamelCase makes me sick and
destroys readability, but for consistency-reasons i'll do it …

12 years agoRenamed style-files
Luzifr [Mon, 5 Dec 2011 15:26:12 +0000 (16:26 +0100)]
Renamed style-files

12 years agoFixing WCF.Template
Tim Düsterhus [Mon, 5 Dec 2011 13:21:21 +0000 (14:21 +0100)]
Fixing WCF.Template

12 years agoCorrected comment syntax
Luzifr [Sun, 4 Dec 2011 15:13:16 +0000 (16:13 +0100)]
Corrected comment syntax

12 years agoFixes bug in AbstractOptionListForm::validate()
Matthias Schmidt [Sun, 4 Dec 2011 12:42:00 +0000 (13:42 +0100)]
Fixes bug in AbstractOptionListForm::validate()

Forms that extend AbstractOptionListForm validate first, but their entries in the errorType property are overwritten by the option handler's errors.

12 years agoUsers can now be added through ACP again
Alexander Ebert [Fri, 2 Dec 2011 19:27:38 +0000 (20:27 +0100)]
Users can now be added through ACP again

Fixes #273

12 years agoJust a small fix
Luzifr [Fri, 2 Dec 2011 15:20:15 +0000 (16:20 +0100)]
Just a small fix

12 years agoCollapsible sidebar button optimized
Luzifr [Fri, 2 Dec 2011 14:47:26 +0000 (15:47 +0100)]
Collapsible sidebar button optimized

Now we only see 3 arrows inside that tall collapse-"button", if the
page gets longer than 600 pixels.