friendica
acca7893e8
move killme inside module function so that typo works
2013-10-22 17:41:54 -07:00
friendica
985d8091ad
very early cloud demo code - READ THE FRICKIN NOTES and also THE CODE in mod/cloud.php - there is no other documentation. Use at your own risk. Send all bug reports to nobody@nowhere.com.
2013-10-22 17:34:39 -07:00
friendica
d39f1c570c
part one - honour system.tagifonlyrecip pconfig, default is false - not ready to deal with the second part yet (changing the tag char for tag_deliver channels) without a bit more discussion/concensus.
2013-10-19 16:22:07 -07:00
friendica
4ce948731a
doc - complete hook list, still need detailed functional descriptions with parameters and examples for each
2013-10-18 15:48:59 -07:00
friendica
3772682204
Put a status editor on the display page if you're logged in. This fixes issue #113 and also provides the ability to reshare from that page.
2013-10-18 14:25:55 -07:00
friendica
a3b358d025
wrong app name
2013-10-16 00:17:16 -07:00
friendica
100043da38
oauth wasn't logging in properly, also fixed api status_show to return last public post, not the last private post
2013-10-15 15:51:20 -07:00
friendica
9787872778
linkify post categories
2013-10-14 15:34:47 -07:00
Thomas Willingham
9945c1844c
Issue #181
2013-10-14 21:44:35 +01:00
friendica
454aa6bff3
turn off endless scroll if we have no more content to load - currently for mod_display, need to add to other content modules
2013-10-13 20:09:11 -07:00
friendica
bae7f4e078
directory sort links on sidebar
2013-10-13 19:49:40 -07:00
friendica
1354702d69
remove the disabled flag on individual permissions and improve the text to show that settings may be inherited. The reason for this change is that we want the individual settings to be stored regardless of the inherited settings, because if somebody changes the higher precedence privacy settings it could leave all their existing contacts with no permissions and this could be a support nightmare.
...
So this way if somebody starts off with "anybody on the network can send me their stream and posts" and later changes it to "only specific connections can send me their stream and posts", the individual setting will already be set for all their connections. The previous behaviour is that this setting would have been disabled so none of their existing connections will have this specific permission. Old-timers who were here and made lots of connections before this commit - will have to edit all their connections if they change their privacy settings from lesser restrictive to be more restrictive.
2013-10-13 15:42:30 -07:00
friendica
bb9feee370
Merge https://github.com/friendica/red into zpull
2013-10-12 15:13:23 -07:00
friendica
55c43f12b5
directory date order (sort=date)
2013-10-12 15:12:45 -07:00
Olaf Conradi
095d1bae26
Typo in replaced variable
2013-10-12 19:27:39 +02:00
friendica
c459228dca
show private message conversant in sidebar because without a reply you may not remember who it is/was.
2013-10-12 00:57:00 -07:00
friendica
1c8a36f9ca
mail recall
2013-10-11 23:12:10 -07:00
friendica
7cd1bd59b2
bug 175 - categories not updated when editing
2013-10-11 20:44:13 -07:00
friendica
89fc319c90
fix search to display more than one item
2013-10-10 21:31:40 -07:00
friendica
3985aa07b4
more icon tweaks - this could be going on for some time; try to get icon code (and all theme stuff) out of main code and into templates, but on the short term provide both so nothing breaks.
2013-10-10 02:15:44 -07:00
Olaf Conradi
086750d4ba
Merge pull request #168 from oohlaf/fixes
...
Typo and whitespace
2013-10-06 15:57:44 -07:00
Olaf Conradi
c422fad899
Typo and whitespace
2013-10-07 00:56:22 +02:00
Thomas Willingham
a026832009
If an observer doesn't have view_stream perms, try for view_profile before
...
giving up.
2013-10-04 15:57:48 +01:00
friendica
ff7182f441
fix a bunch of post editing bugs - though this consolidates some disparate code and may create some new bugs due to regression
2013-10-04 04:47:41 -07:00
friendica
78a8d176ac
post signatures
2013-10-02 21:04:48 -07:00
friendica
494090a3b7
in probe diagnostic - note https failure as diagnostic info - this also changes zot_finger so you can tell it not to fallback. This could be useful in corporate environments that are off the grid or other high security situations (as much as anything could be considered high security which relies on SSL).
2013-10-01 22:20:09 -07:00
friendica
f3d351621d
Saved searches on the matrix/network page just got a lot more interesting. Hint: it's all about autocomplete
2013-10-01 19:54:22 -07:00
friendica
1f965f1b70
search_ac is really whacked - help it out a bit, but much more to do
2013-10-01 19:04:08 -07:00
friendica
a6c542289a
add link to channel source management in settings if channel_sources feature is enabled
2013-09-30 22:01:11 -07:00
friendica
dffce63662
implement republish permission for use in sourced channels
2013-09-30 21:49:26 -07:00
friendica
2353e6d23f
small fixes
2013-09-30 19:28:59 -07:00
friendica
e992cfeca9
directory sync - this will either work, or it won't work, or it will possibly recurse and blow up the matrix. Hard to say. Do you feel lucky? Well do ya' ... punk? Rule #1 - don't mess with anything unless it's blowing up the matrix. If it doesn't blow up the matrix, but doesn't work, just let it go and let's figure out what it is doing and what it isn't doing.
...
The flow is as follows:
Once a day go out to all the directory servers besides yourself and grab a list of updates. This happens in the poller. If we've never seen them before add them to the updates table. The poller also looks to see if we're a directory server and have updates that haven't yet been processed. It calls onedirsync.php to process each one. If we contact the channel to update and don't find anything (we're just doing a basic zot_finger), set a ud_last timestamp. If this is set we will only try once a day for seven days. Then we stop trying to update.
This will probably cause a spike the first time through because you haven't seen any updates before, but we spread out the load over your delivery interval.
2013-09-30 18:33:27 -07:00
friendica
49882c13a4
there's our directory sync packet (aka transaction log). Now we just have to pass them around and act on them.
2013-09-29 22:24:37 -07:00
friendica
398162f78a
log any attempt to call mod_magic
2013-09-29 21:06:53 -07:00
friendica
a26e48b013
sources management page
2013-09-29 18:18:05 -07:00
Thomas Willingham
42e11019b9
Missing include
2013-09-29 19:44:57 +01:00
friendica
a06f1f9594
Issue #158
2013-09-29 02:47:36 -07:00
friendica
110974eb55
fix can_comment_on_post when viewing wall-to-wall
2013-09-28 04:41:12 -07:00
friendica
edc5566f79
structure for channel unions
2013-09-26 16:25:28 -07:00
friendica
6519433301
suppress creating the directory update record for profile updates which are part of the normal import_xchan sequence - otherwise we get two for every change. Create it normally if we are called with a profile_update message and don't go through the whole import_xchan thing.
2013-09-25 21:22:36 -07:00
Olaf Conradi
66d2fe2289
Fix name of Bleichenbacher
2013-09-24 21:04:01 +02:00
friendica
5ee339c99e
Merge https://github.com/friendica/red into zpull
2013-09-24 05:22:07 -07:00
friendica
d4ea56a77e
reduce susceptibility to bleichenberger attack
2013-09-24 05:20:29 -07:00
Michael Meer
54823a6589
admin hubloc page now with content from all hublocs, in next steps I add some tests with zping and reduce the content to known problems.
2013-09-24 09:28:42 +02:00
friendica
15ce90e69c
oauth settings - clarify text
2013-09-23 18:27:23 -07:00
friendica
a2b20bd58f
one more edge case in the public perms - don't match perms = 0 which is private, this and prior checkin are for issue #114
2013-09-22 23:00:55 -07:00
friendica
956d275693
fixes for display and search privacy enforcement
2013-09-22 22:52:48 -07:00
friendica
cdfb5f9dc7
adult channel setting
2013-09-22 20:38:24 -07:00
friendica
df8035344f
clean up app management a bit
2013-09-20 21:36:10 -07:00
friendica
fd2379530c
hopefully(?) the final word on remote comment permissions
2013-09-20 20:15:53 -07:00
friendica
7585b58d28
when it's a contentious issue, make it an option.
2013-09-20 18:24:11 -07:00
friendica
1126d8f2e3
hopefully this will go over a bit better - check post owner permissions as well as local owner permissions for comments during submission, since the comment was being blindly accepted on the local system due to only checking the profile owner. Also change collections query to include only top-level posts by a member of the collection.
2013-09-20 17:58:11 -07:00
friendica
53de5f348a
typo
2013-09-19 21:51:52 -07:00
friendica
e81db4428d
now bring it to the url
2013-09-19 21:48:55 -07:00
friendica
977b350866
bring safe mode to the client side
2013-09-19 21:45:09 -07:00
friendica
6cb81f6e47
use &safe=-1 for unsafe only
2013-09-19 21:36:22 -07:00
friendica
82bd1420cc
Merge https://github.com/friendica/red into zpull
2013-09-19 19:54:08 -07:00
friendica
54abed8457
provide a "safe search" backend and allow for self-censorship using nsfw or adult profile keywords. Eventually the directories will be forced to mark adult profiles and sync this knowledge between them. At the moment there's no way to do an unsafe search, but we really just need a checkbox and pass the value through directory to dirsearch on the back end, and some will want this as a pconfig.
2013-09-19 19:50:13 -07:00
Thomas Willingham
30f85a19b1
Use get_config
2013-09-20 03:24:38 +01:00
Thomas Willingham
49cfca4b4c
Make $kw configurable.
2013-09-20 02:38:59 +01:00
friendica
9f237f7dba
Merge https://github.com/friendica/red into zpull
2013-09-19 17:41:08 -07:00
friendica
ef88ba11ba
prefill private mail recip from $_REQUEST['to'] if it's there.
2013-09-19 17:40:17 -07:00
Thomas Willingham
2eaea80195
Add tiered access option.
2013-09-19 22:36:25 +01:00
friendica
e4d2e2200e
add "tiered" access policy, add tagcloud to directory pages
2013-09-18 17:47:26 -07:00
friendica
9d49f2a47b
make collections work again
2013-09-18 04:06:44 -07:00
friendica
f7acc94bfe
provide the back-end for a directory tag cloud
2013-09-17 22:52:46 -07:00
friendica
d3aa31be4d
site sellpage links
2013-09-17 22:27:51 -07:00
friendica
ff2ada207a
Pieces we'll need to tie together chanman and account/channel deletion and directory sync. Please do not mess with any of this.
...
Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this. Please do not mess with any of this.
OK? Understood?
2013-09-17 20:50:09 -07:00
Thomas Willingham
7f4b865c2b
Didn't git add again after fixing typo...
2013-09-18 02:49:14 +01:00
Thomas Willingham
8542127274
Filestorage perms (no ACL), fix nav for browsers that can't handle PCSS, put content wrapper back now JS is fixed for features page.
2013-09-18 02:45:49 +01:00
friendica
9d718ac529
sync photo permissions with the attached item whenever they change.
2013-09-17 17:38:43 -07:00
friendica
8452535467
Merge pull request #142 from dsp1986/master
...
Thanks!
fix include paths
2013-09-17 01:46:53 -07:00
Michael Meer
4f55d154d4
removed logger statement
2013-09-17 10:14:52 +02:00
Michael Meer
d330df05f2
extend admin page for hubloc / server key management
2013-09-17 10:11:22 +02:00
dsp1986
ff56e95c6e
fix include paths
2013-09-17 09:41:48 +02:00
friendica
4335ef68d6
assuming permissions are correct, unobscure photo comments. Should probably make sure permissions are correct and figure out why some photo comments on public photos are getting stored with privacy. This probably requires that whenever we change photo permissions for linked photos/items we change the item permissions to match. They might be out of sync.
2013-09-16 22:56:36 -07:00
friendica
c6d6c01fb6
use prepare_body in api calls to properly render content, add 'mode' to conversation templates so that themes can use the module context to suppress or show comments as desired
2013-09-16 22:40:53 -07:00
friendica
f72cc77e46
spurious blank lines
2013-09-15 22:33:47 -07:00
Michael Johnston
e1133ec1d0
fix photo file browser
2013-09-15 14:36:54 -04:00
friendica
033a9f67e7
Merge https://github.com/friendica/red into zpull
2013-09-15 03:52:37 -07:00
friendica
129a119c84
implement what I hope will now be the server side of directory sync, add viewsrc to item_photo_menu, and log what changed in import_xchan update objects so we can find out why there are so many updates when nothing _obvious_ has changed that should trigger it.
2013-09-15 03:48:43 -07:00
Christian Vogeley
4132d1cd8e
Upstream merge
2013-09-15 03:21:19 +02:00
Christian Vogeley
496f869157
Search by date
...
Search by date (archive) works a bit now
2013-09-15 03:18:18 +02:00
friendica
aefb0f8233
fix the missing brace before pushing
2013-09-14 17:21:39 -07:00
friendica
053893b067
some fixes to directory keyword searches
2013-09-14 17:20:24 -07:00
friendica
44ed6b0adc
no longer used
2013-09-14 16:45:14 -07:00
friendica
a36cc949a1
this might fix "find channels" but I can't test the keyword search until this is running on a production site.
2013-09-14 16:11:15 -07:00
friendica
037fd43fbd
more remote error reporting for zot
2013-09-12 16:52:58 -07:00
Michael Meer
2c06a2c163
implement tip from Mike, corrected the sql statement
2013-09-11 15:24:26 +02:00
Michael Meer
2228264772
flag failed auth attempts in DB table hubloc
2013-09-11 13:59:45 +02:00
friendica
de777d2f9c
remove old debugging cruft
2013-09-10 21:17:33 -07:00
friendica
3e5414cf35
provide detailed error to remote site for the myriad of things that can go wrong inside item_store(), !! this changes the return of item_store !!
2013-09-10 19:06:06 -07:00
Olaf Conradi
517baa86a3
No need to add name_updated twice in zfinger response
2013-09-11 00:29:27 +02:00
marijus
fec0c71445
make /channel respect "Maximum number of conversations to load at any time" setting like /network does.
2013-09-10 21:52:13 +02:00
friendica
9994ab2c5d
Merge https://github.com/friendica/red into zpull
2013-09-09 13:46:14 -07:00
friendica
75dfcf9c4f
quick fix to directory
2013-09-09 13:45:51 -07:00
cvogeley
a4d455c48b
Merge pull request #125 from cvogeley/master
...
usage message showed wrong number of channels
2013-09-09 13:04:20 -07:00
Christian Vogeley
e92233e39e
usage message showed wrong number of channels
2013-09-09 22:00:39 +02:00
friendica
2c90a73695
change from refresh_all to a directory update - which does a refresh_all and also updates the directory.
2013-09-08 21:12:23 -07:00
friendica
a09829a1ee
perform a refresh_all when an import has completed so that all your connections get a fresh update.
2013-09-08 21:05:39 -07:00
friendica
f8c709830f
Merge https://github.com/friendica/red into zpull
2013-09-08 19:12:46 -07:00
friendica
135c188732
description of the chanman module and what it will need to do.
2013-09-08 19:12:23 -07:00
Thomas Willingham
256ee236ad
Kill logger
2013-09-09 02:11:26 +01:00
Thomas Willingham
d2b4ba7be6
Quick and dirty file storage module.
2013-09-09 02:06:21 +01:00
Christian Vogeley
b4a2361efc
.
2013-09-08 21:52:05 +02:00
Christian Vogeley
a73f8291c3
retrun check
2013-09-08 21:45:35 +02:00
Christian Vogeley
e70c9b3613
Merge service class
...
//service class configure in .htconfig.php:
$a->config['system']['default_service_class']='standard'; // this is
the default service class that is attached to every new account
$a->config['service_class']['standard'] =
array('photo_upload_limit'=>20000000, // total photo storage limit per
channel (here 20MB)
'total_identities' =>5, // number of channels an account can create
'total_items' =>2000, // number of top level posts a channel can
create. Applies only to top level posts of the user, other posts and
comments are unaffected
'total_pages' =>10, // number of pages a channel can create
'total_channels' =>500, // number of channels the user can add, other
users can still add this channel, even if the limit is reached
'attach_upload_limit' =>20000000); // total attachment storage limit
per channel (here 20MB)
2013-09-08 18:03:26 +02:00
Christian Vogeley
f4dfb90dbc
Service class items
...
Items / webpages /attachment message
2013-09-08 17:19:09 +02:00
Christian Vogeley
94fb9c2406
Service class
...
identity, follow, photo upload, att upload
2013-09-08 00:21:42 +02:00
friendica
fe5f470c62
mod/page - display most recent revision by default, or numbered revision specified by rev URL parameter
2013-09-07 04:36:47 -07:00
friendica
320a8a5e27
Merge https://github.com/friendica/red into zpull
2013-09-07 02:04:56 -07:00
friendica
9ba6fd7d28
allow menu management even if there are no menu items
2013-09-07 02:04:15 -07:00
Michael Johnston
ba980e2c1f
filter by category fixes
2013-09-06 21:53:22 -04:00
friendica
d194ee091a
encode and decode channel names containing HTML special characters and quotes so they will survive a reshare without mangling
2013-09-06 05:25:10 -07:00
friendica
f2f3372aa9
provide ability to delete webpages, layouts and blocks
2013-09-06 04:07:43 -07:00
friendica
c3d5351515
fix mimeselect on edit
2013-09-06 03:56:47 -07:00
friendica
0387fa10c9
linkify the site url
2013-09-06 03:16:04 -07:00
friendica
c09f1a437b
Add a border until we can theme this sucker
2013-09-06 03:13:23 -07:00
friendica
63c60b224c
provide mimetype selector on edit (pages and blocks)
2013-09-06 03:10:25 -07:00
friendica
ae624e9bce
more fixes to public site list while waiting for a public site or two to show up
2013-09-05 22:26:19 -07:00
friendica
2c53017fb5
function name
2013-09-05 22:23:57 -07:00
friendica
c65ea0b97b
public site list (will take a few days to populate, assuming folks have updated their site access policy which old sites do not have)
2013-09-05 22:00:06 -07:00
friendica
4df0aad6ab
pages feed
2013-09-05 19:31:26 -07:00
friendica
7ecf162637
fix location of language variable in help module
2013-09-05 04:48:14 -07:00
friendica
fd5e2c6d6c
fix network search - except it can't search private posts. That may be a problem.
2013-09-05 01:18:05 -07:00
friendica
a88437a1ef
issue #107
2013-09-04 22:23:53 -07:00
friendica
ba28302811
test module for dead site discovery
2013-09-04 17:52:24 -07:00
friendica
a0668c8bbb
fix private message encryption since the input_filter mangled it
2013-09-03 22:48:08 -07:00
friendica
ab1c9dc9c9
add design tool menu to appropriate pages
2013-09-03 19:55:26 -07:00
Michael Johnston
e9ffc46bd1
allow categories to be edited when editing a post
2013-09-03 21:14:18 -04:00
friendica
7b84b8480f
security fix and ability to change layout on webpage edit form
2013-09-03 16:31:59 -07:00
friendica
0be8e4061c
testing Comanche
2013-09-03 01:57:11 -07:00
friendica
9d262a186f
the rest of the fix
2013-09-02 20:53:52 -07:00
friendica
c646388cd9
fix mod/search_ac (sort of)
2013-09-02 20:51:04 -07:00
friendica
615bf23733
add a layout selector
2013-09-02 20:25:33 -07:00
friendica
a32d86f0a0
preserve mimetype on page edits
2013-09-02 17:48:48 -07:00
friendica
56e408f467
pass execflag - Working for preview but not yet executing on page render
2013-09-02 16:29:52 -07:00
friendica
7c775db9d6
fix webpage storage
2013-09-02 16:01:29 -07:00
friendica
f44274bfca
allow a channel owner to define a default mimetype on webpages (otherwise default to "choose") - also fix the selector w/r/t php code. There is no ui for setting either at the moment, but for instance with wiki pages we probably don't want to have multiple choice of the mimetype. Keep it simple.
2013-09-02 13:31:59 -07:00
friendica
8b7757e033
webpage content-type -- needs cleaning up and a security check once all the important bits are in place.
2013-09-02 01:38:17 -07:00
friendica
caa148c1e3
Sheesh. Three lines of Javascript. All you have to do is find which of the three lines is doing something wrong. Or FILE A BUG. Or use a different browser (not *try* a different browser, *use* a different browser), or turn off freaking tinymce. But no - let's argue about browsers instead.
2013-09-01 19:15:08 -07:00
friendica
a1906482dc
rework the pdl_selector a bit since we've slightly changed the way layouts are stored.
2013-09-01 18:36:14 -07:00
friendica
cbab62c95e
add layouts and editlayout and rework the page logic in mod/item
2013-09-01 18:22:31 -07:00
friendica
de3345f5f3
This isn't optimal, but on the short term we'll clone the page editor to use as a block editor, and probably a layout editor as well. Eventually, these should all probably just be switches onto a single editor instance. Decided to put the layout_mid into the item table directory rather than re-use resource_id, so that we can still have pages attached to different resources like photos and events and stuff. The block editor is far from finished, at this point I've only cloned it and changed the name and type of item it looks for.
2013-09-01 17:07:55 -07:00
friendica
7458263017
I've got a pretty good idea of how to bootstrap, parse and render Comanche now. This does not mean it's close to being presentable - far from it.
2013-08-29 20:54:42 -07:00
friendica
be289a96ad
implement a 'ping' message type to respond if we're still here and whether our URL or keys have changed.
2013-08-29 17:48:31 -07:00
friendica
70c0beb857
block attempts to set the baseurl to an ip address if it was previously a dns name
2013-08-29 16:46:22 -07:00
friendica
b4bd518e40
silence some warnings at php E_ALL levels
2013-08-28 21:56:01 -07:00
friendica
7b27add546
issue #106
2013-08-28 20:51:08 -07:00
friendica
c877d8f9fa
It's a wretched mess, but at least photo comments show up again when viewing the photo. This is just temporary until these conversations are merged into the common conversation viewer, so it's not worth spending a lot of time cleaning up the remnants.
2013-08-28 17:57:45 -07:00