Franz Liedke
68215b4e0f
Make linter happy
2015-09-29 01:31:09 +02:00
Franz Liedke
16992aa1fb
Sync notification count when clicking on them or marking all as read
...
Refs #500 .
2015-09-29 01:28:47 +02:00
Franz Liedke
66d4e51a18
Use correct method for notification drawer on mobile
...
Refs #500 .
2015-09-29 01:28:47 +02:00
Franz Liedke
0bef17149c
Return both unread and new notification count from the API
...
Related to #500 .
2015-09-29 01:28:47 +02:00
Franz Liedke
e4b90296bc
Merge pull request #554 from kirkbushell/feature/admin-tests
...
Admin tests
2015-09-29 00:59:09 +02:00
Franz Liedke
a436bef93c
Implement third state for notification list dropdown
...
Related to #500 .
2015-09-29 00:50:28 +02:00
kirkbushell
9198e96385
Added tests for admin login/cookie checks
2015-09-28 16:02:37 +01:00
kirkbushell
a4c61efee2
Added zend-stragility (missing), removed some redundant code.
2015-09-28 15:59:07 +01:00
Franz Liedke
da4dad3bb8
Merge pull request #553 from kirkbushell/feature/settings-tests
...
Tests for core settings code
2015-09-28 16:47:04 +02:00
kirkbushell
374e9f09e4
Moved psr-4 loading for tests out of the autoload
2015-09-28 15:44:35 +01:00
kirkbushell
a388fe7883
Added some tests for the database setting repository
2015-09-28 15:34:32 +01:00
kirkbushell
b93d5570d0
Removed phpsec as the testing library, added phpunit and converted the first spec test to phpunit format. Also added mockery.
2015-09-28 15:09:13 +01:00
Toby Zerner
5136eaf497
Merge pull request #6 from maelsoucaze/standardization
...
Standardization
2015-09-26 08:50:53 +09:30
Toby Zerner
a642181230
Merge pull request #5 from maelsoucaze/gitkeep-removal
...
Remove the unecessary .gitkeep
2015-09-26 08:50:27 +09:30
Toby Zerner
18713e8dba
Merge pull request #4 from maelsoucaze/fontawesome-icon
...
Change the Font Awesome icon
2015-09-26 08:50:12 +09:30
Toby Zerner
994d4f5997
Merge pull request #3 from maelsoucaze/license
...
Add a LICENSE file
2015-09-26 08:49:22 +09:30
Maël Soucaze
7048909284
Ignore junks files to be added
...
It includes common OS junk files, some common backup and log files and
ensure that .git is ignored.
2015-09-25 17:43:47 +02:00
Maël Soucaze
cd02134e09
Normalize line endings and export-ignore
...
Ensure to normalize line endings to Unix (LF) and exclude some extra
files which are uncessary to the extension itself when exporting an
archive.
2015-09-25 17:42:09 +02:00
Maël Soucaze
17375aafa1
Add .editorconfig for consistent coding styles
2015-09-25 17:39:33 +02:00
Maël Soucaze
c7b3dd9d6b
Remove the unecessary .gitkeep
...
The ".gitkeep" file is unecessary because the "locale/" subdirectory is
now correctly tracked by Git due to its content.
2015-09-25 17:33:07 +02:00
Maël Soucaze
3b86c486b5
Change the Font Awesome icon
...
The "language" icon is better and more specific by default than the
"globe" icon, which can be used on many non-language extensions.
2015-09-25 17:28:14 +02:00
Maël Soucaze
2b55cfc78f
Add a LICENSE file
...
Because the skeleton is using the MIT License, we should add the LICENSE
file. It will prevent translators to release the language extension
without a LICENSE file (MIT or not, they will be able to change that
file accoring to their choosen license). This will be explained in the
future L10n documentation.
2015-09-25 17:22:19 +02:00
Toby Zerner
9b51edc939
Prevent infinite redraw loop in IE
...
Welp, this is probably the most subtle bug I've ever tracked down and fixed.
Turns out that IE has this bug where the "oninput" event will be triggered whenever the "placeholder" attribute is changed. Most placeholders get their value from app.trans. The app.trans method returns a VirtualElement – which is an array, not a string! That means when Mithril's diffing algorithm was comparing the old value to the new value, it was comparing two different array instances, and thus deciding the value was dirty and the placeholder attribute needed to be updated. Due to the IE bug, that was leading to the "oninput" event being triggered... and then through Mithril's auto-redraw mechanism, a redraw would be triggered, and so the cycle continued.
Since the inputs in the LogInModal (among others) only update the component state on the "onchange" event (i.e. when the input loses focus), the intermittent redraws would cause the input's value to be cleared continuously. That's what was causing #464 . Could've been easily and superficially patched by changing them to use "oninput" events, but luckily I dived a little deeper!
Glad that's over. Running IE11's buggy dev tools in an underpowered VM isn't fun. Would not recommend.
closes #464
2015-09-25 23:44:15 +09:30
Toby Zerner
9347d79913
Prevent empty beforeunload dialog on Internet Explorer
2015-09-25 23:21:10 +09:30
Toby Zerner
5d9d04d2ab
Add license
2015-09-25 16:15:31 +09:30
Toby Zerner
d76e27559e
Add license
2015-09-25 16:15:23 +09:30
Toby Zerner
e65536cdf8
Extract English translations into a language pack
...
To make this work, we add support for the client working without any locale.
Also fixes #412 .
2015-09-25 16:12:09 +09:30
Toby Zerner
38919ac72f
Merge pull request #1 from Petrouchka/patch-1
...
Update README.md
2015-09-25 16:07:51 +09:30
Petrouchka
b64f19332b
Update README.md
2015-09-25 08:35:08 +02:00
Toby Zerner
7889b15f09
Allow extensions to return a callback instead of a provider name
...
This is useful for very simple extensions like language packs, because it means no Composer/namespacing and thus bootstrap.php doesn't have to be changed at all.
2015-09-25 16:05:01 +09:30
Toby Zerner
3d709b73d0
Initial commit
2015-09-25 15:37:00 +09:30
Toby Zerner
575ff76002
Condense discussion list last reply icons
2015-09-25 13:55:32 +09:30
Toby Zerner
c2c1461fdc
Merge pull request #545 from dcsjapan/dashboard-update-retry
...
Revises the dashboard links to emphasize beta testing procedure.
2015-09-25 13:27:57 +09:30
dcsjapan
f7c7f96300
Revises the dashboard links to emphasize beta testing procedure.
...
Closes flarum/core#542
- Includes a disclaimer stating that the software is provided mainly
for testing.
- Directs bug reports to the Support tag in the forums instead of the
issue tracker
- Directs feedback to the Features tag in the forums
2015-09-25 12:55:13 +09:00
Franz Liedke
136a07361f
Change name of header for faking HTTP methods
...
Refs #502 .
2015-09-25 00:35:57 +02:00
Franz Liedke
dfef23e50c
Implement middleware for faking HTTP methods
...
Refs #502 .
2015-09-25 00:31:31 +02:00
Daniel Klabbers
b9a63c48d6
heavier validation for username
2015-09-24 23:07:30 +02:00
Franz Liedke
8e7b056b84
Clean up unused variable
...
Closes #501 .
2015-09-24 16:27:00 +02:00
Toby Zerner
f820a62ec9
Remove core key reorganization comments
2015-09-24 14:22:32 +09:30
Toby Zerner
15a3b46a1e
Revert to "go to email provider" button
2015-09-24 14:22:14 +09:30
Toby Zerner
0330c4088d
Indent block comments
2015-09-24 14:20:45 +09:30
Toby Zerner
79caf5b473
Add comments about intentional spaces
2015-09-24 14:20:37 +09:30
Toby Zerner
840461499f
Temporary solution to resolve translation references
...
Just implemented this roughly so I can keep working :D /cc @franzliedke
2015-09-24 09:27:47 +09:30
Toby Zerner
5cce4b2be7
Update discussion list "last reply" translations
2015-09-24 09:07:46 +09:30
Toby Zerner
a60a441598
Compile all core translations for now
...
May need to be specific again once we have admin translations, or it
may be better to just put admin translations under a different
namespace...
2015-09-24 09:06:44 +09:30
Toby Zerner
69388f4101
Add "last reply" icon to discussion list
2015-09-24 09:05:52 +09:30
Toby Zerner
579fe64e90
Merge pull request #536 from dcsjapan/core-key-reorganization
...
Core key reorganization
2015-09-24 08:59:16 +09:30
Toby Zerner
b9e2f8e660
Fix slug unique rule
2015-09-24 08:45:53 +09:30
Toby Zerner
048f4b304c
Merge pull request #21 from Luceos/slug_validation
...
added slug validation
2015-09-24 08:42:31 +09:30
Toby Zerner
733f619986
Fix is:unread gambit
...
closes #485
2015-09-24 08:31:56 +09:30