1
0
mirror of https://github.com/flarum/core.git synced 2025-08-26 09:34:59 +02:00
Commit Graph

8867 Commits

Author SHA1 Message Date
Toby Zerner
5b79abeea1 Require core v0.1.0-beta.5 2016-03-29 18:40:26 +10:30
Toby Zerner
15f177bdf7 Fix regression with full-screen composer being obscured by header/side pane
This is not ideal as dropdowns appear above the header, but it will probably be resolved when we redo the composer's full screen mode soon enough.
2016-03-29 18:24:23 +10:30
Toby Zerner
f925bd1274 v0.1.0-beta.5 2016-03-29 18:02:12 +10:30
Toby Zerner
d4fd71aaff Prevent unapproved discussions from dropping to the bottom of the discussion list 2016-03-29 17:53:07 +10:30
Toby Zerner
36cf744e2a Use more precise regex to prevent some translations being compiled unnecessarily 2016-03-29 17:31:13 +10:30
Franz Liedke
9c4059472d Merge pull request #69 from maelsoucaze/patch-1
Remove unnecessary double quotes
2016-03-28 15:03:23 +09:00
Maël Soucaze
9d9e032955 Remove unnecessary double quotes 2016-03-28 07:59:37 +02:00
Toby Zerner
7af9bd7c30 Improve wording
Thanks @maelsoucaze :)
2016-03-28 16:06:29 +10:30
Toby Zerner
a7cdad8574 Add specific error message for forgot password modal 2016-03-28 15:47:14 +10:30
Toby Zerner
ebde47fe3b Clean up unused code 2016-03-28 15:46:52 +10:30
Toby Zerner
bf003ebe0c Add specific error message when an email address is not found in forgot password modal 2016-03-28 15:46:20 +10:30
Toby Zerner
865238df81 Add logic to make sure post mention preview isn't hidden by header. closes flarum/core#316 2016-03-28 13:33:46 +10:30
Toby Zerner
b55983c09e Reconfigure z-index hierarchy: show dropdowns above post composer 2016-03-28 13:32:23 +10:30
Toby Zerner
534a96fb72 Fix checkbox/name/description alignment in tag discussion modal 2016-03-28 11:48:01 +10:30
Toby Zerner
5e207b1882 Tweak badge shadow radius 2016-03-28 10:25:47 +10:30
Toby Zerner
ed5baaf36d Prevent long forum title in mobile drawer from entering viewport 2016-03-28 10:23:58 +10:30
Toby Zerner
ee00920032 Fix search box overlapping forum title in some cases. closes #697
- Fix jank in shrinking animation when search box loses focus after overlapping forum title.
- Use solid colors instead of transparent whites/blacks for colored header controls so that search box isn't transparent when it does overlap forum title.
- This also simplifies colored header variables, making them more analogous to the non-colored header variables, and allowing for the removal of some conditional CSS in the notifications dropdown button.

Some more radical changes to header layout (flexbox?) may be made when we implement the new mobile design (#867), but for now this is an acceptable fix.
2016-03-28 10:23:49 +10:30
Franz Liedke
537725e89d Revert "Add a middleware for authentication with CGI wrap"
This reverts commit 63cf4a3d34.

This will now be dealt with at the Stratigility level.
2016-03-26 18:56:31 +09:00
Franz Liedke
63cf4a3d34 Add a middleware for authentication with CGI wrap
If the authorization header is stripped by CGI wrap,
the server can be configured to send the value along
in an environment variable. If the server admin sticks
to this convention, Flarum can now use this variable.

This is supposed to take care of #384.
2016-03-24 21:53:11 +09:00
Toby Zerner
07f38afc4d Tweak user email confirmation alert
- Make sure is_activated is serialized to a bool (otherwise "0" will evaluate to true)
- Remove "error" class from message so it's more friendly
- Make the alert more prominent by mounting it into a new div at the top of the page
- Add loading UX to the resend button
2016-03-23 22:17:42 +10:30
Toby Zerner
1cb6ebb51f Changes to user email confirmation translations
- Remove unused messages in log_in + sign_up
- Reuse core.ref.confirmation_email_sent
2016-03-23 22:15:19 +10:30
Franz Liedke
2ddfb11614 Make StyleCI happy 2016-03-23 19:56:24 +09:00
Franz Liedke
41cb9ea32e Make StyleCI happy 2016-03-23 19:54:04 +09:00
Franz Liedke
27d1036b90 Make StyleCI happy 2016-03-23 19:52:29 +09:00
Toby Zerner
d158131b5b Merge pull request #862 from sijad/confirm-msg
Show alert for unverified User
2016-03-23 21:19:02 +10:30
Toby Zerner
837c6da6fe Merge pull request #68 from sijad/confirm-msg
Add resend confirmation email strings
2016-03-23 21:18:51 +10:30
Sajjad Hasehmian
288b4b5f9a Add resend confirmation email strings 2016-03-23 01:06:31 +04:30
Sajjad Hasehmian
74e1b14177 Show alert for unverified User 2016-03-22 18:52:32 +04:30
Franz Liedke
701ea5ed26 info: Show commit hashes for Flarum core and extensions 2016-03-22 00:55:10 +09:00
Franz Liedke
0175eb490b info: Show loaded PHP extensions 2016-03-22 00:33:39 +09:00
Franz Liedke
a8c1641066 info: Show installation path 2016-03-22 00:29:58 +09:00
Franz Liedke
c90bc3a753 info: Show base URL 2016-03-22 00:28:02 +09:00
Franz Liedke
fb954a0e0d info: Print PHP version, too 2016-03-22 00:22:40 +09:00
Franz Liedke
77b9669bba Travis: Do not run PhpUnit through Composer
We need to run PhpUnit with xDebug enabled in order to collect
code coverage information. It is disabled for performance reasons,
though: https://github.com/travis-ci/travis-ci/issues/5780.
2016-03-21 23:12:09 +09:00
Franz Liedke
42902f18b1 Travis: Generate code coverage report when running tests 2016-03-21 20:21:51 +09:00
Toby Zerner
0c624f6c45 Oops, back to Mithril 0.2.3! 2016-03-21 21:25:00 +10:30
Toby Zerner
b62e25218a Merge pull request #844 from Luceos/codecov
added integration with codecov to track coverage of tests
2016-03-21 20:19:15 +10:30
Franz Liedke
e3ddb8149d Make console command descriptions consistent 2016-03-20 23:16:08 +09:00
Franz Liedke
f2997322b0 Get rid of some repetition 2016-03-20 23:15:26 +09:00
Franz Liedke
fba4d982ba Add first, basic version of info command
This will hopefully help in debugging some problems.
2016-03-20 23:12:20 +09:00
Franz Liedke
a6ecba220a Do not use model classes in the migrations
See 28f43f805c
2016-03-20 22:48:18 +09:00
Franz Liedke
95ea40a7c4 Do not use model classes in the migrations
The model classes encapsulate knowledge about the database that
may change. That knowledge may be table names, or the value of
constants (such as `Group::MEMBER_ID` in this case).

Models may even disappear after a while due to refactorings.

In all these cases, this migration would break. Thus, we use
Laravel's query builder features which makes building queries
almost as easy as using the model - but correct in all cases. :-)
2016-03-20 22:40:42 +09:00
Franz Liedke
e15653de1c Composer: Sort dependencies alphabetically 2016-03-20 22:27:43 +09:00
Franz Liedke
efb0e7e2b1 Update to latest version of text-formatter 2016-03-20 22:25:45 +09:00
Toby Zerner
42e1bd9e43 Merge pull request #882 from flarum/analysis-8PxnZR
Applied fixes from StyleCI
2016-03-20 20:37:03 +10:30
Toby Zerner
2c27b5c6d7 Applied fixes from StyleCI 2016-03-20 06:06:43 -04:00
Franz Liedke
68759bbc4a AbstractOAuth2Controller: Store provider and token in class properties
This way, they are available for subclasses to access them in one of
the template methods.

Refs #673.
2016-03-18 22:22:35 +09:00
Franz Liedke
f13956d94b Fix JSON serialization error on PHP 7
Closes #685.

Thanks to @sijad.
2016-03-18 21:11:54 +09:00
Toby Zerner
3a8b11e389 Extract sortMap variable
Also revert previous uncommitted change in dist file
2016-03-18 10:06:58 +10:30
Toby Zerner
3d49fc1315 Prevent users from being incorrectly able to delete their own discussions 2016-03-18 09:39:41 +10:30