Commit graph

2318 commits

Author SHA1 Message Date
friendica
4d7fe15d3b more poco discovery 2013-01-01 02:06:41 -08:00
friendica
93d85858d5 poco discovery 2013-01-01 01:57:20 -08:00
friendica
6accc190d4 ensure all delivery result possibilities are logged and communicated to the sender 2013-01-01 00:45:44 -08:00
friendica
f2a4ea7254 add individual message delivery reporting 2012-12-31 21:33:11 -08:00
friendica
8d32477bff cleanup boot 2012-12-31 17:18:11 -08:00
friendica
a8812346c4 couple of fixes to follow, prepare for default connection permissions 2012-12-31 15:47:51 -08:00
friendica
791302f317 more delivery diagnostics 2012-12-31 14:45:26 -08:00
friendica
ba0876d011 update timestamps on successful poll 2012-12-30 23:55:57 -08:00
friendica
2d113f0c87 refresh now works on poller runs 2012-12-30 23:51:39 -08:00
friendica
83db4abaab fixes 2012-12-30 22:56:52 -08:00
friendica
abc271a0e7 more progress on onepoll 2012-12-30 22:41:53 -08:00
friendica
4e23e700f4 requeue failed deliveries 2012-12-30 21:44:59 -08:00
friendica
14fb503800 progress on poller 2012-12-30 16:14:29 -08:00
friendica
8eee37e1fa more logging, some debugging of group membership page 2012-12-30 15:28:13 -08:00
friendica
2f1bc925de add item['expires'] to protocol communications 2012-12-30 00:41:08 -08:00
friendica
cb329b9fb4 no hub - well doh, no wonder; we were looking for array['hub'] and it's actually array['url']. 2012-12-29 23:45:06 -08:00
friendica
098de66c2f probe diagnostic translated to zot, will use your current channel for permissions, logout to check anonymous permissions 2012-12-29 00:33:04 -08:00
friendica
ddd58e6e28 bypass replace_macros and use template processor directly for theme includes 2012-12-28 17:28:49 -08:00
friendica
dda4d689bb This was bloody hard to sort out.... but now it's sorted and we can move forward again. Put back xtag for efficient keyword searching, use it in conjunction with xprof['keywords'] to avoid a SQL triple join and group_concat (which simply won't scale on a directory server), figured out how best to work timezone corrected birthdays into the protocol. The directory can even provide an age if one was provided to it. Both of these things need some more work, but we have the mechanisms and a plan how to do it right instead of "how the !@#$ are we going to do pull this off?" 2012-12-27 23:33:37 -08:00
friendica
55e77a57d0 get rid of xtag 2012-12-27 14:36:06 -08:00
friendica
a2c6f8c965 master/standalone directory profile update 2012-12-26 19:39:37 -08:00
friendica
d80f299dd4 more progress on directory import 2012-12-26 18:18:56 -08:00
friendica
91dac0f18a Merge pull request #9 from oohlaf/fixes
HTTP redirect fixes and a include file fix
2012-12-26 12:57:52 -08:00
Olaf Conradi
a5cbea038e Tweak behavior of redirect for http codes
Not every webserver supports 308 redirects with POST correctly.
Most sites are already configured using 301 or 302 redirects.
This only effects POST, GET behavior is unmodified.
Most calls to POST are under control by friendica not the end user,
so should not be a problem ni general.

GET with 301, 302, 303, 307 and 308 are redirected as GET
POST with 301, 302, 307 and 308 are redirected as POST
POST with 303 is redirected as GET
2012-12-26 18:44:30 +01:00
Olaf Conradi
7f13baf367 Same applies for 307
308 spec mentions 307 must not rewrite POST to GET
2012-12-26 16:30:19 +01:00
Olaf Conradi
cb46f7b227 POST redirects to POST on 308 only
POST redirects to POST on 308 only, 301-307 to GET.
Side-effect is that POST params get dropped for GET.
2012-12-26 16:08:21 +01:00
friendica
c8292b3cdd remove the private keywords stuff to reduce directory and search complexity 2012-12-26 03:49:50 -08:00
friendica
1aeea64311 include/follow cleanup 2012-12-25 22:57:16 -08:00
Olaf Conradi
bb16186fab Add permanent redirect (308) http code
Add 308 http code next to 301, 302, 303 and 307.
Close curl session before returning on redirect.
Let post_url redirect using post_url, not fetch_url (which is
actually 308 behavior).
2012-12-26 04:03:12 +01:00
friendica
f2a0514917 prevent connecting to yourself or connecting to the same channel multiple times 2012-12-25 18:48:51 -08:00
Olaf Conradi
e15683175e More whitespace fixes 2012-12-26 03:25:13 +01:00
Olaf Conradi
4d684b3790 Fix whitespace 2012-12-26 02:17:43 +01:00
Olaf Conradi
acbf822bbd Stringify groups before imploding 2012-12-25 16:01:32 +01:00
friendica
ce0d389696 profile messages for directory synchronisation 2012-12-22 04:33:32 -08:00
friendica
f09b9f1e44 add permission controls to "storage" objects such as attachments or other stored files 2012-12-22 03:33:12 -08:00
friendica
e091d30ca4 wrong constant 2012-12-20 00:33:53 -08:00
friendica
ad20e1f617 directory page still needs a lot of work, look up locally if local master or standalone, need to put some basic profile info in discovery page and direct to local directory master 2012-12-19 19:51:52 -08:00
friendica
893ba371a9 set_baseurl issue, more cleanup 2012-12-19 16:48:17 -08:00
friendica
44e70bdca3 send stuff to zothub as a fallback directory master for now 2012-12-18 19:10:56 -08:00
friendica
e9c87a69ce cleanup more obsolete stuff 2012-12-18 16:29:57 -08:00
friendica
e9b5b0f0b4 several small fixes and adjustments 2012-12-16 20:20:29 -08:00
friendica
fa8b4e98b7 some cleanup - Thomas we can put the radius/shadow stuff back later for the hipster kids, it's quite distracting at the moment and makes it hard to get serious work done. Hmmm. Wonder if we could make radius/shadow configurable like colours.... and maybe even screen transparency.... that could be interesting. 2012-12-16 15:49:22 -08:00
friendica
5d008a6923 fixing permissions_sql - may need more tweaks 2012-12-16 03:38:04 -08:00
friendica
00128955eb typo - this keyboard is getting frustrating 2012-12-16 02:46:21 -08:00
friendica
8d8ad7656e there are now 2 permalinks - one is the remote original post (plink) and the other is a pointer to a local copy (llink). mod_display is not longer tied to a particular id or channel so if a message is publicly viewable it will appear without any ownership info. 2012-12-16 02:18:26 -08:00
friendica
696551222e typo 2012-12-16 02:07:16 -08:00
friendica
37974e5288 db query looping without bounds if group table wasn't manually updated to add the 'hash' column. 2012-12-14 15:08:55 -08:00
friendica
dd2483221d admittedly local magic-auth is easy so that's mostly done. Now it gets hard. 2012-12-13 16:27:58 -08:00
friendica
6e363ed0c8 typo 2012-12-12 15:31:43 -08:00
friendica
d93080ac74 So what if Red could do more CMS types of things? And you could add arbitrary web content pages of your own design to your channel resources? Oh wait... 2012-12-12 15:27:39 -08:00
friendica
7737382378 revamp permissions, blocking a contact takes priority over all other permission settings, such as "allow anybody in network to do xyz". If they're blocked they can't do it. 2012-12-10 20:09:19 -08:00
friendica
b0970850d4 Allow forum/account delegation by anybody? On any site? But of course... 2012-12-10 13:44:54 -08:00
friendica
c066793554 get rid of more targeted windows and direct all profile view to local site 2012-12-09 20:17:38 -08:00
friendica
47235e5b32 start whipping the item photo menu into shape 2012-12-09 19:57:02 -08:00
friendica
f8c33243bf start to whip the permissions into shape, also got rid of the mce drop shadow until we can figure out how to do it without the ugly black bars. I tend to prefer "outy" shadows over "inny" shadows anyway, but maybe that's just me. 2012-12-09 18:07:36 -08:00
friendica
c70777e19c a bit of e_all cleanup 2012-12-08 14:18:02 -08:00
friendica
2452b822f9 permissions should now be stored correctly on posting 2012-12-07 14:18:10 -08:00
friendica
a0a8cde201 do zot_finger/import_xchan on zid requests so we get the info cached locally 2012-12-06 20:05:42 -08:00
friendica
2a7a5b2d01 move 'Connect' button to local chanview page, remove from remote profile pages - still requires some theming love 2012-12-06 19:44:13 -08:00
friendica
8f864ebd19 Fixing the acl widget is going to be hard. Here's a start. 2012-12-06 19:18:38 -08:00
friendica
435836b224 templatise micropro 2012-12-06 18:17:43 -08:00
friendica
0bcbcc3b5a use consistent quote encoding 2012-12-06 16:12:45 -08:00
friendica
6ed27f9503 contact photo issues 2012-12-06 15:52:37 -08:00
friendica
7d1610197d move autosubmit up a level where it will actually work 2012-12-06 14:15:40 -08:00
friendica
c6b8ab534f fixed several little nit bugs that cropped up during deployment 2012-12-06 00:03:24 -08:00
friendica
d5800c61dc third param to zot_finger no longer needed 2012-12-05 18:50:27 -08:00
friendica
270266357d make mail replies work 2012-12-05 17:11:38 -08:00
friendica
1c6f301d8f y'all got mail 2012-12-05 16:44:07 -08:00
friendica
e17ba14696 DB: do the mail table again. Mail almost working onsite, still needs to zot though 2012-12-04 18:24:46 -08:00
friendica
c5cace552b most of the basic "make friends" stuff except for email notifications, drop community tab 2012-12-03 19:17:02 -08:00
friendica
7b4a92146f local delivery 2012-12-02 20:54:20 -08:00
friendica
c38ec1ab48 notify stuff 2012-12-02 20:01:30 -08:00
friendica
7f1a4a3060 auto-friending for forums and stuff is almost trivial now. But we will need a page to set the permissions on the "self" abook record. These will be the default permissions for anybody we wish to connect with. 2012-12-01 22:37:41 -08:00
friendica
f7ff2de132 add pending check on group queries 2012-11-29 23:06:03 -08:00
friendica
c079133719 remove previous iterations of threading code because it's not being used and just confusing things 2012-11-29 20:53:43 -08:00
friendica
59ea856311 further progress on new network/home notifications 2012-11-29 20:46:45 -08:00
friendica
dd428cf4fc rm pidfile stuff since we won't need poller locking 2012-11-29 19:52:10 -08:00
friendica
7082d198c2 Now if you follow somebody it will create an abook entry on the other site with blocked,ignored, and pending set. No "friend notifications" yet. 2012-11-29 18:15:13 -08:00
friendica
e138052584 backport features categories and add some new ones like the affinity slider 2012-11-28 19:23:39 -08:00
friendica
05e08cb5d2 trace through the threaded conversation spaghetti to bring back a sane looking network page 2012-11-28 18:45:11 -08:00
friendica
2fe2de1d5a got comments going back and forth - we really need local_deliver now since even local deliveries are going through zot and that isn't necessary or desirable in the long term 2012-11-27 17:09:01 -08:00
friendica
f3fdbb6021 tracking through comments 2012-11-27 03:08:26 -08:00
friendica
e916d71cc5 basic (very basic) communication showing up on network page 2012-11-26 23:52:16 -08:00
friendica
941c554031 You've got mail! (actually a post, mail is for another day) 2012-11-26 21:20:16 -08:00
friendica
ed9d7257b0 fix item_private flag 2012-11-26 17:07:23 -08:00
friendica
d79d698beb more heavy lifting on delivery - now we can find all the recipients on the system who have any acceptable permissions for receiving a post. Next we just need to process edits and deletes, and otherwise store the message - yay. Still a lot of work, but we've come a long way baby. 2012-11-26 16:48:04 -08:00
friendica
ccf44f2514 more but slow progress on deliveries. The b*tch is trying to match permissions 2012-11-25 23:18:11 -08:00
friendica
cd4e381aa1 "heavy lifting" - zot messages flowing, now just need to be parsed and stored at the other end. 2012-11-19 20:45:12 -08:00
friendica
194ef02c28 DATABASE: outq additions, delivery now getting the notify across to the other side 2012-11-19 16:51:15 -08:00
friendica
db77309bc3 For private messages, use hush-hush ultra top-secret mode by default 2012-11-18 19:19:16 -08:00
friendica
8611c3da68 Now we are able to get a zot notification packet and the resulting json encoded message into the queue, it's still a hard slog, but there's light at the end of the tunnel - "a message is ready and waiting to be delivered". 2012-11-18 18:30:00 -08:00
friendica
387346c772 and there's the import side of things 2012-11-17 12:55:59 -08:00
friendica
9c51f37f29 mostly working item_decode, but without full input santising 2012-11-17 02:29:02 -08:00
friendica
011ca56e93 remove include/salmon 2012-11-16 16:13:02 -08:00
friendica
b8609aba63 little stuff 2012-11-16 15:53:02 -08:00
friendica
9a726f0308 finish basic item encoding, add plugin compatibility tag, notes on improving $global_perms for edge cases 2012-11-16 13:57:55 -08:00
friendica
5d4c9f5617 more progress on notifier cleanup and encoding items for transit. 2012-11-15 21:52:05 -08:00
friendica
ef192a3c14 start on item feed structures 2012-11-14 23:09:25 -08:00
friendica
160258fd5d make the visual group editor work again in the new world 2012-11-14 20:55:05 -08:00
friendica
71dc132f42 more infrastructure changes 2012-11-14 19:27:16 -08:00
friendica
fcb89c6311 groups now take xchans, so you can have groups containing channels that you aren't connected with 2012-11-14 18:18:28 -08:00
friendica
0ace91bd0e starting the big notifier cleanup 2012-11-14 17:02:30 -08:00
friendica
6ac5e048b3 cleanup 2012-11-13 20:53:33 -08:00
friendica
aa88165383 mood mostly working 2012-11-13 19:32:59 -08:00
friendica
4af6d77de3 a bit more progress on the new network/home ajax notifications, at least I've now got a plan 2012-11-13 16:04:22 -08:00
friendica
b7ccf08cea self-signed cert? Since you won't listen to me and insist on annoying your friends, sorry, but red won't talk to you. This snake is dead. 2012-11-13 14:58:58 -08:00
friendica
34f8b06d45 still a lot of files to bring up to date with new architecture - keep plugging away at them 2012-11-13 14:37:02 -08:00
friendica
9bfff0bca1 ensure we update the correct abook record 2012-11-13 01:42:08 -08:00
friendica
5bf3ddfcf6 got zot 2012-11-12 20:59:18 -08:00
friendica
b4c603cdac one could say we've sort of got zot - at least there are two-way communications for channel meta info, don't yet know if it's working 2012-11-12 16:16:37 -08:00
friendica
f4ac91a8bc typo 2012-11-11 19:13:38 -08:00
friendica
9fd2c2dd8a hush-hush ultra top-secret mode 2012-11-11 19:12:20 -08:00
friendica
093ab7177a rework a couple of zot basics 2012-11-10 23:26:12 -08:00
friendica
dd00fcc7bb starting to get into the hairy parts of zot - identity, location, and permission synchronisation. After this, messaging should be a piece of cake. 2012-11-10 20:08:07 -08:00
friendica
593d361d2e profile/channel page view contacts 2012-11-09 00:02:46 -08:00
friendica
517c05700d turn star into a feature 2012-11-08 23:04:34 -08:00
friendica
22841e1566 start implementing zot-id 2012-11-08 19:07:19 -08:00
friendica
f66a3d26be magic auth indicator (link is dead at the moment) 2012-11-08 18:44:33 -08:00
friendica
c1b931549c permissions and contact permissions are now sticky 2012-11-08 17:33:38 -08:00
friendica
3d56ab227d turn multiple profiles into a feature, implement connection flags (block,hide,archive,etc.) 2012-11-07 18:48:31 -08:00
friendica
295b865d06 "follow" now creates an address book entry, which means we can start tying that into the "connections" module - still have to turn the "contact edit" page from a mockup to real code, but it's all starting to flow. 2012-11-06 18:13:47 -08:00
friendica
55df0452b6 finish off like/dislike localisation except for zrl/magic_link 2012-11-06 16:16:26 -08:00
friendica
417d1080d4 likes working a bit better - not translateable yet 2012-11-06 00:30:40 -08:00
friendica
82e74e3520 likes are quasi working again - at least an activity item is stored and it mostly has correct data, but displaying it needs improvement. 2012-11-05 23:52:01 -08:00
friendica
7d926213c6 fix the profile change activity post 2012-11-05 21:05:51 -08:00
friendica
90e70d9674 start on the like/dislike activities 2012-11-05 20:42:12 -08:00
friendica
fe5f511f19 more work on the settings pages 2012-11-05 17:17:21 -08:00
friendica
4f1170b656 change permission settings from radio buttons to select boxes 2012-11-05 15:26:01 -08:00
friendica
2752b58f33 plaintext default - richtext is a feature 2012-11-05 01:25:08 -08:00
friendica
152641bf24 that was certainly some fun debugging (not) 2012-11-04 20:53:59 -08:00
friendica
94f737b699 some cleanup of main item template 2012-11-04 16:57:09 -08:00
friendica
aaa5a2638c feature enable 'dislike' - backend 2012-11-03 23:39:38 -07:00
friendica
d72bad4efa typo 2012-11-04 15:52:58 +11:00
friendica
a746eb751f note about extending the hook system for application wrappers 2012-11-03 20:21:55 -07:00
friendica
be0f376d6a expanded help text for features 2012-11-03 20:13:21 -07:00
friendica
f55636aeb6 turn off categories feature by default 2012-11-03 16:51:29 -07:00
friendica
ece59b778e turn off some "advanced" features by default, like archives and saved search - even though we don't yet have a screen to turn them on. That will come. 2012-11-03 16:40:05 -07:00
friendica
7915e597ec more theme stuff 2012-11-03 06:32:27 -07:00
friendica
358111c76b fix post preview 2012-11-03 05:46:56 -07:00
friendica
8a983a82ec remove recursive share tags 2012-11-03 03:59:37 -07:00
friendica
2fa93655c4 a lot more changes of terminology 2012-11-03 02:34:12 -07:00
friendica
140f464e02 channels you are connected to are "connections". Get rid of "address book" which doesn't fit. 2012-11-03 02:00:48 -07:00
friendica
a47a1d5eb9 secure permission discovery 2012-11-02 16:25:59 -07:00
friendica
aca2e3b52a add key passing and verification to targeted discovery 2012-11-02 15:34:35 -07:00
friendica
9547e8004d slightly better wording of permission choices 2012-11-02 02:18:52 -07:00
friendica
af9890cd3e consolidate permission arrays 2012-11-02 02:04:07 -07:00
friendica
8ae77d2984 verify all the signatures before adding contact 2012-11-02 01:44:27 -07:00
friendica
83cf11dd95 fixed the hash, now onward & upward 2012-11-02 00:19:04 -07:00
friendica
37653a3760 grrr... hashes aren't matching. 2012-11-01 22:23:13 -07:00
friendica
5c9a68488a bug in get_all_perms 2012-11-01 20:47:32 -07:00
friendica
3bf5677797 settings page channel permissions front-end (needs back-end still) 2012-11-01 19:47:10 -07:00
friendica
42ac706b9f more progress on follow - should be able to import the xchan and photos. 2012-11-01 16:36:35 -07:00
friendica
9bf4508ffb cleanup channel management 2012-11-01 15:45:02 -07:00
friendica
3f7530417a typos 2012-11-01 02:00:25 -07:00
friendica
d4657c89c2 merging zot_finger schema additions 2012-11-01 01:54:51 -07:00
friendica
1b74753c11 typo 2012-10-31 21:58:17 -07:00
friendica
77c30972cb network discovery on follow 2012-10-31 21:42:20 -07:00
friendica
78f64c90a3 get permission discovery working - guid sigs were getting truncated in db 2012-10-31 20:53:02 -07:00
friendica
0dd06b736a need to accomodate different webbies on different hubs 2012-10-31 18:05:36 -07:00
friendica
2a0ff2b542 merge zperms functionality into zfinger 2012-10-31 17:38:22 -07:00
friendica
62a8298b54 starting on pinging the basic elements of federation and communication 2012-10-31 16:55:19 -07:00
friendica
fb173900a1 more progress on address book 2012-10-30 21:37:58 -07:00
friendica
f608373d08 fixing broken things again after the latest round of ripping out the yellow slime and replacing it with red slime. 2012-10-29 20:47:56 -07:00
friendica
1a6415807e more structural stuff 2012-10-29 19:31:38 -07:00
friendica
e3c2e58979 "profile url" e.g. the wall/stream is now "channel url". "Profile URL" goes to the profile details. 2012-10-29 17:14:02 -07:00
friendica
6496a07460 ignore error for non-existent DB fields at the present time since it's just filling up the logs with noise. 2012-10-28 22:10:07 -07:00
friendica
e138876199 fix updating of bitwise 'unseen' to account for mysql operator precedence 2012-10-28 22:08:08 -07:00
friendica
d0d8971a69 start to use our permissions for stuff 2012-10-28 20:01:36 -07:00
friendica
4bcf19632b Now have a solid permissions model. Create a few functions to enumerate them and then we're off to the races. 2012-10-28 18:50:35 -07:00
friendica
1a9ab12748 fix starring posts 2012-10-27 05:26:34 -07:00
friendica
96c8e74438 start on network/home notification refactor 2012-10-27 04:43:39 -07:00
friendica
e29618ee0d contact group is now 'channel group' 2012-10-27 03:54:44 -07:00
friendica
0baf4bb4d2 fix a couple of things that went wonky when moving to thread objects 2012-10-27 03:05:51 -07:00
friendica
5b1a15704b feature management 2012-10-26 15:31:10 -07:00
friendica
26774310b1 move things to the newer conversation object, a few minor bugs - will sort it out eventually 2012-10-25 21:58:33 -07:00
friendica
3b394ea43f comments sort of working again but now need to fix the threading which was ported when it was only half working 2012-10-25 18:42:42 -07:00
friendica
ebb75340ec fixes to photo linked items, shut up poller until I can get to that 2012-10-25 00:10:53 -07:00
friendica
939543b26d more progress on the main photos module 2012-10-24 22:21:35 -07:00
friendica
ceeb4db6e3 Give the UI a little love after all the backend mods 2012-10-24 19:13:29 -07:00
friendica
cf89db176a fix photo paths 2012-10-24 00:00:16 -07:00
friendica
968b9ce1af more heavy lifting 2012-10-23 21:24:23 -07:00
friendica
8e8482355b more heavy lifting 2012-10-23 17:14:50 -07:00
Mike Macgirvin
7acba41dc6 more cleanup 2012-10-23 21:26:12 +11:00
Mike Macgirvin
672da80282 progress however tedious 2012-10-23 20:59:20 +11:00
Mike Macgirvin
364266e7a0 cleanup 2012-10-23 20:51:41 +11:00
Mike Macgirvin
76f7a4baf3 cli_startup() for directory updates 2012-10-23 19:35:06 +11:00
Mike Macgirvin
9d043d2db4 remove remoteupdate since it only worked for a month in 2011 2012-10-23 19:09:32 +11:00
friendica
d9c947663c mv objects from object dir to include where they belong 2012-10-22 20:07:40 -07:00
friendica
21578fd0b0 cleanup missing functions after move 2012-10-22 19:48:48 -07:00
friendica
a7abe24382 more file cleanup 2012-10-22 19:46:18 -07:00
friendica
8f9ddcb536 lotsa little fixes 2012-10-21 22:11:02 -07:00
friendica
87c171030c upstream fixes 2012-10-21 17:23:21 -07:00
friendica
112e4e6c9c more work on profile changes - the notify activity is still stuffed as we finalise the json structure for activitystream meta-data 2012-10-19 15:40:13 -07:00
friendica
b60560812f fix photo in nav menu 2012-10-19 03:49:39 -07:00
friendica
8981da89c3 don't show categories widget if there are none 2012-10-19 03:36:09 -07:00
friendica
2c3c933ed4 get profile edits working 2012-10-18 20:59:00 -07:00
friendica
a680eb3a73 output queue (merges the old deliverq and queue and adds some zotness) 2012-10-17 16:18:36 -07:00
friendica
794c92a8fb wall posts now display - address book structure revamp started 2012-10-10 17:58:56 -07:00
friendica
5248c5075d more stuff we don't need. 2012-10-08 18:23:43 +11:00
friendica
ef22c1a9b3 prevent tag recursion on shared posts 2012-10-08 18:04:12 +11:00