Commit Graph
107 Commits
Author SHA1 Message Date
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
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 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 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 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 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
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
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 76d4a6cd76 Add h1 2020-04-21 19:03:39 +02:00
Marco Zeisler a36796960f refactoring of "abstract" search controller 2020-04-21 18:58:48 +02:00
Marco Zeisler fbfc12e096 store and display favorite person by tiss_id 2020-04-21 18:06:07 +02:00
Marco Zeisler c32819d819 first attempt of people crawler incl. detail view 2020-04-21 16:07:54 +02:00
Marco Zeisler e0a21f180f refactoring 2020-04-21 13:52:27 +02:00
Marco Zeisler c5cc225ca6 refactoring of project 2020-04-21 13:19:01 +02:00
Marco Zeisler c0a5b794ec refactoring of project 2020-04-21 13:03:59 +02:00
Marco Zeisler e2f0bd7237 setup abstract search 2020-04-20 18:21:19 +02:00
zenon 284ec8c8fe Add simple styling for forms 2020-04-14 14:48:14 +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