Commit graph

3067 commits

Author SHA1 Message Date
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
94975f8d30 categories should already be html encoded - ensure this is the case but don't double encode 2013-12-13 12:30:44 -08:00
friendica
65c0b84313 always load css and js sources using the same url as the page that is being visited so there is no http/https mismatch. 2013-12-12 18:13:52 -08:00
zottel
3a11980e49 htmspecialchars_decode only takes one argument. 2013-12-12 13:32:11 +01:00
friendica
303324cdff more htmlspecialchars sanitisation 2013-12-12 02:15:02 -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
18f0ab2605 cmax wasn't defaulting correctly 2013-12-11 19:56:57 -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
2f46bacded head_remove_css, head_remove_js 2013-12-11 18:29:56 -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
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
marijus
aea1e1af82 this makes quotes appear as quotes in notes once page is reloaded. i guess thats fine since we use escape_tags() in notes.php 2013-12-11 18:57:42 +01:00
Thomas Willingham
d93ba783f5 Don't let nobody set an xconfig in safe search. 2013-12-11 15:35:19 +00:00
marijus
1d8c15f2df make suggest channels a feature 2013-12-11 12:01:28 +01:00
friendica
652959678f cleanup and Comanchification of mod_profile 2013-12-10 23:27:17 -08:00
friendica
e5ea4a009b mod channel is now Comanchified 2013-12-10 20:36:11 -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
251720bfd3 turn private notes into a feature 2013-12-09 18:54:50 -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
friendica
d8c632ada2 more comanchisation (I declare this to be a word) 2013-12-09 00:41:49 -08: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
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
b8454cbd1d post_activity_item issues 2013-12-07 23:29:26 -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
39536f6b7d add some entropy 2013-12-06 22:48:06 -08:00
friendica
f45b06ffa0 suggestion widget 2013-12-06 21:40:01 -08: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
38577cf26c issue #225 2013-12-05 18:17:16 -08: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
04f61dd4a1 add icon_trnalsate 2013-12-04 21:10:03 -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
657b842d64 more documentation work 2013-12-03 17:33:48 -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
9f2efb0291 ensure that every imported channel has a primary hubloc 2013-12-02 23:55:57 -08:00
friendica
d9f67876dc refactor magic-auth 2013-12-02 15:15:02 -08:00
friendica
55d8ed17a7 trimmed style.css by a few hundred lines. Needs many more such efforts 2013-12-01 21:11:47 -08:00
friendica
92f60ef51f get rid of deprecated post_url() function 2013-12-01 19:52:18 -08:00
friendica
fefc44660f remove hook logging - too noisy 2013-12-01 13:41:51 -08:00
friendica
d43118fdcf get rid of fetch_url - post_url will be a bit harder as several plugins need to be updated 2013-12-01 00:35:35 -08:00
friendica
bd33e0486d deprecate a->get_curl_code() and $a->get_curl_headers() 2013-12-01 00:16:02 -08:00
friendica
3163731a3d hooks getting called twice 2013-11-30 03:40:25 -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
7536ed6e44 allow themes to mess with the navbar contents without a custom template. It's done as a callback using a transient plugin hook.
For instance to get rid of the notifications link:

insert_hook('nav','strip_notify');

function strip_notify($a,&$b) {
    unset($b['nav']['notifications']);
}
2013-11-28 20:17:07 -08:00
friendica
d1ab865ccf make the template processor (e.g. replace_macros) pluggable 2013-11-28 19:17:45 -08:00
friendica
94c293f2c6 doco 2013-11-28 18:46:59 -08:00
friendica
eae3327584 item store hooks 2013-11-28 18:10:04 -08:00
friendica
8e0d3c2d6f doco 2013-11-28 17:47:33 -08:00
friendica
fafba385c1 only list undeleted hublocs in zot_finger 2013-11-28 16:46:47 -08:00
friendica
13e73c005a Merge https://github.com/friendica/red into zpull 2013-11-28 16:13:35 -08:00
friendica
ff91541cfd zot doco 2013-11-28 16:13:09 -08:00
Olivier Migeot
2239d472e5 Plurals for conversation.php 2013-11-28 12:24:37 +01:00
friendica
aab9b30d03 synchronise deletion of comments between red and wp 2013-11-28 00:16:13 -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
da29ce6dac more loop prevention 2013-11-26 23:10:10 -08:00
friendica
ff635f0133 ensure that drop_item doesn't recurse 2013-11-26 23:00:32 -08:00
friendica
ef53c72a70 delete from the wp side as well as from the red side 2013-11-26 17:02:49 -08:00
friendica
6f6fcddfc3 api fixes 2013-11-26 16:38:48 -08:00
friendica
dde3e28ceb add drop_item hook 2013-11-26 15:26:11 -08:00
friendica
a82a1d7c05 add recipient name to the rest of the notification emails 2013-11-24 14:39:29 -08:00
tuscanhobbit
2c6e1b7aee replaced rhash icon 2013-11-23 20:01:11 +01:00
tuscanhobbit
8619fc368d updated logo in readme and r# shorthand 2013-11-22 22:45:16 +01:00
friendica
34f8b21511 init_groups_visitor() was still using old array of id output (not the newer array of hash which we need for permission queries) 2013-11-22 11:52:38 -08:00
friendica
4be581494e add recipient name to some of the notification emails for those who have a lot of channels and it isn't always obvious which channel is getting the notification. If this works out we should probably add this to the rest of them. 2013-11-21 20:40:31 -08:00
friendica
f2435ed4cd follow and accept_follow hooks 2013-11-21 17:49:14 -08:00
friendica
3e0ac769aa white screen 2013-11-21 17:23:14 -08:00
friendica
be8a7e2de6 this is necessary for any possibility of a federated future. 2013-11-21 15:58:42 -08:00
friendica
4791b2fd9c add aid to notifiy table which we may need to supress duplicate notify emails across your channels
also try to handle the wretched mess of broken and duplicated hublocs that fred.cepheus.uberspace.de typically reports
2013-11-20 21:09:13 -08:00
friendica
5315c88621 webpage edit - losing the ability to pass unfiltered html and perhaps some php due to unsetting uid too early in item_store_update() 2013-11-20 16:20:32 -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
ed129f19b0 fix plugin and them toggles for the colourblind, add theme info block and recent screenshot to redbasic 2013-11-18 18:37:38 -08:00
friendica
dd6c64f95a magic auth issues 2013-11-17 23:12:34 -08:00
friendica
f8b07e1935 filter out duplicate recipients on local deliveries. We only need to deliver stuff once to any particular channel. 2013-11-17 20:43:50 -08:00
friendica
6378600747 fix commented timestamp 2013-11-17 20:09:40 -08:00
friendica
23352b939b better job of setting parent created 2013-11-17 19:49:48 -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
e8c9dafb90 revert to prepare_page - but have it call prepare_body 2013-11-15 15:32:26 -08:00
friendica
d06fd40696 change product name on notification emails to lowercase 2013-11-15 04:07:13 -08:00
friendica
bff135db62 comment out the multi-delete feature until somebody wants it bad enough to make it work 2013-11-15 03:44:52 -08:00
friendica
0b8c9654ea allow rpost to set source app 2013-11-15 03:10:00 -08:00
friendica
2fe6aef8bc fix default cipher for comments and set it at the conversation level rather than the item level. 2013-11-14 22:54:16 -08:00
friendica
613ff90e6a silence a warning 2013-11-14 19:33:28 -08:00
friendica
d44f77cbe3 Don't allow channel creation with a nickname 2013-11-14 16:51:23 -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
marijus
3311fe4813 make autocomplete better themable by adding an id 2013-11-14 18:03:16 +01: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
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