bivouac 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README +15 -0
- data/bin/bivouac +5 -10
- data/doc/rdoc/classes/BivouacHelpers/HtmlView.html +46 -37
- data/doc/rdoc/classes/BivouacHelpers/ScriptAculoUsView.html +27 -20
- data/doc/rdoc/created.rid +1 -1
- data/doc/rdoc/files/README.html +45 -1
- data/doc/rdoc/files/lib/bivouac/helpers/view/goh/html_rb.html +1 -1
- data/doc/rdoc/files/lib/bivouac/helpers/view/goh/javascript_rb.html +1 -1
- data/doc/rdoc/files/lib/bivouac/helpers/view/goh/scriptaculous_rb.html +1 -1
- data/examples/bivouac_sample/Rakefile +0 -0
- data/examples/bivouac_sample/app/controllers/toggle_sortable.rb +2 -1
- data/examples/bivouac_sample/app/views/_sortable_result.rb +1 -1
- data/examples/bivouac_sample/script/console +0 -0
- data/examples/bivouac_sample/script/generate +0 -0
- data/examples/bivouac_sample/script/plugin +0 -0
- data/examples/bivouac_sample/script/server +0 -0
- data/examples/blog/Rakefile +56 -0
- data/examples/blog/app/blog.rb +107 -0
- data/examples/blog/app/controllers/comment.rb +17 -0
- data/examples/blog/app/controllers/index.rb +15 -0
- data/examples/blog/app/controllers/login.rb +33 -0
- data/examples/blog/app/controllers/logout.rb +15 -0
- data/examples/blog/app/controllers/not_found.rb +14 -0
- data/examples/blog/app/controllers/post.rb +48 -0
- data/examples/blog/app/helpers/_helpers.rb +30 -0
- data/examples/blog/app/helpers/blog.rb +14 -0
- data/examples/blog/app/models/comment.rb +18 -0
- data/examples/blog/app/models/post.rb +19 -0
- data/examples/blog/app/models/user.rb +12 -0
- data/examples/blog/app/views/_partials.rb +81 -0
- data/examples/blog/app/views/index/index.rb +23 -0
- data/examples/blog/app/views/layouts/default_layout.rb +40 -0
- data/examples/blog/app/views/login/login.rb +27 -0
- data/examples/blog/app/views/not_found.rb +13 -0
- data/examples/blog/app/views/post/add.rb +12 -0
- data/examples/blog/app/views/post/edit.rb +12 -0
- data/examples/blog/app/views/post/view.rb +14 -0
- data/examples/blog/config/console.rc +12 -0
- data/examples/blog/config/database.yml +3 -0
- data/examples/blog/config/environment.rb +58 -0
- data/examples/blog/db/blog.db +0 -0
- data/examples/blog/db/create.rb +11 -0
- data/examples/blog/db/migrate/001_users.rb +22 -0
- data/examples/blog/db/migrate/002_posts.rb +24 -0
- data/examples/blog/db/migrate/003_comments.rb +24 -0
- data/examples/blog/log/Blog.log +382 -0
- data/examples/{blog_goh → blog}/public/images/camping.png +0 -0
- data/examples/{blog_goh → blog}/public/index.html +3 -2
- data/examples/blog/public/javascripts/builder.js +136 -0
- data/examples/blog/public/javascripts/controls.js +965 -0
- data/examples/blog/public/javascripts/dragdrop.js +974 -0
- data/examples/blog/public/javascripts/effects.js +1122 -0
- data/examples/blog/public/javascripts/prototype.js +4320 -0
- data/examples/blog/public/javascripts/scriptaculous.js +58 -0
- data/examples/blog/public/javascripts/slider.js +275 -0
- data/examples/blog/public/javascripts/sound.js +55 -0
- data/examples/blog/public/javascripts/unittest.js +568 -0
- data/examples/blog/public/stylesheets/autocomplete.css +22 -0
- data/examples/blog/public/stylesheets/blog.css +107 -0
- data/examples/blog/script/console +12 -0
- data/examples/blog/script/generate +17 -0
- data/examples/blog/script/plugin +16 -0
- data/examples/blog/script/server +135 -0
- data/examples/blog/test/test_comment.rb +22 -0
- data/examples/blog/test/test_index.rb +22 -0
- data/examples/blog/test/test_login.rb +22 -0
- data/examples/blog/test/test_logout.rb +18 -0
- data/examples/blog/test/test_post.rb +30 -0
- data/examples/blog/test/test_post_new.rb +22 -0
- data/lib/bivouac.rb +2 -2
- data/lib/bivouac/commands/generate.rb +48 -8
- data/lib/bivouac/commands/plugin.rb +30 -15
- data/lib/bivouac/ext/filtering_camping.rb +46 -0
- data/lib/bivouac/helpers/view/goh/html.rb +9 -0
- data/lib/bivouac/helpers/view/goh/scriptaculous.rb +12 -8
- data/lib/bivouac/tasks/bivouac.rb +1 -0
- data/lib/bivouac/tasks/framework.rake +8 -8
- data/lib/bivouac/tasks/plugins.rake +17 -1
- data/lib/bivouac/template.rb +0 -0
- data/lib/bivouac/template/{application_goh.rb → application.rb} +36 -12
- data/lib/bivouac/template/application/{helpers_goh.rb → helpers.rb} +1 -1
- data/lib/bivouac/template/console.rb +2 -4
- data/lib/bivouac/template/environment.rb +1 -1
- data/lib/bivouac/template/generate.rb +0 -0
- data/lib/bivouac/template/generate/create.rb +0 -0
- data/lib/bivouac/template/generate/helper.rb +12 -0
- data/lib/bivouac/template/generate/migrate.rb +0 -0
- data/lib/bivouac/template/generate/migrate_end.rb +1 -0
- data/lib/bivouac/template/plugin.rb +6 -1
- data/lib/bivouac/template/server.rb +124 -3
- data/lib/bivouac/template/static/builder.js +19 -19
- data/lib/bivouac/template/static/controls.js +74 -74
- data/lib/bivouac/template/static/dragdrop.js +167 -166
- data/lib/bivouac/template/static/effects.js +171 -163
- data/lib/bivouac/template/static/not_found_controller.rb +8 -4
- data/lib/bivouac/template/static/prototype.js +218 -119
- data/lib/bivouac/template/static/scriptaculous.js +22 -20
- data/lib/bivouac/template/static/slider.js +39 -39
- data/lib/bivouac/template/static/sound.js +11 -11
- data/lib/bivouac/template/static/unittest.js +16 -16
- metadata +96 -60
- data/examples/blog_goh/app/blog.rb +0 -72
- data/examples/blog_goh/app/controllers/add.rb +0 -19
- data/examples/blog_goh/app/controllers/comment.rb +0 -9
- data/examples/blog_goh/app/controllers/edit.rb +0 -18
- data/examples/blog_goh/app/controllers/index.rb +0 -8
- data/examples/blog_goh/app/controllers/info.rb +0 -11
- data/examples/blog_goh/app/controllers/login.rb +0 -15
- data/examples/blog_goh/app/controllers/logout.rb +0 -8
- data/examples/blog_goh/app/controllers/view.rb +0 -9
- data/examples/blog_goh/app/models/comment.rb +0 -5
- data/examples/blog_goh/app/models/post.rb +0 -5
- data/examples/blog_goh/app/models/user.rb +0 -4
- data/examples/blog_goh/app/views/_form.rb +0 -16
- data/examples/blog_goh/app/views/_login.rb +0 -13
- data/examples/blog_goh/app/views/_post.rb +0 -9
- data/examples/blog_goh/app/views/add.rb +0 -9
- data/examples/blog_goh/app/views/edit.rb +0 -9
- data/examples/blog_goh/app/views/index.rb +0 -12
- data/examples/blog_goh/app/views/layout.rb +0 -18
- data/examples/blog_goh/app/views/login.rb +0 -6
- data/examples/blog_goh/app/views/logout.rb +0 -6
- data/examples/blog_goh/app/views/view.rb +0 -20
- data/examples/blog_goh/config/environment.rb +0 -27
- data/examples/blog_goh/db/Blog.db +0 -0
- data/examples/blog_goh/db/create.rb +0 -8
- data/examples/blog_goh/db/migrate/comment.rb +0 -15
- data/examples/blog_goh/db/migrate/post.rb +0 -15
- data/examples/blog_goh/db/migrate/user.rb +0 -15
- data/examples/blog_goh/log/Blog.log +0 -75
- data/examples/blog_goh/public/stylesheets/style.css +0 -10
- data/examples/blog_goh/script/generate +0 -3
- data/examples/blog_goh/script/server +0 -5
- data/lib/bivouac/template/application/postamble.rb +0 -195
- data/lib/camping/cookies_sessions.rb +0 -39
@@ -0,0 +1,12 @@
|
|
1
|
+
#
|
2
|
+
# Project Blog
|
3
|
+
#
|
4
|
+
# Created using bivouac on Thu Nov 13 11:58:26 +0100 2008.
|
5
|
+
# Copyright (c) 2008 __My__. All rights reserved.
|
6
|
+
#
|
7
|
+
|
8
|
+
IRB.conf[:PROMPT_MODE] = :SIMPLE
|
9
|
+
IRB.conf[:AUTO_INDENT] = true
|
10
|
+
|
11
|
+
## DO NOT REMOVE OR CHANGE LINES BELLOW
|
12
|
+
include Blog::Models
|
@@ -0,0 +1,58 @@
|
|
1
|
+
#
|
2
|
+
# Project Blog
|
3
|
+
#
|
4
|
+
# Created using bivouac on Thu Nov 13 11:58:29 +0100 2008.
|
5
|
+
# Copyright (c) 2008 __My__. All rights reserved.
|
6
|
+
#
|
7
|
+
|
8
|
+
require 'ostruct'
|
9
|
+
require 'yaml'
|
10
|
+
|
11
|
+
module Bivouac
|
12
|
+
class Environment
|
13
|
+
|
14
|
+
attr_reader :environment
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@environment = OpenStruct.new(
|
18
|
+
# Address to bind to
|
19
|
+
:host => "0.0.0.0",
|
20
|
+
|
21
|
+
# Application port
|
22
|
+
:port => 3301,
|
23
|
+
|
24
|
+
# To force using a specific server, uncomment the line below
|
25
|
+
# You can use "mongrel", "thin" or "webrick"
|
26
|
+
#:server_force => "mongrel",
|
27
|
+
|
28
|
+
# Database configuration
|
29
|
+
# DO NOT CHANGE IT, OR YOU REALLY KNOW WHAT YOU ARE DOING!
|
30
|
+
:db => open("#{File.dirname( __FILE__ )}/database.yml") {|f| YAML.load(f)},
|
31
|
+
|
32
|
+
# Name of the application
|
33
|
+
# DO NOT CHANGE IT, OR YOU REALLY KNOW WHAT YOU ARE DOING!
|
34
|
+
:appname => "Blog",
|
35
|
+
|
36
|
+
# Path of the application
|
37
|
+
# DO NOT CHANGE IT, OR YOU REALLY KNOW WHAT YOU ARE DOING!
|
38
|
+
:appdir => "blog",
|
39
|
+
|
40
|
+
# File of the application
|
41
|
+
# DO NOT CHANGE IT, OR YOU REALLY KNOW WHAT YOU ARE DOING!
|
42
|
+
:appfile => "blog",
|
43
|
+
|
44
|
+
# Organisation type of the application
|
45
|
+
# DO NOT CHANGE IT, OR YOU REALLY KNOW WHAT YOU ARE DOING!
|
46
|
+
:orgtype => "GOH",
|
47
|
+
|
48
|
+
# Session type
|
49
|
+
# DO NOT CHANGE IT, OR YOU REALLY KNOW WHAT YOU ARE DOING!
|
50
|
+
:session => "cookie",
|
51
|
+
|
52
|
+
# Session type
|
53
|
+
# DO NOT CHANGE IT, OR YOU REALLY KNOW WHAT YOU ARE DOING!
|
54
|
+
:versions => {:configs => "0.4.0", :public => "0.4.0", :app => "0.4.0", :scripts => "0.4.0"}
|
55
|
+
)
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
Binary file
|
@@ -0,0 +1,22 @@
|
|
1
|
+
#
|
2
|
+
# Project Blog
|
3
|
+
#
|
4
|
+
# Created using bivouac on Thu Nov 13 11:30:34 +0100 2008.
|
5
|
+
# Copyright (c) 2008 __My__. All rights reserved.
|
6
|
+
#
|
7
|
+
|
8
|
+
module Blog::Models
|
9
|
+
class CreateUser < V 1.0
|
10
|
+
def self.up
|
11
|
+
create_table :blog_users do |t|
|
12
|
+
t.string :username
|
13
|
+
t.string :password
|
14
|
+
t.timestamps
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
def self.down
|
19
|
+
drop_table :blog_users
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
#
|
2
|
+
# Project Blog
|
3
|
+
#
|
4
|
+
# Created using bivouac on Thu Nov 13 11:51:36 +0100 2008.
|
5
|
+
# Copyright (c) 2008 __My__. All rights reserved.
|
6
|
+
#
|
7
|
+
|
8
|
+
module Blog::Models
|
9
|
+
class CreatePost < V 1.0
|
10
|
+
def self.up
|
11
|
+
create_table :blog_posts do |t|
|
12
|
+
t.integer :user_id
|
13
|
+
t.string :title
|
14
|
+
t.text :body
|
15
|
+
t.text :html_body
|
16
|
+
t.timestamps
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
def self.down
|
21
|
+
drop_table :blog_posts
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
#
|
2
|
+
# Project Blog
|
3
|
+
#
|
4
|
+
# Created using bivouac on Thu Nov 13 11:52:56 +0100 2008.
|
5
|
+
# Copyright (c) 2008 __My__. All rights reserved.
|
6
|
+
#
|
7
|
+
|
8
|
+
module Blog::Models
|
9
|
+
class CreateComment < V 1.0
|
10
|
+
def self.up
|
11
|
+
create_table :blog_comments do |t|
|
12
|
+
t.integer :post_id
|
13
|
+
t.string :username
|
14
|
+
t.text :body
|
15
|
+
t.text :html_body
|
16
|
+
t.timestamps
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
def self.down
|
21
|
+
drop_table :blog_comments
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,382 @@
|
|
1
|
+
# Logfile created on Thu Nov 13 11:58:53 +0100 2008 by /
|
2
|
+
[4;36;1mSQL (0.000675)[0m [0;1m SELECT name
|
3
|
+
FROM sqlite_master
|
4
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
5
|
+
[0m
|
6
|
+
[4;35;1mBlog::Models::SchemaInfo Load (0.000172)[0m [0mSELECT * FROM "blog_schema_infos" LIMIT 1[0m
|
7
|
+
[4;36;1mSQL (0.000771)[0m [0;1m SELECT name
|
8
|
+
FROM sqlite_master
|
9
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
10
|
+
[0m
|
11
|
+
[4;35;1mBlog::Models::SchemaInfo Load (0.000258)[0m [0mSELECT * FROM "blog_schema_infos" LIMIT 1[0m
|
12
|
+
[4;36;1mSQL (0.000675)[0m [0;1m SELECT name
|
13
|
+
FROM sqlite_master
|
14
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
15
|
+
[0m
|
16
|
+
[4;35;1mBlog::Models::SchemaInfo Load (0.000192)[0m [0mSELECT * FROM "blog_schema_infos" LIMIT 1[0m
|
17
|
+
[4;36;1mBlog::Models::Post Load (0.001018)[0m [0;1mSELECT * FROM "blog_posts" ORDER BY updated_at DESC[0m
|
18
|
+
[4;36;1mSQL (0.000709)[0m [0;1m SELECT name
|
19
|
+
FROM sqlite_master
|
20
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
21
|
+
[0m
|
22
|
+
[4;35;1mBlog::Models::SchemaInfo Load (0.000187)[0m [0mSELECT * FROM "blog_schema_infos" LIMIT 1[0m
|
23
|
+
[4;36;1mBlog::Models::Post Load (0.000846)[0m [0;1mSELECT * FROM "blog_posts" ORDER BY updated_at DESC[0m
|
24
|
+
[4;36;1mSQL (0.000699)[0m [0;1m SELECT name
|
25
|
+
FROM sqlite_master
|
26
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
27
|
+
[0m
|
28
|
+
[4;35;1mBlog::Models::SchemaInfo Load (0.000244)[0m [0mSELECT * FROM "blog_schema_infos" LIMIT 1[0m
|
29
|
+
[4;36;1mSQL (0.000685)[0m [0;1m SELECT name
|
30
|
+
FROM sqlite_master
|
31
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
32
|
+
[0m
|
33
|
+
[4;35;1mBlog::Models::SchemaInfo Load (0.000179)[0m [0mSELECT * FROM "blog_schema_infos" LIMIT 1[0m
|
34
|
+
[4;36;1mSQL (0.000874)[0m [0;1m SELECT name
|
35
|
+
FROM sqlite_master
|
36
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
37
|
+
[0m
|
38
|
+
[4;35;1mBlog::Models::SchemaInfo Load (0.000241)[0m [0mSELECT * FROM "blog_schema_infos" LIMIT 1[0m
|
39
|
+
[4;36;1mSQL (0.000673)[0m [0;1m SELECT name
|
40
|
+
FROM sqlite_master
|
41
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
42
|
+
[0m
|
43
|
+
[4;35;1mBlog::Models::SchemaInfo Load (0.000177)[0m [0mSELECT * FROM "blog_schema_infos" LIMIT 1[0m
|
44
|
+
[4;36;1mSQL (0.000879)[0m [0;1m SELECT name
|
45
|
+
FROM sqlite_master
|
46
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
47
|
+
[0m
|
48
|
+
[4;35;1mBlog::Models::SchemaInfo Load (0.000262)[0m [0mSELECT * FROM "blog_schema_infos" LIMIT 1[0m
|
49
|
+
[4;36;1mBlog::Models::Post Load (0.000987)[0m [0;1mSELECT * FROM "blog_posts" ORDER BY updated_at DESC[0m
|
50
|
+
[4;36;1mSQL (0.001159)[0m [0;1m SELECT name
|
51
|
+
FROM sqlite_master
|
52
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
53
|
+
[0m
|
54
|
+
[4;35;1mBlog::Models::SchemaInfo Load (0.000212)[0m [0mSELECT * FROM "blog_schema_infos" LIMIT 1[0m
|
55
|
+
[4;36;1mBlog::Models::User Load (0.000223)[0m [0;1mSELECT * FROM "blog_users" WHERE ("blog_users"."username" = '' AND "blog_users"."password" = '') LIMIT 1[0m
|
56
|
+
[4;36;1mSQL (0.000705)[0m [0;1m SELECT name
|
57
|
+
FROM sqlite_master
|
58
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
59
|
+
[0m
|
60
|
+
[4;35;1mBlog::Models::SchemaInfo Load (0.000195)[0m [0mSELECT * FROM "blog_schema_infos" LIMIT 1[0m
|
61
|
+
[4;36;1mBlog::Models::User Load (0.000291)[0m [0;1mSELECT * FROM "blog_users" [0m
|
62
|
+
[4;35;1mBlog::Models::User Create (0.000692)[0m [0mINSERT INTO "blog_users" ("updated_at", "username", "password", "created_at") VALUES('2008-11-13 12:59:31', 'greg', 'pipo', '2008-11-13 12:59:31')[0m
|
63
|
+
[4;36;1mBlog::Models::User Load (0.000493)[0m [0;1mSELECT * FROM "blog_users" [0m
|
64
|
+
[4;36;1mSQL (0.000682)[0m [0;1m SELECT name
|
65
|
+
FROM sqlite_master
|
66
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
67
|
+
[0m
|
68
|
+
[4;35;1mBlog::Models::SchemaInfo Load (0.000173)[0m [0mSELECT * FROM "blog_schema_infos" LIMIT 1[0m
|
69
|
+
[4;36;1mBlog::Models::User Load (0.000381)[0m [0;1mSELECT * FROM "blog_users" WHERE ("blog_users"."username" = 'greg' AND "blog_users"."password" = 'pipo') LIMIT 1[0m
|
70
|
+
[4;35;1mBlog::Models::Post Load (0.000789)[0m [0mSELECT * FROM "blog_posts" ORDER BY updated_at DESC[0m
|
71
|
+
[4;36;1mBlog::Models::Post Create (0.000694)[0m [0;1mINSERT INTO "blog_posts" ("html_body", "updated_at", "title", "body", "user_id", "created_at") VALUES('<p>Hello world !</p>', '2008-11-13 13:00:10', 'Welcome to my blog', 'Hello world !', 1, '2008-11-13 13:00:10')[0m
|
72
|
+
[4;35;1mBlog::Models::Post Load (0.001048)[0m [0mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 1) [0m
|
73
|
+
[4;36;1mBlog::Models::User Load (0.000384)[0m [0;1mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
74
|
+
[4;35;1mBlog::Models::Post Load (0.000462)[0m [0mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 1) [0m
|
75
|
+
[4;36;1mBlog::Models::User Load (0.000327)[0m [0;1mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
76
|
+
[4;35;1mBlog::Models::Post Load (0.000362)[0m [0mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 1) [0m
|
77
|
+
[4;36;1mBlog::Models::Post Load (0.000359)[0m [0;1mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 1) [0m
|
78
|
+
[4;35;1mBlog::Models::Post Load (0.000381)[0m [0mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 1) [0m
|
79
|
+
[4;36;1mBlog::Models::User Load (0.000241)[0m [0;1mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
80
|
+
[4;35;1mBlog::Models::Post Create (0.000499)[0m [0mINSERT INTO "blog_posts" ("html_body", "updated_at", "title", "body", "user_id", "created_at") VALUES('<p>And i can <strong>use</strong> <em>RedCloth</em></p>
|
81
|
+
<p>To write to my post</p>', '2008-11-13 13:00:57', 'This is my seconde post', 'And i can *use* _RedCloth_
|
82
|
+
|
83
|
+
To write to my post', 1, '2008-11-13 13:00:57')[0m
|
84
|
+
[4;36;1mBlog::Models::Post Load (0.000694)[0m [0;1mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 2) [0m
|
85
|
+
[4;35;1mBlog::Models::User Load (0.000308)[0m [0mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
86
|
+
[4;36;1mBlog::Models::Post Load (0.001103)[0m [0;1mSELECT * FROM "blog_posts" ORDER BY updated_at DESC[0m
|
87
|
+
[4;35;1mBlog::Models::User Load (0.000306)[0m [0mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
88
|
+
[4;36;1mBlog::Models::User Load (0.000248)[0m [0;1mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
89
|
+
[4;35;1mBlog::Models::Post Load (0.001003)[0m [0mSELECT * FROM "blog_posts" ORDER BY updated_at DESC[0m
|
90
|
+
[4;36;1mBlog::Models::User Load (0.000274)[0m [0;1mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
91
|
+
[4;35;1mBlog::Models::User Load (0.000244)[0m [0mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
92
|
+
[4;36;1mBlog::Models::Post Load (0.000375)[0m [0;1mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 2) [0m
|
93
|
+
[4;35;1mBlog::Models::User Load (0.000252)[0m [0mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
94
|
+
[4;36;1mSQL (0.000687)[0m [0;1m SELECT name
|
95
|
+
FROM sqlite_master
|
96
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
97
|
+
[0m
|
98
|
+
[4;35;1mBlog::Models::SchemaInfo Load (0.000490)[0m [0mSELECT * FROM "blog_schema_infos" LIMIT 1[0m
|
99
|
+
[4;36;1mBlog::Models::Post Load (0.074799)[0m [0;1mSELECT * FROM "blog_posts" ORDER BY updated_at DESC[0m
|
100
|
+
[4;35;1mBlog::Models::User Load (0.000444)[0m [0mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
101
|
+
[4;36;1mBlog::Models::User Load (0.000380)[0m [0;1mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
102
|
+
[4;36;1mSQL (0.000386)[0m [0;1m SELECT name
|
103
|
+
FROM sqlite_master
|
104
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
105
|
+
[0m
|
106
|
+
[4;35;1mSQL (0.000188)[0m [0mselect sqlite_version(*)[0m
|
107
|
+
[4;36;1mSQL (0.002256)[0m [0;1mCREATE TABLE "blog_schema_infos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version" float) [0m
|
108
|
+
[4;35;1mBlog::Models::SchemaInfo Load (0.000239)[0m [0mSELECT * FROM "blog_schema_infos" LIMIT 1[0m
|
109
|
+
[4;36;1mSQL (0.001856)[0m [0;1mCREATE TABLE "blog_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
110
|
+
[4;35;1mSQL (0.003895)[0m [0mCREATE TABLE "blog_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "body" text, "html_body" text, "created_at" datetime, "updated_at" datetime) [0m
|
111
|
+
[4;36;1mSQL (0.003146)[0m [0;1mCREATE TABLE "blog_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "username" varchar(255), "body" text, "html_body" text, "created_at" datetime, "updated_at" datetime) [0m
|
112
|
+
[4;35;1mBlog::Models::SchemaInfo Create (0.000550)[0m [0mINSERT INTO "blog_schema_infos" ("version") VALUES(1.0)[0m
|
113
|
+
[4;36;1mSQL (0.000721)[0m [0;1m SELECT name
|
114
|
+
FROM sqlite_master
|
115
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
116
|
+
[0m
|
117
|
+
[4;35;1mBlog::Models::SchemaInfo Load (0.000221)[0m [0mSELECT * FROM "blog_schema_infos" LIMIT 1[0m
|
118
|
+
[4;36;1mBlog::Models::User Create (0.001171)[0m [0;1mINSERT INTO "blog_users" ("updated_at", "username", "password", "created_at") VALUES('2008-11-13 14:24:35', 'greg', 'toto', '2008-11-13 14:24:35')[0m
|
119
|
+
[4;36;1mSQL (0.000685)[0m [0;1m SELECT name
|
120
|
+
FROM sqlite_master
|
121
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
122
|
+
[0m
|
123
|
+
[4;35;1mBlog::Models::SchemaInfo Load (0.000241)[0m [0mSELECT * FROM "blog_schema_infos" LIMIT 1[0m
|
124
|
+
[4;36;1mBlog::Models::Post Load (0.001902)[0m [0;1mSELECT * FROM "blog_posts" ORDER BY updated_at DESC[0m
|
125
|
+
[4;35;1mBlog::Models::User Load (0.000222)[0m [0mSELECT * FROM "blog_users" WHERE ("blog_users"."username" = 'greg' AND "blog_users"."password" = 'pipo') LIMIT 1[0m
|
126
|
+
[4;36;1mBlog::Models::User Load (0.000342)[0m [0;1mSELECT * FROM "blog_users" WHERE ("blog_users"."username" = 'greg' AND "blog_users"."password" = 'pipo') LIMIT 1[0m
|
127
|
+
[4;36;1mSQL (0.000699)[0m [0;1m SELECT name
|
128
|
+
FROM sqlite_master
|
129
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
130
|
+
[0m
|
131
|
+
[4;35;1mBlog::Models::SchemaInfo Load (0.000238)[0m [0mSELECT * FROM "blog_schema_infos" LIMIT 1[0m
|
132
|
+
[4;36;1mBlog::Models::User Load (0.000563)[0m [0;1mSELECT * FROM "blog_users" [0m
|
133
|
+
[4;36;1mSQL (0.000709)[0m [0;1m SELECT name
|
134
|
+
FROM sqlite_master
|
135
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
136
|
+
[0m
|
137
|
+
[4;35;1mBlog::Models::SchemaInfo Load (0.000174)[0m [0mSELECT * FROM "blog_schema_infos" LIMIT 1[0m
|
138
|
+
[4;36;1mBlog::Models::User Load (0.000371)[0m [0;1mSELECT * FROM "blog_users" WHERE ("blog_users"."username" = 'greg' AND "blog_users"."password" = 'toto') LIMIT 1[0m
|
139
|
+
[4;35;1mBlog::Models::Post Load (0.000871)[0m [0mSELECT * FROM "blog_posts" ORDER BY updated_at DESC[0m
|
140
|
+
[4;36;1mBlog::Models::Post Create (0.000701)[0m [0;1mINSERT INTO "blog_posts" ("html_body", "updated_at", "title", "body", "user_id", "created_at") VALUES('<p>Premier port</p>', '2008-11-13 14:25:45', 'Test', 'Premier port', 1, '2008-11-13 14:25:45')[0m
|
141
|
+
[4;35;1mBlog::Models::Post Load (0.000414)[0m [0mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 1) [0m
|
142
|
+
[4;36;1mBlog::Models::User Load (0.000274)[0m [0;1mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
143
|
+
[4;35;1mBlog::Models::Post Load (0.000444)[0m [0mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 1) [0m
|
144
|
+
[4;36;1mBlog::Models::User Load (0.000324)[0m [0;1mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
145
|
+
[4;35;1mBlog::Models::Post Load (0.000827)[0m [0mSELECT * FROM "blog_posts" ORDER BY updated_at DESC[0m
|
146
|
+
[4;36;1mBlog::Models::User Load (0.000280)[0m [0;1mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
147
|
+
[4;35;1mBlog::Models::Post Load (0.000398)[0m [0mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 1) [0m
|
148
|
+
[4;36;1mBlog::Models::User Load (0.000587)[0m [0;1mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
149
|
+
[4;36;1mSQL (0.000673)[0m [0;1m SELECT name
|
150
|
+
FROM sqlite_master
|
151
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
152
|
+
[0m
|
153
|
+
[4;35;1mBlog::Models::SchemaInfo Load (0.000217)[0m [0mSELECT * FROM "blog_schema_infos" LIMIT 1[0m
|
154
|
+
[4;36;1mBlog::Models::Post Load (0.000483)[0m [0;1mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 1) [0m
|
155
|
+
[4;35;1mBlog::Models::User Load (0.000349)[0m [0mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
156
|
+
[4;36;1mBlog::Models::Post Load (0.001089)[0m [0;1mSELECT * FROM "blog_posts" ORDER BY updated_at DESC[0m
|
157
|
+
[4;35;1mBlog::Models::User Load (0.000334)[0m [0mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
158
|
+
[4;36;1mBlog::Models::Post Load (0.000363)[0m [0;1mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 1) [0m
|
159
|
+
[4;35;1mBlog::Models::User Load (0.000259)[0m [0mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
160
|
+
[4;36;1mSQL (0.000734)[0m [0;1m SELECT name
|
161
|
+
FROM sqlite_master
|
162
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
163
|
+
[0m
|
164
|
+
[4;35;1mBlog::Models::SchemaInfo Load (0.000186)[0m [0mSELECT * FROM "blog_schema_infos" LIMIT 1[0m
|
165
|
+
[4;36;1mBlog::Models::Post Load (0.000338)[0m [0;1mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 1) [0m
|
166
|
+
[4;35;1mBlog::Models::User Load (0.000324)[0m [0mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
167
|
+
[4;36;1mSQL (0.000684)[0m [0;1m SELECT name
|
168
|
+
FROM sqlite_master
|
169
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
170
|
+
[0m
|
171
|
+
[4;35;1mBlog::Models::SchemaInfo Load (0.000218)[0m [0mSELECT * FROM "blog_schema_infos" LIMIT 1[0m
|
172
|
+
[4;36;1mBlog::Models::Post Load (0.001093)[0m [0;1mSELECT * FROM "blog_posts" ORDER BY updated_at DESC[0m
|
173
|
+
[4;35;1mBlog::Models::User Load (0.000374)[0m [0mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
174
|
+
[4;36;1mBlog::Models::Post Load (0.000365)[0m [0;1mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 1) [0m
|
175
|
+
[4;35;1mBlog::Models::User Load (0.000248)[0m [0mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
176
|
+
[4;36;1mSQL (0.000729)[0m [0;1m SELECT name
|
177
|
+
FROM sqlite_master
|
178
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
179
|
+
[0m
|
180
|
+
[4;35;1mBlog::Models::SchemaInfo Load (0.000217)[0m [0mSELECT * FROM "blog_schema_infos" LIMIT 1[0m
|
181
|
+
[4;36;1mBlog::Models::Comment Create (0.000664)[0m [0;1mINSERT INTO "blog_comments" ("html_body", "updated_at", "body", "post_id", "username", "created_at") VALUES('<p>This is my comment ;)</p>', '2008-11-13 14:33:05', 'This is my comment ;)', 1, 'Greg', '2008-11-13 14:33:05')[0m
|
182
|
+
[4;35;1mBlog::Models::Post Load (0.000447)[0m [0mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 1) [0m
|
183
|
+
[4;36;1mBlog::Models::User Load (0.000373)[0m [0;1mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
184
|
+
[4;35;1mBlog::Models::Post Load (0.000809)[0m [0mSELECT * FROM "blog_posts" ORDER BY updated_at DESC[0m
|
185
|
+
[4;36;1mBlog::Models::User Load (0.000299)[0m [0;1mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
186
|
+
[4;35;1mBlog::Models::Post Load (0.000367)[0m [0mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 1) [0m
|
187
|
+
[4;36;1mBlog::Models::User Load (0.000249)[0m [0;1mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
188
|
+
[4;35;1mBlog::Models::Comment Create (0.000514)[0m [0mINSERT INTO "blog_comments" ("html_body", "updated_at", "body", "post_id", "username", "created_at") VALUES('<p>This is a second comment for this post</p>', '2008-11-13 14:33:24', 'This is a second comment for this post', 1, 'Toto', '2008-11-13 14:33:24')[0m
|
189
|
+
[4;36;1mBlog::Models::Post Load (0.000519)[0m [0;1mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 1) [0m
|
190
|
+
[4;35;1mBlog::Models::User Load (0.000377)[0m [0mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
191
|
+
[4;36;1mSQL (0.000777)[0m [0;1m SELECT name
|
192
|
+
FROM sqlite_master
|
193
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
194
|
+
[0m
|
195
|
+
[4;35;1mBlog::Models::SchemaInfo Load (0.000283)[0m [0mSELECT * FROM "blog_schema_infos" LIMIT 1[0m
|
196
|
+
[4;36;1mBlog::Models::Comment Load (0.000776)[0m [0;1mSELECT * FROM "blog_comments" [0m
|
197
|
+
[4;36;1mSQL (0.000698)[0m [0;1m SELECT name
|
198
|
+
FROM sqlite_master
|
199
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
200
|
+
[0m
|
201
|
+
[4;35;1mBlog::Models::SchemaInfo Load (0.000250)[0m [0mSELECT * FROM "blog_schema_infos" LIMIT 1[0m
|
202
|
+
[4;36;1mBlog::Models::Post Load (0.000499)[0m [0;1mSELECT * FROM "blog_posts" [0m
|
203
|
+
[4;35;1mBlog::Models::Post Load (0.000486)[0m [0mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 1) [0m
|
204
|
+
[4;36;1mBlog::Models::Comment Load (0.000538)[0m [0;1mSELECT * FROM "blog_comments" WHERE ("blog_comments".post_id = 1) [0m
|
205
|
+
[4;36;1mSQL (0.000672)[0m [0;1m SELECT name
|
206
|
+
FROM sqlite_master
|
207
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
208
|
+
[0m
|
209
|
+
[4;35;1mBlog::Models::SchemaInfo Load (0.000218)[0m [0mSELECT * FROM "blog_schema_infos" LIMIT 1[0m
|
210
|
+
[4;36;1mBlog::Models::Post Load (0.001056)[0m [0;1mSELECT * FROM "blog_posts" ORDER BY updated_at DESC[0m
|
211
|
+
[4;35;1mBlog::Models::User Load (0.000350)[0m [0mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
212
|
+
[4;36;1mBlog::Models::Post Load (0.000441)[0m [0;1mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 1) [0m
|
213
|
+
[4;35;1mBlog::Models::User Load (0.000360)[0m [0mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
214
|
+
[4;36;1mBlog::Models::Comment Load (0.000483)[0m [0;1mSELECT * FROM "blog_comments" WHERE ("blog_comments".post_id = 1) [0m
|
215
|
+
[4;36;1mSQL (0.000813)[0m [0;1m SELECT name
|
216
|
+
FROM sqlite_master
|
217
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
218
|
+
[0m
|
219
|
+
[4;35;1mBlog::Models::SchemaInfo Load (0.000262)[0m [0mSELECT * FROM "blog_schema_infos" LIMIT 1[0m
|
220
|
+
[4;36;1mBlog::Models::Post Load (0.073465)[0m [0;1mSELECT * FROM "blog_posts" ORDER BY updated_at DESC[0m
|
221
|
+
[4;35;1mBlog::Models::User Load (0.000429)[0m [0mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
222
|
+
[4;36;1mBlog::Models::Post Load (0.000365)[0m [0;1mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 1) [0m
|
223
|
+
[4;35;1mBlog::Models::User Load (0.000263)[0m [0mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
224
|
+
[4;36;1mBlog::Models::Comment Load (0.000671)[0m [0;1mSELECT * FROM "blog_comments" WHERE ("blog_comments".post_id = 1) [0m
|
225
|
+
[4;35;1mBlog::Models::Post Load (0.000452)[0m [0mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 1) [0m
|
226
|
+
[4;36;1mBlog::Models::User Load (0.000342)[0m [0;1mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
227
|
+
[4;35;1mBlog::Models::Comment Load (0.000779)[0m [0mSELECT * FROM "blog_comments" WHERE ("blog_comments".post_id = 1) [0m
|
228
|
+
[4;36;1mBlog::Models::Post Load (0.000426)[0m [0;1mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 1) [0m
|
229
|
+
[4;35;1mBlog::Models::User Load (0.000256)[0m [0mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
230
|
+
[4;36;1mBlog::Models::Comment Load (0.000340)[0m [0;1mSELECT * FROM "blog_comments" WHERE ("blog_comments".post_id = 1) [0m
|
231
|
+
[4;36;1mSQL (0.000670)[0m [0;1m SELECT name
|
232
|
+
FROM sqlite_master
|
233
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
234
|
+
[0m
|
235
|
+
[4;35;1mBlog::Models::SchemaInfo Load (0.000176)[0m [0mSELECT * FROM "blog_schema_infos" LIMIT 1[0m
|
236
|
+
[4;36;1mBlog::Models::Post Load (0.000324)[0m [0;1mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 1) [0m
|
237
|
+
[4;35;1mBlog::Models::User Load (0.000296)[0m [0mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
238
|
+
[4;36;1mBlog::Models::Comment Load (0.000479)[0m [0;1mSELECT * FROM "blog_comments" WHERE ("blog_comments".post_id = 1) [0m
|
239
|
+
[4;35;1mBlog::Models::Post Load (0.001079)[0m [0mSELECT * FROM "blog_posts" ORDER BY updated_at DESC[0m
|
240
|
+
[4;36;1mBlog::Models::User Load (0.000586)[0m [0;1mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
241
|
+
[4;35;1mBlog::Models::Post Load (0.000865)[0m [0mSELECT * FROM "blog_posts" ORDER BY updated_at DESC[0m
|
242
|
+
[4;36;1mBlog::Models::User Load (0.000337)[0m [0;1mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
243
|
+
[4;35;1mBlog::Models::Post Create (0.000725)[0m [0mINSERT INTO "blog_posts" ("html_body", "updated_at", "title", "body", "user_id", "created_at") VALUES('<p>Pour d’obscures raisons que je n’expliquerai pas ici, je suis passé de Free à Orange et cela sans que mon salaire n’est été augmenté</p>
|
244
|
+
<p>J’ai fait mon abonnement chez orange le 28 août dernier, et grâce à la réactivité de France Télécom, je peux maintenant naviguer sur internet depuis le 22 septembre !!! Un mois (payé) pour activer le service, ils n’ont pas fini de m’entendre hurler ! Surtout que le “service technique” me soutenait mordicus que si cela ne fonctionnait pas, c’était à cause d’un problème chez moi et que “nous allons vous envoyer un technicien pour vérifier votre installation — cela fera 145 €, Monsieur, bonne journée de la part d’Orange et France Télécom !”</p>
|
245
|
+
<p>Le technicien finit enfin par arriver, tout cela pour me dire que “ha ben non, visiblement le problème vient de chez nous…” et il me rappelle 15 minutes après sont départ, depuis “le central” : “Désolé monsieur, nous avions inversé, en fait c’est le fil blanc sur le bouton blanc , et le fil rouge sur le bouton rouge… Cela doit fonctionner maintenant. Bonne journée de la part d’Orange et France Télécom !”. Et en effet, Ô miracle, je retrouve enfin internet !</p>
|
246
|
+
<p>Le temps de reprendre un mois d’arriéré de mail et autres news, je me dis ce matin “mais au fait, chez Orange, ils m’ont créé une adresse mail. Et si j’allais voir ce que cela donne ?”. Avant de poursuivre sachez que je n’ai jamais donné cette adresse à personne, que je ne l’ai jamais consulté, bref que je n’y ai jamais touché. Et bien, croyez-moi, c’est formidable internet avec Orange parce qu’après une semaine d’activation sans aucune utilisation de mon adresse mail @orange.fr, j’ai déjà 31 propositions pour acheter du viagra, des cartes de visite ou pour participer au débrouillage du compte bancaire d’un vieil Équatorien décédé dans un accident d’avion et dont la veuve ignore l’existence du compte garni de plusieurs milliards de tonnes de sucre (et oui, il était vraiment très vieux).</p>
|
247
|
+
<p>N’essayez pas de m’écrire @orange.fr, c’est une poubelle !</p>', '2008-11-13 14:55:36', 'Spammez moi avec Orange', 'Pour d’obscures raisons que je n’expliquerai pas ici, je suis passé de Free à Orange et cela sans que mon salaire n’est été augmenté
|
248
|
+
|
249
|
+
J’ai fait mon abonnement chez orange le 28 août dernier, et grâce à la réactivité de France Télécom, je peux maintenant naviguer sur internet depuis le 22 septembre !!! Un mois (payé) pour activer le service, ils n’ont pas fini de m’entendre hurler ! Surtout que le “service technique” me soutenait mordicus que si cela ne fonctionnait pas, c’était à cause d’un problème chez moi et que “nous allons vous envoyer un technicien pour vérifier votre installation — cela fera 145 €, Monsieur, bonne journée de la part d’Orange et France Télécom !”
|
250
|
+
|
251
|
+
Le technicien finit enfin par arriver, tout cela pour me dire que “ha ben non, visiblement le problème vient de chez nous…” et il me rappelle 15 minutes après sont départ, depuis “le central” : “Désolé monsieur, nous avions inversé, en fait c’est le fil blanc sur le bouton blanc , et le fil rouge sur le bouton rouge… Cela doit fonctionner maintenant. Bonne journée de la part d’Orange et France Télécom !”. Et en effet, Ô miracle, je retrouve enfin internet !
|
252
|
+
|
253
|
+
Le temps de reprendre un mois d’arriéré de mail et autres news, je me dis ce matin “mais au fait, chez Orange, ils m’ont créé une adresse mail. Et si j’allais voir ce que cela donne ?”. Avant de poursuivre sachez que je n’ai jamais donné cette adresse à personne, que je ne l’ai jamais consulté, bref que je n’y ai jamais touché. Et bien, croyez-moi, c’est formidable internet avec Orange parce qu’après une semaine d’activation sans aucune utilisation de mon adresse mail @orange.fr, j’ai déjà 31 propositions pour acheter du viagra, des cartes de visite ou pour participer au débrouillage du compte bancaire d’un vieil Équatorien décédé dans un accident d’avion et dont la veuve ignore l’existence du compte garni de plusieurs milliards de tonnes de sucre (et oui, il était vraiment très vieux).
|
254
|
+
|
255
|
+
N’essayez pas de m’écrire @orange.fr, c’est une poubelle !', 1, '2008-11-13 14:55:36')[0m
|
256
|
+
[4;36;1mBlog::Models::Post Load (0.000600)[0m [0;1mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 2) [0m
|
257
|
+
[4;35;1mBlog::Models::User Load (0.000408)[0m [0mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
258
|
+
[4;36;1mBlog::Models::Comment Load (0.000195)[0m [0;1mSELECT * FROM "blog_comments" WHERE ("blog_comments".post_id = 2) [0m
|
259
|
+
[4;35;1mBlog::Models::Post Load (0.001681)[0m [0mSELECT * FROM "blog_posts" ORDER BY updated_at DESC[0m
|
260
|
+
[4;36;1mBlog::Models::User Load (0.000383)[0m [0;1mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
261
|
+
[4;35;1mBlog::Models::User Load (0.000319)[0m [0mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
262
|
+
[4;36;1mBlog::Models::Post Load (0.000461)[0m [0;1mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 2) [0m
|
263
|
+
[4;35;1mBlog::Models::Post Load (0.000970)[0m [0mSELECT * FROM "blog_posts" ORDER BY updated_at DESC[0m
|
264
|
+
[4;36;1mBlog::Models::User Load (0.000327)[0m [0;1mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
265
|
+
[4;35;1mBlog::Models::User Load (0.000515)[0m [0mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
266
|
+
[4;36;1mBlog::Models::Post Load (0.000420)[0m [0;1mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 2) [0m
|
267
|
+
[4;35;1mBlog::Models::User Load (0.000250)[0m [0mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
268
|
+
[4;36;1mBlog::Models::Comment Load (0.000146)[0m [0;1mSELECT * FROM "blog_comments" WHERE ("blog_comments".post_id = 2) [0m
|
269
|
+
[4;35;1mBlog::Models::Comment Create (0.000691)[0m [0mINSERT INTO "blog_comments" ("html_body", "updated_at", "body", "post_id", "username", "created_at") VALUES('<p>Tu n’as plus qu’à te créer une adresse @hotmail ;)</p>', '2008-11-13 14:57:20', 'Tu n''as plus qu''à te créer une adresse @hotmail ;)', 2, 'Martin', '2008-11-13 14:57:20')[0m
|
270
|
+
[4;36;1mBlog::Models::Post Load (0.000477)[0m [0;1mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 2) [0m
|
271
|
+
[4;35;1mBlog::Models::User Load (0.000467)[0m [0mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
272
|
+
[4;36;1mBlog::Models::Comment Load (0.000372)[0m [0;1mSELECT * FROM "blog_comments" WHERE ("blog_comments".post_id = 2) [0m
|
273
|
+
[4;35;1mBlog::Models::Post Load (0.000394)[0m [0mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 2) [0m
|
274
|
+
[4;36;1mBlog::Models::User Load (0.000325)[0m [0;1mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
275
|
+
[4;35;1mBlog::Models::Comment Load (0.000282)[0m [0mSELECT * FROM "blog_comments" WHERE ("blog_comments".post_id = 2) [0m
|
276
|
+
[4;36;1mBlog::Models::Post Load (0.000467)[0m [0;1mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 2) [0m
|
277
|
+
[4;35;1mBlog::Models::User Load (0.000260)[0m [0mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
278
|
+
[4;36;1mBlog::Models::Comment Load (0.000264)[0m [0;1mSELECT * FROM "blog_comments" WHERE ("blog_comments".post_id = 2) [0m
|
279
|
+
[4;35;1mBlog::Models::Post Load (0.000434)[0m [0mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 2) [0m
|
280
|
+
[4;36;1mBlog::Models::User Load (0.000341)[0m [0;1mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
281
|
+
[4;35;1mBlog::Models::Comment Load (0.000392)[0m [0mSELECT * FROM "blog_comments" WHERE ("blog_comments".post_id = 2) [0m
|
282
|
+
[4;36;1mBlog::Models::Comment Create (0.000623)[0m [0;1mINSERT INTO "blog_comments" ("html_body", "updated_at", "body", "post_id", "username", "created_at") VALUES('<p>Mouarf !</p>', '2008-11-13 14:58:28', 'Mouarf !', 2, 'Greg', '2008-11-13 14:58:28')[0m
|
283
|
+
[4;35;1mBlog::Models::Post Load (0.000554)[0m [0mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 2) [0m
|
284
|
+
[4;36;1mBlog::Models::User Load (0.000347)[0m [0;1mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
285
|
+
[4;35;1mBlog::Models::Comment Load (0.000526)[0m [0mSELECT * FROM "blog_comments" WHERE ("blog_comments".post_id = 2) [0m
|
286
|
+
[4;36;1mSQL (0.000667)[0m [0;1m SELECT name
|
287
|
+
FROM sqlite_master
|
288
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
289
|
+
[0m
|
290
|
+
[4;35;1mBlog::Models::SchemaInfo Load (0.000173)[0m [0mSELECT * FROM "blog_schema_infos" LIMIT 1[0m
|
291
|
+
[4;36;1mBlog::Models::Post Load (0.000395)[0m [0;1mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 2) [0m
|
292
|
+
[4;35;1mBlog::Models::User Load (0.000412)[0m [0mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
293
|
+
[4;36;1mBlog::Models::Comment Load (0.000469)[0m [0;1mSELECT * FROM "blog_comments" WHERE ("blog_comments".post_id = 2) [0m
|
294
|
+
[4;35;1mBlog::Models::Post Create (0.001100)[0m [0mINSERT INTO "blog_posts" ("html_body", "updated_at", "title", "body", "user_id", "created_at") VALUES('<p>Il y a quelques jours, Magnus Holm annoncait la <a href="http://img.skitch.com/20081031-pmjabs2ij4iw14imct16s66jxy.png">refonte</a> de l’exemple de blog proposé dans <a href="http://github.com/judofyr/camping/tree/blog">Camping</a></p>
|
295
|
+
<p>Je me suis amusé à refaire sont développement pour l’ajouter dans le package <a href="http://bivouac.rubyforge.org">Bivouac</a></p>', '2008-11-13 15:04:39', 'Yes, it is !', 'Il y a quelques jours, Magnus Holm annoncait la "refonte":http://img.skitch.com/20081031-pmjabs2ij4iw14imct16s66jxy.png de l''exemple de blog proposé dans "Camping":http://github.com/judofyr/camping/tree/blog
|
296
|
+
|
297
|
+
Je me suis amusé à refaire sont développement pour l''ajouter dans le package "Bivouac":http://bivouac.rubyforge.org', 1, '2008-11-13 15:04:39')[0m
|
298
|
+
[4;36;1mBlog::Models::Post Load (0.000557)[0m [0;1mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 3) [0m
|
299
|
+
[4;35;1mBlog::Models::User Load (0.000364)[0m [0mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
300
|
+
[4;36;1mBlog::Models::Comment Load (0.000205)[0m [0;1mSELECT * FROM "blog_comments" WHERE ("blog_comments".post_id = 3) [0m
|
301
|
+
[4;35;1mBlog::Models::Post Load (0.001125)[0m [0mSELECT * FROM "blog_posts" ORDER BY updated_at DESC[0m
|
302
|
+
[4;36;1mBlog::Models::User Load (0.000362)[0m [0;1mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
303
|
+
[4;35;1mBlog::Models::User Load (0.000247)[0m [0mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
304
|
+
[4;36;1mBlog::Models::User Load (0.000245)[0m [0;1mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
305
|
+
[4;35;1mBlog::Models::Post Load (0.000363)[0m [0mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 3) [0m
|
306
|
+
[4;36;1mBlog::Models::Post Load (0.000354)[0m [0;1mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 3) [0m
|
307
|
+
[4;35;1mBlog::Models::Post Update (0.000552)[0m [0mUPDATE "blog_posts" SET "html_body" = '<p>Il y a quelques jours, Magnus Holm annoncait la <a href="http://img.skitch.com/20081031-pmjabs2ij4iw14imct16s66jxy.png">refonte</a> de l’exemple de blog proposé dans <a href="http://github.com/judofyr/camping/tree/blog">Camping</a></p>
|
308
|
+
<p>Je me suis amusé à refaire sont développement pour l’ajouter dans le package <a href="http://bivouac.rubyforge.org">Bivouac</a>. Tout est dans le repository sur rubyforge.</p>', "body" = 'Il y a quelques jours, Magnus Holm annoncait la "refonte":http://img.skitch.com/20081031-pmjabs2ij4iw14imct16s66jxy.png de l''exemple de blog proposé dans "Camping":http://github.com/judofyr/camping/tree/blog
|
309
|
+
|
310
|
+
Je me suis amusé à refaire sont développement pour l''ajouter dans le package "Bivouac":http://bivouac.rubyforge.org. Tout est dans le repository sur rubyforge.', "updated_at" = '2008-11-13 15:05:26' WHERE "id" = 3[0m
|
311
|
+
[4;36;1mBlog::Models::Post Load (0.000589)[0m [0;1mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 3) [0m
|
312
|
+
[4;35;1mBlog::Models::User Load (0.000388)[0m [0mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
313
|
+
[4;36;1mBlog::Models::Comment Load (0.000253)[0m [0;1mSELECT * FROM "blog_comments" WHERE ("blog_comments".post_id = 3) [0m
|
314
|
+
[4;35;1mBlog::Models::Comment Create (0.000616)[0m [0mINSERT INTO "blog_comments" ("html_body", "updated_at", "body", "post_id", "username", "created_at") VALUES('<p>Et en plus il y a les commentaires…</p>', '2008-11-13 15:05:57', 'Et en plus il y a les commentaires...', 3, 'Arthur', '2008-11-13 15:05:57')[0m
|
315
|
+
[4;36;1mBlog::Models::Post Load (0.000505)[0m [0;1mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 3) [0m
|
316
|
+
[4;35;1mBlog::Models::User Load (0.000315)[0m [0mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
317
|
+
[4;36;1mBlog::Models::Comment Load (0.000342)[0m [0;1mSELECT * FROM "blog_comments" WHERE ("blog_comments".post_id = 3) [0m
|
318
|
+
[4;36;1mSQL (0.000398)[0m [0;1m SELECT name
|
319
|
+
FROM sqlite_master
|
320
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
321
|
+
[0m
|
322
|
+
[4;35;1mSQL (0.012028)[0m [0mselect sqlite_version(*)[0m
|
323
|
+
[4;36;1mSQL (0.003282)[0m [0;1mCREATE TABLE "blog_schema_infos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version" float) [0m
|
324
|
+
[4;35;1mBlog::Models::SchemaInfo Load (0.000306)[0m [0mSELECT * FROM "blog_schema_infos" LIMIT 1[0m
|
325
|
+
[4;36;1mSQL (0.004022)[0m [0;1mCREATE TABLE "blog_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "password" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
326
|
+
[4;35;1mSQL (0.003406)[0m [0mCREATE TABLE "blog_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "title" varchar(255), "body" text, "html_body" text, "created_at" datetime, "updated_at" datetime) [0m
|
327
|
+
[4;36;1mSQL (0.005392)[0m [0;1mCREATE TABLE "blog_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "username" varchar(255), "body" text, "html_body" text, "created_at" datetime, "updated_at" datetime) [0m
|
328
|
+
[4;35;1mBlog::Models::SchemaInfo Create (0.000523)[0m [0mINSERT INTO "blog_schema_infos" ("version") VALUES(1.0)[0m
|
329
|
+
[4;36;1mBlog::Models::Post Load (0.000769)[0m [0;1mSELECT * FROM "blog_posts" ORDER BY updated_at DESC[0m
|
330
|
+
[4;36;1mSQL (0.001093)[0m [0;1m SELECT name
|
331
|
+
FROM sqlite_master
|
332
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
333
|
+
[0m
|
334
|
+
[4;35;1mBlog::Models::SchemaInfo Load (0.000271)[0m [0mSELECT * FROM "blog_schema_infos" LIMIT 1[0m
|
335
|
+
[4;36;1mBlog::Models::User Create (0.001050)[0m [0;1mINSERT INTO "blog_users" ("updated_at", "username", "password", "created_at") VALUES('2008-11-13 20:08:44', 'greg', 'pipo', '2008-11-13 20:08:44')[0m
|
336
|
+
[4;36;1mSQL (0.000735)[0m [0;1m SELECT name
|
337
|
+
FROM sqlite_master
|
338
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
339
|
+
[0m
|
340
|
+
[4;35;1mBlog::Models::SchemaInfo Load (0.000192)[0m [0mSELECT * FROM "blog_schema_infos" LIMIT 1[0m
|
341
|
+
[4;36;1mBlog::Models::User Load (0.000225)[0m [0;1mSELECT * FROM "blog_users" WHERE ("blog_users"."password" = 'glatvdpipo' AND "blog_users"."username" = 'greg') LIMIT 1[0m
|
342
|
+
[4;35;1mBlog::Models::User Load (0.000568)[0m [0mSELECT * FROM "blog_users" WHERE ("blog_users"."password" = 'pipo' AND "blog_users"."username" = 'greg') LIMIT 1[0m
|
343
|
+
[4;36;1mBlog::Models::Post Load (0.000845)[0m [0;1mSELECT * FROM "blog_posts" ORDER BY updated_at DESC[0m
|
344
|
+
[4;35;1mBlog::Models::Post Create (0.000705)[0m [0mINSERT INTO "blog_posts" ("html_body", "updated_at", "title", "body", "user_id", "created_at") VALUES('<p>Je viens de commiter dans le <a href="http://bivouac.rubyforge.org/svn/trunk/bivouac/">repository</a> de bivouac la <em>release candidate 1</em> de la version 0.4.0.</p>
|
345
|
+
<p>Au programme pas mal de changements :</p>
|
346
|
+
<ul>
|
347
|
+
<li>Support de Camping >= 1.9</li>
|
348
|
+
<li>Ajoute de l’option :ieOnly au helper javascript_include_tag</li>
|
349
|
+
<li>postamble.rb est définitivement abandonné</li>
|
350
|
+
<li>script/plugin et la classe Bivouac::Plugin class ont été modifiés afin de supporter une nouvelle tache Rakefile : plugin:update</li>
|
351
|
+
<li>Mise à jour du controller “Not Found”</li>
|
352
|
+
<li>Remplacement de before_filter par la solution proposée par <a href="http://github.com/judofyr/filtering_camping/tree/master">Magnus Holm</a></li>
|
353
|
+
<li>Le générateur view fait son come back</li>
|
354
|
+
<li>Ajout du générateur Helper</li>
|
355
|
+
</ul>
|
356
|
+
<p>Bien entendu il y a également les traditionnelles correction de bug.</p>
|
357
|
+
<p>Notez enfin de l’exemple de blog fournit dans les sources a été totalement réécrit sur le model proposé par <a href="http://github.com/judofyr/camping/tree/blog">Magnus</a> dans Camping</p>', '2008-11-13 20:16:31', 'Bivouac 0.4.0-RC1', 'Je viens de commiter dans le "repository":http://bivouac.rubyforge.org/svn/trunk/bivouac/ de bivouac la _release candidate 1_ de la version 0.4.0.
|
358
|
+
|
359
|
+
Au programme pas mal de changements :
|
360
|
+
|
361
|
+
* Support de Camping >= 1.9
|
362
|
+
* Ajoute de l''option :ieOnly au helper javascript_include_tag
|
363
|
+
* postamble.rb est définitivement abandonné
|
364
|
+
* script/plugin et la classe Bivouac::Plugin class ont été modifiés afin de supporter une nouvelle tache Rakefile : plugin:update
|
365
|
+
* Mise à jour du controller "Not Found"
|
366
|
+
* Remplacement de before_filter par la solution proposée par "Magnus Holm":http://github.com/judofyr/filtering_camping/tree/master
|
367
|
+
* Le générateur view fait son come back
|
368
|
+
* Ajout du générateur Helper
|
369
|
+
|
370
|
+
Bien entendu il y a également les traditionnelles correction de bug.
|
371
|
+
|
372
|
+
Notez enfin de l''exemple de blog fournit dans les sources a été totalement réécrit sur le model proposé par "Magnus":http://github.com/judofyr/camping/tree/blog dans Camping', 1, '2008-11-13 20:16:31')[0m
|
373
|
+
[4;36;1mBlog::Models::Post Load (0.000927)[0m [0;1mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 1) [0m
|
374
|
+
[4;35;1mBlog::Models::User Load (0.000373)[0m [0mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
375
|
+
[4;36;1mBlog::Models::Comment Load (0.000254)[0m [0;1mSELECT * FROM "blog_comments" WHERE ("blog_comments".post_id = 1) [0m
|
376
|
+
[4;35;1mBlog::Models::Comment Create (0.000537)[0m [0mINSERT INTO "blog_comments" ("html_body", "updated_at", "body", "post_id", "username", "created_at") VALUES('<p>Et les commentaires fonctionnent…</p>', '2008-11-13 20:16:55', 'Et les commentaires fonctionnent...', 1, 'Arthur', '2008-11-13 20:16:55')[0m
|
377
|
+
[4;36;1mBlog::Models::Post Load (0.000490)[0m [0;1mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 1) [0m
|
378
|
+
[4;35;1mBlog::Models::User Load (0.000332)[0m [0mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
379
|
+
[4;36;1mBlog::Models::Comment Load (0.000296)[0m [0;1mSELECT * FROM "blog_comments" WHERE ("blog_comments".post_id = 1) [0m
|
380
|
+
[4;35;1mBlog::Models::Post Load (0.000373)[0m [0mSELECT * FROM "blog_posts" WHERE ("blog_posts"."id" = 1) [0m
|
381
|
+
[4;36;1mBlog::Models::User Load (0.000298)[0m [0;1mSELECT * FROM "blog_users" WHERE ("blog_users"."id" = 1) [0m
|
382
|
+
[4;35;1mBlog::Models::Comment Load (0.000313)[0m [0mSELECT * FROM "blog_comments" WHERE ("blog_comments".post_id = 1) [0m
|