Forked and updated for latest PHP

未关闭
#64 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
15/100
Issue 类型
重构
描述清晰度
需要澄清
活跃度
冷清
技术栈
apache, javascript, php

调研方向

The issue is a status note linking a fork (swbuehler72/Compass) with PHP 8 and dependency updates, not a request for a specific change. Its listed areas are the IndieAuth client calls, the controllers and views that use $request->session(), the deprecated each() and strftime() calls, the BASE_URL concatenations, the Leaflet setView call, and the map tile source. A newcomer would need to decide with maintainers which of these to upstream before any code change. Done would mean an agreed scope and a pull request that passes the existing tests.

由索引模型根据 Issue 内容生成。

描述

I forked the repo to https://github.com/swbuehler72/Compass, and after burning through most of my Google Gemini 3 quota to update the code to PHP 8 and the latest versions of all the modules (Lumen, &c.) and troubleshoot/fix all of the resulting issues, I got it working on my Raspberry Pi on Apache 2 inside my tailscale network on Port 81 (so I can have the application at / to simplify things).

Image

Latest commit:

Fix authentication, session persistence, and PHP 8 compatibility issues
- Updated IndieAuth client calls to match 1.x library signature
- Refactored controllers and views to use $request->session() for reliable state management
- Replaced deprecated each() and strftime() with PHP 8 compatible alternatives
- Fixed missing leading slashes in BASE_URL concatenations
- Fixed SQL error on database creation by providing default values for required fields
- Restored Leaflet map functionality by fixing invalid setView parameters and native function conflict
- Switched map tile source to OpenStreetMap for better reliability
主要语言
JavaScript
星标
143
派生
33
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

aaronpk/Compass 的其他 Issue

查看 aaronpk/Compass 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。