Commit Graph

2111 Commits

Author SHA1 Message Date
Franz Liedke
891d0990be Remove unnecessary method call
This is already the default value in the base SetCookie class.
2016-12-29 11:17:27 +01:00
Franz Liedke
817c2dda0e Make StyleCI happy 2016-12-29 11:07:23 +01:00
Franz Liedke
e558187a72 Clean up and document code 2016-12-28 23:01:49 +01:00
Franz Liedke
4c66759c40 Remove unnecessary parameters 2016-12-28 23:01:27 +01:00
Toby Zerner
27b9c169fa Merge pull request #1092 from sijad/cookie-helper
Add cookie helper
2016-12-22 20:30:46 +10:30
Sajjad Hashemian
b6e2e66d38 Add cookie factory 2016-12-22 12:00:56 +03:30
Toby Zerner
6e95c01bcd Merge pull request #1085 from krnch/krnch-patch-2
Cookies set with Secure flag in HTTPS mode #1084
2016-12-11 18:16:04 +10:30
karan
c3c1bf27f2 Update StartSession.php 2016-12-10 02:46:07 -05:00
Sajjad Hashemian
01051c1708 Remember checkbox (#1075)
* Add session option to Rememberer class

* Update session login function to allow send additional data

* Add Remember me checkbox

* Cleanup login modal
2016-11-29 18:02:12 +10:30
Toby Zerner
a77499ee0e Merge pull request #1049 from JoshyPHP/TextFormatter-0.8.0
Updated s9e\TextFormatter to 0.8.1
2016-11-29 16:36:10 +10:30
Toby Zerner
d248e8abf7 Add punycode. ref #1049 2016-11-29 16:35:45 +10:30
Toby Zerner
46193c95d2 Merge pull request #1077 from flarum/analysis-Xan0ZZ
Apply fixes from StyleCI
2016-11-29 15:46:14 +10:30
Toby Zerner
f520f436ea Apply fixes from StyleCI
[ci skip] [skip ci]
2016-11-29 05:03:53 +00:00
Toby Zerner
d87583d0ef Allow accessing the session via the actor
This is a bit sloppy (might come up with a better solution yet), but since most events provide access to the actor but not the request, this was the easiest/quickest way to allow extensions to access the session.
2016-11-28 11:45:55 +10:30
Toby Zerner
caed5392bd Don't rely on a successful forum API call to enable debug mode 2016-11-28 11:45:55 +10:30
Toby Zerner
39adb0f223 Support module prefixing of locale resources
In preparation for upcoming changes, allow locale resources to have a module prefix added when they are loaded from a file.
2016-11-28 11:45:55 +10:30
Toby Zerner
e84dd3fee3 Eager load discussion relationships
Since extensions may add nested includes, we need to make sure they are eager-loaded to avoid excessive queries. For example, when the tags extension adds "tags" and "tags.state".
2016-11-28 11:45:55 +10:30
Toby Zerner
bc557299b2 Add specific message for username validation 2016-11-28 11:45:55 +10:30
Toby Zerner
b010b0b486 Merge pull request #1074 from datitisev/specify-text-inputs-type
Added search input types to 3 inputs total, closes #726
2016-11-28 11:13:39 +10:30
David Sevilla Martin
2880f17983 Added search input types to 3 inputs total, closes #726
* Added type search to search bar (forum)
* Added CSS `box-sizing: inherit` to search <input> because bootstrap styles mess up the search box
* Added type color to both color settings in appearance (admin)
2016-11-27 19:39:47 -05:00
Toby Zerner
1c8f4d0717 Update StyleCI rules 2016-11-16 15:47:12 +10:30
Toby Zerner
e31455769c Make reset password form look slightly nicer
(Still needs a proper makeover!)
2016-11-13 09:01:38 +10:30
Toby Zerner
5fcc504557 Prevent notice if bootstrapping app in command line environment 2016-11-13 08:57:39 +10:30
Toby Zerner
327949495d Improve password reset validation/error handling 2016-11-13 08:51:38 +10:30
Toby Zerner
28999bfed7 Merge pull request #1066 from Luceos/patch-1
Update composer.json
2016-11-12 12:44:07 +10:30
Daniël Klabbers
698dad63f5 Update composer.json
fixes #1065 , this is a temporary fix until compatibility with 1.3.0 is guaranteed by refactoring
2016-11-12 01:20:10 +01:00
Toby Zerner
9f9821d554 Merge pull request #1063 from sijad/default-export
Fix syntax errors when compiling js files
2016-11-08 08:03:26 +10:30
Sajjad Hashemian
629bf0f030 Fix syntax errors when compiling js files 2016-11-08 00:32:44 +03:30
Toby Zerner
c33dd73f5c Make getApp available to the public 2016-11-07 21:23:31 +10:30
Toby Zerner
033e4d0ba0 Add missing parameter 2016-11-07 18:22:20 +10:30
Toby Zerner
7b86f412f7 Add event to allow custom user password validation 2016-11-07 18:03:49 +10:30
Toby Zerner
a32cb1fede v0.1.0-beta.6 2016-10-19 21:11:30 +10:30
JoshyPHP
8e9531178d Updated s9e\TextFormatter to 0.8.1 2016-10-10 01:58:40 +02:00
Daniël Klabbers
06dcea6f5a remove unnecessary gitignore 2016-10-08 13:03:10 +02:00
Franz Liedke
1021c0aaeb Merge pull request #1046 from sijad/remove-extension-generate
Remove extension generator
2016-10-06 00:29:02 +02:00
Sajjad Hashemian
e42b74a0bc Remove extension generator 2016-10-04 23:26:03 +03:30
Daniël Klabbers
d49589806b issue template (#1028) 2016-09-24 17:09:09 +02:00
Toby Zerner
14ee7614ac Remove duplicated code 2016-09-03 23:14:17 +09:30
Toby Zerner
109782154c Prevent page zoom on input focus in iOS 10. fixes flarum/core#1023 2016-09-03 23:12:59 +09:30
Sheldon Fernandes
ed0691a071 Automatically focus on composer textarea on iOS. closes flarum/core#995 2016-09-03 23:11:56 +09:30
Toby Zerner
9059b7ad79 Fix locale JS files not being added; add (temporary?) API to add locale CSS files
fixes flarum/core#970
2016-09-03 22:22:36 +09:30
Toby Zerner
7a7649ec7f Extract new method to filter a list of post IDs by visibility 2016-09-03 21:46:22 +09:30
Toby Zerner
46f3c13947 Add missing property declaration 2016-09-03 21:45:45 +09:30
Toby Zerner
f07abda4e6 Make search dropdown filtering case-insensitive. closes flarum/core#961 2016-08-28 00:00:20 +09:30
Toby Zerner
ddfc41c6f7 Disallow svg images to be erroneously uploaded
Laravel's `image` validation rule allows svg files to pass validation, but we can't handle svgs so it would result in an unspecified 500 error which isn't nice.
2016-08-27 23:54:18 +09:30
Toby Zerner
b7586e819b Remove temporary file after avatar upload failure. closes flarum/core#999 2016-08-27 23:53:02 +09:30
Toby Zerner
883e1188b4 Fix post header items sometimes getting out of order. closes flarum/core#975
Interesting bug. Turns out that the JSX for the post header item list was producing m('ul', null, [children]), as you would expect. But Mithril 0.1.x interprets the null as another child rather than an attributes splat. This results in an empty text node being added to the DOM, which mucks up Mithril's diffing algorithm when it tries to add/move the items that we provide in the children array. The workaround is to not use JSX so we can get rid of that null/empty text node. This behaviour has been fixed in Mithril 1.0 so we will be able to remove the workaround.
2016-08-27 23:41:54 +09:30
Toby Zerner
c80eb02c51 Update bower deps 2016-08-27 23:37:16 +09:30
Toby Zerner
cf7e132a8a Avoid JSX to workaround Mithril 0.1.x weirdness. closes flarum/core#975 2016-08-27 23:33:34 +09:30
Toby Zerner
cef645c71e Merge pull request #1011 from zcodes/master
Fixed fontawesome relative path
2016-07-30 16:08:46 +10:00