Commits

Anonymous committed c82b43e

Authors now associated with articles

Comments (0)

Files changed (4)

 Follow these steps:
 
 1. To begin, open `config.rc` and fill out the file according to your needs. Make sure to configure your database information!
-2. Create the database and execute the `clean.sql` file.
-3. Configure your web server to run the Point-blank WSGI web application, `index.py`. (Specific instructions below.)
+2. Make sure the sessions directory is writable by Apache/the program.
+3. Create the database and execute the `clean.sql` file.
+4. Configure your web server to run the Point-blank WSGI web application, `index.py`. (Specific instructions below.)
 
 
 Apache 2 Installation
 				"url_id":article.url_id,
 				"id_":article.id_,
 				"date":article.timestamp,
+				"author":article.author,
 				"content":article.content,
 				"base_url":config.general.base_url,
-				#"comment_count":db.get_num_comments(article.id_),
 				"comment_count":db.get_num_comments(article.id_),
-				#"comment_count":0,
 				"tag_list": article.tags,
 				"year":date[0],
 				"month":date[1],
 				"url_id":i.url_id,
 				"title":i.title,
 				"tags":i.tags,
-				"author":config.general.admin,
+				"author":unicode(session.username),
 				"timestamp":unicode(time.time()),
 				"content":i.content,
 				"ip":u"localhost",
 				"title":article.title,
 				"url_id":article.url_id,
 				"id_":article.id_,
+				"author":article.author,
 				"date":article.timestamp,
 				"content":article.content,
 				"base_url":config.general.base_url,
 				"url_id":article.url_id,
 				"id_":article.id_,
 				"date":article.timestamp,
+				"author":article.author,
 				"content":article.content,
 				"base_url":config.general.base_url,
 				"comment_count":db.get_num_comments(article.id_),
 					"title":cgi.escape(article.title),
 					"url_id":article.url_id,
 					"id_":article.id_,
+					"author":article.author,
 					"date":article.timestamp,
 					"content":cgi.escape(article.content),
 					"base_url":config.general.base_url,
 	url_id = Unicode()
 	title = Unicode()
 	tags = Unicode()
-#	author = Unicode()
+	author = Unicode()
 	timestamp = Unicode()
 	content = Unicode()
 	comments = ReferenceSet(id_, "Comment.article_id")

sessions/3aff84b2e77ac240cde7f3c08cd973ecaecbad20

-KGRwMQpTJ3VzZXJuYW1lJwpwMgpTJycKc1Mnd2Vic2l0ZScKcDMKUycnCnNTJ2lwJwpwNApWMTI3
-LjAuMC4xCnA1CnNTJ3Nlc3Npb25faWQnCnA2ClMnM2FmZjg0YjJlNzdhYzI0MGNkZTdmM2MwOGNk
-OTczZWNhZWNiYWQyMCcKcDcKc1MnYXV0aCcKcDgKSTAKc1MnZW1haWwnCnA5ClMnJwpzLg==
+KGRwMQpTJ3VzZXJuYW1lJwpwMgpTJ2FsZWN3aCcKcDMKc1Mnd2Vic2l0ZScKcDQKUydodHRwOi8v
+bG9jYWxob3N0JwpwNQpzUydpcCcKcDYKVjEyNy4wLjAuMQpwNwpzUydzZXNzaW9uX2lkJwpwOApT
+JzNhZmY4NGIyZTc3YWMyNDBjZGU3ZjNjMDhjZDk3M2VjYWVjYmFkMjAnCnA5CnNTJ2F1dGgnCnAx
+MApJMQpzUydlbWFpbCcKcDExClMnYWxlY3doQGdtYWlsLmNvbScKcDEyCnMu