Commit Graph

206 Commits

Author SHA1 Message Date
Kamil Krzyśków
53385529f0 Fixed handling of inconsistent drive letter case 2025-07-26 14:19:52 +02:00
Kamil Krzyśków
6d4f756461 Fixed dotpath venv guessing 2025-07-26 14:19:52 +02:00
Kamil Krzyśków
88bdcf5f16 Fixed empty username fallback 2025-07-26 14:19:52 +02:00
Kamil Krzyśków
2b0417f7c4 Updated info plugin to exclude guessed venv paths (#8286)
* Updated info plugin to hide usernames

* Updated info plugin to show active venv directory

* Updated info plugin to exclude possible venv paths

* Added exception handling in info plugin
2025-06-29 18:43:26 +02:00
squidfunk
e45972a8cd Fixed social plugin crashing for CairoSVG >= 2.8
Co-authored-by: kamilkrzyskow <34622465+kamilkrzyskow@users.noreply.github.com>
2025-05-13 13:04:38 +02:00
squidfunk
bce053afc3 Fixed social plugin crashing for CairoSVG >= 2.8
Co-authored-by: kamilkrzyskow <34622465+kamilkrzyskow@users.noreply.github.com>
2025-05-13 12:49:01 +02:00
squidfunk
74a7835b35 Fixed privacy plugin crashing on non-existent file 2025-03-12 17:36:46 +01:00
Isaac Muse
e0b0113574 Fixed backref import (#8057) 2025-03-03 08:14:16 +07:00
squidfunk
523922b383 Fixed privacy plugin not replacing occurrences 2025-03-01 13:22:03 +07:00
squidfunk
3bd81bdc66 Updated dependencies 2025-03-01 12:18:02 +07:00
Isaac Muse
ab1511074c Replaced regex with backrefs package in search plugin (#8034)
Use Re in all places in the search plugin except where Unicode
properties are desired (checking for Chinese chars). Use Backrefs'
`bre` to check for Unicode properties. To minimize any differences,
explicitly use `script` as Backrefs uses `script_extensions` (or `scx`)
by default with `Is*` properties.
2025-02-26 10:57:51 +07:00
squidfunk
37162a57cd Replaced regex with re in info plugin 2025-02-26 10:10:41 +07:00
squidfunk
bdad6ec83f Formatting 2025-02-20 08:17:05 +07:00
Lucas Cimon
2e837fa4cf Fixed privacy plugin crashing on HTTP errors 2025-02-20 08:09:33 +07:00
squidfunk
3a11e3e7e7 Fixed tags plugin not working on filenames with whitespaces 2025-02-19 09:08:28 +07:00
squidfunk
aaabbfe99e Reverting group plugin fix 2025-02-07 12:07:03 +07:00
squidfunk
d4203f65bb Fixed group plugin crashing on ENV vars for enabled setting 2025-02-07 10:42:17 +07:00
squidfunk
4861c7d405 Fixed tags plugin crashing on numeric title 2025-02-05 21:15:53 +07:00
squidfunk
2d147c72c0 Fixed crashing tags plugin 2025-01-31 13:10:59 +07:00
squidfunk
1416697c6b Prepare 9.6.0 release 2025-01-31 11:02:40 +07:00
squidfunk
fefdd42c96 Merged features tied to 'Chipotle' funding goal 2025-01-31 10:31:48 +07:00
squidfunk
6d1ef25146 Switched social plugin to other hook 2025-01-18 09:14:17 +07:00
squidfunk
365dc24062 Updated copyright year 2025-01-04 10:27:13 +01:00
squidfunk
968fbe1ae2 Fixed privacy plugin interop with generated files 2024-12-16 11:16:16 +01:00
squidfunk
a7dc57c239 Fixed disabling of social cards 2024-12-06 21:13:18 +01:00
squidfunk
d468344751 Fixed numeric tags breaking search 2024-11-25 18:24:01 +01:00
perpil
6288b26b90 Fixed timezone when draft_if_future_date: true (#7749)
* Set timezone to UTC when draft_if_future_date: true Fixes #7748

* Use more compact form of setting timezone
2024-11-25 18:13:00 +01:00
Nejc Habjan
6a0a790e8f Added preload hints in privacy plugin replacements (#7733) 2024-11-22 14:24:58 +01:00
perpil
eee4934efd Fixed blog plugin crashing on missing timezone (regression) (#7730)
* Default timezone to UTC for blog plugin created date

Fix for https://github.com/squidfunk/mkdocs-material/issues/7725

* Fix variable name

* Run build
2024-11-20 18:22:48 +01:00
perpil
a08809a0f3 Fixed blog plugin crashing on dates with timezones (#7708)
* Normalize datetime values to UTC in blog plugin

Fixes #7705

Normalize datetime values to UTC in blog plugin to handle offset-naive and offset-aware datetimes correctly.

* Import `timezone` from `datetime` in `material/plugins/blog/structure/options.py`.
* Modify `pre_validation` method to set `tzinfo=timezone.utc` for datetime values.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/squidfunk/mkdocs-material/issues/7705?shareId=XXXX-XXXX-XXXX-XXXX).

* Normalize datetime values to UTC in blog plugin

Fixes #7705

+ Move changes to src directory
2024-11-19 13:39:37 +01:00
squidfunk
aa4ef560f0 Prepare 9.5.44 release 2024-11-05 19:22:39 +01:00
Nejc Habjan
4918a10d8f Added support for quoted external CSS URLs in privacy plugin (#7651) 2024-10-30 15:22:06 +01:00
Nejc Habjan
7dc96f1e13 Added support for downloading external images in SVG for privacy plugin (#7650) 2024-10-30 13:54:31 +01:00
squidfunk
cc1508f1dc Fixed encoding of boolean attributes in privacy plugin 2024-10-16 14:09:40 +02:00
squidfunk
e2c621f1d9 Fixed regression in privacy plugin 2024-10-15 22:52:36 +02:00
squidfunk
92089c67f1 Fixed race condition in privacy plugin 2024-10-14 14:41:35 +02:00
Pekka Klärck
829d1c8db2 Fixed social cards not using site name on homepage (#7608)
Use `config.site_name` instead of `page.title`.
2024-10-10 10:06:56 +02:00
squidfunk
22ff858174 Removed unused import 2024-09-20 09:46:19 +02:00
squidfunk
b655e07805 Fixed HTML entities not escaped in social cards 2024-09-20 09:44:29 +02:00
Sigurd Spieckermann
6b13c560f5 Fixed blog readtime calculation to ignore non-content text (#7370) 2024-07-16 15:49:13 +02:00
squidfunk
1b346eb57b Fixed tags plugin crashing on numeric tags 2024-05-24 13:39:03 +02:00
Kamil Krzyśków
f724bb901a Add warning for dotfiles in info plugin 2024-05-02 23:16:30 +02:00
Alexander Voss
e90871f210 Fixed social plugin crashing on Windows when downloading fonts (#7085) (#7117)
* fix: social plugin fonts on Windows (squidfunk #7085)

* fix: managed to edit in material instead of src

* added resource mgmt for ByteIO, comments

* formatted comment

* Fix for Social plugin crashes when font autoloading is disabled (#7118)
2024-04-29 15:04:43 +07:00
squidfunk
ff49d74024 Fixed deprecation warning in privacy plugin 2024-04-29 08:01:57 +07:00
squidfunk
cff4a75d15 Fixed deprecation warning in tags plugin 2024-04-29 07:52:22 +07:00
squidfunk
254ee97473 Updated distribution files 2024-04-25 09:35:26 +07:00
squidfunk
6a761ed418 Improved interop of social plugin with other themes 2024-04-17 11:43:59 +07:00
squidfunk
1041766d81 Fixed time sneaking into default post format string 2024-04-02 12:02:04 +08:00
squidfunk
e71f00b4c9 Fixed backporting of social plugin font loading logic 2024-03-31 21:17:44 +08:00
squidfunk
29cf44b71c Improved resilience of privacy plugin 2024-03-31 17:30:44 +08:00