Commit graph

6677 commits

Author SHA1 Message Date
friendica
da5a1be26d fix channel page permissions for public viewing 2012-12-28 19:56:01 -08:00
friendica
f048c1d05a Merge https://github.com/friendica/red into zpull 2012-12-28 17:29:41 -08:00
friendica
ddd58e6e28 bypass replace_macros and use template processor directly for theme includes 2012-12-28 17:28:49 -08:00
friendica
096e370110 Merge pull request #10 from beardy-unixer/master
More themeing.
2012-12-27 23:47:29 -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
Thomas Willingham
2fb831637c Merge remote-tracking branch 'upstream/master' 2012-12-28 02:07:20 +00:00
Thomas Willingham
13b4ca2d4f More fancyred progress 2012-12-28 02:06:45 +00:00
friendica
55e77a57d0 get rid of xtag 2012-12-27 14:36:06 -08:00
Thomas Willingham
02be8defb3 Move like wrapper. Keep template theme specific while, at least while it's still in flux. 2012-12-27 09:47:44 +00:00
Thomas Willingham
d7a7679de0 Another diaspora template 2012-12-27 09:37:23 +00:00
Thomas Willingham
85049c860c Pretty sure we don't need Diaspora templates. 2012-12-27 09:24:39 +00:00
friendica
efdcf7ad16 put keywords back in xprof - too messy to search and join from a separate table 2012-12-27 00:57:47 -08:00
friendica
196375251d directory server json search module 2012-12-27 00:04:54 -08:00
friendica
76c2fc5afd will have to search tags/keywords another way 2012-12-26 22:44:27 -08:00
friendica
8998d86423 local search against the directory - need to convert this to client/server role 2012-12-26 21:32:11 -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
7a6972efb5 provide a default directory configuration (client) 2012-12-26 17:20:57 -08:00
friendica
83a1167682 typo in mod_match 2012-12-26 16:51:54 -08:00
friendica
7a257a66c3 Merge https://github.com/friendica/red into zpull 2012-12-26 16:51:18 -08:00
friendica
a162b20437 add keywords to zot-info profile 2012-12-26 16:50:52 -08:00
friendica
84fefcd469 add important profile fields to zot-info if permitted - for directory 2012-12-26 16:43:13 -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
414f7ccc00 Include zot for magic 2012-12-26 04:22:43 +01: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
friendica
a4b7fe3b64 Merge https://github.com/friendica/red into zpull 2012-12-25 16:59:26 -08:00
friendica
2c95858700 allow toplevel domain redirects for zot-info 2012-12-25 16:57:48 -08:00
friendica
56d0dbbc96 Merge pull request #8 from oohlaf/fixes
Stringify groups before imploding
2012-12-25 14:40:53 -08:00
Olaf Conradi
acbf822bbd Stringify groups before imploding 2012-12-25 16:01:32 +01:00
Thomas Willingham
0e0593cc0b Merge pull request #7 from beardy-unixer/master
Un-mess up the Redbasic CSS
2012-12-24 19:30:29 -08:00
Thomas Willingham
2f3a079a7d Merge pull request #6 from oohlaf/theme
Forgot dir separator
2012-12-24 19:30:00 -08:00
Thomas Willingham
25652348a3 Un-make a mess of Redbasic CSS. 2012-12-25 03:19:27 +00:00
Olaf Conradi
81168a545a Forgot dir separator 2012-12-25 04:00:51 +01:00
Thomas Willingham
0dd5dbe4dc Merge pull request #5 from oohlaf/theme
Fix theme config paths
2012-12-24 18:34:07 -08:00
Olaf Conradi
85371a526f Fix theme config paths 2012-12-25 03:14:52 +01:00
friendica
ce0d389696 profile messages for directory synchronisation 2012-12-22 04:33:32 -08:00
friendica
91932ac5a8 When is a channel not a person (or a group/forum or blog or product page or whatever)? When it's something else completely. 2012-12-22 03:39:48 -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
8d71fe91f6 cleanup editpost 2012-12-21 04:08:48 -08:00
friendica
7daf2cf7db directory structures 2012-12-21 03:34:17 -08:00
friendica
abee07f12b more DB cleanup 2012-12-20 22:53:50 -08:00
friendica
1c09e055c6 mod_display - now barely functional but that's a lot better than being totally buggered. 2012-12-20 22:17:10 -08:00