<feed xmlns='http://www.w3.org/2005/Atom'>
<title>markzz/aurweb.git/web/lib/aurjson.class.php, branch 1.6.0</title>
<subtitle>aurweb working repository</subtitle>
<id>https://git.markzz.net/markzz/aurweb.git/atom/web/lib/aurjson.class.php?h=1.6.0</id>
<link rel='self' href='https://git.markzz.net/markzz/aurweb.git/atom/web/lib/aurjson.class.php?h=1.6.0'/>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/'/>
<updated>2009-10-23T16:35:02Z</updated>
<entry>
<title>aurjson: Only return an error string if utf8_encode returns an empty string.</title>
<updated>2009-10-23T16:35:02Z</updated>
<author>
<name>Loui Chang</name>
<email>louipc.ist@gmail.com</email>
</author>
<published>2009-10-23T16:35:02Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=92b19e78ac4e21d9a3b9022198a118d8dc13f5d4'/>
<id>urn:sha1:92b19e78ac4e21d9a3b9022198a118d8dc13f5d4</id>
<content type='text'>
This allows 0 and '0' values to pass.

Signed-off-by: Loui Chang &lt;louipc.ist@gmail.com&gt;
</content>
</entry>
<entry>
<title>Fix json info output.</title>
<updated>2009-10-01T20:41:22Z</updated>
<author>
<name>Loui Chang</name>
<email>louipc.ist@gmail.com</email>
</author>
<published>2009-10-01T20:41:22Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=21e0ff2207d5262ce6f8339193e39f64fe982a4b'/>
<id>urn:sha1:21e0ff2207d5262ce6f8339193e39f64fe982a4b</id>
<content type='text'>
Commit 325347a introduced a regression causing an improper database
query.

Signed-off-by: Loui Chang &lt;louipc.ist@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add maintainer search to json interface. Closes FS#15947</title>
<updated>2009-09-28T19:44:31Z</updated>
<author>
<name>elij</name>
<email>elij.mx@gmail.com</email>
</author>
<published>2009-09-28T03:59:56Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=325347a268af8c2587916b5e4f359ffedc758b89'/>
<id>urn:sha1:325347a268af8c2587916b5e4f359ffedc758b89</id>
<content type='text'>
Fix for maintainer search ticket: FS#15947
Also http://mailman.archlinux.org/pipermail/aur-dev/2009-September/000892.html

Fixed some problems with selecting the proper data fields in the
original patch. - Loui

Signed-off-by: Loui Chang &lt;louipc.ist@gmail.com&gt;
</content>
</entry>
<entry>
<title>fix content-type when sending jsonp</title>
<updated>2009-09-28T19:17:07Z</updated>
<author>
<name>elij</name>
<email>elij.mx@gmail.com</email>
</author>
<published>2009-09-27T23:43:38Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=a6d5cb71a69b0296222a0a43fa18279e98686d12'/>
<id>urn:sha1:a6d5cb71a69b0296222a0a43fa18279e98686d12</id>
<content type='text'>
jsonp callback should have a content type of text/javascipt,
since it specifies a callback function wrapping json data,
and is not soley json data.

Signed-off-by: Loui Chang &lt;louipc.ist@gmail.com&gt;
</content>
</entry>
<entry>
<title>Fix: FS#15526 non-UTF8 character in rpc output</title>
<updated>2009-09-16T11:50:44Z</updated>
<author>
<name>Gergely Imreh</name>
<email>imrehg@gmail.com</email>
</author>
<published>2009-09-09T18:01:54Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=4d1eb4dd7ac631138af5e7391eda1d8f2829f555'/>
<id>urn:sha1:4d1eb4dd7ac631138af5e7391eda1d8f2829f555</id>
<content type='text'>
Currently AUR does not check the uploaded packages, whether they are
correctly in UTF8 encoding. If there are fields (such as $pkgdesc)
that contain such non-UTF8 characters, the rpc interface chokes on
those fields: even if there's data successfully retrieved from the
database, rpc returns "null".
In an effort to make such errors in the PKGBUILDs debugged more easily,
let's force rpc to have more useful output: try to convert non-UTF8
fields to UTF8. If it's a success, good. Partial success (some characters
showing as \uXXXX) is ok. Failure results in error message printed to that
field.

Signed-off-by: Gergely Imreh &lt;imrehg@gmail.com&gt;
Signed-off-by: Loui Chang &lt;louipc.ist@gmail.com&gt;
</content>
</entry>
<entry>
<title>aurjson: Use call_user_func to call functions.</title>
<updated>2009-09-14T21:03:50Z</updated>
<author>
<name>Loui Chang</name>
<email>louipc.ist@gmail.com</email>
</author>
<published>2009-09-14T21:03:50Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=1bf54a32c4f3f27ec6a72799d4ac651d22b77097'/>
<id>urn:sha1:1bf54a32c4f3f27ec6a72799d4ac651d22b77097</id>
<content type='text'>
call_user_func_array is unnecessary.

Signed-off-by: Loui Chang &lt;louipc.ist@gmail.com&gt;
</content>
</entry>
<entry>
<title>Use include_once where applicable</title>
<updated>2009-08-11T17:58:12Z</updated>
<author>
<name>Dan McGee</name>
<email>dan@archlinux.org</email>
</author>
<published>2009-08-07T01:02:29Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=46f279852475bc520c4d6ae77df04ac4a6897807'/>
<id>urn:sha1:46f279852475bc520c4d6ae77df04ac4a6897807</id>
<content type='text'>
All of these are sourcing function libraries so we don't need to include
them more than once. Things that insert actual HTML into the output were
left calling include().

Signed-off-by: Dan McGee &lt;dan@archlinux.org&gt;
Signed-off-by: Loui Chang &lt;louipc.ist@gmail.com&gt;
</content>
</entry>
<entry>
<title>Remove excess whitespace.</title>
<updated>2009-06-25T04:05:44Z</updated>
<author>
<name>Loui Chang</name>
<email>louipc.ist@gmail.com</email>
</author>
<published>2009-06-25T04:05:44Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=610733eafd62e14a7293151fb735bac1f3d55590'/>
<id>urn:sha1:610733eafd62e14a7293151fb735bac1f3d55590</id>
<content type='text'>
Signed-off-by: Loui Chang &lt;louipc.ist@gmail.com&gt;
</content>
</entry>
<entry>
<title>Remove author information from scripts.</title>
<updated>2009-04-13T03:02:08Z</updated>
<author>
<name>Loui Chang</name>
<email>louipc.ist@gmail.com</email>
</author>
<published>2009-04-13T03:02:08Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=ec214fdb4266c091608340b97531d94f9654eae4'/>
<id>urn:sha1:ec214fdb4266c091608340b97531d94f9654eae4</id>
<content type='text'>
Signed-off-by: Loui Chang &lt;louipc.ist@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add LocationID to returned fields in json interface.</title>
<updated>2009-03-04T03:28:48Z</updated>
<author>
<name>Loui Chang</name>
<email>louipc.ist@gmail.com</email>
</author>
<published>2009-03-04T03:28:48Z</published>
<link rel='alternate' type='text/html' href='https://git.markzz.net/markzz/aurweb.git/commit/?id=d57b28ac7e8b5fc89189c8c0ab07550497b45f1e'/>
<id>urn:sha1:d57b28ac7e8b5fc89189c8c0ab07550497b45f1e</id>
<content type='text'>
Signed-off-by: Loui Chang &lt;louipc.ist@gmail.com&gt;
</content>
</entry>
</feed>
