redmatrix
56b12f6555
issue #538 continued
2016-09-30 13:00:15 -07:00
redmatrix
3727bea29a
issue #538 continued
2016-09-29 16:20:26 -07:00
redmatrix
97d472380f
attach sql issue
2016-09-23 01:16:59 -07:00
redmatrix
9981cbb72c
issue #519 continued
2016-09-22 16:58:29 -07:00
redmatrix
de03f7f9ce
photo move to another album - resurrected from a temporary branch where the work had gotten lost
2016-09-06 23:13:55 -07:00
Andrew Manning
ddfc5209d3
Merge remote-tracking branch 'upstream/dev' into website-export. Added attach_move() to include/attach.php.
2016-08-27 06:52:01 -04:00
redmatrix
8a2b96c2f9
- implemented but untested: duplicate detection for photo 'move to another folder'
...
- weekly string update
2016-08-26 01:37:46 -07:00
redmatrix
8d94402d25
attach_move() function created to relocate files or photos to different directories in the cloud area and photo albums without deleting and recreating (which would create a new resource_id and invalidate any existing links).
2016-08-24 22:41:54 -07:00
Andrew Manning
305e0538d2
Website export to cloud files works. Created new recursive copy function in attach.php.
2016-08-23 06:55:26 -04:00
Mario Vavti
82e867a9a8
implement acl for folder creation
2016-08-10 16:17:09 +02:00
Mario Vavti
89c026924b
fix /cloud upload for images
2016-08-06 14:40:23 +02:00
Mario Vavti
4f0b138692
bring back acl for cloud file uploads
2016-08-06 12:46:10 +02:00
Andrew Manning
f17f51a9c1
Merge remote-tracking branch 'upstream/dev' into website-import
2016-07-30 06:30:46 -04:00
Mario Vavti
9fa3956aa8
translate mime types to icons, update some icons, move file preview (upload progress) below table header
2016-07-28 10:28:48 +02:00
Andrew Manning
d6b28cdc57
Importing webpage elements from manually entered cloud file path work. All detected elements are automatically imported.
2016-07-17 16:05:26 -04:00
Andrew Manning
6c5086a933
Added functions to check cloud files path and return path with hashed names
2016-07-17 11:52:21 -04:00
redmatrix
2e93a09d83
stream large photos through buffered I/O if possible
2016-06-29 17:31:48 -07:00
Mario Vavti
ecae0b3d97
Merge branch 'dev' into sabre32
2016-06-21 10:08:49 +02:00
redmatrix
9c9d6363af
update attach on import if exists
2016-06-20 19:39:12 -07:00
Mario Vavti
0324bc5cf0
Merge branch 'dev' into sabre32
2016-06-17 10:04:27 +02:00
redmatrix
f6d7628254
core changes to better support media migrations
2016-06-16 20:16:39 -07:00
Mario Vavti
85e82e919e
more style work
2016-06-09 22:05:52 +02:00
redmatrix
a9d7acda27
the rest of the schema updates - WARNING: some third party plugins may fail; e.g. embedphotos and chess. $item['object'] is now $item['obj'] and $photo['type'] is $photo['mimetype'], $photo['scale'] is $photo['imgscale'] and $photo['data'] is now $photo['content']. There are a number of other changes, but these are the ones noted to cause issues with third-party plugins. The project plugins have been updated. Please note any new issues as this effort touched a lot of code in a lot of files.
2016-06-01 21:48:54 -07:00
redmatrix
a2cec8899a
daemon conversion continued...
2016-05-19 22:26:37 -07:00
redmatrix
279f32b13d
send file sync packets for all known file operations
2016-04-07 18:54:48 -07:00
redmatrix
aa0412d83b
use the explicit form of build_sync_packet so that file/photo sync will work even when the actual observer is a guest (with permission to upload).
2016-04-06 20:25:52 -07:00
redmatrix
6650916435
file sync testing
2016-04-06 18:38:48 -07:00
redmatrix
29363a185d
file sync work
2016-04-06 18:07:29 -07:00
redmatrix
adad8f2ebc
getting file sync data - missed parent folder
2016-04-06 05:20:55 -07:00
redmatrix
5a2a8717e3
provide function to collect file/photo sync data per help/filesync
2016-04-05 23:11:24 -07:00
redmatrix
9abd95fad3
static App
2016-03-31 16:06:03 -07:00
redmatrix
32c23ef562
some minor cleanups
2016-03-10 15:43:59 -08:00
Mario Vavti
bfeeb76143
fix deletion of files from filesystem
2016-02-29 15:37:34 +01:00
Mario Vavti
f2d3be2e67
do not process update activity if there is no item to update and simplify code a little
2016-02-29 14:22:35 +01:00
Mario Vavti
a2fe22412f
missing include
2016-02-27 16:51:54 +01:00
Mario Vavti
58cf9d832c
make attach_delete() return and comment out album rename functionality since this is not supported by the backend at the moment.
2016-02-27 12:31:07 +01:00
Mario Vavti
5a563b8e76
some improvement for file activity
2016-02-26 11:17:21 +01:00
Mario Vavti
d19dfc87a6
get rid of duplicate function
2016-02-26 09:20:44 +01:00
redmatrix
62a60e5542
more work on media uploads via api
2015-12-17 16:22:13 -08:00
redmatrix
fdd2da905a
more work on api media uploads
2015-12-13 19:15:42 -08:00
redmatrix
a26d8609a9
handle old files with partial paths
2015-11-05 16:28:10 -08:00
redmatrix
f8b612a2c0
Merge https://github.com/redmatrix/redmatrix into pending_merge
...
Conflicts:
install/update.php
2015-11-04 23:17:09 -08:00
ken restivo
b3528c314a
Support files with names like foo.0.1.3.ogg
2015-10-27 19:48:14 -07:00
ken restivo
869735e4b5
Correct mime types via https://wiki.xiph.org/MIME_Types_and_File_Extensions
2015-10-27 15:35:39 -07:00
Mario Vavti
ab8b4d5c36
another try to avoid dubble photo deletion. allow to set a photo caption and simple status body (if create status post is enabled) on upload
2015-10-24 21:44:25 +02:00
Mario Vavti
44b542814a
if photo deleted from /cloud or /dav also delete from /photos
2015-10-15 10:29:39 +02:00
redmatrix
8af3dc140e
issue #87 - photos not getting deleted from mod_photo when deleted in DAV or cloud
2015-10-14 15:08:07 -07:00
redmatrix
b2d949ce9a
issue #82 - args not defined (should be arr)
2015-10-14 13:25:58 -07:00
redmatrix
d616099de6
Merge pull request #80 from git-marijus/master
...
fix /channel not updating after posting comment
2015-10-14 18:19:32 +11:00
redmatrix
7e03f612b3
file migration - continued
2015-10-13 16:16:51 -07:00
Mario Vavti
e2a15d0ec9
fix photo visibility switch on photo upload
2015-10-13 14:05:27 +02:00
redmatrix
91895c52ca
missing underscore
2015-10-12 19:54:01 -07:00
redmatrix
fc28af8518
Merge https://github.com/redmatrix/redmatrix into pending_merge
...
Conflicts:
include/attach.php
2015-10-12 19:52:21 -07:00
redmatrix
3545626950
attach_list_files had some problems - wasn't used until now apparently
2015-10-12 19:49:06 -07:00
redmatrix
6a7079a594
small change to allow a person with sufficient privileges the ability to import a file into their cloud storage from elsewhere in the server filesystem - without nuking it in the process.
2015-10-12 18:55:02 -07:00
redmatrix
f2fefb91d5
change photo permissions when attach permissions are changed through mod/filestorage, and fix lockview for photos.
2015-09-18 01:53:04 -07:00
redmatrix
55ab968edf
make js_upload work with hubzilla. It still needs a rewrite.
2015-09-05 17:35:00 -07:00
redmatrix
9cebd24987
change attach_store to allow a predefined item to accompany a photo
2015-08-26 22:13:20 -07:00
redmatrix
5fa2aa6d48
lots of stuff that was needed for successful photo import from red
2015-08-24 20:58:12 -07:00
redmatrix
50a1e0c618
attach_store needs a lot of documenting to understand what's going on and how it got to be this way. Here's the bird's eye view.
2015-08-13 17:11:59 -07:00
redmatrix
7e43da43a1
more file permissions inheritance work
2015-08-06 17:42:53 -07:00
redmatrix
91bbfcf554
photo permission inheritance. We want to use the folder permissions unless specific permissions have been set to over-ride them. If nothing is set, use the channel default. We may have to mess with his further in the case of somebody trying to create a public photo directory when their normal permissions are set to private. Kind of a chicken/egg problem because the folder permissions will be empty.
2015-08-06 17:09:09 -07:00
redmatrix
f45cb8cf1f
minor - add all the newly supported table columns
2015-07-30 20:04:02 -07:00
redmatrix
d5a40cac25
Merge branch 'master' of https://github.com/redmatrix/redmatrix
...
several dav fixes
Conflicts:
include/items.php
2015-07-30 17:11:16 -07:00
redmatrix
ed3d9d1f80
some photo/attach permissions issues
2015-07-18 16:39:12 -07:00
redmatrix
b06b6f798f
localise event calendar
2015-06-25 18:23:48 -07:00
redmatrix
86588bdd6c
more work on photos, including os_storage for the size '0' photo and numbering duplicate filenames
2015-06-23 22:46:39 -07:00
redmatrix
33c9d8e06b
all file attachments are now stored natively, still have photos-0 to store natively
2015-06-18 22:12:26 -07:00
redmatrix
2963be60e5
more photos work
2015-06-17 18:26:56 -07:00
redmatrix
6ab20eb1b5
lots of work on merging photo and file albums/folders
2015-06-17 17:44:31 -07:00
redmatrix
c6c17182e5
attach_mkdirp - implement force option to return success if dir exists
2015-06-17 01:18:55 -07:00
redmatrix
4ecee713d5
recursive mkdir (ala mkdir -p) for file and photo storage
2015-06-16 22:58:26 -07:00
redmatrix
39309ad45c
start work on photo directories
2015-06-16 19:05:09 -07:00
redmatrix
d84b3cfc3c
remove file/attachments when their associated photos are removed
2015-06-16 17:50:15 -07:00
redmatrix
bc72d3fd26
move profile photos to new methods
2015-06-15 23:37:51 -07:00
redmatrix
bdedda7c6b
fix attachment permissions when they also contain an image.
2015-06-15 20:43:49 -07:00
redmatrix
2adc7a51ad
photo upload: pass in the contact_allow and resource_id via include/attach.php
2015-06-15 19:52:17 -07:00
redmatrix
9642728e7d
first cut at merging files and photos, not yet well integrated but they are integrated
2015-06-14 16:50:24 -07:00
redmatrix
b7be79c5e7
isolate the os_storage flag
2015-06-13 15:57:28 -07:00
redmatrix
41085ae03f
start on the DAV/photos merger
2015-06-11 22:32:08 -07:00
redmatrix
7c7a5cba8f
Merge branch 'master' into tres
2015-05-17 19:49:36 -07:00
redmatrix
76558df966
Merge branch 'master' of https://github.com/redmatrix/redmatrix
...
Conflicts:
include/bb2diaspora.php
include/diaspora.php
include/enotify.php
mod/admin.php
mod/cloud.php
mod/dav.php
mod/home.php
mod/invite.php
mod/like.php
mod/mitem.php
mod/p.php
mod/pubsites.php
mod/setup.php
mod/siteinfo.php
util/messages.po
2015-05-17 19:48:57 -07:00
Klaus Weidenbach
6757e86e85
Add some more documentation to attach_store()
2015-05-17 01:24:47 +02:00
redmatrix
25b599a4bd
convert ITEM_WALL from bitfield to standalone
2015-05-06 21:03:33 -07:00
friendica
6679734135
Merge branch 'master' into tres
...
Conflicts:
include/Contact.php
include/ItemObject.php
include/api.php
include/attach.php
include/diaspora.php
include/dir_fns.php
include/enotify.php
include/event.php
include/expire.php
include/items.php
include/notifier.php
include/notify.php
include/photos.php
include/taxonomy.php
include/text.php
include/widgets.php
include/zot.php
mod/admin.php
mod/channel.php
mod/dirsearch.php
mod/display.php
mod/editwebpage.php
mod/events.php
mod/home.php
mod/item.php
mod/manage.php
mod/mood.php
mod/network.php
mod/page.php
mod/photos.php
mod/ping.php
mod/post.php
mod/thing.php
mod/viewsrc.php
view/css/mod_events.css
2015-04-23 19:49:41 -07:00
Mario Vavti
70b109702e
make dropItem more universal and move delete up in the dropdown menu
2015-04-12 14:30:33 +02:00
Mario Vavti
962fdf08c0
make fs deletion of directories work
2015-04-12 13:58:04 +02:00
Mario Vavti
7c8b9397ae
reverse file activity logic
2015-04-12 13:13:22 +02:00
friendica
b546f8d702
Merge https://github.com/friendica/red into pending_merge
2015-03-29 16:05:24 -07:00
friendica
505e5e90b2
fix os_mkdir
2015-03-29 16:05:08 -07:00
Klaus Weidenbach
d0361582b0
Correcting reported Doxygen syntax warnings.
...
Fixed wrong Doxygen syntax and add some of the available FIXME to
Doxygen documentation.
Updated Doxygen configuration to add also all capital letter tags.
Adding some more Doxygen documentation.
2015-03-29 22:23:00 +02:00
Mario Vavti
c21a21be3e
we only need item mid. some documentation.
2015-03-24 11:38:54 +01:00
Mario Vavti
47c055e7f3
do not override item_private here anymore
2015-03-22 14:24:07 +01:00
Klaus Weidenbach
daed7fbead
Bugfix und variable initialization.
...
Fixed a wrong perm_is_allowed() parameter, commented some other places
where we use variables that are not set and should not work.
2015-03-21 22:28:07 +01:00
Mario Vavti
264b43db05
some cleanup
2015-03-20 17:46:13 +01:00
Mario Vavti
6698d7b03a
possible improvement regarding deletion
2015-03-20 17:37:01 +01:00
marijus
2fbb6a5ff5
do not send activity to channels with no permission to view filestorage
2015-02-18 10:41:38 +01:00
marijus
fb198b8a05
item_unseen update
2015-02-13 10:01:26 +01:00
friendica
da2349bb6a
provide relief to sites that are severely impacted by the slow ITEM_UNSEEN searches. This does not incorporate any other flag optimisations as that will require a major DB update and possibly involve significant downtime. This is just to bite off a little chunk now and provide some much needed relief.
2015-02-12 17:45:25 -08:00
friendica
2b2fa5a973
issue #843
2015-02-11 20:38:06 -08:00