1801 Commits

Author SHA1 Message Date
Sina Atalay
d347bc88e5 Handle render crash when the output PDF file is opened in Windows (#327) 2025-01-25 17:54:59 -05:00
Sina Atalay
3f31496af3 Fix partial installation errors (#326)
* make dependencies more flexible

* Fix partial installation errors
2025-01-25 17:11:54 -05:00
Sina Atalay
0439f14d77 disable ruff-format in pre-commit 2025-01-20 09:55:54 -05:00
Sina Atalay
02b7350734 fix formatting 2025-01-20 09:45:14 -05:00
Sina Atalay
bd1be140bf tests: disable test_if_the_schema_is_the_latest in Windows 2025-01-20 09:32:50 -05:00
dependabot[bot]
6fe49b82fd build(deps): bump pydantic-extra-types from 2.10.1 to 2.10.2 (#316)
Bumps [pydantic-extra-types](https://github.com/pydantic/pydantic-extra-types) from 2.10.1 to 2.10.2.
- [Release notes](https://github.com/pydantic/pydantic-extra-types/releases)
- [Changelog](https://github.com/pydantic/pydantic-extra-types/blob/main/HISTORY.md)
- [Commits](https://github.com/pydantic/pydantic-extra-types/compare/v2.10.1...v2.10.2)

---
updated-dependencies:
- dependency-name: pydantic-extra-types
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-19 23:51:30 -05:00
dependabot[bot]
67e3546348 build(deps): bump phonenumbers from 8.13.52 to 8.13.53 (#315)
Bumps [phonenumbers](https://github.com/daviddrysdale/python-phonenumbers) from 8.13.52 to 8.13.53.
- [Commits](https://github.com/daviddrysdale/python-phonenumbers/compare/v8.13.52...v8.13.53)

---
updated-dependencies:
- dependency-name: phonenumbers
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-19 23:51:22 -05:00
Sina Atalay
438ff8d13b Bundle Font Awesome 6 fonts (#314)
* Bundle Font Awesome 6 fonts

* hope to skip less tests with font awesome fix

* update schema

* format

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-19 23:51:14 -05:00
dependabot[bot]
3ae30ba30d build(deps): bump pydantic from 2.9.2 to 2.10.5 (#305)
Bumps [pydantic](https://github.com/pydantic/pydantic) from 2.9.2 to 2.10.5.
- [Release notes](https://github.com/pydantic/pydantic/releases)
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md)
- [Commits](https://github.com/pydantic/pydantic/compare/v2.9.2...v2.10.5)

---
updated-dependencies:
- dependency-name: pydantic
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-19 19:42:15 -05:00
dependabot[bot]
5bf28882d5 build(deps): bump jinja2 from 3.1.3 to 3.1.5 (#306)
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.5.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.5)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-19 19:42:04 -05:00
Sina Atalay
a4687b31cc Fix path issues in rendercv_settings and CLI (#312)
* fix #272

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-19 19:41:04 -05:00
Marcin Konowalczyk
bf38e29362 Change bold and italics typst source generation (#303)
* use #emph and #strong instead of underscores and asterisks

* convert remaining asterisks

* templater #strong and #emph

Change templater to use #strong and #emph instead of * and _ respectively.

* update classic test files (no pdf diff)

* update engineeringclassic test files (no pdf diff)

* update sb2nov test files (no pdf diff)

* update engineeringrer test data (minor pdf diff)

engineeringresumes_empty_long_second_row.pdf
0 of 1 pages differ.
engineeringresumes_empty_short_second_row.pdf
0 of 1 pages differ.
engineeringresumes_filled_long_second_row.pdf
13 of 39 pages differ.
engineeringresumes_filled_short_second_row.pdf
14 of 45 pages differ.

The diff is one extra comma which tbh, was probably supposed to be there anyway:

Old: `Bogaziçi University in Mechanical Engineering: - Istanbul, Turkey`
New: `Bogaziçi University, in Mechanical Engineering: - Istanbul, Turkey`

* update moderncv test data (minor pdf diff)

moderncv_empty_long_second_row.pdf
0 of 1 pages differ.
moderncv_empty_short_second_row.pdf
0 of 1 pages differ.
moderncv_filled_long_second_row.pdf
14 of 46 pages differ.
moderncv_filled_short_second_row.pdf
14 of 46 pages differ.

Same diff as for engineeringresumes -- one extra comma which, was probably supposed to be there anyway:

Old: `Bogaziçi University in Mechanical Engineering: - Istanbul, Turkey`
New: `Bogaziçi University, in Mechanical Engineering: - Istanbul, Turkey`

* update markdown_to_typst test

* fix link fixing

* add link fixing test

* update templater.py

* fix a test

* fix a linting error

---------

Co-authored-by: Sina Atalay <dev@atalay.biz>
2025-01-19 19:02:03 -05:00
Marcin Konowalczyk
0f37939f7d Improve packaging version comparison (#299)
* proper packaging version comparison

* fix tests

* test_rendercv_no_version_when_there_is_no_new_version

* Augment test

* small changes

---------

Co-authored-by: Sina Atalay <dev@atalay.biz>
2025-01-19 18:45:39 -05:00
Sina Atalay
efe308ae1c tests: skip more tests v2.0 2025-01-07 15:01:31 +03:00
Sina Atalay
9f795af8da fix linting issues 2025-01-07 14:56:15 +03:00
Sina Atalay
c02a4be7db tests: skip more tests 2025-01-07 14:55:53 +03:00
Sina Atalay
135bc9d160 fix linting issues 2025-01-07 14:51:30 +03:00
Sina Atalay
7bb2ca4eab tests: skip failed tests for now 2025-01-07 14:50:48 +03:00
Sina Atalay
b0f173b598 docs: update README.md and index.md 2025-01-07 14:31:29 +03:00
Sina Atalay
8b181d1e6b docs: update schema 2025-01-07 14:27:29 +03:00
Sina Atalay
a163ca2f92 docs: update examples 2025-01-07 14:27:22 +03:00
Sina Atalay
19503e872a update testdata 2025-01-07 14:26:50 +03:00
Sina Atalay
6ee40c545e fix a typst error 2025-01-07 14:24:34 +03:00
Sina Atalay
5bd656c50a update themes 2025-01-07 14:21:56 +03:00
Sina Atalay
22ab55f18f use XCharter instead of Charter 2025-01-07 13:48:27 +03:00
Sina Atalay
97cb474bc8 fix tests 2025-01-07 13:16:51 +03:00
Sina Atalay
050801b695 fix tests 2025-01-07 11:23:06 +03:00
Sina Atalay
cadcc399ad fix tests 2025-01-07 10:18:01 +03:00
Sina Atalay
a3190621fb docs: update custom theme image 2025-01-07 01:46:28 +03:00
Sina Atalay
c3a1173683 docs: fix typos in changelog 2025-01-07 01:41:30 +03:00
Sina Atalay
f4c222017e docs: update README.md and index.md 2025-01-07 01:40:28 +03:00
Sina Atalay
0e535fd130 renderer: reduce default PPI for PNG output from 600 to 150 2025-01-07 01:39:22 +03:00
Sina Atalay
427838048a docs: make example images smaller 2025-01-07 01:39:10 +03:00
Sina Atalay
4331110c55 Upgrade to v2 (#271)
* prepare the base for typst

* rename theme folders

* rename themes

* rename themes

* update testdata with new theme names

* rename themes

* fix docs issues

* fundamentals

* fundamental renames

* generalize `create_a_latex_file`

* generalize render_a_pdf_from_latex

* make latex optional dependency, and add typst as dependency

* first tests with typst

* finish `markdown_to_typst`

* fix `markdown_to_latex`

* finish `markdown_to_typst`

* first steps towards Typst RenderCV themes

* first draft of classic theme

* start working on new design options

* work on new design options

* make default theme: "classic"

* start integrating design options with templates

* rename typst variables

* start working on connections integration

* polish connections

* polish design options and themes

* fix spelling mistakes and improve typst themes

* use ms instead of s in printer

* improve templates

* fix typos

* use ms instead of s in printer

* improve typst templates

* improve

* improve

* improve

* improve

* make PyMuPDF optional

* rename last_updated_date_style to last_updated_date_template

* revert changelog

* progress

* improve

* exclude gifs from sdist

* update tests

* improve templates

* improve templater

* data: update `sample_content.yaml`

* improve

* remove latex support

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* remove testdata

* remove latex

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* rename `locale_catalog` to `locale`

* docs: update developer guide faq

* add new input, rendercv_settings.date

* add show_time_span_in

* create a new function, parse_validation_errors

* improve templates

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* improve

* update templates

* fix experience entry

* improve

* finish templates

* update tests

* update testdata

* remove time_machine

* update sample content

* improve

* add sb2nov theme

* update options

* update theme.options

* update theme.options

* update theme options

* create engineeringresumes templates

* add engineering resumes

* format

* update templates

* add new theme

* fix a typo in sample content

* update templating system

* update options

* add photo support

* update workflows

* improve templates

* improve parse_validation_errors

* create a new interface for web

* fix summary

* improve

* resolve typing issues

* update mkdocs.yaml

* update pyproject.toml

* update docs scripts

* update testdata

* update tests

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* rename column template fields

* update

* update test data

* add moderncv

* fix problems

* moderncv

* create moderncv

* fix tests

* update

* update

* update templates

* update

* use optional dependencies

* fix

* improve

* aa

* a

* update

* update

* update

* update

* rename

* update

* update

* update

* improve

* update

* update

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* update

* update

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* format

* update changelog

* update examples

* update entry figures

* update schema

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-01-07 01:30:40 +03:00
Sina Atalay
9b3e43ce82 use v1.16's schema 2025-01-01 01:30:38 +03:00
sinaatalay
1e8fcc5dc1 docs: update examples 2024-12-31 22:25:42 +00:00
sinaatalay
950fb55459 docs: update schema.json 2024-12-31 22:25:33 +00:00
Sina Atalay
fff0e63ff2 docs: update changelog v1.18 2025-01-01 01:17:09 +03:00
Sina Atalay
da0bb40c17 correct spelling of 'separator_between_connections` (#277) 2025-01-01 01:16:57 +03:00
Sina Atalay
bdb320f653 fix locale_catalog (#275) 2025-01-01 01:16:14 +03:00
Sina Atalay
53cb3992cc docs: add --watch option to CLI referene 2024-12-26 14:57:28 -05:00
Sina Atalay
f3e265823c docs: update user guide 2024-12-25 18:01:14 -05:00
Sina Atalay
00045762e6 workflows: update publish-to-pypi.yaml v1.17 2024-12-25 17:53:56 -05:00
Sina Atalay
4ac274e715 bump version number 2024-12-25 17:52:22 -05:00
Sina Atalay
30beeb077d docs: use the old schema 2024-12-25 17:50:16 -05:00
sinaatalay
6810b4d0da docs: update entry figures 2024-12-25 22:47:09 +00:00
sinaatalay
c7fb310252 docs: update examples 2024-12-25 22:46:45 +00:00
sinaatalay
14ba8f2f66 docs: update schema.json 2024-12-25 22:46:37 +00:00
Sina Atalay
17fad0eb8b docs: update changelog 2024-12-25 17:44:51 -05:00
Sina Atalay
a64ec81a69 docs: update index.md 2024-12-25 17:27:03 -05:00