summaryrefslogtreecommitdiff
path: root/tko/save_query.cgi
AgeCommit message (Collapse)AuthorFilesLines
2009-12-23Rename the tables in the databases, by prefixing the app name. This isshoward1-5/+2
in preparation for merging the two databases and the two Django projects into one. Note that this renames *all* standard Autotest DB tables in both the autotest_web and tko databases. If you have scripts written directly against these databases, *they will break*. If your scripts access the RPC interfaces, they should continue to work. Another patch will be along within the next few weeks to actually move the TKO tables into the autotest_web database. From: James Ren <jamesren@google.com> Signed-off-by: Steve Howard <showard@google.com> Rename the tables in the databases, by prefixing the app name. This is in preparation for merging the two databases and the two Django projects into one. Note that this renames *all* standard Autotest DB tables in both the autotest_web and tko databases. If you have scripts written directly against these databases, *they will break*. If your scripts access the RPC interfaces, they should continue to work. From: James Ren <jamesren@google.com> Signed-off-by: Steve Howard <showard@google.com> git-svn-id: svn://test.kernel.org/autotest/trunk@4040 592f7852-d20e-0410-864c-8624ca9c26a4
2009-01-13Change all tabs to space. somehow we lost this change from tko/ ? mbligh1-47/+47
Somewhat scary Signed-off-by: Martin J. Bligh <mbligh@google.com> git-svn-id: svn://test.kernel.org/autotest/trunk@2640 592f7852-d20e-0410-864c-8624ca9c26a4
2008-12-03gps pointed out that "== and != work in most cases but its better to use ismbligh1-1/+1
and is not as you'll never run into a case where someone's __eq__ or __ne__ method do the wrong thing." Signed-off-by: Martin J. Bligh <mbligh@google.com> git-svn-id: svn://test.kernel.org/autotest/trunk@2533 592f7852-d20e-0410-864c-8624ca9c26a4
2008-06-06Set executable bit on all cgi scriptsmbligh1-0/+0
Signed-off-by: Martin J. Bligh <mbligh@google.com> git-svn-id: svn://test.kernel.org/autotest/trunk@1657 592f7852-d20e-0410-864c-8624ca9c26a4
2008-06-06Improvements of query history:mbligh1-10/+27
a) User shall be able to delete query from the history b) Link "Back to Autotest" on query history page c) Display history starting with the most recent queries Signed-off-by: Vladimir Samarskiy <vsamarsk@google.com> git-svn-id: svn://test.kernel.org/autotest/trunk@1650 592f7852-d20e-0410-864c-8624ca9c26a4
2008-06-06Fix various TKO issuesmbligh1-4/+11
- make sure that Set-Cookie statement printed out before opening html tag - make sure query is recorded / replayed in case of proxy connection - fixed hardcoded cookie key in unique_cookie.unique_id - Formatting cleanup Signed-off-by: Vladimir Samarskiy <vsamarsk@google.com> git-svn-id: svn://test.kernel.org/autotest/trunk@1629 592f7852-d20e-0410-864c-8624ca9c26a4
2008-05-21 Overview:mbligh1-0/+59
Implement user's request: save query on demand a) Add to TKO greed view a form containing button [SaveQuery] and edit control for optional comments b) On saveQuery request TKO make sure that user's cookies contain a unique user's id c) ... and then write into table query_history in TKO: time stamp, comment, uid, url of the query d) Make sure user can read saved queries back ( can read only his/her own queries ) compose_query.cgi - added a form that supports user's request to save cu rrent query save_query.cgi - saves the query query_history.cgi - shows saved queries by this user unique_cookie.py - common cookie related function: set/get user's unique id 006_add_table_query_history.py - database migration. New table introduce d for query history. From: vsamarsk@google.com git-svn-id: svn://test.kernel.org/autotest/trunk@1533 592f7852-d20e-0410-864c-8624ca9c26a4