This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> | |
<link href="../inc/css/holiday.css" rel="stylesheet" type="text/css" /> | |
<title>Holiday Inn® eHost™ | Terms & Conditions</title> | |
<!-- BEGIN EHOST REDIRECT SNIPPET --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> | |
<link href="../inc/css/holiday.css" rel="stylesheet" type="text/css" /> | |
<title>Holiday Inn® eHost™ | Terms & Conditions</title> | |
<!-- BEGIN EHOST REDIRECT SNIPPET --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class TaskListRPCHandler(RPCHandler, MessageMixin): | |
"""Task list related RPC methods.""" | |
@RPCMethod(['POST']) | |
def archive_tasks(self, tasklist_id): | |
"""Hide tasks from appearing in the default tasklist view.""" | |
tasklist = self.ds.TaskList.find_by_id(tasklist_id) | |
if not tasklist: return False | |
if tasklist.creator != self.current_user._id: return False | |
tasklist.archive_tasks() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Element.update("craigslist_form_post_container", "<form action=\"https://post.craigslist.org/sfo/H/vac/sby/x/9Hqhsrh1kQQ8GfOb/1jDYJ\" id=\"craigslist_form_post\" method=\"post\" target=\"_blank\">\r\n\t\r\n\t\t<input id=\"city\" name=\"city\" type=\"hidden\" value=\"San Jose\" />\r\n\t\r\n\t\t<input id=\"U2FsdGVkX18xNjgxMDE2OOJPJaJ3YlGEYldmE4rMb3h-Cf4o72hNiD9h.QAaojkGtei9ETjLbWa8\" name=\"U2FsdGVkX18xNjgxMDE2OOJPJaJ3YlGEYldmE4rMb3h-Cf4o72hNiD9h.QAaojkGtei9ETjLbWa8\" type=\"hidden\" value=\"U2FsdGVkX18xNjgxMDE2OMwwpFBgo2MK4mvG86X22EoUr6DekfmiJJmRgHBGxVJr\" />\r\n\t\r\n\t\t<input id=\"postingKey\" name=\"postingKey\" type=\"hidden\" value=\"9Hqhsrh1kQQ8GfOb\" />\r\n\t\r\n\t\t<input id=\"U2FsdGVkX18xNjgxMDE2.OMwwpFBgo2:MKk19cA-N:kCHhyaKSN:Fkl4yPzHQL-oVRYw\" name=\"U2FsdGVkX18xNjgxMDE2.OMwwpFBgo2:MKk19cA-N:kCHhyaKSN:Fkl4yPzHQL-oVRYw\" type=\"hidden\" value=\"Continue\" />\r\n\t\r\n\t\t<input id=\"region\" name=\"region\" type=\"hidden\" value=\"CA\" />\r\n\t\r\n\t\t<input id=\"U.:2FsdGVkX18xNjgxMDE2OJrwl9:EBhciQF |