Commit Graph
89 Commits
Author SHA1 Message Date
retoor 05c6fa7f3b feat: add project fork async job service with cli prune/clear commands and shared container image build target 2026-06-09 14:06:02 +00:00
retoor c565e3b55c feat: add container manager CLI commands and docker-compose overlay for admin container lifecycle 2026-06-09 04:41:27 +00:00
retoor 317126efc2 feat: add zip file extraction support with error handling for invalid archives 2026-06-08 23:32:57 +00:00
retoor 547e4eda8c docs: add CLAUDE.md with project guidelines and conventions, document new devii admin quota reset endpoints and CLI commands, update README with coverage CI and devii_admin_daily_usd config, add European date normalization to ProjectForm model 2026-06-08 22:30:25 +00:00
retoor 841c1c7417 docs: add mistune dependency to pyproject.toml for Markdown parsing support 2026-06-08 20:56:59 +00:00
retoor 97eb58fc19 feat: add project file system with CRUD, upload, inline editing, and video attachment support
- Add new `/projects/{slug}/files` endpoint group for per-project filesystem operations including directory and file CRUD, upload, and inline editing with public read and owner write access
- Extend attachment system to support video formats (webm, ogv, mov, m4v) with proper file icons and MIME types
- Implement configurable allowed file types via `allowed_file_types` site setting, replacing hardcoded `ALLOWED_UPLOAD_TYPES` with dynamic `allowed_extensions()` and `is_extension_allowed()` functions
- Add `delete_all_project_files()` call in `delete_content_item()` to clean up project files when a project is deleted
- Create database indexes on `project_files` table for `(project_uid, path)` and `(project_uid, parent_path)` to optimize file lookups
- Introduce `docs_prose.py` module with `render_prose()` function that renders Markdown content inside `data-render` divs using mistune, enabling dynamic prose rendering in documentation pages
- Enhance docs search with Markdown-aware text stripping (`_demarkdown()`) and improved HTML/script/style sanitization for better search indexing
- Update documentation API samples to reflect new attachment response fields (`is_image`, `is_video`, `mime_type`) and note video format support
- Update README to document the new project files endpoint and clarify AI gateway attribution for guest Devii sessions
2026-06-08 20:51:09 +00:00
retoor e0535bb7c5 feat: add api key auth, devii agent, openai gateway, and admin service management
This commit introduces a comprehensive set of new features including API key authentication with CLI management commands (get, reset, backfill), a Devii agentic assistant with WebSocket terminal and session bootstrap, an OpenAI-compatible LLM gateway service, and an admin service management panel. It also adds Playwright browser automation for bot support, configures internal gateway URLs, refactors content editing/deletion to support JSON API responses, and updates documentation across AGENTS.md, README.md, and the developer docs site.
2026-06-08 15:38:33 +00:00
retoor 921e382cbc feat: add reactions, bookmarks, polls modules with session remember config
Add three new feature modules (reactions, bookmarks, polls) with corresponding database tables, indexes, and router registrations. Introduce `SESSION_MAX_AGE_REMEMBER` config for extended session duration, add `get_unread_messages` template global, and include operational defaults for rate limiting and session settings in `site_settings`.
2026-06-06 14:31:42 +00:00
retoor b4e09f4b37 chore: downgrade upload-artifact action from v4 to v3 in CI workflow 2026-06-05 19:51:36 +00:00
retoor 04dc26d850 chore: add .coveragerc config and sitecustomize.py for coverage subprocess support 2026-06-05 18:35:02 +00:00
retoor f4abd2ff3c feat: add comprehensive test suite for cache, cli, content, db helpers, follow api, and news service 2026-06-05 18:34:03 +00:00
retoor 1eeb789e9c fix: add coverage configuration and test infrastructure for push and utils modules
Add coverage tooling to CI workflow, Makefile, and pyproject.toml dependencies.
Introduce new test suites for push notification helpers (base64 encoding, HKDF,
authorization JWT) and utility functions (safe_next, strip_html, mention extraction,
badge/xp awarding, milestone checks) with a session-scoped local_db fixture.
2026-06-05 18:33:35 +00:00
retoor f05b6a4faf feat: add canonical redirect, og_image, next_page_url, and sitemap caching across content routers
Implement canonical_redirect helper in content.py to enforce slug-based 301 redirects for gist, news, post, and project detail pages. Add first_image_url helper to extract primary image from item or attachments for Open Graph meta tags. Inject next_page_url into feed, gists, news, and projects list page SEO contexts for pagination link rel. Extend seo.py with SITEMAP_URL_LIMIT, SITEMAP_TTL constants and _sitemap cache variable for future sitemap generation optimization. Update profile page to raise 404 via not_found instead of 302 redirect, and include og_image from avatar_url.
2026-06-05 18:05:07 +00:00
retoor 9a24a90ec5 fix: iterate over all post UIDs in seed comment creation and post retrieval loops 2026-06-05 17:32:46 +00:00
retoor 8cb08c84cc fix: scope reply form locators and add login next redirect tests
- Fix test_bug_comment_reply and test_project_comment_reply to scope fill/click to .comment-reply-form instead of using generic textarea/button selectors
- Add test_login_next_redirects_to_target verifying ?next=/gists redirects after login
- Add test_login_next_rejects_external ensuring external ?next= URL falls back to /feed
- Add test_comment_reply_inline_form, test_comment_reply_toggle_and_cancel, test_comment_create_scrolls_to_anchor for post comment reply UX
- Add _seed_post_with_comments and _create_post_ui helpers in test_feed.py
- Fix test_news_comment URL assertion to use wildcard pattern for slug matching
2026-06-05 17:22:29 +00:00
retoor 66d91407f5 feat: add next parameter to login flow and redirect unauthenticated users to login page
- Add `next` field to LoginForm model for preserving post-login redirect target
- Implement `safe_next` utility to validate redirect URLs and prevent open redirect vulnerabilities
- Update login page handler to accept and pass `next` query parameter
- Add hidden `next` input to login form template for POST submission
- Modify `require_user` to redirect to `/auth/login` instead of root
- Add `Http.toLogin()` static method in JS for client-side redirect with current URL encoded
- Update CommentManager to redirect unauthenticated reply attempts to login
- Fix comment creation redirect to use `comment_url` instead of generic `redirect_url`
2026-06-05 17:02:30 +00:00
retoor 4ad9334be6 feat: add user_id B-tree index to profiles table for faster user lookup queries 2026-06-05 16:43:12 +00:00
retoor 5a263cfebe feat: add inline recent comments and reply forms to post cards on feed page
Extract comment item building into `_build_comment_items` helper in database.py, import `get_recent_comments_by_post_uids` in feed router to attach up to 3 recent comments per post, add `post-card-comments` CSS class and `.comment-reply-form` margin rule, refactor `CommentManager` to use event delegation and toggle reply forms via a hidden template, move comment rendering into a reusable `_comment.html` macro, and include recent comments in `_post_card.html` with inline reply capability.
2026-06-05 16:42:43 +00:00
retoor 7d4612b2eb style: add touch-friendly min-heights, responsive comment form, and mobile layout refinements across CSS 2026-06-05 16:18:11 +00:00
retoor 790f6c8a67 fix: add port cleanup and server health checks to locust make targets and seed script
Add `fuser -k` to kill stale processes on the locust port before starting the uvicorn server, and improve the server readiness loop to detect startup failures early. In the locustfile seed function, cap user creation attempts at 25 and log a clear error if fewer than 5 seed users are created, preventing silent hangs or partial test data.
2026-06-05 15:44:12 +00:00
retoor ffcd6d2863 fix: replace uuid4 with uuid7 via uuid_utils in push and utils modules 2026-06-05 08:14:40 +00:00
retoor 9f4bead896 feat: add generic paginate helper and cursor-based load-more across feed, gists, news, and projects
Extract shared PAGE_SIZE constant and paginate() function into database.py, replacing inline cursor logic in feed, gists, news, and projects routers. Introduce `_load_more.html` partial template to unify "Load More" button rendering. Update all affected route handlers to accept `before` query parameter and return `next_cursor` for seamless infinite scroll. Adjust projects count display to use filtered length instead of total. Add test helper `_seed_posts` for pagination coverage.
2026-06-05 03:36:18 +00:00
retoor 02b07dce8e feat: add thumbnail_name field to attachment storage and refactor link/delete to batch SQL queries 2026-06-05 02:43:06 +00:00
retoor 13870d3219 feat: add service lock file and multi-worker startup guard with session cache clear 2026-06-02 21:17:51 +00:00
retoor a136287d36 feat: add leaderboard router, gamification backfill, and shared content creation helpers
Introduce a new `/leaderboard` endpoint ranking top 50 members by total stars, wire it into the app router and documentation. Implement `_backfill_gamification()` in `database.py` to compute XP/levels for existing accounts from prior posts, comments, votes, and follows. Extract `is_owner()`, `create_content_item()`, and `detail_context()` into `content.py` to centralize content creation, reward awarding, mention notifications, and attachment linking. Update comment creation/deletion in `comments.py` to use `award_rewards()` with `XP_COMMENT` and the new `is_owner()` helper. Add shared template partials documentation for vote bars, star buttons, post headers, and topic selectors to `AGENTS.md`.
2026-05-30 18:16:39 +00:00
retoor ab4861562b fix: change push.register return type to tuple and only send welcome notification on new registration 2026-05-28 22:49:37 +00:00
retoor 4cdf49cf8f chore: remove deprecated demo make target and update attachment thumbnail resolution
- Remove `make demo` target from Makefile, AGENTS.md, and README.md
- Improve `_row_to_attachment` to glob for thumbnail files with any extension instead of hardcoding `.jpg`
- Rewrite `cmd_attachments_prune` to use time-based cutoff and `delete_attachment` helper instead of orphan detection
- Add cursor-based pagination to feed and notifications endpoints with `before` parameter
- Track `did_upvote` flag in vote handler to only notify on new upvotes, not vote changes
- Add `PAGE_SIZE` constant and `next_cursor` template variable to notifications page
- Implement Playwright tests for notification pagination with 30 seeded notifications
2026-05-28 22:45:07 +00:00
retoor a8466da5b2 feat: replace JS card-link data-href with CSS overlay and add DOMPurify sanitizer 2026-05-27 20:03:12 +00:00
retoor f0c4feb167 feat: add DOMPurify XSS sanitization pipeline to client-side markdown renderer
- Vendored DOMPurify at static/vendor/purify.min.js, loaded with defer in base.html
- ContentRenderer.js now sanitizes marked output via DOMPurify.sanitize before processMedia
- Fail-closed: render() throws if DOMPurify is undefined instead of emitting unsanitized HTML
- Added _json_ld_dumps helper in seo.py to escape <>&\u2028\u2029 in JSON-LD output
- Updated combine() to use the new safe dumper for all schema.org payloads
2026-05-23 07:10:31 +00:00
retoor 74571f7737 feat: replace legacy vote buttons with AJAX submission and dynamic count updates
Replace static form-based vote buttons with a new VoteManager class that submits votes via fetch, returns JSON with net/up/down/current value, and updates vote count spans using data-vote-count attributes across all templates. Add JSONResponse endpoint in votes router for AJAX requests, switch VoteManager import from Http to Toast for error feedback, and refactor link_attachments to handle comma-separated UIDs.
2026-05-27 19:06:18 +00:00
retoor 9c55ef272e feat: add resolve_object_url helper and notification click-through with comment highlighting
Extract duplicate target-redirect logic from comments router into a new `resolve_object_url` database function, add `target_url` field to follow and message notifications, create `/notifications/open/{uid}` endpoint that marks notifications read and redirects to their target, implement client-side NotificationManager for card clicks and comment hash scrolling, and add comment-highlight CSS animation.
2026-05-25 14:16:53 +00:00
retoor e30f94c5df feat: add get_top_authors and get_user_stars functions with profile star aggregation
Implement two new database functions: get_top_authors aggregates star counts across posts, projects, and gists tables with 60-second TTL caching, and get_user_stars computes total stars for a given user_uid. Refactor feed page to use get_top_authors instead of raw users table query, and display aggregated star count on profile pages via get_user_stars. Add Playwright integration test verifying profile star count increments after a post vote.
2026-05-23 08:54:45 +00:00
retoor 4d87532951 fix: add mobile-web-app-capable meta tag to base.html for PWA support 2026-05-23 08:35:40 +00:00
retoor b2fe7ad412 fix: update notification bell selector to use href attribute for precise targeting 2026-05-23 08:24:54 +00:00
retoor 3f1cab81da fix: correct notification bell selector to use href attribute in test_topnav_notification_bell
The test was using a generic `.topnav-icon` locator that could match any topnav icon, but the notification bell specifically has an href pointing to `/notifications`. Updated the selector to `.topnav-icon[href='/notifications']` for precise element targeting.
2026-05-23 08:16:56 +00:00
retoor 3c55ae1bb1 feat: add PWA support with push notifications, service worker, and offline page
Implement progressive web app capabilities including VAPID-based push notification infrastructure, service worker with offline caching, PWA install prompt handling, and manifest configuration. Add push.py module for VAPID key generation and notification delivery, PushManager and PwaInstaller JavaScript classes, service worker with precache and push event handling, offline fallback page, and app icons at multiple resolutions.
2026-05-23 08:08:26 +00:00
retoor ded6c8a004 chore: remove production deployment step from test workflow
The test CI workflow in .gitea/workflows/test.yaml no longer includes the "Deploy to production" step that previously ran on successful pushes to the master branch. This change removes the conditional deployment logic and the associated `make deploy` command from the workflow configuration.
2026-05-23 08:03:55 +00:00
retoor 387b2d8f96 feat: add push notification infrastructure with VAPID key generation and PWA manifest support
- Introduce push notification module with VAPID certificate generation, Web Push encryption, and subscription management
- Add push registration table index and database schema for storing user subscriptions
- Integrate push notification dispatch into existing notification creation flow via async background tasks
- Include PWA manifest, service worker, and install prompt UI elements in base template
- Register new push router and ensure certificate initialization on application startup
- Add configuration variables for VAPID private/public key file paths and subscription contact email
- Update JavaScript application entry point with PushManager and PwaInstaller modules
- Extend top navigation bar with hidden install and push enable buttons for authenticated users
2026-05-23 08:03:27 +00:00
retoor 1aca8b7f76 feat: add dynamic gist language sidebar filtering based on existing database entries
Add a new `get_gist_languages()` function in database.py that queries distinct language codes from the gists table and caches results for 60 seconds. Create a database index on the `language` column of the gists table for efficient queries. Update the gists router to pass the set of active language codes to the template. Modify the gists.html sidebar to only display language filter links for codes that actually have gists in the database, hiding empty language categories and conditionally showing the plaintext link.
2026-05-23 07:00:52 +00:00
retoor c13f2b23c3 chore: add production deployment step after successful master push in test workflow 2026-05-23 06:31:16 +00:00
retoor 3897979962 feat: add deploy target to Makefile for production merge workflow 2026-05-23 06:27:04 +00:00
retoor 116aeadabf feat: add content CRUD helpers, avatar component, and utility JS classes for devplacepy 2026-05-23 06:41:47 +00:00
retoor d7d8314da0 refactor: extract star/notification/badge helpers into database.py and add enrich_items content module
Introduce `update_target_stars`, `get_target_owner_uid`, and `VOTABLE_TARGETS`/`STAR_TARGETS` in database.py; replace inline badge insertion with `award_badge()` and inline notification creation with `create_notification()` across auth, comments, and follow routers; add `enrich_items()` in new content module to centralize post/gist list assembly and remove duplicated enrichment logic from feed and gists routers.
2026-05-23 06:34:13 +00:00
retoor ab1121a42a feat: add get_int_setting helper and skip empty values in admin settings save
Introduce `get_int_setting()` in database.py to safely parse integer settings with a default fallback, replacing repeated `int(get_setting(...))` calls in uploads.py and templating.py. In admin.py, skip saving settings entries when the submitted value is an empty string, preventing accidental overwrites with blank values.
2026-05-23 04:55:11 +00:00
retoor 54ada85b20 fix: remove unused import of get_users_by_uids from projects router
The import statement for `get_users_by_uids` was removed from the project_detail endpoint in `devplacepy/routers/projects.py` as it was no longer used after a prior refactor of user lookup logic. This eliminates a dead code path and potential linting warnings.
2026-05-23 04:21:41 +00:00
retoor 8ff4b351da feat: add TTLCache, post/news count helpers, and avatar ETag caching across modules 2026-05-23 04:20:27 +00:00
retoor 12a3d3a1a7 fix: correct typo in user authentication error message string 2026-05-23 03:57:05 +00:00
retoor 9275d36ca8 feat: add validation tests for vote, post, profile, and signup edge cases
Add comprehensive test coverage for input validation scenarios including
rejecting bad vote values, oversized and undersized post content,
overlong profile bios, and short signup usernames with proper error
messages.
2026-05-23 03:56:21 +00:00
retoor 7285432ea7 feat: add AdminSettingsForm model and migrate admin settings endpoint to Pydantic validation 2026-05-23 03:55:50 +00:00
retoor 92911bedc9 feat: replace raw form parsing with pydantic models for auth, admin, bugs, comments, and gists
Migrate all route handlers from manual `request.form()` parsing to typed `Annotated[Model, Form()]` dependencies using new pydantic models (SignupForm, LoginForm, ForgotPasswordForm, AdminRoleForm, AdminPasswordForm, BugForm, CommentForm, GistForm). Remove inline validation logic from signup, login, password reset, admin role/password change, bug creation, comment creation, and gist creation endpoints, delegating validation to model validators and field constraints. Add `RequestValidationError` exception handler with friendly error messages for auth form pages. Update model definitions to use `field_validator` and `model_validator` for cross-field checks like password matching.
2026-05-23 03:44:04 +00:00
retoor 26a2d3280f feat: add vendor static assets for syntax highlighting and code editor
Add minified CSS and JS vendor files for CodeMirror editor and Atom One Dark syntax theme, including language modes for C-like, CSS, Dart, and Go.
2026-05-23 02:29:26 +00:00
retoor 05a4215c0d feat: redirect server stderr to log file and reduce log level to warning in test conftest 2026-05-23 02:12:41 +00:00
retoor 77ad93a4bb feat: add structured data schemas, og tags, share button, and configurable site url 2026-05-23 01:21:55 +00:00
retoor 8eea7cc0c9 feat: add news sanitize CLI command and upload static file serving with content-disposition 2026-05-22 23:50:31 +00:00
retoor 92c1bfca47 feat: update multiavatar import path and call signature in generate_avatar_svg
The change modifies the import statement from `multiavatar` to `multiavatar.multiavatar` and updates the function call to pass `None, None` as additional arguments, aligning with a newer version of the multiavatar library's API.
2026-05-19 21:36:17 +00:00
retoor 8bbd4db848 fix: log full exception trace before warning on avatar generation failure for seed 2026-05-19 21:27:44 +00:00
retoor 5bb8b12bc1 style: add missing space after icon spans in feed navigation links 2026-05-16 01:29:43 +00:00
retoor 299d0602f1 fix: remove required attribute from gist source textareas and fix emoji-picker script type 2026-05-16 01:10:55 +00:00
retoor ed8d8b3ac1 fix: fix blank chat bubbles on mobile by adjusting input area layout and send button styling
- Reduced input area padding from 1rem to 0.75rem 1rem and switched from flex-wrap to align-items center with smaller gap
- Changed send button from rectangular with padding to a 36px circular button with centered icon and hover transition
- Added flex-shrink and min-width:0 to text input to prevent overflow on narrow screens
- Added full-width attachment preview container with negative order to stack above input row
- Injected JavaScript to auto-scroll message thread to bottom and focus input on page load for mobile UX
2026-05-16 01:02:10 +00:00
retoor 9cedfb6329 feat: add clickable post title links and inline upvote forms to profile template
Wrap post titles in anchor tags linking to post detail pages, make post content divs clickable to navigate on non-link clicks, and replace static star/comment indicators with inline upvote forms and dynamic vote count display in profile.html.
2026-05-16 00:58:43 +00:00
retoor 9e2bfd271b fix: clear unread notification cache after inserting new notifications in comments, follows, messages, votes, and mentions 2026-05-16 00:49:53 +00:00
retoor 85acc0f481 fix: prevent duplicate notification triggers by extracting only last @ in mention prefix 2026-05-16 00:33:14 +00:00
retoor 9553e30a79 feat: add downvote button and vote count display to feed and post detail templates 2026-05-16 00:31:11 +00:00
retoor f4b825984a fix: update responsive breakpoints from 768px to 1024px in base.css for topnav-links, breadcrumb, and page media queries 2026-05-15 23:56:07 +00:00
retoor 1b4a60619e feat: add responsive layout with media queries for mobile and tablet breakpoints
Implement responsive design adjustments across admin, auth, base, feed, gists, landing, messages, news, notifications, post, profile, projects, and services CSS files with collapsible sidebar, touch-friendly navigation, and reordered content sections for screen widths below 768px and 480px. Add hamburger menu toggle, mobile overlay panel, and back button for messages view in Application.js.
2026-05-15 23:34:45 +00:00
retoor e304119d76 chore: bump base image to python 3.13 and switch nginx config to template-based conf.d generation 2026-05-15 23:28:39 +00:00
retoor e3676f26ea fix: remove -n auto parallel flag from pytest invocation in test workflow to avoid race conditions in integration tests 2026-05-14 02:36:38 +00:00
retoor f4c4769021 fix: add explicit wait_for_url calls in seo tests for messages and notifications pages 2026-05-14 02:25:52 +00:00
retoor 34cae11630 fix: replace deprecated datetime.utcnow with timezone-aware datetime.now in all modules and fix comment count query column name 2026-05-14 02:12:19 +00:00
retoor cb0fccb270 feat: add pytest-xdist parallel test support with dynamic port allocation
Add pytest-xdist dependency and configure parallel test execution with `-n auto` flag. Implement dynamic port assignment in conftest.py using `_xdist_port()` function that derives unique ports from worker IDs (base 10501 + worker index). Update app server subprocess to use per-worker port and create isolated test databases with port-specific suffixes. Modify test_landing.py to gracefully skip news section test when news service is unavailable by catching timeout exceptions with pytest.skip.
2026-05-13 21:26:18 +00:00
retoor 56662fef43 chore: replace pytest.BASE_URL with direct import from conftest in attachment tests 2026-05-13 21:15:14 +00:00
retoor a38fecedac feat: pass request as first positional arg to all TemplateResponse calls across routers
The diff shows a systematic refactor across 14 router files and main.py where every invocation of `templates.TemplateResponse` now receives the `request` object as its first positional argument, shifting the template name from first to second position. This change touches 30+ call sites in auth, feed, gists, messages, news, notifications, posts, profile, projects, services, bugs, admin, and the main error handlers, ensuring consistent Jinja2 template rendering with explicit request context injection for all HTTP responses.
2026-05-13 21:03:06 +00:00
retoor e0cd7bd309 feat: switch ci trigger branches from main to master in test workflow 2026-05-13 20:53:42 +00:00
retoor 1c5406204e chore: remove unused imghdr import and dead CSS rules, fix attachment uploader DOM structure, add space after icon spans in templates, and increase test stderr capture limit 2026-05-13 20:48:39 +00:00
retoor 4958c23c0d fix: migrate CI branch references from master to main and add comments created_at index 2026-05-13 19:17:57 +00:00
retoor aa88f18c03 chore: add docker infrastructure, gists feature, attachment system, and admin CLI tools
- Add .dockerignore, Dockerfile, and docker compose targets to Makefile for containerized deployment
- Implement gists router with CRUD operations, database schema, and polymorphic comment/vote reuse
- Create attachment upload system with thumbnail generation, MIME detection, and storage path management
- Add attachments_prune CLI command to clean orphaned attachment records and files
- Introduce rate limiting middleware with 60 requests per minute window
- Add custom 404 and 500 error handlers with SEO-optimized template responses
- Extend database initialization with gists and attachments indexes plus upload site settings defaults
- Update load_comments to include attachment mapping for comment resources
- Register gists and uploads routers in main application and update AGENTS.md documentation
2026-05-12 13:07:34 +00:00
retoor ff2585b098 feat: add mention notification creation and user search endpoints across multiple routers 2026-05-12 11:08:38 +00:00
retoor 388d4e3af8 docs: document DEVPLACE_DISABLE_SERVICES env var, news router, modal class toggle, and news service behavior 2026-05-12 10:45:52 +00:00
retoor 331e19b14e feat: add news module with admin panel, pagination, and service toggle via env flag 2026-05-11 20:12:43 +00:00
retoor f7ca123cd6 feat: add threaded comments with polymorphic targets and slug-based routing
Introduce `load_comments` helper supporting polymorphic target types (post, project, bug) with nested parent-child threading. Refactor comment creation to use `target_type`/`target_uid` and `resolve_target_redirect` for correct redirects. Replace raw UID-based post/project routes with slug-aware resolution via `resolve_post`/`resolve_project` and `make_combined_slug`. Update SEO, sitemap, and FAB styling to use slugs and hardcoded red accent. Add reusable `_comment_section.html` template.
2026-05-11 18:49:45 +00:00
retoor 1e0960e0dd fix: increase server startup timeout and capture stderr in test conftest
The test fixture `app_server` in `tests/conftest.py` was updated to improve
debugging of server startup failures. The startup timeout was extended from
20 to 30 seconds, and the server process stderr is now captured via
`subprocess.PIPE` instead of being discarded. When the server fails to start
or dies prematurely, the captured stderr output (up to 2000 characters) is
included in the raised `RuntimeError` to aid diagnosis. Additionally,
`PYTHONUNBUFFERED=1` is set in the environment and the uvicorn log level
is set to `debug` for more verbose output.
2026-05-11 06:15:41 +00:00
retoor 38e374817e feat: remove hawk dependency and all related integration code from project
- Delete hawk installation step from .gitea/workflows/test.yaml CI pipeline
- Remove hawk check command that scanned python, js, css, and html files
- Eliminate all references to hawk package in project configuration and scripts
2026-05-11 05:07:35 +00:00
retoor 5987e14c20 fix: update CI branch references from main to master and refactor admin service tests to use seeded_db fixture 2026-05-11 05:05:08 +00:00
retoor 502f77f718 fix: correct typo in progress tracking variable name from Progss to Progress 2026-05-11 05:02:06 +00:00
retoor 140cceff64 feat: add admin CLI, SEO meta tags, security headers, and production Makefile targets 2026-05-11 03:30:51 +00:00
retoor fda3a202dc feat: replace DiceBear avatar proxy with local Multiavatar SVG generation and remove avatar_style from signup 2026-05-11 01:14:43 +00:00
retoor d8ef8ebef2 chore: remove pre-locust test stubs and add daily topic, follow router, password reset, image upload, and badge awarding features 2026-05-10 22:41:41 +00:00
retoor f4343c3d05 feat: add DiceBear avatar proxy with style picker on signup and profile pages
Implement avatar generation via local proxy at `/avatar/{style}/{seed}` that fetches from DiceBear 9.x API with in-memory caching and fallback to initial-based SVG. Add avatar style selection dropdown to signup form and profile edit page, storing `avatar_style` in user records. Update comment rendering to support nested threading with parent-child relationships in post view. Add `avatar_url` and `avatar_styles` template globals, register avatar router in main app, and include avatar CSS classes for rounded image display.
2026-05-10 19:33:53 +00:00
retoor 15a3b990fe feat: scaffold initial DevPlace project with FastAPI, SQLite auth, and SSR routing
Add complete project skeleton including .gitignore, Makefile, AGENTS.md, config, database init with indexes, main app with router mounting for auth/feed/posts/comments/projects/profile/messages/notifications/votes, Pydantic models for signup/login/post/comment/project/message/profile, and auth router with signup/login page rendering and form handling.
2026-05-10 07:08:12 +00:00