Mikael Nordfeldth
9376a6d75a
ModPlus plugin now links to remote profiles with UserbyidAction
2015-06-05 21:30:50 +02:00
Mikael Nordfeldth
8ad81a6aa3
Allow showing profiles with UserbyidAction (/user/:id)
2015-06-05 21:24:41 +02:00
Mikael Nordfeldth
94f5247f91
$this->client_ip was not always set in AntiBrutePlugin onEndCheckPassword
2015-06-05 15:34:14 +02:00
Mikael Nordfeldth
dee4ca37ab
GROUPS_PER_MINILIST was undefined in profileaction.php
2015-06-05 14:07:03 +02:00
Mikael Nordfeldth
b24d711f55
Network wide feed link would NEVER show!
2015-06-05 14:01:03 +02:00
Mikael Nordfeldth
50f0235654
Oops, don't forget to remove var_dump(...)
2015-06-04 22:34:28 +02:00
Mikael Nordfeldth
cafab14f2b
Modernize File_redirection to use Managed_DataObject functions
2015-06-04 22:33:36 +02:00
Mikael Nordfeldth
63251fb9d0
Modernize File_thumbnail to use Managed_DataObject functions
2015-06-04 22:29:40 +02:00
Mikael Nordfeldth
fc9de94cbd
Modernize Queue_item to use Managed_DataObject functions
2015-06-04 22:27:53 +02:00
Mikael Nordfeldth
f9698598c6
Modernize Profile_prefs to use Managed_DataObject functions
2015-06-04 22:26:31 +02:00
Mikael Nordfeldth
d1afc78124
Modernize File_to_post to use Managed_DataObject functions
2015-06-04 22:22:49 +02:00
Mikael Nordfeldth
ebdd792b6f
getByPK (primary key) lookup for Managed_DataObject instances
2015-06-04 22:17:40 +02:00
Mikael Nordfeldth
ca19a5cd6d
Easier pkeyCols call to get primary key columns
2015-06-04 21:51:56 +02:00
Mikael Nordfeldth
20145092ce
Publish OAuth data in host-meta
2015-06-04 18:54:09 +02:00
Mikael Nordfeldth
5718f812d9
Network public publicgroupnav link would always show
2015-06-04 17:39:23 +02:00
Mikael Nordfeldth
fe6498e7c8
Send objects instead of integers to File_to_post::processNew
2015-06-04 17:36:11 +02:00
Mikael Nordfeldth
5358fb3cce
Use the same cache string in all places for file:notice-ids
2015-06-04 17:02:45 +02:00
Mikael Nordfeldth
9449235765
Remove some clutter from OMB plugin
2015-06-04 01:14:26 +02:00
Mikael Nordfeldth
a4739b0107
Move some last OpenID stuff into the OpenID plugin (XRDS)
2015-06-04 01:08:03 +02:00
Mikael Nordfeldth
bdd15cfe63
don't double the output for some PublicAction->extraHead
2015-06-04 00:56:46 +02:00
Mikael Nordfeldth
26631bf9e6
Show network public feed link in PublicGroupNav
2015-06-04 00:53:35 +02:00
Mikael Nordfeldth
551c69ed56
Extend Networkpublic and Public actions from SitestreamAction
2015-06-04 00:51:07 +02:00
Mikael Nordfeldth
2b2ebfc254
bump version to 1.2.0-alpha1
...
since we fixed the search issue and updated jquery
2015-06-03 22:57:58 +02:00
Mikael Nordfeldth
fd121f371a
case insensitive indexing for content and nick/fullnames (search)
...
This broke when changing the database to utf8mb4 instead of utf8,
since utf8_general_ci wasn't accepted and the engine fell back to
utf8mb4_bin. Now we're back in case insensitive search business!
2015-06-03 22:43:51 +02:00
Mikael Nordfeldth
c5da7306bd
return logic tidied up for command interpretation
2015-06-02 14:25:45 +02:00
Mikael Nordfeldth
2bf0ec719d
initialize command interpretation result to false
2015-06-02 14:17:59 +02:00
Mikael Nordfeldth
7e388e697d
fallback to local URL if reply->getUrl() is missing
...
Remote Activity notices generally don't have a proper HTTP URL associated.
2015-06-02 13:55:13 +02:00
Mikael Nordfeldth
0726dcd06c
Start using NoParentNoticeException more widely
2015-06-02 13:50:52 +02:00
Mikael Nordfeldth
c84b21008e
Notice->getParent code reuse
...
...not entirely sure whether to allow getParent calls on Notice
objects which have not been created, but we'll leave that in for now...
2015-06-02 13:46:23 +02:00
Mikael Nordfeldth
6b9a8b7b19
Reuse code from our classes, don't write own algorithms
2015-06-02 13:45:22 +02:00
Mikael Nordfeldth
e728e2aa81
typing, added typing to some common_* calls in util.php
2015-06-02 13:19:12 +02:00
Mikael Nordfeldth
2096c18e57
use array_key_exists instead of empty to test array key
2015-06-02 13:14:57 +02:00
Mikael Nordfeldth
2cebbead75
Accidentally presented Atom feed as ActivityStreams JSON
2015-06-02 12:58:30 +02:00
Mikael Nordfeldth
a2ddcc124f
No redirect follow on HEAD request (bump to PHP5.5 minimum requirement)
...
We're using the try-catch-finally clause where "finally" wasn't introduced
until PHP 5.5, so our minimum requirement for GNU social is bumped to that.
2015-06-02 11:07:11 +02:00
Mikael Nordfeldth
82f9b6908c
Fake recovery by email address, to hide registrants on the site
2015-05-30 23:29:58 +02:00
Mikael Nordfeldth
731d283159
Password recovery logic cleaned up
2015-05-30 23:18:17 +02:00
Mikael Nordfeldth
b4b8cb57b3
slugify console.php prompt name
...
since PHP thought it was fun to crash on Quitter España and I
couldn't be bothered messing with readline
2015-05-30 16:40:00 +02:00
Mikael Nordfeldth
3294d704a4
scripts/nukefile.php for blasting crap from the server
...
Deletes notices and the locally stored file based on File id, as
you may want to just get rid of shit sometimes.
2015-05-30 15:41:04 +02:00
Mikael Nordfeldth
f926e27a65
urlhash will _be_ NULL on update, so NOT NULL won't work
2015-05-27 22:37:20 +02:00
Mikael Nordfeldth
c31d6608a8
remove _all_ file URLs not just the duplicates
2015-05-27 21:54:51 +02:00
Mikael Nordfeldth
cd0b70dbc1
upgrade fix for file URLs longer than 191 chars
2015-05-27 21:31:29 +02:00
Mikael Nordfeldth
0e6b80ded3
more debugging info on failed schema.php runSqlSet
2015-05-27 20:21:05 +02:00
Mikael Nordfeldth
6b717a6a69
Throw exception if Local_group has no corresponding User_group
2015-05-26 13:14:26 +02:00
Mikael Nordfeldth
925aacec1a
Throw exception when a Conversation is not found
2015-05-26 13:11:08 +02:00
Mikael Nordfeldth
bb8d377b91
Redirect to group URL for /nickname pattern
2015-05-26 13:10:37 +02:00
Mikael Nordfeldth
4a6f509aa5
More automated htaccess.sample
2015-05-10 19:41:36 +02:00
Mikael Nordfeldth
d010c5a581
magnet URL linkify support
2015-05-09 15:54:09 +02:00
Mikael Nordfeldth
e1822c2b66
schemacheck hint in newly installed config.php
2015-05-03 23:07:31 +02:00
Mikael Nordfeldth
cd42ee7e85
Allow adding preload token to HSTS header
...
Use by adding this to config.php:
addPlugin('StrictTransportSecurity', array('preloadToken'=>true));
2015-05-03 23:05:47 +02:00
Mikael Nordfeldth
6d72800098
StrictTransportSecurity syntax fix
2015-05-03 22:50:44 +02:00