]>
git.mxchange.org Git - quix0rs-gnu-social.git/log
Mikael Nordfeldth [Fri, 27 Feb 2015 14:07:24 +0000 (15:07 +0100)]
ssh key based easy upgrade method documentation
Mikael Nordfeldth [Fri, 27 Feb 2015 14:03:07 +0000 (15:03 +0100)]
Better UPGRADE documentation for GS->GS upgrade
Mikael Nordfeldth [Fri, 27 Feb 2015 13:47:54 +0000 (14:47 +0100)]
StatusNet 1.1.x to GNU social 1.2.x instructions updated
Mikael Nordfeldth [Fri, 27 Feb 2015 13:12:01 +0000 (14:12 +0100)]
UPGRADE file had incorrect commands
Mikael Nordfeldth [Fri, 27 Feb 2015 11:55:08 +0000 (12:55 +0100)]
StatusNet to GNU social renaming in minor places
Mikael Nordfeldth [Fri, 27 Feb 2015 11:44:15 +0000 (12:44 +0100)]
StatusNet class renamed GNUsocial
also added backward compatible StatusNet class for the two calls I know
third party plugins use, isHTTPS and getActivePlugins
Mikael Nordfeldth [Fri, 27 Feb 2015 11:11:43 +0000 (12:11 +0100)]
Start and EndActionExecute added/fixed/documented
Mikael Nordfeldth [Fri, 27 Feb 2015 09:09:57 +0000 (10:09 +0100)]
1.2.x branch started (utf8mb4 support is reason enough)
Mikael Nordfeldth [Fri, 27 Feb 2015 09:04:29 +0000 (10:04 +0100)]
Change branch to 1.2.x since we're utf8mb4 now
Mikael Nordfeldth [Fri, 27 Feb 2015 09:01:55 +0000 (10:01 +0100)]
Merge branch 'master' into nightly
Conflicts:
lib/apiaction.php
Mikael Nordfeldth [Fri, 27 Feb 2015 08:58:38 +0000 (09:58 +0100)]
I hereby dub thee 1.1.3 - The Spanish Invasion
Mikael Nordfeldth [Fri, 27 Feb 2015 08:57:49 +0000 (09:57 +0100)]
Pass Profile to asAtomEntry
Mikael Nordfeldth [Thu, 26 Feb 2015 21:58:36 +0000 (22:58 +0100)]
php5-intl is recommended but not required
Mikael Nordfeldth [Wed, 25 Feb 2015 23:45:17 +0000 (00:45 +0100)]
Normalize username on AuthCrypt login
Because users login with mixed casing and whatnot.
Mikael Nordfeldth [Wed, 25 Feb 2015 23:12:34 +0000 (00:12 +0100)]
Attachment list items have more sane margins around them
Mikael Nordfeldth [Wed, 25 Feb 2015 15:40:59 +0000 (16:40 +0100)]
Notice character count now adapts to resized textbox
Mikael Nordfeldth [Wed, 25 Feb 2015 15:31:02 +0000 (16:31 +0100)]
501 Not Implemented on timelines for remote users.
Mikael Nordfeldth [Wed, 25 Feb 2015 15:22:59 +0000 (16:22 +0100)]
NoticeOptions above NoticeAttachments
Mikael Nordfeldth [Wed, 25 Feb 2015 14:47:14 +0000 (15:47 +0100)]
Removing some plugins that were moved to plugins-unmaintained
See https://gitorious.org/social/plugins-unmaintained/
Mikael Nordfeldth [Wed, 25 Feb 2015 14:13:47 +0000 (15:13 +0100)]
Documentation + filename uniqueness in File class
Mikael Nordfeldth [Wed, 25 Feb 2015 11:59:19 +0000 (12:59 +0100)]
Merge commit 'refs/merge-requests/55' of https://gitorious.org/social/mainline into merge-requests/55
Mikael Nordfeldth [Wed, 25 Feb 2015 11:56:41 +0000 (12:56 +0100)]
Removed Lato font from themes where it was unnecessary
Mikael Nordfeldth [Wed, 25 Feb 2015 11:52:35 +0000 (12:52 +0100)]
Merge commit 'refs/merge-requests/51' of https://gitorious.org/social/mainline into merge-requests/51
Mikael Nordfeldth [Wed, 25 Feb 2015 11:50:56 +0000 (12:50 +0100)]
trailing whitespace
Mikael Nordfeldth [Wed, 25 Feb 2015 11:49:58 +0000 (12:49 +0100)]
Merge commit 'refs/merge-requests/49' of https://gitorious.org/social/mainline into merge-requests/49
Mikael Nordfeldth [Wed, 25 Feb 2015 11:49:15 +0000 (12:49 +0100)]
HTML5 media <source> tags are short tags
Mikael Nordfeldth [Wed, 25 Feb 2015 00:41:34 +0000 (01:41 +0100)]
avconv required -f image2 not -f mjpeg at least on my server
Mikael Nordfeldth [Wed, 25 Feb 2015 00:37:57 +0000 (01:37 +0100)]
Only local files to be passed through VideoThumbnails
Mikael Nordfeldth [Wed, 25 Feb 2015 00:36:14 +0000 (01:36 +0100)]
VideoThumbnails changed to use 'exec' call to avconv
Mikael Nordfeldth [Wed, 25 Feb 2015 00:34:00 +0000 (01:34 +0100)]
Save thumbnails with proper extension
This might cause double extensions, but that's ok since the filename
is stored in the database. We might want to look at it later though.
Mikael Nordfeldth [Wed, 25 Feb 2015 00:33:32 +0000 (01:33 +0100)]
mimetype added to ImageFile
Mikael Nordfeldth [Wed, 25 Feb 2015 00:31:44 +0000 (01:31 +0100)]
ImageFile constructor changed to align with existing code
Noone passed type, width or height to new ImageFile(...) and
in all instances, both parameters were set (though $id is null on occasion).
Mikael Nordfeldth [Wed, 25 Feb 2015 00:14:27 +0000 (01:14 +0100)]
Throw more explicit exception in ImageFile
Mikael Nordfeldth [Tue, 24 Feb 2015 21:59:58 +0000 (22:59 +0100)]
Hide posts from users with private_stream in scoping streams
For example the public timeline would show notices from a user with
private_stream configured. (previously it would only hide _new_ notices
by this user as they would be the only ones with notice scoping set).
Mikael Nordfeldth [Tue, 24 Feb 2015 21:44:43 +0000 (22:44 +0100)]
Removing whitespace and creating an early-return in inScope
buttle [Tue, 24 Feb 2015 20:51:31 +0000 (21:51 +0100)]
added DocNav EVENT
Event to overide DocNav
two small css changes to indent notice footer correctly.
Mikael Nordfeldth [Tue, 24 Feb 2015 20:11:25 +0000 (21:11 +0100)]
Don't store duplicates of files.
If a new file is uploaded, it will be matched with a previously uploaded
file so we don't have to store duplicates. SHA256 is random enough and
also unlikely enough to cause collisions.
Mikael Nordfeldth [Tue, 24 Feb 2015 18:29:28 +0000 (19:29 +0100)]
Script to delete file table entries which have disappeared locally
Mikael Nordfeldth [Sat, 21 Feb 2015 15:43:21 +0000 (16:43 +0100)]
RSSCloud URL field too long for utf8mb4
Should be the last one. If any URLs are longer than 191 chars, it might
require more manual interaction. Any instance with problems running
scripts/upgrade.php will get special treatment, help and a lollipop.
Mikael Nordfeldth [Fri, 20 Feb 2015 13:47:12 +0000 (14:47 +0100)]
ensureFeedURL will return Ostatus_profile early if already stored
Mikael Nordfeldth [Fri, 20 Feb 2015 00:00:28 +0000 (01:00 +0100)]
Default install to site profile community
Mikael Nordfeldth [Thu, 19 Feb 2015 21:13:42 +0000 (22:13 +0100)]
Emoji support through utf8mb4 seems to be done!
scripts/upgrade.php will take a _long_ time though! But it's worth it.
Mikael Nordfeldth [Thu, 19 Feb 2015 21:06:43 +0000 (22:06 +0100)]
Had to avoid using indexes in the migration phase
File and File_redirection still had their indexes in the temporary migration table definition.
Mikael Nordfeldth [Thu, 19 Feb 2015 20:26:55 +0000 (21:26 +0100)]
Remove common_debug call that slipped by
Mikael Nordfeldth [Thu, 19 Feb 2015 20:21:39 +0000 (21:21 +0100)]
unique keys and indexes must be NOT NULL or MySQL fucks up
If this merge throws exception on scripts/upgrade.php and you recently
tried a nightly (i.e. during 2015-02-19) then just go back a commit or two
and try again.
Or delete the duplicate entries. Find the entries like this:
SELECT COUNT(*), urlhash FROM file_redirection
GROUP BY urlhash
HAVING COUNT(*) > 1;
then for each urlhash (or come up with a smart SQL query) do:
DELETE FROM file_redirection WHERE urlhash='hashfrompreviousquery' LIMIT 1;
You'll have to remove duplicates more than once if you have >2 identical
urlhash entries. LIMIT -1 might do that for you. I'm not sure.
Mikael Nordfeldth [Thu, 19 Feb 2015 20:01:43 +0000 (21:01 +0100)]
Some loose table definitions which needed 191 char indexes
because we want utf8mb4 so badly!
Mikael Nordfeldth [Thu, 19 Feb 2015 19:50:40 +0000 (20:50 +0100)]
Merge branch 'utf8mb4' into nightly
Conflicts because of urlhash fixes:
classes/File.php
classes/File_redirection.php
classes/File_thumbnail.php
Mikael Nordfeldth [Thu, 19 Feb 2015 18:40:36 +0000 (19:40 +0100)]
less newlines for the scripts/upgrade.php output
Mikael Nordfeldth [Thu, 19 Feb 2015 18:36:59 +0000 (19:36 +0100)]
Bad check on existing urlhash key
Mikael Nordfeldth [Thu, 19 Feb 2015 18:29:55 +0000 (19:29 +0100)]
Use new ::getByUrl for File and File_redirection
and make use of the exceptions instead endless if statements
Mikael Nordfeldth [Thu, 19 Feb 2015 18:12:16 +0000 (19:12 +0100)]
Mediafile updated to insert urlhash and lookup properly
Mikael Nordfeldth [Thu, 19 Feb 2015 18:07:43 +0000 (19:07 +0100)]
function is hashurl, variable is urlhash
Mikael Nordfeldth [Thu, 19 Feb 2015 17:59:28 +0000 (18:59 +0100)]
File and File_redirection adhoc storage methods updated for urlhash
Mikael Nordfeldth [Thu, 19 Feb 2015 17:59:13 +0000 (18:59 +0100)]
File_thumbnail url is not an index
Mikael Nordfeldth [Thu, 19 Feb 2015 17:34:48 +0000 (18:34 +0100)]
File_redirection also got urlhash column
Mikael Nordfeldth [Thu, 19 Feb 2015 17:13:09 +0000 (18:13 +0100)]
Merge branch 'nightly' into file_urlhash
Mikael Nordfeldth [Thu, 19 Feb 2015 16:46:37 +0000 (17:46 +0100)]
$this->scoped->getUser() instead of common_current_user();
Mikael Nordfeldth [Thu, 19 Feb 2015 16:42:47 +0000 (17:42 +0100)]
ROLLBACK if query failed in email settings savePreferences
Mikael Nordfeldth [Wed, 18 Feb 2015 13:01:35 +0000 (14:01 +0100)]
Profile table cleaning script.
Mikael Nordfeldth [Wed, 18 Feb 2015 12:37:06 +0000 (13:37 +0100)]
UserdirectoryAction now ManagedAction and better SQL
Mikael Nordfeldth [Wed, 18 Feb 2015 12:18:32 +0000 (13:18 +0100)]
No need for return true
Mikael Nordfeldth [Wed, 18 Feb 2015 11:17:26 +0000 (12:17 +0100)]
GroupdirectoryAction now has no direct SQL queries
also various fixes uppers
Mikael Nordfeldth [Wed, 18 Feb 2015 11:15:46 +0000 (12:15 +0100)]
escapedTableName for SQL query easy access
Mikael Nordfeldth [Wed, 18 Feb 2015 10:15:30 +0000 (11:15 +0100)]
Turn GroupdirectoryAction into a ManagedAction
Mikael Nordfeldth [Wed, 18 Feb 2015 10:13:10 +0000 (11:13 +0100)]
Directory group search code cleanup
Mikael Nordfeldth [Wed, 18 Feb 2015 10:08:11 +0000 (11:08 +0100)]
Make group search in Directory use PEAR::DB
No more direct SQL queries please.
Mikael Nordfeldth [Tue, 17 Feb 2015 23:47:00 +0000 (00:47 +0100)]
Add php5-intl dependency to Installer class
Mikael Nordfeldth [Tue, 17 Feb 2015 23:28:45 +0000 (00:28 +0100)]
New dependency: php5-intl
Internationalization support is required for transliteration, which is
currently used when creating the slugs for hashtags and such. It is a
much more stable and efficient solution than having an unmaintainable
list of unciode characters in an array...
Mikael Nordfeldth [Tue, 17 Feb 2015 23:14:28 +0000 (00:14 +0100)]
use common_purify to purify HTML, one function to rule them all
Mikael Nordfeldth [Tue, 17 Feb 2015 23:10:31 +0000 (00:10 +0100)]
Implement a common_purify for htmLawed and more
We're removing unicode formatting characters as well, such as RTL marks.
For more info on why we're because extra cautious (but may accept the
characters in later versions) you can read:
https://blog.malwarebytes.org/online-security/2014/01/the-rtlo-method/
Mikael Nordfeldth [Tue, 17 Feb 2015 20:31:35 +0000 (21:31 +0100)]
forgot primary key column to updateWithKeys in SalmonAction
Mikael Nordfeldth [Tue, 17 Feb 2015 19:54:32 +0000 (20:54 +0100)]
Don't linkify bare domains by default
It's too farfetched to assume any text.com in a notice is an HTTP URL.
For example stuff like pasting from log entries, with domain.com:1234
where 1234 is a _PID_ or something, not a port number for http://...
Mikael Nordfeldth [Tue, 17 Feb 2015 19:11:35 +0000 (20:11 +0100)]
PHP>=5.4.0 lets us use Transliterator, tags now asciified!
For example: #REVOLUCIÓN becomes #revolucion instead of #revolución
Mikael Nordfeldth [Tue, 17 Feb 2015 17:55:12 +0000 (18:55 +0100)]
urlhash first steps, including scripts/upgrade.php
Mikael Nordfeldth [Tue, 17 Feb 2015 16:35:45 +0000 (17:35 +0100)]
SalmonAction now updates remote URI if it was stale.
After doublechecking two identities so that they match (like one that was
previously http:// but now is https://) we update the URI in our database
to match.
This has to be verified so it's not easy to fool our script and thus make
us replace legitimate URIs with fake ones. I believe the callback method
is safe, but I'm not sure how well it handles HTTP MITM attacks etc.
Mikael Nordfeldth [Tue, 17 Feb 2015 16:17:32 +0000 (17:17 +0100)]
Various $this->scoped fixes and protected prepare/handle in API actions
Mikael Nordfeldth [Tue, 17 Feb 2015 16:16:33 +0000 (17:16 +0100)]
Replace $this->user/auth_user with $this->scoped in lib/apiaction.php
We prefer handling a Profile class rather than the User class, as some
functions might be useful for remote users as well, which cannot be
handled via the User class.
Mikael Nordfeldth [Tue, 17 Feb 2015 16:15:47 +0000 (17:15 +0100)]
Subscription class gets exception throwing getSubscription function
Mikael Nordfeldth [Tue, 17 Feb 2015 15:45:26 +0000 (16:45 +0100)]
Non-functional "retweeted to me" API call modified (but not fixed)
For some reason the "retweeted to me" part of the Twitter API was removed
when Evan made some inbox changes back in the StatusNet days. We might
recover this functionality, but not yet. The proper function calls are
however fixed in this commit.
Mikael Nordfeldth [Tue, 17 Feb 2015 15:39:27 +0000 (16:39 +0100)]
apiauth action with ->user changed to ->scoped
Mikael Nordfeldth [Tue, 17 Feb 2015 00:26:18 +0000 (01:26 +0100)]
CSS: notice images no wider than 100%
We should actually not allow remote images to be given in the src attribute
because they can be used for tracking and other nasty stuff without being
seen by the enduser.
Also, allowing remote images linked like this won't work for users who run
plugins like RequestPolicy etc. anyway. A better method would be to make
them listed as attachments instead. Then we can use that subsystem for
making thumbnails to store locally, hotlinking sources and whatnot.
Marcus Moeller [Mon, 16 Feb 2015 16:50:43 +0000 (17:50 +0100)]
opacity is not needed as it's transparent
use alignment instead of padding for padlock symbol
Marcus Moeller [Mon, 16 Feb 2015 16:37:13 +0000 (17:37 +0100)]
updated font settings to match qvitter
Chimo [Mon, 16 Feb 2015 00:10:05 +0000 (19:10 -0500)]
Move people tag autocomplete JS to plugin
As discussed in https://gitorious.org/social/mainline/merge_requests/47
Mikael Nordfeldth [Sun, 15 Feb 2015 22:06:22 +0000 (23:06 +0100)]
Merge commit 'refs/merge-requests/47' of https://gitorious.org/social/mainline into merge-requests/47
Mikael Nordfeldth [Sun, 15 Feb 2015 21:54:48 +0000 (22:54 +0100)]
Merge commit 'refs/merge-requests/48' of https://gitorious.org/social/mainline into merge-requests/48
Marcus Moeller [Sun, 15 Feb 2015 13:17:00 +0000 (14:17 +0100)]
removed text beside lock icon and fixed alignment
Chimo [Sun, 15 Feb 2015 21:11:23 +0000 (16:11 -0500)]
JS: Fixes jQueryUI autocomplete 'undefined' errors
data("autocomplete") was renamed to data("ui-autocomplete") starting
from v1.9:
http://jqueryui.com/upgrade-guide/1.9/#changed-naming-convention-for-data-keys
Chimo [Sun, 15 Feb 2015 21:00:23 +0000 (16:00 -0500)]
ApiTimelineList: Fixes ServerErrorAction
"No matches for action 'ApiTimelineList' with arguments 'format=atom
id=1'"
for 'api/:user/lists/:id/statuses.:format' URLs
Mikael Nordfeldth [Sun, 15 Feb 2015 12:33:36 +0000 (13:33 +0100)]
Don't default to publishing http: alias!
It seems to have caused a problem with at least an older codebase of
remote GNU social sites, but either way we shouldn't present the user
as aliased on an insecure connection if there is no real reason to.
Mikael Nordfeldth [Sun, 15 Feb 2015 12:17:04 +0000 (13:17 +0100)]
Present http:// alias by default in WebFinger output
because it might help us (and especially StatusNet sites) to recognize
profiles that have migrated from HTTP to HTTPS!
Mikael Nordfeldth [Sat, 14 Feb 2015 16:37:35 +0000 (17:37 +0100)]
Wrong order of start/end events. My hobby OCD was disturbed.
Mikael Nordfeldth [Sat, 14 Feb 2015 16:35:34 +0000 (17:35 +0100)]
Fixed some recently added EVENTS documentation
Mikael Nordfeldth [Sat, 14 Feb 2015 16:32:35 +0000 (17:32 +0100)]
StartSubMenu and EndSubMenu events
Mikael Nordfeldth [Sat, 14 Feb 2015 15:45:04 +0000 (16:45 +0100)]
Merge commit 'refs/merge-requests/45' of https://gitorious.org/social/mainline into merge-requests/45
Mikael Nordfeldth [Sat, 14 Feb 2015 15:42:25 +0000 (16:42 +0100)]
neo-quitter unuglification by marcus, merge-request 44
Marcus Moeller [Fri, 13 Feb 2015 22:09:34 +0000 (23:09 +0100)]
fixed alignment of textarea
fixed event view
Marcus Moeller [Fri, 13 Feb 2015 17:09:43 +0000 (18:09 +0100)]
just make sure that input box and input box label are the same color
Marcus Moeller [Fri, 13 Feb 2015 17:00:57 +0000 (18:00 +0100)]
use Genericons and fontawesome instead of images
buttle [Fri, 13 Feb 2015 15:38:22 +0000 (16:38 +0100)]
Call HomeStubNav instead of duplicating code
adminpanelnav.php adds a homeStub but does not use the code created for the job.