Merge branch 'jquery-cookie-undefined' into 'nightly'
Updates jquery.cookie usage to match changes from v1.4.0
`$.cookie('name')` returns `undefined` instead of `null` when cookie is not present.
This fixes a problem where the browser was never asking for location,
and the JSON.parse call was throwing an exception when the geolocation
cookie wasn't present.
Deleting a cookie should use `$.removeCookie('name')` instead of `$.cookie('name', null)`.
During Debian packaging I noticed that executable permissions on several files are incorrect. In the fist case files such as .gitignore, .png, .ico were wrongly set as executable. In the second case, files that are meant to be running on the command line such as maintenance scripts starting with "#!/usr/bin/env php" do not have executable permissions. These files were identified by lintian automatic checking program. This merge request aims to fix the problem.
Lots of these changes mean that we're requiring certain values to
either by typed properly or return the expected value. If it doesn't
there should be a fatal exception thrown which we can followup in the
logs and won't go silently suppressed.
Chimo [Sat, 20 Jun 2015 23:26:45 +0000 (19:26 -0400)]
jquery-cookie returns `undefined` as of 1.4.0
when a cookie isn't set.
This fixes a problem where the browser was never asking for location,
and the JSON.parse call was throwing an exception when the geolocation cookie wasn't
present.
mmn [Sat, 20 Jun 2015 22:49:31 +0000 (22:49 +0000)]
Merge branch 'plugins-documentation' into 'nightly'
Plugins documentation
* Bring content from https://web.archive.org/web/20140821102047/http://status.net/wiki/HOWTO_Make_a_Plugin
* Point link on Plugins Admin Panel page to plugins/README.md ( Ref #53 )
* Add link to "Community Plugins"
mmn [Sat, 20 Jun 2015 22:48:31 +0000 (22:48 +0000)]
Merge branch 'drop_corporate_text' into 'nightly'
Drop corporate text plus minor rewording
Following [this discussion](https://gnusocial.no/conversation/190441#notice-190441) I only fixed corporate-only occurrences. I suggest People instead of User directory. Moreover I fixed a minor inconsistency (Trends should be preferred to Trending topics).
The full locale folder should be fixed once we have digitaldreamer's feedback. But we can at least start from this.
mmn [Sat, 6 Jun 2015 21:14:50 +0000 (21:14 +0000)]
Merge branch 'subscribers_as_addressees' into 'nightly'
Add subscribers as addressees to toselector
Populate the dropdown recipient menu first with groups, then with followed users. There is no alphabetical sorting (perhaps to be added later?). See this discussion https://gnusocial.no/conversation/190705#notice-190705. Thanks to @chimo.
mmn [Sat, 6 Jun 2015 10:26:43 +0000 (10:26 +0000)]
Merge branch 'tagprofile-ajax-fix' into 'nightly'
Only serve tagprofile HTML if we aren't POSTing via ajax
This fixes an issue where POSTing the selftag form in the
profile_block sidebar via AJAX would generate an XML response
containing both the content from doPost() and showPage(),
resulting in invalid XML.
These changes make it so that if we're POSTing via AJAX,
we serve content from doPost(), otherwise we serve showPage()
but never both.
Chimo [Sat, 6 Jun 2015 04:22:14 +0000 (00:22 -0400)]
Only serve tagprofile HTML if we aren't POSTing via ajax
This fixes an issue where POSTing the selftag form in the
profile_block sidebar via AJAX would generate an XML response
containing both the content from doPost() and showPage(),
resulting in invalid XML.
These changes make it so that if we're POSTing via AJAX,
we serve content from doPost(), otherwise we serve showPage()
but never both.
mmn [Fri, 5 Jun 2015 22:38:13 +0000 (22:38 +0000)]
Merge branch 'threaded_replies_nightly' into 'nightly'
Fix threaded replies floating
Following Marcus fixes for neo-quitter, I think the floating of replies should be fixed directly in the base theme. What do you think? This issue affects all derived themes (although sometimes only marginally) see https://gnusocial.no/conversation/126588.
These commits implement some of Marcus floating fixes directly in base plus the fav, reply icons are better aligned with the permalink and timestamp (notice-options change).