Permalink
Browse files

first commit

  • Loading branch information...
0 parents commit 8522496e9b98209649a1e6d13b74aa50e10b7ce5 @iSeiryu committed Mar 29, 2012
Showing with 13,658 additions and 0 deletions.
  1. +3 −0 README.md
  2. +26 −0 boss.config
  3. BIN ebin/address.beam
  4. +39 −0 ebin/addressbook.app
  5. BIN ebin/addressbook_chat_controller.beam
  6. BIN ebin/addressbook_custom_filters.beam
  7. BIN ebin/addressbook_custom_tags.beam
  8. BIN ebin/addressbook_incoming_mail_controller.beam
  9. BIN ebin/addressbook_main_controller.beam
  10. BIN ebin/addressbook_outgoing_mail_controller.beam
  11. BIN ebin/addressbook_user_controller.beam
  12. BIN ebin/addressbook_view_chat_live_html.beam
  13. BIN ebin/addressbook_view_layout_application_html.beam
  14. BIN ebin/addressbook_view_lib_tags.beam
  15. BIN ebin/addressbook_view_main_create_html.beam
  16. BIN ebin/addressbook_view_main_edit_html.beam
  17. BIN ebin/addressbook_view_main_index_html.beam
  18. BIN ebin/addressbook_view_main_show_html.beam
  19. BIN ebin/addressbook_view_user_login_html.beam
  20. BIN ebin/addressbook_view_user_register_html.beam
  21. BIN ebin/addressbook_view_user_showall_html.beam
  22. BIN ebin/message.beam
  23. BIN ebin/person.beam
  24. BIN ebin/user_lib.beam
  25. BIN ebin/userlist.beam
  26. +11,732 −0 erl_crash.dump
  27. +8 −0 init-dev.sh
  28. +55 −0 init.sh
  29. +21 −0 priv/addressbook.routes
  30. +97 −0 priv/init/addressbook_01_news.erl
  31. +10 −0 priv/lang/strings.en.po
  32. +10 −0 priv/lang/strings.ru.po
  33. +155 −0 priv/rebar/boss_plugin.erl
  34. BIN priv/static/chicago-boss.png
  35. +151 −0 priv/static/css/style.css
  36. BIN priv/static/favicon.ico
  37. BIN priv/static/images/add.png
  38. BIN priv/static/images/delete.png
  39. BIN priv/static/images/edit.png
  40. BIN priv/static/images/lupa.gif
  41. BIN priv/static/images/zzz.png
  42. +339 −0 priv/static/js/chat.js
  43. +422 −0 priv/static/js/mustache.js
  44. BIN rebar
  45. +3 −0 rebar.config
  46. +8 −0 src/addressbook.app.src
  47. +51 −0 src/controller/addressbook_chat_controller.erl
  48. +52 −0 src/controller/addressbook_main_controller.erl
  49. +56 −0 src/controller/addressbook_user_controller.erl
  50. +43 −0 src/lib/user_lib.erl
  51. +8 −0 src/mail/addressbook_incoming_mail_controller.erl
  52. +12 −0 src/mail/addressbook_outgoing_mail_controller.erl
  53. +2 −0 src/model/address.erl
  54. +2 −0 src/model/message.erl
  55. +22 −0 src/model/person.erl
  56. +2 −0 src/model/userlist.erl
  57. +68 −0 src/view/chat/live.html
  58. +37 −0 src/view/layout/application.html
  59. +22 −0 src/view/lib/README
  60. +9 −0 src/view/lib/filter_modules/addressbook_custom_filters.erl
  61. +11 −0 src/view/lib/tag_modules/addressbook_custom_tags.erl
  62. +27 −0 src/view/main/create.html
  63. +20 −0 src/view/main/edit.html
  64. +40 −0 src/view/main/index.html
  65. +19 −0 src/view/main/show.html
  66. +26 −0 src/view/user/login.html
  67. +25 −0 src/view/user/register.html
  68. +23 −0 src/view/user/showall.html
  69. +2 −0 start-server.bat
@@ -0,0 +1,3 @@
+#ChicagoBoss test website
+
+This is a test project for learning Erlang with ChicagoBoss framework.
@@ -0,0 +1,26 @@
+[{boss, [
+ {path, "/home/yourname/ChicagoBoss"},
+ {vm_cookie, "abc123"},
+ {applications, [cb_admin, addressbook]},
+ {db_host, "localhost"},
+ {db_port, 27017},
+ {db_adapter, mongodb},
+ {db_database, addressbook},
+ {db_write_mode, safe},
+ {db_read_mode, master},
+ {log_dir, "log"},
+ {server, misultin},
+ {port, 8001},
+ {session_adapter, mock},
+ {session_key, "_boss_session"},
+ {session_exp_time, 525600}
+]},
+{ addressbook, [
+ {path, "../addressbook"},
+ {base_url, "/"}
+]},
+{cb_admin, [
+ {path, "../cb_admin"},
+ {allow_ip_blocks, ["127.0.0.1"]},
+ {base_url, "/admin"}
+]}].
Binary file not shown.
@@ -0,0 +1,39 @@
+{application,addressbook,
+ [{description,"My Awesome Web Framework"},
+ {vsn,"0.0.1"},
+ {modules,
+ [user_lib,addressbook_outgoing_mail_controller,
+ addressbook_incoming_mail_controller,addressbook_main_controller,
+ addressbook_user_controller,addressbook_chat_controller,message,
+ address,userlist,person,addressbook_view_lib_tags,
+ addressbook_custom_filters,addressbook_custom_tags,
+ addressbook_view_layout_application_html,
+ addressbook_view_user_login_html,addressbook_view_user_showall_html,
+ addressbook_view_user_register_html,addressbook_view_chat_live_html,
+ addressbook_view_main_show_html,addressbook_view_main_create_html,
+ addressbook_view_main_edit_html,addressbook_view_main_index_html]},
+ {registered,[]},
+ {applications,[kernel,stdlib,crypto,boss]},
+ {env,
+ [{test_modules,[]},
+ {lib_modules,[user_lib]},
+ {mail_modules,
+ [addressbook_outgoing_mail_controller,
+ addressbook_incoming_mail_controller]},
+ {controller_modules,
+ [addressbook_main_controller,addressbook_user_controller,
+ addressbook_chat_controller]},
+ {model_modules,[message,address,userlist,person]},
+ {view_lib_tags_modules,[addressbook_view_lib_tags]},
+ {view_lib_helper_modules,
+ [addressbook_custom_filters,addressbook_custom_tags]},
+ {view_modules,
+ [addressbook_view_layout_application_html,
+ addressbook_view_user_login_html,
+ addressbook_view_user_showall_html,
+ addressbook_view_user_register_html,
+ addressbook_view_chat_live_html,
+ addressbook_view_main_show_html,
+ addressbook_view_main_create_html,
+ addressbook_view_main_edit_html,
+ addressbook_view_main_index_html]}]}]}.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.

0 comments on commit 8522496

Please sign in to comment.