]>
git.mxchange.org Git - quix0rs-gnu-social.git/log
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>
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>
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>
Roland Haeder [Sun, 8 Mar 2015 23:36:00 +0000 (00:36 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly
Conflicts:
plugins/OStatus/OStatusPlugin.php
Signed-off-by: Roland Haeder <roland@mxchange.org>
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>
Mikael Nordfeldth [Sun, 8 Mar 2015 22:32:56 +0000 (23:32 +0100)]
DB_DataObject won't save value 0 because it is "false"
A bug which we fix here and there by sending the string '0' instead.
We will be able to remove these hacks ("booleanintstring") when the
next release of DB_DataObject comes as I patched it for them.
Mikael Nordfeldth [Sun, 8 Mar 2015 22:31:35 +0000 (23:31 +0100)]
Make the OpenID settings page use more of HTMLOutputter functions
Mikael Nordfeldth [Sun, 8 Mar 2015 22:30:54 +0000 (23:30 +0100)]
Don't display labels by default in notice forms
There are either descriptive placeholders or informational text next to
the elements.
Mikael Nordfeldth [Sun, 8 Mar 2015 22:29:38 +0000 (23:29 +0100)]
Don't use a placeholder value on the nickname field
(because the placeholder would be 'Nickname', and it might confuse
someone who thinks they can use capital letters...)
Mikael Nordfeldth [Sun, 8 Mar 2015 22:29:16 +0000 (23:29 +0100)]
Let text inputs have placeholder values.
Mikael Nordfeldth [Sun, 8 Mar 2015 20:08:27 +0000 (21:08 +0100)]
Move more POST handling into ManagedAction
Roland Haeder [Sun, 8 Mar 2015 19:51:53 +0000 (20:51 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly
Conflicts:
actions/replies.php
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Sun, 8 Mar 2015 19:41:42 +0000 (20:41 +0100)]
A bunch of FormAction and ManagedAction synchronization
Mikael Nordfeldth [Sun, 8 Mar 2015 19:10:20 +0000 (20:10 +0100)]
TagProfileAction and OStatusPlugin now use less redundant code
Mikael Nordfeldth [Sun, 8 Mar 2015 18:44:23 +0000 (19:44 +0100)]
ROLLBACK queries in the proper order
Mikael Nordfeldth [Sun, 8 Mar 2015 18:17:01 +0000 (19:17 +0100)]
Sensitive-test _is_ done in index.php
Mikael Nordfeldth [Sun, 8 Mar 2015 11:54:08 +0000 (12:54 +0100)]
Some reply buttons wouldn't work the first time they were clicked.
Mikael Nordfeldth [Sun, 8 Mar 2015 11:38:15 +0000 (12:38 +0100)]
RepliesAction migrated to extend ManagedAction
Mikael Nordfeldth [Sun, 8 Mar 2015 00:34:40 +0000 (01:34 +0100)]
All the AJAX calls should be made with $.ajax
because we're gonna want to expect application/xml or text/xml back.
There's a weird thing in Firefox where the call on line ~703 makes the
web developer console output "not well formed" which is for the returned
data. It is assumed to be text/xml - which it is - but the doctype says
"html" (because it is first <?xml..?> followed by <!DOCTYPE html ...->
This doesn't cause any malfunction right now, just the output in the
console. I'm not exactly sure how to fix it. Probably remove the DOCTYPE
output for AJAX calls, but I'm not sure that's the best way. Could this
maybe even be a browser/javascript/whatever bug? Because the Content-Type
from the server _is_ right...
Mikael Nordfeldth [Sat, 7 Mar 2015 22:42:27 +0000 (23:42 +0100)]
Need to run the NoticeFormSetup if forms are prerendered
Mikael Nordfeldth [Sat, 7 Mar 2015 22:38:03 +0000 (23:38 +0100)]
Don't put submit button in reply field edge-to-edge
Mikael Nordfeldth [Sat, 7 Mar 2015 22:35:41 +0000 (23:35 +0100)]
Don't put reply in a popup, it was undesired for users
Maybe could make that optional or something in the DefaultLayout plugin...
Mikael Nordfeldth [Sat, 7 Mar 2015 20:57:43 +0000 (21:57 +0100)]
Email settings fix for the DB_DataObject bug for saving value 0
Roland Haeder [Sat, 7 Mar 2015 19:55:27 +0000 (20:55 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Sat, 7 Mar 2015 19:35:05 +0000 (20:35 +0100)]
Reply popup works now
...WHY does javascript let me define the same value twice in the same
definition without warning about it? I hate Javascript. :(
Mikael Nordfeldth [Sat, 7 Mar 2015 19:34:46 +0000 (20:34 +0100)]
Change the title of NewnoticeAction if replying
Mikael Nordfeldth [Sat, 7 Mar 2015 19:11:13 +0000 (20:11 +0100)]
input elements outside of label elements
HTML lets us put the input element inside the label and then they
are automatically paired, but this is more explicit and clear imho.
Roland Haeder [Sat, 7 Mar 2015 18:31:57 +0000 (19:31 +0100)]
Merge branch 'social-nightly' into nightly
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 7 Mar 2015 18:31:47 +0000 (19:31 +0100)]
Merge branch 'social-master' into nightly
Conflicts:
lib/noticeform.php
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 7 Mar 2015 18:30:33 +0000 (19:30 +0100)]
Merge branch 'nightly' into social-nightly
Roland Haeder [Sat, 7 Mar 2015 18:29:59 +0000 (19:29 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Sat, 7 Mar 2015 15:53:36 +0000 (16:53 +0100)]
Merge branch 'nightly' into social-nightly
Roland Haeder [Sat, 7 Mar 2015 15:52:44 +0000 (16:52 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Sat, 7 Mar 2015 13:14:19 +0000 (14:14 +0100)]
jquery-ui updated to 1.11.3
Checked all checkboxes on http://jqueryui.com/download/
Mikael Nordfeldth [Sat, 7 Mar 2015 11:32:24 +0000 (12:32 +0100)]
jquery infieldlabel.js removed from script list
Mikael Nordfeldth [Sat, 7 Mar 2015 00:00:07 +0000 (01:00 +0100)]
jQuery cookie plugin updated
Source: https://plugins.jquery.com/cookie/
Mikael Nordfeldth [Fri, 6 Mar 2015 23:57:21 +0000 (00:57 +0100)]
JSON in JavaScript library updated
...why we now need a JSON library... _in_ Javascript?!
Source: http://www.json.org/js.html
Mikael Nordfeldth [Fri, 6 Mar 2015 23:55:17 +0000 (00:55 +0100)]
jQuery Form Plugin updated
Source: http://malsup.com/jquery/form/
Mikael Nordfeldth [Fri, 6 Mar 2015 23:49:05 +0000 (00:49 +0100)]
"infield labels" should be migrated to HTML5 placeholder
Mikael Nordfeldth [Fri, 6 Mar 2015 23:48:43 +0000 (00:48 +0100)]
jQuery v2.1.3 seems to work fine
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>
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>
Roland Haeder [Fri, 6 Mar 2015 23:38:35 +0000 (00:38 +0100)]
Merge branch 'nightly' into social-nightly
Signed-off-by: Roland Haeder <roland@mxchange.org>
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>
Roland Haeder [Fri, 6 Mar 2015 23:34:34 +0000 (00:34 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly
Better use a clear type-hint and array() as default value then you can avoid the
additional is_null() call.
Conflicts:
lib/noticeform.php
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Fri, 6 Mar 2015 23:32:26 +0000 (00:32 +0100)]
Start working a bit more consistently with "notice-options"
Let's get the AJAX response and present it to the user with the same
mechanisms for all actions, instead of having a bunch of javascript
for various circumstances (fave, repeat, delete should all be the same
behaviour for example).
Mikael Nordfeldth [Fri, 6 Mar 2015 23:00:02 +0000 (00:00 +0100)]
No need for NoticeFormMaster anymore
Mikael Nordfeldth [Fri, 6 Mar 2015 22:52:25 +0000 (23:52 +0100)]
Choose whether to prerender the inline reply forms
The DefaultLayout plugin will come with options to render various parts
of the page by default or not. The expected default behaviour will try
to imitate the original StatusNet/GNU social looks as far as possible.
Mikael Nordfeldth [Fri, 6 Mar 2015 22:47:03 +0000 (23:47 +0100)]
Replies to replies without reloading page now work
Mikael Nordfeldth [Fri, 6 Mar 2015 22:46:08 +0000 (23:46 +0100)]
Hide the threaded-replies gray line.
Mikael Nordfeldth [Fri, 6 Mar 2015 22:21:57 +0000 (23:21 +0100)]
Make sure we save 0 as '0' because of DB_DataObject bug
Mikael Nordfeldth [Fri, 6 Mar 2015 20:20:46 +0000 (21:20 +0100)]
Reply notice forms are functional again, but not AJAX
Mikael Nordfeldth [Fri, 6 Mar 2015 19:42:50 +0000 (20:42 +0100)]
Remove some more reply-placeholder stuff
Mikael Nordfeldth [Fri, 6 Mar 2015 19:22:01 +0000 (20:22 +0100)]
No separate placeholder input element for replyforms
Also we're moving the rendering of these out into a separate plugin. Not
done yet, some javascript should be moved out as well.
Mikael Nordfeldth [Fri, 6 Mar 2015 19:04:09 +0000 (20:04 +0100)]
Make NoticeForm return the proper placeholder text
Also fixes some comments and uncertainties in the beginning of the
class definition.
Roland Haeder [Fri, 6 Mar 2015 00:44:57 +0000 (01:44 +0100)]
Merge branch 'nightly' into social-nightly
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Fri, 6 Mar 2015 00:43:25 +0000 (01:43 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Thu, 5 Mar 2015 23:47:18 +0000 (00:47 +0100)]
Get the values from the correct object.
Mikael Nordfeldth [Thu, 5 Mar 2015 23:44:00 +0000 (00:44 +0100)]
Values of 0 would not be updated because of DB_DataObject
Upstream bug causing (int)0 to be interpreted as a "null string":
https://pear.php.net/bugs/bug.php?id=20291
Roland Haeder [Thu, 5 Mar 2015 23:01:27 +0000 (00:01 +0100)]
Merge branch 'nightly' into social-nightly
This branch will serve as a "pre-beta", or so. :-) And it will contain commits
from both my social-master and my local nightly branch.
Signed-off-by: Roland Haeder <roland@mxchange.org>
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>
aroquen [Thu, 5 Mar 2015 21:19:57 +0000 (22:19 +0100)]
Make attachment fit better in notice: drop text and link
Roland Haeder [Thu, 5 Mar 2015 22:49:26 +0000 (23:49 +0100)]
Merge branch 'nightly' of gitorious.org:social/aroquen-mainline into nightly
Signed-off-by: Roland Haeder <roland@mxchange.org>
aroquen [Thu, 5 Mar 2015 21:19:57 +0000 (22:19 +0100)]
Make attachment fit better in notice: drop text and link
Roland Haeder [Thu, 5 Mar 2015 21:04:51 +0000 (22:04 +0100)]
Merge branch 'master' of gitorious.org:social/mainline into nightly
Conflicts:
README.md
Signed-off-by: Roland Haeder <roland@mxchange.org>
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>
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>
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>
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>
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>
Mikael Nordfeldth [Thu, 5 Mar 2015 10:59:31 +0000 (11:59 +0100)]
Actually show all images as <img /> tags.
Browsers should be secure enough by now for this.
Mikael Nordfeldth [Thu, 5 Mar 2015 10:59:11 +0000 (11:59 +0100)]
SVG files can be used as thumbnails I guess
Mikael Nordfeldth [Thu, 5 Mar 2015 10:54:30 +0000 (11:54 +0100)]
Some SVG files are "text/html" according to 'file'
Mikael Nordfeldth [Thu, 5 Mar 2015 10:53:52 +0000 (11:53 +0100)]
ImageMagick sucks at vector graphics, so only use for rasterization
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>
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>
Roland Haeder [Wed, 4 Mar 2015 13:52:14 +0000 (14:52 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly
Conflicts:
classes/File.php
Signed-off-by: Roland Haeder <roland@mxchange.org>
Roland Haeder [Wed, 4 Mar 2015 13:50:07 +0000 (14:50 +0100)]
No need for execute-right here.
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Wed, 4 Mar 2015 12:50:20 +0000 (13:50 +0100)]
ImageMagick plugin can now make thumbnails of SVG files
Mikael Nordfeldth [Wed, 4 Mar 2015 12:46:51 +0000 (13:46 +0100)]
Used ->find(true) on wrong object
Mikael Nordfeldth [Wed, 4 Mar 2015 12:45:42 +0000 (13:45 +0100)]
Reset imgPath variable if VideoThumbnails failed
Mikael Nordfeldth [Wed, 4 Mar 2015 12:29:18 +0000 (13:29 +0100)]
Documentation and more understandable code.
Mikael Nordfeldth [Wed, 4 Mar 2015 12:13:04 +0000 (13:13 +0100)]
Use getUrl() on File and File_thumbnail instead of ->url
Mikael Nordfeldth [Wed, 4 Mar 2015 12:12:42 +0000 (13:12 +0100)]
Move thumbnail algorithm mainly to ImageFile class
Mikael Nordfeldth [Wed, 4 Mar 2015 11:18:44 +0000 (12:18 +0100)]
Free ImageMagick object from memory when done with it
Mikael Nordfeldth [Wed, 4 Mar 2015 11:06:21 +0000 (12:06 +0100)]
ImageMagickPlugin refactored so we can more easily add new formats
Mikael Nordfeldth [Wed, 4 Mar 2015 10:49:54 +0000 (11:49 +0100)]
Subscription_queue::start does not mean Subscription exists
Mikael Nordfeldth [Wed, 4 Mar 2015 10:38:04 +0000 (11:38 +0100)]
Subscription::ensureStart skips AlreadyFulfilledException
Sometimes we just want to accept the user's wrong, but when it comes
to remote APIs etc. we probably want to let the client know it has
done something already (in this case multiple identical subscription
requests - which might indicate to it that it should refresh the sub
lists or something).
Roland Haeder [Tue, 3 Mar 2015 20:22:47 +0000 (21:22 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Mon, 2 Mar 2015 19:37:59 +0000 (20:37 +0100)]
FillImageFileMetadata event documented
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>
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>
Roland Haeder [Sun, 1 Mar 2015 17:30:18 +0000 (18:30 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly
Conflicts:
plugins/Blog/BlogPlugin.php
plugins/Blog/classes/Blog_entry.php
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Sun, 1 Mar 2015 15:48:01 +0000 (16:48 +0100)]
Bug tracker link updated.
Mikael Nordfeldth [Sun, 1 Mar 2015 15:48:01 +0000 (16:48 +0100)]
Bug tracker link updated.
Mikael Nordfeldth [Sun, 1 Mar 2015 13:32:48 +0000 (14:32 +0100)]
Blog depended on TinyMCE which was unmaintained
Roland Haeder [Sun, 1 Mar 2015 12:02:10 +0000 (13:02 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly
Signed-off-by: Roland Haeder <roland@mxchange.org>
Mikael Nordfeldth [Sun, 1 Mar 2015 11:47:48 +0000 (12:47 +0100)]
Aahhh, gotta run php -l before pushing stuff!!!
Mikael Nordfeldth [Sun, 1 Mar 2015 11:45:58 +0000 (12:45 +0100)]
Forgot to make syntax edits on last commit.
Mikael Nordfeldth [Sun, 1 Mar 2015 11:36:19 +0000 (12:36 +0100)]
User class throws exception on register failure