Commit Graph

66 Commits

Author SHA1 Message Date
D'Alcamo Kael
733f4d2226 add support for profile photo (#193)
* feat: adding "photo" in CurriculumVitae model

* feat: loading "HeaderWithPhoto" template if photo is available

* template[sb2nov]: added HeaderWithPhoto.j2.tex template

* lint: linted files

* Revert "feat: loading "HeaderWithPhoto" template if photo is available"

This reverts commit 6a760519

* template[sb2nov]: merged Header.j2.tex and HeaderWithPhoto.j2.tex after revert 3253d2c1

* template[moderncv]: added photo in template

* fix,template[moderncv]: added check if photo is present

* template[markdown]: added photo support

* feat: adding support to relative path in templates
* relative paths are always relative to cwd

* fix: fixed optional photo in pydantic model

* feat,template[engineeringresumes]: implemented propic

* feat,template[engineeringresumes]: improved template

* feat,template[classic]: implemented template

* docs,template[sb2nov]: added comment

* fix,template: found a workaround for sourcesanspro and graphicx https://github.com/sinaatalay/rendercv/pull/193#issuecomment-2458194352

* fix: using context to manage in a clean way dynamic parameters passing to pydantic models

this is required because the "os.chdir" solution (https://github.com/sinaatalay/rendercv/pull/193#discussion_r1826306847) solved the path resolution for the image but bugged the path construction for paths in rendercv_settings (which should be relative to cwd and not to the path of the input file)

* tests: fixed some tests

* templates: formatted Header.j2.tex for classic, engineeringresumes, sb2nov templates

* tests: fixed test_create_a_latex_file and test_create_a_latex_file_and_copy_theme_files tests

* tests: fixed all tests and examples

* fix: fixed paths for Windows: path in latex should always be in unix style.

* tests: improved test code quality

* tests: fixed test_copy_theme_files_to_output_directory test

* Sina's updates

remove RenderCVContextModel

resolve typing and INPUT_FILE_PATH issue

update Preambles

update templates

rebase tests

fix issues

update headers

* resolve formatting issues

* set `update_testdata` to False

* don't use the profile picture in markdown

* set update_testdata to False

* fix photo issues

* fix moderncv

* fix INPUT_FILE_DIRECTORY

---------

Co-authored-by: kael-k <gh@kael-k.io>
Co-authored-by: Sina Atalay <dev@atalay.biz>
2024-12-24 20:52:33 -05:00
Sina Atalay
7291349eaa generalize the individual YAML files and improve tests 2024-12-09 01:45:49 -05:00
Dan Sabath
6ea7c0ac72 add tests for seperation of CV data from design and rendercv settings 2024-12-09 01:45:49 -05:00
Dan Sabath
6ce18666fc add tests for seperation of CV data from design and rendercv settings 2024-12-09 01:45:49 -05:00
Dan Sabath
994f60bca4 add tests for seperation of CV data from design and rendercv settings 2024-12-09 01:45:49 -05:00
Dan Sabath
6e6abce018 main-test-update: baseline test data 2024-12-09 01:45:49 -05:00
anschmieg
31d1fab882 add support for LaTeX math expressions in HTML (#200)
* add mathjax via CDN to HTML template

* adjust tests for added script tag

* Replace Mathjax with KaTeX

* Add math expression tests

put back in place from branch main (?)

* Revert "Add math expression tests"

This reverts commit 5d7e98f621cfb184dcc316763cb342d34f630ca8.

* minor fixes

* tests: update `testdata`

---------

Co-authored-by: schmiega <6830368+schmiega@users.noreply.github.com>
Co-authored-by: Sina Atalay <dev@atalay.biz>
2024-12-08 15:23:37 -05:00
Sina Atalay
d7322ad919 tests: update testdata 2024-11-01 19:58:33 -04:00
Sina Atalay
815bfad0b4 tests: update theme_auxiliary_file.cls 2024-11-01 19:48:58 -04:00
Sina Atalay
a77e3460a5 fix "Cant render with some DOIs" #184 2024-11-01 19:41:34 -04:00
Sina Atalay
5dc31e8024 add Telegram as a social network (#187) 2024-11-01 19:25:53 -04:00
Sina Atalay
b0c7d77e2c escape LaTeX characters in section titles #191 2024-11-01 19:02:13 -04:00
Sina Atalay
80bcfd1ca3 tests: refactor 2024-07-23 18:12:53 +03:00
Sina Atalay
9700450a2d tests: update testdata 2024-07-19 17:24:19 +03:00
Sina Atalay
7d0cebdad9 format and sort imports 2024-07-16 16:26:06 +03:00
Sina Atalay
c011ad3388 cli: fix data model overriding in rendercv render command 2024-07-16 15:38:46 +03:00
Sina Atalay
400bf683f6 renderer: refactor 2024-07-16 13:36:31 +03:00
Sina Atalay
1434368fdb tests: update tests for new section titles 2024-07-13 19:35:58 +03:00
Sina Atalay
b75139210f tests: update for the new package structure 2024-07-05 15:01:02 +03:00
Sina Atalay
4fc622dd4d sort imports 2024-06-24 16:08:07 +03:00
Sina Atalay
2cc17b38c9 data_models: remove Twitter (#109) 2024-06-19 14:52:52 +03:00
Sina Atalay
2d4917167b themes: add the pdfcreator tag 2024-06-19 14:37:53 +03:00
Sina Atalay
06d426bd3b tests: update testdata 2024-06-10 20:53:13 +03:00
Sina Atalay
1738f58421 tests: update testdata 2024-06-06 17:32:56 +03:00
Sina Atalay
2c2bfff140 tests: update 2024-06-05 01:14:08 +03:00
Sina Atalay
6def22e618 markdown: fix templates 2024-06-01 17:13:42 +03:00
Sina Atalay
39e1f3ccec tests: update testdata 2024-05-31 20:05:23 +03:00
Sina Atalay
477bfa84d2 tests: update testdata 2024-05-31 19:56:38 +03:00
Sina Atalay
ef733e1c33 tests: test Google Scholar 2024-05-29 16:05:51 +03:00
Sina Atalay
e60821898d tests: update testdata 2024-05-25 16:02:15 +03:00
Sina Atalay
57113f4d8f tests: update testdata 2024-05-20 22:11:02 +03:00
Sina Atalay
339509ea9f tests: update testdata 2024-05-19 17:43:10 +03:00
Sina Atalay
6c63248091 tests: update testdata 2024-05-19 15:52:18 +03:00
Sina Atalay
ad77b410ea tests: update testdata 2024-05-19 01:02:23 +03:00
Sina Atalay
446db517fa tests: update testdata 2024-05-19 00:59:07 +03:00
Sina Atalay
78dbb389f5 tests: update testdata 2024-05-19 00:50:04 +03:00
Sina Atalay
13df394e03 Merge branch 'main' of https://github.com/sinaatalay/rendercv 2024-05-17 16:07:08 +03:00
Sina Atalay
103b5f997d tests: update testdata 2024-05-17 16:04:38 +03:00
Sina Atalay
6c7cbd49dc tests: update testdata 2024-05-17 15:59:22 +03:00
Sina Atalay
f59d1753c5 tests: update testdata 2024-05-17 15:33:05 +03:00
Konstantin Alekseev
563d855f7b Markdown reference files have been updated in tests 2024-05-14 16:10:47 +04:00
Sina Atalay
a6e45e72f7 tests: update testdata 2024-05-12 16:46:38 +03:00
Sina Atalay
92f68c8b38 tests: update testdata 2024-04-30 22:12:45 +03:00
Sina Atalay
d0b285e03a tests: update testdata 2024-04-30 00:42:19 +03:00
Sina Atalay
f1cbbdbb6b tests: update testdata 2024-04-29 00:57:05 +03:00
Sina Atalay
e6153627df tests: update testdata 2024-04-29 00:30:02 +03:00
Sina Atalay
477a007b69 tests: update testdata 2024-04-28 23:37:03 +03:00
Sina Atalay
c30ee6647a tests: update testdata 2024-04-16 15:53:29 +03:00
Sina Atalay
2860053f4c tests: update testdata 2024-04-16 14:42:47 +03:00
Sina Atalay
17a9999607 tests: update testdata 2024-04-16 02:54:30 +03:00