History log of /external/autotest/tko/save_query.cgi
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
eab66ce582bfe05076ff096c3a044d8f0497bbca 23-Dec-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> 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.

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: http://test.kernel.org/svn/autotest/trunk@4040 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/tko/save_query.cgi
15110b741516c11c5dbf24d3961fb14f04138140 14-Jan-2009 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Change all tabs to space. somehow we lost this change from tko/ ?
Somewhat scary

Signed-off-by: Martin J. Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2640 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/tko/save_query.cgi
d876f459fff6cc4994cab329b1f80c99a86edcbd 03-Dec-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> gps pointed out that "== and != work in most cases but its better to use is
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: http://test.kernel.org/svn/autotest/trunk@2533 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/tko/save_query.cgi
30413d504a72efed189b70dd00d256f57d52bf57 06-Jun-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Set executable bit on all cgi scripts

Signed-off-by: Martin J. Bligh <mbligh@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@1657 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/tko/save_query.cgi
099c1420a3eb97ac76710981da14e8bd4599406f 06-Jun-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Improvements of query history:
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: http://test.kernel.org/svn/autotest/trunk@1650 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/tko/save_query.cgi
d34763f2be045ecf7c40723ad4031d841a40b133 06-Jun-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Fix various TKO issues

- 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: http://test.kernel.org/svn/autotest/trunk@1629 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/tko/save_query.cgi
94f07a21a96e182c8b750fbd38bc519155b441f4 21-May-2008 mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> Overview:
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: http://test.kernel.org/svn/autotest/trunk@1533 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/tko/save_query.cgi