]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
9 years agoProfile::current() suits better here.
Roland Haeder [Fri, 27 Mar 2015 22:00:21 +0000 (23:00 +0100)]
Profile::current() suits better here.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoAdded debug lines, the first attempt didn't work and I have *no* development system...
Roland Haeder [Fri, 27 Mar 2015 21:07:51 +0000 (22:07 +0100)]
Added debug lines, the first attempt didn't work and I have *no* development system now. :-(

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoCheck scope, else a privacy leaks happens this way:
Roland Haeder [Fri, 27 Mar 2015 20:55:45 +0000 (21:55 +0100)]
Check scope, else a privacy leaks happens this way:

1) Bob and Alice follow each other and write private notices
   (this->scope=2) to each other.
2) Bob uses tags in his private notice to alice (which she can
   read from him).
3) Alice adds that notice (with tags) to her favorites
   ("faving") it.
4) The tags from Bob's private notice becomes visible in Alice's
   profile.

This has the simple background that the scope is not being
re-checked. This has to be done here at this point because given
above scenario is a privacy leak as the tags may be *really*
private (nobody else shall see them) such as initmate words or
very political words.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMerge branch 'master' into social-master
Roland Haeder [Tue, 10 Mar 2015 23:19:35 +0000 (00:19 +0100)]
Merge branch 'master' into social-master

9 years agoMerge branch 'master' of gitorious.org:social/mainline
Roland Haeder [Tue, 10 Mar 2015 23:18:33 +0000 (00:18 +0100)]
Merge branch 'master' of gitorious.org:social/mainline

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMerge branch 'master' into social-master
Roland Haeder [Tue, 10 Mar 2015 17:36:57 +0000 (18:36 +0100)]
Merge branch 'master' into social-master

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoAdded checked type-hints
Roland Haeder [Tue, 10 Mar 2015 17:31:46 +0000 (18:31 +0100)]
Added checked type-hints

Signed-off-by: Roland Haeder <roland@mxchange.org>
Conflicts:
classes/Notice.php

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMerge branch 'master' into social-master
Roland Haeder [Tue, 10 Mar 2015 02:21:23 +0000 (03:21 +0100)]
Merge branch 'master' into social-master

The conflict was difference at default value (null versus better array() ).

Conflicts:
lib/docfile.php

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoAdded basic language support for sending out invitations:
Roland Haeder [Tue, 10 Mar 2015 02:11:53 +0000 (03:11 +0100)]
Added basic language support for sending out invitations:
- This allows for example sending German mails from an English instance
- Added some checked type-hints (all around language stuff)

Some code improvement:
- array $foo=null and then an is_null($foo) makes no sense,
  better use array $foo=array() directly.
- onTitle()'s parameter $paths now always must be an array

Signed-off-by: Roland Haeder <roland@mxchange.org>
This conflict was because 'master' has StatusNet as class, but 'nigtly' already
has GNUSocial as class name.

Conflicts:
lib/docfile.php

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMerge commit 'refs/merge-requests/56' of https://gitorious.org/social/mainline into...
Mikael Nordfeldth [Mon, 9 Mar 2015 09:39:27 +0000 (10:39 +0100)]
Merge commit 'refs/merge-requests/56' of https://gitorious.org/social/mainline into merge-requests/56

9 years agoMerge branch 'master' into social-master
Roland Haeder [Mon, 9 Mar 2015 00:41:37 +0000 (01:41 +0100)]
Merge branch 'master' into social-master

9 years ago'checked' must be false because else the browser won't send any location and it is...
Roland Haeder [Mon, 9 Mar 2015 00:40:44 +0000 (01:40 +0100)]
'checked' must be false because else the browser won't send any location and it is better for privacy ... :-)

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMerge branch 'master' into social-master
Roland Haeder [Mon, 9 Mar 2015 00:19:44 +0000 (01:19 +0100)]
Merge branch 'master' into social-master

9 years agoonEndInitializeQueueManager expects a QueueManager object, so let's set it here.
Roland Haeder [Mon, 9 Mar 2015 00:18:34 +0000 (01:18 +0100)]
onEndInitializeQueueManager expects a QueueManager object, so let's set it here.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMerge branch 'master' into social-master
Roland Haeder [Sun, 8 Mar 2015 23:58:38 +0000 (00:58 +0100)]
Merge branch 'master' into social-master

9 years agoonArgsInitialize() wants an array and many plugins want to add more elements, so...
Roland Haeder [Sun, 8 Mar 2015 23:55:35 +0000 (00:55 +0100)]
onArgsInitialize() wants an array and many plugins want to add more elements, so make it everywhere the same.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoTruely it is!
Roland Haeder [Sun, 8 Mar 2015 23:44:56 +0000 (00:44 +0100)]
Truely it is!

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMerge branch 'master' into social-master
Roland Haeder [Sun, 8 Mar 2015 23:38:02 +0000 (00:38 +0100)]
Merge branch 'master' into social-master

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoAdded more checked type-hints.
Roland Haeder [Sun, 8 Mar 2015 23:34:40 +0000 (00:34 +0100)]
Added more checked type-hints.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoAdded more checked type-hints.
Roland Haeder [Sun, 8 Mar 2015 23:34:40 +0000 (00:34 +0100)]
Added more checked type-hints.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoSnapshot of the Transifex translation project - February 2015
digital dreamer [Sun, 8 Mar 2015 08:34:38 +0000 (09:34 +0100)]
Snapshot of the Transifex translation project - February 2015

9 years agoMerge branch 'master' into social-master
Roland Haeder [Fri, 6 Mar 2015 23:41:01 +0000 (00:41 +0100)]
Merge branch 'master' into social-master

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agorand() is weak on some OSes as it only produces random numbers from -32766 to
Roland Haeder [Fri, 6 Mar 2015 23:36:49 +0000 (00:36 +0100)]
rand() is weak on some OSes as it only produces random numbers from -32766 to
32766. So let's get rid of it all together and use mt_rand() (which produces
*way* larger numbers on *all* systems).

Signed-off-by: Roland Haeder <roland@mxchange.org>
Conflicts:
lib/noticeform.php

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMerge branch 'master' into social-master
Roland Haeder [Thu, 5 Mar 2015 22:50:51 +0000 (23:50 +0100)]
Merge branch 'master' into social-master

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMake attachment fit better in notice: drop text and link
aroquen [Thu, 5 Mar 2015 21:19:57 +0000 (22:19 +0100)]
Make attachment fit better in notice: drop text and link

9 years agoAdded more checked type-hints
Roland Haeder [Thu, 5 Mar 2015 18:18:38 +0000 (19:18 +0100)]
Added more checked type-hints

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMerge branch 'master' into social-master
Roland Haeder [Thu, 5 Mar 2015 17:46:50 +0000 (18:46 +0100)]
Merge branch 'master' into social-master

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years ago$related must contain class names, no table names ("all" lower-case) + fixed some...
Roland Haeder [Thu, 5 Mar 2015 17:43:57 +0000 (18:43 +0100)]
$related must contain class names, no table names ("all" lower-case) + fixed some checked type-hints.

Again, it must be User_flag_profile (class name), not user_flag_profile (table name).

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMerge branch 'master' into social-master
Roland Haeder [Wed, 4 Mar 2015 13:52:59 +0000 (14:52 +0100)]
Merge branch 'master' into social-master

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMerge branch 'master' of gitorious.org:social/mainline
Roland Haeder [Wed, 4 Mar 2015 13:52:41 +0000 (14:52 +0100)]
Merge branch 'master' of gitorious.org:social/mainline

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoAdded some checked (I checked them) type-hints to improve type-safety (typing mistakes).
Roland Haeder [Sun, 1 Mar 2015 17:34:46 +0000 (18:34 +0100)]
Added some checked (I checked them) type-hints to improve type-safety (typing mistakes).

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoBug tracker link updated.
Mikael Nordfeldth [Sun, 1 Mar 2015 15:48:01 +0000 (16:48 +0100)]
Bug tracker link updated.

9 years agoMerge branch 'master' of gitorious.org:social/mainline into social-master
Roland Haeder [Fri, 27 Feb 2015 15:55:43 +0000 (16:55 +0100)]
Merge branch 'master' of gitorious.org:social/mainline into social-master

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoFixed parser error as the braces pair was missing.
Roland Haeder [Fri, 27 Feb 2015 15:53:11 +0000 (16:53 +0100)]
Fixed parser error as the braces pair was missing.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years ago1.1.3 not 1.1.3 beta3
Mikael Nordfeldth [Fri, 27 Feb 2015 09:15:23 +0000 (10:15 +0100)]
1.1.3 not 1.1.3 beta3

9 years agoI hereby dub thee 1.1.3 - The Spanish Invasion
Mikael Nordfeldth [Fri, 27 Feb 2015 08:58:38 +0000 (09:58 +0100)]
I hereby dub thee 1.1.3 - The Spanish Invasion

9 years agoPass Profile to asAtomEntry
Mikael Nordfeldth [Fri, 27 Feb 2015 08:57:49 +0000 (09:57 +0100)]
Pass Profile to asAtomEntry

9 years agoFixed 2 parser errors.
Roland Haeder [Wed, 25 Feb 2015 13:30:11 +0000 (14:30 +0100)]
Fixed 2 parser errors.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoChanged thumbnail-only chmod to attachment-general chmod as recommended by mmn.
Roland Haeder [Mon, 23 Feb 2015 20:21:53 +0000 (21:21 +0100)]
Changed thumbnail-only chmod to attachment-general chmod as recommended by mmn.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoGenerally applying 0644 on all thumbnail images is maybe not what all people
Roland Haeder [Mon, 23 Feb 2015 18:57:00 +0000 (19:57 +0100)]
Generally applying 0644 on all thumbnail images is maybe not what all people
like, so better make it configurable.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMINOR: Please don't set a+x on files which are not being executed as shell script...
Roland Haeder [Thu, 19 Feb 2015 11:15:07 +0000 (12:15 +0100)]
MINOR: Please don't set a+x on files which are not being executed as shell script by the server.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMerge branch 'master' into social-master
Roland Haeder [Sun, 15 Feb 2015 21:46:00 +0000 (22:46 +0100)]
Merge branch 'master' into social-master

Conflicts:
classes/File.php
plugins/Recaptcha/RecaptchaPlugin.php
plugins/UserLimit/UserLimitPlugin.php

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoFixed more type-hints for safety.
Roland Haeder [Sun, 15 Feb 2015 21:43:20 +0000 (22:43 +0100)]
Fixed more type-hints for safety.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMerge remote-tracking branch 'upstream/master'
Roland Haeder [Sun, 15 Feb 2015 20:47:26 +0000 (21:47 +0100)]
Merge remote-tracking branch 'upstream/master'

Conflicts:
actions/apiaccountverifycredentials.php
actions/apimediaupload.php
actions/apistatusesshow.php
actions/apitimelinepublic.php
actions/logout.php
actions/public.php
actions/register.php
lib/inboxnoticestream.php
plugins/Favorite/actions/apifavoritecreate.php
plugins/OStatus/actions/pushhub.php
plugins/OStatus/classes/Ostatus_profile.php
plugins/OStatus/scripts/update_ostatus_profiles.php
plugins/OpportunisticQM/lib/opportunisticqueuemanager.php
plugins/YammerImport/lib/yammerimporter.php
scripts/commandline.inc.php

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoCSS to align the notice footer (thanks fnadde42)
Mikael Nordfeldth [Fri, 13 Feb 2015 11:10:25 +0000 (12:10 +0100)]
CSS to align the notice footer (thanks fnadde42)

9 years agoUpdated README.md and framework.php
Mikael Nordfeldth [Fri, 13 Feb 2015 11:08:54 +0000 (12:08 +0100)]
Updated README.md and framework.php

9 years agoDeja vu of user->getProfile() from 4f9b70d
Mikael Nordfeldth [Fri, 13 Feb 2015 10:55:37 +0000 (11:55 +0100)]
Deja vu of user->getProfile() from 4f9b70d

9 years agoDirectMessages backed up properly for UAS
Mikael Nordfeldth [Fri, 13 Feb 2015 10:54:15 +0000 (11:54 +0100)]
DirectMessages backed up properly for UAS

9 years agoFaves backed up properly to UAS
Mikael Nordfeldth [Fri, 13 Feb 2015 10:52:29 +0000 (11:52 +0100)]
Faves backed up properly to UAS

9 years agoProfile expected in Notice::asActivity from UAS
Mikael Nordfeldth [Fri, 13 Feb 2015 10:41:21 +0000 (11:41 +0100)]
Profile expected in Notice::asActivity from UAS

9 years agoUAS protected property user solved with getUser()
Mikael Nordfeldth [Fri, 13 Feb 2015 10:39:50 +0000 (11:39 +0100)]
UAS protected property user solved with getUser()

9 years agoEndSetApiUser will always contain a User
Mikael Nordfeldth [Fri, 13 Feb 2015 00:19:59 +0000 (01:19 +0100)]
EndSetApiUser will always contain a User

9 years agoextlib Michelf\Markdown updated 1.4.0 to 1.4.1
Mikael Nordfeldth [Thu, 12 Feb 2015 21:45:08 +0000 (22:45 +0100)]
extlib Michelf\Markdown updated 1.4.0 to 1.4.1

9 years agoDB_DataObject updated to 1.11.3
Mikael Nordfeldth [Thu, 12 Feb 2015 21:17:02 +0000 (22:17 +0100)]
DB_DataObject updated to 1.11.3

9 years agoDB updated to 1.8.2
Mikael Nordfeldth [Thu, 12 Feb 2015 21:00:50 +0000 (22:00 +0100)]
DB updated to 1.8.2

9 years agohtmLawed extlib updated from 1.1.16 to 1.1.19
Mikael Nordfeldth [Thu, 12 Feb 2015 20:50:21 +0000 (21:50 +0100)]
htmLawed extlib updated from 1.1.16 to 1.1.19

9 years agoschemaDef coding style fixes
Mikael Nordfeldth [Thu, 12 Feb 2015 16:45:02 +0000 (17:45 +0100)]
schemaDef coding style fixes

9 years agoMissing uri property of QnA_Answer class
Mikael Nordfeldth [Thu, 12 Feb 2015 16:44:05 +0000 (17:44 +0100)]
Missing uri property of QnA_Answer class

9 years agoAdded note on socialfying for HTTPS sites.
Mikael Nordfeldth [Thu, 12 Feb 2015 10:08:08 +0000 (11:08 +0100)]
Added note on socialfying for HTTPS sites.

9 years agoMerge commit 'refs/merge-requests/43' of https://gitorious.org/social/mainline into...
Mikael Nordfeldth [Thu, 12 Feb 2015 10:03:39 +0000 (11:03 +0100)]
Merge commit 'refs/merge-requests/43' of https://gitorious.org/social/mainline into merge-requests/43

9 years agoClarify in INSTALL that MySQL must be 5.5+
Mikael Nordfeldth [Thu, 12 Feb 2015 09:41:43 +0000 (10:41 +0100)]
Clarify in INSTALL that MySQL must be 5.5+

lib/installer.php already said that when installing.

9 years agoDeleting redundant file.
Adam Moore [Wed, 11 Feb 2015 00:49:44 +0000 (16:49 -0800)]
Deleting redundant file.

9 years agoWebfinger instructions were incomplete/erroneous -- now they are not.
Adam Moore [Wed, 11 Feb 2015 00:36:32 +0000 (16:36 -0800)]
Webfinger instructions were incomplete/erroneous -- now they are not.

9 years agoMerge commit 'refs/merge-requests/41' of https://gitorious.org/social/mainline into...
Mikael Nordfeldth [Tue, 10 Feb 2015 17:41:18 +0000 (18:41 +0100)]
Merge commit 'refs/merge-requests/41' of https://gitorious.org/social/mainline into merge-requests/41

9 years agoAdd 'statusnet_textarea' backward-compatibility
Chimo [Tue, 10 Feb 2015 15:53:24 +0000 (10:53 -0500)]
Add 'statusnet_textarea' backward-compatibility

9 years agoMerge commit 'refs/merge-requests/40' of https://gitorious.org/social/mainline into...
Mikael Nordfeldth [Mon, 9 Feb 2015 23:30:20 +0000 (00:30 +0100)]
Merge commit 'refs/merge-requests/40' of https://gitorious.org/social/mainline into merge-requests/40

9 years agoReplace one instance of LOG_ERR with LOG_DEBUG
Chimo [Mon, 9 Feb 2015 23:08:46 +0000 (18:08 -0500)]
Replace one instance of LOG_ERR with LOG_DEBUG

9 years agoPrepopulate newnotice from URL arg
Chimo [Mon, 9 Feb 2015 23:06:26 +0000 (18:06 -0500)]
Prepopulate newnotice from URL arg

9 years agoGNU social SVG logo added to neo-gnu
Mikael Nordfeldth [Mon, 9 Feb 2015 20:44:01 +0000 (21:44 +0100)]
GNU social SVG logo added to neo-gnu

9 years agoneo-quitter unuglifying (thanks @marcus@gnusocial.ch )
Mikael Nordfeldth [Mon, 9 Feb 2015 19:25:24 +0000 (20:25 +0100)]
neo-quitter unuglifying (thanks @marcus@gnusocial.ch )

also formatting changes to the CSS like removing trailing whitespace.

9 years agoMerge commit 'refs/merge-requests/39' of https://gitorious.org/social/mainline into...
Mikael Nordfeldth [Mon, 9 Feb 2015 10:35:19 +0000 (11:35 +0100)]
Merge commit 'refs/merge-requests/39' of https://gitorious.org/social/mainline into merge-requests/39

9 years agoTwitterBridge: don't array_merge() non-arrays
Chimo [Mon, 9 Feb 2015 01:11:50 +0000 (20:11 -0500)]
TwitterBridge: don't array_merge() non-arrays

Fixes: ErrorException: [2] array_merge(): Argument #2 is not an array
9 years agoMake TwitterBridge less noisy
Chimo [Mon, 9 Feb 2015 01:07:23 +0000 (20:07 -0500)]
Make TwitterBridge less noisy

Empty timelines are no longer warnings, but debug information

9 years agoCan now delete lists/peopletags (thanks MrB)
Mikael Nordfeldth [Sun, 8 Feb 2015 22:48:35 +0000 (23:48 +0100)]
Can now delete lists/peopletags (thanks MrB)

Reported on https://bugz.foocorp.net/T79
Fix by MrB: https://gist.github.com/mrvdb/0f5d84c9b56c0a390c4a

9 years agoMerge commit 'refs/merge-requests/37' of https://gitorious.org/social/mainline into...
Mikael Nordfeldth [Sun, 8 Feb 2015 22:21:28 +0000 (23:21 +0100)]
Merge commit 'refs/merge-requests/37' of https://gitorious.org/social/mainline into merge-requests/37

9 years agoMerge commit 'refs/merge-requests/30' of https://gitorious.org/social/mainline into...
Mikael Nordfeldth [Sun, 8 Feb 2015 22:19:53 +0000 (23:19 +0100)]
Merge commit 'refs/merge-requests/30' of https://gitorious.org/social/mainline into merge-requests/30

9 years agoMerge commit 'refs/merge-requests/31' of https://gitorious.org/social/mainline into...
Mikael Nordfeldth [Sun, 8 Feb 2015 22:18:36 +0000 (23:18 +0100)]
Merge commit 'refs/merge-requests/31' of https://gitorious.org/social/mainline into merge-requests/31

9 years agoMerge commit 'refs/merge-requests/36' of https://gitorious.org/social/mainline into...
Mikael Nordfeldth [Sun, 8 Feb 2015 22:11:47 +0000 (23:11 +0100)]
Merge commit 'refs/merge-requests/36' of https://gitorious.org/social/mainline into merge-requests/36

9 years agoPopulate 'created' property on attention
Chimo [Sun, 8 Feb 2015 19:47:03 +0000 (14:47 -0500)]
Populate 'created' property on attention

The 'created' column in attention SQL table has NOT NULL
restriction.

9 years agoPopulate 'created' property on ostatus_source
Chimo [Sun, 8 Feb 2015 18:41:29 +0000 (13:41 -0500)]
Populate 'created' property on ostatus_source

The 'created' column in ostatus_source SQL table has NOT NULL restriction.
INSERTs fail when running MySQL/MariaDB in strict mode if this is not
populated.

9 years agoadded non-critical FIXMEs
Mikael Nordfeldth [Sun, 8 Feb 2015 14:33:00 +0000 (15:33 +0100)]
added non-critical FIXMEs

9 years agoupdateWithKeys did not always COMMIT transactions
Mikael Nordfeldth [Sun, 8 Feb 2015 14:17:50 +0000 (15:17 +0100)]
updateWithKeys did not always COMMIT transactions

9 years agoOlder versions of PHP couldn't do array indexes on function returns.
Mikael Nordfeldth [Sun, 8 Feb 2015 10:53:47 +0000 (11:53 +0100)]
Older versions of PHP couldn't do array indexes on function returns.

9 years agoGeneral code quality improvement for easier understanding
Mikael Nordfeldth [Sun, 8 Feb 2015 10:47:15 +0000 (11:47 +0100)]
General code quality improvement for easier understanding

Also made sure we only match local group IDs in recognizedFeed for PushhubAction

9 years agoMerge commit 'refs/merge-requests/33' of https://gitorious.org/social/mainline into...
Mikael Nordfeldth [Sun, 8 Feb 2015 10:23:04 +0000 (11:23 +0100)]
Merge commit 'refs/merge-requests/33' of https://gitorious.org/social/mainline into merge-requests/33

9 years agoMerge commit 'refs/merge-requests/34' of https://gitorious.org/social/mainline into...
Mikael Nordfeldth [Sun, 8 Feb 2015 10:21:36 +0000 (11:21 +0100)]
Merge commit 'refs/merge-requests/34' of https://gitorious.org/social/mainline into merge-requests/34

9 years agoMerge commit 'refs/merge-requests/35' of https://gitorious.org/social/mainline into...
Mikael Nordfeldth [Sun, 8 Feb 2015 10:20:53 +0000 (11:20 +0100)]
Merge commit 'refs/merge-requests/35' of https://gitorious.org/social/mainline into merge-requests/35

9 years agoROLLBACK which may or may not be useful
Mikael Nordfeldth [Sun, 8 Feb 2015 10:09:19 +0000 (11:09 +0100)]
ROLLBACK which may or may not be useful

There were problems with queries that were executed but didn't seem to
be committed. Trying to patch that up by calling a ROLLBACK on transactions
where the loading of the page isn't stopped after the BEGIN statement's
intended function fails (like with the rememberme cookie in this commit).

9 years agoDocument "process_links" option for attachments
Chimo [Sat, 7 Feb 2015 16:16:14 +0000 (11:16 -0500)]
Document "process_links" option for attachments

9 years agoRemove NOT NULL restriction on FeedSub last_update
Chimo [Sat, 7 Feb 2015 16:08:03 +0000 (11:08 -0500)]
Remove NOT NULL restriction on FeedSub last_update

Fixes an issue where INSERTs fail if MySQL/MariaDB runs in "strict
mode".

9 years agoRemove NOT NULL restriction on HubSub 'lease'
Chimo [Sat, 7 Feb 2015 15:46:13 +0000 (10:46 -0500)]
Remove NOT NULL restriction on HubSub 'lease'

This fixes an issue where INSERTs in HubSub fail if MySQL/MariaDB is
running in "strict mode" since the default lease time in
PushHubAction::subunsub is null.

Permanent subscriptions have been removed in PuSH v0.4, but they are
being kept here for backward-compatibility with previous GS/SN versions.

9 years agoNetwork public feed name fixed (prev. not "Network")
Mikael Nordfeldth [Fri, 6 Feb 2015 11:51:04 +0000 (12:51 +0100)]
Network public feed name fixed (prev. not "Network")

9 years agoTrue isn't true in Javascript.
Mikael Nordfeldth [Thu, 5 Feb 2015 11:13:01 +0000 (12:13 +0100)]
True isn't true in Javascript.

Apparently True isn't true in javascript. They fiddle around like crazy with
loose typing (causing all kinds of problems) but vars are case sensitive?!

9 years agocacheKey change for Status_network class
Mikael Nordfeldth [Thu, 5 Feb 2015 11:05:39 +0000 (12:05 +0100)]
cacheKey change for Status_network class

From statusnet to gnusocial.

9 years agoOnly Firefox has predefined js function args (thanks MrB)
Mikael Nordfeldth [Thu, 5 Feb 2015 11:05:10 +0000 (12:05 +0100)]
Only Firefox has predefined js function args (thanks MrB)

9 years agoMemcache is a plugin, also now not explicitly mentioned in CONFIGURE
Mikael Nordfeldth [Thu, 5 Feb 2015 10:49:06 +0000 (11:49 +0100)]
Memcache is a plugin, also now not explicitly mentioned in CONFIGURE

9 years agoReplace memcache with opcache in INSTALL instructions.
Mikael Nordfeldth [Thu, 5 Feb 2015 10:44:36 +0000 (11:44 +0100)]
Replace memcache with opcache in INSTALL instructions.

9 years agoBut let's hide external permalink if already linked through 'source'
Mikael Nordfeldth [Wed, 4 Feb 2015 21:44:38 +0000 (22:44 +0100)]
But let's hide external permalink if already linked through 'source'

9 years agoNo reason to hide external notice permalinks
Mikael Nordfeldth [Wed, 4 Feb 2015 21:32:57 +0000 (22:32 +0100)]
No reason to hide external notice permalinks

9 years agoBy default, don't allow nick changes for profiles
Mikael Nordfeldth [Wed, 4 Feb 2015 20:25:14 +0000 (21:25 +0100)]
By default, don't allow nick changes for profiles

This goes for both users and groups, since they share nickname namespace.

If you want to enable nickname changes, just add this to your config:

   $config['profile']['changenick'] = true;

This commit should cover all changes in our usual web forms as well as through
the API.