zenon
a0480036bf
Show annotations on overview of favorites
2020-06-10 15:05:41 +02:00
zenon
ba2e90386f
Add keyword field to favorites
2020-06-09 19:30:16 +02:00
zenon
af88064af9
Add keyword field in database
2020-06-09 18:14:14 +02:00
zenon
de165f3d47
Update dependencies to latest versions
2020-06-05 16:49:16 +02:00
zenon
a6a866d357
Hotfix: Add params parsing
...
When favoriting from `show_basic` for courses, the parameters `number`
and `semester` are not passed to the underlying function. Instead, the
`detail_url` is passed, which has to be parsed to get the `number` and
`semester`.
2020-05-29 10:57:18 +02:00
zenon
cbcc7c3d25
Hotfix: parse oid when only one given
...
The function `show_detail` for courses was expecting an array of
lecturer oids. When it got only one and therefore not an array but an
int, the line `@lecturers_oid.each` would fail to parse the variable
because it is not an array.
2020-05-29 10:43:34 +02:00
zenon
04245d63dc
Implement favoriting of projects
2020-05-29 10:29:20 +02:00
zenon
c9f93d6fd8
Do not parse HTML
...
Might allow an attacker (in this case someone creating a course in TISS)
to do some nasty HTML injection. But eeeh, who cares? ¯\_(ツ)_/¯
2020-05-27 20:07:04 +02:00
zenon
b12d161b0e
Fix empty response
2020-05-27 20:03:24 +02:00
zenon
ae217a60ea
Fix comment errors
...
Should really look at it before doing copypasta...
2020-05-27 17:48:09 +02:00
zenon
f2ad597c94
Implement the basic search result page for projects
2020-05-27 17:47:41 +02:00
zenon
9c76ce0553
Implement a basic detail page for projects
2020-05-27 17:44:03 +02:00
zenon
bba13f249c
Implement show_basic, show_detail and add_to_fav methods
2020-05-27 17:18:23 +02:00
zenon
61933c23d4
Implement get_project_details
2020-05-27 17:11:01 +02:00
zenon
19eb7a724f
Add search context for projects
2020-05-27 17:09:25 +02:00
zenon
3201628f2d
Add routes for projects
2020-05-27 16:41:27 +02:00
zenon
e359595d0f
Add advisor and assistant names to thesis detail view
2020-05-25 16:28:22 +02:00
zenon
b20cccf07b
Implement favorite view for theses
2020-05-25 16:20:27 +02:00
zenon
d84297bde7
Implement search, show_basic, show_detail and add_to_fav for theses
2020-05-25 16:14:41 +02:00
zenon
311e3d9dcb
Finish favorite courses view
2020-05-25 14:57:15 +02:00
zenon
2b8539cba9
Make table left/right scrollable
2020-05-23 16:15:40 +02:00
zenon
b53a1ebe81
Fix routing error for helpers
...
Due to moving the helpers into their own folder, the modules were not
defined properly anymore.
2020-05-23 15:50:31 +02:00
zenon
dabda63cbc
Remove URL parsing
...
The fields `courseNr` and `semesterCode` are already parsed by the
controller and do not have to be parsed again when calling the
add_to_fav function.
2020-05-23 15:44:39 +02:00
zenon
b8cc0d5b61
Implement favoriting of courses
2020-05-21 13:31:54 +02:00
zenon
a43c2b8edb
Merge remote-tracking branch 'origin/user_based_+_sortable_favs' into courses_search
2020-05-21 11:08:43 +02:00
zenon
52515549ee
Hotfix: change inheritance to reflect new routes
2020-05-21 10:51:51 +02:00
zenon
8866e29a44
Add comments for lecturer name feature
2020-05-10 17:10:21 +02:00
zenon
4d9bc09ae1
Add names of lecturers to detail page for courses
2020-05-10 17:05:30 +02:00
zenon
ce178ff99d
Fix bug where course numbers were not parsed
...
Course numbers cannot only contain digits but also letters. Replacing \d
for digits with \S for any non-whitespace character does the trick.
2020-05-10 16:01:08 +02:00
zenon
550d9ddfed
Add more information to detail view for courses
2020-05-10 15:58:45 +02:00
zenon
23613f0a14
Shorten XML for parsed course
...
Instead of passing the complete XML response to the page, only the part
where the interesting fields for a course are stored should be passed as
a parameter. It also shortens the code in the html.erb file that is
necessary to pull out the wanted fields.
2020-05-09 16:03:30 +02:00
zenon
ba6d9b24a4
Implement detail page for courses
2020-05-09 15:56:44 +02:00
zenon
74bd875427
Implement basic search for courses
2020-05-09 12:16:20 +02:00
zenon
0314b75b24
Flash error message when favoriting already favorited person
2020-05-07 11:58:29 +02:00
zenon
d111a371ae
Change layout of favorites
2020-05-07 11:57:39 +02:00
zenon
c8902d12ac
Style detail page
2020-05-01 13:31:30 +02:00
zenon
bce58e7ea4
Fix errors
2020-05-01 11:45:43 +02:00
zenon
ffec7643a4
Add skeleton for theses, projects and courses
2020-05-01 11:39:57 +02:00
zenon
99b4e66504
Styling of search result page
2020-04-25 15:28:40 +02:00
zenon
4f45c768ec
Fix mess made by @Pfingstfrosch
2020-04-24 23:02:45 +02:00
zenon
bb0e7b5272
Lower number of stretches performed with SHA512
2020-04-19 15:35:14 +02:00
zenon
284ec8c8fe
Add simple styling for forms
2020-04-14 14:48:14 +02:00
zenon
8e417911c6
Use SHA512 instead of BCrypt
2020-04-14 14:28:55 +02:00
zenon
af1eff30b7
Require logged in status
2020-04-14 14:11:01 +02:00
zenon
9050ddc69d
Configure routes and rename sign in to log in
...
Signed-off-by: Tobias Eidelpes <tobias@eidelpes.info >
2020-04-14 13:58:50 +02:00
zenon
2f85af35cb
Add authentication via devise
...
Signed-off-by: Tobias Eidelpes <tobias@eidelpes.info >
2020-04-14 13:44:45 +02:00
zenon
6014c64e64
Remove JavaScript in navbar and include logout
...
Signed-off-by: Tobias Eidelpes <tobias@eidelpes.info >
2020-04-14 11:39:41 +02:00
zenon
c8bc0ca1cd
Implement basic navbar
...
Signed-off-by: Tobias Eidelpes <tobias@eidelpes.info >
2020-04-07 13:51:05 +02:00
zenon
bec03e432f
Add .idea to .gitignore
...
Signed-off-by: Tobias Eidelpes <tobias@eidelpes.info >
2020-04-04 17:52:07 +02:00
zenon
b12f6199ce
Change required rails version to 6.0.2.1
...
Signed-off-by: Tobias Eidelpes <tobias@eidelpes.info >
2020-04-04 17:50:02 +02:00
zenon
c62dd16d8d
Add boilerplate for controllers and routes
...
Signed-off-by: Tobias Eidelpes <tobias@eidelpes.info >
2020-04-04 16:33:36 +02:00
zenon
0b04e7c8fc
Initial commit
2020-04-04 12:26:55 +02:00