GitHub/WoltLab/WCF.git
13 years agoDisabled automatic transactions for now
Alexander Ebert [Thu, 15 Dec 2011 15:34:15 +0000 (16:34 +0100)]
Disabled automatic transactions for now

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

13 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.

13 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()

13 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

13 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

13 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

13 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

13 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()

13 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

13 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 ;)

13 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

13 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

13 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.

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

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

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

13 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

13 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()

13 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

13 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

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

13 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

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

$packageID was not correctly passed.

13 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

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

13 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

13 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" ...

13 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 ;)

13 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

13 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 …

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

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

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

13 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.

13 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

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

13 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.

13 years agoReverted 2febb84
Alexander Ebert [Fri, 2 Dec 2011 14:30:01 +0000 (15:30 +0100)]
Reverted 2febb84

13 years agoMerge pull request #264 from wbbaddons/fqnIllegalLinkException
Alexander Ebert [Fri, 2 Dec 2011 14:23:28 +0000 (06:23 -0800)]
Merge pull request #264 from wbbaddons/fqnIllegalLinkException

Fixing fully qualified name of IllegalLinkException

13 years agoMerge pull request #269 from wbbaddons/getController
Alexander Ebert [Fri, 2 Dec 2011 14:23:10 +0000 (06:23 -0800)]
Merge pull request #269 from wbbaddons/getController

Adding Request::getController

13 years agoImplode will already return an empty string.
Tim Düsterhus [Thu, 1 Dec 2011 21:52:18 +0000 (22:52 +0100)]
Implode will already return an empty string.

13 years agoUse a type-secure check
Tim Düsterhus [Thu, 1 Dec 2011 21:50:55 +0000 (22:50 +0100)]
Use a type-secure check

13 years agoUse a real signature separated with --
Tim Düsterhus [Thu, 1 Dec 2011 21:50:34 +0000 (22:50 +0100)]
Use a real signature separated with --

13 years agoFixes a possible bug in AbstractDatabaseObjectAction::update()
Matthias Schmidt [Thu, 1 Dec 2011 21:45:25 +0000 (22:45 +0100)]
Fixes a possible bug in AbstractDatabaseObjectAction::update()

This bug currently occurs if you try to edit the profile inline in the profile itself (Error: "Undefined index: data"). The reason for this bug is that the after saving the input data, the "real" user data isn't updated, only their options which is handled by the UserAction separately (UserAction, line 140), so 'data' doesn't always need to exist.

13 years agoUse SPL-Interfaces in \wcf\system\breadcrumb\Breadcrumbs
Tim Düsterhus [Thu, 1 Dec 2011 21:42:43 +0000 (22:42 +0100)]
Use SPL-Interfaces in \wcf\system\breadcrumb\Breadcrumbs

Countable and Iterator are implemented.

13 years agoFixes floating problem
Luzifr [Thu, 1 Dec 2011 19:32:57 +0000 (20:32 +0100)]
Fixes floating problem

13 years agoMaking the strings shorter
Luzifr [Thu, 1 Dec 2011 18:15:17 +0000 (19:15 +0100)]
Making the strings shorter

13 years agoSmall fixes
Luzifr [Thu, 1 Dec 2011 18:10:06 +0000 (19:10 +0100)]
Small fixes

13 years agoMerge pull request #270 from Gravatronics/bug/packageUpdatePackageID
Alexander Ebert [Thu, 1 Dec 2011 17:04:34 +0000 (09:04 -0800)]
Merge pull request #270 from Gravatronics/bug/packageUpdatePackageID

Fixes bug during package update

13 years agoMerge pull request #271 from Gravatronics/bug/userOptionUpdate
Alexander Ebert [Thu, 1 Dec 2011 17:04:15 +0000 (09:04 -0800)]
Merge pull request #271 from Gravatronics/bug/userOptionUpdate

Fixes wrong method name in UserOptionEditor::update()

13 years agoFixes wrong method name in UserOptionEditor::update()
Matthias Schmidt [Thu, 1 Dec 2011 16:56:50 +0000 (17:56 +0100)]
Fixes wrong method name in UserOptionEditor::update()

13 years agoFixes bug during package update
Matthias Schmidt [Thu, 1 Dec 2011 16:50:20 +0000 (17:50 +0100)]
Fixes bug during package update

The id of the updated package is still read like when no routes were used.

13 years agoSidebar optimizations
Luzifr [Thu, 1 Dec 2011 16:44:45 +0000 (17:44 +0100)]
Sidebar optimizations

Still unfinished!

13 years agoRemoved debug code
Marcel Werk [Thu, 1 Dec 2011 16:43:05 +0000 (17:43 +0100)]
Removed debug code

13 years agoAdded hascontent to sidebar
Marcel Werk [Thu, 1 Dec 2011 16:09:01 +0000 (17:09 +0100)]
Added hascontent to sidebar

13 years agoCollapsible sidebar reloaded
Luzifr [Thu, 1 Dec 2011 15:05:29 +0000 (16:05 +0100)]
Collapsible sidebar reloaded

Complete overhaul of the collapse-function due to the switch to a
floated sidebar; Renamed some classes; All done by CSS now; Animation
works in all odern browsers incl. IE 10.

13 years agoFloated sidebar
Luzifr [Wed, 30 Nov 2011 18:12:42 +0000 (19:12 +0100)]
Floated sidebar

Floated sidebar ready.
ToDo: Collapsing does not yet work correctly! Work in progress!

13 years agoFixed option handler not displaying user values
Alexander Ebert [Wed, 30 Nov 2011 15:15:40 +0000 (16:15 +0100)]
Fixed option handler not displaying user values

13 years agoSome small stuff
Luzifr [Wed, 30 Nov 2011 14:59:11 +0000 (15:59 +0100)]
Some small stuff

Preparing for floating sidebar; Corrected wrong class name; Changed the
German name of Cronjobs to "Cronjobs", a word which is really common
now and also much shorter thus more handy!

13 years agoUpdating user options now working
Alexander Ebert [Wed, 30 Nov 2011 14:05:19 +0000 (15:05 +0100)]
Updating user options now working

13 years agoMerge branch 'master' of github.com:WoltLab/WCF
Marcel Werk [Tue, 29 Nov 2011 21:29:35 +0000 (22:29 +0100)]
Merge branch 'master' of github.com:WoltLab/WCF

13 years agoFixed some issues in smallpages template plugin
Marcel Werk [Tue, 29 Nov 2011 21:29:22 +0000 (22:29 +0100)]
Fixed some issues in smallpages template plugin

13 years agoUser Profile Comments again
Luzifr [Tue, 29 Nov 2011 19:12:51 +0000 (20:12 +0100)]
User Profile Comments again

13 years agoFixed broken cache method
Alexander Ebert [Tue, 29 Nov 2011 18:16:16 +0000 (19:16 +0100)]
Fixed broken cache method

13 years agoUser Profile Comments reloaded
Luzifr [Tue, 29 Nov 2011 17:55:31 +0000 (18:55 +0100)]
User Profile Comments reloaded

(at the moment still left

13 years agoMerge branch 'master' of github.com:WoltLab/WCF
Marcel Werk [Tue, 29 Nov 2011 17:35:47 +0000 (18:35 +0100)]
Merge branch 'master' of github.com:WoltLab/WCF

13 years agoFixed template scripting error
Marcel Werk [Tue, 29 Nov 2011 17:35:32 +0000 (18:35 +0100)]
Fixed template scripting error

13 years agoAdding Request::getController
Tim Düsterhus [Tue, 29 Nov 2011 16:42:32 +0000 (17:42 +0100)]
Adding Request::getController

It returns the active page|form|action.

13 years agoStyles from Profile comments
Luzifr [Mon, 28 Nov 2011 18:36:15 +0000 (19:36 +0100)]
Styles from Profile comments

Corrected some bugs

13 years agoProfile buttons
Luzifr [Mon, 28 Nov 2011 17:39:55 +0000 (18:39 +0100)]
Profile buttons

13 years agoMerge branch 'master' of github.com:WoltLab/WCF
Alexander Ebert [Mon, 28 Nov 2011 16:15:28 +0000 (17:15 +0100)]
Merge branch 'master' of github.com:WoltLab/WCF

13 years agoFixed dialog dimensions again
Alexander Ebert [Mon, 28 Nov 2011 16:15:08 +0000 (17:15 +0100)]
Fixed dialog dimensions again

Somehow getDimensions() (without any parameters) seems to be returning a usable value, rather than the values returned by inner/outer (maybe buggy?)

13 years agoRemoved -shadow from system notifications
Luzifr [Mon, 28 Nov 2011 16:06:26 +0000 (17:06 +0100)]
Removed -shadow from system notifications

Looks better without

13 years agoMerge pull request #241 from gianluca311/master
Alexander Ebert [Mon, 28 Nov 2011 15:39:06 +0000 (07:39 -0800)]
Merge pull request #241 from gianluca311/master

Language option addition

13 years agoError messages now look more like common dialogs
Alexander Ebert [Mon, 28 Nov 2011 15:20:46 +0000 (16:20 +0100)]
Error messages now look more like common dialogs

13 years agoRemoved inclusion of benchmark during WCFSetup process
Alexander Ebert [Mon, 28 Nov 2011 15:10:31 +0000 (16:10 +0100)]
Removed inclusion of benchmark during WCFSetup process

13 years agoDialog height is already properly calculated
Alexander Ebert [Mon, 28 Nov 2011 15:06:48 +0000 (16:06 +0100)]
Dialog height is already properly calculated

13 years agoRemoved the useless next-button
Alexander Ebert [Mon, 28 Nov 2011 14:40:10 +0000 (15:40 +0100)]
Removed the useless next-button

See #251

13 years agoRemoved the useless next-button
Alexander Ebert [Mon, 28 Nov 2011 14:12:22 +0000 (15:12 +0100)]
Removed the useless next-button

Closes #251

13 years agoBetter handling for parallel renderings
Alexander Ebert [Mon, 28 Nov 2011 14:06:24 +0000 (15:06 +0100)]
Better handling for parallel renderings

13 years agoImporting IllegalLinkException instead of using fully qualified name
Tim Düsterhus [Mon, 28 Nov 2011 12:48:33 +0000 (13:48 +0100)]
Importing IllegalLinkException instead of using fully qualified name

Additionally reordered use-Statements.

13 years agoMerge pull request #263 from wbbaddons/packageListPluginsTplCorrectLinks
Alexander Ebert [Mon, 28 Nov 2011 11:45:42 +0000 (03:45 -0800)]
Merge pull request #263 from wbbaddons/packageListPluginsTplCorrectLinks

Correcting links in packageListPlugins

13 years agoMerge pull request #262 from wbbaddons/packageListPluginsShowDescription
Alexander Ebert [Mon, 28 Nov 2011 11:45:25 +0000 (03:45 -0800)]
Merge pull request #262 from wbbaddons/packageListPluginsShowDescription

Show the description in packageListPlugins

13 years agoMerge pull request #265 from wbbaddons/useSystemException
Marcel Werk [Mon, 28 Nov 2011 11:37:19 +0000 (03:37 -0800)]
Merge pull request #265 from wbbaddons/useSystemException

Adding missing use SystemException in DatabaseObjectList

13 years agoMerge pull request #261 from Torben-Brodt/patch-8
Marcel Werk [Mon, 28 Nov 2011 11:37:01 +0000 (03:37 -0800)]
Merge pull request #261 from Torben-Brodt/patch-8

minor: array should be array

13 years agoPrevent parallel rendering within installation
Alexander Ebert [Sun, 27 Nov 2011 20:15:18 +0000 (21:15 +0100)]
Prevent parallel rendering within installation

13 years agoFixed dialog resizing
Alexander Ebert [Sun, 27 Nov 2011 17:45:16 +0000 (18:45 +0100)]
Fixed dialog resizing

13 years agoAdding missing use SystemException in DatabaseObjectList
Tim Düsterhus [Sat, 26 Nov 2011 16:42:21 +0000 (17:42 +0100)]
Adding missing use SystemException in DatabaseObjectList

13 years agoFixing fully qualified name of IllegalLinkException
Tim Düsterhus [Sat, 26 Nov 2011 16:06:22 +0000 (17:06 +0100)]
Fixing fully qualified name of IllegalLinkException

13 years agoShow the description in packageListPlugins
Tim Düsterhus [Sat, 26 Nov 2011 12:50:37 +0000 (13:50 +0100)]
Show the description in packageListPlugins

Instead of the static text the description is now shown. Output is truncated to 300 chars. This should be enough for most plugins.

13 years agoCorrecting links in packageListPlugins
Tim Düsterhus [Sat, 26 Nov 2011 12:41:48 +0000 (13:41 +0100)]
Correcting links in packageListPlugins

They were not using the {link}-Tag.

13 years agominor: array should be array
Torben-Brodt [Sat, 26 Nov 2011 12:12:14 +0000 (13:12 +0100)]
minor: array should be array

13 years agoMerge branch 'master' of github.com:WoltLab/WCF
Alexander Ebert [Fri, 25 Nov 2011 19:34:10 +0000 (20:34 +0100)]
Merge branch 'master' of github.com:WoltLab/WCF

13 years agoDialogs are now properly resized
Alexander Ebert [Fri, 25 Nov 2011 19:33:57 +0000 (20:33 +0100)]
Dialogs are now properly resized

13 years agoMerge branch 'master' of github.com:WoltLab/WCF
Marcel Werk [Fri, 25 Nov 2011 19:03:38 +0000 (20:03 +0100)]
Merge branch 'master' of github.com:WoltLab/WCF

13 years agoCloses #258
Marcel Werk [Fri, 25 Nov 2011 19:03:18 +0000 (20:03 +0100)]
Closes #258

13 years agoBoard-list & -table & page-navigation
Luzifr [Fri, 25 Nov 2011 18:51:58 +0000 (19:51 +0100)]
Board-list & -table & page-navigation

13 years agoFixed an encoding issue
Marcel Werk [Fri, 25 Nov 2011 18:51:26 +0000 (19:51 +0100)]
Fixed an encoding issue

13 years agoMerge branch 'master' of github.com:WoltLab/WCF
Marcel Werk [Fri, 25 Nov 2011 18:24:28 +0000 (19:24 +0100)]
Merge branch 'master' of github.com:WoltLab/WCF

Conflicts:
com.woltlab.wcf/template/footer.tpl