Commit Graph

45 Commits

Author SHA1 Message Date
Daniel Hutzel
22709b8cdb Improved samples for new capire 2024-11-19 12:29:19 +01:00
Daniel Hutzel
82c633ce01 Post TechEd cosmetics (#619)
* Post TechEd cosmetics

* Update package-lock.json
2024-07-15 14:45:03 +02:00
Daniel Hutzel
cae0d36206 Fixed id generation for non-draft requests 2024-07-11 11:35:40 +02:00
Daniel Hutzel
4ba262f02a . 2024-05-31 14:23:56 +02:00
Daniel Hutzel
c6b88f6b66 import from @sap/cds instead of @sap/cds/lib 2024-05-14 15:57:14 +02:00
Marcel Schwarz
ac6d87dc03 Use preferred .after('each', ...) handler (#701) 2024-03-27 08:49:41 +01:00
Daniel Hutzel
2144e09c47 beautified 2023-11-18 12:07:43 +01:00
Daniel Hutzel
1ff14d3a09 cosmetics 2023-11-06 05:03:10 +01:00
d049904
7add92a05c Prepare for new protocol handling 2023-06-13 17:00:32 +02:00
Daniel
a069f2d7de Using reflected entitites 2022-09-30 10:07:39 +02:00
Daniel
e419fda74e UserService entities are persistence.skipped 2022-09-21 16:33:29 +02:00
Daniel
662f93a995 cosmetics 2022-08-18 18:02:28 +02:00
Daniel Hutzel
a893184736 Add login to bookshop Vue.js app (#358) 2022-05-19 12:16:11 +02:00
Daniel
b733643f2a fixed accidential push 2022-04-09 12:38:24 +02:00
Daniel
bbebff4066 . 2022-04-08 19:52:26 +02:00
Daniel
959c07cee3 minor cosmetics for user service 2022-03-31 09:49:47 +02:00
Christian Georgi
bb55c432c9 Bookshop showing user info
Show current user name, locale and tenant (if available).
Useful in deployments w/ real auth and tenant contexts.
2022-03-28 14:36:32 +02:00
sjvans
8197559065 fix: app crashes if SELECT results in null (#298) 2022-02-03 18:04:10 +01:00
Daniel
1fde0c928b Fixed submit order -> returned stock was wrong 2021-11-29 15:38:37 +01:00
Daniel
8d8aa6c2c9 Fixing copy errors
Signed-off-by: Daniel <daniel.hutzel@sap.com>
2021-11-29 15:33:57 +01:00
Daniel
33380c0792 Restore simple bookshop - no workarounds
Signed-off-by: Daniel <daniel.hutzel@sap.com>
2021-11-29 15:33:57 +01:00
Gregor Wolf
19c886d6dc fix implicit redirection issue 2021-11-12 21:41:39 +01:00
Gregor Wolf
2a44cfa9dc add Authors, rename author attribute 2021-11-12 21:25:33 +01:00
Gregor Wolf
7964c9aefd adjust formatting 2021-11-12 20:59:45 +01:00
dinurp
e89e012eba Update bookshop/srv/admin-service.cds
Co-authored-by: Christian Georgi <chgeo@users.noreply.github.com>
2021-11-10 11:12:18 +04:00
Christian Georgi
bf0f57efe5 Merge branch 'main' into main 2021-11-09 17:55:55 +01:00
Dinu
31d2f4c932 Avoid popup for ID in Fiori preview for Books. 2021-11-09 14:01:53 +04:00
Daniel
b95df77b9a Fixed access to cds.entities 2021-11-04 10:37:33 +01:00
Daniel
19083d156e Rename amount -> quantity 2021-09-10 15:39:30 +02:00
Daniel
2536f36596 Adjust to latest capire docs 2021-04-13 09:55:27 +02:00
Daniel
0c4658a3ef Fixed and adjusted to cds5 2021-04-10 13:06:15 +02:00
Daniel
ea6e274810 Fixed: missing await srv.emit 2020-12-17 16:39:06 +01:00
Daniel
f2c37ec162 composites 2020-11-17 07:35:43 +01:00
Daniel Hutzel
d0d08b1ee1 Enable authorizations w/ dummy-auth (#158)
* Enable authorizations w/ dummy-auth

* fixed: some tests run in privileged mode

* Fixed tests to skip auth

* npm test --silent

* Added dependency to passport
2020-11-12 23:56:04 +01:00
Christian Georgi
1587521bd3 Use newer syntax 2020-11-05 09:40:18 +01:00
Andre Meyering
c04c423c0d cat-services.cds: Use "type of" to use "Books:id"
The syntax `Books.id` (dot) is deprecated and is warned about in the latest
CDS releases.  It should be replaced by either `Books:id` (colon, supported
since cds-compiler v1.41.0) or `type of Books:id` (tested with cds-compiler
v1.20.0 from November 2019).
2020-11-05 09:40:18 +01:00
Iwona Hahn
e19447b700 update cat-service.js
based on feedback in the community, see also [PR](https://github.wdf.sap.corp/cap/cap.github.wdf.sap.corp/pull/1864)
2020-09-29 18:55:45 +02:00
Daniel
50428b4d26 beautified bookshop/requests.http 2020-04-18 13:25:08 +02:00
Daniel
a8de029389 Aligned content with latest capire docs 2020-03-29 17:22:04 +02:00
Daniel
251d07f38e . 2020-03-28 02:23:33 +01:00
Daniel
1679764a7f Workaround for mediocre cds-tests 2020-03-23 12:02:42 +01:00
Daniel
2c1d1646e1 Moved reusing extensions to separate file 2020-03-23 08:47:22 +01:00
Daniel
073b082935 Activating pre-built extensions in cat-service 2020-03-22 14:40:53 +01:00
Daniel
c6eb21ec51 cleaned up 2020-03-02 08:29:49 +01:00
Daniel
3731a7ea23 reloaded 2020-03-01 18:25:53 +01:00