Giter VIP home page Giter VIP logo

mikhmonv3's Introduction

MIKHMON V3

Download update.zip

update.zip{:target="_blank"}

Changelog

Update 06-30 2021 V3.20

  1. Perbaikan typo script profile on-login.
    • Silakan update user profile dari Mikhmon, dengan cara membuka tiap user profile, kemudian klik Save.

Update 24-01 2021

  1. Added docker-compose.yml for test-lab. added mikrotik routeros image.
    • git clone project
    • open project folder in terminal
    • run terminal command --> docker-compose up -d
    • go to localhost:8081. write ip address 192.168.88.1. write password 12345. apply configuration.
    • go to localhost:8080. user:mikhmon password:1234. add router. ip address 172.27.0.7, user:admin, password: 12345. write 'test' other inputs.last click save button
    • for stop --> docker-compose down

Update 09-08 2020 V3.19

  1. Penambahan jumlah sisa voucher di "option comment" laman user list.

Update 04-07 2020

  1. Added Dockerfile for test
    • git clone project
    • docker build --tag mikhmonv3 .
    • docker run --rm -i -t -p 8080:80 --name="mkhmn1" mikhmonv3
    • go to localhost:8080

Update 08-16 2019 V3.18

  1. Penambahan harga jual. (Harga yang tampil di voucher)

    *update user profile isi harga jual(selling price) dan update juga template vouchernya, silakan download di website

  2. Untuk pengguna Termux, uninstall Mikhmon kemudian install lagi.

Update 08-06 2019 V3.17

  1. Perbaikan live report.
  2. Perbaikan generate users.
  3. Penambahan idle tileout (auto logout).
  4. Penambahan ping IP Mikrotik di session settings.

Update 07-14 2019 V3.16

  1. Penambahan address pool di add user profile dan edit user profile
  2. Notif new update di admin settings

Update 07-02 2019 V3.15

  1. Update RouterOS API for support v6.45.x

Update 05-09 2019 V3.14

  1. Perbaikan time zone untuk print / quick print.

  2. Penambahan input comment setelah comment user berubah menjadi tanggal expired.

    314

Update 04-06 2019 V3.13 r7

  1. Perbaikan add user profile (gagal membuat monitor profile di scheduler).

  2. Perbaikan edit profile (remove monitor profile untuk expired mode none).

  3. Penambahan indikator monitor profile di laman list user profile dan edit user profile (Green = Monitor Profile aktif, Orange = Monitor Profile tidak aktif).

    Monitor Profile adalah scheduler yang mengecek expired user

    indicator

Update 04-02 2019 V3.13 r6

  1. Perbaikan penghitungan tanggal dan jam monitor user profile.

  2. Perubahan global function ke local function.

    Silakan diupdate kembali user profilenya. (buka user profile dari Mikhmon, simpan kembali masing-masing user profile).

    Setelah update user profile hapus semua environment (system -> scripts -> environment).

    delenvironment

    Link Video Update Profile v3.13 r6

Update 03-31 2019 V3.13 r5

  1. Perbaikan user profile. (user expired dipergantian bulan). Silakan diupdate kembali user profilenya. #5

Update 03-30 2019 V3.13 r4

  1. Perbaikan edit user.
  2. Penambahan nama profile di filter comment (user list).
  3. Penambahan hapus expired user (klik expired pada kolom comment user list).
  4. Perbaikan print laporan penjualan.

Update 03-27 2019 V3.13 r3

  1. Perbaikan edit profile.
  2. Perbaikan userlist (dobel comment di pilihan/filter user berdasarkan comment).
  3. Penambahan changelog di laman About.

Update 03-22 2019 V3.13 r2

  1. Perbaikan user profile, untuk data penjualan dobel (user 2 digit angka). Silakan diupdate kembali user profilenya.

Update 03-21 2019 V3.13 r1

  1. Perbaikan user profile, untuk data penjualan tidak muncul di Mikhmon. Silakan diupdate kembali user profilenya.

Update 03-20 2019 V3.13

  1. Perbaikan QR Code. Tidak lagi menggunakan Google chart API.

  2. Perubahan variable QR Code menjadi tanpa tag <img>.

    ! Perlu penyesuaian untuk template hotspot, ubah <img src="<?= $qrcode ?>" > menjadi <?= $qrcode ?> tanpa tag <img>. Bagi yang menggunakan template default bisa reset template default untuk menyesuaikan QR Code.

    Untuk template voucher yang lain bisa menyesuaikan ukuran QR Code dapat menambahkan style sebagai berikut.

<style>
  .qrcode{
  height:80px;
  width:80px;
  }
</style>

newqr

  1. Penghapusan Grace period.

  2. Pehapusan info start dan end user.

  3. Perubahan mode expired.

    Mode baru ini tidak lagi menggunakan scheduler per user. Sebagai gantinya informasi tanggal expired akan dipindahkan ke comment user setelah login. Silakan update user profile agar dapat menggunakan mode expired yang baru. Pengecekan expired user yang login sebelum user profile diupdate atau yang masih menggunakan mode expired versi 3.12, bisa melalui scheduler di Mikhmon.

    ! Untuk yang menggunakan expired mode dengan record jangan update user profile yang sudah ada, sampai user dengan profile tersebut sudah habis. Sebaiknya buat user profile baru dan generate user baru dengan user profile tersebut. Apa yang terjadi jika diupdate? Report penjualan akan menjadi bertambah untuk masing-user yang sudah login. Tapi kalau tidak ada masalah dengan data penjualan yang double, silakan update user profilenya.

    ! User yang login sebelum user profile diupdate akan tetap menggunakan sistem atau mode expired yang lama.

    ! Jangan hapus atau mengganti comment user jika sudah menggunakan format tanggal sebagai berikut :

    mar/20/2019 16:05:11.

  4. Cek status voucher tidak bisa untuk user yang masih menggunakan profile dengan mode expired versi 3.12.

Update 03-12 2019 V3.12 r1

  1. Perbaikan user profile. Meminimalisir user terhapus sesaat setelah login. !Silakan update user profile dari Mikhmon.

Update 03-08 2019 V3.12

  1. Perbaikan remove session.
  2. Penambahan print untuk report
  3. Penambahan filter berdasarkan comment dan range tanggal. (Mikhmon Online).

Update 02-14 2019 V3.11

  1. Perbaikan dashboard blank.
  2. Penggantian Print Bluetooth dengan Quick Printer
  3. Penambahan Quick Print. Panduan, https://youtu.be/KGAsHU0qOBA

Update 02-06 2019 V3.10

  1. Perbaikan delete logo.
  2. Penambahan pilihan bahasa.
  3. Dukungan untuk print voucher dari Android. Telah diuji untuk Zjiang Printer Thermal Bluetooth - ZJ-5802. Panduan, https://laksa19.github.io/printBT.html

Update 02-01 2019 V3.9 r3

  1. Perbaaikan cek empty session laman admin
  2. Perbaikan resume report, untuk menampilkan resume bulan sebelumnya.

Update 01-29 2019 V3.9 r2

  1. Perbaaikan load time laman dashboard.
  2. Perbaikan laman uploaad logo.

Update 01-29 2019 V3.9 r1

  1. Perbaikan template voucher editor.
  2. Penambahan short tabel.
  3. Perbaikan reset hotspot user.

Update 01-27-2019 V3.9

  1. Perbaikan CSS, penambahan tema Blue dan Green.
  2. Cek Koneksi sebelum masuk dashboard dan berganti session.
  3. Penambahan Indikator session Mikhmon yang aktif.
  4. Penambahan fitur Resume Report.

Update 01-22-2019 V3.8

  1. Perbaikan Theme.
  2. Traffic dashboard dengan Highchart.
  3. Penambahan fitur Traffic Monitor.

Update 01-17-2019 V3.7

  1. Penambahan Light Theme.
  2. Pennambahan menu penngganttian tema di navbar.

Update 12-21-2018 V3.6 r1

  1. Penambahan Live Report

Update 12-1-2018 V3.6

  1. Penambahan progrss bar.
  2. Enable price use decimal (.).
  3. Filter report by prefix.
  4. Export user to script.
  5. Export user to csv.
  6. Penggantian kolom print menjadi tombol dan penambahan pilihan comment di user list.
  7. Perubahan cara print voucher dari user list.
  8. Beautify template editor dan penambahan tombol view voucher.

Update 11-9-2018 V3.5

  1. Penambahan chart traffic. Sesuaikan Max Rx dan Tx di Settings.
  2. Penambahan pilihan filter di Report dan User Log.

Update 10-30-2018 V3.4

  1. Penambahan cek spasi di nama user profile.
  2. Penambahan user profile dan comment di Report. Yang perlu dilakukan adalah update user profile dari Mikhmon, buka user profile yang ingin diupdate kemudian klik Save.
  3. Penambahan filter berdasarkan server hotspot di Hotspot Active.

Update 10-24-2018 V3.3

  1. Perubahan struktur menu.
  2. Penambahan Hotspot Cookie dan System Scheduler.
  3. Perubahan Generate User. Menghilangkan huruf l,L,q,Q,o,O serta angka 1 dan 0.
  4. Perbaikan remove user.

Update 09-10-2018 V3.2

  1. Penambahan kolom Time Left di Hotspot Active.
  2. Penambahan Parent Queue di Add dan Edit User Profile (Bagaimana cara penggunaannya? silakan pelajari Simple Queue Mikrotik).
  3. Penyesuaian format Data Limit user menjadi Byte Binary (base 2).
  4. Reformat Uptime.

mikhmonv3's People

Contributors

ahmetozcelik avatar discapacidad5 avatar ihsankeskin avatar laksa19 avatar mrjavaci avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mikhmonv3's Issues

Apakah Mikhmon Bisa menggunakan Sistem FUP?

Halo kak,
Saya Sudah beberapa bulan menggunakan mikhmon,
Terbesit dibenak saya ingin menggunakan sistem FUP pengurangan speed.
Apakah bisa diterapkan di mikhmon?
Sebelumnya saya ingin berterima kasih karena anda telah menciptakan program yang sangat luar biasa ini. :)
Sekian kak

Register

If possible add to your project an option where the user can register alone. With the administrator having the option to free this user to browse or to go to a specific profile. This would be great to use in my small business and I believe it would be useful for many people.

Terjemahan bahasa Spanyol dari program ini

Halo Terima kasih untuk program yang hebat ini. Saya ingin menghubungi programmer karena saya ingin mendukung terjemahan bahasa Spanyol dari program ini, walaupun kata Spanyol muncul, tidak semuanya diterjemahkan

Add User Profile returned to blank page.

I got a error from your awesome software. when I was adding a router profile for pricing and bandwidth shaping and auto delete expired voucher, it will redirected to dashboard and nothing change or added to existing user profile at MikhmonV3

Docker - Endless loading on Add Router

Hi @ahmetozcelik can you help me?
Screenshot - 9_3_2021 , 10_17_39 PM
I don't know what to do, I install this on x64 Ubuntu server.
I'm following all your step-by-step, but I'm stuck here.

git clone project
open project folder in terminal
run terminal command --> docker-compose up -d
go to localhost:8081. write ip address 192.168.88.1. write password 12345. apply configuration.
go to localhost:8080. user:mikhmon password:1234. add router.

It keep loading on add router, I already configure the mikrotik server.

How to use

Hi, im a beginner. How can i put this in my mikrotik?

What is the admin password on docker container?

I just cloned repo, built image and ran the container.

I went to localhost:8080 and tried to login with admin / PfaSRAPiDO43
But I am getting error message saying Alert! Invalid username or password.

The image I am using:

$ docker image list mikhmonv3
REPOSITORY          TAG                 IMAGE ID            CREATED             SIZE
mikhmonv3           latest              0cd8f922b9c2        2 hours ago         922MB

From log:

~/docker/mikhmonv3$ docker run --rm -i -t -p 8080:80 --name="mkhmn1" mikhmonv3
Updating for PHP 7.4
Replacing CLI php.ini values
Editing APACHE_RUN_GROUP environment variable
Editing phpmyadmin config
Setting up MySQL directories
Allowing Apache/PHP to write to the app
+Allowing Apache/PHP to write to MySQL
Editing MySQL config
=> An empty or uninitialized MySQL volume is detected in /var/lib/mysql
=> Installing MySQL ...
=> Done!
=> Waiting for confirmation of MySQL service startup
=> Creating MySQL admin user with random password
ERROR 1133 (42000) at line 1: Can't find any matching row in the user table
=> Done!
========================================================================
You can now connect to this MySQL Server with PfaSRAPiDO43

    mysql -uadmin -pPfaSRAPiDO43 -h<host> -P<port>

Please remember to change the above password as soon as possible!
MySQL user 'root' has no password but only allows local connections

enjoy!
========================================================================
Starting supervisord
/usr/local/lib/python3.6/dist-packages/supervisor-4.2.0-py3.6.egg/supervisor/options.py:474: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
  'Supervisord is running as root and it is searching '
2020-12-10 14:39:34,308 CRIT Supervisor is running as root.  Privileges were not dropped because no user is specified in the config file.  If you intend to run as root, you can set user=root in the config file to avoid this message.
2020-12-10 14:39:34,308 INFO Included extra file "/etc/supervisor/conf.d/supervisord-apache2.conf" during parsing
2020-12-10 14:39:34,308 INFO Included extra file "/etc/supervisor/conf.d/supervisord-mysqld.conf" during parsing
2020-12-10 14:39:34,312 INFO RPC interface 'supervisor' initialized
2020-12-10 14:39:34,313 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2020-12-10 14:39:34,313 INFO supervisord started with pid 1
2020-12-10 14:39:35,315 INFO spawned: 'apache2' with pid 504
2020-12-10 14:39:35,317 INFO spawned: 'mysqld' with pid 505
2020-12-10 14:39:36,605 INFO success: apache2 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2020-12-10 14:39:36,605 INFO success: mysqld entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

Masalah untuk menghitung maaf dalam harga.

Saya telah menginstal versi terbaru dan ketika saya mencoba menempatkan 0,50 sen, secara otomatis menyimpan perubahan saya dan membiarkan bidang itu kosong
jika dia menempatkan 0,50 sen maka yang dia lakukan adalah dia menyimpannya untuk saya tetapi dalam harga dia menunjukkan saya $ 1

add profile

i can't add user profile with mikrotik v 5.20
mikhmon server just add profile monitor script but it doesn't add user profile
mikrotik v5.20 installed on vm

add router

Capture
when i try to add my router still like this

amazing would be user-manager integration

Amazing would be user-manager integration. I have started but menu.php is a mess and terrible to read and understand. But other than that its a great project, works very nice (apart from the loop on adding router).

Hope you can implement the user-manger.

report bulanan error

error
versi mikhmon 3.5
untuk bulan november bs di filter untuk bulan oktober tidak mau muncul

Docker with Traefik - It does not work correctly

I have a Traefik reverse proxy running with docker, and I have managed to lift the suggested containers for testing in the project's docker-compose.yml correctly and I have access. But I run into 2 problems.
1 - When entering with the container created with the mikhmonv3 version of git, that is, running git clone, I can enter but when trying to change the language it remains in a loading loop from which it cannot exit, I have to refresh the browser (F5) so that let me continue. It is the same when I want to change the admin username and password.
As it did not allow me to change the credentials, I decided to leave them by default to try to add a router and it is also in loop.
I see that they also posted it at #36

videoMIKHMON.mp4

2 - As I saw a new update in the repository (https://raw.githubusercontent.com/laksa19/laksa19.github.io/master/download/update.zip) I decided to download it and when loading it I found that first it does not show the login interface correctly.
errorVista

A possible solution to the problem I found is to overwrite the update.zip files in the cloned git folder. With that the vision problem was corrected.

In addition to this, when trying to enter the access credentials, which according to the repo are user: mikhmon password: 1234, it does not allow me access when I review the code a bit, I see that it seems that the update .zip file is missing the config file. php in the "include / config.php" folder.

I hope you can help us as the tool looks very interesting and useful. Greetings.

hosting mikmon pd GCP

Saya hosting pd GCP tp koq seperti looping ini y?

image

Boleh minta tolong solusi lengkapnya karena saya masih baru. Terima kasih

Social Login

Hey,

Any chances integrating social login with your project?

Thanks!

user member pada mikhmon

Hallo laksa19,

Mau tanya apakah ada cara atau fungsi pada aplikasi mikhmon untuk koneksi hostpot yang di pakai oleh pengguna member 30 hari??

Terima kasih

i want PPPOE

what about PPP in mikhmonv3 i can,t fine in this version

Add PPPoE Server Managemen

English

I want to ask, why don't we just create a PPPoE Server Management menu to manage PPPoE Clients in Mikhmon?

If there is no desire to add V3 or V4. Can I develop Mikhmon from these sources with the addition of PPPoE Server and do a Pull request?

Thank You!

Indonesia

Saya ingin bertanya, mengapa tidak kita buat saja menu PPPoE Server Managemen untuk mengelola PPPoE Client di Mikhmon?

Jika memang tidak ada keinginan untuk ditambahkan pada V3 maupun V4. Apakah boleh saya kembangkan mikhmon dari sources ini dengan tambahan PPPoE Server dan melakukan Pull request nya?

Terima kasih!

@laksa19

Issue: #31

Request Feature Payment gateway

Bisa Integrasi dengan Paypal /Stripe/Sejenisnya nggak ya ini kak?
saya sarankan pakai ini kak -> 2checkout , mau mau nambah fitur payment gateway

hotspot member

Salam kk,
sebelumnya saya ucapkan terima kasih karna udh mau berbagi aplikasi yang luar biasa ini ๐Ÿ—ก๏ธ

saya ada sedikit kendala kk,
sebelumnya saya pakai yang sistem userman,
jadi tiap member yg expire, tinggal tambah profile aja.

namun saya coba logic seperti itu di aplikasi mikhmon gk bisa ya kk

sya coba ganti user profile tetep terbaca expire

kira - kira prosedur nya biar bisa menggunakan sistem member seperti di userman gimana ya kk?
jadi data user tetep tersimpan tinggal di extend aja mau ke paket yg mana

terima kasih

kemungkinan menciptakan operator

Dimungkinkan untuk membuat operator terpisah dari administrator sedemikian rupa sehingga operator dapat menjual token, menghasilkan pengguna tetapi tidak dapat mengubah pengaturan hotpot atau membuat rencana baru.

Feature Request - Add device to Walled Garden

For long stay or perhaps when customer has a device which can't authenticate via website. One could lookup the MAC of the device in the DHCP lease table, make it static and add IP address to Walled Garden so to bypass hotspot system.

Error with mikrotik default UTC on User Profile "On Login" Script

Mikrotik by default, works on UTC 00:00 but if you live on another UTC, lets say UTC - 05:00 as example, when you have a user profile that expires in 1 day, then the users of that user profile that try to login for the first time between 19:00:00 and 23:59:59 will be marked as expired as soon as they logged in because when you run your script on login for that user profile, you ask for the next-run of the scheduler with 1d of delay created before, but mikrotik in this case will give only the time, instead of date and time by error, because to them it's the same date since they use UTC 00:00

/sys sch add name="$user" disable=no interval="1d";
:delay 2s;
:local exp [ /sys sch get [ /sys sch find where name="$user" ] next-run]; 
:local getxp [len $exp];

On the example getexp will take 8 as value by mikrotik error and then you choose the current date as the expiration date:

:if ($getxp = 8) do={ /ip hotspot user set comment="$date $exp" [find where name="$user"];};

When the scheduler for that user profile is triggered it marks the user as expired exactly at the same time of their first connection.

Persistent Volume on Kubernetes unable to use due to Unspesific Location of Stateful files.

MIKHMON is not able to save the data persistently on Kubernetes

As per my understanding this source code have several files that will be overwriten by other script it self. In example is ./include/config.php will save the MIKHMON login password.
In the container orchestration platform such as Kubernetes, usually we make a PV (Persistent Volume) to save a stateful data, but only directory and not a file.
If we mount a PV to ./include than every data inside those source code directory will be empty because the running container will only read the newly mounted volume.

I think it's a good idea for create a specific directory to save any stateful file on it, so we can figure how to implement persistent volume with MIKHMON on Kubernetes.
You can create an specific file to save your only sateful data (string) as placeholder, not combined with any of your code (like config.php).

Thankyou.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.