Commit Graph

3138 Commits

Author SHA1 Message Date
friendica
bccc20f38c default photo issue, and connections page showing deleted accounts. Also show last updated on connedit page 2013-12-19 19:16:46 -08:00
friendica
6c2ea59cde give doc/help alternate mimetype support 2013-12-19 17:44:30 -08:00
friendica
564f431551 comanchificate mod_photos 2013-12-19 17:36:31 -08:00
friendica
7c81889b33 make default profile photo configurable - should be functional but needs admin ui 2013-12-19 16:33:36 -08:00
friendica
825492407e more comanche 2013-12-19 02:35:45 -08:00
friendica
b28a37c38e more comanche 2013-12-19 02:25:44 -08:00
friendica
125543aded more comanche migration 2013-12-19 02:16:14 -08:00
friendica
2089a1379a provide git revision in siteinfo if possible and if not instructed otherwise 2013-12-18 18:29:53 -08:00
friendica
1a4c91ccf5 Add App::poi to store the "person of interest" for a given page. This is so we can comanchificate the vcard_from_xchan widget -- it will pick up the target xchan from the page environment. 2013-12-18 14:53:18 -08:00
friendica
38fd8410eb split off mod_connections into mod_connections & mod_connedit - lots of links to fix 2013-12-18 01:00:08 -08:00
friendica
1780684c57 split mod/connections for comanchification 2013-12-17 20:26:08 -08:00
friendica
1d82d93078 Merge https://github.com/friendica/red into zpull 2013-12-17 16:36:23 -08:00
friendica
44ead61339 authtest: do a better job of success/failure indication 2013-12-17 16:35:22 -08:00
zottel
b3e3073b99 JS-less display 2013-12-17 12:23:39 +01:00
friendica
50731fa6a6 bring back the collection edit sidebar widget on the connection edit page until I sort out Comanche on that page. 2013-12-16 13:34:34 -08:00
friendica
a7a775a718 install redbasic during setup so that at least one theme is registered. Otherwise none of the display settings seem to work very well. 2013-12-16 00:25:08 -08:00
friendica
5a3a72604b some re-work of mod_sources 2013-12-15 20:59:52 -08:00
friendica
731ab80ac2 set system.projecthome to 1 if you want the project page for a home page. There was a bit of re-org of mod/home, which might alter the behaviour for some existing sites. Basically we're not showing a login box at all if you've got home.html - there should be a login link in th nav bar. If you haven't defined anything at all we'll fall back to the old behaviour but still allow the home contents to be set via plugin. 2013-12-15 15:37:51 -08:00
friendica
0272ab4cd9 Provide a fallback channel to probe for magic-auth when we have no prior communications with a site.
This will be a system channel if one exists, otherwise any channel will do. We'll try to use the first
valid channel on the site because that was probably created when the site was installed and is the
closest thing to a system channel we've got.
2013-12-15 14:36:43 -08:00
friendica
db11f5af78 missed this 2013-12-14 17:06:50 -08:00
friendica
d14e2db6b4 make home.html fullpage mode - make directory search work for non-logged in, but leave off suggest and invite 2013-12-14 17:03:37 -08:00
friendica
c00f0d4b28 a couple more comanche conversions 2013-12-14 13:26:40 -08:00
friendica
0215043826 prepare for Comanchification of mod_photos 2013-12-13 13:30:33 -08:00
friendica
941f81eb30 check that every invocation of htmlspecialchars has the right arg list 2013-12-12 02:01:42 -08:00
friendica
b3fe221b7f issue #240 - we were using htmlentities instead of htmlspecialchars in several places, and this was a bit greedy in the set of characters which were converted from utf-8 to HTML entities. Also brought mail attachments up to date so they are rendered identically to item attachments. 2013-12-11 23:13:36 -08:00
friendica
b4e1e8a4a4 The affinity tool is not a "traditional" widget. But it is nevertheless a widget. It just makes fewer page layout decisions which are hard-coded. If you want to shrink it down and put it on the sidebar in your theme, go for it. 2013-12-11 19:43:41 -08:00
friendica
c57b6745e8 Merge https://github.com/friendica/red into zpull
Conflicts:
	view/theme/redbasic/css/style.css
2013-12-11 15:32:25 -08:00
friendica
06c81e189f Merge pull request #239 from git-marijus/master
make empty notes saveable as well
2013-12-11 15:35:54 -08:00
friendica
2c02f57f27 remove hidden and deleted channels from viewconnections 2013-12-11 15:04:09 -08:00
friendica
40e2900326 comanchify all the simple cases - those that only load a profile. Rework permission checks for the profile sidebar so that it is all done internally. Remove crepair which we aren't using. 2013-12-11 14:54:36 -08:00
Thomas Willingham
d93ba783f5 Don't let nobody set an xconfig in safe search. 2013-12-11 15:35:19 +00:00
marijus
48610a85dc make empty notes saveable as well 2013-12-11 11:25:20 +01:00
friendica
652959678f cleanup and Comanchification of mod_profile 2013-12-10 23:27:17 -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
e5ea4a009b mod channel is now Comanchified 2013-12-10 20:36:11 -08:00
friendica
0043ef66b6 mod_network is now running under Comanche. Yay. 2013-12-10 00:25:32 -08:00
friendica
e873f6e95e we're almost ready to turn on comanche for mod_network. All the widgets are done. 2013-12-10 00:05:31 -08:00
friendica
ed9f108722 comanchify the savedsearch widget 2013-12-09 21:20:55 -08:00
friendica
aaf21e8924 slight mod of connections widgets 2013-12-09 18:31:13 -08:00
friendica
70a81d6ad5 Merge branch 'master' of https://github.com/git-marijus/red
Conflicts:
	view/theme/redbasic/css/style.css
2013-12-09 15:45:52 -08:00
marijus
76d8501d67 saved search icon work and bugfixes for #tags not beeing deletable and save button showing if saved search is disabled 2013-12-10 00:32:49 +01:00
friendica
f85cba10eb notes widget 2013-12-09 15:27:46 -08:00
friendica
75ebf06131 some work on modularising the default profile photo so we can make them site selectable. Also red != friendica so we don't need all these friendica logos taking up space 2013-12-09 14:05:52 -08:00
zottel
c20f207cde enable JS-less display of channel 2013-12-09 13:30:35 +01:00
friendica
00f4ee2717 migrate follow widget to comanche and remove obsolete mod/intro.php 2013-12-09 00:12:44 -08:00
friendica
082ac67778 suggestion widget tweaked to make it comanche capable. Remove old versions of specs that are so obsolete it isn't funny. Zot protocol reference is in red's github wiki, and in the code. We should move the github copy to /doc once it is updated to match the code. There's no point in documenting dfrn in the red code base. 2013-12-08 20:08:50 -08:00
friendica
8959487f1c transition to $a->set_widget in /network on the short term - long term this will be in view/pdl files 2013-12-08 16:16:54 -08:00
friendica
d32e05fb5e starting on the journey to comanche everywhere - beginning with widget conversions. There are approximately 20 which need to be wrapped for accessibility to comanche. 2013-12-08 16:04:28 -08:00
friendica
30d110b498 Merge pull request #228 from tobiasd/nologin
add option to hide login form from homepage
2013-12-08 13:33:35 -08:00
friendica
48c650c715 improve editing ability of webpages - acls, photos, location, page link title, etc. 2013-12-07 15:20:12 -08:00
friendica
6dc157a9f9 finish ACL's in personal menus 2013-12-07 13:05:17 -08:00
friendica
08bbab9a06 show a clean url in the hovertip for suggested friends 2013-12-06 22:54:21 -08:00
friendica
6d3aebb483 add suggestions to a couple of other pages 2013-12-06 21:45:36 -08:00
friendica
f45b06ffa0 suggestion widget 2013-12-06 21:40:01 -08:00
friendica
e70b0d4e20 need include/conversation for events now 2013-12-06 20:01:32 -08:00
Tobias Diekershoff
6c6c8a2451 add option to hide login form from homepage 2013-12-06 12:00:43 +01:00
friendica
5382f607d9 yeah - that's what I'm going to do. we'll just keep system notifications. If somebody wants web pages for the others we'll start fresh. It's easier than starting with curfty friendica code that doesn't work anymore and will never work without starting over. 2013-12-06 00:11:15 -08:00
friendica
1aa79d9ee6 some code cleanup - gad I forgot what a mess the "other" notifications tabs (everything but system) were in. Maybe I'll just remove them so we can start over. 2013-12-06 00:02:39 -08:00
friendica
78d19f3395 move profile tabs and network/matrix tabs to include/conversation 2013-12-05 21:00:14 -08:00
friendica
fefdd24b2c Merge https://github.com/friendica/red into zpull 2013-12-05 20:40:51 -08:00
friendica
7ae371d286 couple of errant SQL queries 2013-12-05 20:40:27 -08:00
friendica
28ac593e67 remove some cruft 2013-12-05 20:34:39 -08:00
friendica
5282bf69b5 Merge pull request #223 from zzottel/master
Make it possible to change collection visibility without changing name.
2013-12-05 19:31:42 -08:00
friendica
b3f6220226 make some "selection-is-selected" classes work again 2013-12-05 19:23:30 -08:00
friendica
1c3c3c64bc issue #224 2013-12-05 19:07:59 -08:00
friendica
38577cf26c issue #225 2013-12-05 18:17:16 -08:00
friendica
539988b62f couple of additional checks 2013-12-05 15:55:14 -08:00
friendica
d66d8ff524 mod_authtest --- magic-auth diagnostic for those that are too freaking important to read logs or code and expect others to be able to debug complex authentication transactions with no information beyond "it didn't work". This will provide a transaction report including both sides of the exchange that you can paste into a bug report and that a developer can actually figure out where in the transaction that things went wrong and maybe even be able to then figure out why. 2013-12-05 15:40:50 -08:00
zottel
0e9df93a69 Make it possible to change visibility without changing name. 2013-12-05 13:44:31 +01:00
friendica
cc1e906825 generate a small amount of entropy to avoid duplicate notifications from essentially simultaneous deliveries. 2013-12-04 23:54:46 -08:00
friendica
13feafce17 add poco and follow to default xchan creation 2013-12-04 18:30:14 -08:00
friendica
d8903f09f5 include re-organisation and more doco, post_to_red fix ampersands in categories 2013-12-04 00:19:29 -08:00
friendica
7187c493e1 add hooks to zot-finger and import_xchan 2013-12-03 17:55:10 -08:00
friendica
f57909d190 on successful magic-auth, put remote_service_class and remote_hub into the session 2013-12-03 16:31:05 -08:00
friendica
6c321be03c reorganise a few included functions - notably identity related functions 2013-12-03 15:35:13 -08:00
friendica
645e897852 more work on magic-auth 2013-12-02 19:06:54 -08:00
friendica
e0f4a76856 magic-auth re-factor 2013-12-02 17:35:44 -08:00
friendica
d9f67876dc refactor magic-auth 2013-12-02 15:15:02 -08:00
friendica
3fdc3515b5 some work on events permissions 2013-12-01 23:49:52 -08:00
friendica
92f60ef51f get rid of deprecated post_url() function 2013-12-01 19:52:18 -08:00
friendica
194c1e7abc file corruption 2013-12-01 19:29:11 -08:00
friendica
71e67f6347 document the ping packet - and remove the ancient rusty brown square default profile photos. 2013-12-01 19:02:36 -08:00
friendica
fa5366bb95 don't magic-auth against a deleted channel 2013-12-01 17:18:09 -08:00
friendica
77186fa7cd magic auth fix plus doco 2013-12-01 17:12:29 -08:00
friendica
b1e775a7a1 zot documentation inline in the code where we need it most. 2013-12-01 16:11:18 -08:00
friendica
1c5f98440d quite a bit of work on default acl permissions and various acl quirks 2013-11-29 14:09:21 -08:00
friendica
df66c510c9 allow zot-info to return results for address= with webbies or naked nicknames 2013-11-29 00:57:47 -08:00
friendica
d1ab865ccf make the template processor (e.g. replace_macros) pluggable 2013-11-28 19:17:45 -08:00
friendica
64b467ea98 reduce the likelihood that a given channel will have 30-40 valid hublocs with the same hubloc_url. 2013-11-27 02:51:16 -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
cf3e6a34ae Merge pull request #214 from tuscanhobbit/master
admin user table now shows the channel list and ID, minor changes to admin summary table
2013-11-25 03:00:05 -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
tuscanhobbit
421cacfc8d admin user table now shows the channel list, minor changes to summary 2013-11-24 23:06:03 +01:00
tuscanhobbit
2e41777963 a reference to account_id was missing in user admin table 2013-11-23 19:46:07 +01:00
marijus
3a4c32475e search should respect max items to load as well 2013-11-22 14:17:47 +01:00
friendica
f2435ed4cd follow and accept_follow hooks 2013-11-21 17:49:14 -08:00
friendica
8cdbd0e2a6 make default group for new connections work 2013-11-21 17:31:37 -08:00
friendica
3e0ac769aa white screen 2013-11-21 17:23:14 -08:00
friendica
8f236771c6 mark hublocs with incorrect sitekeys deleted 2013-11-21 14:42:48 -08:00
friendica
7f4e4ab688 Add #include mechanism for help pages - see the top of mod/help.php for details 2013-11-21 14:41:31 -08:00
friendica
6ddb57e0da mod/help - load Site.md (if it exists) before Home.md. Site.md will typically provide local resources. Site.md can either include the complete contents of Help.md or link to it, as you choose. 2013-11-21 14:19:31 -08:00
friendica
d7ee552c57 Protocol: now set data['alg'] on all encapsulated encrypted packets, so that we can more easily retire 'aes256cbc' once it is no longer viable. 2013-11-20 15:20:12 -08:00
friendica
dc6cd8a701 admin/users - add expiration date to table and ability to sort by reverse expiration and also filter by service class through url options 2013-11-18 15:38:02 -08:00
friendica
fce5f2042d resetting password tries to update email address even if it didn't change - and if you've got the admin email this spits out a warning. 2013-11-18 14:06:34 -08:00
friendica
b1a4dc7d7e set a default value for $webbie - it's the right thing to do. 2013-11-18 01:00:04 -08:00
friendica
718f69c6fc to clarify the fact, we'll remove the line we no longer need instead of commenting it 2013-11-18 00:57:56 -08:00
friendica
fa8f26c544 change the way magic-auth works - we rarely need a destination channel and if that channel has problems
it shouldn't mess up authentication to the hub.
2013-11-18 00:55:41 -08:00
friendica
dd6c64f95a magic auth issues 2013-11-17 23:12:34 -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
06e0272db8 populate some posts when somebody is granted "read stream" permission 2013-11-17 16:50:32 -08:00
friendica
28b0eb9c33 more work on redmtx.com magic-auth situation 2013-11-17 14:28:13 -08:00
friendica
bec85f1494 implement admin remove account 2013-11-17 13:54:43 -08:00
friendica
92f37fd0d5 document extra features 2013-11-17 01:10:46 -08:00
friendica
e8c9dafb90 revert to prepare_page - but have it call prepare_body 2013-11-15 15:32:26 -08:00
friendica
0b8c9654ea allow rpost to set source app 2013-11-15 03:10:00 -08:00
friendica
09d357ed47 baby steps tring to get magix auth working for redmtx 2013-11-14 19:23:56 -08:00
friendica
bf709d49ba dirsearch and pubsites - force non-SSL sites to float to the bottom of the list 2013-11-14 18:36:09 -08:00
friendica
512c52fbbd making it less complicated to join 2013-11-14 18:08:05 -08:00
friendica
c2274403c7 define js profile_uid in photos module 2013-11-14 15:53:31 -08:00
friendica
592c24e162 e2ee in comments and a bit of cleanup so not every theme has to define how to insert bbcode, only if they're doing something special (e.g. this is how to implement a javascript plugin :-)), and I got rid of the predefined http:// in the bbcode for urls. You're almost always pasting a url which already has that bit and it just creates an extra step. 2013-11-14 15:41:25 -08:00
friendica
49a392942c acl in webpages and a couple of other little bits related to webpages - sort the list of pages by last edited and use prepare_body() so we get private stuff (and attachments, categories, etc.) formatted correctly 2013-11-14 14:19:20 -08:00
friendica
ee629534d5 E2EE on private mail (also fixed autocomplete results dropdown for recipient which was positioned below the navbar instead of next to the recipient input box) 2013-11-13 23:10:29 -08:00
friendica
13fb987b04 some minor documentation updates and corrections 2013-11-13 16:30:20 -08:00
friendica
4e9103830c clicking on an event notification from somebody else should take you to view event - not edit event. Need to also check permissions on event module because reaching this form shouldn't have been possible without event write permissions. 2013-11-13 14:18:07 -08:00
friendica
251ba6db30 fix photo permissions on encrypted posts 2013-11-13 03:15:07 -08:00
friendica
be7e732391 fix forbidden photos and vcard photo template 2013-11-12 19:25:23 -08:00
friendica
c803f620e6 too many friendica references in the siteinfo panel 2013-11-12 18:47:55 -08:00
friendica
b26989bb65 removeme sort of works for a single channel - lots of loose ends to deal with but it's a start 2013-11-12 18:27:36 -08:00
friendica
b233166d20 fix editpost which showed an encrypt button but no other buttons 2013-11-11 00:35:33 -08:00
Thomas Willingham
888d7e05bf More safe search - since the default is one, toggle only works after
an initial xconfig is set - the first one will turn safe search on
(ie, do nothing from a users point of view).  Fix that.
2013-11-11 06:13:17 +00:00
Thomas Willingham
c8008039d8 When toggling safesearch, go back to the directory page, rather than the z_root by default. 2013-11-11 03:09:45 +00:00
friendica
e06b0aa767 Merge https://github.com/friendica/red into zpull
Conflicts:
	mod/directory.php
2013-11-09 12:14:06 -08:00
Thomas Willingham
8569fda732 Clean up 2013-11-09 18:45:52 +00:00
Thomas Willingham
7b29400c6c Bring safe search to the UI 2013-11-09 18:43:40 +00:00
Thomas Willingham
6f2163a08e Add a safesearch toggle 2013-11-09 18:13:08 +00:00
marijus
b2bb308e24 oups... should not do that... 2013-11-09 18:32:59 +01:00
marijus
3fbf78a859 fix directory leaking to ppl which aint got zot in searchbar-autocomplete if block_public is enabled 2013-11-09 17:56:19 +01:00
Thomas Willingham
420a80e8f3 Kill logging/comment 2013-11-09 15:38:24 +00:00
Thomas Willingham
c030330abc Fix safe search, and also make it an xconfig 2013-11-09 15:36:14 +00:00
friendica
cb37c0ce14 make PM expiry UI match the main post editor, e.g. JS input triggered by an icon rather than a scary looking text field 2013-11-07 15:30:59 -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
6162de142c allow private mail sender to set an expiration on their messages. Once expired the message is destroyed at both ends (subject to the granularity of the polling interval) and is gone. Officially it takes some form of language independent string like 2013/11/22, but English speakers can use anything that strtotime() understands, like "+30 minutes" or "next Tuesday". 2013-11-06 18:28:36 -08:00
friendica
8b9633e46b DB - allow private messages to expire 2013-11-06 17:27:51 -08:00
friendica
310ccfda99 INSTALL for dummies - step 1: ensure that we throw an ugly error message in their face
if there's an ugly error when we first try to install. DON'T white screen until after
they've got it running.
2013-11-05 19:45:02 -08:00
friendica
5c71ccba98 add shameless plug if they've not got zot, and add photo favicon to photos pages 2013-11-05 18:20:37 -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
a966e53ee4 hmmph. That's why the sort order didn't change... 2013-11-03 15:22:22 -08:00
friendica
cea11c9498 make date order the default for the directory 2013-11-03 15:20:40 -08:00
friendica
9158909fa3 return a login form on some protoected pages if not logged in. 2013-11-02 23:56:29 -07:00
friendica
8eed3a1006 doc updates 2013-11-02 15:45:38 -07:00
Thomas Willingham
ced0a9ab74 Don't set widgets if you're not a local user. 2013-11-02 21:11:43 +00:00
friendica
09ca39fd08 provide an html src converter 2013-10-31 22:08:10 -07:00
friendica
3a7a671738 fix order of args for array_key_exists and allow rpost to accept html 2013-10-30 21:36:33 -07:00
friendica
d61347201e allow rpost parameters to survive a login if you weren't locally logged in at the time. 2013-10-30 20:42:43 -07:00
friendica
bba188eae3 if registration is disabled, send the site register link to pubsites 2013-10-30 18:49:14 -07:00
friendica
2035a5dd76 allow zot public providers to list their location, as a non US-based server could be a strong selling point. 2013-10-30 01:58:45 -07:00
friendica
ad31724fd1 prevent loops 2013-10-29 21:52:46 -07:00
friendica
ed8f14549f send rpost requests from remote sites back to yours. 2013-10-29 21:49:10 -07:00
friendica
75ba7ae116 rpost bbcode tag 2013-10-29 18:46:51 -07:00
friendica
4415ed7820 mod_display - if we are given the mid of a webpage, redirect to that webpage. This lets us include webpages in searches and 'view in context' will do the right thing. 2013-10-28 18:20:04 -07:00
friendica
1380bee82c Comanche documentation and some cleanup of layout page (including link to doco) and a few other webpage related cleanups 2013-10-28 17:48:42 -07:00
friendica
52f447513f typo 2013-10-27 21:18:33 -07:00
friendica
3ee90ef31d remote sharing seemed so easy. It's not. It's not happening today. But at least we've got the important bits in place and the reasons why it doesn't work are known and somewhat documented. 2013-10-27 21:16:28 -07:00
friendica
9b7994a9b7 remote post module so that from anywhere on the web or at least within the matrix you'll be able to share content or we can have apps on other sites that post status updates on your wall. All with your permission of course as you'll have to click "share" to actually post it. 2013-10-27 20:01:28 -07:00
friendica
3da20b3797 directory leaking hidden channels - logic issue 2013-10-24 18:34:55 -07:00
friendica
3fa6737726 Another stab at cleaning up the photos module. This should make permissions behave a bit better and show the "this is you" photo for commenting and get rid of most of the old "visitor and "contact" cruft. 2013-10-24 16:47:34 -07:00
friendica
c88fd01205 basic support (still needs some js to expose it) for sharing an item on a remote site by sending it through oexchange on your home hub. Untested. 2013-10-23 21:49:50 -07:00
friendica
7b7ef56b54 replace text links with icons on design pages 2013-10-23 19:35:51 -07:00
friendica
acca7893e8 move killme inside module function so that typo works 2013-10-22 17:41:54 -07:00
friendica
985d8091ad very early cloud demo code - READ THE FRICKIN NOTES and also THE CODE in mod/cloud.php - there is no other documentation. Use at your own risk. Send all bug reports to nobody@nowhere.com. 2013-10-22 17:34:39 -07: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
4ce948731a doc - complete hook list, still need detailed functional descriptions with parameters and examples for each 2013-10-18 15:48:59 -07:00
friendica
3772682204 Put a status editor on the display page if you're logged in. This fixes issue #113 and also provides the ability to reshare from that page. 2013-10-18 14:25:55 -07:00
friendica
a3b358d025 wrong app name 2013-10-16 00:17:16 -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
Thomas Willingham
9945c1844c Issue #181 2013-10-14 21:44:35 +01:00
friendica
454aa6bff3 turn off endless scroll if we have no more content to load - currently for mod_display, need to add to other content modules 2013-10-13 20:09:11 -07:00
friendica
bae7f4e078 directory sort links on sidebar 2013-10-13 19:49:40 -07:00
friendica
1354702d69 remove the disabled flag on individual permissions and improve the text to show that settings may be inherited. The reason for this change is that we want the individual settings to be stored regardless of the inherited settings, because if somebody changes the higher precedence privacy settings it could leave all their existing contacts with no permissions and this could be a support nightmare.
So this way if somebody starts off with "anybody on the network can send me their stream and posts" and later changes it to "only specific connections can send me their stream and posts", the individual setting will already be set for all their connections. The previous behaviour is that this setting would have been disabled so none of their existing connections will have this specific permission. Old-timers who were here and made lots of connections before this commit - will have to edit all their connections if they change their privacy settings from lesser restrictive to be more restrictive.
2013-10-13 15:42:30 -07:00
friendica
bb9feee370 Merge https://github.com/friendica/red into zpull 2013-10-12 15:13:23 -07:00
friendica
55c43f12b5 directory date order (sort=date) 2013-10-12 15:12:45 -07:00
Olaf Conradi
095d1bae26 Typo in replaced variable 2013-10-12 19:27:39 +02:00
friendica
c459228dca show private message conversant in sidebar because without a reply you may not remember who it is/was. 2013-10-12 00:57:00 -07:00
friendica
1c8a36f9ca mail recall 2013-10-11 23:12:10 -07:00
friendica
7cd1bd59b2 bug 175 - categories not updated when editing 2013-10-11 20:44:13 -07:00
friendica
89fc319c90 fix search to display more than one item 2013-10-10 21:31:40 -07:00
friendica
3985aa07b4 more icon tweaks - this could be going on for some time; try to get icon code (and all theme stuff) out of main code and into templates, but on the short term provide both so nothing breaks. 2013-10-10 02:15:44 -07:00
Olaf Conradi
086750d4ba Merge pull request #168 from oohlaf/fixes
Typo and whitespace
2013-10-06 15:57:44 -07:00
Olaf Conradi
c422fad899 Typo and whitespace 2013-10-07 00:56:22 +02:00
Thomas Willingham
a026832009 If an observer doesn't have view_stream perms, try for view_profile before
giving up.
2013-10-04 15:57:48 +01: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
494090a3b7 in probe diagnostic - note https failure as diagnostic info - this also changes zot_finger so you can tell it not to fallback. This could be useful in corporate environments that are off the grid or other high security situations (as much as anything could be considered high security which relies on SSL). 2013-10-01 22:20:09 -07:00
friendica
f3d351621d Saved searches on the matrix/network page just got a lot more interesting. Hint: it's all about autocomplete 2013-10-01 19:54:22 -07:00
friendica
1f965f1b70 search_ac is really whacked - help it out a bit, but much more to do 2013-10-01 19:04:08 -07:00
friendica
a6c542289a add link to channel source management in settings if channel_sources feature is enabled 2013-09-30 22:01:11 -07:00
friendica
dffce63662 implement republish permission for use in sourced channels 2013-09-30 21:49:26 -07:00
friendica
2353e6d23f small fixes 2013-09-30 19:28:59 -07:00
friendica
e992cfeca9 directory sync - this will either work, or it won't work, or it will possibly recurse and blow up the matrix. Hard to say. Do you feel lucky? Well do ya' ... punk? Rule #1 - don't mess with anything unless it's blowing up the matrix. If it doesn't blow up the matrix, but doesn't work, just let it go and let's figure out what it is doing and what it isn't doing.
The flow is as follows:
Once a day go out to all the directory servers besides yourself and grab a list of updates. This happens in the poller. If we've never seen them before add them to the updates table. The poller also looks to see if we're a directory server and have updates that haven't yet been processed. It calls onedirsync.php to process each one. If we contact the channel to update and don't find anything (we're just doing a basic zot_finger), set a ud_last timestamp. If this is set we will only try once a day for seven days. Then we stop trying to update.

This will probably cause a spike the first time through because you haven't seen any updates before, but we spread out the load over your delivery interval.
2013-09-30 18:33:27 -07:00
friendica
49882c13a4 there's our directory sync packet (aka transaction log). Now we just have to pass them around and act on them. 2013-09-29 22:24:37 -07:00
friendica
398162f78a log any attempt to call mod_magic 2013-09-29 21:06:53 -07:00
friendica
a26e48b013 sources management page 2013-09-29 18:18:05 -07:00
Thomas Willingham
42e11019b9 Missing include 2013-09-29 19:44:57 +01:00
friendica
a06f1f9594 Issue #158 2013-09-29 02:47:36 -07:00
friendica
110974eb55 fix can_comment_on_post when viewing wall-to-wall 2013-09-28 04:41:12 -07:00
friendica
edc5566f79 structure for channel unions 2013-09-26 16:25:28 -07:00
friendica
6519433301 suppress creating the directory update record for profile updates which are part of the normal import_xchan sequence - otherwise we get two for every change. Create it normally if we are called with a profile_update message and don't go through the whole import_xchan thing. 2013-09-25 21:22:36 -07:00
Olaf Conradi
66d2fe2289 Fix name of Bleichenbacher 2013-09-24 21:04:01 +02:00
friendica
5ee339c99e Merge https://github.com/friendica/red into zpull 2013-09-24 05:22:07 -07:00
friendica
d4ea56a77e reduce susceptibility to bleichenberger attack 2013-09-24 05:20:29 -07:00
Michael Meer
54823a6589 admin hubloc page now with content from all hublocs, in next steps I add some tests with zping and reduce the content to known problems. 2013-09-24 09:28:42 +02:00
friendica
15ce90e69c oauth settings - clarify text 2013-09-23 18:27:23 -07:00
friendica
a2b20bd58f one more edge case in the public perms - don't match perms = 0 which is private, this and prior checkin are for issue #114 2013-09-22 23:00:55 -07:00
friendica
956d275693 fixes for display and search privacy enforcement 2013-09-22 22:52:48 -07:00
friendica
cdfb5f9dc7 adult channel setting 2013-09-22 20:38:24 -07:00
friendica
df8035344f clean up app management a bit 2013-09-20 21:36:10 -07:00
friendica
fd2379530c hopefully(?) the final word on remote comment permissions 2013-09-20 20:15:53 -07:00
friendica
7585b58d28 when it's a contentious issue, make it an option. 2013-09-20 18:24:11 -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
53de5f348a typo 2013-09-19 21:51:52 -07:00
friendica
e81db4428d now bring it to the url 2013-09-19 21:48:55 -07:00
friendica
977b350866 bring safe mode to the client side 2013-09-19 21:45:09 -07:00
friendica
6cb81f6e47 use &safe=-1 for unsafe only 2013-09-19 21:36:22 -07:00
friendica
82bd1420cc Merge https://github.com/friendica/red into zpull 2013-09-19 19:54:08 -07:00
friendica
54abed8457 provide a "safe search" backend and allow for self-censorship using nsfw or adult profile keywords. Eventually the directories will be forced to mark adult profiles and sync this knowledge between them. At the moment there's no way to do an unsafe search, but we really just need a checkbox and pass the value through directory to dirsearch on the back end, and some will want this as a pconfig. 2013-09-19 19:50:13 -07:00
Thomas Willingham
30f85a19b1 Use get_config 2013-09-20 03:24:38 +01:00
Thomas Willingham
49cfca4b4c Make $kw configurable. 2013-09-20 02:38:59 +01:00
friendica
9f237f7dba Merge https://github.com/friendica/red into zpull 2013-09-19 17:41:08 -07:00
friendica
ef88ba11ba prefill private mail recip from $_REQUEST['to'] if it's there. 2013-09-19 17:40:17 -07:00
Thomas Willingham
2eaea80195 Add tiered access option. 2013-09-19 22:36:25 +01:00
friendica
e4d2e2200e add "tiered" access policy, add tagcloud to directory pages 2013-09-18 17:47:26 -07:00
friendica
9d49f2a47b make collections work again 2013-09-18 04:06:44 -07:00
friendica
f7acc94bfe provide the back-end for a directory tag cloud 2013-09-17 22:52:46 -07:00
friendica
d3aa31be4d site sellpage links 2013-09-17 22:27:51 -07:00
friendica
ff2ada207a Pieces we'll need to tie together chanman and account/channel deletion and directory sync. Please do not mess with any of this.
Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this.

OK? Understood?
2013-09-17 20:50:09 -07:00
Thomas Willingham
7f4b865c2b Didn't git add again after fixing typo... 2013-09-18 02:49:14 +01:00
Thomas Willingham
8542127274 Filestorage perms (no ACL), fix nav for browsers that can't handle PCSS, put content wrapper back now JS is fixed for features page. 2013-09-18 02:45:49 +01:00
friendica
9d718ac529 sync photo permissions with the attached item whenever they change. 2013-09-17 17:38:43 -07:00
friendica
8452535467 Merge pull request #142 from dsp1986/master
Thanks!

fix include paths
2013-09-17 01:46:53 -07:00
Michael Meer
4f55d154d4 removed logger statement 2013-09-17 10:14:52 +02:00
Michael Meer
d330df05f2 extend admin page for hubloc / server key management 2013-09-17 10:11:22 +02:00
dsp1986
ff56e95c6e fix include paths 2013-09-17 09:41:48 +02:00
friendica
4335ef68d6 assuming permissions are correct, unobscure photo comments. Should probably make sure permissions are correct and figure out why some photo comments on public photos are getting stored with privacy. This probably requires that whenever we change photo permissions for linked photos/items we change the item permissions to match. They might be out of sync. 2013-09-16 22:56:36 -07:00
friendica
c6d6c01fb6 use prepare_body in api calls to properly render content, add 'mode' to conversation templates so that themes can use the module context to suppress or show comments as desired 2013-09-16 22:40:53 -07:00
friendica
f72cc77e46 spurious blank lines 2013-09-15 22:33:47 -07:00
Michael Johnston
e1133ec1d0 fix photo file browser 2013-09-15 14:36:54 -04:00
friendica
033a9f67e7 Merge https://github.com/friendica/red into zpull 2013-09-15 03:52:37 -07:00
friendica
129a119c84 implement what I hope will now be the server side of directory sync, add viewsrc to item_photo_menu, and log what changed in import_xchan update objects so we can find out why there are so many updates when nothing _obvious_ has changed that should trigger it. 2013-09-15 03:48:43 -07:00
Christian Vogeley
4132d1cd8e Upstream merge 2013-09-15 03:21:19 +02:00
Christian Vogeley
496f869157 Search by date
Search by date (archive) works a bit now
2013-09-15 03:18:18 +02:00
friendica
aefb0f8233 fix the missing brace before pushing 2013-09-14 17:21:39 -07:00
friendica
053893b067 some fixes to directory keyword searches 2013-09-14 17:20:24 -07:00
friendica
44ed6b0adc no longer used 2013-09-14 16:45:14 -07:00
friendica
a36cc949a1 this might fix "find channels" but I can't test the keyword search until this is running on a production site. 2013-09-14 16:11:15 -07:00
friendica
037fd43fbd more remote error reporting for zot 2013-09-12 16:52:58 -07:00
Michael Meer
2c06a2c163 implement tip from Mike, corrected the sql statement 2013-09-11 15:24:26 +02:00
Michael Meer
2228264772 flag failed auth attempts in DB table hubloc 2013-09-11 13:59:45 +02:00
friendica
de777d2f9c remove old debugging cruft 2013-09-10 21:17:33 -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
Olaf Conradi
517baa86a3 No need to add name_updated twice in zfinger response 2013-09-11 00:29:27 +02:00
marijus
fec0c71445 make /channel respect "Maximum number of conversations to load at any time" setting like /network does. 2013-09-10 21:52:13 +02:00
friendica
9994ab2c5d Merge https://github.com/friendica/red into zpull 2013-09-09 13:46:14 -07:00
friendica
75dfcf9c4f quick fix to directory 2013-09-09 13:45:51 -07:00
cvogeley
a4d455c48b Merge pull request #125 from cvogeley/master
usage message showed wrong number of channels
2013-09-09 13:04:20 -07:00
Christian Vogeley
e92233e39e usage message showed wrong number of channels 2013-09-09 22:00:39 +02:00
friendica
2c90a73695 change from refresh_all to a directory update - which does a refresh_all and also updates the directory. 2013-09-08 21:12:23 -07:00
friendica
a09829a1ee perform a refresh_all when an import has completed so that all your connections get a fresh update. 2013-09-08 21:05:39 -07:00
friendica
f8c709830f Merge https://github.com/friendica/red into zpull 2013-09-08 19:12:46 -07:00
friendica
135c188732 description of the chanman module and what it will need to do. 2013-09-08 19:12:23 -07:00
Thomas Willingham
256ee236ad Kill logger 2013-09-09 02:11:26 +01:00
Thomas Willingham
d2b4ba7be6 Quick and dirty file storage module. 2013-09-09 02:06:21 +01: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
Christian Vogeley
94fb9c2406 Service class
identity, follow, photo upload, att upload
2013-09-08 00:21:42 +02:00
friendica
fe5f470c62 mod/page - display most recent revision by default, or numbered revision specified by rev URL parameter 2013-09-07 04:36:47 -07:00
friendica
320a8a5e27 Merge https://github.com/friendica/red into zpull 2013-09-07 02:04:56 -07:00
friendica
9ba6fd7d28 allow menu management even if there are no menu items 2013-09-07 02:04:15 -07:00
Michael Johnston
ba980e2c1f filter by category fixes 2013-09-06 21:53:22 -04:00
friendica
d194ee091a encode and decode channel names containing HTML special characters and quotes so they will survive a reshare without mangling 2013-09-06 05:25:10 -07:00
friendica
f2f3372aa9 provide ability to delete webpages, layouts and blocks 2013-09-06 04:07:43 -07:00
friendica
c3d5351515 fix mimeselect on edit 2013-09-06 03:56:47 -07:00
friendica
0387fa10c9 linkify the site url 2013-09-06 03:16:04 -07:00
friendica
c09f1a437b Add a border until we can theme this sucker 2013-09-06 03:13:23 -07:00
friendica
63c60b224c provide mimetype selector on edit (pages and blocks) 2013-09-06 03:10:25 -07:00
friendica
ae624e9bce more fixes to public site list while waiting for a public site or two to show up 2013-09-05 22:26:19 -07:00
friendica
2c53017fb5 function name 2013-09-05 22:23:57 -07:00
friendica
c65ea0b97b public site list (will take a few days to populate, assuming folks have updated their site access policy which old sites do not have) 2013-09-05 22:00:06 -07:00
friendica
4df0aad6ab pages feed 2013-09-05 19:31:26 -07:00
friendica
7ecf162637 fix location of language variable in help module 2013-09-05 04:48:14 -07:00
friendica
fd5e2c6d6c fix network search - except it can't search private posts. That may be a problem. 2013-09-05 01:18:05 -07:00
friendica
a88437a1ef issue #107 2013-09-04 22:23:53 -07:00
friendica
ba28302811 test module for dead site discovery 2013-09-04 17:52:24 -07:00
friendica
a0668c8bbb fix private message encryption since the input_filter mangled it 2013-09-03 22:48:08 -07:00
friendica
ab1c9dc9c9 add design tool menu to appropriate pages 2013-09-03 19:55:26 -07:00
Michael Johnston
e9ffc46bd1 allow categories to be edited when editing a post 2013-09-03 21:14:18 -04:00