Commit graph

2153 commits

Author SHA1 Message Date
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