Commit graph

3565 commits

Author SHA1 Message Date
friendica
d5c55250f9 remove the exit clause 2014-02-17 20:24:34 -08:00
friendica
ea709361f6 snakebite, cont. magic-auth via openid is now possible, with the caveat that one needs a hand-crafted xchan at the moment to make use of it and if you wish to do so, there will be no assistance or help provided. The risk of system instability and mangled DBs now and going forward is significant if you try this. 2014-02-17 20:10:43 -08:00
friendica
d6ab975b18 operation snakebite continued. openid now works for local accounts using the rmagic module and after storing your openid in pconfig. This is just an interesting but trivial (in the bigger scheme of things) side effect of snakebite. The snake hasn't even waken up yet. 2014-02-17 19:48:05 -08:00
friendica
d3120264cb more snakebite stuff 2014-02-17 18:23:01 -08:00
friendica
df22a78936 Merge pull request #314 from zzottel/master
Make @!-tags safer
2014-02-17 15:09:11 +11:00
friendica
70526915c8 several things were not working correctly w/r/t community tagging. The preference vanished from settings at some point, and we also weren't updating the original post timestamp so that the changed taxonomy would propagate correctly as an edit. 2014-02-16 16:04:46 -08:00
friendica
16cd9e2a7e don't include deleted channels in number of channels service class checks 2014-02-16 14:48:07 -08:00
friendica
663dd39015 don't show deleted channels on admin account summary page 2014-02-16 14:39:27 -08: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
d9e4f63466 preserve attachments when editing a post 2014-02-14 13:15:02 -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
marijus
d7546c7a63 This makes advanced privacy settings adjustable in expert mode only. Also they are hidden behind a button. This is a design hotfix should probably come up with something better someday... 2014-02-13 19:29:06 +01:00
friendica
2c1b366fdf make activities optional for profile things, clean up the forms 2014-02-12 14:44:27 -08:00
friendica
7f3f981d96 fix a mysql error which popped up in the dbfail log 2014-02-11 20:45:17 -08:00
friendica
95a45a119d shamelessly steal, and cut/paste from the settings page to get mod_photos edit permissions working - and it looks like we still have some other fancybox instances (yet another lightbox) which haven't yet been converted to colorbox and will need to be fixed. Way too many lightboxes. 2014-02-11 18:45:50 -08:00
friendica
b5728fa42e fixes to thing profile assignments 2014-02-11 16:56:39 -08:00
friendica
d02529fde1 implement a forced directory update mode where we unconditionally create a directory sync packet. This is needed to ensure that monthly directory pings are propagated to other directory servers so they can each prove for themselves whether or not an account is alive or dead. We do not trust other directories to provide us information beyond "look at this entry and decide for yourself" as doing otherwise would invite rogue directory manipulations. As this scheduled update occurs on all channels across all servers, we should also pick up refresh messages from all existing channel clones and these should also propagate out to all directory servers using the same mechanism (though perhaps not at the same time). 2014-02-11 14:19:20 -08:00
friendica
841f3922aa typos in authtest 2014-02-10 20:40:12 -08:00
friendica
dfcb863c70 fix ambiguous result message from authtest 2014-02-10 18:20:23 -08:00
friendica
12319c41e3 add chanview mode to settings 2014-02-10 15:14:03 -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
eb96a04d34 since the project donate section was added to siteinfo - add a way for the hub admin to add in a donation section to keep the hub running. 2014-02-09 20:08:29 -08:00
friendica
cf3b76c046 backend for chatroom activity monitor - honours permissions and returns (json) how many in room and last chat timestamp, regardless of whether the observer is actually in the room. 2014-02-09 16:47:06 -08:00
friendica
b58baa5e4a more XSS blockage of uploaded files 2014-02-09 15:00:47 -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
ecac985e33 make bookmarks message into an 'info' so it expires and goes away after a bit 2014-02-07 23:33:40 -08:00
friendica
ae6bd7dc1e fix issue with double linkify in the git feed 2014-02-07 15:41:31 -08:00
friendica
1ec7ffc774 Merge https://github.com/friendica/red into zpull 2014-02-07 13:40:26 -08:00
friendica
63589d4f2e from olivier: use double quotes in js strings, updated FR translation
from me: provide future ability to have an optional edit link/icon next to menus (such as bookmarks)
2014-02-07 13:39:13 -08:00
marijus
f62ec4132e let oneself be added to a collection in exchange for deleted contacts 2014-02-07 21:28:39 +01:00
friendica
cda1224066 missing element in new chatroom link 2014-02-06 23:10:14 -08:00
friendica
b779400218 mod/ping - don't perform any database calls if installing 2014-02-06 21:31:42 -08:00
friendica
9b2dc9b87c make all naked links bookmark-able 2014-02-06 16:22:40 -08:00
friendica
05a70a8760 add chatroom links 2014-02-05 19:16:12 -08:00
friendica
cb6716a644 fix the xchan lookup tool 2014-02-05 18:51:50 -08:00
friendica
0844110f7b preserve system bit when editing menus 2014-02-05 03:44:46 -08:00
friendica
24f32e55c8 bookmarking bugfix 2014-02-05 03:29:02 -08:00
friendica
f30a39f9df bookmark debug logging 2014-02-05 03:15:10 -08:00
friendica
8a11c29413 make links in comments bookmark-able 2014-02-04 19:39:56 -08:00
friendica
aede006970 bookmarks - mop up and go home 2014-02-04 17:12:13 -08:00
friendica
3665bc38ef bookmarking 2014-02-04 16:06:56 -08:00
friendica
d8f16442a1 bookmark permissions 2014-02-04 00:52:34 -08:00
friendica
1572403e98 photo tagging somewhat working - but can't remove photo tags until we update tagrm 2014-02-03 20:44:42 -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
c4d0884596 accept new connection broke yesterday 2014-02-03 14:03:43 -08:00
friendica
c7cad26b41 more wordsmithing 2014-02-02 20:22:41 -08:00
friendica
38bce48f28 wordsmithing 2014-02-02 18:06:15 -08:00
friendica
ee1580427e don't draw attention to advanced permissions and their corresponding complexity and clearly mark the simple permissions which people are encouraged to use. 2014-02-02 17:54:36 -08:00
friendica
3eed73d519 minor text change "can" -> "may" 2014-02-02 16:51:11 -08:00
friendica
2768262f93 Add switch to allow menus to be used as bookmark collections 2014-02-02 16:49:09 -08:00
friendica
67899677db make chat honour the pause key (but we still need to ping the server to maintain the in_room status), also the recent change to pull css out of the template file used classes instead of ids so none of the styles were sticking 2014-02-02 15:50:07 -08:00
friendica
b39c0d54c0 some windows fixes 2014-02-02 14:06:36 -08:00
friendica
e83419b53e add links to change chat status and leave room 2014-02-02 03:43:52 -08:00
friendica
61cc4de225 provide donation options on siteinfo page 2014-02-01 21:03:21 -08:00
friendica
94e59d4770 status indication 2014-02-01 01:00:26 -08:00
friendica
d14afc0ee4 provide the room name for the room you're in. 2014-02-01 00:54:20 -08:00
friendica
bd691300a7 provide some interesting new options to channel sources 2014-01-31 20:02:59 -08:00
friendica
aaa3c62efa keep presence updated - typo was causing it to logout 2014-01-30 21:09:02 -08:00
friendica
deaf93db71 missing string delimiters (quotes) 2014-01-30 21:01:09 -08:00
friendica
49f07bd90f mod/ping should only update basic_presence - and clearing stale entries. otherwise let rooms handle presence for themselves. 2014-01-30 19:01:03 -08:00
Michael Meer
c0f02d774a started analysis of ping response and clean up more logger 2014-01-30 20:41:40 +01:00
Michael Meer
c5ac5544cb clean up logger commands. Placed apostrophs at the end from some comments to keep the syntax highlighting in vi working 2014-01-30 11:04:20 +01:00
Michael Meer
0a2b2a1390 attempt with fix URL for testing works 2014-01-30 10:39:09 +01:00
Michael Meer
e5d1e20ff5 Merge branch 'master' of https://github.com/friendica/red
to be in sync with master repro
2014-01-30 10:21:21 +01:00
friendica
6c6a9b963a a bit more ajax work on chat and chatsvc and some fiddling with layouts 2014-01-30 01:00:46 -08:00
friendica
080928f214 chatroom management front-end stuff 2014-01-29 21:29:48 -08:00
friendica
7b60978262 back-end for changing online status and keeping presence refreshed 2014-01-29 20:40:37 -08:00
friendica
9fdee53c9a start on the ajax bits 2014-01-29 20:14:18 -08:00
friendica
c24aa824fe chat is a members only feature, there is no "guest" access. 2014-01-29 18:19:19 -08:00
friendica
0d326dfb45 mod/chatsvc - ajax backend for chat 2014-01-29 18:02:51 -08:00
friendica
b8fb6a4373 more chat infrastructure 2014-01-29 17:09:20 -08:00
Thomas Willingham
5a5973982f Really fix attachments in Firefox 2014-01-29 22:11:36 +00:00
Thomas Willingham
5c54880ce8 Make Firefox behave if an attachment points to a file with a space in it. 2014-01-29 20:38:32 +00:00
Michael Meer
ef97a454bb ping gives us now a reply. But the reply doesnt contains useful data, requires still some investigations 2014-01-29 15:45:35 +01:00
Michael Meer
ac8d481a32 Merge branch 'master' of https://github.com/friendica/red
to be in sync with main repro
2014-01-29 14:07:25 +01:00
friendica
c95f65e092 prevent runaway presence indication 2014-01-29 02:36:01 -08:00
friendica
10b51a9471 issues uncovered whilst testing the chatroom API 2014-01-29 02:25:21 -08:00
friendica
0013e59086 chatpresence timing out too quickly 2014-01-28 20:19:16 -08:00
friendica
2822e6e70a missing file in checkin 2014-01-28 20:15:57 -08:00
friendica
d970c69f91 online indication to the directory popup 2014-01-28 19:49:56 -08:00
friendica
8efac0cfd6 fix sql query and provide setting to hide online status 2014-01-28 16:16:55 -08:00
friendica
6e22aa25cc basic presence indication 2014-01-28 15:52:54 -08:00
Michael Meer
aa285b83c1 to make visible what I try, ping still won't work, but I'm confused about get_channel 2014-01-28 10:58:31 +01:00
Michael Meer
8ddee71c2b Merge branch 'master' of https://github.com/friendica/red
to be in sync with main repro
2014-01-28 09:49:09 +01:00
friendica
f104b4dc27 preserve expiration when editing 2014-01-27 23:49:42 -08:00
friendica
3100b5d93e photo tagging still broken - but at least don't create a new linked item every time a photo is edited. 2014-01-27 18:06:09 -08:00
friendica
24bac92acd after rposting - if there's no remote_return, go to your matrix page rather than leave you on a blank rpost page. 2014-01-27 15:25:04 -08:00
Michael Meer
904db593df add a temporary logger command at remote server side 2014-01-27 12:01:53 +01:00
Michael Meer
a3bf272753 Merge branch 'master' of https://github.com/MicMee/red
to be in sync
2014-01-27 10:37:15 +01:00
friendica
d67fdd1299 add davguest param to cut/paste link for directories in mod/filestorage 2014-01-26 14:41:43 -08:00
friendica
d296b02b0e The final piece of the DAV authentication puzzle. Provide a directory view to an un-auth'd person (without asking for a password) by adding a query parameter 'davguest=1'. This is a bit of a hack, but there was no response on the official forum about how to do this correctly so it will have to do. On the downside, if permission is denied, it won't ask for a password - but we're talking about unauthenticated folks who didn't go through magic auth so chances are even if they authenticate, permission will still be denied. 2014-01-26 14:15:57 -08:00
friendica
0948c3c3ca allow site defaults for enabled features 2014-01-26 03:27:36 -08:00
friendica
f90b3b60cb don't prompt guests for a password if they're accessing an embedded public file. 2014-01-26 02:58:03 -08:00
Thomas Willingham
692822bdf0 Left over line from placeholder. 2014-01-25 00:13:29 +00:00
Thomas Willingham
d3a0d37b0d Add admin info to admin panel and site info.
Since we can have multiple admins, this is freeform bbcode.
2014-01-24 23:58:41 +00:00
Michael Meer
844df11058 Merge branch 'master' of https://github.com/friendica/red
to be in sync with master repro
2014-01-24 11:59:15 +01:00
friendica
ab6b6794b4 fix marital partner linking 2014-01-23 15:43:35 -08:00
friendica
5e4f45c03a mod_profperm migrated 2014-01-23 14:35:59 -08:00
Michael Meer
a2b07ed281 build url, deleted logger commands 2014-01-23 13:58:14 +01:00
Michael Meer
524fff3a17 preperation for ping, need training in SQL :( 2014-01-23 12:09:35 +01:00
Michael Meer
6a1e73e610 Merge branch 'master' of https://github.com/friendica/red
to keep the repros in sync
2014-01-22 13:38:47 +01:00
friendica
3914200223 simplify chanview authentication and make sure it carries through multiple generations 2014-01-22 03:01:28 -08:00
Michael Meer
ffabb4cc86 reorg formula data for hubloc checks 2014-01-22 11:29:49 +01:00
Michael Meer
f28b21f99d start with hubloc ping 2014-01-22 09:16:22 +01:00
friendica
3f49114a05 remove debugging 2014-01-21 23:12:03 -08:00
friendica
3b375a3d3f fix location of string file in Translations.md, fix some permissions and owner vagueness (potential bugs) in profile_tabs() 2014-01-21 23:09:33 -08:00
friendica
a13393fb23 seems you can't easily have a blank password for DAV guests, so the guest password is now +++ 2014-01-21 20:42:10 -08:00
friendica
c41d3b2d53 text - change remove account button to remove channel 2014-01-21 19:01:23 -08:00
friendica
05951a9877 add primary webbie to directory popup 2014-01-21 18:45:40 -08:00
friendica
60416d6f33 fix the admin interface to pending registrations 2014-01-21 14:56:42 -08:00
friendica
35733ca013 create store directory if it's missing before initialising DAV 2014-01-21 00:02:25 -08:00
friendica
ea606869a6 when loading a single thread on the channel page, tell JS that there isn't any more content to load. 2014-01-20 17:45:02 -08:00
Michael Meer
a13593590b added buttons to perform later hubloc actions 2014-01-20 12:12:40 +01:00
friendica
fdfea0a8e9 catch auth exceptions 2014-01-20 01:03:58 -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
e54a501058 Merge https://github.com/friendica/red into zpull 2014-01-19 22:28:46 -08:00
friendica
82a5eb5d90 strip zid= from REQUEST_URI as well as QUERY_STRING - sabre uses both 2014-01-19 22:27:54 -08:00
Thomas Willingham
e9ce68559e Stop Google DDoSing me by providing block_public_search, which unlike
block_public will block *only* searching without an observer.
2014-01-19 23:48:26 +00:00
friendica
359d798029 kill the ummagumma effect 2014-01-16 13:26:39 -08:00
friendica
18a40d0c37 prevent zid's from reaching the DAV core code. 2014-01-16 01:19:58 -08:00
Thomas Willingham
9f66e5aef3 Merge remote-tracking branch 'upstream/master' 2014-01-15 23:01:02 +00:00
friendica
403b01da23 Merge https://github.com/friendica/red into zpull 2014-01-15 03:14:07 -08:00
friendica
47b8071ca7 dav: throw exception if channel for requested DAV directory is deleted 2014-01-15 03:12:47 -08:00
Thomas Willingham
a49704fdb6 Probably shouldn't list REGISTER_CLOSED sites on a list of open hubs. 2014-01-14 03:50:32 +00:00
cvogeley
df9e628495 Merge pull request #268 from cvogeley/master
delete confirmation popup for blocks and layouts
2014-01-11 17:34:37 -08:00
Christian Vogeley
325c5e4e76 delete confirmation popup for blocks and layouts 2014-01-12 02:29:03 +01:00
cvogeley
134bb139dc Merge pull request #267 from cvogeley/master
Do the same thang for webpage blocks
2014-01-11 17:09:34 -08:00
Christian Vogeley
b5fbee67b1 Do the same thang for webpage blocks 2014-01-12 02:06:59 +01:00
cvogeley
3e54ccde08 Merge pull request #266 from cvogeley/master
Fix webpage layout title editing
2014-01-11 16:55:06 -08:00
Christian Vogeley
7a9ea83382 Fix webpage layout title editing 2014-01-12 01:51:30 +01:00
cvogeley
3dfcb7510c Merge pull request #265 from cvogeley/master
Fix page layout selector
2014-01-11 15:58:57 -08:00
Christian Vogeley
5fd3ca36f8 Fix page layout selector 2014-01-12 00:49:23 +01:00
friendica
cff7056f8f mod_attach: output stream wasn't working 2014-01-11 12:58:00 -08:00
friendica
ed9a72ecbe preserve mid on edits 2014-01-10 19:01:24 -08:00
marijus
c4705724f1 make goaway link work 2014-01-10 16:54:16 +01:00
zottel
1c315caa28 and don't send duplicate notices <sigh> 2014-01-10 13:41:25 +01:00
zottel
ea511c67c7 add security fix to load case, too 2014-01-10 13:38:38 +01:00
friendica
0fef87cb43 security fix for channel?mid= per zottel 2014-01-10 00:58:53 -08:00
friendica
3298768d95 directory creation error, display localtimes on cloud webpage, doc updates 2014-01-10 00:47:40 -08:00
friendica
ee2bea37e9 mod_filestorage: provide a URL for linking to webpages and other websites 2014-01-09 21:01:53 -08:00
friendica
49882f2be4 add cloud link to profile_tabs and Comanchify the sucker 2014-01-09 19:00:06 -08:00
friendica
db8ebc9f37 some minor cleanup on plinks for some very subtle permissions issues 2014-01-09 15:45:17 -08:00
zottel
5ee5bda998 fix notices 2014-01-09 17:06:28 +01:00
zottel
ab81458768 took out some left-overs from the debugging phase 2014-01-09 16:18:17 +01:00
zottel
a517a27d53 fix a bug that made it possible for everyone to access any message from other
channels using channel/<channel>/?mid=...
2014-01-09 16:06:33 +01:00
friendica
3c477ea8d6 attachment issue 2014-01-08 20:58:58 -08:00
friendica
352e4dc21b add store directory write check to install checks 2014-01-08 18:20:47 -08:00
friendica
6eda806444 This should be approaching completion for file OS storage. May be a few minor bugs remaining due to some late-breaking fixes but I've been testing it as I go. 2014-01-08 18:06:52 -08:00
friendica
c4be3450bf Merge pull request #258 from zzottel/master
Add display of a thread to channel module
2014-01-08 15:28:48 -08:00
friendica
bc611fb67d Merge https://github.com/friendica/red into zpull 2014-01-08 15:22:01 -08:00
friendica
7910221832 preparatory work for supporting a "list view" mode for conversations. This would be useful for forum-like channels and/or block-oriented themes. 2014-01-08 15:20:12 -08:00
Thomas Willingham
7930f6d7aa Pass hash and extension to the photo templates for plugins that require
links we can't construct from what's already there.
2014-01-08 22:50:44 +00:00
friendica
f1d6d58832 Merge https://github.com/friendica/red into zpull 2014-01-08 14:12:03 -08:00
friendica
29db236981 qr enhancements 2014-01-08 14:11:39 -08:00
Thomas Willingham
c35034bfe1 Fix new connection nav URL 2014-01-08 19:32:06 +00:00
zottel
9762b264cc Add display of a thread to channel module using channel/<channel>/?mid=<mid> 2014-01-08 16:03:59 +01:00
friendica
8d562abe78 keep the to-do list somewhat current. 2014-01-08 00:03:01 -08:00
friendica
8b93881ce7 qr code support 2014-01-07 20:36:16 -08:00
friendica
b8564134aa make storage limit service classes apply to accounts, not channels. Also include a css file that was missing from work yesterday. 2014-01-07 14:10:28 -08:00
friendica
2f27d58dfe filestorage re-org and cleanup 2014-01-06 19:43:54 -08:00
friendica
e49e6c0d2a special handling for directories 2014-01-06 18:20:14 -08:00
friendica
5a5466346c prepare for OS file storage, and add bbcode attachment link to mod/filestorage. This isn't beautiful, but it's a start. 2014-01-06 18:13:02 -08:00
friendica
41df51a815 add "self" to access control lists with special marking to indicate it's special (for instance you can't really deny access to yourself). But this lets us make something private to our eyes only; whatever it may be. 2014-01-06 17:12:44 -08:00
friendica
8dc22c564a provide ability to change attachment/file permissions 2014-01-06 16:49:07 -08:00
friendica
e20fef3903 cleanup mod/filestorage before embarking on further changes to it 2014-01-06 13:37:25 -08:00
friendica
323fc1f9a5 fix photos/upload album selector 2014-01-06 02:54:08 -08:00
friendica
daf5daa2d3 disable web browser post inputs if no storage write permission 2014-01-05 19:25:56 -08:00
friendica
061894d37f reddav - basic mkdir support - needs more work to be robust 2014-01-05 16:00:05 -08:00
friendica
85ed9404f9 the web browser interface for DAV has now got zot 2014-01-05 14:12:53 -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
Christian Vogeley
87ff495443 Revert "Fix page not found error after editing a webpage"
This reverts commit 575f2b3280.
2014-01-03 21:25:18 +01:00
friendica
475b24ca9e more dav work 2014-01-03 01:44:25 -08:00
friendica
a1c198814d basic browsing and file retrieval for webdav working - uploads not yet. A lot of permissions stuff is in place so it's marginally (but probably not completely) permission controlled 2014-01-02 17:49:39 -08:00
friendica
ad08561d84 some DAV tweaks before the next round of heavy lifting 2014-01-02 01:09:57 -08:00
friendica
76106e16d5 fix attachment rendering for preview 2014-01-01 21:09:12 -08:00
friendica
057d885baf return to working on red-dav; This is a bit of a slog at the moment and the basic framework isn't even close to working. This does break the working test we did have (which was never connected to the Red backend). Now we're starting to connect Red and DAV together intimately. There will probably be some twists and turns along the way as we get the information we need into all the class objects that need them. But the important part is that the RedDirectory and RedFile classes are loading without throwing white screens and from here we can use logging to figure out what the DAV front end is trying to do and what it is passing to the backend and hopefully figure out what it expects to do with the results. Unless you're a competent developer with a strong background in OOP and are helping develop this code, you should keep it an arm's length away from any production site and don't even think of enabling it. By default it is turned off. 2014-01-01 16:07:36 -08:00
Christian Vogeley
aafc40069b Confirm webpage deletion prompt 2014-01-01 16:18:39 +01:00
Christian Vogeley
575f2b3280 Fix page not found error after editing a webpage 2013-12-31 18:28:07 +01:00
Christian Vogeley
22e94d7d68 Correct wrong service class check for webpages 2013-12-31 16:03:25 +01:00
friendica
4c541bb680 expose profile things in the UI 2013-12-30 15:41:42 -08:00
friendica
0dd7d93674 basic edit and delete for things 2013-12-30 04:25:55 -08: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
f36be066af display_thing: it ain't much, but it's implemented. 2013-12-29 00:51:27 -08:00
friendica
1d0fddd39c things can now have (consistent sized) photos - plus I found a couple of issues with duplicate notifications and contact photos not getting an album name (it was crossed with filename). The last one doesn't matter as neither is used, but it was wrong so it has been corrected. Oh and thing photos weren't working at all because the form element name was different than what the module was looking for. But that had never been tested as I was waiting to get the import/resize finished. Next up for that module is display and deletion of things; but the priority is pretty low. 2013-12-28 13:28:49 -08:00
friendica
121ee48963 sslify - remove the redirect fallback - as it gets called occasionally and creates mixed content exceptions. Let's see how we go without it. Also a doc update. 2013-12-27 21:19:23 -08:00
friendica
c59688553c remove prettyphoto from core - this will affect the enhanced photo albums feature on the short term which has been disabled until we figure out how to make the setting per-theme instead of a core option. The library is still available in core (library/prettyphoto) currently but needs to be moved to theme js and loaded/accessed from there [for themes which use it]. Then the library will be removed. It appears that other lightboxes commonly use rel= to group photo albums. So we may provide a generic rel= tag in photo album templates so that the choice of lightbox or album viewer is not only a theme option but could also be accomplished with plugins. 2013-12-26 13:08:16 -08:00
friendica
f133218b33 don't include deleted folks in acl popup 2013-12-25 23:14:13 -08:00
friendica
9d9fc6e2dc mod_invite - don't generate errors for email addresses consisting of blank lines 2013-12-25 17:08:32 -08:00
friendica
eda7c24c4e improve the register text until the new register page is finished 2013-12-25 16:53:59 -08:00
friendica
66600ed2f8 try again 2013-12-25 04:06:26 -08:00
friendica
4ec569d6e7 sslify http links in media elements if you're on an https server 2013-12-25 02:45:22 -08:00
friendica
c1875bcc37 cut/paste error 2013-12-25 02:04:52 -08:00
friendica
fe00e9b261 extend the directory profiles a bit more 2013-12-25 01:57:04 -08:00
friendica
71dde7c687 use case-insensitive array search for matching directory keywords with your own 2013-12-23 22:56:32 -08:00
friendica
8194ade886 improve the directory popup a bit 2013-12-23 19:44:23 -08:00
friendica
b08d4cc1fe first cut at a directory popup. It's a bit annoying at the moment, so we'll have to make it less so. Also had second thoughts about the project homepage changes made yesterday. Just because a bunch of Reddit trolls can't get social networking out of their brain long enough to explore other technologies or even read the project page doesn't mean we should pander to them and explain how or why we either are or aren't a social network. 2013-12-23 17:24:25 -08:00
friendica
63a42480c7 add account_level, is_foreigner and is_member functions; convert all e2ee user input and prompts to hex to avoid javascipt's lame handling of quotes. !!This breaks all prior encrypted posts.!! 2013-12-23 15:13:09 -08:00
friendica
4517bdcff1 Merge https://github.com/friendica/red into zpull 2013-12-23 12:01:53 -08:00
friendica
45a4c649ed oops 2013-12-23 12:01:38 -08:00
Thomas Willingham
3ac659e9c5 Reduce life of xref cookie per Opinion 04/2012 on Cookie Consent Exemption.
Otherwise, we need to annoy everyone with cookie warnings if they access
a hub in the EU.
2013-12-23 04:58:12 +00:00
friendica
ca05565fcc one step closer to merging register and pubsites pages 2013-12-22 20:07:18 -08:00
friendica
dcc58dec00 Provide Terms of Service placeholder page (includes doc/SiteTOS.md) 2013-12-22 19:56:22 -08:00
friendica
1a42580ad4 remove a couple of mysql reserved words from being used as table or row names. For this round we're getting 'group' and 'desc'. Warning: potentially destabilising as this touches a lot of code. 2013-12-22 18:37:39 -08:00
friendica
eff38538ee more (somewhat minor) but important cleanup for mod_photos so visitors with the correct permissions to add photos can also remove them 2013-12-22 17:44:14 -08:00
friendica
a9e225b38a issue deleting photos (attached item remained undeleted and became visible, though the photo was gone) 2013-12-22 17:30:49 -08:00
friendica
38df3f6404 make xref work 2013-12-22 16:53:26 -08:00
friendica
c1a85ccbec add ability to set created date/time from the api 2013-12-22 14:29:15 -08:00
friendica
30219b5bda Merge pull request #249 from cvogeley/master
New modal dialog for item expiry
2013-12-22 13:44:34 -08:00
Thomas Willingham
57bf80fff0 Achievements 2013-12-22 20:54:31 +00:00
Thomas Willingham
666586f332 xref 2013-12-22 20:51:49 +00:00
Christian Vogeley
870df76463 Merge remote-tracking branch 'upstream/master' into bootstrap
Conflicts:
	view/php/theme_init.php
2013-12-22 14:31:27 +01:00
Christian Vogeley
25a533bd72 New modal dialog for item expiry 2013-12-22 14:21:57 +01:00
friendica
7e7b5bfa49 last remaining files to be Comanchified with the exception of mod_admin. Though I should probably take a third look to see if anything else uses widgets.
In fact - it appears that the flattrwidget does.
2013-12-22 02:16:45 -08:00
friendica
0366991b45 appears that I missed a few files for Comanchification. so here's mitem. 2013-12-22 02:04:55 -08:00
friendica
d32bbaf599 split private messages into two modules - "message" is just for message lists, "mail" is for reading and writing conversations. This is so we can Comanchify it cleanly. 2013-12-21 23:47:44 -08:00
friendica
aa312f72bf comanchify mod_directory. Two modules remaining. Actually three because message needs to be split. 2013-12-20 12:43:04 -08:00
friendica
a084a3fa47 comanchify mod_search - we've got three modules left to Comanchify: admin, directory and message - each of which introduces "interesting challenges" 2013-12-20 01:39:42 -08:00
friendica
2c0fbc508e comanchify connedit, group 2013-12-19 23:56:37 -08:00
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