GitHub/WoltLab/WCF.git
9 years agoRemove unnecessary explicit calls to __toString()
Tim Düsterhus [Thu, 25 Jun 2015 21:51:02 +0000 (23:51 +0200)]
Remove unnecessary explicit calls to __toString()

These are a left over from PHP 5.0 / 5.1 times when __toString()
only was called within echo or print.

9 years agoImprove performance of ObjectTypeCache::init()
Tim Düsterhus [Thu, 25 Jun 2015 20:34:01 +0000 (22:34 +0200)]
Improve performance of ObjectTypeCache::init()

This method was one of the slowest that get’s regularly called
during a request.

According to XDebug profiler a request in an empty, stock setup of
Burning Board spent 7% of it's time in this method when requesting
?board-list/. 14% if you are including methods called by this method.

While that obviously does not represent a real world community
optimizing this method is sound, as it’s easily done:

After moving the θ(n) calculation that groups object types by their
definition into the cache where it belongs the numbers go down to
0.31% (excl) and 1.80% (incl).

9 years agoFixed check for CSV when syncing to shadow element in `UI/ItemList`
Alexander Ebert [Thu, 25 Jun 2015 12:14:36 +0000 (14:14 +0200)]
Fixed check for CSV when syncing to shadow element in `UI/ItemList`

9 years ago`<dl>` inside dialogs will now look like `.condensed` is set
Alexander Ebert [Thu, 25 Jun 2015 12:04:17 +0000 (14:04 +0200)]
`<dl>` inside dialogs will now look like `.condensed` is set

9 years agoFix options.xml
Matthias Schmidt [Wed, 24 Jun 2015 19:12:56 +0000 (21:12 +0200)]
Fix options.xml

See d36c684ceedb81623d0db513c933ec3e4ed62c48

9 years agoMerge branch 'next' of github.com:WoltLab/WCF into next
Alexander Ebert [Wed, 24 Jun 2015 17:28:30 +0000 (19:28 +0200)]
Merge branch 'next' of github.com:WoltLab/WCF into next

9 years agoTagging now uses `UI/ItemList`
Alexander Ebert [Wed, 24 Jun 2015 17:28:13 +0000 (19:28 +0200)]
Tagging now uses `UI/ItemList`

9 years agoAdded `UI/ItemList`, `UI/ItemList/User` and `UI/Suggestion`
Alexander Ebert [Wed, 24 Jun 2015 17:27:17 +0000 (19:27 +0200)]
Added `UI/ItemList`, `UI/ItemList/User` and `UI/Suggestion`

9 years agoImproved `UI/SimpleDropdown`
Alexander Ebert [Wed, 24 Jun 2015 17:25:45 +0000 (19:25 +0200)]
Improved `UI/SimpleDropdown`

9 years agoFixed initialization of `UI/Dialog` and improved `close()`
Alexander Ebert [Wed, 24 Jun 2015 17:25:13 +0000 (19:25 +0200)]
Fixed initialization of `UI/Dialog` and improved `close()`

9 years agoFixed object extending and event triggering in `Core`
Alexander Ebert [Wed, 24 Jun 2015 17:24:19 +0000 (19:24 +0200)]
Fixed object extending and event triggering in `Core`

9 years agoFixed error message overlay in `AjaxRequest`
Alexander Ebert [Wed, 24 Jun 2015 17:23:46 +0000 (19:23 +0200)]
Fixed error message overlay in `AjaxRequest`

9 years agoFixed `UI/Mobile` failing if no sidebar is present
Alexander Ebert [Wed, 24 Jun 2015 17:23:16 +0000 (19:23 +0200)]
Fixed `UI/Mobile` failing if no sidebar is present

9 years agoAdded `readStringArray()`
Alexander Ebert [Wed, 24 Jun 2015 17:22:38 +0000 (19:22 +0200)]
Added `readStringArray()`

9 years agoAdd missing CHANGELOG entries for bulk processing
Matthias Schmidt [Wed, 24 Jun 2015 06:13:19 +0000 (08:13 +0200)]
Add missing CHANGELOG entries for bulk processing

9 years agoAdd CHANGELOG.md entries for email system
Tim Düsterhus [Tue, 23 Jun 2015 22:37:44 +0000 (00:37 +0200)]
Add CHANGELOG.md entries for email system

9 years agoMerge branch 'email' into next
Tim Düsterhus [Tue, 23 Jun 2015 22:32:36 +0000 (00:32 +0200)]
Merge branch 'email' into next

9 years agoMerge branch 'background' into next
Tim Düsterhus [Tue, 23 Jun 2015 22:31:31 +0000 (00:31 +0200)]
Merge branch 'background' into next

9 years agoMerge branch 'master' into next
Tim Düsterhus [Tue, 23 Jun 2015 22:31:19 +0000 (00:31 +0200)]
Merge branch 'master' into next

9 years agoAdd Email::send()
Tim Düsterhus [Mon, 22 Jun 2015 19:55:59 +0000 (21:55 +0200)]
Add Email::send()

9 years agoAdd mail_smtp_starttls option
Tim Düsterhus [Sun, 21 Jun 2015 20:51:05 +0000 (22:51 +0200)]
Add mail_smtp_starttls option

9 years agoSupport “-f” if PhpEmailTransport is used
Tim Düsterhus [Sun, 21 Jun 2015 19:59:08 +0000 (21:59 +0200)]
Support “-f” if PhpEmailTransport is used

9 years agoFix handling of failed connects / logins in SmtpEmailTransport
Tim Düsterhus [Sun, 21 Jun 2015 18:53:46 +0000 (20:53 +0200)]
Fix handling of failed connects / logins in SmtpEmailTransport

9 years agoDeprecate old mail API
Tim Düsterhus [Fri, 19 Jun 2015 17:00:11 +0000 (19:00 +0200)]
Deprecate old mail API

9 years agoRemove obsolete options
Tim Düsterhus [Fri, 19 Jun 2015 16:54:41 +0000 (18:54 +0200)]
Remove obsolete options

9 years agoAdd SmtpEmailTransport
Tim Düsterhus [Fri, 19 Jun 2015 16:45:31 +0000 (18:45 +0200)]
Add SmtpEmailTransport

9 years agoAdd basic implementation of PhpEmailTransport
Tim Düsterhus [Wed, 17 Jun 2015 21:06:06 +0000 (23:06 +0200)]
Add basic implementation of PhpEmailTransport

9 years agoAdd EmailDeliveryBackgroundJob and DebugEmailTransport
Tim Düsterhus [Mon, 15 Jun 2015 19:11:04 +0000 (21:11 +0200)]
Add EmailDeliveryBackgroundJob and DebugEmailTransport

9 years agoAdd support for email body
Tim Düsterhus [Mon, 15 Jun 2015 15:06:42 +0000 (17:06 +0200)]
Add support for email body

9 years agoMove header encoding from Mailbox into a generic function
Tim Düsterhus [Mon, 15 Jun 2015 15:03:25 +0000 (17:03 +0200)]
Move header encoding from Mailbox into a generic function

9 years agoAdd \wcf\system\email\Email
Tim Düsterhus [Sun, 14 Jun 2015 19:37:48 +0000 (21:37 +0200)]
Add \wcf\system\email\Email

It already supports handling the Email's headers, but not the body.

9 years agoAdd Mailbox classes for new email system
Tim Düsterhus [Sun, 14 Jun 2015 17:09:17 +0000 (19:09 +0200)]
Add Mailbox classes for new email system

9 years agoAdd CHANGELOG.md entry for background queue
Tim Düsterhus [Tue, 23 Jun 2015 18:18:52 +0000 (20:18 +0200)]
Add CHANGELOG.md entry for background queue

9 years agoSmall style editor improvement
Marcel Werk [Tue, 23 Jun 2015 16:35:42 +0000 (18:35 +0200)]
Small style editor improvement

9 years agoIncreased size of tag input field
Marcel Werk [Tue, 23 Jun 2015 15:47:20 +0000 (17:47 +0200)]
Increased size of tag input field

9 years agoFixed typo
Marcel Werk [Tue, 23 Jun 2015 15:46:48 +0000 (17:46 +0200)]
Fixed typo

9 years agoMerge branch 'master' of github.com:WoltLab/WCF
Marcel Werk [Tue, 23 Jun 2015 11:42:00 +0000 (13:42 +0200)]
Merge branch 'master' of github.com:WoltLab/WCF

9 years agoFixed typos
Marcel Werk [Tue, 23 Jun 2015 11:41:47 +0000 (13:41 +0200)]
Fixed typos

9 years agoUse global timestamp condition error language items
Matthias Schmidt [Mon, 22 Jun 2015 18:16:46 +0000 (20:16 +0200)]
Use global timestamp condition error language items

9 years agoFix rebuilding clipboard markings if no items are marked
Matthias Schmidt [Mon, 22 Jun 2015 17:58:02 +0000 (19:58 +0200)]
Fix rebuilding clipboard markings if no items are marked

9 years agoFix rebuilding clipboard editors
Matthias Schmidt [Mon, 22 Jun 2015 17:50:17 +0000 (19:50 +0200)]
Fix rebuilding clipboard editors

9 years agoFix instanceof checks
Matthias Schmidt [Mon, 22 Jun 2015 17:28:17 +0000 (19:28 +0200)]
Fix instanceof checks

9 years agoFix AbstractObjectTextPropertyCondition::getData()
Matthias Schmidt [Mon, 22 Jun 2015 17:13:03 +0000 (19:13 +0200)]
Fix AbstractObjectTextPropertyCondition::getData()

9 years agoUpdating minified JavaScript files
woltlab.com [Mon, 22 Jun 2015 16:51:52 +0000 (18:51 +0200)]
Updating minified JavaScript files

9 years agoFixed auto-selection of parent categories on page load
Marcel Werk [Mon, 22 Jun 2015 16:45:54 +0000 (18:45 +0200)]
Fixed auto-selection of parent categories on page load

9 years agoMerge branch 'master' into next
Tim Düsterhus [Mon, 22 Jun 2015 16:34:57 +0000 (18:34 +0200)]
Merge branch 'master' into next

9 years agoFixed broken language drop-down
Marcel Werk [Mon, 22 Jun 2015 16:26:47 +0000 (18:26 +0200)]
Fixed broken language drop-down

9 years agoFixed daily mail notifications
Marcel Werk [Mon, 22 Jun 2015 16:08:15 +0000 (18:08 +0200)]
Fixed daily mail notifications

9 years agoMerge branch 'master' of github.com:WoltLab/WCF
Marcel Werk [Sun, 21 Jun 2015 22:55:32 +0000 (00:55 +0200)]
Merge branch 'master' of github.com:WoltLab/WCF

9 years agoFixed quote bbcode issue
Marcel Werk [Sun, 21 Jun 2015 22:55:18 +0000 (00:55 +0200)]
Fixed quote bbcode issue

9 years agoAllow passing an array to BackgroundQueueHandler::enqueue(At|In)
Tim Düsterhus [Sun, 21 Jun 2015 19:23:07 +0000 (21:23 +0200)]
Allow passing an array to BackgroundQueueHandler::enqueue(At|In)

9 years agoPerform background tasks via AJAX request
Tim Düsterhus [Sun, 21 Jun 2015 12:26:38 +0000 (14:26 +0200)]
Perform background tasks via AJAX request

9 years agoAdd BackgroundQueueHandler::enqueueIn() and rename enqueue() to enqueueAt()
Tim Düsterhus [Wed, 17 Jun 2015 19:53:09 +0000 (21:53 +0200)]
Add BackgroundQueueHandler::enqueueIn() and rename enqueue() to enqueueAt()

This also disallows scheduling jobs for execution in the past to prevent
starving of jobs with a non-immediate execution (previous default parameter
of zero).

9 years agoAdd BackgroundQueueHandler::performJob(AbstractBackgroundJob)…
Tim Düsterhus [Mon, 15 Jun 2015 17:11:43 +0000 (19:11 +0200)]
Add BackgroundQueueHandler::performJob(AbstractBackgroundJob)…

… and rename performJob(void) to performNextJob(void)

9 years agoAdd BackgroundQueueCleanUpCronjob
Tim Düsterhus [Sun, 14 Jun 2015 16:25:23 +0000 (18:25 +0200)]
Add BackgroundQueueCleanUpCronjob

9 years agoAdd BackgroundQueueHandler and AbstractBackgroundJob
Tim Düsterhus [Mon, 8 Jun 2015 00:23:39 +0000 (02:23 +0200)]
Add BackgroundQueueHandler and AbstractBackgroundJob

9 years agoProperly support FOR UPDATE + LIMIT
Tim Düsterhus [Sun, 14 Jun 2015 13:21:50 +0000 (15:21 +0200)]
Properly support FOR UPDATE + LIMIT

9 years agoFix output flushing in WCF::destruct()
Tim Düsterhus [Tue, 16 Jun 2015 23:33:54 +0000 (01:33 +0200)]
Fix output flushing in WCF::destruct()

9 years agoUpdating minified JavaScript files
woltlab.com [Sat, 20 Jun 2015 20:06:50 +0000 (22:06 +0200)]
Updating minified JavaScript files

9 years agoFixed direct insert of quotes when edit mode is active
Alexander Ebert [Sat, 20 Jun 2015 20:02:19 +0000 (22:02 +0200)]
Fixed direct insert of quotes when edit mode is active

9 years agoFixed default controller causing a redirect if it was renamed
Alexander Ebert [Sat, 20 Jun 2015 19:24:37 +0000 (21:24 +0200)]
Fixed default controller causing a redirect if it was renamed

9 years ago`Number.isNaN()` is part of ES6 and not yet fully supported
Alexander Ebert [Sat, 20 Jun 2015 15:26:49 +0000 (17:26 +0200)]
`Number.isNaN()` is part of ES6 and not yet fully supported

9 years agoMerge branch 'master' into next
Alexander Ebert [Sat, 20 Jun 2015 15:25:41 +0000 (17:25 +0200)]
Merge branch 'master' into next

9 years agoUpdating minified JavaScript files
woltlab.com [Sat, 20 Jun 2015 15:06:50 +0000 (17:06 +0200)]
Updating minified JavaScript files

9 years agoFixed regex for quotes being too greedy
Alexander Ebert [Sat, 20 Jun 2015 15:03:13 +0000 (17:03 +0200)]
Fixed regex for quotes being too greedy

9 years agoUpdating minified JavaScript files
woltlab.com [Sat, 20 Jun 2015 14:31:51 +0000 (16:31 +0200)]
Updating minified JavaScript files

9 years agoFixed handling of newlines in <td> with lists
Alexander Ebert [Sat, 20 Jun 2015 14:28:21 +0000 (16:28 +0200)]
Fixed handling of newlines in <td> with lists

9 years agoFixed empty <input> elements remaining after paste
Alexander Ebert [Sat, 20 Jun 2015 13:23:49 +0000 (15:23 +0200)]
Fixed empty <input> elements remaining after paste

9 years agoFixed backspace at quote start
Alexander Ebert [Sat, 20 Jun 2015 13:16:21 +0000 (15:16 +0200)]
Fixed backspace at quote start

9 years agoMove date picker initialization to Bootstrap.js
Matthias Schmidt [Sat, 20 Jun 2015 13:09:17 +0000 (15:09 +0200)]
Move date picker initialization to Bootstrap.js

9 years agoMerge branch 'next' of github.com:WoltLab/WCF into next
Alexander Ebert [Sat, 20 Jun 2015 12:25:55 +0000 (14:25 +0200)]
Merge branch 'next' of github.com:WoltLab/WCF into next

9 years agoAdded DatePicker to ACP
Alexander Ebert [Sat, 20 Jun 2015 12:25:45 +0000 (14:25 +0200)]
Added DatePicker to ACP

9 years agoFix path to touchPunch file in ACP
Matthias Schmidt [Sat, 20 Jun 2015 11:08:33 +0000 (13:08 +0200)]
Fix path to touchPunch file in ACP

9 years agoFixed two `Ajax` related issues in `UI/Dialog`
Alexander Ebert [Sat, 20 Jun 2015 10:03:06 +0000 (12:03 +0200)]
Fixed two `Ajax` related issues in `UI/Dialog`

9 years agoOverhauled user notification settings, unified CSS
Alexander Ebert [Sat, 20 Jun 2015 09:38:56 +0000 (11:38 +0200)]
Overhauled user notification settings, unified CSS

9 years agoRemoved obsolete code
Marcel Werk [Fri, 19 Jun 2015 17:18:56 +0000 (19:18 +0200)]
Removed obsolete code

9 years agoFixed handling of additionalFields
Marcel Werk [Fri, 19 Jun 2015 17:18:35 +0000 (19:18 +0200)]
Fixed handling of additionalFields

9 years agoFixed detection of internal links
Marcel Werk [Fri, 19 Jun 2015 13:13:50 +0000 (15:13 +0200)]
Fixed detection of internal links

9 years agoAdded {js} template function and reorganized some 3rdParty JS
Alexander Ebert [Thu, 18 Jun 2015 21:18:12 +0000 (23:18 +0200)]
Added {js} template function and reorganized some 3rdParty JS

9 years agoUsing new boolean type for options, unified phrase
Alexander Ebert [Thu, 18 Jun 2015 12:53:14 +0000 (14:53 +0200)]
Using new boolean type for options, unified phrase

9 years agoRemoved debug code
Alexander Ebert [Thu, 18 Jun 2015 12:49:30 +0000 (14:49 +0200)]
Removed debug code

9 years agoFixed boolean user group option type
Alexander Ebert [Thu, 18 Jun 2015 11:35:30 +0000 (13:35 +0200)]
Fixed boolean user group option type

9 years agoFix LIMIT in UPDATE statements
Tim Düsterhus [Wed, 17 Jun 2015 17:52:38 +0000 (19:52 +0200)]
Fix LIMIT in UPDATE statements

As of now the OFFSET will be omitted, if zero.

9 years agoFixed broken subscription end date
Marcel Werk [Wed, 17 Jun 2015 16:14:34 +0000 (18:14 +0200)]
Fixed broken subscription end date

9 years agoAdded `WoltLab/WCF/Date/Picker` to replace `$.ui.datepicker`
Alexander Ebert [Wed, 17 Jun 2015 16:00:32 +0000 (18:00 +0200)]
Added `WoltLab/WCF/Date/Picker` to replace `$.ui.datepicker`

9 years agoFix code formatting
Matthias Schmidt [Mon, 15 Jun 2015 18:43:34 +0000 (20:43 +0200)]
Fix code formatting

9 years agoAdd missing 'abstract'
Matthias Schmidt [Mon, 15 Jun 2015 18:06:34 +0000 (20:06 +0200)]
Add missing 'abstract'

9 years agoAdd abstract object bulk processing (WIP)
Matthias Schmidt [Mon, 15 Jun 2015 18:03:19 +0000 (20:03 +0200)]
Add abstract object bulk processing (WIP)

…and replace the current user bulk processing form with the new system.

9 years agoUpdating minified JavaScript files
woltlab.com [Sun, 14 Jun 2015 19:16:46 +0000 (21:16 +0200)]
Updating minified JavaScript files

9 years agoFixed floating of images
Marcel Werk [Sun, 14 Jun 2015 19:11:31 +0000 (21:11 +0200)]
Fixed floating of images

9 years agoRemove obsolete MySQLDatabase::handleLimitParameter()
Tim Düsterhus [Sun, 14 Jun 2015 12:59:33 +0000 (14:59 +0200)]
Remove obsolete MySQLDatabase::handleLimitParameter()

`LIMIT … OFFSET …` is supported since at least MySQL 5.0. We require 5.1.

9 years agoMerge pull request #1920 from Stricted/patch-1
Tim Düsterhus [Thu, 11 Jun 2015 10:45:07 +0000 (12:45 +0200)]
Merge pull request #1920 from Stricted/patch-1

add Traits to codesniffer

9 years agoadd Traits to codesniffer
Stricted [Wed, 10 Jun 2015 17:07:09 +0000 (19:07 +0200)]
add Traits to codesniffer

9 years agoDecreased font size for option suffix
Alexander Ebert [Tue, 9 Jun 2015 17:24:40 +0000 (19:24 +0200)]
Decreased font size for option suffix

9 years agoAdded some option suffixes
Alexander Ebert [Tue, 9 Jun 2015 16:27:35 +0000 (18:27 +0200)]
Added some option suffixes

9 years agoAdded `WoltLab/WCF/Language/Input` (I18n) and input suffixes
Alexander Ebert [Tue, 9 Jun 2015 15:11:16 +0000 (17:11 +0200)]
Added `WoltLab/WCF/Language/Input` (I18n) and input suffixes

9 years agoMerge branch 'master' into next
Alexander Ebert [Mon, 8 Jun 2015 10:01:33 +0000 (12:01 +0200)]
Merge branch 'master' into next

9 years agoFixed redirect to landing page triggered on non-primary application
Alexander Ebert [Mon, 8 Jun 2015 08:54:07 +0000 (10:54 +0200)]
Fixed redirect to landing page triggered on non-primary application

9 years agoBoolean user group options now support 'Never'
Alexander Ebert [Sun, 7 Jun 2015 19:30:10 +0000 (21:30 +0200)]
Boolean user group options now support 'Never'

The boolean option type allowed only for a simple true/false, which is sometimes quite difficult to work with. For example revoking group permissions is usually accomplished by fiddling with all groups.

The 'Never' option solves this by using the unique value '-1' to revoke a permission regardless how often it was granted.

9 years agoImproved warn message if `Language.get()` encounters an unknown key
Alexander Ebert [Sat, 6 Jun 2015 13:42:57 +0000 (15:42 +0200)]
Improved warn message if `Language.get()` encounters an unknown key