summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* fields: Move all custom fields to specific fileStephen Finucane2016-03-16
| | | | | | | Keep things modular. Signed-off-by: Stephen Finucane <stephen.finucane@intel.com> Reviewed-by: Andy Doan <andy.doan@linaro.org>
* js: Allow shift-select of checkboxesStephen Finucane2016-03-15
| | | | | | | | | | Allow bulk modification of patches through shift-select of the check boxes on each line. This allows for the removal of the 'common.js' file, which was only being used in one location. Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
* requirements: Loosen testing requirement versionsStephen Finucane2016-03-15
| | | | | | | | There's not really any reason to pin the requirements for dependencies only used in tests, so don't do it. Replace these specific versions with broader, major-version checks. Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
* Add support for 'django-debug-toolbar'Stephen Finucane2016-03-15
| | | | | | | | | | | | This tool is exceptionally helpful for debugging issues with Django: install it as part of the 'dev' configuration. This only works on Django > 1.6, due to a lack of support for older versions in the upstream. A note is included to help users avoid the issues seen when running patchwork on a different machine. Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
* docs: Refer to fixtures by name, not pathStephen Finucane2016-03-13
| | | | | | | It's not necessary to use paths for fixtures, so update the docs and Vagrant install scripts to remove these. Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
* Revert "tox: Cleanup '.pyc' files before run"Stephen Finucane2016-03-11
| | | | | | | | | This reverts commit 8e58c29f23b9cc072c003268d641f00084ce3b3b. The benefits added by this change did not outweigh the cost it introduces in test run time. Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
* parsemail: Correct issue with '--verbosity' flagStephen Finucane2016-03-11
| | | | | | | Use the log level dictionary _values_, not the user-provided _key_. Signed-off-by: Stephen Finucane <stephen.finucane@intel.com> Closes-Bug: #21
* pep8: Remove errant lineStephen Finucane2016-03-10
| | | | Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
* tox: Also white list PW_TEST_DB_TYPEDamien Lespiau2016-03-08
| | | | | | | That's the variable we use to select the database backend. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
* settings: Don't use 'postgre'Damien Lespiau2016-03-08
| | | | | | | | | | From: https://wiki.postgresql.org/wiki/Postgres#Changing_name_from_PostgreSQL_to_Postgres "Does not encourage weird derivations such as 'Postgre'" Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
* docs: Release v1.1.0Stephen Finucane2016-03-03
| | | | | | This release is now ready. Update the respective references. Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
* pwclient: Add 'check-info' commandStephen Finucane2016-03-03
| | | | | | | Get information about a given check. Signed-off-by: Stephen Finucane <stephen.finucane@intel.com> Tested-by: Andy Doan <andy.doan@linaro.org>
* pwclient: Make 'check-list' a little more usefulStephen Finucane2016-03-03
| | | | | | | Update the 'check-list' command to show more fields per check. Signed-off-by: Stephen Finucane <stephen.finucane@intel.com> Tested-by: Andy Doan <andy.doan@linaro.org>
* pwclient: Rename 'checks' -> 'check-list'Stephen Finucane2016-03-03
| | | | | | | | Rename this function to ensure all check-related commands have a 'check-' prefix. Signed-off-by: Stephen Finucane <stephen.finucane@intel.com> Tested-by: Andy Doan <andy.doan@linaro.org>
* pwclient: Fix bug with 'checks' targetStephen Finucane2016-03-03
| | | | | | | | This function passed two unexpected arguments to the server. Remove these, thus fixing the command. Signed-off-by: Stephen Finucane <stephen.finucane@intel.com> Tested-by: Andy Doan <andy.doan@linaro.org>
* mailmap: Add new mailmap fileStephen Finucane2016-02-26
| | | | | | | | This adds a mailmap to make shortlog work as expected. There are currently two entries added. Signed-off-by: Stephen Finucane <stephen.finucane@intel.com> Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
* CHANGELOG: Minor fixesStephen Finucane2016-02-26
| | | | | | | Remove some duplication and otherwise rework some points in the CHANGELOG. Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
* README: Add list of talks on patchworkStephen Finucane2016-02-26
| | | | Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
* README: Add quickstart section for devsStephen Finucane2016-02-26
| | | | Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
* xmlrpc: Add a check_create functionAndy Doan2016-02-26
| | | | | | | | | | | | This changes adds the ability to create Check objects via the XMLRPC interface. It includes a corresponding helper to the pwclient script. The command can be used like: pwclient check_create -c context1 -s success -u http://f.com \ -d "desc of check" PATCH_ID Signed-off-by: Andy Doan <andy.doan@linaro.org> Acked-by: Stephen Finucane <stephen.finucane@intel.com>
* views: Redirect when only one TODO existsStephen Finucane2016-02-18
| | | | | | | | | At the moment, the page listing all TODOs will display like the page detailing a single TODO. This is misleading. Instead, use the same approach as the index page, where the user is automatically redirected to the appropriate project's page when only one project exists. Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
* tests: Remove duplicated bulk patch creationStephen Finucane2016-02-18
| | | | | | | A number of tests were bulk creating patches. Seeing as this is a common operation, it's better to move this into a common location. Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
* filters: Re-add mistakenly removed methodStephen Finucane2016-02-18
| | | | | | | | Removing this method resulted in an issue whereby a user could not access their "TODO list". Add tests to ensure this doesn't happen again. Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
* tests: Remove check for 'tbody'Stephen Finucane2016-02-18
| | | | | | | | As part of 'f8cc68', the response for the patch list page changed slightly. This means one of the things we were checking in a test is no longer valid. Remove this check. Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
* views: Correct typos in reverse pathsStephen Finucane2016-02-18
| | | | | | | | | | | | There are two issues to do with reverse URLs: * Some reverse URL names are incorrect * One URL uses the old module path-style reference that's been deprecated in Django 1.9 Correct both issues. Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
* templatetags: fix syntax display of CRLF'sAndy Doan2016-02-17
| | | | | | | | | | | | | | Patches that include CRLF's include extra lines in the UI. Rather than each patch line being: <span ...>content</span> Its source will be: <span ...>content </span> Signed-off-by: Andy Doan <andy.doan@linaro.org> Acked-by: Stephen Finucane <stephen.finucane@intel.com>
* settings: Use environment variables by defaultStephen Finucane2016-02-14
| | | | | | | | | | | | | | The Django documentation suggests using environment variables as a way to allow devs to commit settings files via source control without including confidential information therein [1]. As such, change the provided 'production' settings to do this. This should promote best practices while also ensuring provisioning tools like 'ansible-django-stack' [2] work as expected. [1] https://docs.djangoproject.com/en/1.9/howto/deployment/checklist/ [2] https://github.com/jcalazan/ansible-django-stack Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
* docs: Add notes for v1.1.0Stephen Finucane2016-02-14
| | | | Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
* docs: Rewrite deployment guideStephen Finucane2016-02-14
| | | | | | | | | | | | | | The existing deployment could do with a little bit of fleshing out. Do this, adding notes about the possibility of sidestepping much of the process using deployment tools or PaaS solutions. This also drops notes on deploying using MySQL/MariaDB or non-Ubuntu distros. While it would be good to cover all use cases, it simply isn't practical. Do one thing and do it well, providing notes for users who want other options. Signed-off-by: Stephen Finucane <stephen.finucane@intel.com> Suggested-by: Thomas Monjalon <thomas.monjalon@6wind.com>
* lib: Add nginx and uWSGI configuration filesStephen Finucane2016-02-14
| | | | | | | | | | | nginx and uWSGI are a well-known option for deploying Django applications today - might as well embrace them. Conversely, the mod_python variable and fastcgi service are both deprecated and should not be used. Remove these. Signed-off-by: Stephen Finucane <stephen.finucane@intel.com> Suggested-by: Thomas Monjalon <thomas.monjalon@6wind.com>
* README: Add waffle.io badgeStephen Finucane2016-02-13
| | | | Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
* docs: Combine MySQL init/reinit instructionsStephen Finucane2016-02-10
| | | | | | | | Apply some learnings for the Vagrant work and combine the commands used to configure a MySQL database for first time use with those used to reset an existing database. This should simplify installation. Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
* docs: Add note about Vagrant supportStephen Finucane2016-02-10
| | | | Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
* vagrant: Add Vagrant-based development environmentStephen Finucane2016-02-10
| | | | | | | | | | | Integrate Vagrant by way of a Vagrantfile and a simple install script. This follows many of the instructions found in the development guide with the exceptions of the superuser creation, which is optional, the loading of archives, which requires per-user authentication, and the use of virtual environments, which are unnecessary in a teardown environment such as this. Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
* requirements: Remove psycopg2Stephen Finucane2016-02-10
| | | | | | | | | | | | | | | It would be good to provide the required packages for devs using both MySQL and PostgreSQL. However, there does not appear to be any way to specify an exclusive-or condition in pip requirements files and the existing behavior of including dependencies for both RDBMSs means system packages have to be installed for both, when you are likely only using one. This is particularly problematic when you want to set up a fast dev environment using something like Vagrant. Settle on MySQL for now, until such a time as the consensus is to go all-in with PostgreSQL (including docs, for example). Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
* templates: Cleanup patch-listStephen Finucane2016-02-08
| | | | | | | | | | Cleanup this file before doing any work on it. Items addressed: * Move complex logic into template tags * Move related content closer together * Random whitespace annoyances Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
* ui: Make the project a unit with 'Patchwork' in the menu barDamien Lespiau2016-02-08
| | | | | | Both should be styled the same and be a link to the home page. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
* ui: Make "All Projects" on the main page consistent with the restDamien Lespiau2016-02-08
| | | | | | | | The pages we're on are now represented with a little icon and active. Make the one on the main page look like the rest. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com>
* ui: Split the tiles in columns and increase the mininum sizeDamien Lespiau2016-02-08
| | | | | | | | Let's try to make that page looks better when the natural size of the tiles are different (because the contents have varying sizes). Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com>
* ui: Put the project name by default on project pagesDamien Lespiau2016-02-08
| | | | | Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com>
* ui: Switch to HTML5 doctype and fix issuesDamien Lespiau2016-02-08
| | | | | | | | | | | | | A few common things: - Remove the 'role' attribute of <nav> - Don't use the self closing syntax ('/>') on non void elements - Don't use the language attribution in <script> - Remove spurious attributes - The 'check' attribute of <input> doesn't take any value Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com>
* ui: Redesign the projects pageDamien Lespiau2016-02-08
| | | | | Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com>
* ui: Redesign the pagination widgetsDamien Lespiau2016-02-08
| | | | | Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com>
* ui: Merge the TODO list into the user dropdownDamien Lespiau2016-02-08
| | | | | | | | | We still leave the badge on the top bar so we can see, at a glance, the number of items on the TODO list. The actual menu item is folded into the dropdown. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com>
* ui: Merge the admin link into the user dropdownDamien Lespiau2016-02-08
| | | | | Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com>
* ui: Use <h1> for page titlesDamien Lespiau2016-02-08
| | | | | | | | <h2> is used for titles within the page, but shouldn't be used for page titles, which are a level higher. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com>
* ui: Use bootstrap container-fluid classDamien Lespiau2016-02-08
| | | | | | | | It's time to use more of Boostrap. Having the top level element use the framework makes the rest work. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com>
* ui: Redesign navigationDamien Lespiau2016-02-08
| | | | | | | | | | | | We get rid of the breadcrumbs in favour of items always present in the top navigation bar. Based on BĂ©len's new design iteration. v2: Rebase onto master Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
* ui: Let the bootstrap inverse navbar style shine throughDamien Lespiau2016-02-08
| | | | | | | | | | | | | Time for another iteration of the design. Let's start by using the inverse bootsrap style with a slightly whiter color for font for better contrast. That color change has repercussions in the style sheet, mostly in the custom containers/boxes we're still using on the secondary pages (login/register/...) Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Acked-by: Stephen Finucane <stephen.finucane@intel.com>
* urls: Create a project version of bundlesDamien Lespiau2016-02-08
| | | | | | | | | | | | | We'd like to have a per-project list of bundles as we present all data in the context of a single project anyway. Still keep the instance-wide list bundles around. v2: Rename the existing 'bundle-list' url to 'user-bundles', as this is more inkeeping with the other URLs Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>