- 09 Jul, 2018 1 commit
-
-
In commit 840ee20f (Rename translation resources from aur to aurweb, 2018-07-07) the translations file was renamed but we never actually switched to using the renamed translations. As a result, every single push to the AUR contains the following traceback: remote: Traceback (most recent call last): remote: File "/usr/bin/aurweb-notify", line 11, in <module> remote: load_entry_point('aurweb==4.7.0', 'console_scripts', 'aurweb-notify')() remote: File "/usr/lib/python3.6/site-packages/aurweb-4.7.0-py3.6.egg/aurweb/scripts/notify.py", line 541, in main remote: File "/usr/lib/python3.6/site-packages/aurweb-4.7.0-py3.6.egg/aurweb/scripts/notify.py", line 69, in send remote: File "/usr/lib/python3.6/site-packages/aurweb-4.7.0-py3.6.egg/aurweb/scripts/notify.py", line 56, in get_body_fmt remote: File "/usr/lib/python3.6/site-packages/aurweb-4.7.0-py3.6.egg/aurweb/scripts/notify.py", line 192, in get_body remote: File "/usr/lib/python3.6/site-packages/aurweb-4.7.0-py3.6.egg/aurweb/l10n.py", line 14, in translate remote: File "/usr/lib/python3.6/gettext.py", line 514, in translation remote: raise OSError(ENOENT, 'No translation file found for domain', domain) remote: FileNotFoundError: [Errno 2] No translation file found for domain: 'aur' Signed-off-by:
Eli Schwartz <eschwartz@archlinux.org> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 27 Feb, 2017 1 commit
-
-
Lukas Fleischer authored
In commit e171f6f3 (Migrate all DB code to use PDO, 2012-08-08), PDOStatement::fetchAll() was introduced as a drop-in replacement for mysql_fetch_array(). However, PDOStatement::fetchAll() returns a list of all results while mysql_fetch_array() returns a single result only. Instead of adding the missing indirection, simplify the code by using PDO::fetchColumn(). Also add some safeguards to prevent warnings if the result set returned by the query is empty. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 10 Nov, 2016 1 commit
-
-
The quote is a leftover of legacy code and was meant to be removed by commit e171f6f3 (Migrate all DB code to use PDO, 2012-08-08). Signed-off-by:
Mark Weiman <mark.weiman@markzz.com> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 27 Jun, 2015 1 commit
-
-
Lukas Fleischer authored
Implements FS#45430. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 09 Jun, 2015 2 commits
-
-
Lukas Fleischer authored
Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
Lukas Fleischer authored
Reported-by:
Pablo Lezaeta Reyes <prflr88@gmail.com> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 08 Jun, 2015 1 commit
-
-
Lukas Fleischer authored
Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- 24 Oct, 2014 1 commit
-
-
Lukas Fleischer authored
Replace web/lib/config.inc.php with an INI-style configuration file. This allows us to get rid of several globals and makes it easier to use the same configuration file in external scripts. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 04 Jul, 2014 1 commit
-
-
Lukas Fleischer authored
Use ngettext() to handle plurals properly. Also, split pagination captions into two strings. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 13 May, 2014 1 commit
-
-
Lukas Fleischer authored
Fixes FS#39027. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 26 Aug, 2013 1 commit
-
-
Lukas Fleischer authored
Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 10 Feb, 2013 1 commit
-
-
canyonknight authored
Uses the Singleton pattern to ensure all queries use the same database connection that is released upon script completion. All database connections should now be called with DB::connect() and not db_connect(). Signed-off-by:
canyonknight <canyonknight@gmail.com> Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 22 Dec, 2012 1 commit
-
-
Marcel Korpel authored
Supported languages are listed in their native language. Only Dutch is in English. Translate reference into Dutch. canyonknight: Commit message clarity Signed-off-by:
canyonknight <canyonknight@gmail.com> Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 24 Sep, 2012 1 commit
-
-
Lukas Fleischer authored
* Use "<label>"/"</label>" for form labels. * Use "<strong>"/"</strong>" for important text. * Use "<h4>"/"</h4>" for headings. * Drop "<b>"/"</b>" everywhere else. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 17 Sep, 2012 1 commit
-
-
canyonknight authored
All DB code currently uses the quickly aging mysql_* functions. These functions are strongly discouraged and may eventually be deprecated. Transition all code to utilize the PDO data access abstraction layer. PDO allows for consistent query code across multiple databases. This could potentially allow for someone to use a database other than MySQL with minimal code changes. All functions and behaviors are reproduced as faithfully as possible with PDO equivalents and some changes in code. Signed-off-by:
canyonknight <canyonknight@gmail.com> Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 24 Oct, 2011 1 commit
-
-
Dan McGee authored
This has no real business being here, and is a pain to update when new languages are shipped. Move it and the set_lang() function to translator.inc.php instead so it doesn't overwhelm the user-configurable settings file with static stuff. Signed-off-by:
Dan McGee <dan@archlinux.org> Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 20 Aug, 2011 1 commit
-
-
Lukas Fleischer authored
Remove hacky substitution code from __() and use vsprintf() instead which will deal with all sorts of format strings properly. Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 22 Jun, 2011 1 commit
-
-
elij authored
Lukas: Add note to "UPGRADING". Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 10 Apr, 2011 2 commits
-
-
Lukas Fleischer authored
Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
Lukas Fleischer authored
Signed-off-by:
Lukas Fleischer <archlinux@cryptocrack.de>
-
- 09 Jan, 2010 2 commits
-
-
Loui Chang authored
Signed-off-by:
Loui Chang <louipc.ist@gmail.com>
-
Loui Chang authored
Signed-off-by:
Loui Chang <louipc.ist@gmail.com>
-
- 08 Jan, 2010 1 commit
-
-
Athurg Gooth authored
Signed-off-by:
Loui Chang <louipc.ist@gmail.com>
-
- 25 Jun, 2009 1 commit
-
-
Loui Chang authored
Signed-off-by:
Loui Chang <louipc.ist@gmail.com>
-
- 13 Apr, 2009 1 commit
-
-
Loui Chang authored
Signed-off-by:
Loui Chang <louipc.ist@gmail.com>
-
- 19 Jan, 2009 1 commit
-
-
Loui Chang authored
Signed-off-by:
Loui Chang <louipc.ist@gmail.com>
-
- 21 Dec, 2008 1 commit
-
-
Loui Chang authored
This includes only the requested language for each page and makes top level language include files obsolete. Signed-off-by:
Loui Chang <louipc.ist@gmail.com>
-
- 17 Dec, 2008 1 commit
-
-
Loui Chang authored
Signed-off-by:
Loui Chang <louipc.ist@gmail.com>
-
- 28 Jul, 2008 1 commit
-
-
Loui Chang authored
This closes FS#10809 - bug in french translation of AUR web interface Signed-off-by:
Loui Chang <louipc.ist@gmail.com>
-
- 22 Jul, 2008 1 commit
-
-
Loui Chang authored
DEFAULT_LANG will essentially be used to specify what language strings are initially written in. This will eliminate the need for English translation arrays in AUR and make adding or changing the English strings a lot easier. DEFAULT_LANG may be required for strings to display properly. Also change the output when a translation isn't found. Eliminate the <b> which can cause validation errors depending on where the string is placed. Signed-off-by:
Loui Chang <louipc.ist@gmail.com>
-
- 17 Jun, 2008 1 commit
-
-
Loui Chang authored
Signed-off-by:
Loui Chang <louipc.ist@gmail.com>
-
- 27 Mar, 2008 1 commit
-
-
Loui Chang authored
The old string,array usage is still supported however. (for now) Signed-off-by:
Loui Chang <louipc.ist@gmail.com> Signed-off-by:
Simo Leone <simo@archlinux.org>
-
- 20 Sep, 2007 1 commit
-
-
pjmattal authored
-
- 16 Aug, 2007 1 commit
-
-
eliott authored
-
- 11 Jun, 2005 1 commit
-
-
pjmattal authored
-
- 19 Jun, 2004 1 commit
-
-
eric authored
-
- 18 Jun, 2004 2 commits
- 14 Jun, 2004 1 commit
-
-
eric authored
-