Tag Archives: exercise

SS21, Web Engineering

Deadline for this assignment is extended  to Friday 3.7.2021 23:59

SS21, Web Engineering
  • please fill in this form: https://seblog.cs.uni-kassel.de/2021/05/27/github-details/
  • use the repository from last assignment
  • start from the branch assignment5
  • switch to branch assignment6
  • add Delayed::Jobs for:
    • sending the verification mail after creating an account
    • send a reminder mail for the verification after 5 minutes if the verification is pending
    • delete the account after 1 hour if it isn’t verified
  • On the posts show page, regulary (5 sec.) check whether there are new comments available, and if so show a box saying “New comment by <name>”.
  • (optional) automatically load that one comment (render partial in the controller) and add it to the comments list.
  • commit and push to branch  assignment6
  • create a pull request (name: Assignment6) to the main/master branch

Deadline for this assignment is Friday 4.6.2021 23:59

SS21, Web Engineering
  • use the repository from last assignment
  • start from the branch assignment4

 

  • switch to branch assignment5
  • Implement model test for posts, comments and users
    • test your model validations
    • test your model attributes existence
  • Implement controller tests for your user controller
    • at least make sure that all your controller actions are called
  • Implement system tests
    • Create user success/failure case
    • Login user success/failure case
    • Create and edit a post
    • Create and edit a comment
  • commit and push to branch  assignment5
  • create a pull request (name: Assignment5) to the main/master branch

Deadline for this assignment is Friday 28.5.2021 23:59

SS21, Web Engineering
  • use the repository from last assignment
  • start from the branch assignment3

 

  • switch to branch assignment4

 

  • create user and session as shown in the lecture
  • user should be able to register, login, logout, change their details and delete their accounts ( all posts and their comments )
  • post and comments are linked to the creating user user
  • when deleting a post also delete the comments
  • post and comments can only be created by logged-in users
  • but everybody can browse the posts and comments
  • only show buttons like login, logout, create post … according to the login-state
  • commit and push to branch  assignment4
  • create a pull request (name: Assignment4) to the main/master branch

Deadline for this assignment is Friday 14.5.2021 23:59

SS21, Web Engineering
  • create a github repository: https://classroom.github.com/a/rtm71Z6i
  • choose a name for your social network
  • create an new rails project
  • commit an push your generated project to the master/main branch
  • switch to branch assignment3
  • add bootstrap, simple_form and slim
  • create and implement a post and comment model
  • implement all CRUD actions in view and controller
  • commit and push to branch  assignment3
  • create a pull request (name: Assignment 3) to the main/master branch