From 4334373a33264906ddf6ea3d70a3979cc4d697fc Mon Sep 17 00:00:00 2001 From: Maxime Date: Mon, 20 Jul 2015 23:29:16 +0000 Subject: [PATCH] Numerous improvements --- CONTRIBUTING.md | 93 ++++++++++++++++++ TODO.md | 8 +- app.db | Bin 59392 -> 60416 bytes app/templates/appbuilder/navbar.html | 2 +- app/templates/panoramix/datasource.html | 99 ++++++++++++++++---- app/templates/panoramix/noadmin.html | 56 ----------- app/templates/panoramix/viz_highcharts.html | 9 ++ app/views.py | 11 ++- app/viz.py | 49 +++++++--- templates/panoramix/base.html | 62 ------------ templates/panoramix/datasource.html | 39 -------- 11 files changed, 234 insertions(+), 194 deletions(-) create mode 100644 CONTRIBUTING.md delete mode 100644 app/templates/panoramix/noadmin.html delete mode 100644 templates/panoramix/base.html delete mode 100644 templates/panoramix/datasource.html diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000000000..dd877bc842434 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,93 @@ +# Contributing + +Contributions are welcome and are greatly appreciated! Every +little bit helps, and credit will always be given. + +You can contribute in many ways: + +## Types of Contributions + +### Report Bugs + +Report bugs through Gihub + +If you are reporting a bug, please include: + +- Your operating system name and version. +- Any details about your local setup that might be helpful in + troubleshooting. +- Detailed steps to reproduce the bug. + +### Fix Bugs + +Look through the GitHub issues for bugs. Anything tagged with "bug" is +open to whoever wants to implement it. + +### Implement Features + +Look through the GitHub issues for features. Anything tagged with +"feature" is open to whoever wants to implement it. + +We've created the operators, hooks, macros and executors we needed, but we +made sure that this part of Airflow is extensible. New operators, +hooks and operators are very welcomed! + +### Documentation + +Airflow could always use better documentation, +whether as part of the official Airflow docs, +in docstrings, `docs/*.rst` or even on the web as blog posts or +articles. + +### Submit Feedback + +The best way to send feedback is to file an issue on Github. + +If you are proposing a feature: + +- Explain in detail how it would work. +- Keep the scope as narrow as possible, to make it easier to + implement. +- Remember that this is a volunteer-driven project, and that + contributions are welcome :) + +## Latests Documentation + +[API Documentation](http://pythonhosted.com/airflow) + +## Testing + +Install development requirements: + + pip install -r requirements.txt + +Tests can then be run with: + + ./run_unit_tests.sh + +Lint the project with: + + flake8 changes tests + +## API documentation + +Generate the documentation with: + + cd docs && ./build.sh + + +## Pull Request Guidelines + +Before you submit a pull request from your forked repo, check that it +meets these guidelines: + +1. The pull request should include tests, either as doctests, + unit tests, or both. +2. If the pull request adds functionality, the docs should be updated + as part of the same PR. Doc string are often sufficient, make + sure to follow the sphinx compatible standards. +3. The pull request should work for Python 2.6, 2.7, and ideally python 3.3. + `from __future__ import ` will be required in every `.py` file soon. +4. Code will be reviewed by re running the unittests, flake8 and syntax + should be as rigorous as the core Python project. +5. Please rebase and resolve all conflicts before submitting. diff --git a/TODO.md b/TODO.md index e50919cdf9986..8ac2b79885bb0 100644 --- a/TODO.md +++ b/TODO.md @@ -1,2 +1,8 @@ # TODO -* Multi-filters +* STOCK CHART + compare time ranges +* Save a chart +* Datasource + Owner +* Column description +* Label +* CSV +* Bookmarks / url shortener diff --git a/app.db b/app.db index da7d7cfbfaa8fb8e36a7f07d80fb9bee03c99942..7d4b7d04657811761204190fa7e0a22ccb751c84 100644 GIT binary patch delta 468 zcmZp;z}#?yd4e?S90mpk>xl~XjB_?7RIv#g87LT9SeaT_85rnU8d@3~nhQ*R%XS7P zZf<30sb^|tYGPu}viS_VMF@ukb1l#W2J6W@F?vkQwHq5b_((_-S_oc!&Crl5s_fw`5DiIu5|o{6!M zrMbamgOf^(9Fv1jYC+{ptqcwHObiSSjEy(BFF%i?BZD#r2XB+$4I)Ir-*Oi^;S1ax)fBmU-sI#S07;M&|hp%=0%3a!h4TjBAV(02v_9 zDaio>oSd9S28O1(2Ijhk5Z@bH85`&so0^%Knxe^=S{a$^nE*r0%q+RMAigNIAit;t T=)c_5;*!MNg5Z!KPd|46$$5gY delta 389 zcmZp;!Q60xd4e=+Hv`-*fDc*a!$Uu zLUOX(JU$^qGX+C)D+5a_Lqk1tGZRx2!_8^)`m`ob&Jvu=dQwWzOu@(qXsnfyk)DC6 zshNSvWP_7RjGU8$PijHsEUZk-^~?<{%!~{+_nj;gV`F4aWnfO-*ci<`IrZ@ZR>tWJ zjMFzZ_A>Ier1A4OIx;A8aPW3GPquxoDggG6fvJ^=v7UvAnUTrlqURPYiAAZ2ljrZ1 zntbxPIlo$3PDy-neonlBZAN}^$z<_;sw`lJAB@omV{Cyjp2HYY`=N?`VT=YCWAlDh YIgmME^YaVhEp1heU4RJ8Pb~!U0o;gr&;S4c diff --git a/app/templates/appbuilder/navbar.html b/app/templates/appbuilder/navbar.html index ad1befa036768..be68533243d51 100644 --- a/app/templates/appbuilder/navbar.html +++ b/app/templates/appbuilder/navbar.html @@ -5,7 +5,7 @@ {% set languages = appbuilder.languages %}