[abandoned] Fork of online-bookmarks

Nichlas Severinsen 4098811092 Fixed importing il y a 6 ans
images ebc7e9b313 Making some nicer menu headers. il y a 16 ans
jquery 16d62ffdab Fixed jquery.js il y a 6 ans
lib 54557dfbc6 Removed unnecessary code in lib/auth.php il y a 6 ans
.gitignore 1d92982f73 Refactoring to PHP 7 il y a 6 ans
CHANGES df3f30f07a Getting rid of dangeros in export.php, import.php and folders.php. il y a 16 ans
COPYING 4b1ada5ed4 Reviving online-bookmarks as a fork; Online Bookmarks 2 (OB2) il y a 6 ans
INSTALL b07760dc66 initial version il y a 16 ans
README.md c6b3107d16 Edited README.md il y a 6 ans
VERSION df3f30f07a Getting rid of dangeros in export.php, import.php and folders.php. il y a 16 ans
admin.php 1d92982f73 Refactoring to PHP 7 il y a 6 ans
bookmark_add.php b07760dc66 initial version il y a 16 ans
bookmark_delete.php 1d92982f73 Refactoring to PHP 7 il y a 6 ans
bookmark_edit.php 1d92982f73 Refactoring to PHP 7 il y a 6 ans
bookmark_move.php 1d92982f73 Refactoring to PHP 7 il y a 6 ans
bookmark_new.php 1d92982f73 Refactoring to PHP 7 il y a 6 ans
bookmarks.php 1d92982f73 Refactoring to PHP 7 il y a 6 ans
change_password.php 120bc5e47a Changing design to mostly tableless code. il y a 16 ans
export.php 1d92982f73 Refactoring to PHP 7 il y a 6 ans
favicon.ico b07760dc66 initial version il y a 16 ans
favicon.php 1d92982f73 Refactoring to PHP 7 il y a 6 ans
folder_delete.php 1d92982f73 Refactoring to PHP 7 il y a 6 ans
folder_edit.php 1d92982f73 Refactoring to PHP 7 il y a 6 ans
folder_move.php 1d92982f73 Refactoring to PHP 7 il y a 6 ans
folder_new.php 120bc5e47a Changing design to mostly tableless code. il y a 16 ans
folders.php 1d92982f73 Refactoring to PHP 7 il y a 6 ans
footer.php b07760dc66 initial version il y a 16 ans
header.php 504a21c148 Allow development mode il y a 6 ans
import.php 4098811092 Fixed importing il y a 6 ans
index.php 1d92982f73 Refactoring to PHP 7 il y a 6 ans
install.php 1d92982f73 Refactoring to PHP 7 il y a 6 ans
register.php 1d92982f73 Refactoring to PHP 7 il y a 6 ans
select_folder.php 1d92982f73 Refactoring to PHP 7 il y a 6 ans
settings.php 65c14667a8 *** empty log message *** il y a 16 ans
shared.php 1d92982f73 Refactoring to PHP 7 il y a 6 ans
sidebar.php 1d92982f73 Refactoring to PHP 7 il y a 6 ans
style.css da6b274b01 Fixed div height in shared.php il y a 16 ans

README.md

Online Bookmarks 2

What is it?

Online Bookmarks 2 (OB2) is a server-side PHP program designed as a personal online bookmarking system. Have a website that you want to store bookmarks on? OB2 is what you're looking for.

Features:

  • One click bookmark add button to browsers toolbar
  • Download and display favicons
  • Public bookmarks and folders
  • Folder structure in arbitrary depth
  • Multi-user
  • Import/export

Requirements

  • Webserver with PHP >= 4.3.0
  • MySQL >= 4.1 or MariaDB

Optionally:

  • ImageMagick for favicons

Setup

Installation

  1. Download OB2 and unpack the tarball in your webservers documentroot directory.
  2. Go to http://www.yourserver.com/online-bookmarks/ which will show installation instructions if /config/config.php is missing. Delete install.php after setting up.
  3. Try logging in!

Upgrade

  1. Move old files mv /path/to/online-bookmarks \ /path/to/online-bookmarks-backup
  2. Backup the database mysqldump --user=bookmarkmgr \ --password=password_of_bookmarkmgr \ bookmarks \ > /some/path/online-bookmarks-backup.sql
  3. Upgrade; do a regular install, the install script will take note of an existing install. Don't forget to copy favicons: cp -a /path/to/online-bookmarks-backup/favicons/* \ /path/to/online-bookmarks/favicons/

Bookmark any Homepage with one click

Open the "Settings" page in Online-Bookmarks you will find a bookmarklet link called bookmark. Drag this link to your browsers "Personal Toolbar" and a button with the correct settings will be created. The code beind the button is a simple JavaScript line. You can choose between opening the bookmarklet in a new window or in the same window.

History

Online Bookmarks 2 (OB2) is a fork of online-bookmarks written by Stefan Frech.

The original source code was stored in CVS but thanks to crap it was possible to convert it to Git.

Online-bookmarks was released as Free Software by Frech under the GPLv2. Online Bookmarks 2 will continue to release further changes under GPLv2.

Why?

Unlike another fork, openbookmark, OB2 does not aim to overhaul or add 'modern' (read: bloated) javascript libraries. In addition, the other fork did not convert the CVS repository to Git, effectively removing the true history of online-bookmarks in their fork. In addition, openbookmarks uses the term "Open Source" when even the creator of online-bookmarks - Stefan Frech - uses the term "Free Software", as well as not adding proper licensing to neither COPYING/LICENSE or source files.

Attribution

Copyright © 2008 Stefan Frech

Copyright © 2017 Nichlas Severinsen

Development

Clone this repo and cd into it.

You're gonna need an empty favicon folder, as well as ImageMagick installed, if you've enabled favicon. In addition you need a config/config.php file, you have to make it yourself. We might consider making the file ourselves if PHP supports it.

Add $development = true; in config/config.php to circumvent the 'you have to remove install.php' message.

Then just run

php -S localhost:8000

TODO

  • Add COPYING
  • Better README
  • CRITICAL - ONGOING - Fix for php7..
  • URGENT - switch md5 out with bcrypt
  • Check for and remove any proprietary parts (probably none)
  • Proper GPL usage
  • Remove unnecessary Javascript
  • Redesign UI & CSS
  • Add tests (if possible)
  • Proper commenting and docstrings
  • Decide on (small) css framework to replace old styles, alternatives: