Commit Graph

42 Commits

Author SHA1 Message Date
Syntaxseed 2401f18d30 Fix curly brace syntax. PHP 7.3 deprecations in inc/ directory. 2019-10-31 13:24:50 +01:00
Andreas Gohr c0c77cd20b Merge branch 'master' into psr2
changes from commit b15f23f673 may have
been lost, because the code changed to much.

changes from commit df81ca99ee need to be
verified. we might need to do some more adjustments.

* master: (49 commits)
  translation update
  translation update
  translation update
  translation update
  translation update
  translation update
  translation update
  Update config.class.php
  translation update
  translation update
  Update lang.php
  Add ugc hint to nofollow
  add UGC hint
  translation update
  translation update
  use a script to fetch the correct phpunit
  Revert "output travis php version for easier debugging"
  setup databases for unit tests in travis
  output travis php version for easier debugging
  translation update
  ...
2019-10-10 09:22:24 +02:00
Andreas Gohr 8cbc5ee84f replaced deprecated utf8 functions
For now this uses full qualified namespaces, sensible imports may come
later.
2019-06-10 16:12:59 +02:00
Michael Aschauer 5d00293dd6 Fix/Harmonize inconsistent Tag names that lead to reporting wrong dates. 2019-06-04 20:10:52 +02:00
Phy dd5c3e2b27 remove deprecated each calls in libraries 2017-12-20 20:20:20 +08:00
Andreas Gohr 9e491c01d5 replaced some more each calls
There are still some left in the DifferenceEngine code
2017-05-12 19:25:31 +02:00
Takamura f50a239b3b I supplemented the existing comments on the methods in which there was not enough information to the standard phpDoc. 2017-03-31 09:33:33 +02:00
Anders Sandblad 59752844d1 Fixed broken links to php.net and redirecting pages to php.net 2016-06-14 08:48:12 +02:00
Christopher Smith 5c3b310dea more class constructors to __construct() 2015-05-15 19:32:40 +02:00
Scrutinizer Auto-Fixer 276820f70d Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-01-10 14:47:51 +00:00
Andreas Gohr 79e7937762 Remove error supression for file_exists()
In an older version of PHP a file_exists() call would issue a warning
when the file did not exist. This was fixed in later PHP releases. Since
we require PHP 5.3 now, there's no need to supress any error here
anymore. This might even give a minor performance boost.
2015-01-07 10:47:45 +01:00
Gerrit Uitslag 42ea7f447f Many PHPDocs, some unused and dyn declared vars
many PHPDocs
some unused variables
some dynamically declared variables declared
2014-10-01 11:30:27 +02:00
Gerrit Uitslag 59bc3b48fd more scrutinizer issue improvements 2014-09-29 21:45:27 +02:00
Christopher Smith 17dd401e94 fix return by reference not a var 2014-03-05 21:48:59 +00:00
Andreas Gohr 8c404966d3 Merge pull request #381 from splitbrain/jpegmetafixes
Jpegmeta fixes
2013-10-20 12:26:08 -07:00
Gerrit Uitslag f5891fa46a fix some Only vars assigned by reference 2013-10-16 12:06:29 +02:00
Gerrit Uitslag 5aaca72333 fixed some errors indicated by IDEA 2013-10-16 11:50:33 +02:00
Gerrit Uitslag 0ea5ced2b7 output of fread is string, but recognized as object. Fixed assign by ref 2013-10-15 16:45:19 +02:00
Andreas Gohr 17dcc4abef decode utf8 filenames in JpegMeta FS#2553 2012-07-28 17:50:18 +02:00
Andreas Gohr 3009a773c0 replaced use of basename() with utf8_basename() FS#2015 2012-07-28 10:40:48 +02:00
Anika Henke e260f93b6c xml compatibility fixes (mainly entities to unicode conversions) 2012-07-05 22:58:24 +01:00
Andreas Gohr 639f8f436d Check if given file is really a file in JpegMeta FS#2322 2011-10-14 18:26:37 +02:00
Hakan Sandell d8443bf1e3 More failsafe XMP parsing in jpeg pictures 2011-02-14 21:24:31 +01:00
Hakan Sandell 831c10d031 Fixed bug FS2030 JpegMeta dies on parsing XMP 2010-10-02 17:06:59 +02:00
Andreas Gohr 2bd7407465 License change for inc/JpegMeta.php
Original author Sebastian Delmont agreed to rerelease the code
under BSD license to avoid license compatibility problems.

Other authors (me and Hakan Sandell) agreed as well.
2010-06-22 13:16:37 +02:00
Andreas Gohr 0b17fdc671 more code cleanup according to coding standard 2010-01-29 13:57:24 +01:00
Tom N Harris ed3655c4c7 Avoid zero-byte reads
darcs-hash:20090116001547-6942e-b5bc401c0ef4c36b1b7b8ca7ef708587953ec017.gz
2009-01-16 01:15:47 +01:00
Andreas Gohr 1017ae2ebd always parse file informations in JpegMeta
darcs-hash:20081218210011-7ad00-670578d9882011f3a6eb9e6e219bc7ca22251d9d.gz
2008-12-18 22:00:11 +01:00
Andreas Gohr a73b5b7e6a Set dates to lastmodified dates if no Exif Data is available
darcs-hash:20081218205421-7ad00-e70da65170682ec32c76c8524187790bc2c2924d.gz
2008-12-18 21:54:21 +01:00
Andreas Gohr 2114dafd2e Ignore missing times when determining earliest time from JPEG data
darcs-hash:20081218203705-7ad00-ebd597d34d9e34d5e9502ea2c0d5d4a45025e676.gz
2008-12-18 21:37:05 +01:00
hakan.sandell 431c7fc8f2 xmp metadata support
darcs-hash:20080518152722-9a5f4-468fc64e7994fc2c5b0034fe262b4aa8b6fe2946.gz
2008-05-18 17:27:22 +02:00
Andreas Gohr 009768124d don't use realpath() anymore (FS#1261 and others)
The use of realpath() to clean up relative file names caused some
trouble in certain setups relying on symlinks or having restricitve
file structure setups.

This patch replaces all realpath() calls with a PHP only replacement
which should solve those problems.

darcs-hash:20070930184250-7ad00-512ff04c95f57fc9eaf104f80372237a3c94286f.gz
2007-09-30 20:42:50 +02:00
Andreas Gohr fe00a66695 show correct megabyte size for image details FS#1217
darcs-hash:20070809213753-7ad00-95904b1effbd827c0b5b1ed73879d99d99175fc6.gz
2007-08-09 23:37:53 +02:00
Andreas Gohr 98c868589e file cleanups
This patch cleans up the source code to satisfy the coding guidelines (see
http://wiki.splitbrain.org/wiki:development#coding_style)

It converts files to UNIX lineendings and removes tabs and trailing
whitespace. Not all files were cleaned yet.

darcs-hash:20060217222040-7ad00-bba3d2bee3b5aa7cbb5184258abd50805cd071bf.gz
2006-02-17 23:20:40 +01:00
Andreas Gohr bf5e5a5ba7 Windows compatible rename #683
darcs-hash:20060121194539-7ad00-c880c0980513a3ccb45253c02e1a02d4cbdd6009.gz
2006-01-21 20:45:39 +01:00
Joe Lapp b5a8175656 Patch for JpegMeta.php
This patch allows a user to enter a datetime into the media editor
in what ever format they please, and yet still have it formatted
properly in the JPEG.  Strictly speaking, JpegMeta will store what
ever string you provide, but I'm guessing Google and other EXIF
readers may require the standard format.

darcs-hash:20050903125736-46f60-da93b57da8c2ce7ac5f5e1c24c195783b46730e5.gz
2005-09-03 14:57:36 +02:00
Joe Lapp 6db72d46c4 added simple.shutterspeed to JpegMeta
darcs-hash:20050823164204-46f60-5c79fbd04d9bc5ce4a6dad13f93b8383d9fd8b77.gz
2005-08-23 18:42:04 +02:00
Joe Lapp 493531a823 Added "sublocation" IPTC tag to JpegMeta
darcs-hash:20050817180620-46f60-55aaecbcd5496261d6fa0c5dc5bf507f6aaa709c.gz
2005-08-17 20:06:20 +02:00
Andreas Gohr 36df6fa306 image metadata editor
This patch adds an meta data editor for JPEG files. Currently title,
caption, artist, copyright and keywords can be saved. The data is saved
to the apropriate IPTC fields. Additional fields can be added in the
appropriate template.

Compatibility testing with other programs is needed!

darcs-hash:20050731163554-7ad00-dd936ec19549203dcf72de8774309c0b17d0b679.gz
2005-07-31 18:35:54 +02:00
Andreas Gohr 23a3478363 optimized Image metadata handling
darcs-hash:20050731115030-7ad00-2a1a423985864f0daae57545c2f3945abfc10257.gz
2005-07-31 13:50:30 +02:00
Andreas Gohr 2684e50a07 some minor fixes in image detail handling
darcs-hash:20050724125047-7ad00-a03fa69aed22694f6b7635923b1f2ce564165b9f.gz
2005-07-24 14:50:47 +02:00
Andreas Gohr 55efc227ea first step in Image metadata support
This adds a detail page for images, for JPEG files
additional metadata from EXIF and IPTC fields is shown

darcs-hash:20050724115540-7ad00-926601cd12a990e041943edc616360d8179d6c9f.gz
2005-07-24 13:55:40 +02:00