Commit graph

2571 commits

Author SHA1 Message Date
friendica
99c842ff39 also strip title from notification of private messages - it leaks potentially sensitive message info. Note: there is still information leakage of sender but this is difficult to avoid completely. "You've got an email from (we're sorry, we can't tell you...)" 2013-05-10 16:09:24 -07:00
friendica
6f7e002922 add db_port to setup and cli_startup - still need to set the port in mod/setup 2013-05-10 03:37:41 -07:00
fabrixxm
d4c07930d5 add $db_port to .htconfig.php and $a->config['syste]['smarty3_folder'] for compiled templates 2013-05-10 06:13:24 -04:00
friendica
112dbf3abd get search page working with live-update and endless scroll, still not perfect - there may be duplicated content and possibly unauthorised content and 'timeago' not working correctly - will deal with those later, but at least you can see results. 2013-05-09 18:08:00 -07:00
friendica
735140e8d9 Merge https://github.com/friendica/red into zpull 2013-05-08 21:31:15 -07:00
friendica
cb0a90d628 small updates 2013-05-08 21:30:54 -07:00
fabrixxm
5e1980becf remove "internal" templates, use "tpl/" folder for smarty3 templates,
move smarty3 templates in "tpl/" folder, add util/precompile_smarty.php utility, add precompiled templates
2013-05-08 04:23:17 -04:00
fabrixxm
c753fa19d2 fix internal 2013-05-08 04:00:05 -04:00
fabrixxm
31a21ac24c use smarty3 as default template engine. add pluggable template system 2013-05-08 03:51:38 -04:00
friendica
dc028ce8ba fixes 2013-05-06 02:17:20 -07:00
friendica
524f205caa photo driver issue when updating contact photos - old class structure used instead of photo_factory() 2013-05-05 22:49:46 -07:00
friendica
175f30d7cc fix admin assign 2013-05-05 21:27:21 -07:00
friendica
5031015cc5 email notification content privacy by default (unless it's public content) 2013-05-05 20:07:19 -07:00
friendica
6f04a7e070 minor fixes related to postgres development 2013-05-05 19:34:56 -07:00
friendica
b33c15d045 members_of_group() output not entirely correct 2013-05-02 20:51:58 -07:00
friendica
d517b4fdf5 change plugin_install to plugin_load, etc. 2013-05-01 02:23:40 -07:00
friendica
72a770ae36 change the way profiles are imported 2013-04-30 18:16:51 -07:00
friendica
d63de4dbe2 don't try and load an empty string as a photo 2013-04-29 19:52:31 -07:00
friendica
641e69ef7f fix broken profile syncing 2013-04-29 18:47:34 -07:00
friendica
04170328b1 add some debugging - update times are changing much faster than they're supposed to. Log what has changed. 2013-04-29 18:21:23 -07:00
friendica
50db4a7120 port superblock core code (except Red will use an xchan instead of a URL) 2013-04-28 22:46:07 -07:00
friendica
72e83f69bc photo driver abstraction 2013-04-25 20:01:24 -07:00
friendica
d3b5e67890 odds and ends in prepearation for photo abstraction, plus red-to-friendica addon 2013-04-25 01:55:35 -07:00
friendica
9d564913f6 dba driver cleanup 2013-04-23 04:52:03 -07:00
friendica
9bff33f112 remove old driver 2013-04-22 21:40:33 -07:00
friendica
150b18005a cleanup debugging code in abstracted db driver 2013-04-22 21:14:11 -07:00
friendica
552f03122c db abstraction layer 2013-04-22 20:02:21 -07:00
friendica
7621bd3bb1 reverting to fancybox for "save to file" selection box until we find a better way - prettyPhoto just isn't working for this and I really need this functionality ATM until we can figure out how to make prettyPhoto work properly here. 2013-04-21 22:12:18 -07:00
friendica
868a1877d2 sql error on contact removal 2013-04-19 04:47:49 -07:00
friendica
0fbb3b6a97 for directory sync, ensure we have a fallback master; even if we have nothing else 2013-04-18 20:47:35 -07:00
friendica
db038c5654 turn naked links in posts into zrl's if we've got a hubloc for the site 2013-04-18 17:55:35 -07:00
friendica
5f27e29bb8 basic poke working 2013-04-17 21:40:40 -07:00
friendica
4d5eade991 That was a bit premature. I'll hold these for now until they're more production ready. 2013-04-17 18:55:26 -07:00
friendica
3e1b005de0 start of DB driver abstraction class (we'll need similar mechanisms for the GD/ImageMagick photo stuff and perhaps also for abstracting alternate "social networks") 2013-04-17 01:47:36 -07:00
Thomas Willingham
6e2e8f101a Uncripple zids. 2013-04-16 05:52:10 +01:00
friendica
7e6890832b turn all Red links into zrls (not the old zrls, the new bbcode zrl which means we can zidify them) 2013-04-15 03:00:08 -07:00
friendica
ab5151c470 more Friendica removals 2013-04-14 22:44:11 -07:00
friendica
53c69a17c5 more cleanup 2013-04-14 22:28:45 -07:00
friendica
b84d8bfbc9 begin to cut the umbilical 2013-04-14 22:24:47 -07:00
friendica
e411a4bdc2 IMPORTANT: magic-auth protocol update, plus 'zrl' bbcode tag for the privacy-is-more-important-than-ease-of-use folks. 2013-04-14 20:41:58 -07:00
friendica
f5940b7ddb modify linkify to work correctly with Red mid's containing '@' 2013-04-08 16:58:52 -07:00
friendica
989e78137e wrapper function to create arbitrary activities (e.g. for plugins and apps) with a minimal amount of fuss, though the amount of fuss could increase significantly depending on the nature of the activity. For a simple wall post, just set the $arr['body'] to the desired text and we'll do the rest. If the activity requires special verbs, objects or targets, these will all need to be constructed. 2013-04-04 18:54:24 -07:00
friendica
6e17be3e85 Merge https://github.com/friendica/red into zpull 2013-04-03 18:06:16 -07:00
friendica
f353b9ae3d liking comments were reverted to liking the parent after sending item to another channel 2013-04-03 18:04:48 -07:00
Thomas Willingham
8741bb20e8 Make prettyPhoto a feature, add slideshow for albums. 2013-03-29 20:36:39 +00:00
friendica
810a60b912 add new connections to default group (if any) 2013-03-27 19:35:34 -07:00
friendica
8148b7c32f update manage table and some documentation 2013-03-27 19:02:01 -07:00
friendica
ca605a8c83 more doco 2013-03-26 19:53:04 -07:00
friendica
abd58bce68 set hidden flags on new directory entries, not just existing ones 2013-03-26 19:37:33 -07:00
friendica
884812bcba doco 2013-03-25 21:32:12 -07:00
friendica
0999b88a48 Merge https://github.com/friendica/red into zpull 2013-03-21 18:29:08 -07:00
friendica
ddf5bf8968 rename 'uri' (and parent_uri) to 'mid' (and parent_mid) since these no longer remotely resemble uri's and are actually message_id's. This change is potentially destabilising because it touches a lot of code and structure. But it has to get done and there's no better time than the present. 2013-03-21 18:25:41 -07:00
Michael Johnston
fea2f9ac9b small fixes for events 2013-03-21 21:07:38 -04:00
friendica
b3c699d49a support various and multiple content_types on the display side - still have some work to do on the posting side. 2013-03-21 16:14:08 -07:00
friendica
02eb9aa521 update for js_upload 2013-03-21 15:30:51 -07:00
friendica
4b22c6e531 update 2013-03-21 02:21:44 -07:00
friendica
9d6a4093ba we'll need a special system channel (not attached to any account) for directory synchronisation 2013-03-18 17:55:04 -07:00
friendica
5a29f511c1 add xconfig table and functions, update strings and doco 2013-03-15 15:36:58 -07:00
friendica
580acc5445 update modification time whenever a directory related attribute is changed 2013-03-13 17:27:17 -07:00
friendica
e7b6669dc3 update xchans on url change 2013-03-12 17:39:35 -07:00
friendica
022316fd49 tell it like it is 2013-03-12 01:55:25 -07:00
friendica
f3f341eb8d tell it like it is. 2013-03-12 00:55:29 -07:00
friendica
6c9db5a1cf make reshares translateable 2013-03-11 21:29:43 -07:00
friendica
f988213af8 fix typos 2013-03-11 18:22:40 -07:00
friendica
f09f2998dc unknown column 2013-03-11 17:42:12 -07:00
friendica
d568f4d029 class def for reshared content 2013-03-11 16:50:24 -07:00
friendica
b86277b0ff dangerous typo that removes all your hublocs, fix reshare formatting 2013-03-11 16:13:09 -07:00
friendica
26499981b6 cleanup 2013-03-10 20:39:27 -07:00
friendica
952b2ef2ab . 2013-03-10 18:45:58 -07:00
Michael Johnston
41cd10f903 some fixes related to events
- add backticks around column "desc" in sql query
    - fixed query for data passed to showEvent
      - showEvent was picking up on id from item instead of id from event
    - fixed references to author info in template
2013-03-07 02:07:51 -05:00
friendica
3d299f066e fix comment permissions on display (again) and clean up an error seen in the logs 2013-03-06 18:52:42 -08:00
friendica
c5d0da43e5 tweaky tweak, plus add share tracking db, and don't show acl for guest postings, and experiment with compressing pcss on the fly 2013-03-06 15:13:54 -08:00
friendica
59ea4e32a0 randprof sorta working 2013-03-06 00:21:02 -08:00
friendica
6845d22285 hide hidden entries 2013-03-05 21:04:47 -08:00
friendica
4062be2869 basic friend suggestions (but not "new to the network and have no friends at all" suggestions) 2013-03-05 21:00:25 -08:00
friendica
dd22e1b582 just tinkering and trying a few things - don't get upset. It can all be reverted it it sucks. Freedom's just another word for "nothin' left to lose" and I'm not sure it's possible to create a UI that's hated more than Friendica. So that gives us plenty of artististic license to explore some different directions and see if they lead to anything interesting. 2013-03-05 15:48:56 -08:00
friendica
8d442e6fc1 fix timeago (again), webfinger new spec implemented, some theme work 2013-03-04 20:58:39 -08:00
friendica
4cfbdfa6db cleanup affinity tool 2013-03-03 23:38:08 -08:00
friendica
a7efec2b51 edits might really work now 2013-02-28 18:59:03 -08:00
friendica
a2a2ae2dd2 this might make edits update across the wire, or it might not 2013-02-28 18:20:42 -08:00
friendica
8275f14cea mail recall - just set mail_flags = mail_flags & MAIL_RECALLED and tell the notifier. We'll need a special button for this. Also should probably report whether it was seen or not. Will do that another day. 2013-02-27 20:38:33 -08:00
friendica
5612716cff taking the next step on pages 2013-02-27 17:09:04 -08:00
friendica
596ed80adf hex2bin is a built-in function in PHP 5.4 2013-02-27 00:59:41 -08:00
friendica
48d2f7e07d get rid of str_getcsv legacy function since we now require php 5.3 2013-02-26 20:07:14 -08:00
friendica
70e766c2bf xss attack vector in bbcode.php - check for proc_open being disabled for security reasons in install 2013-02-26 19:41:44 -08:00
friendica
c1e2f95484 doc update 2013-02-26 18:26:33 -08:00
friendica
1a6a89da1b remove things calling feed_birthday(), so we can remove it 2013-02-26 18:10:09 -08:00
friendica
b69fca14e7 initial doco 2013-02-26 15:49:37 -08:00
friendica
9430117204 route oembed through z_fetch_url 2013-02-25 20:13:30 -08:00
friendica
c45a8e2763 make sure old fetch_url calls (and those that provided their own curl wrapper) go through z_fetch_url 2013-02-25 20:06:33 -08:00
friendica
46a89910ae partial port of embedded shares 2013-02-25 19:06:31 -08:00
friendica
ea3940c4b0 start formatting for Doxygen 2013-02-25 17:09:40 -08:00
friendica
cfd0dc1bff little fixes 2013-02-24 20:21:37 -08:00
friendica
1abce176ff add groups and personal configs to export/import 2013-02-21 21:18:36 -08:00
zottel
e724e2b0d2 bring back like/dislike and share buttons 2013-02-21 11:27:41 +01:00
friendica
0e9cf839d6 fix localdir privacy (again) 2013-02-19 23:41:42 -08:00
friendica
7038ad2e59 set xchan hidden flag correctly when local directory update 2013-02-19 23:31:26 -08:00
friendica
a192171365 directory debugging 2013-02-19 23:21:23 -08:00
friendica
23718e5e28 that should be the last critical piece. Everything else is gravy. 2013-02-19 20:22:04 -08:00
friendica
ef360f0a5c dang - this is almost testable. Still have to figure out the best way to deal with the profile photo. Otherwise if you're really brave you could give it a go and see what happens. The worst that could happen is that it destroys the universe. Not a big deal. More likely you could end up with a bunch of imported things that have to be cleaned up. Less likely but entirely possible is that nothing useful will happen at all and it'll white screen. 2013-02-19 19:08:04 -08:00
friendica
24eac8c656 the heavy lifting is done for location migration aka channel import - now it's just connecting all the dots. Don't get impatient, there are a lot of dots. 2013-02-19 17:13:23 -08:00
friendica
8a474cbff5 permission plugin hooks 2013-02-19 14:22:10 -08:00
friendica
488714290f global rename viewcontacts to viewconnections 2013-02-19 03:00:29 -08:00
friendica
2d6027150f viewcontacts update 2013-02-19 00:20:47 -08:00
friendica
6e6a83194a nothing to see, keep moving 2013-02-18 16:27:54 -08:00
friendica
65912ec0bf moving on 2013-02-18 15:15:55 -08:00
friendica
a21e6cffa1 start on channel_remove(), add some generic channel queries to the API layers 2013-02-16 15:51:55 -08:00
friendica
e754845c80 add rating support to poco 2013-02-15 22:34:01 -08:00
friendica
c66c168d1c needle/haystack reversal 2013-02-15 17:18:07 -08:00
friendica
ec3d387a65 public scope 2013-02-15 14:13:58 -08:00
friendica
b3bc061ae1 implement sender side of public scope setting (public post, network-wide, site-wide, etc....) 2013-02-14 20:17:30 -08:00
friendica
9784536ff9 more groundwork for channel import 2013-02-14 17:39:16 -08:00
friendica
d6db8513e8 placeholder comment for public scope requirement 2013-02-14 14:07:00 -08:00
friendica
4bde38c429 make 'view in context' actually go somewhere useful 2013-02-13 23:54:25 -08:00
friendica
b4057cfeb4 use our own CA bundle as authoritative for backend communications. This avoids OS dependent CA validity mismatches. 2013-02-13 20:09:30 -08:00
Thomas Willingham
5888d03ff6 Expert mode. Doesn't do anything yet, just checking in on the offchance anyone needs it before I'm finished with the theme stuff that uses it. 2013-02-13 15:35:57 +00:00
friendica
b19764c9a1 fix to common friends - it seems it counts the right number of common friends, but they are all you 2013-02-13 04:12:13 -08:00
friendica
d1e5337c72 recursion and typo in rmagic with zid 2013-02-13 00:14:01 -08:00
friendica
33c97f718c contact photo update issue 2013-02-12 16:21:12 -08:00
friendica
3ee75a795a Whinging whining stupid fucks. 2013-02-12 02:02:35 -08:00
friendica
e7170cb513 maybe it would work if I didn't put non-existent php vars into the sql. 2013-02-11 17:03:06 -08:00
friendica
bf8f066dcd more progresss on tag delivery 2013-02-11 16:59:48 -08:00
friendica
698a372ba1 Sort out registrations requiring approval 2013-02-11 16:43:27 -08:00
friendica
6db8e97535 tag notifications now work. 2013-02-11 15:51:43 -08:00
friendica
ba3cff6d9a progress on tag delivery 2013-02-11 00:20:14 -08:00
friendica
191af201fb debug tag_deliver 2013-02-10 23:19:52 -08:00
friendica
127f5a447d debug import_profile_photo 2013-02-10 20:09:32 -08:00
friendica
08bc8ed876 add mimetype to protocol layers 2013-02-10 19:08:19 -08:00
friendica
90c1ecca24 taming the wild mod_display 2013-02-10 17:03:33 -08:00
friendica
2cfd73c57d progress on mod/display - slow but any progress is good 2013-02-10 16:04:03 -08:00
friendica
99c5f88963 mod_display - no fun. Not working at all. But a bit of progress. 2013-02-10 04:55:29 -08:00
friendica
e0cbbbf918 smarty support in intltext, fix old pending accounts query in ping, log failed email register notify 2013-02-09 13:20:10 -08:00
friendica
6022a9e9cd more profiling - cache the qcomment list so we don't have to look it up for every rendered item 2013-02-09 04:22:11 -08:00
friendica
d8c667288e this seems to cut load times in half 2013-02-09 03:40:56 -08:00
friendica
55df911403 performance profiling - 95% of the time is spent in "conversation()" e.g. rendering and templates, even with the new theme engine. The time spent in the DB is miniscule. Will have to profile the bbcode processing and template engines individually to drill down further. 2013-02-09 02:46:50 -08:00
friendica
2f36f6307d another sql error from the logs 2013-02-08 16:29:18 -08:00
friendica
ce95b1f68c clean up some sql errors from the logs 2013-02-08 16:26:00 -08:00
friendica
62afdf3820 more register_approve stuff - like the admin page. Hopefully this won't conflict with Thomas's admin page "list users" changes 2013-02-08 03:51:31 -08:00
friendica
dbc024cdaf perhaps REGISTER_VERIFY will work now. I'll test it and make certain it works some day. But not today. 2013-02-08 03:11:40 -08:00
friendica
1ae87e51c5 No bloody comment. 2013-02-08 00:58:09 -08:00
friendica
71cfa66193 I think we're finally done with import_xchan_from_json - everything has been converted to import_xchan now 2013-02-07 20:06:01 -08:00
friendica
5c21798ed3 cleanup issues discovered in the logs 2013-02-07 19:55:40 -08:00
friendica
82ed07baa1 provide a global way of enforcing name policy restrictions, but only enforce empty names or length > storage size. Allow plugins to set other policies. In particular, you can't have an empty channel name now, but one char is legal ;-) 2013-02-07 18:53:51 -08:00
friendica
ce2fd23461 this should fix the auto-friend stuff 2013-02-07 14:49:09 -08:00
friendica
1e665f4da1 catch typos 2013-02-06 21:22:48 -08:00
friendica
3a1eef6449 massive notification revision 2013-02-06 21:21:50 -08:00
friendica
1e8146fc5c work on notifications 2013-02-06 20:29:17 -08:00
friendica
af1b3c6c9a this might make zot-id work as originally conceived complete with reverse magic auth. If it doesn't it will probably crash and burn every site involved in horrible ways. To test or not to test.... decisions. (Maybe tomorrow.) 2013-02-06 17:04:34 -08:00
friendica
6a23ac9217 added 'dlogger()' which is intended as a low noise personal logger() facility for developers. See the source. 2013-02-05 20:39:19 -08:00
friendica
2a6abaf9d5 partial cleanup of mod/profile_photo - needs a LOT more 2013-02-05 20:14:19 -08:00