131 Commits

Author SHA1 Message Date
d84297bde7 Implement search, show_basic, show_detail and add_to_fav for theses 2020-05-25 16:14:41 +02:00
311e3d9dcb Finish favorite courses view 2020-05-25 14:57:15 +02:00
2b8539cba9 Make table left/right scrollable 2020-05-23 16:15:40 +02:00
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
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
b8cc0d5b61 Implement favoriting of courses 2020-05-21 13:31:54 +02:00
a43c2b8edb Merge remote-tracking branch 'origin/user_based_+_sortable_favs' into courses_search 2020-05-21 11:08:43 +02:00
52515549ee Hotfix: change inheritance to reflect new routes 2020-05-21 10:51:51 +02:00
Pfingstfrosch
1a4370c90e doesn't work yet 2020-05-16 15:07:12 +02:00
Pfingstfrosch
b11ef548b6 style the table 2020-05-16 15:06:42 +02:00
Pfingstfrosch
6922f31bc5 remove unnecessary bloat 2020-05-16 14:29:30 +02:00
Pfingstfrosch
2f6d638cd1 second attempt of making favorite people view sortable 2020-05-16 14:09:33 +02:00
Pfingstfrosch
f2686288b7 moved into proper folder location 2020-05-16 14:09:11 +02:00
Pfingstfrosch
83d4368af7 first attempt of making favorite people view sortable 2020-05-16 13:30:00 +02:00
Pfingstfrosch
dd7ac8e64f only select favorites which match the current user id 2020-05-16 12:26:21 +02:00
Pfingstfrosch
72be2d07f3 store also the user_id when adding to favorite 2020-05-16 12:22:09 +02:00
Pfingstfrosch
8ca0f74276 added user_id to favorite_people model 2020-05-16 12:21:48 +02:00
Pfingstfrosch
9dcb2994e1 create a hash of favorite details and reuse it;
move redirect_back out of conditional scope
2020-05-16 11:58:25 +02:00
Pfingstfrosch
5bb0bae858 fix of inheritance error -> uninitialized constant Crawlers::ApplicationController 2020-05-16 11:45:05 +02:00
Pfingstfrosch
1970a65bf8 fix of inheritance error -> uninitialized constant TissCrawlerController 2020-05-16 11:44:21 +02:00
Pfingstfrosch
d5ec02201d instead of redirecting just display an success or error message after pressing add button 2020-05-12 20:01:30 +02:00
Pfingstfrosch
49be25838e remove route with no purpose 2020-05-12 19:57:12 +02:00
Pfingstfrosch
34f34790ee remove action with no purpose 2020-05-12 19:53:17 +02:00
Pfingstfrosch
d34a3d583c refactored crawler controllers and bundled them in crawlers namespace 2020-05-12 19:49:18 +02:00
Pfingstfrosch
d7907a3a0c remove helpers with no controller class related 2020-05-12 19:29:12 +02:00
Pfingstfrosch
415ed22f6e remove HOME Page, because redundant
show search page as default
2020-05-12 19:27:43 +02:00
Pfingstfrosch
16ae8fd87b update 2020-05-12 19:19:08 +02:00
Pfingstfrosch
92eff82f1a refactored favorites:
instead of using a fav page for each content, use a general favorites pane where the user can select which favs shall be shown
2020-05-12 19:19:04 +02:00
Pfingstfrosch
a8f4d4a9db Main nav bar now contains 3 menus:
- Home
- Search TISS
- Your Favorites
2020-05-12 19:17:13 +02:00
Pfingstfrosch
ae6a202e59 refactored routes file:
now using namespaces to make the file more readable and better structured
2020-05-12 19:16:18 +02:00
Pfingstfrosch
6bc24a48f0 remove scss files with no corresponding controller 2020-05-12 19:15:06 +02:00
Pfingstfrosch
1d7105ab22 remove scss files with no corresponding controller 2020-05-12 19:15:00 +02:00
8866e29a44 Add comments for lecturer name feature 2020-05-10 17:10:21 +02:00
4d9bc09ae1 Add names of lecturers to detail page for courses 2020-05-10 17:05:30 +02:00
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
550d9ddfed Add more information to detail view for courses 2020-05-10 15:58:45 +02:00
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
ba6d9b24a4 Implement detail page for courses 2020-05-09 15:56:44 +02:00
74bd875427 Implement basic search for courses 2020-05-09 12:16:20 +02:00
0314b75b24 Flash error message when favoriting already favorited person 2020-05-07 11:58:29 +02:00
d111a371ae Change layout of favorites 2020-05-07 11:57:39 +02:00
c8902d12ac Style detail page 2020-05-01 13:31:30 +02:00
bce58e7ea4 Fix errors 2020-05-01 11:45:43 +02:00
ffec7643a4 Add skeleton for theses, projects and courses 2020-05-01 11:39:57 +02:00
99b4e66504 Styling of search result page 2020-04-25 15:28:40 +02:00
4f45c768ec Fix mess made by @Pfingstfrosch 2020-04-24 23:02:45 +02:00
Marco Zeisler
670bac90d2 make me work 2020-04-24 17:02:08 +02:00
Marco Zeisler
717abd8796 make me work 2020-04-24 16:56:22 +02:00
Marco Zeisler
4a3773a29b update gemfile 2020-04-21 19:09:26 +02:00
Marco Zeisler
a075f6b215 update 2020-04-21 19:04:46 +02:00