[Hejes-devel] [951] new table file for new field author; blog/manage: logout link; added users for KR and LZS
hejes-devel at nytud.hu
hejes-devel at nytud.hu
Tue Sep 24 16:20:02 CEST 2013
Revision: 951
Author: mihaltz
Date: 2013-09-24 16:20:02 +0200 (Tue, 24 Sep 2013)
Log Message:
-----------
new table file for new field author; blog/manage: logout link; added users for KR and LZS
Modified Paths:
--------------
trunk/web2py/applications/helyesiras_webdev/databases/blog_posts.table
trunk/web2py/applications/helyesiras_webdev/databases/sql.log
trunk/web2py/applications/helyesiras_webdev/databases/storage.sqlite
trunk/web2py/applications/helyesiras_webdev/models/db.py
trunk/web2py/applications/helyesiras_webdev/progress.log
trunk/web2py/applications/helyesiras_webdev/views/blog/manage.html
Modified: trunk/web2py/applications/helyesiras_webdev/databases/blog_posts.table
===================================================================
--- trunk/web2py/applications/helyesiras_webdev/databases/blog_posts.table 2013-09-24 13:47:29 UTC (rev 950)
+++ trunk/web2py/applications/helyesiras_webdev/databases/blog_posts.table 2013-09-24 14:20:02 UTC (rev 951)
@@ -39,14 +39,37 @@
sg10
S'reference categories'
p15
-ssS'title'
+ssS'author'
p16
(dp17
+S'length'
+p18
+I255
+sS'unique'
+p19
+I00
+sS'sortable'
+p20
+I9
+sS'sql'
+p21
+S'VARCHAR(255)'
+p22
+sS'notnull'
+p23
+I00
+sS'type'
+p24
+S'string'
+p25
+ssS'title'
+p26
+(dp27
g4
I3
sg5
S'VARCHAR(255)'
-p18
+p28
sg7
I255
sg8
@@ -55,15 +78,15 @@
I00
sg10
S'string'
-p19
+p29
ssS'tags'
-p20
-(dp21
+p30
+(dp31
g4
I6
sg5
S'LONGTEXT'
-p22
+p32
sg7
I255
sg8
@@ -72,32 +95,31 @@
I00
sg10
S'list:string'
-p23
-ssS'id'
-p24
-(dp25
+p33
+ssS'slug'
+p34
+(dp35
g4
-I1
+I2
sg5
-S'INT AUTO_INCREMENT NOT NULL'
-p26
+S'VARCHAR(255) UNIQUE'
+p36
sg7
I255
sg8
I00
sg9
-I00
+I01
sg10
-S'id'
-p27
+g29
ssS'created_on'
-p28
-(dp29
+p37
+(dp38
g4
I8
sg5
S'DATETIME'
-p30
+p39
sg7
I255
sg8
@@ -106,44 +128,45 @@
I00
sg10
S'datetime'
-p31
-ssS'slug'
-p32
-(dp33
+p40
+ssS'id'
+p41
+(dp42
g4
-I2
+I1
sg5
-S'VARCHAR(255) UNIQUE'
-p34
+S'INT AUTO_INCREMENT NOT NULL'
+p43
sg7
I255
sg8
I00
sg9
-I01
+I00
sg10
-g19
+S'id'
+p44
ssS'image_filename'
-p35
-(dp36
-S'length'
-p37
-I255
-sS'unique'
-p38
-I00
-sS'sortable'
-p39
+p45
+(dp46
+S'sortable'
+p47
I4
sS'sql'
-p40
+p48
S'VARCHAR(255)'
-p41
+p49
+sS'length'
+p50
+I255
sS'notnull'
-p42
+p51
I00
+sS'unique'
+p52
+I00
sS'type'
-p43
+p53
S'string'
-p44
+p54
ss.
\ No newline at end of file
Modified: trunk/web2py/applications/helyesiras_webdev/databases/sql.log
===================================================================
--- trunk/web2py/applications/helyesiras_webdev/databases/sql.log 2013-09-24 13:47:29 UTC (rev 950)
+++ trunk/web2py/applications/helyesiras_webdev/databases/sql.log 2013-09-24 14:20:02 UTC (rev 951)
@@ -108,3 +108,6 @@
timestamp: 2013-09-10T18:17:08.070111
ALTER TABLE posts DROP COLUMN image_url;
success!
+timestamp: 2013-09-24T15:50:40.541866
+ALTER TABLE posts ADD author VARCHAR(255);
+success!
Modified: trunk/web2py/applications/helyesiras_webdev/databases/storage.sqlite
===================================================================
(Binary files differ)
Modified: trunk/web2py/applications/helyesiras_webdev/models/db.py
===================================================================
--- trunk/web2py/applications/helyesiras_webdev/models/db.py 2013-09-24 13:47:29 UTC (rev 950)
+++ trunk/web2py/applications/helyesiras_webdev/models/db.py 2013-09-24 14:20:02 UTC (rev 951)
@@ -53,7 +53,7 @@
auth.settings.reset_password_requires_verification = True
# disable registration (MM)
-auth.settings.actions_disabled.append('register')
+# auth.settings.actions_disabled.append('register')
## if you need to use OpenID, Facebook, MySpace, Twitter, Linkedin, etc.
## register with janrain.com, write your domain:api_key in private/janrain.key
@@ -80,4 +80,3 @@
# Note by MM: all user databases are defined in separate files in the models directory: models/db*.py
-
Modified: trunk/web2py/applications/helyesiras_webdev/progress.log
===================================================================
--- trunk/web2py/applications/helyesiras_webdev/progress.log 2013-09-24 13:47:29 UTC (rev 950)
+++ trunk/web2py/applications/helyesiras_webdev/progress.log 2013-09-24 14:20:02 UTC (rev 951)
@@ -832,3 +832,18 @@
[2013-09-18 10:30:11] EDIT helyesiras_webdev/static/css/main.css: 2
[2013-09-18 11:06:54] EDIT helyesiras_webdev/static/widget/widget1.html: -1
[2013-09-18 12:16:12] EDIT helyesiras_webdev/views/blog/show.html: 13
+[2013-09-24 15:54:33] EDIT helyesiras_webdev/models/db.py: -1
+[2013-09-24 15:59:57] EDIT helyesiras_webdev/views/blog/manage.html: 1
+[2013-09-24 16:00:06] EDIT helyesiras_webdev/views/blog/manage.html: 0
+[2013-09-24 16:00:57] EDIT helyesiras_webdev/views/blog/manage.html: 1
+[2013-09-24 16:01:22] EDIT helyesiras_webdev/views/blog/manage.html: 0
+[2013-09-24 16:01:45] EDIT helyesiras_webdev/views/blog/manage.html: 0
+[2013-09-24 16:02:57] EDIT helyesiras_webdev/views/blog/manage.html: 0
+[2013-09-24 16:03:10] EDIT helyesiras_webdev/views/blog/manage.html: 0
+[2013-09-24 16:05:45] EDIT helyesiras_webdev/views/blog/manage.html: 0
+[2013-09-24 16:11:30] EDIT helyesiras_webdev/views/blog/manage.html: 1
+[2013-09-24 16:12:01] EDIT helyesiras_webdev/views/blog/manage.html: 0
+[2013-09-24 16:12:17] EDIT helyesiras_webdev/views/blog/manage.html: 0
+[2013-09-24 16:14:37] EDIT helyesiras_webdev/views/blog/manage.html: 0
+[2013-09-24 16:15:11] EDIT helyesiras_webdev/views/blog/manage.html: -1
+[2013-09-24 16:16:00] EDIT helyesiras_webdev/views/blog/manage.html: 0
Modified: trunk/web2py/applications/helyesiras_webdev/views/blog/manage.html
===================================================================
--- trunk/web2py/applications/helyesiras_webdev/views/blog/manage.html 2013-09-24 13:47:29 UTC (rev 950)
+++ trunk/web2py/applications/helyesiras_webdev/views/blog/manage.html 2013-09-24 14:20:02 UTC (rev 951)
@@ -1,13 +1,14 @@
{{extend 'layout.html'}}
<div id="blog_manage">
-
+
{{if len(request.args) == 0 or request.args[0] == 'posts':}}
<h1>Blogbejegyzések szerkesztése</h1>
<div>
<a href="{{=URL(c='blog', f='index')}}" target="_blank">Blog megnyitása új ablakban</a> |
- <a href="{{=URL('blog', 'manage', args=['categories'])}}">Kategóriák szerkesztése >></a>
+ <a href="{{=URL('blog', 'manage', args=['categories'])}}">Kategóriák szerkesztése >></a> |
+ <a href="{{=URL('default', 'user', args=['logout'])}}">Kijelentkezés</a> ({{=auth.user.first_name}})
</div>
{{elif len(request.args) > 0 and request.args[0] == 'categories':}}
@@ -15,12 +16,12 @@
<h1>Kategóriák szerkesztése</h1>
<div>
<a href="{{=URL(c='blog', f='index')}}" target="_blank">Blog megnyitása új ablakban</a> |
- <a href="{{=URL('blog', 'manage', args=['posts'])}}">Bejegyzések szerkesztése >></a>
- </div>
+ <a href="{{=URL('blog', 'manage', args=['posts'])}}">Bejegyzések szerkesztése >></a> |
+ <a href="{{=URL('default', 'user', args=['logout'])}}">Kijelentkezés</a> ({{=auth.user.first_name}})
+ </div>
{{pass}}
{{=grid}}
</div>
-
More information about the Hejes-devel
mailing list