Commit graph

401 commits

Author SHA1 Message Date
friendica
d7aaff459f let normal hashtags be quoted strings also 2014-04-12 16:58:19 -07:00
friendica
5cb7e48dad major cleanup of handle_tag() 2014-04-12 15:53:52 -07:00
friendica
567b5d053d handle new tag declarations 2014-04-12 03:31:24 -07:00
friendica
71929c6caa add forum mode to tag handling 2014-04-12 00:56:04 -07:00
friendica
50c608482a mod/item - get rid of some failed experiments, duplicated code and unused code. 2014-04-06 16:17:21 -07:00
friendica
8b0721cf35 this makes rpost to another channel work somewhat - but there are issues, since the ACL will belong to the wrong channel. Leaving disabled for now. I don't know that we can solve all the issues without a different design so this may end up in a plugin for those who are willing to put up with the shortcomings. 2014-04-05 03:53:04 -07:00
friendica
4901ef8faf provide the ability for rpost to post as another of your channels. This does not yet work, so the functionality has not been enabled. 2014-04-05 02:32:07 -07:00
friendica
f832e59585 doc updates, plus back-end work for rpost to let you post to a different channel than your current logged-in channel. Need the same for rbmark back-end. Then we "just" need a selector widget on the editor forms. 2014-04-04 15:25:18 -07:00
friendica
6ba32d714d save notes every ten seconds while focused, then save them once more on focusout 2014-04-01 14:52:47 -07:00
friendica
85d61813ca another complication to deletion 2014-03-28 01:19:30 -07:00
friendica
34403d3bd3 fix delete missing permission check 2014-03-28 01:12:52 -07:00
friendica
d99eaf1510 a few more delete fixes 2014-03-27 20:43:37 -07:00
friendica
a6d8668a5f try and sort out the item delete mess 2014-03-27 20:28:48 -07:00
friendica
2b6feeb835 this will probably fix the uploaded photo permission issue, if not it should be close 2014-03-27 15:56:31 -07:00
friendica
267283748f Red API: /api/red/item/new ; which is like /api/statuses/update except it uses Red semantics and returns success/failure indication. 2014-03-04 19:57:54 -08:00
friendica
3bddaa9e04 title missing in private mention posts 2014-02-20 15:00:29 -08:00
friendica
5747e20e50 some more snakebite and fix up include/account - forgot about that inline array stuff 2014-02-18 16:59:31 -08:00
friendica
df22a78936 Merge pull request #314 from zzottel/master
Make @!-tags safer
2014-02-17 15:09:11 +11:00
friendica
ebd52368bb strip hard-wired zids from posted links as they will have the wrong identity when somebody tries to view the link 2014-02-16 14:13:26 -08:00
friendica
eadf5121d0 rev update and a minor fix (missing param) to force_refresh 2014-02-14 12:39:15 -08:00
zottel
7a6fcd9ea4 make sure the user can't inadvertently send a post with @!-tags to an
unintended audience because he had browsed the Matrix by collection or
by contact
2014-02-14 11:08:05 +01:00
friendica
b5728fa42e fixes to thing profile assignments 2014-02-11 16:56:39 -08:00
friendica
a7fa14800d better bookmark escaping 2014-02-10 01:44:21 -08:00
friendica
a76c53657b don't add bookmark tags to naked links inside code blocks 2014-02-10 01:11:59 -08:00
friendica
c5f0b85357 fix wall photos 2014-02-09 00:30:43 -08:00
friendica
e346aa7560 that's better 2014-02-08 12:08:07 -08:00
friendica
e71571f619 revert last fix, it double tags 2014-02-08 12:02:45 -08:00
friendica
92dea7888b allow somebody to type #^{{naked link}}
--  auto-linkify it and create a bookmark tag.
2014-02-08 11:53:47 -08:00
friendica
ae6bd7dc1e fix issue with double linkify in the git feed 2014-02-07 15:41:31 -08:00
friendica
9b2dc9b87c make all naked links bookmark-able 2014-02-06 16:22:40 -08:00
friendica
8a11c29413 make links in comments bookmark-able 2014-02-04 19:39:56 -08:00
friendica
9ce3dac479 some tagging fixes - including old bugs which were never reported 2014-02-03 19:54:32 -08:00
friendica
876f5d4de0 transmit, receive, and parse bookmarks 2014-02-03 19:38:15 -08:00
friendica
d5bf53c54c bring photo tagging back which hasn't worked since forking from Friendica - this is untested and displaying photo tags will now be broken as we're now storing tags with the item attached to the photo and not in the photo. But the point is we've eliminated the OStatus/SWAP0 forced spam crap and can start fresh. 2014-01-19 23:37:46 -08:00
friendica
ed9a72ecbe preserve mid on edits 2014-01-10 19:01:24 -08:00
friendica
db8ebc9f37 some minor cleanup on plinks for some very subtle permissions issues 2014-01-09 15:45:17 -08:00
friendica
587c5d3e46 a few fixes to webpage editing 2014-01-04 13:44:43 -08:00
cvogeley
24850a4ea4 Merge pull request #254 from cvogeley/master
Webpage fixes for the moment without the fix for page not found after editing a webpage
2014-01-03 12:28:34 -08:00
friendica
76106e16d5 fix attachment rendering for preview 2014-01-01 21:09:12 -08:00
Christian Vogeley
22e94d7d68 Correct wrong service class check for webpages 2013-12-31 16:03:25 +01:00
friendica
6e81c332b7 group ACL control using tags (group must be "visible") 2013-12-29 23:47:19 -08:00
friendica
3f110567a1 handle exclusive tags and add to ACL 2013-12-29 16:30:11 -08:00
friendica
c03c0724ed basic support for exclusion tags - we just need to use the results to tweak the ACL. 2013-12-29 16:12:39 -08:00
friendica
c1a85ccbec add ability to set created date/time from the api 2013-12-22 14:29:15 -08:00
friendica
5279f3bf6f issue #237 - when manually changing an uploaded photo URL in a post to an invalid URL that happens to not throw an error, it affects the ability to parse the URL to see if it's a local image and correct permissions. The correct way to do this is to change the '-2' to '-1' if you want 640 instead of 320 and '-0' if you want the original size - which is not likely to win you many friends if it happens to be a 42 megapixel photo. We might have limits in place to prevent monster photos from destroying everybody's streams, but many services you export the post to will probably not. 2013-12-10 20:48:54 -08:00
friendica
7aa7f0f4eb allow editing posts on connectors that support edits 2013-11-26 15:50:30 -08:00
friendica
fe9162395a sort out the preview icons 2013-11-25 14:54:14 -08:00
friendica
cbe096dd90 wp-to-red: now supports editing, titles, and native permalinks 2013-11-25 14:20:57 -08:00
friendica
c63a18a250 Add some message_id meta information for wordpress posts so we'll know where to send comments 2013-11-24 20:28:51 -08:00
friendica
13538cdd21 pull in some posts when we first connect with a new channel (if allowed to) - if not allowed to, do it if that condition changes 2013-11-17 19:22:24 -08:00
friendica
251ba6db30 fix photo permissions on encrypted posts 2013-11-13 03:15:07 -08:00
friendica
7381326b7a provide expire feature on post and comments as well as private messages. This requires a feature setting and is currently unmaskable - if the author says it's gone, there's not a lot you can do to stop it or try and save it. It's gone. 2013-11-07 00:47:50 -08:00
friendica
c61a0d9dab private tagged posts weren't creating second delivery chain - they were incorrectly being marked as "in a reshare" due to being obscured. 2013-11-04 16:44:23 -08:00
friendica
d39f1c570c part one - honour system.tagifonlyrecip pconfig, default is false - not ready to deal with the second part yet (changing the tag char for tag_deliver channels) without a bit more discussion/concensus. 2013-10-19 16:22:07 -07:00
friendica
100043da38 oauth wasn't logging in properly, also fixed api status_show to return last public post, not the last private post 2013-10-15 15:51:20 -07:00
friendica
9787872778 linkify post categories 2013-10-14 15:34:47 -07:00
Olaf Conradi
095d1bae26 Typo in replaced variable 2013-10-12 19:27:39 +02:00
friendica
7cd1bd59b2 bug 175 - categories not updated when editing 2013-10-11 20:44:13 -07:00
Olaf Conradi
c422fad899 Typo and whitespace 2013-10-07 00:56:22 +02:00
friendica
ff7182f441 fix a bunch of post editing bugs - though this consolidates some disparate code and may create some new bugs due to regression 2013-10-04 04:47:41 -07:00
friendica
78a8d176ac post signatures 2013-10-02 21:04:48 -07:00
friendica
110974eb55 fix can_comment_on_post when viewing wall-to-wall 2013-09-28 04:41:12 -07:00
friendica
fd2379530c hopefully(?) the final word on remote comment permissions 2013-09-20 20:15:53 -07:00
friendica
1126d8f2e3 hopefully this will go over a bit better - check post owner permissions as well as local owner permissions for comments during submission, since the comment was being blindly accepted on the local system due to only checking the profile owner. Also change collections query to include only top-level posts by a member of the collection. 2013-09-20 17:58:11 -07:00
friendica
9d718ac529 sync photo permissions with the attached item whenever they change. 2013-09-17 17:38:43 -07:00
friendica
3e5414cf35 provide detailed error to remote site for the myriad of things that can go wrong inside item_store(), !! this changes the return of item_store !! 2013-09-10 19:06:06 -07:00
Christian Vogeley
b4a2361efc . 2013-09-08 21:52:05 +02:00
Christian Vogeley
a73f8291c3 retrun check 2013-09-08 21:45:35 +02:00
Christian Vogeley
e70c9b3613 Merge service class
//service class configure in .htconfig.php:
$a->config['system']['default_service_class']='standard';  // this is
the default service class that is attached to every new account
$a->config['service_class']['standard'] =
array('photo_upload_limit'=>20000000, // total photo storage limit per
channel (here 20MB)
 'total_identities' =>5, // number of channels an account can create
'total_items' =>2000, // number of top level posts a channel can
create. Applies only to top level posts of the user, other posts and
comments are unaffected
'total_pages' =>10, // number of pages a channel can create
 'total_channels' =>500, // number of channels the user can add, other
users can still add this channel, even if the limit is reached
 'attach_upload_limit' =>20000000); // total attachment storage limit
per channel (here 20MB)
2013-09-08 18:03:26 +02:00
Christian Vogeley
f4dfb90dbc Service class items
Items / webpages /attachment message
2013-09-08 17:19:09 +02:00
friendica
63c60b224c provide mimetype selector on edit (pages and blocks) 2013-09-06 03:10:25 -07:00
friendica
a0668c8bbb fix private message encryption since the input_filter mangled it 2013-09-03 22:48:08 -07:00
friendica
7b84b8480f security fix and ability to change layout on webpage edit form 2013-09-03 16:31:59 -07:00
friendica
56e408f467 pass execflag - Working for preview but not yet executing on page render 2013-09-02 16:29:52 -07:00
friendica
7c775db9d6 fix webpage storage 2013-09-02 16:01:29 -07:00
friendica
8b7757e033 webpage content-type -- needs cleaning up and a security check once all the important bits are in place. 2013-09-02 01:38:17 -07:00
friendica
caa148c1e3 Sheesh. Three lines of Javascript. All you have to do is find which of the three lines is doing something wrong. Or FILE A BUG. Or use a different browser (not *try* a different browser, *use* a different browser), or turn off freaking tinymce. But no - let's argue about browsers instead. 2013-09-01 19:15:08 -07:00
friendica
cbab62c95e add layouts and editlayout and rework the page logic in mod/item 2013-09-01 18:22:31 -07:00
friendica
de3345f5f3 This isn't optimal, but on the short term we'll clone the page editor to use as a block editor, and probably a layout editor as well. Eventually, these should all probably just be switches onto a single editor instance. Decided to put the layout_mid into the item table directory rather than re-use resource_id, so that we can still have pages attached to different resources like photos and events and stuff. The block editor is far from finished, at this point I've only cloned it and changed the name and type of item it looks for. 2013-09-01 17:07:55 -07:00
friendica
04f8de184e block content-type (called ITEM_BUILDBLOCK to avoid confusion with content that is blocked) 2013-08-12 17:42:52 -07:00
friendica
85c7d7165f yhis should fix the privacy leak - as well as non-private replies to private posts 2013-08-01 14:27:40 -07:00
friendica
0d22e1eefb fix some privacy leakage in logs 2013-07-31 18:57:14 -07:00
friendica
7b3c29ebe6 fix bug #84, make imported messages from your clones show up on your wall 2013-07-29 17:30:46 -07:00
friendica
d002ff668a encrypt private messages on disk - there are still a couple of places where the text is leaked in the logs during processing. 2013-07-28 21:04:03 -07:00
friendica
ae8316a2ca autotag clean-up, mop up, and go home 2013-06-27 20:49:45 -07:00
friendica
e84f44710a testing autotag 2013-06-27 20:28:55 -07:00
friendica
230aeb782e if you send a private post to an @-taggable channel (and nobody else), tag them. This sort of implements what Zottel was asking for - posting to a forum by posting only to the forum without having to tag it. Taggables are already highlighted in the ACL widget so as to avoid privacy surprises.
Currently untested but shouldn't take much to get working if it isn't working already.
2013-06-27 16:12:04 -07:00
friendica
2e7afa96f4 map comment_policy on local post submission 2013-06-18 19:15:33 -07:00
friendica
87e4f50eda hijack the #getzot tag 2013-06-15 02:31:34 -07:00
friendica
08a4ffd663 convert most red photos to zmg 2013-05-28 04:50:16 -07:00
friendica
deedac6ae5 workarounds for people that re-install and end up polluting everybody's databases with stale entries 2013-05-16 20:21:12 -07:00
friendica
112dbf3abd get search page working with live-update and endless scroll, still not perfect - there may be duplicated content and possibly unauthorised content and 'timeago' not working correctly - will deal with those later, but at least you can see results. 2013-05-09 18:08:00 -07:00
friendica
db038c5654 turn naked links in posts into zrl's if we've got a hubloc for the site 2013-04-18 17:55:35 -07:00
friendica
7e6890832b turn all Red links into zrls (not the old zrls, the new bbcode zrl which means we can zidify them) 2013-04-15 03:00:08 -07:00
friendica
ddf5bf8968 rename 'uri' (and parent_uri) to 'mid' (and parent_mid) since these no longer remotely resemble uri's and are actually message_id's. This change is potentially destabilising because it touches a lot of code and structure. But it has to get done and there's no better time than the present. 2013-03-21 18:25:41 -07:00
friendica
6a4170ab01 prepare for multiple content types 2013-03-14 22:21:38 -07:00
friendica
ba3cff6d9a progress on tag delivery 2013-02-11 00:20:14 -08:00
friendica
1e8146fc5c work on notifications 2013-02-06 20:29:17 -08:00
friendica
f3eb2eb9e7 convert wall_upload to use the photo api 2013-02-05 16:54:09 -08:00
friendica
e2dd38b0bc ensure that stored tag terms are taken after term expansion, e.g. @"Mike Macgirvin" and not @"mike+2" 2013-02-02 04:38:40 -08:00