Commit graph

313 commits

Author SHA1 Message Date
Klaus Weidenbach
2504d4c2a2 Add HTML5 datalist to edit photo album field.
This patch provides a datalist for the edit photo album field.
This makes it easier to move a picture to another existing folder in
the way that it provides a list of all available albums as values for
the album field.
2014-06-22 01:33:13 +02:00
friendica
c16b403cf7 oh this is nice... http://kmkeen.com/jshon - this is what we need to make shred -- well "shred". I also had to change the photos album list API a bit to fix any imagined and/or real parsing issues and also fixed shred so it can find its auxiliary files. 2014-06-18 16:26:27 -07:00
friendica
0f6c321e3f only show jotnets when posting conversation items 2014-06-14 20:16:40 -07:00
friendica
02af02118d photos upload - remove phantom duplicated blank album name from selection list 2014-03-23 17:07:21 -07:00
friendica
e12f6f1bd9 small changes to a couple of lookup functions which we need to use a bit more 2014-02-20 17:20:24 -08:00
friendica
95a45a119d shamelessly steal, and cut/paste from the settings page to get mod_photos edit permissions working - and it looks like we still have some other fancybox instances (yet another lightbox) which haven't yet been converted to colorbox and will need to be fixed. Way too many lightboxes. 2014-02-11 18:45:50 -08:00
friendica
1572403e98 photo tagging somewhat working - but can't remove photo tags until we update tagrm 2014-02-03 20:44:42 -08:00
friendica
3100b5d93e photo tagging still broken - but at least don't create a new linked item every time a photo is edited. 2014-01-27 18:06:09 -08:00
friendica
d5bf53c54c bring photo tagging back which hasn't worked since forking from Friendica - this is untested and displaying photo tags will now be broken as we're now storing tags with the item attached to the photo and not in the photo. But the point is we've eliminated the OStatus/SWAP0 forced spam crap and can start fresh. 2014-01-19 23:37:46 -08:00
friendica
db8ebc9f37 some minor cleanup on plinks for some very subtle permissions issues 2014-01-09 15:45:17 -08:00
Thomas Willingham
7930f6d7aa Pass hash and extension to the photo templates for plugins that require
links we can't construct from what's already there.
2014-01-08 22:50:44 +00:00
friendica
b8564134aa make storage limit service classes apply to accounts, not channels. Also include a css file that was missing from work yesterday. 2014-01-07 14:10:28 -08:00
friendica
323fc1f9a5 fix photos/upload album selector 2014-01-06 02:54:08 -08:00
friendica
c59688553c remove prettyphoto from core - this will affect the enhanced photo albums feature on the short term which has been disabled until we figure out how to make the setting per-theme instead of a core option. The library is still available in core (library/prettyphoto) currently but needs to be moved to theme js and loaded/accessed from there [for themes which use it]. Then the library will be removed. It appears that other lightboxes commonly use rel= to group photo albums. So we may provide a generic rel= tag in photo album templates so that the choice of lightbox or album viewer is not only a theme option but could also be accomplished with plugins. 2013-12-26 13:08:16 -08:00
friendica
1a42580ad4 remove a couple of mysql reserved words from being used as table or row names. For this round we're getting 'group' and 'desc'. Warning: potentially destabilising as this touches a lot of code. 2013-12-22 18:37:39 -08:00
friendica
eff38538ee more (somewhat minor) but important cleanup for mod_photos so visitors with the correct permissions to add photos can also remove them 2013-12-22 17:44:14 -08:00
friendica
a9e225b38a issue deleting photos (attached item remained undeleted and became visible, though the photo was gone) 2013-12-22 17:30:49 -08:00
friendica
564f431551 comanchificate mod_photos 2013-12-19 17:36:31 -08:00
friendica
0215043826 prepare for Comanchification of mod_photos 2013-12-13 13:30:33 -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
c2274403c7 define js profile_uid in photos module 2013-11-14 15:53:31 -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
friendica
5c71ccba98 add shameless plug if they've not got zot, and add photo favicon to photos pages 2013-11-05 18:20:37 -08:00
friendica
3fa6737726 Another stab at cleaning up the photos module. This should make permissions behave a bit better and show the "this is you" photo for commenting and get rid of most of the old "visitor and "contact" cruft. 2013-10-24 16:47:34 -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
friendica
78a8d176ac post signatures 2013-10-02 21:04:48 -07:00
friendica
9d718ac529 sync photo permissions with the attached item whenever they change. 2013-09-17 17:38:43 -07: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
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
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
friendica
e8a0005d29 put backticks on mysql reseved words which we unfortunately used for row names a long time ago 2013-08-27 21:30:45 -07:00
friendica
7bb9289921 Preparatory work for photo conversations (third time). Also take away unused "post new activity" preferences until they actually do something. 2013-08-27 21:06:11 -07:00
friendica
390a1ce552 more loose ends 2013-08-27 18:40:33 -07:00
friendica
247d132e17 start using profile_flags in photo queries so we can start creating PHOTO_THING's 2013-07-18 20:55:25 -07:00
friendica
da05b9736e some work on issue #62 (comments collapsing on liveupdate), but still a work in progress
some work on photo consolidated "view/edit", but still a work in progress
2013-07-02 16:37:33 -07:00
friendica
e0c6ee2082 photo album listing widget broken 2013-06-05 23:07:52 -07:00
friendica
08a4ffd663 convert most red photos to zmg 2013-05-28 04:50:16 -07:00
friendica
61a66bfb00 Merge branch 'photothread' 2013-04-29 19:59:27 -07:00
friendica
72e83f69bc photo driver abstraction 2013-04-25 20:01:24 -07:00
friendica
f72d351224 Merge branch 'master' into photothread 2013-04-16 20:16:44 -07: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
3e7e0a3c43 some work on updating photo threads for Red 2013-04-08 17:23:26 -07:00
Thomas Willingham
8741bb20e8 Make prettyPhoto a feature, add slideshow for albums. 2013-03-29 20:36:39 +00: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
friendica
f3eb2eb9e7 convert wall_upload to use the photo api 2013-02-05 16:54:09 -08:00
friendica
3eacd7aab3 debugging the photo api 2013-02-02 15:08:11 -08:00
friendica
7645b440e8 more progress on photos api 2013-02-02 01:58:11 -08:00
friendica
3e0040d7c3 photos cont. 2013-01-26 03:42:05 -08:00
friendica
91126d8dd3 more photo backend stuff 2013-01-26 02:24:07 -08:00
friendica
70aa8421b3 further baby steps on the photos API 2013-01-25 23:32:44 -08:00
friendica
93af193218 terminate script tag 2013-01-25 18:14:44 -08:00
friendica
b43b6c3549 start on photos rework 2013-01-25 18:13:15 -08:00
friendica
cf2488e999 clean up the photo storage backend, revamp mod/wall_upload 2013-01-22 17:48:42 -08:00
Zach Prezkuta
b4a95460e6 fix show-stopping bugs 2013-01-06 19:34:54 -07:00
Zach Prezkuta
a0d19ffb72 implement Smarty3 2013-01-06 15:57:11 -07:00
friendica
f8c33243bf start to whip the permissions into shape, also got rid of the mce drop shadow until we can figure out how to do it without the ugly black bars. I tend to prefer "outy" shadows over "inny" shadows anyway, but maybe that's just me. 2012-12-09 18:07:36 -08:00
friendica
ece59b778e turn off some "advanced" features by default, like archives and saved search - even though we don't yet have a screen to turn them on. That will come. 2012-11-03 16:40:05 -07:00
friendica
78884195bc fixme note about discovered permission encryption 2012-11-02 14:48:33 -07:00
friendica
3b394ea43f comments sort of working again but now need to fix the threading which was ported when it was only half working 2012-10-25 18:42:42 -07:00
friendica
ebb75340ec fixes to photo linked items, shut up poller until I can get to that 2012-10-25 00:10:53 -07:00
friendica
939543b26d more progress on the main photos module 2012-10-24 22:21:35 -07:00
friendica
968b9ce1af more heavy lifting 2012-10-23 21:24:23 -07:00
friendica
e124c9fa5c Can't see any posts currently - after the big shakeup, but we can now post top level activities and store them. 2012-10-03 22:28:19 -07:00
friendica
846a9813b2 here's where the heavy lifting begins - everything is likely to be broken for quite some time as we add location and db independence to items and conversations and work through the rest of the permissions and how to federate the buggers. 2012-10-01 18:02:11 -07:00
friendica
3ebb4a3dc7 updates 2012-09-09 21:17:06 -07:00
friendica
5ff6e9348b a few minor changes 2012-08-26 23:05:00 -07:00
friendica
f7c6a6ff90 item table rename parent-uri, target-type, object-type (more to come later) 2012-08-15 22:33:37 -07:00
friendica
c673c70c25 updates 2012-08-05 21:41:58 -07:00
friendica
4b36e41b09 implement page update modes 2012-07-23 20:49:56 -07:00
friendica
d92a4a686d eliminate the obsolete "last-child" indicator 2012-07-18 17:08:03 -07:00
friendica
94fabe3a29 upstream fixes and a lot of taxonomy stuff 2012-07-10 06:28:02 -07:00
Vasudev Kamath
1b3d84422e orient function uses exif_read_data for which valid image types are only JPEG and TIFF as per the document [1].
When trying to upload an screenshot with png type I was getting message as *failed* even though image was uploading. So added a fix to check image type before calling orient function. Not sure if this is a proper fix but after this i'm not getting any error during file upload

[1] http://au2.php.net/manual/en/function.exif-read-data.php
2012-07-07 16:17:26 +05:30
Zach Prezkuta
3fe5bdbd8d add ability to set maximum pixel length of uploaded pictures 2012-07-02 20:01:23 -06:00
friendica
35a098e0dc service limits for photo uploads 2012-06-25 01:37:44 -07:00
friendica
9528beac34 sidebar photo album list not visible to anybody if user['hidewall'] set 2012-06-24 16:51:39 -07:00
Zach Prezkuta
54c76ca822 allow rotation either CW or CCW 2012-06-20 20:51:03 -06:00
Zvi ben Yaakov (a.k.a rdc)
a801888b15 Now using App::get_cached_avatar_image for /photos page 2012-06-19 16:05:39 -07:00
Zach Prezkuta
42fa47e8f7 rotate uploaded images if an EXIF rotation is present 2012-06-18 21:02:11 -06:00
Zvi ben Yaakov (a.k.a rdc)
edc68f4876 Enabled Profile photo revisions to be displayed on /photos page 2012-06-17 23:59:29 +03:00
Fabio Comuni
2438c6e45d png support: update database.sql, fix some typos, fix tinymce image browser 2012-06-07 20:17:31 +02:00
Fabio Comuni
7cc8c369cb Add support for PNG images with alpha 2012-06-07 17:42:13 +02:00
friendica
61dba985c1 photo rotation 2012-05-23 01:01:04 -07:00
friendica
54e2c1ca81 rev update, bug 428, 429, and ability to block globaldir submissions from demo sites 2012-05-21 16:40:11 -07:00
Tobias Hößl
720c8324c7 Some Bugfixes, and variable checks 2012-04-17 11:33:50 +00:00
Alexander Kampmann
355c42cb30 Merge branch 'master' of https://github.com/friendica/friendica
Conflicts:
	include/config.php
	update.php
2012-04-05 13:39:15 +02:00
friendica
7c6c3d36f5 profile wall privacy 2012-03-27 01:31:47 -07:00
friendica
cf2edb5b9a ctrl + left|right cursor keys to prev/next photos 2012-03-19 01:20:53 -07:00
Tobias Hößl
0341078a73 Existing photos could not be used as profile photos anymore - should be fixed now. And some extra logging in the CSRF-Protection to make debugging easier 2012-03-19 07:37:09 +00:00
friendica
a97cb88b65 logger_debug was used as string instead of constant 2012-02-21 14:15:10 -08:00
friendica
a76a497d92 implement "moderate" flag on items 2012-01-23 20:56:11 -08:00
friendica
8aa2552372 add remove_user hook (it looks like dreamhost changed all my file permissions, this will make a nasty commit) 2012-01-18 16:21:30 -08:00
friendica
e3a415d409 add photo upload link to album widget and "upload to this album" ability 2012-01-15 17:48:42 -08:00
Fabio Comuni
f9b0af6f2f Merge remote-tracking branch 'friendica/master' 2012-01-06 09:11:48 +01:00
friendica
b99cb511ca comment preview 2012-01-05 16:38:24 -08:00
Fabio Comuni
2ef2d0b79f quattro: contacts and first photo page 2011-12-22 16:33:14 +01:00
friendica
efeb377a12 w3c valid cleanup 2011-12-06 20:56:51 -08:00
Friendika
35305fb6d9 fix "do not show status post for photo" setting when used with js_upload (value is string "true/false" not integer or boolean) 2011-11-02 21:53:44 -07:00
Friendika
e5a7b3e24b add contact-id to auto-complete response to resolve duplicates 2011-10-27 19:12:30 -07:00
Friendika
278433eac7 origin flag handling, and bug #137 - provide timezone conversion for events posted across to Diaspora 2011-10-17 14:52:03 -07:00
Fabio Comuni
070e081ae9 Fix url in profile tabs 2011-10-10 16:40:12 +02:00
Fabio Comuni
f64e2d63b9 New common tab template. Update css 2011-10-10 15:28:34 +02:00
Friendika
0ad9e7b5f4 option to not post photos to status stream 2011-10-01 06:20:41 -07:00
Friendika
f4c961b906 override pragma 2011-10-01 02:22:48 -07:00
Devlon Duthie
78c3210f6a fixed a bug I introduced when working on the testbubble theme - user's photo widget header div wasn't closed correctly
+ some opera-friendly style changes
2011-09-27 00:29:34 -05:00
Devlon Duthie
cb1c6dd1e3 really commiting files this time, still getting the hang of git.
some images added, some classes added to groupidebar, contacts sidebar
notification flags moved out of nav and into banner for testbubble the
testbubble css tweaks
2011-09-25 13:20:19 -05:00
Friendika
a2b2318106 provide permission error vs "not found" for protected photos 2011-09-22 20:03:09 -07:00
Friendika
9161d1832e allow one to toggle into and out of photo edit mode for an entire album 2011-09-21 17:37:02 -07:00
Friendika
660787916e template escapes 2011-09-19 20:24:32 -07:00
Friendika
a810d2a993 put profile photo on photos page 2011-09-19 16:39:23 -07:00
Friendika
a33edb0042 infrastructure for personalised @ tags (no UI/settings form yet), allow own comments through statusnet connector 2011-09-01 18:02:08 -07:00
Friendika
04675e3ec3 revup 2011-07-28 16:49:43 -07:00
Friendika
c74f0f0cab show full size photos for album view even when photo has been used as a profile photo 2011-07-28 01:01:19 -07:00
Friendika
84d12c3e08 move hidewall to user table - queries are getting too complicated and servers falling over 2011-07-05 23:23:43 -07:00
Friendika
07ea67e33b removed stray debug statement 2011-07-03 19:57:20 -07:00
Friendika
53653f6a4d consolidate perrmisions sql, minor duepuntozero validation fixes 2011-06-30 17:35:35 -07:00
Friendika
8819c73ba1 bug #99 - don't show album name/link if photos are private 2011-06-30 03:39:08 -07:00
Friendika
ad5b976978 allow spaces in @ tags 2011-06-29 18:59:05 -07:00
Friendika
d5855967a7 do not translate hidden photo album 'Contact Photos' as it may become unhidden when different language is used. 2011-06-28 22:33:02 -07:00
Friendika
4ca6a9a382 dbg info for photo uploads 2011-06-28 18:59:41 -07:00
Fabio Comuni
5de7d0f12f add profile tabs to "photos", "events" and "notes". in dispy, show active tab. 2011-06-23 11:30:17 +02:00
Friendika
e5b54e74ba delete selected items 2011-06-15 20:43:39 -07:00
Friendika
4469f92ea3 prev/next icons (instead of text) for photos 2011-06-13 21:43:21 -07:00
Friendika
894dfde122 set permalink on photo tags 2011-06-08 22:34:22 -07:00
Friendika
dea721a3f8 minor fixes to apps (don't show notes if not logged in) and photos (tag delete link is leaking to unauthorised users) 2011-06-08 21:43:32 -07:00
Friendika
d2863d1859 first recently uploaded photo (in 3 hours) to an older existing album, post made visible 2011-06-07 16:23:37 -07:00
Friendika
55e727de64 make 'visible to everybody' warning toggle correctly in photos and settings 2011-06-01 22:06:53 -07:00
Friendika
69f014d02b bug #38 ability to restrict profile, wall, photos from non-friends 2011-05-28 00:49:03 -07:00
Friendika
4e8a97f30a bug #38 posts and photos only visible to friends if so configured 2011-05-28 00:42:01 -07:00
Friendika
1ccda19f7a hooks can't contain direct values, must be variables 2011-05-21 17:17:27 -07:00
Friendika
db60d6d78f photo upload plugin size limit is not working, call photo_end hooks in any error return from mainline so html does not leak into json responses bug #77 2011-05-20 15:57:58 -07:00
Friendika
b2e92e0af3 deprecate load_view_file 2011-05-11 04:37:13 -07:00
Friendika
a00813497f bring back load_view_file for dispy templates 2011-05-10 23:35:31 -07:00
Friendika
c052d68828 don't use load_view_file() except in email templates and install of htconfig - to avoid getting wrong file when package is updated by copying over an older version. 2011-05-10 16:12:50 -07:00
Friendika
3b51f28d25 comment macros showing on photos 2011-05-08 22:58:38 -07:00
Friendika
c2e35d2d35 set permalink on uploaded photo items 2011-05-08 22:47:35 -07:00
Friendika
b3fa03d3b4 Merge pull request #95 from fabrixxm/dispy
Dispy
2011-05-05 04:29:14 -07:00
Fabio Comuni
b3a5fccc9d template for photo display 2011-05-05 10:53:03 +02:00
Friendika
6c1d587ae3 notify not called on new photo album (first item) 2011-05-03 05:27:19 -07:00
Friendika
9e19eef194 "firewall" setting - block all public pages from the public if configured to do so 2011-04-21 17:29:47 -07:00
Friendika
5654ce926c move all message display sub-functions from boot.php into conversation.php 2011-04-12 17:58:16 -07:00
Friendika
c8f32536ff pull in new 'writable' dfrn flag 2011-04-11 03:22:09 -07:00
Friendika
5d5a94c88a comment open/close anomolies in non-English languages 2011-04-07 16:19:46 -07:00
fabrixxm
c1144912e2 small fix 2011-03-20 08:38:42 +01:00
Friendika
ea03d9fa86 more thorough cleanup on account/contact removal 2011-03-17 21:15:27 -07:00
Friendika
3f432a7b82 share,retweet,relay,forward, whatever 2011-03-16 19:36:59 -07:00
Friendika
ee210718cc photo album prev/next links 2011-03-11 20:06:13 -08:00
Friendika
35c3e12df5 ability to edit image permissions 2011-03-09 21:10:16 -08:00
Friendika
0de88eb6b0 yet another template converted to language neutral format 2011-03-08 18:53:52 -08:00
Friendika
5641532936 yet another template 2011-02-24 02:46:06 -08:00