Commit Graph

55 Commits

Author SHA1 Message Date
Andrew Manning 16b7df3717 Imported webpage elements update existing elements properly. AllowCode permission is checked correctly and issues error on import if denied. 2016-08-30 22:11:14 -04:00
Andrew Manning 1c61e316b4 Block export and re-import works. Fixed bug where layout content was not being imported properly. 2016-08-20 21:08:15 -04:00
Andrew Manning 2d42d58738 Layouts list and are selectable for export to the zip file 2016-08-20 16:05:27 -04:00
Andrew Manning 80ed05d45d Export of pages and their layouts to a zip file works. Bug on importing the exported zip file for pages. 2016-08-20 15:22:30 -04:00
Andrew Manning 40a7d38210 Pages populate the available-to-export list. New checkbox class for smaller boxes. 2016-08-19 19:32:52 -04:00
redmatrix 4facae674d fix attached photo/file permissions on clones 2016-08-15 13:18:25 -07:00
redmatrix 4c76b31684 /storeurl/cloudurl/ 2016-08-01 17:44:21 -07:00
redmatrix 9b9621e10d add a few more path macros to portable menu elements (channelurl, pageurl, storeurl and baseurl) 2016-07-31 20:14:25 -07:00
Andrew Manning 7c47557554 Improved UI. Removed logger statements. 2016-07-31 07:30:25 -04:00
Andrew Manning 5a63ddd645 Merge remote-tracking branch 'upstream/dev' into website-import 2016-07-21 21:14:54 -04:00
redmatrix da707736a0 issue #453 and a bug noted from the logfiles related to the schema change last month 2016-07-20 23:04:07 -07:00
redmatrix b5b57523f1 more perms work 2016-07-18 16:45:43 -07:00
redmatrix 10fa5c20e7 export/import channel permissions 2016-07-17 22:40:39 -07: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
Andrew Manning 514ffb74aa Refactored the scan and import functions to reduce redundant code and simplify logic. Import of pages, layouts, and blocks works. 2016-07-14 22:24:23 -04:00
redmatrix 7f8dcf4f12 sync flags even if post has not been edited 2016-06-30 21:12:39 -07:00
redmatrix b593c3a9b9 1. provide automatic relocation of important links in items that are imported or synced to clones
2. provide framework for custom curl request bodies using custom/non-standard request methods. This was a real nightmare because curl doesn't actually let you specify a string to send as the request body (except when doing POST). You have to treat it as a file upload using a custom file handler function which provides the actual content in chunks as if it were buffered I/O.
3. item_store and item_store_update now return the item that was stored
2016-06-21 18:24:36 -07:00
redmatrix 1e68d4fb75 deprecate the item_id table - replace with iconfig. A possibly useful function in the iconfig class would be a search which takes a service id and type and uid, matches against an item and returns the iid. That could save a bit of code duplication. 2016-06-13 19:58:24 -07:00
redmatrix 81b3c59711 DB schema issue with import 2016-06-12 16:34:27 -07: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 b1259876bf more db column renames 2016-05-31 21:45:33 -07:00
redmatrix 3b2679db29 fix remote_channel(), update php minversion requirement 2016-05-29 18:38:24 -07:00
redmatrix a2cec8899a daemon conversion continued... 2016-05-19 22:26:37 -07:00
sasiflo bfbe6c1660 Synchronization: Directory creation on sync import corrected. 2016-05-17 12:27:15 +02:00
redmatrix 883b1ff513 an issue related to #386 2016-05-16 19:23:42 -07:00
redmatrix ec81ef7b8d issue #383 2016-05-14 21:04:19 -07:00
redmatrix 32ad8bbaac Ensure that channels can't be created with DAV reserved paths as a redress. Sabre mentions in several places that trying to change these paths to other strings; while possible - is unsupported and likely to cause problems. So for now, we're stuck with 'principals', 'addressbooks', and 'calendars'. If you already have these redresses on your site, you're basically buggered. 2016-05-11 17:18:17 -07:00
redmatrix 50fb525b28 add categories to apps (wip) 2016-05-04 17:35:27 -07:00
redmatrix a67fa2651d implement the singleton delivery stuff 2016-04-26 17:38:44 -07:00
redmatrix f99daf8ff9 move iconfig functions to include/config.php with all the rest of the configs, fix an issue with singleton discovery and start work on singleton delivery 2016-04-26 16:12:31 -07:00
redmatrix abfbe9c937 a few issues: block public not blocking mod_cal, typo in sql for one clone file sync operation, fix_system_urls not catching cached contact photos, extend sessionhandler expiration when remember_me is enabled as the stored session is expiring long before the browser session. 2016-04-10 16:56:08 -07:00
redmatrix 279f32b13d send file sync packets for all known file operations 2016-04-07 18:54:48 -07:00
redmatrix 3a6187af3d implement updates of attach data to sync'd clones. 2016-04-07 16:44:53 -07:00
redmatrix aa678ba0ff reset profile photo and cover photo bits for existing photos if a new one arrives from a clone 2016-04-06 22:14:05 -07:00
redmatrix 861f5232d3 more work on file sync to clones, 60-70% test coverage, mostly working but many changes made during testing which themselves have not yet been tested 2016-04-06 19:56:38 -07:00
redmatrix 9831ad515d file sync testing continued 2016-04-06 18:46:29 -07:00
redmatrix 29363a185d file sync work 2016-04-06 18:07:29 -07:00
redmatrix 36b388ab8c issue #336 2016-03-31 18:53:05 -07:00
redmatrix 9b08051703 bring back the ability to ignore a pending connection request without deleting it and without always having it in your face and without jumping through hoops. 2016-01-26 16:57:36 -08:00
redmatrix 110ef6201e add $deliver flag to item_store() and item_store_update() [default true]. If false, do not send any notifications or process tag_deliver. This should avoid any network activity from happening as the result of a channel (actually item) import. Other minor fixes in the handling of the $allow_exec flag and further protecting CSS passed to widgets from rogue code and XSS. 2016-01-16 14:00:22 -08:00
ken restivo 312cc415ce Pass in account_id. Required for bulk identity importer. 2015-11-18 00:26:18 -08:00
redmatrix c07f694a07 another try at issue #89 - rotating photos 2015-10-16 04:21:40 -07:00
redmatrix 93f061f78a mail sync/migrate continued; also abstract delivery loop to make it re-usable, change refresh_all to use delivery loop. 2015-10-15 18:52:04 -07:00
redmatrix c8e3ea955d more mail sync work 2015-10-14 17:49:35 -07:00
redmatrix b33a9a71f6 more work on import & sync of private mail and conversations 2015-10-14 17:40:50 -07:00
redmatrix 4abfd4053a sync likes 2015-09-10 19:18:12 -07:00
redmatrix 0a051ff2cd preserve code blocks on item import if channel has code rights. When importing the channel itself,
turn code access off unless this is the admin.
2015-09-08 22:46:34 -07:00
redmatrix f0847e6f32 debugging menu sync 2015-09-08 18:40:56 -07:00
redmatrix 75d521d42a menu import and sync 2015-09-08 17:52:39 -07:00