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.
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).
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`
Alexander Ebert [Thu, 25 Jun 2015 12:04:17 +0000 (14:04 +0200)]
`<dl>` inside dialogs will now look like `.condensed` is set
Matthias Schmidt [Wed, 24 Jun 2015 19:12:56 +0000 (21:12 +0200)]
Alexander Ebert [Wed, 24 Jun 2015 17:28:30 +0000 (19:28 +0200)]
Merge branch 'next' of github.com:WoltLab/WCF into next
Alexander Ebert [Wed, 24 Jun 2015 17:28:13 +0000 (19:28 +0200)]
Tagging now uses `UI/ItemList`
Alexander Ebert [Wed, 24 Jun 2015 17:27:17 +0000 (19:27 +0200)]
Added `UI/ItemList`, `UI/ItemList/User` and `UI/Suggestion`
Alexander Ebert [Wed, 24 Jun 2015 17:25:45 +0000 (19:25 +0200)]
Improved `UI/SimpleDropdown`
Alexander Ebert [Wed, 24 Jun 2015 17:25:13 +0000 (19:25 +0200)]
Fixed initialization of `UI/Dialog` and improved `close()`
Alexander Ebert [Wed, 24 Jun 2015 17:24:19 +0000 (19:24 +0200)]
Fixed object extending and event triggering in `Core`
Alexander Ebert [Wed, 24 Jun 2015 17:23:46 +0000 (19:23 +0200)]
Fixed error message overlay in `AjaxRequest`
Alexander Ebert [Wed, 24 Jun 2015 17:23:16 +0000 (19:23 +0200)]
Fixed `UI/Mobile` failing if no sidebar is present
Alexander Ebert [Wed, 24 Jun 2015 17:22:38 +0000 (19:22 +0200)]
Added `readStringArray()`
Matthias Schmidt [Wed, 24 Jun 2015 06:13:19 +0000 (08:13 +0200)]
Add missing CHANGELOG entries for bulk processing
Tim Düsterhus [Tue, 23 Jun 2015 22:37:44 +0000 (00:37 +0200)]
Add CHANGELOG.md entries for email system
Tim Düsterhus [Tue, 23 Jun 2015 22:32:36 +0000 (00:32 +0200)]
Merge branch 'email' into next
Tim Düsterhus [Tue, 23 Jun 2015 22:31:31 +0000 (00:31 +0200)]
Merge branch 'background' into next
Tim Düsterhus [Tue, 23 Jun 2015 22:31:19 +0000 (00:31 +0200)]
Merge branch 'master' into next
Tim Düsterhus [Mon, 22 Jun 2015 19:55:59 +0000 (21:55 +0200)]
Add Email::send()
Tim Düsterhus [Sun, 21 Jun 2015 20:51:05 +0000 (22:51 +0200)]
Add mail_smtp_starttls option
Tim Düsterhus [Sun, 21 Jun 2015 19:59:08 +0000 (21:59 +0200)]
Support “-f” if PhpEmailTransport is used
Tim Düsterhus [Sun, 21 Jun 2015 18:53:46 +0000 (20:53 +0200)]
Fix handling of failed connects / logins in SmtpEmailTransport
Tim Düsterhus [Fri, 19 Jun 2015 17:00:11 +0000 (19:00 +0200)]
Deprecate old mail API
Tim Düsterhus [Fri, 19 Jun 2015 16:54:41 +0000 (18:54 +0200)]
Remove obsolete options
Tim Düsterhus [Fri, 19 Jun 2015 16:45:31 +0000 (18:45 +0200)]
Add SmtpEmailTransport
Tim Düsterhus [Wed, 17 Jun 2015 21:06:06 +0000 (23:06 +0200)]
Add basic implementation of PhpEmailTransport
Tim Düsterhus [Mon, 15 Jun 2015 19:11:04 +0000 (21:11 +0200)]
Add EmailDeliveryBackgroundJob and DebugEmailTransport
Tim Düsterhus [Mon, 15 Jun 2015 15:06:42 +0000 (17:06 +0200)]
Add support for email body
Tim Düsterhus [Mon, 15 Jun 2015 15:03:25 +0000 (17:03 +0200)]
Move header encoding from Mailbox into a generic function
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.
Tim Düsterhus [Sun, 14 Jun 2015 17:09:17 +0000 (19:09 +0200)]
Add Mailbox classes for new email system
Tim Düsterhus [Tue, 23 Jun 2015 18:18:52 +0000 (20:18 +0200)]
Add CHANGELOG.md entry for background queue
Marcel Werk [Tue, 23 Jun 2015 16:35:42 +0000 (18:35 +0200)]
Small style editor improvement
Marcel Werk [Tue, 23 Jun 2015 15:47:20 +0000 (17:47 +0200)]
Increased size of tag input field
Marcel Werk [Tue, 23 Jun 2015 15:46:48 +0000 (17:46 +0200)]
Fixed typo
Marcel Werk [Tue, 23 Jun 2015 11:42:00 +0000 (13:42 +0200)]
Merge branch 'master' of github.com:WoltLab/WCF
Marcel Werk [Tue, 23 Jun 2015 11:41:47 +0000 (13:41 +0200)]
Fixed typos
Matthias Schmidt [Mon, 22 Jun 2015 18:16:46 +0000 (20:16 +0200)]
Use global timestamp condition error language items
Matthias Schmidt [Mon, 22 Jun 2015 17:58:02 +0000 (19:58 +0200)]
Fix rebuilding clipboard markings if no items are marked
Matthias Schmidt [Mon, 22 Jun 2015 17:50:17 +0000 (19:50 +0200)]
Fix rebuilding clipboard editors
Matthias Schmidt [Mon, 22 Jun 2015 17:28:17 +0000 (19:28 +0200)]
Fix instanceof checks
Matthias Schmidt [Mon, 22 Jun 2015 17:13:03 +0000 (19:13 +0200)]
Fix AbstractObjectTextPropertyCondition::getData()
woltlab.com [Mon, 22 Jun 2015 16:51:52 +0000 (18:51 +0200)]
Updating minified JavaScript files
Marcel Werk [Mon, 22 Jun 2015 16:45:54 +0000 (18:45 +0200)]
Fixed auto-selection of parent categories on page load
Tim Düsterhus [Mon, 22 Jun 2015 16:34:57 +0000 (18:34 +0200)]
Merge branch 'master' into next
Marcel Werk [Mon, 22 Jun 2015 16:26:47 +0000 (18:26 +0200)]
Fixed broken language drop-down
Marcel Werk [Mon, 22 Jun 2015 16:08:15 +0000 (18:08 +0200)]
Fixed daily mail notifications
Marcel Werk [Sun, 21 Jun 2015 22:55:32 +0000 (00:55 +0200)]
Merge branch 'master' of github.com:WoltLab/WCF
Marcel Werk [Sun, 21 Jun 2015 22:55:18 +0000 (00:55 +0200)]
Fixed quote bbcode issue
Tim Düsterhus [Sun, 21 Jun 2015 19:23:07 +0000 (21:23 +0200)]
Allow passing an array to BackgroundQueueHandler::enqueue(At|In)
Tim Düsterhus [Sun, 21 Jun 2015 12:26:38 +0000 (14:26 +0200)]
Perform background tasks via AJAX request
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).
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)
Tim Düsterhus [Sun, 14 Jun 2015 16:25:23 +0000 (18:25 +0200)]
Add BackgroundQueueCleanUpCronjob
Tim Düsterhus [Mon, 8 Jun 2015 00:23:39 +0000 (02:23 +0200)]
Add BackgroundQueueHandler and AbstractBackgroundJob
Tim Düsterhus [Sun, 14 Jun 2015 13:21:50 +0000 (15:21 +0200)]
Properly support FOR UPDATE + LIMIT
Tim Düsterhus [Tue, 16 Jun 2015 23:33:54 +0000 (01:33 +0200)]
Fix output flushing in WCF::destruct()
woltlab.com [Sat, 20 Jun 2015 20:06:50 +0000 (22:06 +0200)]
Updating minified JavaScript files
Alexander Ebert [Sat, 20 Jun 2015 20:02:19 +0000 (22:02 +0200)]
Fixed direct insert of quotes when edit mode is active
Alexander Ebert [Sat, 20 Jun 2015 19:24:37 +0000 (21:24 +0200)]
Fixed default controller causing a redirect if it was renamed
Alexander Ebert [Sat, 20 Jun 2015 15:26:49 +0000 (17:26 +0200)]
`Number.isNaN()` is part of ES6 and not yet fully supported
Alexander Ebert [Sat, 20 Jun 2015 15:25:41 +0000 (17:25 +0200)]
Merge branch 'master' into next
woltlab.com [Sat, 20 Jun 2015 15:06:50 +0000 (17:06 +0200)]
Updating minified JavaScript files
Alexander Ebert [Sat, 20 Jun 2015 15:03:13 +0000 (17:03 +0200)]
Fixed regex for quotes being too greedy
woltlab.com [Sat, 20 Jun 2015 14:31:51 +0000 (16:31 +0200)]
Updating minified JavaScript files
Alexander Ebert [Sat, 20 Jun 2015 14:28:21 +0000 (16:28 +0200)]
Fixed handling of newlines in <td> with lists
Alexander Ebert [Sat, 20 Jun 2015 13:23:49 +0000 (15:23 +0200)]
Fixed empty <input> elements remaining after paste
Alexander Ebert [Sat, 20 Jun 2015 13:16:21 +0000 (15:16 +0200)]
Fixed backspace at quote start
Matthias Schmidt [Sat, 20 Jun 2015 13:09:17 +0000 (15:09 +0200)]
Move date picker initialization to Bootstrap.js
Alexander Ebert [Sat, 20 Jun 2015 12:25:55 +0000 (14:25 +0200)]
Merge branch 'next' of github.com:WoltLab/WCF into next
Alexander Ebert [Sat, 20 Jun 2015 12:25:45 +0000 (14:25 +0200)]
Added DatePicker to ACP
Matthias Schmidt [Sat, 20 Jun 2015 11:08:33 +0000 (13:08 +0200)]
Fix path to touchPunch file in ACP
Alexander Ebert [Sat, 20 Jun 2015 10:03:06 +0000 (12:03 +0200)]
Fixed two `Ajax` related issues in `UI/Dialog`
Alexander Ebert [Sat, 20 Jun 2015 09:38:56 +0000 (11:38 +0200)]
Overhauled user notification settings, unified CSS
Marcel Werk [Fri, 19 Jun 2015 17:18:56 +0000 (19:18 +0200)]
Removed obsolete code
Marcel Werk [Fri, 19 Jun 2015 17:18:35 +0000 (19:18 +0200)]
Fixed handling of additionalFields
Marcel Werk [Fri, 19 Jun 2015 13:13:50 +0000 (15:13 +0200)]
Fixed detection of internal links
Alexander Ebert [Thu, 18 Jun 2015 21:18:12 +0000 (23:18 +0200)]
Added {js} template function and reorganized some 3rdParty JS
Alexander Ebert [Thu, 18 Jun 2015 12:53:14 +0000 (14:53 +0200)]
Using new boolean type for options, unified phrase
Alexander Ebert [Thu, 18 Jun 2015 12:49:30 +0000 (14:49 +0200)]
Removed debug code
Alexander Ebert [Thu, 18 Jun 2015 11:35:30 +0000 (13:35 +0200)]
Fixed boolean user group option type
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.
Marcel Werk [Wed, 17 Jun 2015 16:14:34 +0000 (18:14 +0200)]
Fixed broken subscription end date
Alexander Ebert [Wed, 17 Jun 2015 16:00:32 +0000 (18:00 +0200)]
Added `WoltLab/WCF/Date/Picker` to replace `$.ui.datepicker`
Matthias Schmidt [Mon, 15 Jun 2015 18:43:34 +0000 (20:43 +0200)]
Fix code formatting
Matthias Schmidt [Mon, 15 Jun 2015 18:06:34 +0000 (20:06 +0200)]
Add missing 'abstract'
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.
woltlab.com [Sun, 14 Jun 2015 19:16:46 +0000 (21:16 +0200)]
Updating minified JavaScript files
Marcel Werk [Sun, 14 Jun 2015 19:11:31 +0000 (21:11 +0200)]
Fixed floating of images
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.
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
Stricted [Wed, 10 Jun 2015 17:07:09 +0000 (19:07 +0200)]
add Traits to codesniffer
Alexander Ebert [Tue, 9 Jun 2015 17:24:40 +0000 (19:24 +0200)]
Decreased font size for option suffix
Alexander Ebert [Tue, 9 Jun 2015 16:27:35 +0000 (18:27 +0200)]
Added some option suffixes
Alexander Ebert [Tue, 9 Jun 2015 15:11:16 +0000 (17:11 +0200)]
Added `WoltLab/WCF/Language/Input` (I18n) and input suffixes
Alexander Ebert [Mon, 8 Jun 2015 10:01:33 +0000 (12:01 +0200)]
Merge branch 'master' into next
Alexander Ebert [Mon, 8 Jun 2015 08:54:07 +0000 (10:54 +0200)]
Fixed redirect to landing page triggered on non-primary application
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.
Alexander Ebert [Sat, 6 Jun 2015 13:42:57 +0000 (15:42 +0200)]
Improved warn message if `Language.get()` encounters an unknown key