Merge pull request #6 from E2S2015/HuangQi

添加user stroies
This commit is contained in:
thedreamwork 2016-01-14 20:08:22 +08:00
commit c61683e6eb
34 changed files with 11696 additions and 2 deletions

View File

@ -1,5 +1,5 @@
source 'https://rubygems.org/' source 'https://rubygems.org/'
ruby '2.2.2' ruby '2.1.2'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.2.3' gem 'rails', '4.2.3'

76
Gemfile~ Normal file
View File

@ -0,0 +1,76 @@
source 'https://rubygems.org/'
ruby '2.2.2'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.2.3'
# Use mysql as the database for Active Record
gem 'mysql2'
# Use sqlite3 as the database for Active Record
gem 'sqlite3'
# Use SCSS for stylesheets
gem 'sass-rails', '>= 3.2'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .coffee assets and views
gem 'coffee-rails', '~> 4.1.0'
# See https://github.com/rails/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
gem 'therubyracer', platforms: :ruby
# Use jquery as the JavaScript library
gem 'jquery-rails'
#Use kaminari page
gem 'kaminari'
#Use settingslogic
gem 'settingslogic'
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks'
# Use jquery as the JavaScript library
#gem 'jquery-rails'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.0'
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '~> 0.4.0', group: :doc
# Use haml template
gem 'haml-rails'
# Use bootstrap css
gem 'bootstrap-sass', '~> 3.3.6'
gem 'twitter-bootstrap-rails', :git => 'git://github.com/seyhunak/twitter-bootstrap-rails.git'
# gem 'rails-assets-jquery', require: false
# gem 'rails-assets-bootstrap-sass'
gem 'font-awesome-sass-rails', '~> 3.0.2.2'
gem 'twitter-bootstrap-rails-confirm'
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
#gem 'turbolinks'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
#gem 'jbuilder', '~> 2.0'
# Use ActiveModel has_secure_password
gem 'bcrypt', '~> 3.1.7'
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring', group: :development
# Use Unicorn as the app server
# gem 'unicorn'
# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development
group :development do
gem 'thin'
end
#Avatar
gem 'gravatar_image_tag'
#markdown
gem 'markdown-toolbar', git: 'https://github.com/fuksito/markdown-toolbar.git'
gem 'redcarpet'
gem 'simple_fileupload'
gem 'remotipart'
# group :development, :test do
# # Call 'byebug' anywhere in the code to stop execution and get a debugger console
# gem 'byebug'
# # Access an IRB console on exception pages or by using <%= console %> in views
# gem 'web-console', '~> 2.0'
# # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
# #gem 'spring'
# end

4
feature/feature_1.txt Normal file
View File

@ -0,0 +1,4 @@
Feature:Add a article to E2S
As a blogger
So that I can share a article with others
I want to add a article to E2S

0
feature/feature_1.txt~ Normal file
View File

4
feature/feature_10.txt Normal file
View File

@ -0,0 +1,4 @@
Feature:Sort articles by star
As a user
So that I can see the articles by star
I want to sort the articles by star

4
feature/feature_10.txt~ Normal file
View File

@ -0,0 +1,4 @@
Feature:Sort articles by stars
As a user
So that I can see the articles by stars
I want to sort the articles by stars

4
feature/feature_11.txt Normal file
View File

@ -0,0 +1,4 @@
Feature:Modify password of the user
As a user
So that I can modify my password at any time
I want to modify my password

0
feature/feature_11.txt~ Normal file
View File

4
feature/feature_12.txt Normal file
View File

@ -0,0 +1,4 @@
Feature:sort articles by comment
As a user
So that I can see the article sorting by comment
I want to sort articles by comment

0
feature/feature_12.txt~ Normal file
View File

4
feature/feature_13.txt Normal file
View File

@ -0,0 +1,4 @@
Feature:Display the latest comment
As a user
So that I can see the latest comment
I want to display the latest comment

0
feature/feature_13.txt~ Normal file
View File

4
feature/feature_14.txt Normal file
View File

@ -0,0 +1,4 @@
Feature:Display the classification of articles
As a user
So that I can see the classification of articles
I want to display the classification of articles

0
feature/feature_14.txt~ Normal file
View File

4
feature/feature_15.txt Normal file
View File

@ -0,0 +1,4 @@
Feature:Add number of seeing the article
As a user
So that I can see the number of seeing the article
I want to count the number of seeing the artcile

0
feature/feature_15.txt~ Normal file
View File

4
feature/feature_2.txt Normal file
View File

@ -0,0 +1,4 @@
Feature:Add a blogger_info to E2S
As a blogger
So that I can share my info with others
I want to add my info to blogger

0
feature/feature_2.txt~ Normal file
View File

4
feature/feature_3.txt Normal file
View File

@ -0,0 +1,4 @@
Feature:Add a comment to articles
As a user
So that I can comment a article
I want to add a comment to articles

0
feature/feature_3.txt~ Normal file
View File

4
feature/feature_4.txt Normal file
View File

@ -0,0 +1,4 @@
Feature:Modify the password of blogger
As a blogger
So that I can modify my password
I want to modify my password to E2S

0
feature/feature_4.txt~ Normal file
View File

4
feature/feature_5.txt Normal file
View File

@ -0,0 +1,4 @@
Feature:Search for a article by title
As a user
So that I can search for a article by title
I want to search for a article by title in database

4
feature/feature_5.txt~ Normal file
View File

@ -0,0 +1,4 @@
Feature:User can search for a article by title
As a user
So that I can search for a article by title
I want to search for a article by title in database

4
feature/feature_6.txt Normal file
View File

@ -0,0 +1,4 @@
Feature:Sort the articles by times
As a User
So that I can see the articles by times
I want to sort the articles by time

4
feature/feature_6.txt~ Normal file
View File

@ -0,0 +1,4 @@
Feature:User can sort the articles by times
As a User
So that I can see the articles by times
I want to sort the articles by time

4
feature/feature_7.txt Normal file
View File

@ -0,0 +1,4 @@
Feature:Star the good articles
As a user
So that I can star a article which I like
I want to star the good articles

0
feature/feature_7.txt~ Normal file
View File

4
feature/feature_8.txt Normal file
View File

@ -0,0 +1,4 @@
Feature:Edit the articles
As a blogger
So that I can edit my articles at any time
I want to edit my articles

0
feature/feature_8.txt~ Normal file
View File

4
feature/feature_9.txt Normal file
View File

@ -0,0 +1,4 @@
Feature:Destroy the Articles
As a blogger
So that I can destroy the articles which is out-of-date
I want to destroy my articles

0
feature/feature_9.txt~ Normal file
View File

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long