<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ezcms.git/view_functions.py, branch master</title>
<subtitle>Basic flask app I made to serve mjfer.net
</subtitle>
<id>https://git.mjfer.net/ezcms.git/atom?h=master</id>
<link rel='self' href='https://git.mjfer.net/ezcms.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.mjfer.net/ezcms.git/'/>
<updated>2022-03-13T19:21:11Z</updated>
<entry>
<title>Pull changes from mjfer.net</title>
<updated>2022-03-13T19:21:11Z</updated>
<author>
<name>mjfernez</name>
<email>mjf@mjfer.net</email>
</author>
<published>2022-03-13T19:21:11Z</published>
<link rel='alternate' type='text/html' href='https://git.mjfer.net/ezcms.git/commit/?id=94f71d6f8fc7301dfd470ccf2fee27e078321a78'/>
<id>urn:sha1:94f71d6f8fc7301dfd470ccf2fee27e078321a78</id>
<content type='text'>
This commit adds the changes from the mjfer.net which enable using git
as the file last update tracker
</content>
</entry>
<entry>
<title>Remove flask caching and unused imports</title>
<updated>2022-02-25T22:36:01Z</updated>
<author>
<name>mjfernez</name>
<email>mjf@mjfer.net</email>
</author>
<published>2022-02-25T22:36:01Z</published>
<link rel='alternate' type='text/html' href='https://git.mjfer.net/ezcms.git/commit/?id=5589754533aab9b7edbdc41cc13c2cd189aa3c26'/>
<id>urn:sha1:5589754533aab9b7edbdc41cc13c2cd189aa3c26</id>
<content type='text'>
This removes Flask caching since it seems I'm dumb and can't implement
it correctly and it seems to serve pretty much no purpose anyway.
Caching can always be handled by the server in front

This commit also removes some unused imports that were leftover after
moving functionality to different files (like view_functions)

Flask compress might be useless too since nginx can also gzip. But I can
actually observe the change... is there any problem with double
gzipping?
</content>
</entry>
<entry>
<title>merge fix for ctime-&gt;mtime for file_last_modified</title>
<updated>2022-02-06T21:45:28Z</updated>
<author>
<name>mjfernez</name>
<email>mjf@mjfer.net</email>
</author>
<published>2022-02-06T21:45:28Z</published>
<link rel='alternate' type='text/html' href='https://git.mjfer.net/ezcms.git/commit/?id=8db2c6905adf00878d5549cc7d5766745daf6dd9'/>
<id>urn:sha1:8db2c6905adf00878d5549cc7d5766745daf6dd9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Optimize mobile CSS. Add last update time default</title>
<updated>2021-11-02T03:56:07Z</updated>
<author>
<name>mjfernez</name>
<email>mjf@mjfer.net</email>
</author>
<published>2021-11-02T03:56:07Z</published>
<link rel='alternate' type='text/html' href='https://git.mjfer.net/ezcms.git/commit/?id=ec6feec81ebab89dc6779027649b1ce517042d22'/>
<id>urn:sha1:ec6feec81ebab89dc6779027649b1ce517042d22</id>
<content type='text'>
This commit optimizes the mobile and web css to be responsive on zoom
(in supported browsers) and responsive on mobile screens. This is a
minimal optimization and lot can be done to improve it, particularly
for wider screen devices like tablets

This also adds the last update time to all views (except home).
Function logic was moved to view functions to support this and
rss_generator was changed to depend on it
</content>
</entry>
<entry>
<title>Fixes is_hidden_path, RSS. Adds txt support, RSS</title>
<updated>2021-10-18T23:53:03Z</updated>
<author>
<name>mjfernez</name>
<email>mjf@mjfer.net</email>
</author>
<published>2021-10-18T23:53:03Z</published>
<link rel='alternate' type='text/html' href='https://git.mjfer.net/ezcms.git/commit/?id=7c16beb6538ccf024b552d475a26b9345bf550ec'/>
<id>urn:sha1:7c16beb6538ccf024b552d475a26b9345bf550ec</id>
<content type='text'>
This commit fixes the is_hidden_path function to work for subdirectories
and also remove entries from the RSS file

view_functions.py has been refactored use the siteconfig
file instead of the app to remove unecessary imports and avoid
circularly imports

This also moves logic for the default site directories from server.py to
siteconfig.py so it's accessible before the app runs. This has the
benefit of cleaning up the server file, but the drawback of adding the
os import to the siteconfig file. Settings have been moved around for
(hopefully) easier reading
</content>
</entry>
<entry>
<title>Caching support. Separate views.py in 2 files</title>
<updated>2021-10-11T02:15:07Z</updated>
<author>
<name>mjfernez</name>
<email>mjfernez@gmail.com</email>
</author>
<published>2021-10-11T02:15:07Z</published>
<link rel='alternate' type='text/html' href='https://git.mjfer.net/ezcms.git/commit/?id=02a37ad308fbcc27a04787c84a76de7c2936a6d5'/>
<id>urn:sha1:02a37ad308fbcc27a04787c84a76de7c2936a6d5</id>
<content type='text'>
This commit adds the Flask-Caching module to the software stack and
enables the caching of views in a wide variety of ways, but implemented
here to be simple to understand to someone new to the concept of caching
(aka me).

Various documentation and formatting was applied to all files. views.py
internal functions (mostly related to filesystem operations of the
server). have been moved into view_functions.py
</content>
</entry>
</feed>
